From 923493d7d056ef3d447f63b2e2b88bb1ea2fa908 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Wed, 20 Dec 2023 04:20:01 +0700 Subject: [PATCH] remove all web related components (#909) * remove all web related components * add a simple bun web builder for the web-ui folder and remove disused github actions * renamed bun github action --- .github/workflows/buildweb.yaml | 30 + .github/workflows/quicksilverjs.yaml | 25 - .github/workflows/webui.yaml | 22 - quicksilverjs/.editorconfig | 12 - quicksilverjs/.eslintignore | 5 - quicksilverjs/.eslintrc.js | 70 - quicksilverjs/.gitignore | 50 - quicksilverjs/.npmignore | 32 - quicksilverjs/.npmrc | 1 - quicksilverjs/.telescope.json | 58 - quicksilverjs/LICENSE | 21 - quicksilverjs/README.md | 296 - quicksilverjs/__tests__/messages.test.js | 3 - quicksilverjs/package.json | 71 - quicksilverjs/proto/amino/LICENSE | 204 - quicksilverjs/proto/amino/README.md | 1 - quicksilverjs/proto/amino/amino.proto | 79 - quicksilverjs/proto/confio/LICENSE | 204 - quicksilverjs/proto/confio/README.md | 1 - quicksilverjs/proto/confio/proofs.proto | 234 - quicksilverjs/proto/cosmos/LICENSE | 204 - quicksilverjs/proto/cosmos/README.md | 1 - .../proto/cosmos/app/v1alpha1/config.proto | 36 - .../proto/cosmos/app/v1alpha1/module.proto | 93 - .../proto/cosmos/app/v1alpha1/query.proto | 22 - .../proto/cosmos/auth/v1beta1/auth.proto | 47 - .../proto/cosmos/auth/v1beta1/genesis.proto | 17 - .../proto/cosmos/auth/v1beta1/query.proto | 130 - .../proto/cosmos/authz/v1beta1/authz.proto | 46 - .../proto/cosmos/authz/v1beta1/event.proto | 27 - .../proto/cosmos/authz/v1beta1/genesis.proto | 13 - .../proto/cosmos/authz/v1beta1/query.proto | 82 - .../proto/cosmos/authz/v1beta1/tx.proto | 75 - .../proto/cosmos/bank/v1beta1/authz.proto | 19 - .../proto/cosmos/bank/v1beta1/bank.proto | 108 - .../proto/cosmos/bank/v1beta1/genesis.proto | 40 - .../proto/cosmos/bank/v1beta1/query.proto | 231 - .../proto/cosmos/bank/v1beta1/tx.proto | 48 - .../proto/cosmos/base/abci/v1beta1/abci.proto | 158 - .../proto/cosmos/base/kv/v1beta1/kv.proto | 17 - .../base/query/v1beta1/pagination.proto | 56 - .../base/reflection/v1beta1/reflection.proto | 44 - .../base/reflection/v2alpha1/reflection.proto | 218 - .../base/snapshots/v1beta1/snapshot.proto | 70 - .../base/store/v1beta1/commit_info.proto | 29 - .../cosmos/base/store/v1beta1/listening.proto | 16 - .../base/tendermint/v1beta1/query.proto | 138 - .../proto/cosmos/base/v1beta1/coin.proto | 43 - .../capability/v1beta1/capability.proto | 30 - .../cosmos/capability/v1beta1/genesis.proto | 26 - .../proto/cosmos/crisis/v1beta1/genesis.proto | 14 - .../proto/cosmos/crisis/v1beta1/tx.proto | 29 - .../proto/cosmos/crypto/ed25519/keys.proto | 23 - .../proto/cosmos/crypto/hd/v1/hd.proto | 23 - .../cosmos/crypto/keyring/v1/record.proto | 47 - .../proto/cosmos/crypto/multisig/keys.proto | 17 - .../crypto/multisig/v1beta1/multisig.proto | 25 - .../proto/cosmos/crypto/secp256k1/keys.proto | 22 - .../proto/cosmos/crypto/secp256r1/keys.proto | 23 - .../distribution/v1beta1/distribution.proto | 154 - .../cosmos/distribution/v1beta1/genesis.proto | 144 - .../cosmos/distribution/v1beta1/query.proto | 219 - .../cosmos/distribution/v1beta1/tx.proto | 95 - .../cosmos/evidence/v1beta1/evidence.proto | 22 - .../cosmos/evidence/v1beta1/genesis.proto | 12 - .../proto/cosmos/evidence/v1beta1/query.proto | 51 - .../proto/cosmos/evidence/v1beta1/tx.proto | 35 - .../cosmos/feegrant/v1beta1/feegrant.proto | 78 - .../cosmos/feegrant/v1beta1/genesis.proto | 13 - .../proto/cosmos/feegrant/v1beta1/query.proto | 79 - .../proto/cosmos/feegrant/v1beta1/tx.proto | 53 - .../cosmos/genutil/v1beta1/genesis.proto | 12 - .../proto/cosmos/gov/v1/genesis.proto | 26 - quicksilverjs/proto/cosmos/gov/v1/gov.proto | 132 - quicksilverjs/proto/cosmos/gov/v1/query.proto | 183 - quicksilverjs/proto/cosmos/gov/v1/tx.proto | 100 - .../proto/cosmos/gov/v1beta1/genesis.proto | 26 - .../proto/cosmos/gov/v1beta1/gov.proto | 201 - .../proto/cosmos/gov/v1beta1/query.proto | 191 - .../proto/cosmos/gov/v1beta1/tx.proto | 106 - .../proto/cosmos/group/v1/events.proto | 77 - .../proto/cosmos/group/v1/genesis.proto | 38 - .../proto/cosmos/group/v1/query.proto | 308 - quicksilverjs/proto/cosmos/group/v1/tx.proto | 364 - .../proto/cosmos/group/v1/types.proto | 308 - .../proto/cosmos/mint/v1beta1/genesis.proto | 16 - .../proto/cosmos/mint/v1beta1/mint.proto | 57 - .../proto/cosmos/mint/v1beta1/query.proto | 57 - quicksilverjs/proto/cosmos/msg/v1/msg.proto | 22 - .../proto/cosmos/nft/v1beta1/event.proto | 26 - .../proto/cosmos/nft/v1beta1/genesis.proto | 22 - .../proto/cosmos/nft/v1beta1/nft.proto | 48 - .../proto/cosmos/nft/v1beta1/query.proto | 125 - .../proto/cosmos/nft/v1beta1/tx.proto | 30 - quicksilverjs/proto/cosmos/orm/v1/orm.proto | 104 - .../proto/cosmos/orm/v1alpha1/schema.proto | 76 - .../proto/cosmos/params/v1beta1/params.proto | 29 - .../proto/cosmos/params/v1beta1/query.proto | 54 - .../cosmos/slashing/v1beta1/genesis.proto | 47 - .../proto/cosmos/slashing/v1beta1/query.proto | 64 - .../cosmos/slashing/v1beta1/slashing.proto | 45 - .../proto/cosmos/slashing/v1beta1/tx.proto | 30 - .../proto/cosmos/staking/v1beta1/authz.proto | 47 - .../cosmos/staking/v1beta1/genesis.proto | 49 - .../proto/cosmos/staking/v1beta1/query.proto | 349 - .../cosmos/staking/v1beta1/staking.proto | 358 - .../proto/cosmos/staking/v1beta1/tx.proto | 138 - .../cosmos/tx/signing/v1beta1/signing.proto | 94 - .../proto/cosmos/tx/v1beta1/service.proto | 163 - .../proto/cosmos/tx/v1beta1/tx.proto | 249 - .../proto/cosmos/upgrade/v1beta1/query.proto | 120 - .../proto/cosmos/upgrade/v1beta1/tx.proto | 55 - .../cosmos/upgrade/v1beta1/upgrade.proto | 86 - .../proto/cosmos/vesting/v1beta1/tx.proto | 74 - .../cosmos/vesting/v1beta1/vesting.proto | 76 - quicksilverjs/proto/cosmos_proto/LICENSE | 204 - quicksilverjs/proto/cosmos_proto/README.md | 1 - quicksilverjs/proto/cosmos_proto/cosmos.proto | 97 - quicksilverjs/proto/cosmwasm/LICENSE | 204 - quicksilverjs/proto/cosmwasm/README.md | 1 - .../proto/cosmwasm/wasm/v1/authz.proto | 109 - .../proto/cosmwasm/wasm/v1/genesis.proto | 46 - .../proto/cosmwasm/wasm/v1/ibc.proto | 31 - .../proto/cosmwasm/wasm/v1/proposal.proto | 272 - .../proto/cosmwasm/wasm/v1/query.proto | 263 - quicksilverjs/proto/cosmwasm/wasm/v1/tx.proto | 176 - .../proto/cosmwasm/wasm/v1/types.proto | 144 - quicksilverjs/proto/gogoproto/LICENSE | 34 - quicksilverjs/proto/gogoproto/README.md | 1 - quicksilverjs/proto/gogoproto/gogo.proto | 145 - quicksilverjs/proto/google/LICENSE | 201 - quicksilverjs/proto/google/README.md | 1 - .../proto/google/api/annotations.proto | 31 - quicksilverjs/proto/google/api/http.proto | 375 - quicksilverjs/proto/google/protobuf/any.proto | 155 - .../proto/google/protobuf/descriptor.proto | 885 -- .../proto/google/protobuf/duration.proto | 116 - .../proto/google/protobuf/empty.proto | 52 - .../proto/google/protobuf/timestamp.proto | 138 - quicksilverjs/proto/ibc/LICENSE | 21 - quicksilverjs/proto/ibc/README.md | 1 - .../applications/transfer/v1/genesis.proto | 19 - .../ibc/applications/transfer/v1/query.proto | 67 - .../applications/transfer/v1/transfer.proto | 30 - .../ibc/applications/transfer/v1/tx.proto | 44 - .../ibc/applications/transfer/v2/packet.proto | 19 - .../proto/ibc/core/channel/v1/channel.proto | 148 - .../proto/ibc/core/channel/v1/genesis.proto | 32 - .../proto/ibc/core/channel/v1/query.proto | 376 - .../proto/ibc/core/channel/v1/tx.proto | 211 - .../proto/ibc/core/client/v1/client.proto | 104 - .../proto/ibc/core/client/v1/genesis.proto | 48 - .../proto/ibc/core/client/v1/query.proto | 184 - .../proto/ibc/core/client/v1/tx.proto | 99 - .../ibc/core/commitment/v1/commitment.proto | 41 - .../ibc/core/connection/v1/connection.proto | 114 - .../ibc/core/connection/v1/genesis.proto | 18 - .../proto/ibc/core/connection/v1/query.proto | 138 - .../proto/ibc/core/connection/v1/tx.proto | 119 - .../proto/ibc/core/port/v1/query.proto | 35 - .../proto/ibc/core/types/v1/genesis.proto | 23 - .../lightclients/localhost/v1/localhost.proto | 18 - .../solomachine/v1/solomachine.proto | 189 - .../solomachine/v2/solomachine.proto | 189 - .../tendermint/v1/tendermint.proto | 115 - .../quicksilver/airdrop/v1/airdrop.proto | 105 - .../quicksilver/airdrop/v1/genesis.proto | 18 - .../quicksilver/airdrop/v1/messages.proto | 35 - .../proto/quicksilver/airdrop/v1/params.proto | 13 - .../quicksilver/airdrop/v1/proposals.proto | 19 - .../proto/quicksilver/airdrop/v1/query.proto | 142 - .../claimsmanager/v1/claimsmanager.proto | 48 - .../claimsmanager/v1/genesis.proto | 13 - .../claimsmanager/v1/messages.proto | 13 - .../quicksilver/claimsmanager/v1/query.proto | 52 - .../proto/quicksilver/epochs/v1/genesis.proto | 36 - .../proto/quicksilver/epochs/v1/query.proto | 34 - .../interchainquery/v1/genesis.proto | 15 - .../interchainquery/v1/interchainquery.proto | 49 - .../interchainquery/v1/messages.proto | 40 - .../interchainquery/v1/query.proto | 48 - .../interchainstaking/v1/genesis.proto | 64 - .../v1/interchainstaking.proto | 193 - .../interchainstaking/v1/messages.proto | 77 - .../interchainstaking/v1/proposals.proto | 111 - .../interchainstaking/v1/query.proto | 157 - .../quicksilver/mint/v1beta1/genesis.proto | 20 - .../proto/quicksilver/mint/v1beta1/mint.proto | 84 - .../quicksilver/mint/v1beta1/query.proto | 45 - .../participationrewards/v1/genesis.proto | 13 - .../participationrewards/v1/messages.proto | 42 - .../v1/participationrewards.proto | 76 - .../participationrewards/v1/proposals.proto | 41 - .../participationrewards/v1/query.proto | 48 - .../v1beta1/authorityMetadata.proto | 17 - .../tokenfactory/v1beta1/genesis.proto | 32 - .../tokenfactory/v1beta1/params.proto | 18 - .../tokenfactory/v1beta1/query.proto | 71 - .../quicksilver/tokenfactory/v1beta1/tx.proto | 108 - quicksilverjs/proto/tendermint/LICENSE | 204 - quicksilverjs/proto/tendermint/README.md | 1 - .../proto/tendermint/abci/types.proto | 394 - .../proto/tendermint/crypto/keys.proto | 17 - .../proto/tendermint/crypto/proof.proto | 41 - .../proto/tendermint/libs/bits/types.proto | 9 - .../proto/tendermint/p2p/types.proto | 42 - .../proto/tendermint/types/block.proto | 15 - .../proto/tendermint/types/evidence.proto | 38 - .../proto/tendermint/types/params.proto | 79 - .../proto/tendermint/types/types.proto | 153 - .../proto/tendermint/types/validator.proto | 25 - .../proto/tendermint/version/types.proto | 24 - quicksilverjs/scripts/aminos.js | 29 - quicksilverjs/scripts/codegen.js | 107 - quicksilverjs/src/codegen/confio/proofs.ts | 2351 ---- .../src/codegen/cosmos/app/v1alpha1/config.ts | 309 - .../src/codegen/cosmos/app/v1alpha1/module.ts | 539 - .../cosmos/app/v1alpha1/query.rpc.Query.ts | 27 - .../src/codegen/cosmos/app/v1alpha1/query.ts | 201 - .../src/codegen/cosmos/auth/v1beta1/auth.ts | 523 - .../codegen/cosmos/auth/v1beta1/genesis.ts | 148 - .../codegen/cosmos/auth/v1beta1/query.lcd.ts | 68 - .../cosmos/auth/v1beta1/query.rpc.Query.ts | 133 - .../src/codegen/cosmos/auth/v1beta1/query.ts | 1607 --- .../src/codegen/cosmos/authz/v1beta1/authz.ts | 626 -- .../codegen/cosmos/authz/v1beta1/genesis.ts | 124 - .../codegen/cosmos/authz/v1beta1/query.lcd.ts | 64 - .../cosmos/authz/v1beta1/query.rpc.Query.ts | 76 - .../src/codegen/cosmos/authz/v1beta1/query.ts | 857 -- .../codegen/cosmos/authz/v1beta1/tx.amino.ts | 20 - .../cosmos/authz/v1beta1/tx.registry.ts | 112 - .../cosmos/authz/v1beta1/tx.rpc.msg.ts | 42 - .../src/codegen/cosmos/authz/v1beta1/tx.ts | 794 -- .../src/codegen/cosmos/bank/v1beta1/authz.ts | 139 - .../src/codegen/cosmos/bank/v1beta1/bank.ts | 1169 -- .../codegen/cosmos/bank/v1beta1/genesis.ts | 366 - .../codegen/cosmos/bank/v1beta1/query.lcd.ts | 119 - .../cosmos/bank/v1beta1/query.rpc.Query.ts | 175 - .../src/codegen/cosmos/bank/v1beta1/query.ts | 2450 ---- .../codegen/cosmos/bank/v1beta1/tx.amino.ts | 15 - .../cosmos/bank/v1beta1/tx.registry.ts | 82 - .../codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts | 22 - .../src/codegen/cosmos/bank/v1beta1/tx.ts | 478 - .../codegen/cosmos/base/abci/v1beta1/abci.ts | 1880 ---- .../src/codegen/cosmos/base/kv/v1beta1/kv.ts | 248 - .../cosmos/base/query/v1beta1/pagination.ts | 426 - .../base/reflection/v1beta1/reflection.ts | 458 - .../base/reflection/v2alpha1/reflection.ts | 3219 ------ .../cosmos/base/snapshots/v1beta1/snapshot.ts | 1261 --- .../cosmos/base/store/v1beta1/commit_info.ts | 423 - .../cosmos/base/store/v1beta1/listening.ts | 184 - .../base/tendermint/v1beta1/query.lcd.ts | 68 - .../tendermint/v1beta1/query.rpc.Service.ts | 111 - .../cosmos/base/tendermint/v1beta1/query.ts | 1985 ---- .../src/codegen/cosmos/base/v1beta1/coin.ts | 499 - quicksilverjs/src/codegen/cosmos/bundle.ts | 500 - .../cosmos/capability/v1beta1/capability.ts | 385 - .../cosmos/capability/v1beta1/genesis.ts | 286 - quicksilverjs/src/codegen/cosmos/client.ts | 78 - .../codegen/cosmos/crisis/v1beta1/genesis.ts | 122 - .../codegen/cosmos/crisis/v1beta1/tx.amino.ts | 8 - .../cosmos/crisis/v1beta1/tx.registry.ts | 50 - .../cosmos/crisis/v1beta1/tx.rpc.msg.ts | 12 - .../src/codegen/cosmos/crisis/v1beta1/tx.ts | 230 - .../src/codegen/cosmos/crypto/ed25519/keys.ts | 246 - .../src/codegen/cosmos/crypto/hd/v1/hd.ts | 195 - .../cosmos/crypto/keyring/v1/record.ts | 636 -- .../codegen/cosmos/crypto/multisig/keys.ts | 153 - .../crypto/multisig/v1beta1/multisig.ts | 275 - .../codegen/cosmos/crypto/secp256k1/keys.ts | 237 - .../codegen/cosmos/crypto/secp256r1/keys.ts | 229 - .../distribution/v1beta1/distribution.ts | 1811 --- .../cosmos/distribution/v1beta1/genesis.ts | 1411 --- .../cosmos/distribution/v1beta1/query.lcd.ts | 83 - .../distribution/v1beta1/query.rpc.Query.ts | 163 - .../cosmos/distribution/v1beta1/query.ts | 2278 ---- .../cosmos/distribution/v1beta1/tx.amino.ts | 24 - .../distribution/v1beta1/tx.registry.ts | 141 - .../cosmos/distribution/v1beta1/tx.rpc.msg.ts | 49 - .../codegen/cosmos/distribution/v1beta1/tx.ts | 945 -- .../cosmos/evidence/v1beta1/evidence.ts | 176 - .../cosmos/evidence/v1beta1/genesis.ts | 126 - .../cosmos/evidence/v1beta1/query.lcd.ts | 35 - .../evidence/v1beta1/query.rpc.Query.ts | 44 - .../codegen/cosmos/evidence/v1beta1/query.ts | 500 - .../cosmos/evidence/v1beta1/tx.amino.ts | 9 - .../cosmos/evidence/v1beta1/tx.registry.ts | 51 - .../cosmos/evidence/v1beta1/tx.rpc.msg.ts | 16 - .../src/codegen/cosmos/evidence/v1beta1/tx.ts | 267 - .../cosmos/feegrant/v1beta1/feegrant.ts | 763 -- .../cosmos/feegrant/v1beta1/genesis.ts | 124 - .../cosmos/feegrant/v1beta1/query.lcd.ts | 46 - .../feegrant/v1beta1/query.rpc.Query.ts | 66 - .../codegen/cosmos/feegrant/v1beta1/query.ts | 790 -- .../cosmos/feegrant/v1beta1/tx.amino.ts | 15 - .../cosmos/feegrant/v1beta1/tx.registry.ts | 82 - .../cosmos/feegrant/v1beta1/tx.rpc.msg.ts | 28 - .../src/codegen/cosmos/feegrant/v1beta1/tx.ts | 522 - .../codegen/cosmos/genutil/v1beta1/genesis.ts | 125 - .../src/codegen/cosmos/gov/v1/genesis.ts | 272 - .../src/codegen/cosmos/gov/v1/gov.ts | 1496 --- .../src/codegen/cosmos/gov/v1/query.lcd.ts | 90 - .../codegen/cosmos/gov/v1/query.rpc.Query.ts | 140 - .../src/codegen/cosmos/gov/v1/query.ts | 2076 ---- .../src/codegen/cosmos/gov/v1/tx.amino.ts | 33 - .../src/codegen/cosmos/gov/v1/tx.registry.ts | 175 - .../src/codegen/cosmos/gov/v1/tx.rpc.msg.ts | 52 - quicksilverjs/src/codegen/cosmos/gov/v1/tx.ts | 1344 --- .../src/codegen/cosmos/gov/v1beta1/genesis.ts | 272 - .../src/codegen/cosmos/gov/v1beta1/gov.ts | 1686 --- .../codegen/cosmos/gov/v1beta1/query.lcd.ts | 90 - .../cosmos/gov/v1beta1/query.rpc.Query.ts | 140 - .../src/codegen/cosmos/gov/v1beta1/query.ts | 2076 ---- .../codegen/cosmos/gov/v1beta1/tx.amino.ts | 27 - .../codegen/cosmos/gov/v1beta1/tx.registry.ts | 144 - .../codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts | 44 - .../src/codegen/cosmos/gov/v1beta1/tx.ts | 1076 -- .../src/codegen/cosmos/group/v1/events.ts | 1046 -- .../src/codegen/cosmos/group/v1/genesis.ts | 331 - .../src/codegen/cosmos/group/v1/query.lcd.ts | 141 - .../cosmos/group/v1/query.rpc.Query.ts | 220 - .../src/codegen/cosmos/group/v1/query.ts | 3340 ------ .../src/codegen/cosmos/group/v1/tx.amino.ts | 75 - .../codegen/cosmos/group/v1/tx.registry.ts | 442 - .../src/codegen/cosmos/group/v1/tx.rpc.msg.ts | 118 - .../src/codegen/cosmos/group/v1/tx.ts | 3691 ------ .../src/codegen/cosmos/group/v1/types.ts | 2357 ---- quicksilverjs/src/codegen/cosmos/lcd.ts | 99 - .../codegen/cosmos/mint/v1beta1/genesis.ts | 137 - .../src/codegen/cosmos/mint/v1beta1/mint.ts | 339 - .../codegen/cosmos/mint/v1beta1/query.lcd.ts | 31 - .../cosmos/mint/v1beta1/query.rpc.Query.ts | 59 - .../src/codegen/cosmos/mint/v1beta1/query.ts | 618 - .../src/codegen/cosmos/msg/v1/msg.ts | 1 - .../src/codegen/cosmos/nft/v1beta1/event.ts | 446 - .../src/codegen/cosmos/nft/v1beta1/genesis.ts | 296 - .../src/codegen/cosmos/nft/v1beta1/nft.ts | 418 - .../codegen/cosmos/nft/v1beta1/query.lcd.ts | 78 - .../cosmos/nft/v1beta1/query.rpc.Query.ts | 130 - .../src/codegen/cosmos/nft/v1beta1/query.ts | 1678 --- .../codegen/cosmos/nft/v1beta1/tx.amino.ts | 8 - .../codegen/cosmos/nft/v1beta1/tx.registry.ts | 50 - .../codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts | 12 - .../src/codegen/cosmos/nft/v1beta1/tx.ts | 255 - .../src/codegen/cosmos/orm/v1/orm.ts | 666 -- .../src/codegen/cosmos/orm/v1alpha1/schema.ts | 403 - .../codegen/cosmos/params/v1beta1/params.ts | 308 - .../cosmos/params/v1beta1/query.lcd.ts | 35 - .../cosmos/params/v1beta1/query.rpc.Query.ts | 49 - .../codegen/cosmos/params/v1beta1/query.ts | 614 - quicksilverjs/src/codegen/cosmos/rpc.query.ts | 65 - quicksilverjs/src/codegen/cosmos/rpc.tx.ts | 0 .../cosmos/slashing/v1beta1/genesis.ts | 602 - .../cosmos/slashing/v1beta1/query.lcd.ts | 41 - .../slashing/v1beta1/query.rpc.Query.ts | 60 - .../codegen/cosmos/slashing/v1beta1/query.ts | 709 -- .../cosmos/slashing/v1beta1/slashing.ts | 423 - .../cosmos/slashing/v1beta1/tx.amino.ts | 8 - .../cosmos/slashing/v1beta1/tx.registry.ts | 50 - .../cosmos/slashing/v1beta1/tx.rpc.msg.ts | 16 - .../src/codegen/cosmos/slashing/v1beta1/tx.ts | 196 - .../codegen/cosmos/staking/v1beta1/authz.ts | 374 - .../codegen/cosmos/staking/v1beta1/genesis.ts | 450 - .../cosmos/staking/v1beta1/query.lcd.ts | 154 - .../cosmos/staking/v1beta1/query.rpc.Query.ts | 260 - .../codegen/cosmos/staking/v1beta1/query.ts | 3678 ------ .../codegen/cosmos/staking/v1beta1/staking.ts | 3316 ------ .../cosmos/staking/v1beta1/tx.amino.ts | 32 - .../cosmos/staking/v1beta1/tx.registry.ts | 174 - .../cosmos/staking/v1beta1/tx.rpc.msg.ts | 57 - .../src/codegen/cosmos/staking/v1beta1/tx.ts | 1363 --- .../cosmos/tx/signing/v1beta1/signing.ts | 792 -- .../codegen/cosmos/tx/v1beta1/service.lcd.ts | 56 - .../cosmos/tx/v1beta1/service.rpc.Service.ts | 101 - .../src/codegen/cosmos/tx/v1beta1/service.ts | 1609 --- .../src/codegen/cosmos/tx/v1beta1/tx.ts | 2454 ---- .../cosmos/upgrade/v1beta1/query.lcd.ts | 56 - .../cosmos/upgrade/v1beta1/query.rpc.Query.ts | 113 - .../codegen/cosmos/upgrade/v1beta1/query.ts | 1198 -- .../cosmos/upgrade/v1beta1/tx.amino.ts | 14 - .../cosmos/upgrade/v1beta1/tx.registry.ts | 81 - .../cosmos/upgrade/v1beta1/tx.rpc.msg.ts | 30 - .../src/codegen/cosmos/upgrade/v1beta1/tx.ts | 463 - .../codegen/cosmos/upgrade/v1beta1/upgrade.ts | 693 -- .../cosmos/vesting/v1beta1/tx.amino.ts | 20 - .../cosmos/vesting/v1beta1/tx.registry.ts | 112 - .../cosmos/vesting/v1beta1/tx.rpc.msg.ts | 39 - .../src/codegen/cosmos/vesting/v1beta1/tx.ts | 813 -- .../codegen/cosmos/vesting/v1beta1/vesting.ts | 924 -- .../src/codegen/cosmos_proto/bundle.ts | 4 - .../src/codegen/cosmos_proto/cosmos.ts | 402 - quicksilverjs/src/codegen/cosmwasm/bundle.ts | 36 - quicksilverjs/src/codegen/cosmwasm/client.ts | 47 - quicksilverjs/src/codegen/cosmwasm/lcd.ts | 106 - .../src/codegen/cosmwasm/rpc.query.ts | 70 - quicksilverjs/src/codegen/cosmwasm/rpc.tx.ts | 0 .../src/codegen/cosmwasm/wasm/v1/genesis.ts | 836 -- .../src/codegen/cosmwasm/wasm/v1/ibc.ts | 300 - .../src/codegen/cosmwasm/wasm/v1/proposal.ts | 1721 --- .../src/codegen/cosmwasm/wasm/v1/query.lcd.ts | 103 - .../cosmwasm/wasm/v1/query.rpc.Query.ts | 156 - .../src/codegen/cosmwasm/wasm/v1/query.ts | 2569 ----- .../src/codegen/cosmwasm/wasm/v1/tx.amino.ts | 35 - .../codegen/cosmwasm/wasm/v1/tx.registry.ts | 202 - .../codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts | 54 - .../src/codegen/cosmwasm/wasm/v1/tx.ts | 1652 --- .../src/codegen/cosmwasm/wasm/v1/types.ts | 1339 --- quicksilverjs/src/codegen/gogoproto/bundle.ts | 4 - quicksilverjs/src/codegen/gogoproto/gogo.ts | 1 - .../src/codegen/google/api/annotations.ts | 1 - quicksilverjs/src/codegen/google/api/auth.ts | 1297 --- .../src/codegen/google/api/backend.ts | 602 - .../src/codegen/google/api/billing.ts | 382 - .../src/codegen/google/api/client.ts | 1 - .../src/codegen/google/api/config_change.ts | 432 - .../src/codegen/google/api/consumer.ts | 399 - .../src/codegen/google/api/context.ts | 493 - .../src/codegen/google/api/control.ts | 124 - .../src/codegen/google/api/distribution.ts | 1404 --- .../src/codegen/google/api/documentation.ts | 810 -- .../src/codegen/google/api/endpoint.ts | 271 - .../src/codegen/google/api/error_reason.ts | 513 - .../v1alpha1/conformance_service.ts | 1319 --- .../google/api/expr/v1alpha1/checked.ts | 2591 ----- .../codegen/google/api/expr/v1alpha1/eval.ts | 793 -- .../google/api/expr/v1alpha1/explain.ts | 308 - .../google/api/expr/v1alpha1/syntax.ts | 2760 ----- .../codegen/google/api/expr/v1alpha1/value.ts | 872 -- .../codegen/google/api/expr/v1beta1/decl.ts | 642 -- .../codegen/google/api/expr/v1beta1/eval.ts | 885 -- .../codegen/google/api/expr/v1beta1/expr.ts | 1964 ---- .../codegen/google/api/expr/v1beta1/source.ts | 524 - .../codegen/google/api/expr/v1beta1/value.ts | 872 -- .../src/codegen/google/api/field_behavior.ts | 116 - quicksilverjs/src/codegen/google/api/http.ts | 1451 --- .../src/codegen/google/api/httpbody.ts | 295 - quicksilverjs/src/codegen/google/api/label.ts | 186 - .../src/codegen/google/api/launch_stage.ts | 112 - quicksilverjs/src/codegen/google/api/log.ts | 233 - .../src/codegen/google/api/logging.ts | 418 - .../src/codegen/google/api/metric.ts | 1210 -- .../codegen/google/api/monitored_resource.ts | 951 -- .../src/codegen/google/api/monitoring.ts | 491 - quicksilverjs/src/codegen/google/api/quota.ts | 1204 -- .../src/codegen/google/api/resource.ts | 824 -- .../src/codegen/google/api/routing.ts | 1444 --- .../src/codegen/google/api/service.ts | 856 -- .../api/servicecontrol/v1/check_error.ts | 386 - .../api/servicecontrol/v1/distribution.ts | 878 -- .../api/servicecontrol/v1/http_request.ts | 473 - .../google/api/servicecontrol/v1/log_entry.ts | 920 -- .../api/servicecontrol/v1/metric_value.ts | 578 - .../google/api/servicecontrol/v1/operation.ts | 630 -- .../api/servicecontrol/v1/quota_controller.ts | 1175 -- .../servicecontrol/v1/service_controller.ts | 1299 --- .../servicecontrol/v2/service_controller.ts | 990 -- .../api/servicemanagement/v1/resources.ts | 2116 ---- .../servicemanagement/v1/servicemanager.ts | 2675 ----- .../google/api/serviceusage/v1/resources.ts | 733 -- .../api/serviceusage/v1/serviceusage.ts | 1761 --- .../api/serviceusage/v1beta1/resources.ts | 2933 ----- .../api/serviceusage/v1beta1/serviceusage.ts | 5258 --------- .../src/codegen/google/api/source_info.ts | 119 - .../codegen/google/api/system_parameter.ts | 529 - quicksilverjs/src/codegen/google/api/usage.ts | 459 - .../src/codegen/google/api/visibility.ts | 366 - quicksilverjs/src/codegen/google/bundle.ts | 120 - .../google/logging/type/http_request.ts | 477 - .../google/logging/type/log_severity.ts | 104 - .../codegen/google/logging/v2/log_entry.ts | 1335 --- .../src/codegen/google/logging/v2/logging.ts | 2645 ----- .../google/logging/v2/logging_config.ts | 7356 ------------ .../google/logging/v2/logging_metrics.ts | 1535 --- .../codegen/google/longrunning/operations.ts | 1171 -- .../src/codegen/google/protobuf/any.ts | 421 - .../src/codegen/google/protobuf/api.ts | 936 -- .../google/protobuf/compiler/plugin.ts | 779 -- .../src/codegen/google/protobuf/descriptor.ts | 6245 ----------- .../src/codegen/google/protobuf/duration.ts | 308 - .../src/codegen/google/protobuf/empty.ts | 111 - .../src/codegen/google/protobuf/field_mask.ts | 718 -- .../codegen/google/protobuf/source_context.ts | 121 - .../src/codegen/google/protobuf/struct.ts | 675 -- .../src/codegen/google/protobuf/timestamp.ts | 374 - .../src/codegen/google/protobuf/type.ts | 1288 --- .../src/codegen/google/protobuf/wrappers.ts | 1042 -- quicksilverjs/src/codegen/google/rpc/code.ts | 286 - .../google/rpc/context/attribute_context.ts | 2909 ----- .../src/codegen/google/rpc/error_details.ts | 2289 ---- .../src/codegen/google/rpc/status.ts | 195 - quicksilverjs/src/codegen/grpc-gateway.ts | 350 - quicksilverjs/src/codegen/helpers.ts | 242 - .../ibc/applications/transfer/v1/genesis.ts | 160 - .../ibc/applications/transfer/v1/query.lcd.ts | 41 - .../transfer/v1/query.rpc.Query.ts | 60 - .../ibc/applications/transfer/v1/query.ts | 715 -- .../ibc/applications/transfer/v1/transfer.ts | 303 - .../ibc/applications/transfer/v1/tx.amino.ts | 10 - .../applications/transfer/v1/tx.registry.ts | 52 - .../applications/transfer/v1/tx.rpc.msg.ts | 14 - .../ibc/applications/transfer/v1/tx.ts | 344 - .../ibc/applications/transfer/v2/packet.ts | 182 - quicksilverjs/src/codegen/ibc/bundle.ts | 150 - quicksilverjs/src/codegen/ibc/client.ts | 56 - .../codegen/ibc/core/channel/v1/channel.ts | 1304 --- .../codegen/ibc/core/channel/v1/genesis.ts | 472 - .../codegen/ibc/core/channel/v1/query.lcd.ts | 132 - .../ibc/core/channel/v1/query.rpc.Query.ts | 270 - .../src/codegen/ibc/core/channel/v1/query.ts | 4188 ------- .../codegen/ibc/core/channel/v1/tx.amino.ts | 55 - .../ibc/core/channel/v1/tx.registry.ts | 322 - .../codegen/ibc/core/channel/v1/tx.rpc.msg.ts | 89 - .../src/codegen/ibc/core/channel/v1/tx.ts | 2727 ----- .../src/codegen/ibc/core/client/v1/client.ts | 1101 -- .../src/codegen/ibc/core/client/v1/genesis.ts | 531 - .../codegen/ibc/core/client/v1/query.lcd.ts | 86 - .../ibc/core/client/v1/query.rpc.Query.ts | 153 - .../src/codegen/ibc/core/client/v1/query.ts | 2085 ---- .../codegen/ibc/core/client/v1/tx.amino.ts | 24 - .../codegen/ibc/core/client/v1/tx.registry.ts | 141 - .../codegen/ibc/core/client/v1/tx.rpc.msg.ts | 37 - .../src/codegen/ibc/core/client/v1/tx.ts | 1053 -- .../ibc/core/commitment/v1/commitment.ts | 511 - .../ibc/core/connection/v1/connection.ts | 1221 -- .../codegen/ibc/core/connection/v1/genesis.ts | 193 - .../ibc/core/connection/v1/query.lcd.ts | 58 - .../ibc/core/connection/v1/query.rpc.Query.ts | 112 - .../codegen/ibc/core/connection/v1/query.ts | 1489 --- .../ibc/core/connection/v1/tx.amino.ts | 26 - .../ibc/core/connection/v1/tx.registry.ts | 143 - .../ibc/core/connection/v1/tx.rpc.msg.ts | 42 - .../src/codegen/ibc/core/connection/v1/tx.ts | 1363 --- .../ibc/core/port/v1/query.rpc.Query.ts | 27 - .../src/codegen/ibc/core/port/v1/query.ts | 321 - .../src/codegen/ibc/core/types/v1/genesis.ts | 166 - quicksilverjs/src/codegen/ibc/lcd.ts | 125 - .../lightclients/localhost/v1/localhost.ts | 144 - .../solomachine/v1/solomachine.ts | 2491 ----- .../solomachine/v2/solomachine.ts | 2489 ----- .../lightclients/tendermint/v1/tendermint.ts | 1038 -- quicksilverjs/src/codegen/ibc/rpc.query.ts | 86 - quicksilverjs/src/codegen/ibc/rpc.tx.ts | 0 quicksilverjs/src/codegen/ics23/bundle.ts | 4 - quicksilverjs/src/codegen/index.ts | 20 - .../codegen/quicksilver/airdrop/v1/airdrop.ts | 839 -- .../codegen/quicksilver/airdrop/v1/genesis.ts | 166 - .../quicksilver/airdrop/v1/messages.amino.ts | 9 - .../airdrop/v1/messages.registry.ts | 51 - .../airdrop/v1/messages.rpc.msg.ts | 12 - .../quicksilver/airdrop/v1/messages.ts | 267 - .../codegen/quicksilver/airdrop/v1/params.ts | 81 - .../quicksilver/airdrop/v1/proposals.ts | 155 - .../quicksilver/airdrop/v1/query.lcd.ts | 66 - .../quicksilver/airdrop/v1/query.rpc.Query.ts | 116 - .../codegen/quicksilver/airdrop/v1/query.ts | 1384 --- .../src/codegen/quicksilver/bundle.ts | 166 - .../claimsmanager/v1/claimsmanager.ts | 477 - .../quicksilver/claimsmanager/v1/genesis.ts | 136 - .../quicksilver/claimsmanager/v1/messages.ts | 1 - .../quicksilver/claimsmanager/v1/query.lcd.ts | 77 - .../claimsmanager/v1/query.rpc.Query.ts | 88 - .../quicksilver/claimsmanager/v1/query.ts | 274 - .../src/codegen/quicksilver/client.ts | 59 - .../codegen/quicksilver/epochs/v1/genesis.ts | 324 - .../quicksilver/epochs/v1/query.lcd.ts | 41 - .../quicksilver/epochs/v1/query.rpc.Query.ts | 44 - .../codegen/quicksilver/epochs/v1/query.ts | 432 - .../quicksilver/interchainquery/v1/genesis.ts | 117 - .../interchainquery/v1/interchainquery.ts | 409 - .../interchainquery/v1/messages.amino.ts | 9 - .../interchainquery/v1/messages.registry.ts | 51 - .../interchainquery/v1/messages.rpc.msg.ts | 13 - .../interchainquery/v1/messages.ts | 281 - .../quicksilver/interchainquery/v1/query.ts | 435 - .../interchainstaking/v1/genesis.ts | 870 -- .../interchainstaking/v1/interchainstaking.ts | 2520 ----- .../interchainstaking/v1/messages.amino.ts | 25 - .../interchainstaking/v1/messages.registry.ts | 142 - .../interchainstaking/v1/messages.rpc.msg.ts | 42 - .../interchainstaking/v1/messages.ts | 450 - .../interchainstaking/v1/proposals.ts | 1446 --- .../interchainstaking/v1/query.lcd.ts | 126 - .../interchainstaking/v1/query.rpc.Query.ts | 162 - .../quicksilver/interchainstaking/v1/query.ts | 1935 ---- quicksilverjs/src/codegen/quicksilver/lcd.ts | 136 - .../quicksilver/mint/v1beta1/genesis.ts | 151 - .../codegen/quicksilver/mint/v1beta1/mint.ts | 510 - .../quicksilver/mint/v1beta1/query.lcd.ts | 25 - .../mint/v1beta1/query.rpc.Query.ts | 43 - .../codegen/quicksilver/mint/v1beta1/query.ts | 386 - .../participationrewards/v1/genesis.ts | 136 - .../participationrewards/v1/messages.amino.ts | 9 - .../v1/messages.registry.ts | 51 - .../v1/messages.rpc.msg.ts | 12 - .../participationrewards/v1/messages.ts | 272 - .../v1/participationrewards.ts | 693 -- .../participationrewards/v1/proposals.ts | 369 - .../participationrewards/v1/query.lcd.ts | 25 - .../v1/query.rpc.Query.ts | 43 - .../participationrewards/v1/query.ts | 420 - .../src/codegen/quicksilver/rpc.query.ts | 88 - .../src/codegen/quicksilver/rpc.tx.ts | 0 .../tokenfactory/v1beta1/authorityMetadata.ts | 118 - .../tokenfactory/v1beta1/genesis.ts | 271 - .../tokenfactory/v1beta1/params.ts | 117 - .../tokenfactory/v1beta1/query.lcd.ts | 35 - .../tokenfactory/v1beta1/query.rpc.Query.ts | 78 - .../quicksilver/tokenfactory/v1beta1/query.ts | 642 -- .../tokenfactory/v1beta1/tx.amino.ts | 30 - .../tokenfactory/v1beta1/tx.registry.ts | 172 - .../tokenfactory/v1beta1/tx.rpc.msg.ts | 41 - .../quicksilver/tokenfactory/v1beta1/tx.ts | 1120 -- .../src/codegen/tendermint/abci/types.ts | 6671 ----------- .../src/codegen/tendermint/bundle.ts | 38 - .../src/codegen/tendermint/crypto/keys.ts | 121 - .../src/codegen/tendermint/crypto/proof.ts | 681 -- .../src/codegen/tendermint/libs/bits/types.ts | 141 - .../src/codegen/tendermint/p2p/types.ts | 771 -- .../src/codegen/tendermint/types/block.ts | 162 - .../src/codegen/tendermint/types/evidence.ts | 599 - .../src/codegen/tendermint/types/params.ts | 878 -- .../src/codegen/tendermint/types/types.ts | 2231 ---- .../src/codegen/tendermint/types/validator.ts | 426 - .../src/codegen/tendermint/version/types.ts | 269 - quicksilverjs/src/index.ts | 1 - quicksilverjs/tsconfig.json | 28 - web-ui/.eslintrc.json | 21 - web-ui/.gitignore | 39 - web-ui/.prettierrc | 7 - web-ui/README.md | 76 - web-ui/components/Governance/ProposalCard.tsx | 179 - .../components/Governance/ProposalModal.tsx | 397 - web-ui/components/Governance/VoteModal.tsx | 185 - .../components/Governance/VotingSection.tsx | 252 - web-ui/components/Governance/common.tsx | 235 - web-ui/components/Governance/index.ts | 2 - web-ui/components/Staking/assetsAccordion.tsx | 155 - web-ui/components/Staking/index.tsx | 5 - web-ui/components/Staking/infoBox.tsx | 192 - .../Staking/modals/multiStakeModal.tsx | 468 - .../Staking/networkSelectButton.tsx | 136 - web-ui/components/Staking/stakingBox.tsx | 294 - web-ui/components/ThreeJS/index.tsx | 1 - .../components/ThreeJS/liquidMetalSphere.tsx | 70 - web-ui/components/index.tsx | 5 - web-ui/components/react/address-card.tsx | 246 - web-ui/components/react/astronaut.tsx | 156 - web-ui/components/react/chain-card.tsx | 60 - web-ui/components/react/header.tsx | 43 - web-ui/components/react/index.ts | 8 - web-ui/components/react/sideHeader.tsx | 235 - web-ui/components/react/user-card.tsx | 41 - web-ui/components/react/wallet-connect.tsx | 228 - web-ui/components/react/warn-block.tsx | 103 - web-ui/components/types.tsx | 53 - web-ui/components/wallet-button.tsx | 158 - web-ui/components/wallet.tsx | 152 - web-ui/config/defaults.ts | 41 - web-ui/config/index.ts | 2 - web-ui/config/theme.ts | 162 - web-ui/hooks/index.ts | 6 - web-ui/hooks/useQueryHooks.ts | 58 - web-ui/hooks/useRpcQueryClient.ts | 28 - web-ui/hooks/useToaster.tsx | 53 - web-ui/hooks/useTx.ts | 152 - web-ui/hooks/useValidatorData.ts | 79 - web-ui/hooks/useVotingData.ts | 218 - web-ui/next.config.js | 6 - web-ui/package.json | 58 - web-ui/pages/_app.tsx | 81 - web-ui/pages/assets.tsx | 35 - web-ui/pages/defi.tsx | 35 - web-ui/pages/governance.tsx | 49 - web-ui/pages/index.tsx | 35 - web-ui/pages/staking.tsx | 117 - web-ui/public/img/background.png | Bin 1596705 -> 0 bytes web-ui/public/img/backgroundTest.png | Bin 602639 -> 0 bytes web-ui/public/img/backgroundTest2.png | Bin 2978970 -> 0 bytes web-ui/public/img/backgroundTest3.jpg | Bin 979466 -> 0 bytes web-ui/public/img/backgroundTest5.png | Bin 1378914 -> 0 bytes web-ui/public/img/favicon-main.png | Bin 7205 -> 0 bytes web-ui/public/img/favicon.png | Bin 4815 -> 0 bytes web-ui/public/img/index.js | 73 - web-ui/public/img/logo.png | Bin 21688 -> 0 bytes web-ui/public/img/logowords.png | Bin 5253 -> 0 bytes web-ui/public/img/metalmisc1.png | Bin 93404 -> 0 bytes web-ui/public/img/metalmisc2.png | Bin 88354 -> 0 bytes web-ui/public/img/metalmisc3.png | Bin 96373 -> 0 bytes web-ui/public/img/networks/atom.svg | 42 - web-ui/public/img/networks/aurastake.png | Bin 3517 -> 0 bytes web-ui/public/img/networks/cosmos.svg | 10 - web-ui/public/img/networks/evmos.png | Bin 1347 -> 0 bytes web-ui/public/img/networks/evmos.svg | 4 - web-ui/public/img/networks/fishking.png | Bin 1926 -> 0 bytes web-ui/public/img/networks/inj.svg | 14 - web-ui/public/img/networks/juno.png | Bin 8423 -> 0 bytes web-ui/public/img/networks/juno.svg | 5 - web-ui/public/img/networks/k.svg | 12 - web-ui/public/img/networks/kaplr-circle.svg | 35 - web-ui/public/img/networks/keplr.svg | 35 - web-ui/public/img/networks/kraken.png | Bin 836 -> 0 bytes web-ui/public/img/networks/lavender-2.png | Bin 8216 -> 0 bytes web-ui/public/img/networks/lavender.png | Bin 3129 -> 0 bytes web-ui/public/img/networks/leap.svg | 10 - web-ui/public/img/networks/osmosis.svg | 118 - web-ui/public/img/networks/q-atom.svg | 19 - web-ui/public/img/networks/q-inj.svg | 20 - web-ui/public/img/networks/q-regen.svg | 30 - web-ui/public/img/networks/qinj.svg | 20 - web-ui/public/img/networks/qosmo.svg | 124 - web-ui/public/img/networks/quicksilver.png | Bin 2064 -> 0 bytes web-ui/public/img/networks/quicksilver.svg | 77 - web-ui/public/img/networks/raydium.png | Bin 7011 -> 0 bytes web-ui/public/img/networks/regen.svg | 29 - web-ui/public/img/networks/sanka.png | Bin 1883 -> 0 bytes web-ui/public/img/networks/smartnodes.png | Bin 5892 -> 0 bytes web-ui/public/img/networks/sommelier.png | Bin 2958 -> 0 bytes web-ui/public/img/networks/stargaze-2.svg | 14 - web-ui/public/img/networks/stargaze.png | Bin 1871 -> 0 bytes web-ui/public/img/networks/stargaze.svg | 10 - web-ui/public/img/networks/stir.png | Bin 2519 -> 0 bytes web-ui/public/img/networks/terravegas.png | Bin 2553 -> 0 bytes web-ui/public/img/test.png | Bin 94515 -> 0 bytes web-ui/public/img/test2.png | Bin 157649 -> 0 bytes web-ui/public/img/test3.png | Bin 163757 -> 0 bytes web-ui/public/img/test4.png | Bin 286946 -> 0 bytes web-ui/public/img/test5.png | Bin 220286 -> 0 bytes web-ui/styles/Home.module.css | 25 - web-ui/styles/fonts/Lato-Black.eot | Bin 67886 -> 0 bytes web-ui/styles/fonts/Lato-Black.svg | 5445 --------- web-ui/styles/fonts/Lato-Black.ttf | Bin 67652 -> 0 bytes web-ui/styles/fonts/Lato-Black.woff | Bin 34560 -> 0 bytes web-ui/styles/fonts/Lato-Black.woff2 | Bin 27108 -> 0 bytes web-ui/styles/fonts/Lato-BlackItalic.eot | Bin 70294 -> 0 bytes web-ui/styles/fonts/Lato-BlackItalic.svg | 4930 -------- web-ui/styles/fonts/Lato-BlackItalic.ttf | Bin 70048 -> 0 bytes web-ui/styles/fonts/Lato-BlackItalic.woff | Bin 36296 -> 0 bytes web-ui/styles/fonts/Lato-BlackItalic.woff2 | Bin 28476 -> 0 bytes web-ui/styles/fonts/Lato-Bold.eot | Bin 71802 -> 0 bytes web-ui/styles/fonts/Lato-Bold.svg | 5834 ---------- web-ui/styles/fonts/Lato-Bold.ttf | Bin 71588 -> 0 bytes web-ui/styles/fonts/Lato-Bold.woff | Bin 35176 -> 0 bytes web-ui/styles/fonts/Lato-Bold.woff2 | Bin 27548 -> 0 bytes web-ui/styles/fonts/Lato-BoldItalic.eot | Bin 76078 -> 0 bytes web-ui/styles/fonts/Lato-BoldItalic.svg | 5248 --------- web-ui/styles/fonts/Lato-BoldItalic.ttf | Bin 75836 -> 0 bytes web-ui/styles/fonts/Lato-BoldItalic.woff | Bin 37812 -> 0 bytes web-ui/styles/fonts/Lato-BoldItalic.woff2 | Bin 29408 -> 0 bytes web-ui/styles/fonts/Lato-Hairline.eot | Bin 59770 -> 0 bytes web-ui/styles/fonts/Lato-Hairline.svg | 5402 --------- web-ui/styles/fonts/Lato-Hairline.ttf | Bin 59524 -> 0 bytes web-ui/styles/fonts/Lato-Hairline.woff | Bin 29520 -> 0 bytes web-ui/styles/fonts/Lato-Hairline.woff2 | Bin 21844 -> 0 bytes web-ui/styles/fonts/Lato-HairlineItalic.eot | Bin 46008 -> 0 bytes web-ui/styles/fonts/Lato-HairlineItalic.svg | 5208 --------- web-ui/styles/fonts/Lato-HairlineItalic.ttf | Bin 45752 -> 0 bytes web-ui/styles/fonts/Lato-HairlineItalic.woff | Bin 26000 -> 0 bytes web-ui/styles/fonts/Lato-HairlineItalic.woff2 | Bin 19524 -> 0 bytes web-ui/styles/fonts/Lato-Italic.eot | Bin 74142 -> 0 bytes web-ui/styles/fonts/Lato-Italic.svg | 5244 --------- web-ui/styles/fonts/Lato-Italic.ttf | Bin 73920 -> 0 bytes web-ui/styles/fonts/Lato-Italic.woff | Bin 37544 -> 0 bytes web-ui/styles/fonts/Lato-Italic.woff2 | Bin 29212 -> 0 bytes web-ui/styles/fonts/Lato-Light.eot | Bin 67766 -> 0 bytes web-ui/styles/fonts/Lato-Light.svg | 5431 --------- web-ui/styles/fonts/Lato-Light.ttf | Bin 67532 -> 0 bytes web-ui/styles/fonts/Lato-Light.woff | Bin 33960 -> 0 bytes web-ui/styles/fonts/Lato-Light.woff2 | Bin 23684 -> 0 bytes web-ui/styles/fonts/Lato-LightItalic.eot | Bin 46196 -> 0 bytes web-ui/styles/fonts/Lato-LightItalic.svg | 5238 --------- web-ui/styles/fonts/Lato-LightItalic.ttf | Bin 45952 -> 0 bytes web-ui/styles/fonts/Lato-LightItalic.woff | Bin 26972 -> 0 bytes web-ui/styles/fonts/Lato-LightItalic.woff2 | Bin 20308 -> 0 bytes web-ui/styles/fonts/Lato-Regular.eot | Bin 73562 -> 0 bytes web-ui/styles/fonts/Lato-Regular.svg | 5432 --------- web-ui/styles/fonts/Lato-Regular.ttf | Bin 73336 -> 0 bytes web-ui/styles/fonts/Lato-Regular.woff | Bin 36016 -> 0 bytes web-ui/styles/fonts/Lato-Regular.woff2 | Bin 28056 -> 0 bytes web-ui/styles/fonts/Poppins-Black.eot | Bin 158040 -> 0 bytes web-ui/styles/fonts/Poppins-Black.svg | 3099 ----- web-ui/styles/fonts/Poppins-Black.ttf | Bin 157864 -> 0 bytes web-ui/styles/fonts/Poppins-Black.woff | Bin 70640 -> 0 bytes web-ui/styles/fonts/Poppins-Black.woff2 | Bin 50660 -> 0 bytes web-ui/styles/fonts/Poppins-Bold.eot | Bin 160460 -> 0 bytes web-ui/styles/fonts/Poppins-Bold.svg | 3131 ------ web-ui/styles/fonts/Poppins-Bold.ttf | Bin 160304 -> 0 bytes web-ui/styles/fonts/Poppins-Bold.woff | Bin 72448 -> 0 bytes web-ui/styles/fonts/Poppins-Bold.woff2 | Bin 51800 -> 0 bytes web-ui/styles/fonts/Poppins-Light.eot | Bin 166528 -> 0 bytes web-ui/styles/fonts/Poppins-Light.svg | 3244 ------ web-ui/styles/fonts/Poppins-Light.ttf | Bin 166352 -> 0 bytes web-ui/styles/fonts/Poppins-Light.woff | Bin 73396 -> 0 bytes web-ui/styles/fonts/Poppins-Light.woff2 | Bin 52316 -> 0 bytes web-ui/styles/fonts/Poppins-Medium.eot | Bin 163164 -> 0 bytes web-ui/styles/fonts/Poppins-Medium.svg | 3190 ------ web-ui/styles/fonts/Poppins-Medium.ttf | Bin 162984 -> 0 bytes web-ui/styles/fonts/Poppins-Medium.woff | Bin 72668 -> 0 bytes web-ui/styles/fonts/Poppins-Medium.woff2 | Bin 51692 -> 0 bytes web-ui/styles/fonts/Poppins-Regular.eot | Bin 164800 -> 0 bytes web-ui/styles/fonts/Poppins-Regular.svg | 3213 ------ web-ui/styles/fonts/Poppins-Regular.ttf | Bin 164632 -> 0 bytes web-ui/styles/fonts/Poppins-Regular.woff | Bin 73512 -> 0 bytes web-ui/styles/fonts/Poppins-Regular.woff2 | Bin 52456 -> 0 bytes web-ui/styles/fonts/Poppins-SemiBold.eot | Bin 161912 -> 0 bytes web-ui/styles/fonts/Poppins-SemiBold.svg | 3174 ------ web-ui/styles/fonts/Poppins-SemiBold.ttf | Bin 161724 -> 0 bytes web-ui/styles/fonts/Poppins-SemiBold.woff | Bin 73200 -> 0 bytes web-ui/styles/fonts/Poppins-SemiBold.woff2 | Bin 52404 -> 0 bytes web-ui/styles/fonts/stylesheet.css | 130 - web-ui/styles/globals.css | 177 - web-ui/tsconfig.json | 28 - web-ui/utils/index.ts | 4 - web-ui/utils/logos.ts | 181 - web-ui/utils/maths.ts | 36 - web-ui/utils/staking.ts | 214 - web-ui/utils/voting.ts | 114 - web-ui/yarn.lock | 9920 ----------------- 817 files changed, 30 insertions(+), 358283 deletions(-) create mode 100644 .github/workflows/buildweb.yaml delete mode 100644 .github/workflows/quicksilverjs.yaml delete mode 100644 .github/workflows/webui.yaml delete mode 100644 quicksilverjs/.editorconfig delete mode 100644 quicksilverjs/.eslintignore delete mode 100644 quicksilverjs/.eslintrc.js delete mode 100644 quicksilverjs/.gitignore delete mode 100644 quicksilverjs/.npmignore delete mode 100644 quicksilverjs/.npmrc delete mode 100644 quicksilverjs/.telescope.json delete mode 100644 quicksilverjs/LICENSE delete mode 100644 quicksilverjs/README.md delete mode 100644 quicksilverjs/__tests__/messages.test.js delete mode 100644 quicksilverjs/package.json delete mode 100644 quicksilverjs/proto/amino/LICENSE delete mode 100644 quicksilverjs/proto/amino/README.md delete mode 100644 quicksilverjs/proto/amino/amino.proto delete mode 100644 quicksilverjs/proto/confio/LICENSE delete mode 100644 quicksilverjs/proto/confio/README.md delete mode 100644 quicksilverjs/proto/confio/proofs.proto delete mode 100644 quicksilverjs/proto/cosmos/LICENSE delete mode 100644 quicksilverjs/proto/cosmos/README.md delete mode 100644 quicksilverjs/proto/cosmos/app/v1alpha1/config.proto delete mode 100644 quicksilverjs/proto/cosmos/app/v1alpha1/module.proto delete mode 100644 quicksilverjs/proto/cosmos/app/v1alpha1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/auth/v1beta1/auth.proto delete mode 100644 quicksilverjs/proto/cosmos/auth/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/auth/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/authz/v1beta1/authz.proto delete mode 100644 quicksilverjs/proto/cosmos/authz/v1beta1/event.proto delete mode 100644 quicksilverjs/proto/cosmos/authz/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/authz/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/authz/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/bank/v1beta1/authz.proto delete mode 100644 quicksilverjs/proto/cosmos/bank/v1beta1/bank.proto delete mode 100644 quicksilverjs/proto/cosmos/bank/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/bank/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/bank/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/base/abci/v1beta1/abci.proto delete mode 100644 quicksilverjs/proto/cosmos/base/kv/v1beta1/kv.proto delete mode 100644 quicksilverjs/proto/cosmos/base/query/v1beta1/pagination.proto delete mode 100644 quicksilverjs/proto/cosmos/base/reflection/v1beta1/reflection.proto delete mode 100644 quicksilverjs/proto/cosmos/base/reflection/v2alpha1/reflection.proto delete mode 100644 quicksilverjs/proto/cosmos/base/snapshots/v1beta1/snapshot.proto delete mode 100644 quicksilverjs/proto/cosmos/base/store/v1beta1/commit_info.proto delete mode 100644 quicksilverjs/proto/cosmos/base/store/v1beta1/listening.proto delete mode 100644 quicksilverjs/proto/cosmos/base/tendermint/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/base/v1beta1/coin.proto delete mode 100644 quicksilverjs/proto/cosmos/capability/v1beta1/capability.proto delete mode 100644 quicksilverjs/proto/cosmos/capability/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/crisis/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/crisis/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/crypto/ed25519/keys.proto delete mode 100644 quicksilverjs/proto/cosmos/crypto/hd/v1/hd.proto delete mode 100644 quicksilverjs/proto/cosmos/crypto/keyring/v1/record.proto delete mode 100644 quicksilverjs/proto/cosmos/crypto/multisig/keys.proto delete mode 100644 quicksilverjs/proto/cosmos/crypto/multisig/v1beta1/multisig.proto delete mode 100644 quicksilverjs/proto/cosmos/crypto/secp256k1/keys.proto delete mode 100644 quicksilverjs/proto/cosmos/crypto/secp256r1/keys.proto delete mode 100644 quicksilverjs/proto/cosmos/distribution/v1beta1/distribution.proto delete mode 100644 quicksilverjs/proto/cosmos/distribution/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/distribution/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/distribution/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/evidence/v1beta1/evidence.proto delete mode 100644 quicksilverjs/proto/cosmos/evidence/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/evidence/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/evidence/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/feegrant/v1beta1/feegrant.proto delete mode 100644 quicksilverjs/proto/cosmos/feegrant/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/feegrant/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/feegrant/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/genutil/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/gov/v1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/gov/v1/gov.proto delete mode 100644 quicksilverjs/proto/cosmos/gov/v1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/gov/v1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/gov/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/gov/v1beta1/gov.proto delete mode 100644 quicksilverjs/proto/cosmos/gov/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/gov/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/group/v1/events.proto delete mode 100644 quicksilverjs/proto/cosmos/group/v1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/group/v1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/group/v1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/group/v1/types.proto delete mode 100644 quicksilverjs/proto/cosmos/mint/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/mint/v1beta1/mint.proto delete mode 100644 quicksilverjs/proto/cosmos/mint/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/msg/v1/msg.proto delete mode 100644 quicksilverjs/proto/cosmos/nft/v1beta1/event.proto delete mode 100644 quicksilverjs/proto/cosmos/nft/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/nft/v1beta1/nft.proto delete mode 100644 quicksilverjs/proto/cosmos/nft/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/nft/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/orm/v1/orm.proto delete mode 100644 quicksilverjs/proto/cosmos/orm/v1alpha1/schema.proto delete mode 100644 quicksilverjs/proto/cosmos/params/v1beta1/params.proto delete mode 100644 quicksilverjs/proto/cosmos/params/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/slashing/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/slashing/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/slashing/v1beta1/slashing.proto delete mode 100644 quicksilverjs/proto/cosmos/slashing/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/staking/v1beta1/authz.proto delete mode 100644 quicksilverjs/proto/cosmos/staking/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmos/staking/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/staking/v1beta1/staking.proto delete mode 100644 quicksilverjs/proto/cosmos/staking/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/tx/signing/v1beta1/signing.proto delete mode 100644 quicksilverjs/proto/cosmos/tx/v1beta1/service.proto delete mode 100644 quicksilverjs/proto/cosmos/tx/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/upgrade/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/cosmos/upgrade/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/upgrade/v1beta1/upgrade.proto delete mode 100644 quicksilverjs/proto/cosmos/vesting/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/cosmos/vesting/v1beta1/vesting.proto delete mode 100644 quicksilverjs/proto/cosmos_proto/LICENSE delete mode 100644 quicksilverjs/proto/cosmos_proto/README.md delete mode 100644 quicksilverjs/proto/cosmos_proto/cosmos.proto delete mode 100644 quicksilverjs/proto/cosmwasm/LICENSE delete mode 100644 quicksilverjs/proto/cosmwasm/README.md delete mode 100644 quicksilverjs/proto/cosmwasm/wasm/v1/authz.proto delete mode 100644 quicksilverjs/proto/cosmwasm/wasm/v1/genesis.proto delete mode 100644 quicksilverjs/proto/cosmwasm/wasm/v1/ibc.proto delete mode 100644 quicksilverjs/proto/cosmwasm/wasm/v1/proposal.proto delete mode 100644 quicksilverjs/proto/cosmwasm/wasm/v1/query.proto delete mode 100644 quicksilverjs/proto/cosmwasm/wasm/v1/tx.proto delete mode 100644 quicksilverjs/proto/cosmwasm/wasm/v1/types.proto delete mode 100644 quicksilverjs/proto/gogoproto/LICENSE delete mode 100644 quicksilverjs/proto/gogoproto/README.md delete mode 100644 quicksilverjs/proto/gogoproto/gogo.proto delete mode 100644 quicksilverjs/proto/google/LICENSE delete mode 100644 quicksilverjs/proto/google/README.md delete mode 100644 quicksilverjs/proto/google/api/annotations.proto delete mode 100644 quicksilverjs/proto/google/api/http.proto delete mode 100644 quicksilverjs/proto/google/protobuf/any.proto delete mode 100644 quicksilverjs/proto/google/protobuf/descriptor.proto delete mode 100644 quicksilverjs/proto/google/protobuf/duration.proto delete mode 100644 quicksilverjs/proto/google/protobuf/empty.proto delete mode 100644 quicksilverjs/proto/google/protobuf/timestamp.proto delete mode 100644 quicksilverjs/proto/ibc/LICENSE delete mode 100644 quicksilverjs/proto/ibc/README.md delete mode 100644 quicksilverjs/proto/ibc/applications/transfer/v1/genesis.proto delete mode 100644 quicksilverjs/proto/ibc/applications/transfer/v1/query.proto delete mode 100644 quicksilverjs/proto/ibc/applications/transfer/v1/transfer.proto delete mode 100644 quicksilverjs/proto/ibc/applications/transfer/v1/tx.proto delete mode 100644 quicksilverjs/proto/ibc/applications/transfer/v2/packet.proto delete mode 100644 quicksilverjs/proto/ibc/core/channel/v1/channel.proto delete mode 100644 quicksilverjs/proto/ibc/core/channel/v1/genesis.proto delete mode 100644 quicksilverjs/proto/ibc/core/channel/v1/query.proto delete mode 100644 quicksilverjs/proto/ibc/core/channel/v1/tx.proto delete mode 100644 quicksilverjs/proto/ibc/core/client/v1/client.proto delete mode 100644 quicksilverjs/proto/ibc/core/client/v1/genesis.proto delete mode 100644 quicksilverjs/proto/ibc/core/client/v1/query.proto delete mode 100644 quicksilverjs/proto/ibc/core/client/v1/tx.proto delete mode 100644 quicksilverjs/proto/ibc/core/commitment/v1/commitment.proto delete mode 100644 quicksilverjs/proto/ibc/core/connection/v1/connection.proto delete mode 100644 quicksilverjs/proto/ibc/core/connection/v1/genesis.proto delete mode 100644 quicksilverjs/proto/ibc/core/connection/v1/query.proto delete mode 100644 quicksilverjs/proto/ibc/core/connection/v1/tx.proto delete mode 100644 quicksilverjs/proto/ibc/core/port/v1/query.proto delete mode 100644 quicksilverjs/proto/ibc/core/types/v1/genesis.proto delete mode 100644 quicksilverjs/proto/ibc/lightclients/localhost/v1/localhost.proto delete mode 100644 quicksilverjs/proto/ibc/lightclients/solomachine/v1/solomachine.proto delete mode 100644 quicksilverjs/proto/ibc/lightclients/solomachine/v2/solomachine.proto delete mode 100644 quicksilverjs/proto/ibc/lightclients/tendermint/v1/tendermint.proto delete mode 100644 quicksilverjs/proto/quicksilver/airdrop/v1/airdrop.proto delete mode 100644 quicksilverjs/proto/quicksilver/airdrop/v1/genesis.proto delete mode 100644 quicksilverjs/proto/quicksilver/airdrop/v1/messages.proto delete mode 100644 quicksilverjs/proto/quicksilver/airdrop/v1/params.proto delete mode 100644 quicksilverjs/proto/quicksilver/airdrop/v1/proposals.proto delete mode 100644 quicksilverjs/proto/quicksilver/airdrop/v1/query.proto delete mode 100644 quicksilverjs/proto/quicksilver/claimsmanager/v1/claimsmanager.proto delete mode 100644 quicksilverjs/proto/quicksilver/claimsmanager/v1/genesis.proto delete mode 100644 quicksilverjs/proto/quicksilver/claimsmanager/v1/messages.proto delete mode 100644 quicksilverjs/proto/quicksilver/claimsmanager/v1/query.proto delete mode 100644 quicksilverjs/proto/quicksilver/epochs/v1/genesis.proto delete mode 100644 quicksilverjs/proto/quicksilver/epochs/v1/query.proto delete mode 100644 quicksilverjs/proto/quicksilver/interchainquery/v1/genesis.proto delete mode 100644 quicksilverjs/proto/quicksilver/interchainquery/v1/interchainquery.proto delete mode 100644 quicksilverjs/proto/quicksilver/interchainquery/v1/messages.proto delete mode 100644 quicksilverjs/proto/quicksilver/interchainquery/v1/query.proto delete mode 100644 quicksilverjs/proto/quicksilver/interchainstaking/v1/genesis.proto delete mode 100644 quicksilverjs/proto/quicksilver/interchainstaking/v1/interchainstaking.proto delete mode 100644 quicksilverjs/proto/quicksilver/interchainstaking/v1/messages.proto delete mode 100644 quicksilverjs/proto/quicksilver/interchainstaking/v1/proposals.proto delete mode 100644 quicksilverjs/proto/quicksilver/interchainstaking/v1/query.proto delete mode 100644 quicksilverjs/proto/quicksilver/mint/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/quicksilver/mint/v1beta1/mint.proto delete mode 100644 quicksilverjs/proto/quicksilver/mint/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/quicksilver/participationrewards/v1/genesis.proto delete mode 100644 quicksilverjs/proto/quicksilver/participationrewards/v1/messages.proto delete mode 100644 quicksilverjs/proto/quicksilver/participationrewards/v1/participationrewards.proto delete mode 100644 quicksilverjs/proto/quicksilver/participationrewards/v1/proposals.proto delete mode 100644 quicksilverjs/proto/quicksilver/participationrewards/v1/query.proto delete mode 100644 quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/authorityMetadata.proto delete mode 100644 quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/genesis.proto delete mode 100644 quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/params.proto delete mode 100644 quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/query.proto delete mode 100644 quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/tx.proto delete mode 100644 quicksilverjs/proto/tendermint/LICENSE delete mode 100644 quicksilverjs/proto/tendermint/README.md delete mode 100644 quicksilverjs/proto/tendermint/abci/types.proto delete mode 100644 quicksilverjs/proto/tendermint/crypto/keys.proto delete mode 100644 quicksilverjs/proto/tendermint/crypto/proof.proto delete mode 100644 quicksilverjs/proto/tendermint/libs/bits/types.proto delete mode 100644 quicksilverjs/proto/tendermint/p2p/types.proto delete mode 100644 quicksilverjs/proto/tendermint/types/block.proto delete mode 100644 quicksilverjs/proto/tendermint/types/evidence.proto delete mode 100644 quicksilverjs/proto/tendermint/types/params.proto delete mode 100644 quicksilverjs/proto/tendermint/types/types.proto delete mode 100644 quicksilverjs/proto/tendermint/types/validator.proto delete mode 100644 quicksilverjs/proto/tendermint/version/types.proto delete mode 100644 quicksilverjs/scripts/aminos.js delete mode 100644 quicksilverjs/scripts/codegen.js delete mode 100644 quicksilverjs/src/codegen/confio/proofs.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/app/v1alpha1/config.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/app/v1alpha1/module.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/app/v1alpha1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/auth/v1beta1/auth.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/auth/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/authz/v1beta1/authz.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/authz/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/bank/v1beta1/authz.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/bank/v1beta1/bank.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/bank/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/abci/v1beta1/abci.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/kv/v1beta1/kv.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/query/v1beta1/pagination.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/store/v1beta1/commit_info.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/store/v1beta1/listening.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/base/v1beta1/coin.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/bundle.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/capability/v1beta1/capability.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/capability/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/client.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crisis/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crypto/ed25519/keys.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crypto/hd/v1/hd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crypto/keyring/v1/record.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crypto/multisig/keys.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crypto/secp256k1/keys.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/crypto/secp256r1/keys.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/distribution/v1beta1/distribution.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/distribution/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/evidence/v1beta1/evidence.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/evidence/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/genutil/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1/gov.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1beta1/gov.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/group/v1/events.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/group/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/group/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/group/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/group/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/group/v1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/group/v1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/group/v1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/group/v1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/group/v1/types.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/mint/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/mint/v1beta1/mint.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/msg/v1/msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/nft/v1beta1/event.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/nft/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/nft/v1beta1/nft.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/orm/v1/orm.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/orm/v1alpha1/schema.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/params/v1beta1/params.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/params/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/params/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/rpc.query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/rpc.tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/slashing/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/slashing/v1beta1/slashing.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/staking/v1beta1/authz.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/staking/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/staking/v1beta1/staking.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/tx/signing/v1beta1/signing.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/tx/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmos/vesting/v1beta1/vesting.ts delete mode 100644 quicksilverjs/src/codegen/cosmos_proto/bundle.ts delete mode 100644 quicksilverjs/src/codegen/cosmos_proto/cosmos.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/bundle.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/client.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/rpc.query.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/rpc.tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/wasm/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/wasm/v1/ibc.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/wasm/v1/proposal.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.ts delete mode 100644 quicksilverjs/src/codegen/cosmwasm/wasm/v1/types.ts delete mode 100644 quicksilverjs/src/codegen/gogoproto/bundle.ts delete mode 100644 quicksilverjs/src/codegen/gogoproto/gogo.ts delete mode 100644 quicksilverjs/src/codegen/google/api/annotations.ts delete mode 100644 quicksilverjs/src/codegen/google/api/auth.ts delete mode 100644 quicksilverjs/src/codegen/google/api/backend.ts delete mode 100644 quicksilverjs/src/codegen/google/api/billing.ts delete mode 100644 quicksilverjs/src/codegen/google/api/client.ts delete mode 100644 quicksilverjs/src/codegen/google/api/config_change.ts delete mode 100644 quicksilverjs/src/codegen/google/api/consumer.ts delete mode 100644 quicksilverjs/src/codegen/google/api/context.ts delete mode 100644 quicksilverjs/src/codegen/google/api/control.ts delete mode 100644 quicksilverjs/src/codegen/google/api/distribution.ts delete mode 100644 quicksilverjs/src/codegen/google/api/documentation.ts delete mode 100644 quicksilverjs/src/codegen/google/api/endpoint.ts delete mode 100644 quicksilverjs/src/codegen/google/api/error_reason.ts delete mode 100644 quicksilverjs/src/codegen/google/api/expr/conformance/v1alpha1/conformance_service.ts delete mode 100644 quicksilverjs/src/codegen/google/api/expr/v1alpha1/checked.ts delete mode 100644 quicksilverjs/src/codegen/google/api/expr/v1alpha1/eval.ts delete mode 100644 quicksilverjs/src/codegen/google/api/expr/v1alpha1/explain.ts delete mode 100644 quicksilverjs/src/codegen/google/api/expr/v1alpha1/syntax.ts delete mode 100644 quicksilverjs/src/codegen/google/api/expr/v1alpha1/value.ts delete mode 100644 quicksilverjs/src/codegen/google/api/expr/v1beta1/decl.ts delete mode 100644 quicksilverjs/src/codegen/google/api/expr/v1beta1/eval.ts delete mode 100644 quicksilverjs/src/codegen/google/api/expr/v1beta1/expr.ts delete mode 100644 quicksilverjs/src/codegen/google/api/expr/v1beta1/source.ts delete mode 100644 quicksilverjs/src/codegen/google/api/expr/v1beta1/value.ts delete mode 100644 quicksilverjs/src/codegen/google/api/field_behavior.ts delete mode 100644 quicksilverjs/src/codegen/google/api/http.ts delete mode 100644 quicksilverjs/src/codegen/google/api/httpbody.ts delete mode 100644 quicksilverjs/src/codegen/google/api/label.ts delete mode 100644 quicksilverjs/src/codegen/google/api/launch_stage.ts delete mode 100644 quicksilverjs/src/codegen/google/api/log.ts delete mode 100644 quicksilverjs/src/codegen/google/api/logging.ts delete mode 100644 quicksilverjs/src/codegen/google/api/metric.ts delete mode 100644 quicksilverjs/src/codegen/google/api/monitored_resource.ts delete mode 100644 quicksilverjs/src/codegen/google/api/monitoring.ts delete mode 100644 quicksilverjs/src/codegen/google/api/quota.ts delete mode 100644 quicksilverjs/src/codegen/google/api/resource.ts delete mode 100644 quicksilverjs/src/codegen/google/api/routing.ts delete mode 100644 quicksilverjs/src/codegen/google/api/service.ts delete mode 100644 quicksilverjs/src/codegen/google/api/servicecontrol/v1/check_error.ts delete mode 100644 quicksilverjs/src/codegen/google/api/servicecontrol/v1/distribution.ts delete mode 100644 quicksilverjs/src/codegen/google/api/servicecontrol/v1/http_request.ts delete mode 100644 quicksilverjs/src/codegen/google/api/servicecontrol/v1/log_entry.ts delete mode 100644 quicksilverjs/src/codegen/google/api/servicecontrol/v1/metric_value.ts delete mode 100644 quicksilverjs/src/codegen/google/api/servicecontrol/v1/operation.ts delete mode 100644 quicksilverjs/src/codegen/google/api/servicecontrol/v1/quota_controller.ts delete mode 100644 quicksilverjs/src/codegen/google/api/servicecontrol/v1/service_controller.ts delete mode 100644 quicksilverjs/src/codegen/google/api/servicecontrol/v2/service_controller.ts delete mode 100644 quicksilverjs/src/codegen/google/api/servicemanagement/v1/resources.ts delete mode 100644 quicksilverjs/src/codegen/google/api/servicemanagement/v1/servicemanager.ts delete mode 100644 quicksilverjs/src/codegen/google/api/serviceusage/v1/resources.ts delete mode 100644 quicksilverjs/src/codegen/google/api/serviceusage/v1/serviceusage.ts delete mode 100644 quicksilverjs/src/codegen/google/api/serviceusage/v1beta1/resources.ts delete mode 100644 quicksilverjs/src/codegen/google/api/serviceusage/v1beta1/serviceusage.ts delete mode 100644 quicksilverjs/src/codegen/google/api/source_info.ts delete mode 100644 quicksilverjs/src/codegen/google/api/system_parameter.ts delete mode 100644 quicksilverjs/src/codegen/google/api/usage.ts delete mode 100644 quicksilverjs/src/codegen/google/api/visibility.ts delete mode 100644 quicksilverjs/src/codegen/google/bundle.ts delete mode 100644 quicksilverjs/src/codegen/google/logging/type/http_request.ts delete mode 100644 quicksilverjs/src/codegen/google/logging/type/log_severity.ts delete mode 100644 quicksilverjs/src/codegen/google/logging/v2/log_entry.ts delete mode 100644 quicksilverjs/src/codegen/google/logging/v2/logging.ts delete mode 100644 quicksilverjs/src/codegen/google/logging/v2/logging_config.ts delete mode 100644 quicksilverjs/src/codegen/google/logging/v2/logging_metrics.ts delete mode 100644 quicksilverjs/src/codegen/google/longrunning/operations.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/any.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/api.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/compiler/plugin.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/descriptor.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/duration.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/empty.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/field_mask.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/source_context.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/struct.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/timestamp.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/type.ts delete mode 100644 quicksilverjs/src/codegen/google/protobuf/wrappers.ts delete mode 100644 quicksilverjs/src/codegen/google/rpc/code.ts delete mode 100644 quicksilverjs/src/codegen/google/rpc/context/attribute_context.ts delete mode 100644 quicksilverjs/src/codegen/google/rpc/error_details.ts delete mode 100644 quicksilverjs/src/codegen/google/rpc/status.ts delete mode 100644 quicksilverjs/src/codegen/grpc-gateway.ts delete mode 100644 quicksilverjs/src/codegen/helpers.ts delete mode 100644 quicksilverjs/src/codegen/ibc/applications/transfer/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/ibc/applications/transfer/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/ibc/applications/transfer/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/ibc/applications/transfer/v1/transfer.ts delete mode 100644 quicksilverjs/src/codegen/ibc/applications/transfer/v1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/ibc/applications/transfer/v1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/ibc/applications/transfer/v1/tx.ts delete mode 100644 quicksilverjs/src/codegen/ibc/applications/transfer/v2/packet.ts delete mode 100644 quicksilverjs/src/codegen/ibc/bundle.ts delete mode 100644 quicksilverjs/src/codegen/ibc/client.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/channel/v1/channel.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/channel/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/channel/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/channel/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/channel/v1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/channel/v1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/channel/v1/tx.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/client/v1/client.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/client/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/client/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/client/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/client/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/client/v1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/client/v1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/client/v1/tx.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/commitment/v1/commitment.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/connection/v1/connection.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/connection/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/connection/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/connection/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/connection/v1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/connection/v1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/connection/v1/tx.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/port/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/port/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/ibc/core/types/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/ibc/lcd.ts delete mode 100644 quicksilverjs/src/codegen/ibc/lightclients/localhost/v1/localhost.ts delete mode 100644 quicksilverjs/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts delete mode 100644 quicksilverjs/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts delete mode 100644 quicksilverjs/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts delete mode 100644 quicksilverjs/src/codegen/ibc/rpc.query.ts delete mode 100644 quicksilverjs/src/codegen/ibc/rpc.tx.ts delete mode 100644 quicksilverjs/src/codegen/ics23/bundle.ts delete mode 100644 quicksilverjs/src/codegen/index.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/airdrop/v1/airdrop.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/airdrop/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/airdrop/v1/messages.amino.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/airdrop/v1/messages.registry.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/airdrop/v1/messages.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/airdrop/v1/messages.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/airdrop/v1/params.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/airdrop/v1/proposals.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/airdrop/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/airdrop/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/airdrop/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/bundle.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/claimsmanager/v1/claimsmanager.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/claimsmanager/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/claimsmanager/v1/messages.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/claimsmanager/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/claimsmanager/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/claimsmanager/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/client.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/epochs/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/epochs/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/epochs/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/epochs/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainquery/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainquery/v1/interchainquery.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainquery/v1/messages.amino.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainquery/v1/messages.registry.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainquery/v1/messages.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainquery/v1/messages.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainquery/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainstaking/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainstaking/v1/interchainstaking.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainstaking/v1/messages.amino.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainstaking/v1/messages.registry.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainstaking/v1/messages.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainstaking/v1/messages.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainstaking/v1/proposals.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainstaking/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainstaking/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/interchainstaking/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/lcd.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/mint/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/mint/v1beta1/mint.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/mint/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/mint/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/mint/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/participationrewards/v1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/participationrewards/v1/messages.amino.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/participationrewards/v1/messages.registry.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/participationrewards/v1/messages.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/participationrewards/v1/messages.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/participationrewards/v1/participationrewards.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/participationrewards/v1/proposals.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/participationrewards/v1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/participationrewards/v1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/participationrewards/v1/query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/rpc.query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/rpc.tx.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/tokenfactory/v1beta1/authorityMetadata.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/tokenfactory/v1beta1/genesis.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/tokenfactory/v1beta1/params.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/tokenfactory/v1beta1/query.lcd.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/tokenfactory/v1beta1/query.rpc.Query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/tokenfactory/v1beta1/query.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/tokenfactory/v1beta1/tx.amino.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/tokenfactory/v1beta1/tx.registry.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/tokenfactory/v1beta1/tx.rpc.msg.ts delete mode 100644 quicksilverjs/src/codegen/quicksilver/tokenfactory/v1beta1/tx.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/abci/types.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/bundle.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/crypto/keys.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/crypto/proof.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/libs/bits/types.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/p2p/types.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/types/block.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/types/evidence.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/types/params.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/types/types.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/types/validator.ts delete mode 100644 quicksilverjs/src/codegen/tendermint/version/types.ts delete mode 100644 quicksilverjs/src/index.ts delete mode 100644 quicksilverjs/tsconfig.json delete mode 100644 web-ui/.eslintrc.json delete mode 100644 web-ui/.gitignore delete mode 100644 web-ui/.prettierrc delete mode 100644 web-ui/README.md delete mode 100644 web-ui/components/Governance/ProposalCard.tsx delete mode 100644 web-ui/components/Governance/ProposalModal.tsx delete mode 100644 web-ui/components/Governance/VoteModal.tsx delete mode 100644 web-ui/components/Governance/VotingSection.tsx delete mode 100644 web-ui/components/Governance/common.tsx delete mode 100644 web-ui/components/Governance/index.ts delete mode 100644 web-ui/components/Staking/assetsAccordion.tsx delete mode 100644 web-ui/components/Staking/index.tsx delete mode 100644 web-ui/components/Staking/infoBox.tsx delete mode 100644 web-ui/components/Staking/modals/multiStakeModal.tsx delete mode 100644 web-ui/components/Staking/networkSelectButton.tsx delete mode 100644 web-ui/components/Staking/stakingBox.tsx delete mode 100644 web-ui/components/ThreeJS/index.tsx delete mode 100644 web-ui/components/ThreeJS/liquidMetalSphere.tsx delete mode 100644 web-ui/components/index.tsx delete mode 100644 web-ui/components/react/address-card.tsx delete mode 100644 web-ui/components/react/astronaut.tsx delete mode 100644 web-ui/components/react/chain-card.tsx delete mode 100644 web-ui/components/react/header.tsx delete mode 100644 web-ui/components/react/index.ts delete mode 100644 web-ui/components/react/sideHeader.tsx delete mode 100644 web-ui/components/react/user-card.tsx delete mode 100644 web-ui/components/react/wallet-connect.tsx delete mode 100644 web-ui/components/react/warn-block.tsx delete mode 100644 web-ui/components/types.tsx delete mode 100644 web-ui/components/wallet-button.tsx delete mode 100644 web-ui/components/wallet.tsx delete mode 100644 web-ui/config/defaults.ts delete mode 100644 web-ui/config/index.ts delete mode 100644 web-ui/config/theme.ts delete mode 100644 web-ui/hooks/index.ts delete mode 100644 web-ui/hooks/useQueryHooks.ts delete mode 100644 web-ui/hooks/useRpcQueryClient.ts delete mode 100644 web-ui/hooks/useToaster.tsx delete mode 100644 web-ui/hooks/useTx.ts delete mode 100644 web-ui/hooks/useValidatorData.ts delete mode 100644 web-ui/hooks/useVotingData.ts delete mode 100644 web-ui/next.config.js delete mode 100644 web-ui/package.json delete mode 100644 web-ui/pages/_app.tsx delete mode 100644 web-ui/pages/assets.tsx delete mode 100644 web-ui/pages/defi.tsx delete mode 100644 web-ui/pages/governance.tsx delete mode 100644 web-ui/pages/index.tsx delete mode 100644 web-ui/pages/staking.tsx delete mode 100644 web-ui/public/img/background.png delete mode 100644 web-ui/public/img/backgroundTest.png delete mode 100644 web-ui/public/img/backgroundTest2.png delete mode 100644 web-ui/public/img/backgroundTest3.jpg delete mode 100644 web-ui/public/img/backgroundTest5.png delete mode 100644 web-ui/public/img/favicon-main.png delete mode 100644 web-ui/public/img/favicon.png delete mode 100644 web-ui/public/img/index.js delete mode 100644 web-ui/public/img/logo.png delete mode 100644 web-ui/public/img/logowords.png delete mode 100644 web-ui/public/img/metalmisc1.png delete mode 100644 web-ui/public/img/metalmisc2.png delete mode 100644 web-ui/public/img/metalmisc3.png delete mode 100644 web-ui/public/img/networks/atom.svg delete mode 100644 web-ui/public/img/networks/aurastake.png delete mode 100644 web-ui/public/img/networks/cosmos.svg delete mode 100644 web-ui/public/img/networks/evmos.png delete mode 100644 web-ui/public/img/networks/evmos.svg delete mode 100644 web-ui/public/img/networks/fishking.png delete mode 100644 web-ui/public/img/networks/inj.svg delete mode 100644 web-ui/public/img/networks/juno.png delete mode 100644 web-ui/public/img/networks/juno.svg delete mode 100644 web-ui/public/img/networks/k.svg delete mode 100644 web-ui/public/img/networks/kaplr-circle.svg delete mode 100644 web-ui/public/img/networks/keplr.svg delete mode 100644 web-ui/public/img/networks/kraken.png delete mode 100644 web-ui/public/img/networks/lavender-2.png delete mode 100644 web-ui/public/img/networks/lavender.png delete mode 100644 web-ui/public/img/networks/leap.svg delete mode 100644 web-ui/public/img/networks/osmosis.svg delete mode 100644 web-ui/public/img/networks/q-atom.svg delete mode 100644 web-ui/public/img/networks/q-inj.svg delete mode 100644 web-ui/public/img/networks/q-regen.svg delete mode 100644 web-ui/public/img/networks/qinj.svg delete mode 100644 web-ui/public/img/networks/qosmo.svg delete mode 100644 web-ui/public/img/networks/quicksilver.png delete mode 100644 web-ui/public/img/networks/quicksilver.svg delete mode 100644 web-ui/public/img/networks/raydium.png delete mode 100644 web-ui/public/img/networks/regen.svg delete mode 100644 web-ui/public/img/networks/sanka.png delete mode 100644 web-ui/public/img/networks/smartnodes.png delete mode 100644 web-ui/public/img/networks/sommelier.png delete mode 100644 web-ui/public/img/networks/stargaze-2.svg delete mode 100644 web-ui/public/img/networks/stargaze.png delete mode 100644 web-ui/public/img/networks/stargaze.svg delete mode 100644 web-ui/public/img/networks/stir.png delete mode 100644 web-ui/public/img/networks/terravegas.png delete mode 100644 web-ui/public/img/test.png delete mode 100644 web-ui/public/img/test2.png delete mode 100644 web-ui/public/img/test3.png delete mode 100644 web-ui/public/img/test4.png delete mode 100644 web-ui/public/img/test5.png delete mode 100644 web-ui/styles/Home.module.css delete mode 100644 web-ui/styles/fonts/Lato-Black.eot delete mode 100644 web-ui/styles/fonts/Lato-Black.svg delete mode 100644 web-ui/styles/fonts/Lato-Black.ttf delete mode 100644 web-ui/styles/fonts/Lato-Black.woff delete mode 100644 web-ui/styles/fonts/Lato-Black.woff2 delete mode 100644 web-ui/styles/fonts/Lato-BlackItalic.eot delete mode 100644 web-ui/styles/fonts/Lato-BlackItalic.svg delete mode 100644 web-ui/styles/fonts/Lato-BlackItalic.ttf delete mode 100644 web-ui/styles/fonts/Lato-BlackItalic.woff delete mode 100644 web-ui/styles/fonts/Lato-BlackItalic.woff2 delete mode 100644 web-ui/styles/fonts/Lato-Bold.eot delete mode 100644 web-ui/styles/fonts/Lato-Bold.svg delete mode 100644 web-ui/styles/fonts/Lato-Bold.ttf delete mode 100644 web-ui/styles/fonts/Lato-Bold.woff delete mode 100644 web-ui/styles/fonts/Lato-Bold.woff2 delete mode 100644 web-ui/styles/fonts/Lato-BoldItalic.eot delete mode 100644 web-ui/styles/fonts/Lato-BoldItalic.svg delete mode 100644 web-ui/styles/fonts/Lato-BoldItalic.ttf delete mode 100644 web-ui/styles/fonts/Lato-BoldItalic.woff delete mode 100644 web-ui/styles/fonts/Lato-BoldItalic.woff2 delete mode 100644 web-ui/styles/fonts/Lato-Hairline.eot delete mode 100644 web-ui/styles/fonts/Lato-Hairline.svg delete mode 100644 web-ui/styles/fonts/Lato-Hairline.ttf delete mode 100644 web-ui/styles/fonts/Lato-Hairline.woff delete mode 100644 web-ui/styles/fonts/Lato-Hairline.woff2 delete mode 100644 web-ui/styles/fonts/Lato-HairlineItalic.eot delete mode 100644 web-ui/styles/fonts/Lato-HairlineItalic.svg delete mode 100644 web-ui/styles/fonts/Lato-HairlineItalic.ttf delete mode 100644 web-ui/styles/fonts/Lato-HairlineItalic.woff delete mode 100644 web-ui/styles/fonts/Lato-HairlineItalic.woff2 delete mode 100644 web-ui/styles/fonts/Lato-Italic.eot delete mode 100644 web-ui/styles/fonts/Lato-Italic.svg delete mode 100644 web-ui/styles/fonts/Lato-Italic.ttf delete mode 100644 web-ui/styles/fonts/Lato-Italic.woff delete mode 100644 web-ui/styles/fonts/Lato-Italic.woff2 delete mode 100644 web-ui/styles/fonts/Lato-Light.eot delete mode 100644 web-ui/styles/fonts/Lato-Light.svg delete mode 100644 web-ui/styles/fonts/Lato-Light.ttf delete mode 100644 web-ui/styles/fonts/Lato-Light.woff delete mode 100644 web-ui/styles/fonts/Lato-Light.woff2 delete mode 100644 web-ui/styles/fonts/Lato-LightItalic.eot delete mode 100644 web-ui/styles/fonts/Lato-LightItalic.svg delete mode 100644 web-ui/styles/fonts/Lato-LightItalic.ttf delete mode 100644 web-ui/styles/fonts/Lato-LightItalic.woff delete mode 100644 web-ui/styles/fonts/Lato-LightItalic.woff2 delete mode 100644 web-ui/styles/fonts/Lato-Regular.eot delete mode 100644 web-ui/styles/fonts/Lato-Regular.svg delete mode 100644 web-ui/styles/fonts/Lato-Regular.ttf delete mode 100644 web-ui/styles/fonts/Lato-Regular.woff delete mode 100644 web-ui/styles/fonts/Lato-Regular.woff2 delete mode 100644 web-ui/styles/fonts/Poppins-Black.eot delete mode 100644 web-ui/styles/fonts/Poppins-Black.svg delete mode 100644 web-ui/styles/fonts/Poppins-Black.ttf delete mode 100644 web-ui/styles/fonts/Poppins-Black.woff delete mode 100644 web-ui/styles/fonts/Poppins-Black.woff2 delete mode 100644 web-ui/styles/fonts/Poppins-Bold.eot delete mode 100644 web-ui/styles/fonts/Poppins-Bold.svg delete mode 100644 web-ui/styles/fonts/Poppins-Bold.ttf delete mode 100644 web-ui/styles/fonts/Poppins-Bold.woff delete mode 100644 web-ui/styles/fonts/Poppins-Bold.woff2 delete mode 100644 web-ui/styles/fonts/Poppins-Light.eot delete mode 100644 web-ui/styles/fonts/Poppins-Light.svg delete mode 100644 web-ui/styles/fonts/Poppins-Light.ttf delete mode 100644 web-ui/styles/fonts/Poppins-Light.woff delete mode 100644 web-ui/styles/fonts/Poppins-Light.woff2 delete mode 100644 web-ui/styles/fonts/Poppins-Medium.eot delete mode 100644 web-ui/styles/fonts/Poppins-Medium.svg delete mode 100644 web-ui/styles/fonts/Poppins-Medium.ttf delete mode 100644 web-ui/styles/fonts/Poppins-Medium.woff delete mode 100644 web-ui/styles/fonts/Poppins-Medium.woff2 delete mode 100644 web-ui/styles/fonts/Poppins-Regular.eot delete mode 100644 web-ui/styles/fonts/Poppins-Regular.svg delete mode 100644 web-ui/styles/fonts/Poppins-Regular.ttf delete mode 100644 web-ui/styles/fonts/Poppins-Regular.woff delete mode 100644 web-ui/styles/fonts/Poppins-Regular.woff2 delete mode 100644 web-ui/styles/fonts/Poppins-SemiBold.eot delete mode 100644 web-ui/styles/fonts/Poppins-SemiBold.svg delete mode 100644 web-ui/styles/fonts/Poppins-SemiBold.ttf delete mode 100644 web-ui/styles/fonts/Poppins-SemiBold.woff delete mode 100644 web-ui/styles/fonts/Poppins-SemiBold.woff2 delete mode 100644 web-ui/styles/fonts/stylesheet.css delete mode 100644 web-ui/styles/globals.css delete mode 100644 web-ui/tsconfig.json delete mode 100644 web-ui/utils/index.ts delete mode 100644 web-ui/utils/logos.ts delete mode 100644 web-ui/utils/maths.ts delete mode 100644 web-ui/utils/staking.ts delete mode 100644 web-ui/utils/voting.ts delete mode 100644 web-ui/yarn.lock diff --git a/.github/workflows/buildweb.yaml b/.github/workflows/buildweb.yaml new file mode 100644 index 000000000..aa8d829a3 --- /dev/null +++ b/.github/workflows/buildweb.yaml @@ -0,0 +1,30 @@ +name: Build web UI as a test + +on: + pull_request: + branches: + - main + push: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Setup Bun + uses: oven-sh/setup-bun@v1 + with: + bun-version: latest # or specify a version + + - name: Install Dependencies + run: | + cd web-ui + bun install + + - name: Build Project + run: | + cd web-ui + bun run build + diff --git a/.github/workflows/quicksilverjs.yaml b/.github/workflows/quicksilverjs.yaml deleted file mode 100644 index 2ee08a655..000000000 --- a/.github/workflows/quicksilverjs.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: quicksilverjs -on: - push: - - -jobs: - build: - name: Test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 'latest' - - - name: Run install for quicksilverjs - run: | - cd quicksilverjs - yarn install - - - name: Build production bundle for quicksilverjs - run: | - cd quicksilverjs - yarn build - diff --git a/.github/workflows/webui.yaml b/.github/workflows/webui.yaml deleted file mode 100644 index bca110bdb..000000000 --- a/.github/workflows/webui.yaml +++ /dev/null @@ -1,22 +0,0 @@ -name: Build Web UI -on: [push] - -jobs: - build: - name: Test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 'latest' - - - name: Run install for quicksilverjs - run: | - cd web-ui - yarn install - - - name: Build production bundle for quicksilverjs - run: | - cd web-ui - yarn build diff --git a/quicksilverjs/.editorconfig b/quicksilverjs/.editorconfig deleted file mode 100644 index 4a7ea3036..000000000 --- a/quicksilverjs/.editorconfig +++ /dev/null @@ -1,12 +0,0 @@ -root = true - -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false diff --git a/quicksilverjs/.eslintignore b/quicksilverjs/.eslintignore deleted file mode 100644 index 38ba48499..000000000 --- a/quicksilverjs/.eslintignore +++ /dev/null @@ -1,5 +0,0 @@ -node_modules/ -dist/ -main/ -module/ -coverage/ \ No newline at end of file diff --git a/quicksilverjs/.eslintrc.js b/quicksilverjs/.eslintrc.js deleted file mode 100644 index bb88e34dd..000000000 --- a/quicksilverjs/.eslintrc.js +++ /dev/null @@ -1,70 +0,0 @@ -module.exports = { - plugins: ['prettier'], - extends: ['eslint:recommended', 'prettier'], - parserOptions: { - ecmaVersion: 11, - requireConfigFile: false, - sourceType: 'module', - ecmaFeatures: { - jsx: true - } - }, - env: { - es6: true, - browser: true, - node: true, - jest: true - }, - rules: { - 'no-debugger': 2, - 'no-alert': 2, - 'no-await-in-loop': 0, - 'no-prototype-builtins': 0, - 'no-return-assign': ['error', 'except-parens'], - 'no-restricted-syntax': [ - 2, - 'ForInStatement', - 'LabeledStatement', - 'WithStatement' - ], - 'no-unused-vars': [ - 0, - { - ignoreSiblings: true, - argsIgnorePattern: 'React|res|next|^_' - } - ], - 'prefer-const': [ - 'error', - { - destructuring: 'all' - } - ], - 'no-unused-expressions': [ - 2, - { - allowTaggedTemplates: true - } - ], - 'no-console': 1, - 'comma-dangle': 2, - 'jsx-quotes': [2, 'prefer-double'], - 'linebreak-style': ['error', 'unix'], - quotes: [ - 2, - 'single', - { - avoidEscape: true, - allowTemplateLiterals: true - } - ], - 'prettier/prettier': [ - 'error', - { - trailingComma: 'none', - singleQuote: true, - printWidth: 80 - } - ] - } -}; diff --git a/quicksilverjs/.gitignore b/quicksilverjs/.gitignore deleted file mode 100644 index 7bba65cc8..000000000 --- a/quicksilverjs/.gitignore +++ /dev/null @@ -1,50 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# out -dist -mjs -main -module - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules -jspm_packages - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history - -# Editors -.idea - -# Lib -lib - -# npm package lock -package-lock.json -yarn.lock - -# others -.DS_Store \ No newline at end of file diff --git a/quicksilverjs/.npmignore b/quicksilverjs/.npmignore deleted file mode 100644 index cc2605fa8..000000000 --- a/quicksilverjs/.npmignore +++ /dev/null @@ -1,32 +0,0 @@ -*.log -npm-debug.log* - -# Coverage directory used by tools like istanbul -coverage -.nyc_output - -# Dependency directories -node_modules - -# npm package lock -package-lock.json -yarn.lock - -# project files -__fixtures__ -__tests__ -.babelrc -.babelrc.js -.editorconfig -.eslintignore -.eslintrc -.eslintrc.js -.gitignore -.travis.yml -.vscode -CHANGELOG.md -examples -jest.config.js -package.json -src -test \ No newline at end of file diff --git a/quicksilverjs/.npmrc b/quicksilverjs/.npmrc deleted file mode 100644 index a21347f1b..000000000 --- a/quicksilverjs/.npmrc +++ /dev/null @@ -1 +0,0 @@ -scripts-prepend-node-path=true \ No newline at end of file diff --git a/quicksilverjs/.telescope.json b/quicksilverjs/.telescope.json deleted file mode 100644 index 91884655b..000000000 --- a/quicksilverjs/.telescope.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "protoDirs": [ - "./proto" - ], - "outPath": "./src/codegen", - "options": { - "interfaces": { - "enabled": false, - "useUnionTypes": false - }, - "prototypes": { - "enabled": true, - "parser": { - "keepCase": false - }, - "methods": { - "fromJSON": false, - "toJSON": false, - "encode": true, - "decode": true, - "fromPartial": true, - "toAmino": true, - "fromAmino": true, - "fromProto": true, - "toProto": true - }, - "addTypeUrlToDecoders": true, - "addTypeUrlToObjects": true, - "typingsFormat": { - "duration": "duration", - "timestamp": "date", - "useExact": false, - "useDeepPartial": false, - "num64": "bigint", - "customTypes": { - "useCosmosSDKDec": true - } - } - }, - "bundle": { - "enabled": true - }, - "stargateClients": { - "enabled": true, - "includeCosmosDefaultTypes": true - }, - "aminoEncoding": { - "enabled": true - }, - "lcdClients": { - "enabled": true - }, - "rpcClients": { - "enabled": true, - "camelCase": true - } - } -} \ No newline at end of file diff --git a/quicksilverjs/LICENSE b/quicksilverjs/LICENSE deleted file mode 100644 index cb4a3dcf9..000000000 --- a/quicksilverjs/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2023 Hoang Do - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/quicksilverjs/README.md b/quicksilverjs/README.md deleted file mode 100644 index 8272c1896..000000000 --- a/quicksilverjs/README.md +++ /dev/null @@ -1,296 +0,0 @@ -# quicksilverjs - -

-
- library for interacting with quicksilver -

- - -## install - -```sh -npm install quicksilverjs -``` -## Table of contents - -- [quicksilverjs](#quicksilverjs) - - [Install](#install) - - [Table of contents](#table-of-contents) -- [Usage](#usage) - - [RPC Clients](#rpc-clients) - - [Composing Messages](#composing-messages) - - Cosmos, CosmWasm, and IBC - - [CosmWasm](#cosmwasm-messages) - - [IBC](#ibc-messages) - - [Cosmos](#cosmos-messages) -- [Wallets and Signers](#connecting-with-wallets-and-signing-messages) - - [Stargate Client](#initializing-the-stargate-client) - - [Creating Signers](#creating-signers) - - [Broadcasting Messages](#broadcasting-messages) -- [Advanced Usage](#advanced-usage) -- [Developing](#developing) -- [Credits](#credits) - -## Usage -### RPC Clients - -```js -import { quicksilver } from 'quicksilverjs'; - -const { createRPCQueryClient } = quicksilver.ClientFactory; -const client = await createRPCQueryClient({ rpcEndpoint: RPC_ENDPOINT }); - -// now you can query the cosmos modules -const balance = await client.cosmos.bank.v1beta1 - .allBalances({ address: 'quicksilver1addresshere' }); - -// you can also query the quicksilver modules -const balances = await client.quicksilver.exchange.v1beta1 - .exchangeBalances() -``` - -### Composing Messages - -Import the `quicksilver` object from `quicksilverjs`. - -```js -import { quicksilver } from 'quicksilverjs'; - -const { - createSpotLimitOrder, - createSpotMarketOrder, - deposit -} = quicksilver.exchange.v1beta1.MessageComposer.withTypeUrl; -``` - -#### CosmWasm Messages - -```js -import { cosmwasm } from "quicksilverjs"; - -const { - clearAdmin, - executeContract, - instantiateContract, - migrateContract, - storeCode, - updateAdmin -} = cosmwasm.wasm.v1.MessageComposer.withTypeUrl; -``` - -#### IBC Messages - -```js -import { ibc } from 'quicksilverjs'; - -const { - transfer -} = ibc.applications.transfer.v1.MessageComposer.withTypeUrl -``` - -#### Cosmos Messages - -```js -import { cosmos } from 'quicksilverjs'; - -const { - fundCommunityPool, - setWithdrawAddress, - withdrawDelegatorReward, - withdrawValidatorCommission -} = cosmos.distribution.v1beta1.MessageComposer.fromPartial; - -const { - multiSend, - send -} = cosmos.bank.v1beta1.MessageComposer.fromPartial; - -const { - beginRedelegate, - createValidator, - delegate, - editValidator, - undelegate -} = cosmos.staking.v1beta1.MessageComposer.fromPartial; - -const { - deposit, - submitProposal, - vote, - voteWeighted -} = cosmos.gov.v1beta1.MessageComposer.fromPartial; -``` - -## Connecting with Wallets and Signing Messages - -⚡️ For web interfaces, we recommend using [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit). Continue below to see how to manually construct signers and clients. - -Here are the docs on [creating signers](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#signing-clients) in cosmos-kit that can be used with Keplr and other wallets. - -### Initializing the Stargate Client - -Use `getSigningquicksilverClient` to get your `SigningStargateClient`, with the proto/amino messages full-loaded. No need to manually add amino types, just require and initialize the client: - -```js -import { getSigningquicksilverClient } from 'quicksilverjs'; - -const stargateClient = await getSigningquicksilverClient({ - rpcEndpoint, - signer // OfflineSigner -}); -``` -### Creating Signers - -To broadcast messages, you can create signers with a variety of options: - -* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react#signing-clients) (recommended) -* [keplr](https://docs.keplr.app/api/cosmjs.html) -* [cosmjs](https://gist.github.com/webmaster128/8444d42a7eceeda2544c8a59fbd7e1d9) -### Amino Signer - -Likely you'll want to use the Amino, so unless you need proto, you should use this one: - -```js -import { getOfflineSignerAmino as getOfflineSigner } from 'cosmjs-utils'; -``` -### Proto Signer - -```js -import { getOfflineSignerProto as getOfflineSigner } from 'cosmjs-utils'; -``` - -WARNING: NOT RECOMMENDED TO USE PLAIN-TEXT MNEMONICS. Please take care of your security and use best practices such as AES encryption and/or methods from 12factor applications. - -```js -import { chains } from 'chain-registry'; - -const mnemonic = - 'unfold client turtle either pilot stock floor glow toward bullet car science'; - const chain = chains.find(({ chain_name }) => chain_name === 'quicksilver'); - const signer = await getOfflineSigner({ - mnemonic, - chain - }); -``` -### Broadcasting Messages - -Now that you have your `stargateClient`, you can broadcast messages: - -```js -const { send } = cosmos.bank.v1beta1.MessageComposer.withTypeUrl; - -const msg = send({ - amount: [ - { - denom: 'coin', - amount: '1000' - } - ], - toAddress: address, - fromAddress: address -}); - -const fee: StdFee = { - amount: [ - { - denom: 'coin', - amount: '864' - } - ], - gas: '86364' -}; -const response = await stargateClient.signAndBroadcast(address, [msg], fee); -``` - -## Advanced Usage - - -If you want to manually construct a stargate client - -```js -import { OfflineSigner, GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; - -import { - cosmosAminoConverters, - cosmosProtoRegistry, - cosmwasmAminoConverters, - cosmwasmProtoRegistry, - ibcProtoRegistry, - ibcAminoConverters, - quicksilverAminoConverters, - quicksilverProtoRegistry -} from 'quicksilverjs'; - -const signer: OfflineSigner = /* create your signer (see above) */ -const rpcEndpint = 'https://rpc.cosmos.directory/quicksilver'; // or another URL - -const protoRegistry: ReadonlyArray<[string, GeneratedType]> = [ - ...cosmosProtoRegistry, - ...cosmwasmProtoRegistry, - ...ibcProtoRegistry, - ...quicksilverProtoRegistry -]; - -const aminoConverters = { - ...cosmosAminoConverters, - ...cosmwasmAminoConverters, - ...ibcAminoConverters, - ...quicksilverAminoConverters -}; - -const registry = new Registry(protoRegistry); -const aminoTypes = new AminoTypes(aminoConverters); - -const stargateClient = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { - registry, - aminoTypes -}); -``` - -## Developing - -When first cloning the repo: - -``` -yarn -yarn build -``` - -### Codegen - -Contract schemas live in `./contracts`, and protos in `./proto`. Look inside of `scripts/codegen.js` and configure the settings for bundling your SDK and contracts into `quicksilverjs`: - -``` -yarn codegen -``` - -### Publishing - -Build the types and then publish: - -``` -yarn build -yarn publish -``` - -## Related - -Checkout these related projects: - -* [@cosmwasm/ts-codegen](https://github.com/CosmWasm/ts-codegen) for generated CosmWasm contract Typescript classes -* [@cosmology/telescope](https://github.com/cosmology-tech/telescope) a "babel for the Cosmos", Telescope is a TypeScript Transpiler for Cosmos Protobufs. -* [chain-registry](https://github.com/cosmology-tech/chain-registry) an npm module for the official Cosmos chain-registry. -* [cosmos-kit](https://github.com/cosmology-tech/cosmos-kit) A wallet connector for the Cosmos ⚛️ -* [create-cosmos-app](https://github.com/cosmology-tech/create-cosmos-app) set up a modern Cosmos app by running one command. -* [starship](https://github.com/cosmology-tech/starship) a k8s-based unified development environment for Cosmos Ecosystem - -## Credits - -🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator) - -## Disclaimer - -AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. - -No developer or entity involved in creating this software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the code or software using the code, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value. diff --git a/quicksilverjs/__tests__/messages.test.js b/quicksilverjs/__tests__/messages.test.js deleted file mode 100644 index 72917a97f..000000000 --- a/quicksilverjs/__tests__/messages.test.js +++ /dev/null @@ -1,3 +0,0 @@ -it('it works', async () => { - console.log('it works!'); -}); diff --git a/quicksilverjs/package.json b/quicksilverjs/package.json deleted file mode 100644 index 8c2421d56..000000000 --- a/quicksilverjs/package.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "name": "@hoangdv2429/quicksilverjs", - "version": "0.0.1", - "description": "library for interacting with quicksilver", - "author": "Hoang Do ", - "homepage": "https://github.com/hoangdv2429/quicksilverjs#readme", - "license": "SEE LICENSE IN LICENSE", - "main": "dist/index.js", - "module": "dist/index.mjs", - "typings": "dist/index.d.ts", - "directories": { - "lib": "src" - }, - "files": [ - "dist", - "!CHANGELOG.md" - ], - "scripts": { - "build:cjs": "yarn tsc -p tsconfig.json --outDir dist --module commonjs || true", - "build:mjs": "yarn tsc -p tsconfig.json --outDir mjs --module es2022 --declaration false || true", - "clean:mjs": "rimraf mjs", - "clean:dist": "rimraf dist", - "clean": "npm run clean:mjs && npm run clean:dist", - "build:rename": "publish-scripts --cmd rename --srcDir mjs --outDir dist --findExt js --replaceExt mjs --no-rmDir", - "build": "npm run clean && npm run build:cjs && npm run build:mjs && npm run build:rename", - "codegen": "node scripts/codegen.js", - "prepare": "npm run build", - "lint": "eslint src --fix", - "test": "jest", - "test:watch": "jest --watch", - "test:debug": "node --inspect node_modules/.bin/jest --runInBand" - }, - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/hoangdv2429/quicksilverjs" - }, - "keywords": [], - "bugs": { - "url": "https://github.com/hoangdv2429/quicksilverjs/issues" - }, - "devDependencies": { - "@cosmology/telescope": "^1.0.1", - "@protobufs/confio": "^0.0.6", - "@protobufs/cosmos": "^0.1.0", - "@protobufs/cosmos_proto": "^0.0.10", - "@protobufs/cosmwasm": "^0.1.1", - "@protobufs/google": "^0.0.10", - "@protobufs/ibc": "^0.1.0", - "@types/jest": "^29.5.0", - "eslint": "8.56.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.0.1", - "jest": "^29.5.0", - "jest-in-case": "^1.0.2", - "prettier": "^3.1.1", - "publish-scripts": "1.9.0", - "rimraf": "^5.0.0", - "ts-jest": "^29.1.0", - "typescript": "^5.0.4" - }, - "dependencies": { - "@cosmjs/amino": "0.32.1", - "@cosmjs/proto-signing": "0.32.1", - "@cosmjs/stargate": "0.32.1", - "@cosmjs/tendermint-rpc": "^0.32.1", - "@cosmology/lcd": "^0.13.0" - } -} diff --git a/quicksilverjs/proto/amino/LICENSE b/quicksilverjs/proto/amino/LICENSE deleted file mode 100644 index 063e03fc9..000000000 --- a/quicksilverjs/proto/amino/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Cosmos SDK -License: Apache2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2016 All in Bits, Inc - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/quicksilverjs/proto/amino/README.md b/quicksilverjs/proto/amino/README.md deleted file mode 100644 index b0d34bbf2..000000000 --- a/quicksilverjs/proto/amino/README.md +++ /dev/null @@ -1 +0,0 @@ -# amino \ No newline at end of file diff --git a/quicksilverjs/proto/amino/amino.proto b/quicksilverjs/proto/amino/amino.proto deleted file mode 100644 index d01f17520..000000000 --- a/quicksilverjs/proto/amino/amino.proto +++ /dev/null @@ -1,79 +0,0 @@ -syntax = "proto3"; - -package amino; - -import "google/protobuf/descriptor.proto"; - -// TODO(fdymylja): once we fully migrate to protov2 the go_package needs to be updated. -// We need this right now because gogoproto codegen needs to import the extension. -option go_package = "github.com/cosmos/cosmos-sdk/types/tx/amino"; - -extend google.protobuf.MessageOptions { - // name is the string used when registering a concrete - // type into the Amino type registry, via the Amino codec's - // `RegisterConcrete()` method. This string MUST be at most 39 - // characters long, or else the message will be rejected by the - // Ledger hardware device. - string name = 11110001; - - // encoding describes the encoding format used by Amino for the given - // message. The field type is chosen to be a string for - // flexibility, but it should ideally be short and expected to be - // machine-readable, for example "base64" or "utf8_json". We - // highly recommend to use underscores for word separation instead of spaces. - // - // If left empty, then the Amino encoding is expected to be the same as the - // Protobuf one. - // - // This annotation should not be confused with the `encoding` - // one which operates on the field level. - string message_encoding = 11110002; -} - -extend google.protobuf.FieldOptions { - // encoding describes the encoding format used by Amino for - // the given field. The field type is chosen to be a string for - // flexibility, but it should ideally be short and expected to be - // machine-readable, for example "base64" or "utf8_json". We - // highly recommend to use underscores for word separation instead of spaces. - // - // If left empty, then the Amino encoding is expected to be the same as the - // Protobuf one. - // - // This annotation should not be confused with the - // `message_encoding` one which operates on the message level. - string encoding = 11110003; - - // field_name sets a different field name (i.e. key name) in - // the amino JSON object for the given field. - // - // Example: - // - // message Foo { - // string bar = 1 [(amino.field_name) = "baz"]; - // } - // - // Then the Amino encoding of Foo will be: - // `{"baz":"some value"}` - string field_name = 11110004; - - // dont_omitempty sets the field in the JSON object even if - // its value is empty, i.e. equal to the Golang zero value. To learn what - // the zero values are, see https://go.dev/ref/spec#The_zero_value. - // - // Fields default to `omitempty`, which is the default behavior when this - // annotation is unset. When set to true, then the field value in the - // JSON object will be set, i.e. not `undefined`. - // - // Example: - // - // message Foo { - // string bar = 1; - // string baz = 2 [(amino.dont_omitempty) = true]; - // } - // - // f := Foo{}; - // out := AminoJSONEncoder(&f); - // out == {"baz":""} - bool dont_omitempty = 11110005; -} \ No newline at end of file diff --git a/quicksilverjs/proto/confio/LICENSE b/quicksilverjs/proto/confio/LICENSE deleted file mode 100644 index deaad1f50..000000000 --- a/quicksilverjs/proto/confio/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Confio/ICS23 -License: Apache2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2019 Confio UO - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/quicksilverjs/proto/confio/README.md b/quicksilverjs/proto/confio/README.md deleted file mode 100644 index af52fb63a..000000000 --- a/quicksilverjs/proto/confio/README.md +++ /dev/null @@ -1 +0,0 @@ -# confio \ No newline at end of file diff --git a/quicksilverjs/proto/confio/proofs.proto b/quicksilverjs/proto/confio/proofs.proto deleted file mode 100644 index da43503ec..000000000 --- a/quicksilverjs/proto/confio/proofs.proto +++ /dev/null @@ -1,234 +0,0 @@ -syntax = "proto3"; - -package ics23; -option go_package = "github.com/confio/ics23/go"; - -enum HashOp { - // NO_HASH is the default if no data passed. Note this is an illegal argument some places. - NO_HASH = 0; - SHA256 = 1; - SHA512 = 2; - KECCAK = 3; - RIPEMD160 = 4; - BITCOIN = 5; // ripemd160(sha256(x)) -} - -/** -LengthOp defines how to process the key and value of the LeafOp -to include length information. After encoding the length with the given -algorithm, the length will be prepended to the key and value bytes. -(Each one with it's own encoded length) -*/ -enum LengthOp { - // NO_PREFIX don't include any length info - NO_PREFIX = 0; - // VAR_PROTO uses protobuf (and go-amino) varint encoding of the length - VAR_PROTO = 1; - // VAR_RLP uses rlp int encoding of the length - VAR_RLP = 2; - // FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer - FIXED32_BIG = 3; - // FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer - FIXED32_LITTLE = 4; - // FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer - FIXED64_BIG = 5; - // FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer - FIXED64_LITTLE = 6; - // REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) - REQUIRE_32_BYTES = 7; - // REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) - REQUIRE_64_BYTES = 8; -} - -/** -ExistenceProof takes a key and a value and a set of steps to perform on it. -The result of peforming all these steps will provide a "root hash", which can -be compared to the value in a header. - -Since it is computationally infeasible to produce a hash collission for any of the used -cryptographic hash functions, if someone can provide a series of operations to transform -a given key and value into a root hash that matches some trusted root, these key and values -must be in the referenced merkle tree. - -The only possible issue is maliablity in LeafOp, such as providing extra prefix data, -which should be controlled by a spec. Eg. with lengthOp as NONE, - prefix = FOO, key = BAR, value = CHOICE -and - prefix = F, key = OOBAR, value = CHOICE -would produce the same value. - -With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field -in the ProofSpec is valuable to prevent this mutability. And why all trees should -length-prefix the data before hashing it. -*/ -message ExistenceProof { - bytes key = 1; - bytes value = 2; - LeafOp leaf = 3; - repeated InnerOp path = 4; -} - -/* -NonExistenceProof takes a proof of two neighbors, one left of the desired key, -one right of the desired key. If both proofs are valid AND they are neighbors, -then there is no valid proof for the given key. -*/ -message NonExistenceProof { - bytes key = 1; // TODO: remove this as unnecessary??? we prove a range - ExistenceProof left = 2; - ExistenceProof right = 3; -} - -/* -CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages -*/ -message CommitmentProof { - oneof proof { - ExistenceProof exist = 1; - NonExistenceProof nonexist = 2; - BatchProof batch = 3; - CompressedBatchProof compressed = 4; - } -} - -/** -LeafOp represents the raw key-value data we wish to prove, and -must be flexible to represent the internal transformation from -the original key-value pairs into the basis hash, for many existing -merkle trees. - -key and value are passed in. So that the signature of this operation is: - leafOp(key, value) -> output - -To process this, first prehash the keys and values if needed (ANY means no hash in this case): - hkey = prehashKey(key) - hvalue = prehashValue(value) - -Then combine the bytes, and hash it - output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) -*/ -message LeafOp { - HashOp hash = 1; - HashOp prehash_key = 2; - HashOp prehash_value = 3; - LengthOp length = 4; - // prefix is a fixed bytes that may optionally be included at the beginning to differentiate - // a leaf node from an inner node. - bytes prefix = 5; -} - -/** -InnerOp represents a merkle-proof step that is not a leaf. -It represents concatenating two children and hashing them to provide the next result. - -The result of the previous step is passed in, so the signature of this op is: - innerOp(child) -> output - -The result of applying InnerOp should be: - output = op.hash(op.prefix || child || op.suffix) - - where the || operator is concatenation of binary data, -and child is the result of hashing all the tree below this step. - -Any special data, like prepending child with the length, or prepending the entire operation with -some value to differentiate from leaf nodes, should be included in prefix and suffix. -If either of prefix or suffix is empty, we just treat it as an empty string -*/ -message InnerOp { - HashOp hash = 1; - bytes prefix = 2; - bytes suffix = 3; -} - - -/** -ProofSpec defines what the expected parameters are for a given proof type. -This can be stored in the client and used to validate any incoming proofs. - - verify(ProofSpec, Proof) -> Proof | Error - -As demonstrated in tests, if we don't fix the algorithm used to calculate the -LeafHash for a given tree, there are many possible key-value pairs that can -generate a given hash (by interpretting the preimage differently). -We need this for proper security, requires client knows a priori what -tree format server uses. But not in code, rather a configuration object. -*/ -message ProofSpec { - // any field in the ExistenceProof must be the same as in this spec. - // except Prefix, which is just the first bytes of prefix (spec can be longer) - LeafOp leaf_spec = 1; - InnerSpec inner_spec = 2; - // max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) - int32 max_depth = 3; - // min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) - int32 min_depth = 4; -} - -/* -InnerSpec contains all store-specific structure info to determine if two proofs from a -given store are neighbors. - -This enables: - - isLeftMost(spec: InnerSpec, op: InnerOp) - isRightMost(spec: InnerSpec, op: InnerOp) - isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) -*/ -message InnerSpec { - // Child order is the ordering of the children node, must count from 0 - // iavl tree is [0, 1] (left then right) - // merk is [0, 2, 1] (left, right, here) - repeated int32 child_order = 1; - int32 child_size = 2; - int32 min_prefix_length = 3; - int32 max_prefix_length = 4; - // empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) - bytes empty_child = 5; - // hash is the algorithm that must be used for each InnerOp - HashOp hash = 6; -} - -/* -BatchProof is a group of multiple proof types than can be compressed -*/ -message BatchProof { - repeated BatchEntry entries = 1; -} - -// Use BatchEntry not CommitmentProof, to avoid recursion -message BatchEntry { - oneof proof { - ExistenceProof exist = 1; - NonExistenceProof nonexist = 2; - } -} - - -/****** all items here are compressed forms *******/ - -message CompressedBatchProof { - repeated CompressedBatchEntry entries = 1; - repeated InnerOp lookup_inners = 2; -} - -// Use BatchEntry not CommitmentProof, to avoid recursion -message CompressedBatchEntry { - oneof proof { - CompressedExistenceProof exist = 1; - CompressedNonExistenceProof nonexist = 2; - } -} - -message CompressedExistenceProof { - bytes key = 1; - bytes value = 2; - LeafOp leaf = 3; - // these are indexes into the lookup_inners table in CompressedBatchProof - repeated int32 path = 4; -} - -message CompressedNonExistenceProof { - bytes key = 1; // TODO: remove this as unnecessary??? we prove a range - CompressedExistenceProof left = 2; - CompressedExistenceProof right = 3; -} diff --git a/quicksilverjs/proto/cosmos/LICENSE b/quicksilverjs/proto/cosmos/LICENSE deleted file mode 100644 index 063e03fc9..000000000 --- a/quicksilverjs/proto/cosmos/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Cosmos SDK -License: Apache2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2016 All in Bits, Inc - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos/README.md b/quicksilverjs/proto/cosmos/README.md deleted file mode 100644 index 98a49c6bd..000000000 --- a/quicksilverjs/proto/cosmos/README.md +++ /dev/null @@ -1 +0,0 @@ -# cosmos \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos/app/v1alpha1/config.proto b/quicksilverjs/proto/cosmos/app/v1alpha1/config.proto deleted file mode 100644 index ed7750061..000000000 --- a/quicksilverjs/proto/cosmos/app/v1alpha1/config.proto +++ /dev/null @@ -1,36 +0,0 @@ -syntax = "proto3"; - -package cosmos.app.v1alpha1; - -import "google/protobuf/any.proto"; - -// Config represents the configuration for a Cosmos SDK ABCI app. -// It is intended that all state machine logic including the version of -// baseapp and tx handlers (and possibly even Tendermint) that an app needs -// can be described in a config object. For compatibility, the framework should -// allow a mixture of declarative and imperative app wiring, however, apps -// that strive for the maximum ease of maintainability should be able to describe -// their state machine with a config object alone. -message Config { - // modules are the module configurations for the app. - repeated ModuleConfig modules = 1; -} - -// ModuleConfig is a module configuration for an app. -message ModuleConfig { - // name is the unique name of the module within the app. It should be a name - // that persists between different versions of a module so that modules - // can be smoothly upgraded to new versions. - // - // For example, for the module cosmos.bank.module.v1.Module, we may chose - // to simply name the module "bank" in the app. When we upgrade to - // cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - // and the framework knows that the v2 module should receive all the same state - // that the v1 module had. Note: modules should provide info on which versions - // they can migrate from in the ModuleDescriptor.can_migration_from field. - string name = 1; - - // config is the config object for the module. Module config messages should - // define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - google.protobuf.Any config = 2; -} diff --git a/quicksilverjs/proto/cosmos/app/v1alpha1/module.proto b/quicksilverjs/proto/cosmos/app/v1alpha1/module.proto deleted file mode 100644 index 599078d7e..000000000 --- a/quicksilverjs/proto/cosmos/app/v1alpha1/module.proto +++ /dev/null @@ -1,93 +0,0 @@ -syntax = "proto3"; - -package cosmos.app.v1alpha1; - -import "google/protobuf/descriptor.proto"; - -extend google.protobuf.MessageOptions { - // module indicates that this proto type is a config object for an app module - // and optionally provides other descriptive information about the module. - // It is recommended that a new module config object and go module is versioned - // for every state machine breaking version of a module. The recommended - // pattern for doing this is to put module config objects in a separate proto - // package from the API they expose. Ex: the cosmos.group.v1 API would be - // exposed by module configs cosmos.group.module.v1, cosmos.group.module.v2, etc. - ModuleDescriptor module = 57193479; -} - -// ModuleDescriptor describes an app module. -message ModuleDescriptor { - // go_import names the package that should be imported by an app to load the - // module in the runtime module registry. Either go_import must be defined here - // or the go_package option must be defined at the file level to indicate - // to users where to location the module implementation. go_import takes - // precedence over go_package when both are defined. - string go_import = 1; - - // use_package refers to a protobuf package that this module - // uses and exposes to the world. In an app, only one module should "use" - // or own a single protobuf package. It is assumed that the module uses - // all of the .proto files in a single package. - repeated PackageReference use_package = 2; - - // can_migrate_from defines which module versions this module can migrate - // state from. The framework will check that one module version is able to - // migrate from a previous module version before attempting to update its - // config. It is assumed that modules can transitively migrate from earlier - // versions. For instance if v3 declares it can migrate from v2, and v2 - // declares it can migrate from v1, the framework knows how to migrate - // from v1 to v3, assuming all 3 module versions are registered at runtime. - repeated MigrateFromInfo can_migrate_from = 3; -} - -// PackageReference is a reference to a protobuf package used by a module. -message PackageReference { - // name is the fully-qualified name of the package. - string name = 1; - - // revision is the optional revision of the package that is being used. - // Protobuf packages used in Cosmos should generally have a major version - // as the last part of the package name, ex. foo.bar.baz.v1. - // The revision of a package can be thought of as the minor version of a - // package which has additional backwards compatible definitions that weren't - // present in a previous version. - // - // A package should indicate its revision with a source code comment - // above the package declaration in one of its fields containing the - // test "Revision N" where N is an integer revision. All packages start - // at revision 0 the first time they are released in a module. - // - // When a new version of a module is released and items are added to existing - // .proto files, these definitions should contain comments of the form - // "Since Revision N" where N is an integer revision. - // - // When the module runtime starts up, it will check the pinned proto - // image and panic if there are runtime protobuf definitions that are not - // in the pinned descriptor which do not have - // a "Since Revision N" comment or have a "Since Revision N" comment where - // N is <= to the revision specified here. This indicates that the protobuf - // files have been updated, but the pinned file descriptor hasn't. - // - // If there are items in the pinned file descriptor with a revision - // greater than the value indicated here, this will also cause a panic - // as it may mean that the pinned descriptor for a legacy module has been - // improperly updated or that there is some other versioning discrepancy. - // Runtime protobuf definitions will also be checked for compatibility - // with pinned file descriptors to make sure there are no incompatible changes. - // - // This behavior ensures that: - // * pinned proto images are up-to-date - // * protobuf files are carefully annotated with revision comments which - // are important good client UX - // * protobuf files are changed in backwards and forwards compatible ways - uint32 revision = 2; -} - -// MigrateFromInfo is information on a module version that a newer module -// can migrate from. -message MigrateFromInfo { - - // module is the fully-qualified protobuf name of the module config object - // for the previous module version, ex: "cosmos.group.module.v1.Module". - string module = 1; -} diff --git a/quicksilverjs/proto/cosmos/app/v1alpha1/query.proto b/quicksilverjs/proto/cosmos/app/v1alpha1/query.proto deleted file mode 100644 index efec9c81a..000000000 --- a/quicksilverjs/proto/cosmos/app/v1alpha1/query.proto +++ /dev/null @@ -1,22 +0,0 @@ -syntax = "proto3"; - -package cosmos.app.v1alpha1; - -import "cosmos/app/v1alpha1/config.proto"; - -// Query is the app module query service. -service Query { - - // Config returns the current app config. - rpc Config(QueryConfigRequest) returns (QueryConfigResponse) {} -} - -// QueryConfigRequest is the Query/Config request type. -message QueryConfigRequest {} - -// QueryConfigRequest is the Query/Config response type. -message QueryConfigResponse { - - // config is the current app config. - Config config = 1; -} diff --git a/quicksilverjs/proto/cosmos/auth/v1beta1/auth.proto b/quicksilverjs/proto/cosmos/auth/v1beta1/auth.proto deleted file mode 100644 index 486d507f6..000000000 --- a/quicksilverjs/proto/cosmos/auth/v1beta1/auth.proto +++ /dev/null @@ -1,47 +0,0 @@ -syntax = "proto3"; -package cosmos.auth.v1beta1; - -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; - -// BaseAccount defines a base account type. It contains all the necessary fields -// for basic account functionality. Any custom account type should extend this -// type for additional functionality (e.g. vesting). -message BaseAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.equal) = false; - - option (cosmos_proto.implements_interface) = "cosmos.auth.AccountI"; - - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - google.protobuf.Any pub_key = 2 [(gogoproto.jsontag) = "public_key,omitempty"]; - uint64 account_number = 3; - uint64 sequence = 4; -} - -// ModuleAccount defines an account for modules that holds coins on a pool. -message ModuleAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "cosmos.auth.ModuleAccountI"; - - BaseAccount base_account = 1 [(gogoproto.embed) = true]; - string name = 2; - repeated string permissions = 3; -} - -// Params defines the parameters for the auth module. -message Params { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - uint64 max_memo_characters = 1; - uint64 tx_sig_limit = 2; - uint64 tx_size_cost_per_byte = 3; - uint64 sig_verify_cost_ed25519 = 4 [(gogoproto.customname) = "SigVerifyCostED25519"]; - uint64 sig_verify_cost_secp256k1 = 5 [(gogoproto.customname) = "SigVerifyCostSecp256k1"]; -} diff --git a/quicksilverjs/proto/cosmos/auth/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/auth/v1beta1/genesis.proto deleted file mode 100644 index c88b94ee4..000000000 --- a/quicksilverjs/proto/cosmos/auth/v1beta1/genesis.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package cosmos.auth.v1beta1; - -import "google/protobuf/any.proto"; -import "gogoproto/gogo.proto"; -import "cosmos/auth/v1beta1/auth.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; - -// GenesisState defines the auth module's genesis state. -message GenesisState { - // params defines all the paramaters of the module. - Params params = 1 [(gogoproto.nullable) = false]; - - // accounts are the accounts present at genesis. - repeated google.protobuf.Any accounts = 2; -} diff --git a/quicksilverjs/proto/cosmos/auth/v1beta1/query.proto b/quicksilverjs/proto/cosmos/auth/v1beta1/query.proto deleted file mode 100644 index 8de4d09dc..000000000 --- a/quicksilverjs/proto/cosmos/auth/v1beta1/query.proto +++ /dev/null @@ -1,130 +0,0 @@ -syntax = "proto3"; -package cosmos.auth.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "google/api/annotations.proto"; -import "cosmos/auth/v1beta1/auth.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types"; - -// Query defines the gRPC querier service. -service Query { - // Accounts returns all the existing accounts - // - // Since: cosmos-sdk 0.43 - rpc Accounts(QueryAccountsRequest) returns (QueryAccountsResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/accounts"; - } - - // Account returns account details based on address. - rpc Account(QueryAccountRequest) returns (QueryAccountResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/accounts/{address}"; - } - - // Params queries all parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/params"; - } - - // ModuleAccounts returns all the existing module accounts. - rpc ModuleAccounts(QueryModuleAccountsRequest) returns (QueryModuleAccountsResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/module_accounts"; - } - - // Bech32 queries bech32Prefix - rpc Bech32Prefix(Bech32PrefixRequest) returns (Bech32PrefixResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/bech32"; - } - - // AddressBytesToString converts Account Address bytes to string - rpc AddressBytesToString(AddressBytesToStringRequest) returns (AddressBytesToStringResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/bech32/{address_bytes}"; - } - - // AddressStringToBytes converts Address string to bytes - rpc AddressStringToBytes(AddressStringToBytesRequest) returns (AddressStringToBytesResponse) { - option (google.api.http).get = "/cosmos/auth/v1beta1/bech32/{address_string}"; - } -} - -// QueryAccountsRequest is the request type for the Query/Accounts RPC method. -// -// Since: cosmos-sdk 0.43 -message QueryAccountsRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryAccountsResponse is the response type for the Query/Accounts RPC method. -// -// Since: cosmos-sdk 0.43 -message QueryAccountsResponse { - // accounts are the existing accounts - repeated google.protobuf.Any accounts = 1 [(cosmos_proto.accepts_interface) = "cosmos.auth.AccountI"]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryAccountRequest is the request type for the Query/Account RPC method. -message QueryAccountRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address defines the address to query for. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. -message QueryModuleAccountsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [(gogoproto.nullable) = false]; -} - -// QueryAccountResponse is the response type for the Query/Account RPC method. -message QueryAccountResponse { - // account defines the account of the corresponding address. - google.protobuf.Any account = 1 [(cosmos_proto.accepts_interface) = "cosmos.auth.AccountI"]; -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. -message QueryModuleAccountsResponse { - repeated google.protobuf.Any accounts = 1 [(cosmos_proto.accepts_interface) = "cosmos.auth.ModuleAccountI"]; -} - -// Bech32PrefixRequest is the request type for Bech32Prefix rpc method -message Bech32PrefixRequest {} - -// Bech32PrefixResponse is the response type for Bech32Prefix rpc method -message Bech32PrefixResponse { - string bech32_prefix = 1; -} - -// AddressBytesToStringRequest is the request type for AddressString rpc method -message AddressBytesToStringRequest { - bytes address_bytes = 1; -} - -// AddressBytesToStringResponse is the response type for AddressString rpc method -message AddressBytesToStringResponse { - string address_string = 1; -} - -// AddressStringToBytesRequest is the request type for AccountBytes rpc method -message AddressStringToBytesRequest { - string address_string = 1; -} - -// AddressStringToBytesResponse is the response type for AddressBytes rpc method -message AddressStringToBytesResponse { - bytes address_bytes = 1; -} diff --git a/quicksilverjs/proto/cosmos/authz/v1beta1/authz.proto b/quicksilverjs/proto/cosmos/authz/v1beta1/authz.proto deleted file mode 100644 index 2dce1ce0d..000000000 --- a/quicksilverjs/proto/cosmos/authz/v1beta1/authz.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.authz.v1beta1; - -import "cosmos_proto/cosmos.proto"; -import "google/protobuf/timestamp.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; -option (gogoproto.goproto_getters_all) = false; - -// GenericAuthorization gives the grantee unrestricted permissions to execute -// the provided method on behalf of the granter's account. -message GenericAuthorization { - option (cosmos_proto.implements_interface) = "cosmos.authz.Authorization"; - - // Msg, identified by it's type URL, to grant unrestricted permissions to execute - string msg = 1; -} - -// Grant gives permissions to execute -// the provide method with expiration time. -message Grant { - google.protobuf.Any authorization = 1 [(cosmos_proto.accepts_interface) = "cosmos.authz.Authorization"]; - // time when the grant will expire and will be pruned. If null, then the grant - // doesn't have a time expiration (other conditions in `authorization` - // may apply to invalidate the grant) - google.protobuf.Timestamp expiration = 2 [(gogoproto.stdtime) = true, (gogoproto.nullable) = true]; -} - -// GrantAuthorization extends a grant with both the addresses of the grantee and granter. -// It is used in genesis.proto and query.proto -message GrantAuthorization { - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - google.protobuf.Any authorization = 3 [(cosmos_proto.accepts_interface) = "cosmos.authz.Authorization"]; - google.protobuf.Timestamp expiration = 4 [(gogoproto.stdtime) = true]; -} - -// GrantQueueItem contains the list of TypeURL of a sdk.Msg. -message GrantQueueItem { - // msg_type_urls contains the list of TypeURL of a sdk.Msg. - repeated string msg_type_urls = 1; -} diff --git a/quicksilverjs/proto/cosmos/authz/v1beta1/event.proto b/quicksilverjs/proto/cosmos/authz/v1beta1/event.proto deleted file mode 100644 index 0476649af..000000000 --- a/quicksilverjs/proto/cosmos/authz/v1beta1/event.proto +++ /dev/null @@ -1,27 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.authz.v1beta1; - -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; - -// EventGrant is emitted on Msg/Grant -message EventGrant { - // Msg type URL for which an autorization is granted - string msg_type_url = 2; - // Granter account address - string granter = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Grantee account address - string grantee = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// EventRevoke is emitted on Msg/Revoke -message EventRevoke { - // Msg type URL for which an autorization is revoked - string msg_type_url = 2; - // Granter account address - string granter = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Grantee account address - string grantee = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} diff --git a/quicksilverjs/proto/cosmos/authz/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/authz/v1beta1/genesis.proto deleted file mode 100644 index 310f62656..000000000 --- a/quicksilverjs/proto/cosmos/authz/v1beta1/genesis.proto +++ /dev/null @@ -1,13 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.authz.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/authz/v1beta1/authz.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; - -// GenesisState defines the authz module's genesis state. -message GenesisState { - repeated GrantAuthorization authorization = 1 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/authz/v1beta1/query.proto b/quicksilverjs/proto/cosmos/authz/v1beta1/query.proto deleted file mode 100644 index 62154ac19..000000000 --- a/quicksilverjs/proto/cosmos/authz/v1beta1/query.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.authz.v1beta1; - -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos/authz/v1beta1/authz.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; - -// Query defines the gRPC querier service. -service Query { - // Returns list of `Authorization`, granted to the grantee by the granter. - rpc Grants(QueryGrantsRequest) returns (QueryGrantsResponse) { - option (google.api.http).get = "/cosmos/authz/v1beta1/grants"; - } - - // GranterGrants returns list of `GrantAuthorization`, granted by granter. - // - // Since: cosmos-sdk 0.46 - rpc GranterGrants(QueryGranterGrantsRequest) returns (QueryGranterGrantsResponse) { - option (google.api.http).get = "/cosmos/authz/v1beta1/grants/granter/{granter}"; - } - - // GranteeGrants returns a list of `GrantAuthorization` by grantee. - // - // Since: cosmos-sdk 0.46 - rpc GranteeGrants(QueryGranteeGrantsRequest) returns (QueryGranteeGrantsResponse) { - option (google.api.http).get = "/cosmos/authz/v1beta1/grants/grantee/{grantee}"; - } -} - -// QueryGrantsRequest is the request type for the Query/Grants RPC method. -message QueryGrantsRequest { - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Optional, msg_type_url, when set, will query only grants matching given msg type. - string msg_type_url = 3; - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - -// QueryGrantsResponse is the response type for the Query/Authorizations RPC method. -message QueryGrantsResponse { - // authorizations is a list of grants granted for grantee by granter. - repeated Grant grants = 1; - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. -message QueryGranterGrantsRequest { - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. -message QueryGranterGrantsResponse { - // grants is a list of grants granted by the granter. - repeated GrantAuthorization grants = 1; - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. -message QueryGranteeGrantsRequest { - string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. -message QueryGranteeGrantsResponse { - // grants is a list of grants granted to the grantee. - repeated GrantAuthorization grants = 1; - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/quicksilverjs/proto/cosmos/authz/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/authz/v1beta1/tx.proto deleted file mode 100644 index 9c8ae160b..000000000 --- a/quicksilverjs/proto/cosmos/authz/v1beta1/tx.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.authz.v1beta1; - -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos/authz/v1beta1/authz.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/authz"; -option (gogoproto.goproto_getters_all) = false; - -// Msg defines the authz Msg service. -service Msg { - // Grant grants the provided authorization to the grantee on the granter's - // account with the provided expiration time. If there is already a grant - // for the given (granter, grantee, Authorization) triple, then the grant - // will be overwritten. - rpc Grant(MsgGrant) returns (MsgGrantResponse); - - // Exec attempts to execute the provided messages using - // authorizations granted to the grantee. Each message should have only - // one signer corresponding to the granter of the authorization. - rpc Exec(MsgExec) returns (MsgExecResponse); - - // Revoke revokes any authorization corresponding to the provided method name on the - // granter's account that has been granted to the grantee. - rpc Revoke(MsgRevoke) returns (MsgRevokeResponse); -} - -// MsgGrant is a request type for Grant method. It declares authorization to the grantee -// on behalf of the granter with the provided expiration time. -message MsgGrant { - option (cosmos.msg.v1.signer) = "granter"; - - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - cosmos.authz.v1beta1.Grant grant = 3 [(gogoproto.nullable) = false]; -} - -// MsgExecResponse defines the Msg/MsgExecResponse response type. -message MsgExecResponse { - repeated bytes results = 1; -} - -// MsgExec attempts to execute the provided messages using -// authorizations granted to the grantee. Each message should have only -// one signer corresponding to the granter of the authorization. -message MsgExec { - option (cosmos.msg.v1.signer) = "grantee"; - - string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Authorization Msg requests to execute. Each msg must implement Authorization interface - // The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - // triple and validate it. - repeated google.protobuf.Any msgs = 2 [(cosmos_proto.accepts_interface) = "sdk.Msg, cosmos.authz.Authorization"]; -} - -// MsgGrantResponse defines the Msg/MsgGrant response type. -message MsgGrantResponse {} - -// MsgRevoke revokes any authorization with the provided sdk.Msg type on the -// granter's account with that has been granted to the grantee. -message MsgRevoke { - option (cosmos.msg.v1.signer) = "granter"; - - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string msg_type_url = 3; -} - -// MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. -message MsgRevokeResponse {} diff --git a/quicksilverjs/proto/cosmos/bank/v1beta1/authz.proto b/quicksilverjs/proto/cosmos/bank/v1beta1/authz.proto deleted file mode 100644 index e3e600b4e..000000000 --- a/quicksilverjs/proto/cosmos/bank/v1beta1/authz.proto +++ /dev/null @@ -1,19 +0,0 @@ -syntax = "proto3"; -package cosmos.bank.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; - -// SendAuthorization allows the grantee to spend up to spend_limit coins from -// the granter's account. -// -// Since: cosmos-sdk 0.43 -message SendAuthorization { - option (cosmos_proto.implements_interface) = "cosmos.authz.Authorization"; - - repeated cosmos.base.v1beta1.Coin spend_limit = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} diff --git a/quicksilverjs/proto/cosmos/bank/v1beta1/bank.proto b/quicksilverjs/proto/cosmos/bank/v1beta1/bank.proto deleted file mode 100644 index f70c24ab3..000000000 --- a/quicksilverjs/proto/cosmos/bank/v1beta1/bank.proto +++ /dev/null @@ -1,108 +0,0 @@ -syntax = "proto3"; -package cosmos.bank.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; - -// Params defines the parameters for the bank module. -message Params { - option (gogoproto.goproto_stringer) = false; - repeated SendEnabled send_enabled = 1; - bool default_send_enabled = 2; -} - -// SendEnabled maps coin denom to a send_enabled status (whether a denom is -// sendable). -message SendEnabled { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - string denom = 1; - bool enabled = 2; -} - -// Input models transaction input. -message Input { - option (cosmos.msg.v1.signer) = "address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// Output models transaction outputs. -message Output { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// Supply represents a struct that passively keeps track of the total supply -// amounts in the network. -// This message is deprecated now that supply is indexed by denom. -message Supply { - option deprecated = true; - - option (gogoproto.equal) = true; - option (gogoproto.goproto_getters) = false; - - option (cosmos_proto.implements_interface) = "SupplyI"; - - repeated cosmos.base.v1beta1.Coin total = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// DenomUnit represents a struct that describes a given -// denomination unit of the basic token. -message DenomUnit { - // denom represents the string name of the given denom unit (e.g uatom). - string denom = 1; - // exponent represents power of 10 exponent that one must - // raise the base_denom to in order to equal the given DenomUnit's denom - // 1 denom = 10^exponent base_denom - // (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with - // exponent = 6, thus: 1 atom = 10^6 uatom). - uint32 exponent = 2; - // aliases is a list of string aliases for the given denom - repeated string aliases = 3; -} - -// Metadata represents a struct that describes -// a basic token. -message Metadata { - string description = 1; - // denom_units represents the list of DenomUnit's for a given coin - repeated DenomUnit denom_units = 2; - // base represents the base denom (should be the DenomUnit with exponent = 0). - string base = 3; - // display indicates the suggested denom that should be - // displayed in clients. - string display = 4; - // name defines the name of the token (eg: Cosmos Atom) - // - // Since: cosmos-sdk 0.43 - string name = 5; - // symbol is the token symbol usually shown on exchanges (eg: ATOM). This can - // be the same as the display. - // - // Since: cosmos-sdk 0.43 - string symbol = 6; - // URI to a document (on or off-chain) that contains additional information. Optional. - // - // Since: cosmos-sdk 0.46 - string uri = 7 [(gogoproto.customname) = "URI"]; - // URIHash is a sha256 hash of a document pointed by URI. It's used to verify that - // the document didn't change. Optional. - // - // Since: cosmos-sdk 0.46 - string uri_hash = 8 [(gogoproto.customname) = "URIHash"]; -} diff --git a/quicksilverjs/proto/cosmos/bank/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/bank/v1beta1/genesis.proto deleted file mode 100644 index aa35790b7..000000000 --- a/quicksilverjs/proto/cosmos/bank/v1beta1/genesis.proto +++ /dev/null @@ -1,40 +0,0 @@ -syntax = "proto3"; -package cosmos.bank.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/bank/v1beta1/bank.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; - -// GenesisState defines the bank module's genesis state. -message GenesisState { - // params defines all the paramaters of the module. - Params params = 1 [(gogoproto.nullable) = false]; - - // balances is an array containing the balances of all the accounts. - repeated Balance balances = 2 [(gogoproto.nullable) = false]; - - // supply represents the total supply. If it is left empty, then supply will be calculated based on the provided - // balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - repeated cosmos.base.v1beta1.Coin supply = 3 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; - - // denom_metadata defines the metadata of the differents coins. - repeated Metadata denom_metadata = 4 [(gogoproto.nullable) = false]; -} - -// Balance defines an account address and balance pair used in the bank module's -// genesis state. -message Balance { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address is the address of the balance holder. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // coins defines the different coins this balance holds. - repeated cosmos.base.v1beta1.Coin coins = 2 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/bank/v1beta1/query.proto b/quicksilverjs/proto/cosmos/bank/v1beta1/query.proto deleted file mode 100644 index cbe7f38ad..000000000 --- a/quicksilverjs/proto/cosmos/bank/v1beta1/query.proto +++ /dev/null @@ -1,231 +0,0 @@ -syntax = "proto3"; -package cosmos.bank.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/bank/v1beta1/bank.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; - -// Query defines the gRPC querier service. -service Query { - // Balance queries the balance of a single coin for a single account. - rpc Balance(QueryBalanceRequest) returns (QueryBalanceResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/balances/{address}/by_denom"; - } - - // AllBalances queries the balance of all coins for a single account. - rpc AllBalances(QueryAllBalancesRequest) returns (QueryAllBalancesResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/balances/{address}"; - } - - // SpendableBalances queries the spenable balance of all coins for a single - // account. - rpc SpendableBalances(QuerySpendableBalancesRequest) returns (QuerySpendableBalancesResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/spendable_balances/{address}"; - } - - // TotalSupply queries the total supply of all coins. - rpc TotalSupply(QueryTotalSupplyRequest) returns (QueryTotalSupplyResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/supply"; - } - - // SupplyOf queries the supply of a single coin. - rpc SupplyOf(QuerySupplyOfRequest) returns (QuerySupplyOfResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/supply/by_denom"; - } - - // Params queries the parameters of x/bank module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/params"; - } - - // DenomsMetadata queries the client metadata of a given coin denomination. - rpc DenomMetadata(QueryDenomMetadataRequest) returns (QueryDenomMetadataResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/denoms_metadata/{denom}"; - } - - // DenomsMetadata queries the client metadata for all registered coin - // denominations. - rpc DenomsMetadata(QueryDenomsMetadataRequest) returns (QueryDenomsMetadataResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/denoms_metadata"; - } - - // DenomOwners queries for all account addresses that own a particular token - // denomination. - rpc DenomOwners(QueryDenomOwnersRequest) returns (QueryDenomOwnersResponse) { - option (google.api.http).get = "/cosmos/bank/v1beta1/denom_owners/{denom}"; - } -} - -// QueryBalanceRequest is the request type for the Query/Balance RPC method. -message QueryBalanceRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address is the address to query balances for. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // denom is the coin denom to query balances for. - string denom = 2; -} - -// QueryBalanceResponse is the response type for the Query/Balance RPC method. -message QueryBalanceResponse { - // balance is the balance of the coin. - cosmos.base.v1beta1.Coin balance = 1; -} - -// QueryBalanceRequest is the request type for the Query/AllBalances RPC method. -message QueryAllBalancesRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address is the address to query balances for. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryAllBalancesResponse is the response type for the Query/AllBalances RPC -// method. -message QueryAllBalancesResponse { - // balances is the balances of all the coins. - repeated cosmos.base.v1beta1.Coin balances = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QuerySpendableBalancesRequest defines the gRPC request structure for querying -// an account's spendable balances. -message QuerySpendableBalancesRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address is the address to query spendable balances for. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QuerySpendableBalancesResponse defines the gRPC response structure for querying -// an account's spendable balances. -message QuerySpendableBalancesResponse { - // balances is the spendable balances of all the coins. - repeated cosmos.base.v1beta1.Coin balances = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC -// method. -message QueryTotalSupplyRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // pagination defines an optional pagination for the request. - // - // Since: cosmos-sdk 0.43 - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC -// method -message QueryTotalSupplyResponse { - // supply is the supply of the coins - repeated cosmos.base.v1beta1.Coin supply = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // pagination defines the pagination in the response. - // - // Since: cosmos-sdk 0.43 - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. -message QuerySupplyOfRequest { - // denom is the coin denom to query balances for. - string denom = 1; -} - -// QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. -message QuerySupplyOfResponse { - // amount is the supply of the coin. - cosmos.base.v1beta1.Coin amount = 1 [(gogoproto.nullable) = false]; -} - -// QueryParamsRequest defines the request type for querying x/bank parameters. -message QueryParamsRequest {} - -// QueryParamsResponse defines the response type for querying x/bank parameters. -message QueryParamsResponse { - Params params = 1 [(gogoproto.nullable) = false]; -} - -// QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. -message QueryDenomsMetadataRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC -// method. -message QueryDenomsMetadataResponse { - // metadata provides the client information for all the registered tokens. - repeated Metadata metadatas = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. -message QueryDenomMetadataRequest { - // denom is the coin denom to query the metadata for. - string denom = 1; -} - -// QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC -// method. -message QueryDenomMetadataResponse { - // metadata describes and provides all the client information for the requested token. - Metadata metadata = 1 [(gogoproto.nullable) = false]; -} - -// QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, -// which queries for a paginated set of all account holders of a particular -// denomination. -message QueryDenomOwnersRequest { - // denom defines the coin denomination to query all account holders for. - string denom = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// DenomOwner defines structure representing an account that owns or holds a -// particular denominated token. It contains the account address and account -// balance of the denominated token. -message DenomOwner { - // address defines the address that owns a particular denomination. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // balance is the balance of the denominated coin for an account. - cosmos.base.v1beta1.Coin balance = 2 [(gogoproto.nullable) = false]; -} - -// QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. -message QueryDenomOwnersResponse { - repeated DenomOwner denom_owners = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/quicksilverjs/proto/cosmos/bank/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/bank/v1beta1/tx.proto deleted file mode 100644 index 22e62cbf5..000000000 --- a/quicksilverjs/proto/cosmos/bank/v1beta1/tx.proto +++ /dev/null @@ -1,48 +0,0 @@ -syntax = "proto3"; -package cosmos.bank.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/bank/v1beta1/bank.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types"; - -// Msg defines the bank Msg service. -service Msg { - // Send defines a method for sending coins from one account to another account. - rpc Send(MsgSend) returns (MsgSendResponse); - - // MultiSend defines a method for sending coins from some accounts to other accounts. - rpc MultiSend(MsgMultiSend) returns (MsgMultiSendResponse); -} - -// MsgSend represents a message to send coins from one account to another. -message MsgSend { - option (cosmos.msg.v1.signer) = "from_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string to_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// MsgSendResponse defines the Msg/Send response type. -message MsgSendResponse {} - -// MsgMultiSend represents an arbitrary multi-in, multi-out send message. -message MsgMultiSend { - option (cosmos.msg.v1.signer) = "inputs"; - - option (gogoproto.equal) = false; - - repeated Input inputs = 1 [(gogoproto.nullable) = false]; - repeated Output outputs = 2 [(gogoproto.nullable) = false]; -} - -// MsgMultiSendResponse defines the Msg/MultiSend response type. -message MsgMultiSendResponse {} diff --git a/quicksilverjs/proto/cosmos/base/abci/v1beta1/abci.proto b/quicksilverjs/proto/cosmos/base/abci/v1beta1/abci.proto deleted file mode 100644 index 09a2fcc47..000000000 --- a/quicksilverjs/proto/cosmos/base/abci/v1beta1/abci.proto +++ /dev/null @@ -1,158 +0,0 @@ -syntax = "proto3"; -package cosmos.base.abci.v1beta1; - -import "gogoproto/gogo.proto"; -import "tendermint/abci/types.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types"; -option (gogoproto.goproto_stringer_all) = false; - -// TxResponse defines a structure containing relevant tx data and metadata. The -// tags are stringified and the log is JSON decoded. -message TxResponse { - option (gogoproto.goproto_getters) = false; - // The block height - int64 height = 1; - // The transaction hash. - string txhash = 2 [(gogoproto.customname) = "TxHash"]; - // Namespace for the Code - string codespace = 3; - // Response code. - uint32 code = 4; - // Result bytes, if any. - string data = 5; - // The output of the application's logger (raw string). May be - // non-deterministic. - string raw_log = 6; - // The output of the application's logger (typed). May be non-deterministic. - repeated ABCIMessageLog logs = 7 [(gogoproto.castrepeated) = "ABCIMessageLogs", (gogoproto.nullable) = false]; - // Additional information. May be non-deterministic. - string info = 8; - // Amount of gas requested for transaction. - int64 gas_wanted = 9; - // Amount of gas consumed by transaction. - int64 gas_used = 10; - // The request transaction bytes. - google.protobuf.Any tx = 11; - // Time of the previous block. For heights > 1, it's the weighted median of - // the timestamps of the valid votes in the block.LastCommit. For height == 1, - // it's genesis time. - string timestamp = 12; - // Events defines all the events emitted by processing a transaction. Note, - // these events include those emitted by processing all the messages and those - // emitted from the ante handler. Whereas Logs contains the events, with - // additional metadata, emitted only by processing the messages. - // - // Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 - repeated tendermint.abci.Event events = 13 [(gogoproto.nullable) = false]; -} - -// ABCIMessageLog defines a structure containing an indexed tx ABCI message log. -message ABCIMessageLog { - option (gogoproto.stringer) = true; - - uint32 msg_index = 1 [(gogoproto.jsontag) = "msg_index"]; - string log = 2; - - // Events contains a slice of Event objects that were emitted during some - // execution. - repeated StringEvent events = 3 [(gogoproto.castrepeated) = "StringEvents", (gogoproto.nullable) = false]; -} - -// StringEvent defines en Event object wrapper where all the attributes -// contain key/value pairs that are strings instead of raw bytes. -message StringEvent { - option (gogoproto.stringer) = true; - - string type = 1; - repeated Attribute attributes = 2 [(gogoproto.nullable) = false]; -} - -// Attribute defines an attribute wrapper where the key and value are -// strings instead of raw bytes. -message Attribute { - string key = 1; - string value = 2; -} - -// GasInfo defines tx execution gas context. -message GasInfo { - // GasWanted is the maximum units of work we allow this tx to perform. - uint64 gas_wanted = 1; - - // GasUsed is the amount of gas actually consumed. - uint64 gas_used = 2; -} - -// Result is the union of ResponseFormat and ResponseCheckTx. -message Result { - option (gogoproto.goproto_getters) = false; - - // Data is any data returned from message or handler execution. It MUST be - // length prefixed in order to separate data from multiple message executions. - // Deprecated. This field is still populated, but prefer msg_response instead - // because it also contains the Msg response typeURL. - bytes data = 1 [deprecated = true]; - - // Log contains the log information from message or handler execution. - string log = 2; - - // Events contains a slice of Event objects that were emitted during message - // or handler execution. - repeated tendermint.abci.Event events = 3 [(gogoproto.nullable) = false]; - - // msg_responses contains the Msg handler responses type packed in Anys. - // - // Since: cosmos-sdk 0.46 - repeated google.protobuf.Any msg_responses = 4; -} - -// SimulationResponse defines the response generated when a transaction is -// successfully simulated. -message SimulationResponse { - GasInfo gas_info = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; - Result result = 2; -} - -// MsgData defines the data returned in a Result object during message -// execution. -message MsgData { - option deprecated = true; - option (gogoproto.stringer) = true; - - string msg_type = 1; - bytes data = 2; -} - -// TxMsgData defines a list of MsgData. A transaction will have a MsgData object -// for each message. -message TxMsgData { - option (gogoproto.stringer) = true; - - // data field is deprecated and not populated. - repeated MsgData data = 1 [deprecated = true]; - - // msg_responses contains the Msg handler responses packed into Anys. - // - // Since: cosmos-sdk 0.46 - repeated google.protobuf.Any msg_responses = 2; -} - -// SearchTxsResult defines a structure for querying txs pageable -message SearchTxsResult { - option (gogoproto.stringer) = true; - - // Count of all txs - uint64 total_count = 1; - // Count of txs in current page - uint64 count = 2; - // Index of current page, start from 1 - uint64 page_number = 3; - // Count of total pages - uint64 page_total = 4; - // Max count txs per page - uint64 limit = 5; - // List of txs in current page - repeated TxResponse txs = 6; -} diff --git a/quicksilverjs/proto/cosmos/base/kv/v1beta1/kv.proto b/quicksilverjs/proto/cosmos/base/kv/v1beta1/kv.proto deleted file mode 100644 index 4e9b8d285..000000000 --- a/quicksilverjs/proto/cosmos/base/kv/v1beta1/kv.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package cosmos.base.kv.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types/kv"; - -// Pairs defines a repeated slice of Pair objects. -message Pairs { - repeated Pair pairs = 1 [(gogoproto.nullable) = false]; -} - -// Pair defines a key/value bytes tuple. -message Pair { - bytes key = 1; - bytes value = 2; -} diff --git a/quicksilverjs/proto/cosmos/base/query/v1beta1/pagination.proto b/quicksilverjs/proto/cosmos/base/query/v1beta1/pagination.proto deleted file mode 100644 index 0a368144a..000000000 --- a/quicksilverjs/proto/cosmos/base/query/v1beta1/pagination.proto +++ /dev/null @@ -1,56 +0,0 @@ -syntax = "proto3"; -package cosmos.base.query.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/types/query"; - -// PageRequest is to be embedded in gRPC request messages for efficient -// pagination. Ex: -// -// message SomeRequest { -// Foo some_parameter = 1; -// PageRequest pagination = 2; -// } -message PageRequest { - // key is a value returned in PageResponse.next_key to begin - // querying the next page most efficiently. Only one of offset or key - // should be set. - bytes key = 1; - - // offset is a numeric offset that can be used when key is unavailable. - // It is less efficient than using key. Only one of offset or key should - // be set. - uint64 offset = 2; - - // limit is the total number of results to be returned in the result page. - // If left empty it will default to a value to be set by each app. - uint64 limit = 3; - - // count_total is set to true to indicate that the result set should include - // a count of the total number of items available for pagination in UIs. - // count_total is only respected when offset is used. It is ignored when key - // is set. - bool count_total = 4; - - // reverse is set to true if results are to be returned in the descending order. - // - // Since: cosmos-sdk 0.43 - bool reverse = 5; -} - -// PageResponse is to be embedded in gRPC response messages where the -// corresponding request message has used PageRequest. -// -// message SomeResponse { -// repeated Bar results = 1; -// PageResponse page = 2; -// } -message PageResponse { - // next_key is the key to be passed to PageRequest.key to - // query the next page most efficiently. It will be empty if - // there are no more results. - bytes next_key = 1; - - // total is total number of results available if PageRequest.count_total - // was set, its value is undefined otherwise - uint64 total = 2; -} diff --git a/quicksilverjs/proto/cosmos/base/reflection/v1beta1/reflection.proto b/quicksilverjs/proto/cosmos/base/reflection/v1beta1/reflection.proto deleted file mode 100644 index 22670e72b..000000000 --- a/quicksilverjs/proto/cosmos/base/reflection/v1beta1/reflection.proto +++ /dev/null @@ -1,44 +0,0 @@ -syntax = "proto3"; -package cosmos.base.reflection.v1beta1; - -import "google/api/annotations.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/reflection"; - -// ReflectionService defines a service for interface reflection. -service ReflectionService { - // ListAllInterfaces lists all the interfaces registered in the interface - // registry. - rpc ListAllInterfaces(ListAllInterfacesRequest) returns (ListAllInterfacesResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces"; - }; - - // ListImplementations list all the concrete types that implement a given - // interface. - rpc ListImplementations(ListImplementationsRequest) returns (ListImplementationsResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/interfaces/" - "{interface_name}/implementations"; - }; -} - -// ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. -message ListAllInterfacesRequest {} - -// ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. -message ListAllInterfacesResponse { - // interface_names is an array of all the registered interfaces. - repeated string interface_names = 1; -} - -// ListImplementationsRequest is the request type of the ListImplementations -// RPC. -message ListImplementationsRequest { - // interface_name defines the interface to query the implementations for. - string interface_name = 1; -} - -// ListImplementationsResponse is the response type of the ListImplementations -// RPC. -message ListImplementationsResponse { - repeated string implementation_message_names = 1; -} diff --git a/quicksilverjs/proto/cosmos/base/reflection/v2alpha1/reflection.proto b/quicksilverjs/proto/cosmos/base/reflection/v2alpha1/reflection.proto deleted file mode 100644 index d5b048558..000000000 --- a/quicksilverjs/proto/cosmos/base/reflection/v2alpha1/reflection.proto +++ /dev/null @@ -1,218 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.base.reflection.v2alpha1; - -import "google/api/annotations.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/server/grpc/reflection/v2alpha1"; - -// AppDescriptor describes a cosmos-sdk based application -message AppDescriptor { - // AuthnDescriptor provides information on how to authenticate transactions on the application - // NOTE: experimental and subject to change in future releases. - AuthnDescriptor authn = 1; - // chain provides the chain descriptor - ChainDescriptor chain = 2; - // codec provides metadata information regarding codec related types - CodecDescriptor codec = 3; - // configuration provides metadata information regarding the sdk.Config type - ConfigurationDescriptor configuration = 4; - // query_services provides metadata information regarding the available queriable endpoints - QueryServicesDescriptor query_services = 5; - // tx provides metadata information regarding how to send transactions to the given application - TxDescriptor tx = 6; -} - -// TxDescriptor describes the accepted transaction type -message TxDescriptor { - // fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) - // it is not meant to support polymorphism of transaction types, it is supposed to be used by - // reflection clients to understand if they can handle a specific transaction type in an application. - string fullname = 1; - // msgs lists the accepted application messages (sdk.Msg) - repeated MsgDescriptor msgs = 2; -} - -// AuthnDescriptor provides information on how to sign transactions without relying -// on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures -message AuthnDescriptor { - // sign_modes defines the supported signature algorithm - repeated SigningModeDescriptor sign_modes = 1; -} - -// SigningModeDescriptor provides information on a signing flow of the application -// NOTE(fdymylja): here we could go as far as providing an entire flow on how -// to sign a message given a SigningModeDescriptor, but it's better to think about -// this another time -message SigningModeDescriptor { - // name defines the unique name of the signing mode - string name = 1; - // number is the unique int32 identifier for the sign_mode enum - int32 number = 2; - // authn_info_provider_method_fullname defines the fullname of the method to call to get - // the metadata required to authenticate using the provided sign_modes - string authn_info_provider_method_fullname = 3; -} - -// ChainDescriptor describes chain information of the application -message ChainDescriptor { - // id is the chain id - string id = 1; -} - -// CodecDescriptor describes the registered interfaces and provides metadata information on the types -message CodecDescriptor { - // interfaces is a list of the registerted interfaces descriptors - repeated InterfaceDescriptor interfaces = 1; -} - -// InterfaceDescriptor describes the implementation of an interface -message InterfaceDescriptor { - // fullname is the name of the interface - string fullname = 1; - // interface_accepting_messages contains information regarding the proto messages which contain the interface as - // google.protobuf.Any field - repeated InterfaceAcceptingMessageDescriptor interface_accepting_messages = 2; - // interface_implementers is a list of the descriptors of the interface implementers - repeated InterfaceImplementerDescriptor interface_implementers = 3; -} - -// InterfaceImplementerDescriptor describes an interface implementer -message InterfaceImplementerDescriptor { - // fullname is the protobuf queryable name of the interface implementer - string fullname = 1; - // type_url defines the type URL used when marshalling the type as any - // this is required so we can provide type safe google.protobuf.Any marshalling and - // unmarshalling, making sure that we don't accept just 'any' type - // in our interface fields - string type_url = 2; -} - -// InterfaceAcceptingMessageDescriptor describes a protobuf message which contains -// an interface represented as a google.protobuf.Any -message InterfaceAcceptingMessageDescriptor { - // fullname is the protobuf fullname of the type containing the interface - string fullname = 1; - // field_descriptor_names is a list of the protobuf name (not fullname) of the field - // which contains the interface as google.protobuf.Any (the interface is the same, but - // it can be in multiple fields of the same proto message) - repeated string field_descriptor_names = 2; -} - -// ConfigurationDescriptor contains metadata information on the sdk.Config -message ConfigurationDescriptor { - // bech32_account_address_prefix is the account address prefix - string bech32_account_address_prefix = 1; -} - -// MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction -message MsgDescriptor { - // msg_type_url contains the TypeURL of a sdk.Msg. - string msg_type_url = 1; -} - -// ReflectionService defines a service for application reflection. -service ReflectionService { - // GetAuthnDescriptor returns information on how to authenticate transactions in the application - // NOTE: this RPC is still experimental and might be subject to breaking changes or removal in - // future releases of the cosmos-sdk. - rpc GetAuthnDescriptor(GetAuthnDescriptorRequest) returns (GetAuthnDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/authn"; - } - // GetChainDescriptor returns the description of the chain - rpc GetChainDescriptor(GetChainDescriptorRequest) returns (GetChainDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/chain"; - }; - // GetCodecDescriptor returns the descriptor of the codec of the application - rpc GetCodecDescriptor(GetCodecDescriptorRequest) returns (GetCodecDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/codec"; - } - // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application - rpc GetConfigurationDescriptor(GetConfigurationDescriptorRequest) returns (GetConfigurationDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/configuration"; - } - // GetQueryServicesDescriptor returns the available gRPC queryable services of the application - rpc GetQueryServicesDescriptor(GetQueryServicesDescriptorRequest) returns (GetQueryServicesDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/query_services"; - } - // GetTxDescriptor returns information on the used transaction object and available msgs that can be used - rpc GetTxDescriptor(GetTxDescriptorRequest) returns (GetTxDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/tx_descriptor"; - } -} - -// GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC -message GetAuthnDescriptorRequest {} -// GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC -message GetAuthnDescriptorResponse { - // authn describes how to authenticate to the application when sending transactions - AuthnDescriptor authn = 1; -} - -// GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC -message GetChainDescriptorRequest {} -// GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC -message GetChainDescriptorResponse { - // chain describes application chain information - ChainDescriptor chain = 1; -} - -// GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC -message GetCodecDescriptorRequest {} -// GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC -message GetCodecDescriptorResponse { - // codec describes the application codec such as registered interfaces and implementations - CodecDescriptor codec = 1; -} - -// GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC -message GetConfigurationDescriptorRequest {} -// GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC -message GetConfigurationDescriptorResponse { - // config describes the application's sdk.Config - ConfigurationDescriptor config = 1; -} - -// GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC -message GetQueryServicesDescriptorRequest {} -// GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC -message GetQueryServicesDescriptorResponse { - // queries provides information on the available queryable services - QueryServicesDescriptor queries = 1; -} - -// GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC -message GetTxDescriptorRequest {} -// GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC -message GetTxDescriptorResponse { - // tx provides information on msgs that can be forwarded to the application - // alongside the accepted transaction protobuf type - TxDescriptor tx = 1; -} - -// QueryServicesDescriptor contains the list of cosmos-sdk queriable services -message QueryServicesDescriptor { - // query_services is a list of cosmos-sdk QueryServiceDescriptor - repeated QueryServiceDescriptor query_services = 1; -} - -// QueryServiceDescriptor describes a cosmos-sdk queryable service -message QueryServiceDescriptor { - // fullname is the protobuf fullname of the service descriptor - string fullname = 1; - // is_module describes if this service is actually exposed by an application's module - bool is_module = 2; - // methods provides a list of query service methods - repeated QueryMethodDescriptor methods = 3; -} - -// QueryMethodDescriptor describes a queryable method of a query service -// no other info is provided beside method name and tendermint queryable path -// because it would be redundant with the grpc reflection service -message QueryMethodDescriptor { - // name is the protobuf name (not fullname) of the method - string name = 1; - // full_query_path is the path that can be used to query - // this method via tendermint abci.Query - string full_query_path = 2; -} diff --git a/quicksilverjs/proto/cosmos/base/snapshots/v1beta1/snapshot.proto b/quicksilverjs/proto/cosmos/base/snapshots/v1beta1/snapshot.proto deleted file mode 100644 index a89e0b4c3..000000000 --- a/quicksilverjs/proto/cosmos/base/snapshots/v1beta1/snapshot.proto +++ /dev/null @@ -1,70 +0,0 @@ -syntax = "proto3"; -package cosmos.base.snapshots.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/snapshots/types"; - -// Snapshot contains Tendermint state sync snapshot info. -message Snapshot { - uint64 height = 1; - uint32 format = 2; - uint32 chunks = 3; - bytes hash = 4; - Metadata metadata = 5 [(gogoproto.nullable) = false]; -} - -// Metadata contains SDK-specific snapshot metadata. -message Metadata { - repeated bytes chunk_hashes = 1; // SHA-256 chunk hashes -} - -// SnapshotItem is an item contained in a rootmulti.Store snapshot. -message SnapshotItem { - // item is the specific type of snapshot item. - oneof item { - SnapshotStoreItem store = 1; - SnapshotIAVLItem iavl = 2 [(gogoproto.customname) = "IAVL"]; - SnapshotExtensionMeta extension = 3; - SnapshotExtensionPayload extension_payload = 4; - SnapshotKVItem kv = 5 [(gogoproto.customname) = "KV"]; - SnapshotSchema schema = 6; - } -} - -// SnapshotStoreItem contains metadata about a snapshotted store. -message SnapshotStoreItem { - string name = 1; -} - -// SnapshotIAVLItem is an exported IAVL node. -message SnapshotIAVLItem { - bytes key = 1; - bytes value = 2; - // version is block height - int64 version = 3; - // height is depth of the tree. - int32 height = 4; -} - -// SnapshotExtensionMeta contains metadata about an external snapshotter. -message SnapshotExtensionMeta { - string name = 1; - uint32 format = 2; -} - -// SnapshotExtensionPayload contains payloads of an external snapshotter. -message SnapshotExtensionPayload { - bytes payload = 1; -} - -// SnapshotKVItem is an exported Key/Value Pair -message SnapshotKVItem { - bytes key = 1; - bytes value = 2; -} - -// SnapshotSchema is an exported schema of smt store -message SnapshotSchema{ - repeated bytes keys = 1; -} diff --git a/quicksilverjs/proto/cosmos/base/store/v1beta1/commit_info.proto b/quicksilverjs/proto/cosmos/base/store/v1beta1/commit_info.proto deleted file mode 100644 index 98a33d30e..000000000 --- a/quicksilverjs/proto/cosmos/base/store/v1beta1/commit_info.proto +++ /dev/null @@ -1,29 +0,0 @@ -syntax = "proto3"; -package cosmos.base.store.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/store/types"; - -// CommitInfo defines commit information used by the multi-store when committing -// a version/height. -message CommitInfo { - int64 version = 1; - repeated StoreInfo store_infos = 2 [(gogoproto.nullable) = false]; -} - -// StoreInfo defines store-specific commit information. It contains a reference -// between a store name and the commit ID. -message StoreInfo { - string name = 1; - CommitID commit_id = 2 [(gogoproto.nullable) = false]; -} - -// CommitID defines the committment information when a specific store is -// committed. -message CommitID { - option (gogoproto.goproto_stringer) = false; - - int64 version = 1; - bytes hash = 2; -} diff --git a/quicksilverjs/proto/cosmos/base/store/v1beta1/listening.proto b/quicksilverjs/proto/cosmos/base/store/v1beta1/listening.proto deleted file mode 100644 index 359997109..000000000 --- a/quicksilverjs/proto/cosmos/base/store/v1beta1/listening.proto +++ /dev/null @@ -1,16 +0,0 @@ -syntax = "proto3"; -package cosmos.base.store.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/store/types"; - -// StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) -// It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and -// Deletes -// -// Since: cosmos-sdk 0.43 -message StoreKVPair { - string store_key = 1; // the store key for the KVStore this pair originates from - bool delete = 2; // true indicates a delete operation, false indicates a set operation - bytes key = 3; - bytes value = 4; -} diff --git a/quicksilverjs/proto/cosmos/base/tendermint/v1beta1/query.proto b/quicksilverjs/proto/cosmos/base/tendermint/v1beta1/query.proto deleted file mode 100644 index 96a46e53c..000000000 --- a/quicksilverjs/proto/cosmos/base/tendermint/v1beta1/query.proto +++ /dev/null @@ -1,138 +0,0 @@ -syntax = "proto3"; -package cosmos.base.tendermint.v1beta1; - -import "google/protobuf/any.proto"; -import "google/api/annotations.proto"; -import "tendermint/p2p/types.proto"; -import "tendermint/types/block.proto"; -import "tendermint/types/types.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/client/grpc/tmservice"; - -// Service defines the gRPC querier service for tendermint queries. -service Service { - // GetNodeInfo queries the current node info. - rpc GetNodeInfo(GetNodeInfoRequest) returns (GetNodeInfoResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/node_info"; - } - // GetSyncing queries node syncing. - rpc GetSyncing(GetSyncingRequest) returns (GetSyncingResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/syncing"; - } - // GetLatestBlock returns the latest block. - rpc GetLatestBlock(GetLatestBlockRequest) returns (GetLatestBlockResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/latest"; - } - // GetBlockByHeight queries block for given height. - rpc GetBlockByHeight(GetBlockByHeightRequest) returns (GetBlockByHeightResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/blocks/{height}"; - } - - // GetLatestValidatorSet queries latest validator-set. - rpc GetLatestValidatorSet(GetLatestValidatorSetRequest) returns (GetLatestValidatorSetResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/latest"; - } - // GetValidatorSetByHeight queries validator-set at a given height. - rpc GetValidatorSetByHeight(GetValidatorSetByHeightRequest) returns (GetValidatorSetByHeightResponse) { - option (google.api.http).get = "/cosmos/base/tendermint/v1beta1/validatorsets/{height}"; - } -} - -// GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. -message GetValidatorSetByHeightRequest { - int64 height = 1; - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. -message GetValidatorSetByHeightResponse { - int64 block_height = 1; - repeated Validator validators = 2; - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 3; -} - -// GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. -message GetLatestValidatorSetRequest { - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. -message GetLatestValidatorSetResponse { - int64 block_height = 1; - repeated Validator validators = 2; - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 3; -} - -// Validator is the type for the validator-set. -message Validator { - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - google.protobuf.Any pub_key = 2; - int64 voting_power = 3; - int64 proposer_priority = 4; -} - -// GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. -message GetBlockByHeightRequest { - int64 height = 1; -} - -// GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. -message GetBlockByHeightResponse { - .tendermint.types.BlockID block_id = 1; - .tendermint.types.Block block = 2; -} - -// GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. -message GetLatestBlockRequest {} - -// GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. -message GetLatestBlockResponse { - .tendermint.types.BlockID block_id = 1; - .tendermint.types.Block block = 2; -} - -// GetSyncingRequest is the request type for the Query/GetSyncing RPC method. -message GetSyncingRequest {} - -// GetSyncingResponse is the response type for the Query/GetSyncing RPC method. -message GetSyncingResponse { - bool syncing = 1; -} - -// GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. -message GetNodeInfoRequest {} - -// GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. -message GetNodeInfoResponse { - .tendermint.p2p.NodeInfo node_info = 1; - VersionInfo application_version = 2; -} - -// VersionInfo is the type for the GetNodeInfoResponse message. -message VersionInfo { - string name = 1; - string app_name = 2; - string version = 3; - string git_commit = 4; - string build_tags = 5; - string go_version = 6; - repeated Module build_deps = 7; - // Since: cosmos-sdk 0.43 - string cosmos_sdk_version = 8; -} - -// Module is the type for VersionInfo -message Module { - // module path - string path = 1; - // module version - string version = 2; - // checksum - string sum = 3; -} diff --git a/quicksilverjs/proto/cosmos/base/v1beta1/coin.proto b/quicksilverjs/proto/cosmos/base/v1beta1/coin.proto deleted file mode 100644 index 69e67e099..000000000 --- a/quicksilverjs/proto/cosmos/base/v1beta1/coin.proto +++ /dev/null @@ -1,43 +0,0 @@ -syntax = "proto3"; -package cosmos.base.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types"; -option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.stringer_all) = false; - -// Coin defines a token with a denomination and an amount. -// -// NOTE: The amount field is an Int which implements the custom method -// signatures required by gogoproto. -message Coin { - option (gogoproto.equal) = true; - - string denom = 1; - string amount = 2 - [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; -} - -// DecCoin defines a token with a denomination and a decimal amount. -// -// NOTE: The amount field is an Dec which implements the custom method -// signatures required by gogoproto. -message DecCoin { - option (gogoproto.equal) = true; - - string denom = 1; - string amount = 2 - [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; -} - -// IntProto defines a Protobuf wrapper around an Int object. -message IntProto { - string int = 1 [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "Int", (gogoproto.nullable) = false]; -} - -// DecProto defines a Protobuf wrapper around a Dec object. -message DecProto { - string dec = 1 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "Dec", (gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/capability/v1beta1/capability.proto b/quicksilverjs/proto/cosmos/capability/v1beta1/capability.proto deleted file mode 100644 index c433566d3..000000000 --- a/quicksilverjs/proto/cosmos/capability/v1beta1/capability.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; -package cosmos.capability.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; - -import "gogoproto/gogo.proto"; - -// Capability defines an implementation of an object capability. The index -// provided to a Capability must be globally unique. -message Capability { - option (gogoproto.goproto_stringer) = false; - - uint64 index = 1; -} - -// Owner defines a single capability owner. An owner is defined by the name of -// capability and the module name. -message Owner { - option (gogoproto.goproto_stringer) = false; - option (gogoproto.goproto_getters) = false; - - string module = 1; - string name = 2; -} - -// CapabilityOwners defines a set of owners of a single Capability. The set of -// owners must be unique. -message CapabilityOwners { - repeated Owner owners = 1 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/capability/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/capability/v1beta1/genesis.proto deleted file mode 100644 index b5482439c..000000000 --- a/quicksilverjs/proto/cosmos/capability/v1beta1/genesis.proto +++ /dev/null @@ -1,26 +0,0 @@ -syntax = "proto3"; -package cosmos.capability.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/capability/v1beta1/capability.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/capability/types"; - -// GenesisOwners defines the capability owners with their corresponding index. -message GenesisOwners { - // index is the index of the capability owner. - uint64 index = 1; - - // index_owners are the owners at the given index. - CapabilityOwners index_owners = 2 [(gogoproto.nullable) = false]; -} - -// GenesisState defines the capability module's genesis state. -message GenesisState { - // index is the capability global index. - uint64 index = 1; - - // owners represents a map from index to owners of the capability index - // index key is string to allow amino marshalling. - repeated GenesisOwners owners = 2 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/crisis/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/crisis/v1beta1/genesis.proto deleted file mode 100644 index 5c2916046..000000000 --- a/quicksilverjs/proto/cosmos/crisis/v1beta1/genesis.proto +++ /dev/null @@ -1,14 +0,0 @@ -syntax = "proto3"; -package cosmos.crisis.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -// GenesisState defines the crisis module's genesis state. -message GenesisState { - // constant_fee is the fee used to verify the invariant in the crisis - // module. - cosmos.base.v1beta1.Coin constant_fee = 3 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/crisis/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/crisis/v1beta1/tx.proto deleted file mode 100644 index fea9059f6..000000000 --- a/quicksilverjs/proto/cosmos/crisis/v1beta1/tx.proto +++ /dev/null @@ -1,29 +0,0 @@ -syntax = "proto3"; -package cosmos.crisis.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/crisis/types"; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -// Msg defines the bank Msg service. -service Msg { - // VerifyInvariant defines a method to verify a particular invariance. - rpc VerifyInvariant(MsgVerifyInvariant) returns (MsgVerifyInvariantResponse); -} - -// MsgVerifyInvariant represents a message to verify a particular invariance. -message MsgVerifyInvariant { - option (cosmos.msg.v1.signer) = "sender"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string sender = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string invariant_module_name = 2; - string invariant_route = 3; -} - -// MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. -message MsgVerifyInvariantResponse {} diff --git a/quicksilverjs/proto/cosmos/crypto/ed25519/keys.proto b/quicksilverjs/proto/cosmos/crypto/ed25519/keys.proto deleted file mode 100644 index 6ffec3448..000000000 --- a/quicksilverjs/proto/cosmos/crypto/ed25519/keys.proto +++ /dev/null @@ -1,23 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.ed25519; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"; - -// PubKey is an ed25519 public key for handling Tendermint keys in SDK. -// It's needed for Any serialization and SDK compatibility. -// It must not be used in a non Tendermint key context because it doesn't implement -// ADR-28. Nevertheless, you will like to use ed25519 in app user level -// then you must create a new proto message and follow ADR-28 for Address construction. -message PubKey { - option (gogoproto.goproto_stringer) = false; - - bytes key = 1 [(gogoproto.casttype) = "crypto/ed25519.PublicKey"]; -} - -// Deprecated: PrivKey defines a ed25519 private key. -// NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. -message PrivKey { - bytes key = 1 [(gogoproto.casttype) = "crypto/ed25519.PrivateKey"]; -} diff --git a/quicksilverjs/proto/cosmos/crypto/hd/v1/hd.proto b/quicksilverjs/proto/cosmos/crypto/hd/v1/hd.proto deleted file mode 100644 index e4a95afcb..000000000 --- a/quicksilverjs/proto/cosmos/crypto/hd/v1/hd.proto +++ /dev/null @@ -1,23 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.hd.v1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/hd"; -option (gogoproto.goproto_getters_all) = false; - -// BIP44Params is used as path field in ledger item in Record. -message BIP44Params { - option (gogoproto.goproto_stringer) = false; - // purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation - uint32 purpose = 1; - // coin_type is a constant that improves privacy - uint32 coin_type = 2; - // account splits the key space into independent user identities - uint32 account = 3; - // change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal - // chain. - bool change = 4; - // address_index is used as child index in BIP32 derivation - uint32 address_index = 5; -} diff --git a/quicksilverjs/proto/cosmos/crypto/keyring/v1/record.proto b/quicksilverjs/proto/cosmos/crypto/keyring/v1/record.proto deleted file mode 100644 index 9b2d3c964..000000000 --- a/quicksilverjs/proto/cosmos/crypto/keyring/v1/record.proto +++ /dev/null @@ -1,47 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.keyring.v1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos/crypto/hd/v1/hd.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keyring"; -option (gogoproto.goproto_getters_all) = false; - -// Record is used for representing a key in the keyring. -message Record { - // name represents a name of Record - string name = 1; - // pub_key represents a public key in any format - google.protobuf.Any pub_key = 2; - - // Record contains one of the following items - oneof item { - // local stores the public information about a locally stored key - Local local = 3; - // ledger stores the public information about a Ledger key - Ledger ledger = 4; - // Multi does not store any information. - Multi multi = 5; - // Offline does not store any information. - Offline offline = 6; - } - - // Item is a keyring item stored in a keyring backend. - // Local item - message Local { - google.protobuf.Any priv_key = 1; - string priv_key_type = 2; - } - - // Ledger item - message Ledger { - hd.v1.BIP44Params path = 1; - } - - // Multi item - message Multi {} - - // Offline item - message Offline {} -} diff --git a/quicksilverjs/proto/cosmos/crypto/multisig/keys.proto b/quicksilverjs/proto/cosmos/crypto/multisig/keys.proto deleted file mode 100644 index 7a11fe336..000000000 --- a/quicksilverjs/proto/cosmos/crypto/multisig/keys.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.multisig; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/multisig"; - -// LegacyAminoPubKey specifies a public key type -// which nests multiple public keys and a threshold, -// it uses legacy amino address rules. -message LegacyAminoPubKey { - option (gogoproto.goproto_getters) = false; - - uint32 threshold = 1; - repeated google.protobuf.Any public_keys = 2 [(gogoproto.customname) = "PubKeys"]; -} diff --git a/quicksilverjs/proto/cosmos/crypto/multisig/v1beta1/multisig.proto b/quicksilverjs/proto/cosmos/crypto/multisig/v1beta1/multisig.proto deleted file mode 100644 index bf671f171..000000000 --- a/quicksilverjs/proto/cosmos/crypto/multisig/v1beta1/multisig.proto +++ /dev/null @@ -1,25 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.multisig.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/types"; - -// MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. -// See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers -// signed and with which modes. -message MultiSignature { - option (gogoproto.goproto_unrecognized) = true; - repeated bytes signatures = 1; -} - -// CompactBitArray is an implementation of a space efficient bit array. -// This is used to ensure that the encoded data takes up a minimal amount of -// space after proto encoding. -// This is not thread safe, and is not intended for concurrent usage. -message CompactBitArray { - option (gogoproto.goproto_stringer) = false; - - uint32 extra_bits_stored = 1; - bytes elems = 2; -} diff --git a/quicksilverjs/proto/cosmos/crypto/secp256k1/keys.proto b/quicksilverjs/proto/cosmos/crypto/secp256k1/keys.proto deleted file mode 100644 index a22725713..000000000 --- a/quicksilverjs/proto/cosmos/crypto/secp256k1/keys.proto +++ /dev/null @@ -1,22 +0,0 @@ -syntax = "proto3"; -package cosmos.crypto.secp256k1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"; - -// PubKey defines a secp256k1 public key -// Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte -// if the y-coordinate is the lexicographically largest of the two associated with -// the x-coordinate. Otherwise the first byte is a 0x03. -// This prefix is followed with the x-coordinate. -message PubKey { - option (gogoproto.goproto_stringer) = false; - - bytes key = 1; -} - -// PrivKey defines a secp256k1 private key. -message PrivKey { - bytes key = 1; -} diff --git a/quicksilverjs/proto/cosmos/crypto/secp256r1/keys.proto b/quicksilverjs/proto/cosmos/crypto/secp256r1/keys.proto deleted file mode 100644 index 2e96c6e3c..000000000 --- a/quicksilverjs/proto/cosmos/crypto/secp256r1/keys.proto +++ /dev/null @@ -1,23 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.crypto.secp256r1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/secp256r1"; -option (gogoproto.messagename_all) = true; -option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.goproto_getters_all) = false; - -// PubKey defines a secp256r1 ECDSA public key. -message PubKey { - // Point on secp256r1 curve in a compressed representation as specified in section - // 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998 - bytes key = 1 [(gogoproto.customtype) = "ecdsaPK"]; -} - -// PrivKey defines a secp256r1 ECDSA private key. -message PrivKey { - // secret number serialized using big-endian encoding - bytes secret = 1 [(gogoproto.customtype) = "ecdsaSK"]; -} diff --git a/quicksilverjs/proto/cosmos/distribution/v1beta1/distribution.proto b/quicksilverjs/proto/cosmos/distribution/v1beta1/distribution.proto deleted file mode 100644 index 1afe25ae4..000000000 --- a/quicksilverjs/proto/cosmos/distribution/v1beta1/distribution.proto +++ /dev/null @@ -1,154 +0,0 @@ -syntax = "proto3"; -package cosmos.distribution.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos_proto/cosmos.proto"; - -// Params defines the set of params for the distribution module. -message Params { - option (gogoproto.goproto_stringer) = false; - string community_tax = 1 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string base_proposer_reward = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string bonus_proposer_reward = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - bool withdraw_addr_enabled = 4; -} - -// ValidatorHistoricalRewards represents historical rewards for a validator. -// Height is implicit within the store key. -// Cumulative reward ratio is the sum from the zeroeth period -// until this period of rewards / tokens, per the spec. -// The reference count indicates the number of objects -// which might need to reference this historical entry at any point. -// ReferenceCount = -// number of outstanding delegations which ended the associated period (and -// might need to read that record) -// + number of slashes which ended the associated period (and might need to -// read that record) -// + one per validator for the zeroeth period, set on initialization -message ValidatorHistoricalRewards { - repeated cosmos.base.v1beta1.DecCoin cumulative_reward_ratio = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; - uint32 reference_count = 2; -} - -// ValidatorCurrentRewards represents current rewards and current -// period for a validator kept as a running counter and incremented -// each block as long as the validator's tokens remain constant. -message ValidatorCurrentRewards { - repeated cosmos.base.v1beta1.DecCoin rewards = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; - uint64 period = 2; -} - -// ValidatorAccumulatedCommission represents accumulated commission -// for a validator kept as a running counter, can be withdrawn at any time. -message ValidatorAccumulatedCommission { - repeated cosmos.base.v1beta1.DecCoin commission = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; -} - -// ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards -// for a validator inexpensive to track, allows simple sanity checks. -message ValidatorOutstandingRewards { - repeated cosmos.base.v1beta1.DecCoin rewards = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; -} - -// ValidatorSlashEvent represents a validator slash event. -// Height is implicit within the store key. -// This is needed to calculate appropriate amount of staking tokens -// for delegations which are withdrawn after a slash has occurred. -message ValidatorSlashEvent { - uint64 validator_period = 1; - string fraction = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. -message ValidatorSlashEvents { - option (gogoproto.goproto_stringer) = false; - repeated ValidatorSlashEvent validator_slash_events = 1 [(gogoproto.nullable) = false]; -} - -// FeePool is the global fee pool for distribution. -message FeePool { - repeated cosmos.base.v1beta1.DecCoin community_pool = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; -} - -// CommunityPoolSpendProposal details a proposal for use of community funds, -// together with how many coins are proposed to be spent, and to which -// recipient account. -message CommunityPoolSpendProposal { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; - string recipient = 3; - repeated cosmos.base.v1beta1.Coin amount = 4 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// DelegatorStartingInfo represents the starting info for a delegator reward -// period. It tracks the previous validator period, the delegation's amount of -// staking token, and the creation height (to check later on if any slashes have -// occurred). NOTE: Even though validators are slashed to whole staking tokens, -// the delegators within the validator may be left with less than a full token, -// thus sdk.Dec is used. -message DelegatorStartingInfo { - uint64 previous_period = 1; - string stake = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - uint64 height = 3 [(gogoproto.jsontag) = "creation_height"]; -} - -// DelegationDelegatorReward represents the properties -// of a delegator's delegation reward. -message DelegationDelegatorReward { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = true; - - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - repeated cosmos.base.v1beta1.DecCoin reward = 2 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; -} - -// CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal -// with a deposit -message CommunityPoolSpendProposalWithDeposit { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = true; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; - string recipient = 3; - string amount = 4; - string deposit = 5; -} diff --git a/quicksilverjs/proto/cosmos/distribution/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/distribution/v1beta1/genesis.proto deleted file mode 100644 index 4662e8df4..000000000 --- a/quicksilverjs/proto/cosmos/distribution/v1beta1/genesis.proto +++ /dev/null @@ -1,144 +0,0 @@ -syntax = "proto3"; -package cosmos.distribution.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/distribution/v1beta1/distribution.proto"; -import "cosmos_proto/cosmos.proto"; - -// DelegatorWithdrawInfo is the address for where distributions rewards are -// withdrawn to by default this struct is only used at genesis to feed in -// default withdraw addresses. -message DelegatorWithdrawInfo { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_address is the address of the delegator. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // withdraw_address is the address to withdraw the delegation rewards to. - string withdraw_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// ValidatorOutstandingRewardsRecord is used for import/export via genesis json. -message ValidatorOutstandingRewardsRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validator_address is the address of the validator. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // outstanding_rewards represents the oustanding rewards of a validator. - repeated cosmos.base.v1beta1.DecCoin outstanding_rewards = 2 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; -} - -// ValidatorAccumulatedCommissionRecord is used for import / export via genesis -// json. -message ValidatorAccumulatedCommissionRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validator_address is the address of the validator. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // accumulated is the accumulated commission of a validator. - ValidatorAccumulatedCommission accumulated = 2 [(gogoproto.nullable) = false]; -} - -// ValidatorHistoricalRewardsRecord is used for import / export via genesis -// json. -message ValidatorHistoricalRewardsRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validator_address is the address of the validator. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // period defines the period the historical rewards apply to. - uint64 period = 2; - - // rewards defines the historical rewards of a validator. - ValidatorHistoricalRewards rewards = 3 [(gogoproto.nullable) = false]; -} - -// ValidatorCurrentRewardsRecord is used for import / export via genesis json. -message ValidatorCurrentRewardsRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validator_address is the address of the validator. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // rewards defines the current rewards of a validator. - ValidatorCurrentRewards rewards = 2 [(gogoproto.nullable) = false]; -} - -// DelegatorStartingInfoRecord used for import / export via genesis json. -message DelegatorStartingInfoRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_address is the address of the delegator. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // validator_address is the address of the validator. - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // starting_info defines the starting info of a delegator. - DelegatorStartingInfo starting_info = 3 [(gogoproto.nullable) = false]; -} - -// ValidatorSlashEventRecord is used for import / export via genesis json. -message ValidatorSlashEventRecord { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validator_address is the address of the validator. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // height defines the block height at which the slash event occured. - uint64 height = 2; - // period is the period of the slash event. - uint64 period = 3; - // validator_slash_event describes the slash event. - ValidatorSlashEvent validator_slash_event = 4 [(gogoproto.nullable) = false]; -} - -// GenesisState defines the distribution module's genesis state. -message GenesisState { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // params defines all the paramaters of the module. - Params params = 1 [(gogoproto.nullable) = false]; - - // fee_pool defines the fee pool at genesis. - FeePool fee_pool = 2 [(gogoproto.nullable) = false]; - - // fee_pool defines the delegator withdraw infos at genesis. - repeated DelegatorWithdrawInfo delegator_withdraw_infos = 3 [(gogoproto.nullable) = false]; - - // fee_pool defines the previous proposer at genesis. - string previous_proposer = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // fee_pool defines the outstanding rewards of all validators at genesis. - repeated ValidatorOutstandingRewardsRecord outstanding_rewards = 5 [(gogoproto.nullable) = false]; - - // fee_pool defines the accumulated commisions of all validators at genesis. - repeated ValidatorAccumulatedCommissionRecord validator_accumulated_commissions = 6 [(gogoproto.nullable) = false]; - - // fee_pool defines the historical rewards of all validators at genesis. - repeated ValidatorHistoricalRewardsRecord validator_historical_rewards = 7 [(gogoproto.nullable) = false]; - - // fee_pool defines the current rewards of all validators at genesis. - repeated ValidatorCurrentRewardsRecord validator_current_rewards = 8 [(gogoproto.nullable) = false]; - - // fee_pool defines the delegator starting infos at genesis. - repeated DelegatorStartingInfoRecord delegator_starting_infos = 9 [(gogoproto.nullable) = false]; - - // fee_pool defines the validator slash events at genesis. - repeated ValidatorSlashEventRecord validator_slash_events = 10 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/distribution/v1beta1/query.proto b/quicksilverjs/proto/cosmos/distribution/v1beta1/query.proto deleted file mode 100644 index a09413fc9..000000000 --- a/quicksilverjs/proto/cosmos/distribution/v1beta1/query.proto +++ /dev/null @@ -1,219 +0,0 @@ -syntax = "proto3"; -package cosmos.distribution.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/distribution/v1beta1/distribution.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; - -// Query defines the gRPC querier service for distribution module. -service Query { - // Params queries params of the distribution module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/params"; - } - - // ValidatorOutstandingRewards queries rewards of a validator address. - rpc ValidatorOutstandingRewards(QueryValidatorOutstandingRewardsRequest) - returns (QueryValidatorOutstandingRewardsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/" - "{validator_address}/outstanding_rewards"; - } - - // ValidatorCommission queries accumulated commission for a validator. - rpc ValidatorCommission(QueryValidatorCommissionRequest) returns (QueryValidatorCommissionResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/" - "{validator_address}/commission"; - } - - // ValidatorSlashes queries slash events of a validator. - rpc ValidatorSlashes(QueryValidatorSlashesRequest) returns (QueryValidatorSlashesResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/validators/{validator_address}/slashes"; - } - - // DelegationRewards queries the total rewards accrued by a delegation. - rpc DelegationRewards(QueryDelegationRewardsRequest) returns (QueryDelegationRewardsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/" - "{validator_address}"; - } - - // DelegationTotalRewards queries the total rewards accrued by a each - // validator. - rpc DelegationTotalRewards(QueryDelegationTotalRewardsRequest) returns (QueryDelegationTotalRewardsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards"; - } - - // DelegatorValidators queries the validators of a delegator. - rpc DelegatorValidators(QueryDelegatorValidatorsRequest) returns (QueryDelegatorValidatorsResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/" - "{delegator_address}/validators"; - } - - // DelegatorWithdrawAddress queries withdraw address of a delegator. - rpc DelegatorWithdrawAddress(QueryDelegatorWithdrawAddressRequest) returns (QueryDelegatorWithdrawAddressResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/delegators/" - "{delegator_address}/withdraw_address"; - } - - // CommunityPool queries the community pool coins. - rpc CommunityPool(QueryCommunityPoolRequest) returns (QueryCommunityPoolResponse) { - option (google.api.http).get = "/cosmos/distribution/v1beta1/community_pool"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [(gogoproto.nullable) = false]; -} - -// QueryValidatorOutstandingRewardsRequest is the request type for the -// Query/ValidatorOutstandingRewards RPC method. -message QueryValidatorOutstandingRewardsRequest { - // validator_address defines the validator address to query for. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryValidatorOutstandingRewardsResponse is the response type for the -// Query/ValidatorOutstandingRewards RPC method. -message QueryValidatorOutstandingRewardsResponse { - ValidatorOutstandingRewards rewards = 1 [(gogoproto.nullable) = false]; -} - -// QueryValidatorCommissionRequest is the request type for the -// Query/ValidatorCommission RPC method -message QueryValidatorCommissionRequest { - // validator_address defines the validator address to query for. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryValidatorCommissionResponse is the response type for the -// Query/ValidatorCommission RPC method -message QueryValidatorCommissionResponse { - // commission defines the commision the validator received. - ValidatorAccumulatedCommission commission = 1 [(gogoproto.nullable) = false]; -} - -// QueryValidatorSlashesRequest is the request type for the -// Query/ValidatorSlashes RPC method -message QueryValidatorSlashesRequest { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = true; - - // validator_address defines the validator address to query for. - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // starting_height defines the optional starting height to query the slashes. - uint64 starting_height = 2; - // starting_height defines the optional ending height to query the slashes. - uint64 ending_height = 3; - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - -// QueryValidatorSlashesResponse is the response type for the -// Query/ValidatorSlashes RPC method. -message QueryValidatorSlashesResponse { - // slashes defines the slashes the validator received. - repeated ValidatorSlashEvent slashes = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDelegationRewardsRequest is the request type for the -// Query/DelegationRewards RPC method. -message QueryDelegationRewardsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_address defines the delegator address to query for. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_address defines the validator address to query for. - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegationRewardsResponse is the response type for the -// Query/DelegationRewards RPC method. -message QueryDelegationRewardsResponse { - // rewards defines the rewards accrued by a delegation. - repeated cosmos.base.v1beta1.DecCoin rewards = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; -} - -// QueryDelegationTotalRewardsRequest is the request type for the -// Query/DelegationTotalRewards RPC method. -message QueryDelegationTotalRewardsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - // delegator_address defines the delegator address to query for. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegationTotalRewardsResponse is the response type for the -// Query/DelegationTotalRewards RPC method. -message QueryDelegationTotalRewardsResponse { - // rewards defines all the rewards accrued by a delegator. - repeated DelegationDelegatorReward rewards = 1 [(gogoproto.nullable) = false]; - // total defines the sum of all the rewards. - repeated cosmos.base.v1beta1.DecCoin total = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins"]; -} - -// QueryDelegatorValidatorsRequest is the request type for the -// Query/DelegatorValidators RPC method. -message QueryDelegatorValidatorsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_address defines the delegator address to query for. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegatorValidatorsResponse is the response type for the -// Query/DelegatorValidators RPC method. -message QueryDelegatorValidatorsResponse { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // validators defines the validators a delegator is delegating for. - repeated string validators = 1; -} - -// QueryDelegatorWithdrawAddressRequest is the request type for the -// Query/DelegatorWithdrawAddress RPC method. -message QueryDelegatorWithdrawAddressRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_address defines the delegator address to query for. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegatorWithdrawAddressResponse is the response type for the -// Query/DelegatorWithdrawAddress RPC method. -message QueryDelegatorWithdrawAddressResponse { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // withdraw_address defines the delegator address to query for. - string withdraw_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC -// method. -message QueryCommunityPoolRequest {} - -// QueryCommunityPoolResponse is the response type for the Query/CommunityPool -// RPC method. -message QueryCommunityPoolResponse { - // pool defines community pool's coins. - repeated cosmos.base.v1beta1.DecCoin pool = 1 - [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.DecCoins", (gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/distribution/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/distribution/v1beta1/tx.proto deleted file mode 100644 index 7f22dce95..000000000 --- a/quicksilverjs/proto/cosmos/distribution/v1beta1/tx.proto +++ /dev/null @@ -1,95 +0,0 @@ -syntax = "proto3"; -package cosmos.distribution.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/distribution/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -// Msg defines the distribution Msg service. -service Msg { - // SetWithdrawAddress defines a method to change the withdraw address - // for a delegator (or validator self-delegation). - rpc SetWithdrawAddress(MsgSetWithdrawAddress) returns (MsgSetWithdrawAddressResponse); - - // WithdrawDelegatorReward defines a method to withdraw rewards of delegator - // from a single validator. - rpc WithdrawDelegatorReward(MsgWithdrawDelegatorReward) returns (MsgWithdrawDelegatorRewardResponse); - - // WithdrawValidatorCommission defines a method to withdraw the - // full commission to the validator address. - rpc WithdrawValidatorCommission(MsgWithdrawValidatorCommission) returns (MsgWithdrawValidatorCommissionResponse); - - // FundCommunityPool defines a method to allow an account to directly - // fund the community pool. - rpc FundCommunityPool(MsgFundCommunityPool) returns (MsgFundCommunityPoolResponse); -} - -// MsgSetWithdrawAddress sets the withdraw address for -// a delegator (or validator self-delegation). -message MsgSetWithdrawAddress { - option (cosmos.msg.v1.signer) = "delegator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string withdraw_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. -message MsgSetWithdrawAddressResponse {} - -// MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator -// from a single validator. -message MsgWithdrawDelegatorReward { - option (cosmos.msg.v1.signer) = "delegator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. -message MsgWithdrawDelegatorRewardResponse { - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// MsgWithdrawValidatorCommission withdraws the full commission to the validator -// address. -message MsgWithdrawValidatorCommission { - option (cosmos.msg.v1.signer) = "validator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. -message MsgWithdrawValidatorCommissionResponse { - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// MsgFundCommunityPool allows an account to directly -// fund the community pool. -message MsgFundCommunityPool { - option (cosmos.msg.v1.signer) = "depositor"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. -message MsgFundCommunityPoolResponse {} diff --git a/quicksilverjs/proto/cosmos/evidence/v1beta1/evidence.proto b/quicksilverjs/proto/cosmos/evidence/v1beta1/evidence.proto deleted file mode 100644 index 83f9ec3d3..000000000 --- a/quicksilverjs/proto/cosmos/evidence/v1beta1/evidence.proto +++ /dev/null @@ -1,22 +0,0 @@ -syntax = "proto3"; -package cosmos.evidence.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos_proto/cosmos.proto"; - -// Equivocation implements the Evidence interface and defines evidence of double -// signing misbehavior. -message Equivocation { - option (gogoproto.goproto_stringer) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.equal) = false; - - int64 height = 1; - google.protobuf.Timestamp time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - int64 power = 3; - string consensus_address = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos/evidence/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/evidence/v1beta1/genesis.proto deleted file mode 100644 index 199f446f7..000000000 --- a/quicksilverjs/proto/cosmos/evidence/v1beta1/genesis.proto +++ /dev/null @@ -1,12 +0,0 @@ -syntax = "proto3"; -package cosmos.evidence.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; - -import "google/protobuf/any.proto"; - -// GenesisState defines the evidence module's genesis state. -message GenesisState { - // evidence defines all the evidence at genesis. - repeated google.protobuf.Any evidence = 1; -} diff --git a/quicksilverjs/proto/cosmos/evidence/v1beta1/query.proto b/quicksilverjs/proto/cosmos/evidence/v1beta1/query.proto deleted file mode 100644 index eda00544c..000000000 --- a/quicksilverjs/proto/cosmos/evidence/v1beta1/query.proto +++ /dev/null @@ -1,51 +0,0 @@ -syntax = "proto3"; -package cosmos.evidence.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "google/api/annotations.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; - -// Query defines the gRPC querier service. -service Query { - // Evidence queries evidence based on evidence hash. - rpc Evidence(QueryEvidenceRequest) returns (QueryEvidenceResponse) { - option (google.api.http).get = "/cosmos/evidence/v1beta1/evidence/{evidence_hash}"; - } - - // AllEvidence queries all evidence. - rpc AllEvidence(QueryAllEvidenceRequest) returns (QueryAllEvidenceResponse) { - option (google.api.http).get = "/cosmos/evidence/v1beta1/evidence"; - } -} - -// QueryEvidenceRequest is the request type for the Query/Evidence RPC method. -message QueryEvidenceRequest { - // evidence_hash defines the hash of the requested evidence. - bytes evidence_hash = 1 [(gogoproto.casttype) = "github.com/tendermint/tendermint/libs/bytes.HexBytes"]; -} - -// QueryEvidenceResponse is the response type for the Query/Evidence RPC method. -message QueryEvidenceResponse { - // evidence returns the requested evidence. - google.protobuf.Any evidence = 1; -} - -// QueryEvidenceRequest is the request type for the Query/AllEvidence RPC -// method. -message QueryAllEvidenceRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC -// method. -message QueryAllEvidenceResponse { - // evidence returns all evidences. - repeated google.protobuf.Any evidence = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/quicksilverjs/proto/cosmos/evidence/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/evidence/v1beta1/tx.proto deleted file mode 100644 index 90f629647..000000000 --- a/quicksilverjs/proto/cosmos/evidence/v1beta1/tx.proto +++ /dev/null @@ -1,35 +0,0 @@ -syntax = "proto3"; -package cosmos.evidence.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/evidence/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -// Msg defines the evidence Msg service. -service Msg { - // SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or - // counterfactual signing. - rpc SubmitEvidence(MsgSubmitEvidence) returns (MsgSubmitEvidenceResponse); -} - -// MsgSubmitEvidence represents a message that supports submitting arbitrary -// Evidence of misbehavior such as equivocation or counterfactual signing. -message MsgSubmitEvidence { - option (cosmos.msg.v1.signer) = "submitter"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string submitter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - google.protobuf.Any evidence = 2 [(cosmos_proto.accepts_interface) = "cosmos.evidence.Evidence"]; -} - -// MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. -message MsgSubmitEvidenceResponse { - // hash defines the hash of the evidence. - bytes hash = 4; -} diff --git a/quicksilverjs/proto/cosmos/feegrant/v1beta1/feegrant.proto b/quicksilverjs/proto/cosmos/feegrant/v1beta1/feegrant.proto deleted file mode 100644 index 25fec10b2..000000000 --- a/quicksilverjs/proto/cosmos/feegrant/v1beta1/feegrant.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.feegrant.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "google/protobuf/timestamp.proto"; -import "google/protobuf/duration.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; - -// BasicAllowance implements Allowance with a one-time grant of tokens -// that optionally expires. The grantee can use up to SpendLimit to cover fees. -message BasicAllowance { - option (cosmos_proto.implements_interface) = "cosmos.feegrant.FeeAllowanceI"; - - // spend_limit specifies the maximum amount of tokens that can be spent - // by this allowance and will be updated as tokens are spent. If it is - // empty, there is no spend limit and any amount of coins can be spent. - repeated cosmos.base.v1beta1.Coin spend_limit = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // expiration specifies an optional time when this allowance expires - google.protobuf.Timestamp expiration = 2 [(gogoproto.stdtime) = true]; -} - -// PeriodicAllowance extends Allowance to allow for both a maximum cap, -// as well as a limit per time period. -message PeriodicAllowance { - option (cosmos_proto.implements_interface) = "cosmos.feegrant.FeeAllowanceI"; - - // basic specifies a struct of `BasicAllowance` - BasicAllowance basic = 1 [(gogoproto.nullable) = false]; - - // period specifies the time duration in which period_spend_limit coins can - // be spent before that allowance is reset - google.protobuf.Duration period = 2 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; - - // period_spend_limit specifies the maximum number of coins that can be spent - // in the period - repeated cosmos.base.v1beta1.Coin period_spend_limit = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // period_can_spend is the number of coins left to be spent before the period_reset time - repeated cosmos.base.v1beta1.Coin period_can_spend = 4 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // period_reset is the time at which this period resets and a new one begins, - // it is calculated from the start time of the first transaction after the - // last period ended - google.protobuf.Timestamp period_reset = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; -} - -// AllowedMsgAllowance creates allowance only for specified message types. -message AllowedMsgAllowance { - option (gogoproto.goproto_getters) = false; - option (cosmos_proto.implements_interface) = "cosmos.feegrant.FeeAllowanceI"; - - // allowance can be any of basic and periodic fee allowance. - google.protobuf.Any allowance = 1 [(cosmos_proto.accepts_interface) = "cosmos.feegrant.FeeAllowanceI"]; - - // allowed_messages are the messages for which the grantee has the access. - repeated string allowed_messages = 2; -} - -// Grant is stored in the KVStore to record a grant with full context -message Grant { - // granter is the address of the user granting an allowance of their funds. - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // grantee is the address of the user being granted an allowance of another user's funds. - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // allowance can be any of basic, periodic, allowed fee allowance. - google.protobuf.Any allowance = 3 [(cosmos_proto.accepts_interface) = "cosmos.feegrant.FeeAllowanceI"]; -} diff --git a/quicksilverjs/proto/cosmos/feegrant/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/feegrant/v1beta1/genesis.proto deleted file mode 100644 index 5b1ac4ca5..000000000 --- a/quicksilverjs/proto/cosmos/feegrant/v1beta1/genesis.proto +++ /dev/null @@ -1,13 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.feegrant.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/feegrant/v1beta1/feegrant.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; - -// GenesisState contains a set of fee allowances, persisted from the store -message GenesisState { - repeated Grant allowances = 1 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/feegrant/v1beta1/query.proto b/quicksilverjs/proto/cosmos/feegrant/v1beta1/query.proto deleted file mode 100644 index 59c992c91..000000000 --- a/quicksilverjs/proto/cosmos/feegrant/v1beta1/query.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.feegrant.v1beta1; - -import "cosmos/feegrant/v1beta1/feegrant.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "google/api/annotations.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; - -// Query defines the gRPC querier service. -service Query { - - // Allowance returns fee granted to the grantee by the granter. - rpc Allowance(QueryAllowanceRequest) returns (QueryAllowanceResponse) { - option (google.api.http).get = "/cosmos/feegrant/v1beta1/allowance/{granter}/{grantee}"; - } - - // Allowances returns all the grants for address. - rpc Allowances(QueryAllowancesRequest) returns (QueryAllowancesResponse) { - option (google.api.http).get = "/cosmos/feegrant/v1beta1/allowances/{grantee}"; - } - - // AllowancesByGranter returns all the grants given by an address - // Since v0.46 - rpc AllowancesByGranter(QueryAllowancesByGranterRequest) returns (QueryAllowancesByGranterResponse) { - option (google.api.http).get = "/cosmos/feegrant/v1beta1/issued/{granter}"; - } -} - -// QueryAllowanceRequest is the request type for the Query/Allowance RPC method. -message QueryAllowanceRequest { - // granter is the address of the user granting an allowance of their funds. - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // grantee is the address of the user being granted an allowance of another user's funds. - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryAllowanceResponse is the response type for the Query/Allowance RPC method. -message QueryAllowanceResponse { - // allowance is a allowance granted for grantee by granter. - cosmos.feegrant.v1beta1.Grant allowance = 1; -} - -// QueryAllowancesRequest is the request type for the Query/Allowances RPC method. -message QueryAllowancesRequest { - string grantee = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryAllowancesResponse is the response type for the Query/Allowances RPC method. -message QueryAllowancesResponse { - // allowances are allowance's granted for grantee by granter. - repeated cosmos.feegrant.v1beta1.Grant allowances = 1; - - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. -message QueryAllowancesByGranterRequest { - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. -message QueryAllowancesByGranterResponse { - // allowances that have been issued by the granter. - repeated cosmos.feegrant.v1beta1.Grant allowances = 1; - - // pagination defines an pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/quicksilverjs/proto/cosmos/feegrant/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/feegrant/v1beta1/tx.proto deleted file mode 100644 index 5cef05579..000000000 --- a/quicksilverjs/proto/cosmos/feegrant/v1beta1/tx.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Since: cosmos-sdk 0.43 -syntax = "proto3"; -package cosmos.feegrant.v1beta1; - -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/feegrant"; - -// Msg defines the feegrant msg service. -service Msg { - - // GrantAllowance grants fee allowance to the grantee on the granter's - // account with the provided expiration time. - rpc GrantAllowance(MsgGrantAllowance) returns (MsgGrantAllowanceResponse); - - // RevokeAllowance revokes any fee allowance of granter's account that - // has been granted to the grantee. - rpc RevokeAllowance(MsgRevokeAllowance) returns (MsgRevokeAllowanceResponse); -} - -// MsgGrantAllowance adds permission for Grantee to spend up to Allowance -// of fees from the account of Granter. -message MsgGrantAllowance { - option (cosmos.msg.v1.signer) = "granter"; - - // granter is the address of the user granting an allowance of their funds. - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // grantee is the address of the user being granted an allowance of another user's funds. - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // allowance can be any of basic, periodic, allowed fee allowance. - google.protobuf.Any allowance = 3 [(cosmos_proto.accepts_interface) = "cosmos.feegrant.FeeAllowanceI"]; -} - -// MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. -message MsgGrantAllowanceResponse {} - -// MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. -message MsgRevokeAllowance { - option (cosmos.msg.v1.signer) = "granter"; - - // granter is the address of the user granting an allowance of their funds. - string granter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // grantee is the address of the user being granted an allowance of another user's funds. - string grantee = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. -message MsgRevokeAllowanceResponse {} diff --git a/quicksilverjs/proto/cosmos/genutil/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/genutil/v1beta1/genesis.proto deleted file mode 100644 index 958d15feb..000000000 --- a/quicksilverjs/proto/cosmos/genutil/v1beta1/genesis.proto +++ /dev/null @@ -1,12 +0,0 @@ -syntax = "proto3"; -package cosmos.genutil.v1beta1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/genutil/types"; - -// GenesisState defines the raw genesis transaction in JSON. -message GenesisState { - // gen_txs defines the genesis transactions. - repeated bytes gen_txs = 1 [(gogoproto.casttype) = "encoding/json.RawMessage", (gogoproto.jsontag) = "gentxs"]; -} diff --git a/quicksilverjs/proto/cosmos/gov/v1/genesis.proto b/quicksilverjs/proto/cosmos/gov/v1/genesis.proto deleted file mode 100644 index cb44a7f34..000000000 --- a/quicksilverjs/proto/cosmos/gov/v1/genesis.proto +++ /dev/null @@ -1,26 +0,0 @@ -// Since: cosmos-sdk 0.46 -syntax = "proto3"; - -package cosmos.gov.v1; - -import "cosmos/gov/v1/gov.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; - -// GenesisState defines the gov module's genesis state. -message GenesisState { - // starting_proposal_id is the ID of the starting proposal. - uint64 starting_proposal_id = 1; - // deposits defines all the deposits present at genesis. - repeated Deposit deposits = 2; - // votes defines all the votes present at genesis. - repeated Vote votes = 3; - // proposals defines all the proposals present at genesis. - repeated Proposal proposals = 4; - // params defines all the paramaters of related to deposit. - DepositParams deposit_params = 5; - // params defines all the paramaters of related to voting. - VotingParams voting_params = 6; - // params defines all the paramaters of related to tally. - TallyParams tally_params = 7; -} diff --git a/quicksilverjs/proto/cosmos/gov/v1/gov.proto b/quicksilverjs/proto/cosmos/gov/v1/gov.proto deleted file mode 100644 index fb014d65c..000000000 --- a/quicksilverjs/proto/cosmos/gov/v1/gov.proto +++ /dev/null @@ -1,132 +0,0 @@ -// Since: cosmos-sdk 0.46 -syntax = "proto3"; -package cosmos.gov.v1; - -import "cosmos/base/v1beta1/coin.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "google/protobuf/any.proto"; -import "google/protobuf/duration.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; - -// VoteOption enumerates the valid vote options for a given governance proposal. -enum VoteOption { - // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_UNSPECIFIED = 0; - // VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_YES = 1; - // VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_ABSTAIN = 2; - // VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO = 3; - // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. - VOTE_OPTION_NO_WITH_VETO = 4; -} - -// WeightedVoteOption defines a unit of vote for vote split. -message WeightedVoteOption { - VoteOption option = 1; - string weight = 2 [(cosmos_proto.scalar) = "cosmos.Dec"]; -} - -// Deposit defines an amount deposited by an account address to an active -// proposal. -message Deposit { - uint64 proposal_id = 1; - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; -} - -// Proposal defines the core field members of a governance proposal. -message Proposal { - uint64 id = 1; - repeated google.protobuf.Any messages = 2; - ProposalStatus status = 3; - // final_tally_result is the final tally result of the proposal. When - // querying a proposal via gRPC, this field is not populated until the - // proposal's voting period has ended. - TallyResult final_tally_result = 4; - google.protobuf.Timestamp submit_time = 5 [(gogoproto.stdtime) = true]; - google.protobuf.Timestamp deposit_end_time = 6 [(gogoproto.stdtime) = true]; - repeated cosmos.base.v1beta1.Coin total_deposit = 7 [(gogoproto.nullable) = false]; - google.protobuf.Timestamp voting_start_time = 8 [(gogoproto.stdtime) = true]; - google.protobuf.Timestamp voting_end_time = 9 [(gogoproto.stdtime) = true]; - - // metadata is any arbitrary metadata attached to the proposal. - string metadata = 10; -} - -// ProposalStatus enumerates the valid statuses of a proposal. -enum ProposalStatus { - // PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. - PROPOSAL_STATUS_UNSPECIFIED = 0; - // PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - // period. - PROPOSAL_STATUS_DEPOSIT_PERIOD = 1; - // PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - // period. - PROPOSAL_STATUS_VOTING_PERIOD = 2; - // PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - // passed. - PROPOSAL_STATUS_PASSED = 3; - // PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - // been rejected. - PROPOSAL_STATUS_REJECTED = 4; - // PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - // failed. - PROPOSAL_STATUS_FAILED = 5; -} - -// TallyResult defines a standard tally for a governance proposal. -message TallyResult { - string yes_count = 1 [(cosmos_proto.scalar) = "cosmos.Int"]; - string abstain_count = 2 [(cosmos_proto.scalar) = "cosmos.Int"]; - string no_count = 3 [(cosmos_proto.scalar) = "cosmos.Int"]; - string no_with_veto_count = 4 [(cosmos_proto.scalar) = "cosmos.Int"]; -} - -// Vote defines a vote on a governance proposal. -// A Vote consists of a proposal ID, the voter, and the vote option. -message Vote { - uint64 proposal_id = 1; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - reserved 3; - repeated WeightedVoteOption options = 4; - - // metadata is any arbitrary metadata to attached to the vote. - string metadata = 5; -} - -// DepositParams defines the params for deposits on governance proposals. -message DepositParams { - // Minimum deposit for a proposal to enter voting period. - repeated cosmos.base.v1beta1.Coin min_deposit = 1 - [(gogoproto.nullable) = false, (gogoproto.jsontag) = "min_deposit,omitempty"]; - - // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - // months. - google.protobuf.Duration max_deposit_period = 2 - [(gogoproto.stdduration) = true, (gogoproto.jsontag) = "max_deposit_period,omitempty"]; -} - -// VotingParams defines the params for voting on governance proposals. -message VotingParams { - // Length of the voting period. - google.protobuf.Duration voting_period = 1 [(gogoproto.stdduration) = true]; -} - -// TallyParams defines the params for tallying votes on governance proposals. -message TallyParams { - // Minimum percentage of total stake needed to vote for a result to be - // considered valid. - string quorum = 1 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "quorum,omitempty"]; - - // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. - string threshold = 2 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "threshold,omitempty"]; - - // Minimum value of Veto votes to Total votes ratio for proposal to be - // vetoed. Default value: 1/3. - string veto_threshold = 3 [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.jsontag) = "veto_threshold,omitempty"]; -} diff --git a/quicksilverjs/proto/cosmos/gov/v1/query.proto b/quicksilverjs/proto/cosmos/gov/v1/query.proto deleted file mode 100644 index ea46472aa..000000000 --- a/quicksilverjs/proto/cosmos/gov/v1/query.proto +++ /dev/null @@ -1,183 +0,0 @@ - -// Since: cosmos-sdk 0.46 -syntax = "proto3"; -package cosmos.gov.v1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "google/api/annotations.proto"; -import "cosmos/gov/v1/gov.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; - -// Query defines the gRPC querier service for gov module -service Query { - // Proposal queries proposal details based on ProposalID. - rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}"; - } - - // Proposals queries all proposals based on given status. - rpc Proposals(QueryProposalsRequest) returns (QueryProposalsResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals"; - } - - // Vote queries voted information based on proposalID, voterAddr. - rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/votes/{voter}"; - } - - // Votes queries votes of a given proposal. - rpc Votes(QueryVotesRequest) returns (QueryVotesResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/votes"; - } - - // Params queries all parameters of the gov module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/gov/v1/params/{params_type}"; - } - - // Deposit queries single deposit information based proposalID, depositAddr. - rpc Deposit(QueryDepositRequest) returns (QueryDepositResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor}"; - } - - // Deposits queries all deposits of a single proposal. - rpc Deposits(QueryDepositsRequest) returns (QueryDepositsResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/deposits"; - } - - // TallyResult queries the tally of a proposal vote. - rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { - option (google.api.http).get = "/cosmos/gov/v1/proposals/{proposal_id}/tally"; - } -} - -// QueryProposalRequest is the request type for the Query/Proposal RPC method. -message QueryProposalRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; -} - -// QueryProposalResponse is the response type for the Query/Proposal RPC method. -message QueryProposalResponse { - Proposal proposal = 1; -} - -// QueryProposalsRequest is the request type for the Query/Proposals RPC method. -message QueryProposalsRequest { - // proposal_status defines the status of the proposals. - ProposalStatus proposal_status = 1; - - // voter defines the voter address for the proposals. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // depositor defines the deposit addresses from the proposals. - string depositor = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - -// QueryProposalsResponse is the response type for the Query/Proposals RPC -// method. -message QueryProposalsResponse { - repeated Proposal proposals = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryVoteRequest is the request type for the Query/Vote RPC method. -message QueryVoteRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // voter defines the oter address for the proposals. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryVoteResponse is the response type for the Query/Vote RPC method. -message QueryVoteResponse { - // vote defined the queried vote. - Vote vote = 1; -} - -// QueryVotesRequest is the request type for the Query/Votes RPC method. -message QueryVotesRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryVotesResponse is the response type for the Query/Votes RPC method. -message QueryVotesResponse { - // votes defined the queried votes. - repeated Vote votes = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest { - // params_type defines which parameters to query for, can be one of "voting", - // "tallying" or "deposit". - string params_type = 1; -} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // voting_params defines the parameters related to voting. - VotingParams voting_params = 1; - // deposit_params defines the parameters related to deposit. - DepositParams deposit_params = 2; - // tally_params defines the parameters related to tally. - TallyParams tally_params = 3; -} - -// QueryDepositRequest is the request type for the Query/Deposit RPC method. -message QueryDepositRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // depositor defines the deposit addresses from the proposals. - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDepositResponse is the response type for the Query/Deposit RPC method. -message QueryDepositResponse { - // deposit defines the requested deposit. - Deposit deposit = 1; -} - -// QueryDepositsRequest is the request type for the Query/Deposits RPC method. -message QueryDepositsRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryDepositsResponse is the response type for the Query/Deposits RPC method. -message QueryDepositsResponse { - repeated Deposit deposits = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryTallyResultRequest is the request type for the Query/Tally RPC method. -message QueryTallyResultRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; -} - -// QueryTallyResultResponse is the response type for the Query/Tally RPC method. -message QueryTallyResultResponse { - // tally defines the requested tally. - TallyResult tally = 1; -} diff --git a/quicksilverjs/proto/cosmos/gov/v1/tx.proto b/quicksilverjs/proto/cosmos/gov/v1/tx.proto deleted file mode 100644 index 7aee99917..000000000 --- a/quicksilverjs/proto/cosmos/gov/v1/tx.proto +++ /dev/null @@ -1,100 +0,0 @@ -// Since: cosmos-sdk 0.46 -syntax = "proto3"; -package cosmos.gov.v1; - -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/gov/v1/gov.proto"; -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/protobuf/any.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1"; - -// Msg defines the gov Msg service. -service Msg { - // SubmitProposal defines a method to create new proposal given a content. - rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); - - // ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal - // to execute a legacy content-based proposal. - rpc ExecLegacyContent(MsgExecLegacyContent) returns (MsgExecLegacyContentResponse); - - // Vote defines a method to add a vote on a specific proposal. - rpc Vote(MsgVote) returns (MsgVoteResponse); - - // VoteWeighted defines a method to add a weighted vote on a specific proposal. - rpc VoteWeighted(MsgVoteWeighted) returns (MsgVoteWeightedResponse); - - // Deposit defines a method to add deposit on a specific proposal. - rpc Deposit(MsgDeposit) returns (MsgDepositResponse); -} - -// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary -// proposal Content. -message MsgSubmitProposal { - option (cosmos.msg.v1.signer) = "proposer"; - - repeated google.protobuf.Any messages = 1; - repeated cosmos.base.v1beta1.Coin initial_deposit = 2 [(gogoproto.nullable) = false]; - string proposer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // metadata is any arbitrary metadata attached to the proposal. - string metadata = 4; -} - -// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. -message MsgSubmitProposalResponse { - uint64 proposal_id = 1; -} - -// MsgExecLegacyContent is used to wrap the legacy content field into a message. -// This ensures backwards compatibility with v1beta1.MsgSubmitProposal. -message MsgExecLegacyContent { - option (cosmos.msg.v1.signer) = "authority"; - - // content is the proposal's content. - google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "cosmos.gov.v1beta1.Content"]; - // authority must be the gov module address. - string authority = 2; -} - -// MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. -message MsgExecLegacyContentResponse {} - -// MsgVote defines a message to cast a vote. -message MsgVote { - option (cosmos.msg.v1.signer) = "voter"; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - VoteOption option = 3; - string metadata = 4; -} - -// MsgVoteResponse defines the Msg/Vote response type. -message MsgVoteResponse {} - -// MsgVoteWeighted defines a message to cast a vote. -message MsgVoteWeighted { - option (cosmos.msg.v1.signer) = "voter"; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated WeightedVoteOption options = 3; - string metadata = 4; -} - -// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. -message MsgVoteWeightedResponse {} - -// MsgDeposit defines a message to submit a deposit to an existing proposal. -message MsgDeposit { - option (cosmos.msg.v1.signer) = "depositor"; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; -} - -// MsgDepositResponse defines the Msg/Deposit response type. -message MsgDepositResponse {} diff --git a/quicksilverjs/proto/cosmos/gov/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/gov/v1beta1/genesis.proto deleted file mode 100644 index be9b07e46..000000000 --- a/quicksilverjs/proto/cosmos/gov/v1beta1/genesis.proto +++ /dev/null @@ -1,26 +0,0 @@ -syntax = "proto3"; - -package cosmos.gov.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/gov/v1beta1/gov.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; - -// GenesisState defines the gov module's genesis state. -message GenesisState { - // starting_proposal_id is the ID of the starting proposal. - uint64 starting_proposal_id = 1; - // deposits defines all the deposits present at genesis. - repeated Deposit deposits = 2 [(gogoproto.castrepeated) = "Deposits", (gogoproto.nullable) = false]; - // votes defines all the votes present at genesis. - repeated Vote votes = 3 [(gogoproto.castrepeated) = "Votes", (gogoproto.nullable) = false]; - // proposals defines all the proposals present at genesis. - repeated Proposal proposals = 4 [(gogoproto.castrepeated) = "Proposals", (gogoproto.nullable) = false]; - // params defines all the paramaters of related to deposit. - DepositParams deposit_params = 5 [(gogoproto.nullable) = false]; - // params defines all the paramaters of related to voting. - VotingParams voting_params = 6 [(gogoproto.nullable) = false]; - // params defines all the paramaters of related to tally. - TallyParams tally_params = 7 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/gov/v1beta1/gov.proto b/quicksilverjs/proto/cosmos/gov/v1beta1/gov.proto deleted file mode 100644 index c23dd925a..000000000 --- a/quicksilverjs/proto/cosmos/gov/v1beta1/gov.proto +++ /dev/null @@ -1,201 +0,0 @@ -syntax = "proto3"; -package cosmos.gov.v1beta1; - -import "cosmos/base/v1beta1/coin.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "google/protobuf/any.proto"; -import "google/protobuf/duration.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; - -option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.stringer_all) = false; -option (gogoproto.goproto_getters_all) = false; - -// VoteOption enumerates the valid vote options for a given governance proposal. -enum VoteOption { - option (gogoproto.goproto_enum_prefix) = false; - - // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "OptionEmpty"]; - // VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_YES = 1 [(gogoproto.enumvalue_customname) = "OptionYes"]; - // VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_ABSTAIN = 2 [(gogoproto.enumvalue_customname) = "OptionAbstain"]; - // VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO = 3 [(gogoproto.enumvalue_customname) = "OptionNo"]; - // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. - VOTE_OPTION_NO_WITH_VETO = 4 [(gogoproto.enumvalue_customname) = "OptionNoWithVeto"]; -} - -// WeightedVoteOption defines a unit of vote for vote split. -// -// Since: cosmos-sdk 0.43 -message WeightedVoteOption { - VoteOption option = 1; - string weight = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// TextProposal defines a standard text proposal whose changes need to be -// manually updated in case of approval. -message TextProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - option (gogoproto.equal) = true; - - string title = 1; - string description = 2; -} - -// Deposit defines an amount deposited by an account address to an active -// proposal. -message Deposit { - option (gogoproto.goproto_getters) = false; - option (gogoproto.equal) = false; - - uint64 proposal_id = 1; - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// Proposal defines the core field members of a governance proposal. -message Proposal { - option (gogoproto.equal) = true; - - uint64 proposal_id = 1; - google.protobuf.Any content = 2 [(cosmos_proto.accepts_interface) = "cosmos.gov.v1beta1.Content"]; - ProposalStatus status = 3; - // final_tally_result is the final tally result of the proposal. When - // querying a proposal via gRPC, this field is not populated until the - // proposal's voting period has ended. - TallyResult final_tally_result = 4 [(gogoproto.nullable) = false]; - google.protobuf.Timestamp submit_time = 5 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - google.protobuf.Timestamp deposit_end_time = 6 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - repeated cosmos.base.v1beta1.Coin total_deposit = 7 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - google.protobuf.Timestamp voting_start_time = 8 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - google.protobuf.Timestamp voting_end_time = 9 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; -} - -// ProposalStatus enumerates the valid statuses of a proposal. -enum ProposalStatus { - option (gogoproto.goproto_enum_prefix) = false; - - // PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. - PROPOSAL_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "StatusNil"]; - // PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - // period. - PROPOSAL_STATUS_DEPOSIT_PERIOD = 1 [(gogoproto.enumvalue_customname) = "StatusDepositPeriod"]; - // PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - // period. - PROPOSAL_STATUS_VOTING_PERIOD = 2 [(gogoproto.enumvalue_customname) = "StatusVotingPeriod"]; - // PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - // passed. - PROPOSAL_STATUS_PASSED = 3 [(gogoproto.enumvalue_customname) = "StatusPassed"]; - // PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - // been rejected. - PROPOSAL_STATUS_REJECTED = 4 [(gogoproto.enumvalue_customname) = "StatusRejected"]; - // PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - // failed. - PROPOSAL_STATUS_FAILED = 5 [(gogoproto.enumvalue_customname) = "StatusFailed"]; -} - -// TallyResult defines a standard tally for a governance proposal. -message TallyResult { - option (gogoproto.equal) = true; - - string yes = 1 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string abstain = 2 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string no = 3 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string no_with_veto = 4 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} - -// Vote defines a vote on a governance proposal. -// A Vote consists of a proposal ID, the voter, and the vote option. -message Vote { - option (gogoproto.goproto_stringer) = false; - option (gogoproto.equal) = false; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "id"]; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Deprecated: Prefer to use `options` instead. This field is set in queries - // if and only if `len(options) == 1` and that option has weight 1. In all - // other cases, this field will default to VOTE_OPTION_UNSPECIFIED. - VoteOption option = 3 [deprecated = true]; - // Since: cosmos-sdk 0.43 - repeated WeightedVoteOption options = 4 [(gogoproto.nullable) = false]; -} - -// DepositParams defines the params for deposits on governance proposals. -message DepositParams { - // Minimum deposit for a proposal to enter voting period. - repeated cosmos.base.v1beta1.Coin min_deposit = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.jsontag) = "min_deposit,omitempty" - ]; - - // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - // months. - google.protobuf.Duration max_deposit_period = 2 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "max_deposit_period,omitempty" - ]; -} - -// VotingParams defines the params for voting on governance proposals. -message VotingParams { - // Length of the voting period. - google.protobuf.Duration voting_period = 1 - [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.jsontag) = "voting_period,omitempty"]; -} - -// TallyParams defines the params for tallying votes on governance proposals. -message TallyParams { - // Minimum percentage of total stake needed to vote for a result to be - // considered valid. - bytes quorum = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "quorum,omitempty" - ]; - - // Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. - bytes threshold = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "threshold,omitempty" - ]; - - // Minimum value of Veto votes to Total votes ratio for proposal to be - // vetoed. Default value: 1/3. - bytes veto_threshold = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "veto_threshold,omitempty" - ]; -} diff --git a/quicksilverjs/proto/cosmos/gov/v1beta1/query.proto b/quicksilverjs/proto/cosmos/gov/v1beta1/query.proto deleted file mode 100644 index e8837fd27..000000000 --- a/quicksilverjs/proto/cosmos/gov/v1beta1/query.proto +++ /dev/null @@ -1,191 +0,0 @@ -syntax = "proto3"; -package cosmos.gov.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/gov/v1beta1/gov.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; - -// Query defines the gRPC querier service for gov module -service Query { - // Proposal queries proposal details based on ProposalID. - rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}"; - } - - // Proposals queries all proposals based on given status. - rpc Proposals(QueryProposalsRequest) returns (QueryProposalsResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals"; - } - - // Vote queries voted information based on proposalID, voterAddr. - rpc Vote(QueryVoteRequest) returns (QueryVoteResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}"; - } - - // Votes queries votes of a given proposal. - rpc Votes(QueryVotesRequest) returns (QueryVotesResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes"; - } - - // Params queries all parameters of the gov module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/params/{params_type}"; - } - - // Deposit queries single deposit information based proposalID, depositAddr. - rpc Deposit(QueryDepositRequest) returns (QueryDepositResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}"; - } - - // Deposits queries all deposits of a single proposal. - rpc Deposits(QueryDepositsRequest) returns (QueryDepositsResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits"; - } - - // TallyResult queries the tally of a proposal vote. - rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { - option (google.api.http).get = "/cosmos/gov/v1beta1/proposals/{proposal_id}/tally"; - } -} - -// QueryProposalRequest is the request type for the Query/Proposal RPC method. -message QueryProposalRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; -} - -// QueryProposalResponse is the response type for the Query/Proposal RPC method. -message QueryProposalResponse { - Proposal proposal = 1 [(gogoproto.nullable) = false]; -} - -// QueryProposalsRequest is the request type for the Query/Proposals RPC method. -message QueryProposalsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // proposal_status defines the status of the proposals. - ProposalStatus proposal_status = 1; - - // voter defines the voter address for the proposals. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // depositor defines the deposit addresses from the proposals. - string depositor = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - -// QueryProposalsResponse is the response type for the Query/Proposals RPC -// method. -message QueryProposalsResponse { - repeated Proposal proposals = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryVoteRequest is the request type for the Query/Vote RPC method. -message QueryVoteRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // voter defines the oter address for the proposals. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryVoteResponse is the response type for the Query/Vote RPC method. -message QueryVoteResponse { - // vote defined the queried vote. - Vote vote = 1 [(gogoproto.nullable) = false]; -} - -// QueryVotesRequest is the request type for the Query/Votes RPC method. -message QueryVotesRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryVotesResponse is the response type for the Query/Votes RPC method. -message QueryVotesResponse { - // votes defined the queried votes. - repeated Vote votes = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest { - // params_type defines which parameters to query for, can be one of "voting", - // "tallying" or "deposit". - string params_type = 1; -} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // voting_params defines the parameters related to voting. - VotingParams voting_params = 1 [(gogoproto.nullable) = false]; - // deposit_params defines the parameters related to deposit. - DepositParams deposit_params = 2 [(gogoproto.nullable) = false]; - // tally_params defines the parameters related to tally. - TallyParams tally_params = 3 [(gogoproto.nullable) = false]; -} - -// QueryDepositRequest is the request type for the Query/Deposit RPC method. -message QueryDepositRequest { - option (gogoproto.goproto_getters) = false; - option (gogoproto.equal) = false; - - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // depositor defines the deposit addresses from the proposals. - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDepositResponse is the response type for the Query/Deposit RPC method. -message QueryDepositResponse { - // deposit defines the requested deposit. - Deposit deposit = 1 [(gogoproto.nullable) = false]; -} - -// QueryDepositsRequest is the request type for the Query/Deposits RPC method. -message QueryDepositsRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryDepositsResponse is the response type for the Query/Deposits RPC method. -message QueryDepositsResponse { - repeated Deposit deposits = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryTallyResultRequest is the request type for the Query/Tally RPC method. -message QueryTallyResultRequest { - // proposal_id defines the unique id of the proposal. - uint64 proposal_id = 1; -} - -// QueryTallyResultResponse is the response type for the Query/Tally RPC method. -message QueryTallyResultResponse { - // tally defines the requested tally. - TallyResult tally = 1 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/gov/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/gov/v1beta1/tx.proto deleted file mode 100644 index 6b2f1689c..000000000 --- a/quicksilverjs/proto/cosmos/gov/v1beta1/tx.proto +++ /dev/null @@ -1,106 +0,0 @@ -syntax = "proto3"; -package cosmos.gov.v1beta1; - -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/gov/v1beta1/gov.proto"; -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta1"; - -// Msg defines the bank Msg service. -service Msg { - // SubmitProposal defines a method to create new proposal given a content. - rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); - - // Vote defines a method to add a vote on a specific proposal. - rpc Vote(MsgVote) returns (MsgVoteResponse); - - // VoteWeighted defines a method to add a weighted vote on a specific proposal. - // - // Since: cosmos-sdk 0.43 - rpc VoteWeighted(MsgVoteWeighted) returns (MsgVoteWeightedResponse); - - // Deposit defines a method to add deposit on a specific proposal. - rpc Deposit(MsgDeposit) returns (MsgDepositResponse); -} - -// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary -// proposal Content. -message MsgSubmitProposal { - option (cosmos.msg.v1.signer) = "proposer"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; - - google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "cosmos.gov.v1beta1.Content"]; - repeated cosmos.base.v1beta1.Coin initial_deposit = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - string proposer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. -message MsgSubmitProposalResponse { - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; -} - -// MsgVote defines a message to cast a vote. -message MsgVote { - option (cosmos.msg.v1.signer) = "voter"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; - - uint64 proposal_id = 1; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - VoteOption option = 3; -} - -// MsgVoteResponse defines the Msg/Vote response type. -message MsgVoteResponse {} - -// MsgVoteWeighted defines a message to cast a vote. -// -// Since: cosmos-sdk 0.43 -message MsgVoteWeighted { - option (cosmos.msg.v1.signer) = "voter"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated WeightedVoteOption options = 3 [(gogoproto.nullable) = false]; -} - -// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. -// -// Since: cosmos-sdk 0.43 -message MsgVoteWeightedResponse {} - -// MsgDeposit defines a message to submit a deposit to an existing proposal. -message MsgDeposit { - option (cosmos.msg.v1.signer) = "depositor"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = false; - option (gogoproto.goproto_getters) = false; - - uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; - string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// MsgDepositResponse defines the Msg/Deposit response type. -message MsgDepositResponse {} diff --git a/quicksilverjs/proto/cosmos/group/v1/events.proto b/quicksilverjs/proto/cosmos/group/v1/events.proto deleted file mode 100644 index e8907243a..000000000 --- a/quicksilverjs/proto/cosmos/group/v1/events.proto +++ /dev/null @@ -1,77 +0,0 @@ -syntax = "proto3"; - -package cosmos.group.v1; - -import "cosmos_proto/cosmos.proto"; -import "cosmos/group/v1/types.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/group"; - -// EventCreateGroup is an event emitted when a group is created. -message EventCreateGroup { - - // group_id is the unique ID of the group. - uint64 group_id = 1; -} - -// EventUpdateGroup is an event emitted when a group is updated. -message EventUpdateGroup { - - // group_id is the unique ID of the group. - uint64 group_id = 1; -} - -// EventCreateGroupPolicy is an event emitted when a group policy is created. -message EventCreateGroupPolicy { - - // address is the account address of the group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// EventUpdateGroupPolicy is an event emitted when a group policy is updated. -message EventUpdateGroupPolicy { - - // address is the account address of the group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// EventSubmitProposal is an event emitted when a proposal is created. -message EventSubmitProposal { - - // proposal_id is the unique ID of the proposal. - uint64 proposal_id = 1; -} - -// EventWithdrawProposal is an event emitted when a proposal is withdrawn. -message EventWithdrawProposal { - - // proposal_id is the unique ID of the proposal. - uint64 proposal_id = 1; -} - -// EventVote is an event emitted when a voter votes on a proposal. -message EventVote { - - // proposal_id is the unique ID of the proposal. - uint64 proposal_id = 1; -} - -// EventExec is an event emitted when a proposal is executed. -message EventExec { - - // proposal_id is the unique ID of the proposal. - uint64 proposal_id = 1; - - // result is the proposal execution result. - ProposalExecutorResult result = 2; -} - -// EventLeaveGroup is an event emitted when group member leaves the group. -message EventLeaveGroup { - - // group_id is the unique ID of the group. - uint64 group_id = 1; - - // address is the account address of the group member. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} diff --git a/quicksilverjs/proto/cosmos/group/v1/genesis.proto b/quicksilverjs/proto/cosmos/group/v1/genesis.proto deleted file mode 100644 index 49655ad2f..000000000 --- a/quicksilverjs/proto/cosmos/group/v1/genesis.proto +++ /dev/null @@ -1,38 +0,0 @@ -syntax = "proto3"; - -package cosmos.group.v1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/group"; - -import "cosmos/group/v1/types.proto"; - -// GenesisState defines the group module's genesis state. -message GenesisState { - - // group_seq is the group table orm.Sequence, - // it is used to get the next group ID. - uint64 group_seq = 1; - - // groups is the list of groups info. - repeated GroupInfo groups = 2; - - // group_members is the list of groups members. - repeated GroupMember group_members = 3; - - // group_policy_seq is the group policy table orm.Sequence, - // it is used to generate the next group policy account address. - uint64 group_policy_seq = 4; - - // group_policies is the list of group policies info. - repeated GroupPolicyInfo group_policies = 5; - - // proposal_seq is the proposal table orm.Sequence, - // it is used to get the next proposal ID. - uint64 proposal_seq = 6; - - // proposals is the list of proposals. - repeated Proposal proposals = 7; - - // votes is the list of votes. - repeated Vote votes = 8; -} \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos/group/v1/query.proto b/quicksilverjs/proto/cosmos/group/v1/query.proto deleted file mode 100644 index 1690d5b73..000000000 --- a/quicksilverjs/proto/cosmos/group/v1/query.proto +++ /dev/null @@ -1,308 +0,0 @@ -syntax = "proto3"; - -package cosmos.group.v1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/group/v1/types.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/group"; - -// Query is the cosmos.group.v1 Query service. -service Query { - - // GroupInfo queries group info based on group id. - rpc GroupInfo(QueryGroupInfoRequest) returns (QueryGroupInfoResponse) { - option (google.api.http).get = "/cosmos/group/v1/group_info/{group_id}"; - }; - - // GroupPolicyInfo queries group policy info based on account address of group policy. - rpc GroupPolicyInfo(QueryGroupPolicyInfoRequest) returns (QueryGroupPolicyInfoResponse) { - option (google.api.http).get = "/cosmos/group/v1/group_policy_info/{address}"; - }; - - // GroupMembers queries members of a group - rpc GroupMembers(QueryGroupMembersRequest) returns (QueryGroupMembersResponse) { - option (google.api.http).get = "/cosmos/group/v1/group_members/{group_id}"; - }; - - // GroupsByAdmin queries groups by admin address. - rpc GroupsByAdmin(QueryGroupsByAdminRequest) returns (QueryGroupsByAdminResponse) { - option (google.api.http).get = "/cosmos/group/v1/groups_by_admin/{admin}"; - }; - - // GroupPoliciesByGroup queries group policies by group id. - rpc GroupPoliciesByGroup(QueryGroupPoliciesByGroupRequest) returns (QueryGroupPoliciesByGroupResponse) { - option (google.api.http).get = "/cosmos/group/v1/group_policies_by_group/{group_id}"; - }; - - // GroupsByAdmin queries group policies by admin address. - rpc GroupPoliciesByAdmin(QueryGroupPoliciesByAdminRequest) returns (QueryGroupPoliciesByAdminResponse) { - option (google.api.http).get = "/cosmos/group/v1/group_policies_by_admin/{admin}"; - }; - - // Proposal queries a proposal based on proposal id. - rpc Proposal(QueryProposalRequest) returns (QueryProposalResponse) { - option (google.api.http).get = "/cosmos/group/v1/proposal/{proposal_id}"; - }; - - // ProposalsByGroupPolicy queries proposals based on account address of group policy. - rpc ProposalsByGroupPolicy(QueryProposalsByGroupPolicyRequest) returns (QueryProposalsByGroupPolicyResponse) { - option (google.api.http).get = "/cosmos/group/v1/proposals_by_group_policy/{address}"; - }; - - // VoteByProposalVoter queries a vote by proposal id and voter. - rpc VoteByProposalVoter(QueryVoteByProposalVoterRequest) returns (QueryVoteByProposalVoterResponse) { - option (google.api.http).get = "/cosmos/group/v1/vote_by_proposal_voter/{proposal_id}/{voter}"; - }; - - // VotesByProposal queries a vote by proposal. - rpc VotesByProposal(QueryVotesByProposalRequest) returns (QueryVotesByProposalResponse) { - option (google.api.http).get = "/cosmos/group/v1/votes_by_proposal/{proposal_id}"; - }; - - // VotesByVoter queries a vote by voter. - rpc VotesByVoter(QueryVotesByVoterRequest) returns (QueryVotesByVoterResponse) { - option (google.api.http).get = "/cosmos/group/v1/votes_by_voter/{voter}"; - }; - - // GroupsByMember queries groups by member address. - rpc GroupsByMember(QueryGroupsByMemberRequest) returns (QueryGroupsByMemberResponse) { - option (google.api.http).get = "/cosmos/group/v1/groups_by_member/{address}"; - }; - - // TallyResult queries the tally of a proposal votes. - rpc TallyResult(QueryTallyResultRequest) returns (QueryTallyResultResponse) { - option (google.api.http).get = "/cosmos/group/v1/proposals/{proposal_id}/tally"; - }; -} - -// QueryGroupInfoRequest is the Query/GroupInfo request type. -message QueryGroupInfoRequest { - - // group_id is the unique ID of the group. - uint64 group_id = 1; -} - -// QueryGroupInfoResponse is the Query/GroupInfo response type. -message QueryGroupInfoResponse { - - // info is the GroupInfo for the group. - GroupInfo info = 1; -} - -// QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. -message QueryGroupPolicyInfoRequest { - - // address is the account address of the group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. -message QueryGroupPolicyInfoResponse { - - // info is the GroupPolicyInfo for the group policy. - GroupPolicyInfo info = 1; -} - -// QueryGroupMembersRequest is the Query/GroupMembers request type. -message QueryGroupMembersRequest { - - // group_id is the unique ID of the group. - uint64 group_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGroupMembersResponse is the Query/GroupMembersResponse response type. -message QueryGroupMembersResponse { - - // members are the members of the group with given group_id. - repeated GroupMember members = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. -message QueryGroupsByAdminRequest { - - // admin is the account address of a group's admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. -message QueryGroupsByAdminResponse { - - // groups are the groups info with the provided admin. - repeated GroupInfo groups = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. -message QueryGroupPoliciesByGroupRequest { - - // group_id is the unique ID of the group policy's group. - uint64 group_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. -message QueryGroupPoliciesByGroupResponse { - - // group_policies are the group policies info associated with the provided group. - repeated GroupPolicyInfo group_policies = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. -message QueryGroupPoliciesByAdminRequest { - - // admin is the admin address of the group policy. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. -message QueryGroupPoliciesByAdminResponse { - - // group_policies are the group policies info with provided admin. - repeated GroupPolicyInfo group_policies = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryProposalRequest is the Query/Proposal request type. -message QueryProposalRequest { - - // proposal_id is the unique ID of a proposal. - uint64 proposal_id = 1; -} - -// QueryProposalResponse is the Query/Proposal response type. -message QueryProposalResponse { - - // proposal is the proposal info. - Proposal proposal = 1; -} - -// QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. -message QueryProposalsByGroupPolicyRequest { - - // address is the account address of the group policy related to proposals. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. -message QueryProposalsByGroupPolicyResponse { - - // proposals are the proposals with given group policy. - repeated Proposal proposals = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. -message QueryVoteByProposalVoterRequest { - - // proposal_id is the unique ID of a proposal. - uint64 proposal_id = 1; - - // voter is a proposal voter account address. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. -message QueryVoteByProposalVoterResponse { - - // vote is the vote with given proposal_id and voter. - Vote vote = 1; -} - -// QueryVotesByProposalRequest is the Query/VotesByProposal request type. -message QueryVotesByProposalRequest { - - // proposal_id is the unique ID of a proposal. - uint64 proposal_id = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryVotesByProposalResponse is the Query/VotesByProposal response type. -message QueryVotesByProposalResponse { - - // votes are the list of votes for given proposal_id. - repeated Vote votes = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryVotesByVoterRequest is the Query/VotesByVoter request type. -message QueryVotesByVoterRequest { - // voter is a proposal voter account address. - string voter = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryVotesByVoterResponse is the Query/VotesByVoter response type. -message QueryVotesByVoterResponse { - - // votes are the list of votes by given voter. - repeated Vote votes = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryGroupsByMemberRequest is the Query/GroupsByMember request type. -message QueryGroupsByMemberRequest { - // address is the group member address. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryGroupsByMemberResponse is the Query/GroupsByMember response type. -message QueryGroupsByMemberResponse { - // groups are the groups info with the provided group member. - repeated GroupInfo groups = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryTallyResultRequest is the Query/TallyResult request type. -message QueryTallyResultRequest { - // proposal_id is the unique id of a proposal. - uint64 proposal_id = 1; -} - -// QueryTallyResultResponse is the Query/TallyResult response type. -message QueryTallyResultResponse { - // tally defines the requested tally. - TallyResult tally = 1 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/group/v1/tx.proto b/quicksilverjs/proto/cosmos/group/v1/tx.proto deleted file mode 100644 index 9fb0caa19..000000000 --- a/quicksilverjs/proto/cosmos/group/v1/tx.proto +++ /dev/null @@ -1,364 +0,0 @@ -syntax = "proto3"; - -package cosmos.group.v1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/group"; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/protobuf/any.proto"; -import "cosmos/group/v1/types.proto"; - -import "cosmos/msg/v1/msg.proto"; - -// Msg is the cosmos.group.v1 Msg service. -service Msg { - - // CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. - rpc CreateGroup(MsgCreateGroup) returns (MsgCreateGroupResponse); - - // UpdateGroupMembers updates the group members with given group id and admin address. - rpc UpdateGroupMembers(MsgUpdateGroupMembers) returns (MsgUpdateGroupMembersResponse); - - // UpdateGroupAdmin updates the group admin with given group id and previous admin address. - rpc UpdateGroupAdmin(MsgUpdateGroupAdmin) returns (MsgUpdateGroupAdminResponse); - - // UpdateGroupMetadata updates the group metadata with given group id and admin address. - rpc UpdateGroupMetadata(MsgUpdateGroupMetadata) returns (MsgUpdateGroupMetadataResponse); - - // CreateGroupPolicy creates a new group policy using given DecisionPolicy. - rpc CreateGroupPolicy(MsgCreateGroupPolicy) returns (MsgCreateGroupPolicyResponse); - - // CreateGroupWithPolicy creates a new group with policy. - rpc CreateGroupWithPolicy(MsgCreateGroupWithPolicy) returns (MsgCreateGroupWithPolicyResponse); - - // UpdateGroupPolicyAdmin updates a group policy admin. - rpc UpdateGroupPolicyAdmin(MsgUpdateGroupPolicyAdmin) returns (MsgUpdateGroupPolicyAdminResponse); - - // UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. - rpc UpdateGroupPolicyDecisionPolicy(MsgUpdateGroupPolicyDecisionPolicy) - returns (MsgUpdateGroupPolicyDecisionPolicyResponse); - - // UpdateGroupPolicyMetadata updates a group policy metadata. - rpc UpdateGroupPolicyMetadata(MsgUpdateGroupPolicyMetadata) returns (MsgUpdateGroupPolicyMetadataResponse); - - // SubmitProposal submits a new proposal. - rpc SubmitProposal(MsgSubmitProposal) returns (MsgSubmitProposalResponse); - - // WithdrawProposal aborts a proposal. - rpc WithdrawProposal(MsgWithdrawProposal) returns (MsgWithdrawProposalResponse); - - // Vote allows a voter to vote on a proposal. - rpc Vote(MsgVote) returns (MsgVoteResponse); - - // Exec executes a proposal. - rpc Exec(MsgExec) returns (MsgExecResponse); - - // LeaveGroup allows a group member to leave the group. - rpc LeaveGroup(MsgLeaveGroup) returns (MsgLeaveGroupResponse); -} - -// -// Groups -// - -// MsgCreateGroup is the Msg/CreateGroup request type. -message MsgCreateGroup { - option (cosmos.msg.v1.signer) = "admin"; - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // members defines the group members. - repeated Member members = 2 [(gogoproto.nullable) = false]; - - // metadata is any arbitrary metadata to attached to the group. - string metadata = 3; -} - -// MsgCreateGroupResponse is the Msg/CreateGroup response type. -message MsgCreateGroupResponse { - - // group_id is the unique ID of the newly created group. - uint64 group_id = 1; -} - -// MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. -message MsgUpdateGroupMembers { - option (cosmos.msg.v1.signer) = "admin"; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; - - // member_updates is the list of members to update, - // set weight to 0 to remove a member. - repeated Member member_updates = 3 [(gogoproto.nullable) = false]; -} - -// MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. -message MsgUpdateGroupMembersResponse {} - -// MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. -message MsgUpdateGroupAdmin { - option (cosmos.msg.v1.signer) = "admin"; - - // admin is the current account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; - - // new_admin is the group new admin account address. - string new_admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. -message MsgUpdateGroupAdminResponse {} - -// MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. -message MsgUpdateGroupMetadata { - option (cosmos.msg.v1.signer) = "admin"; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; - - // metadata is the updated group's metadata. - string metadata = 3; -} - -// MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. -message MsgUpdateGroupMetadataResponse {} - -// -// Group Policies -// - -// MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. -message MsgCreateGroupPolicy { - option (cosmos.msg.v1.signer) = "admin"; - - option (gogoproto.goproto_getters) = false; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; - - // metadata is any arbitrary metadata attached to the group policy. - string metadata = 3; - - // decision_policy specifies the group policy's decision policy. - google.protobuf.Any decision_policy = 4 [(cosmos_proto.accepts_interface) = "cosmos.group.DecisionPolicy"]; -} - -// MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. -message MsgCreateGroupPolicyResponse { - - // address is the account address of the newly created group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. -message MsgUpdateGroupPolicyAdmin { - option (cosmos.msg.v1.signer) = "admin"; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // address is the account address of the group policy. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // new_admin is the new group policy admin. - string new_admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. -message MsgCreateGroupWithPolicy { - option (gogoproto.goproto_getters) = false; - - // admin is the account address of the group and group policy admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // members defines the group members. - repeated Member members = 2 [(gogoproto.nullable) = false]; - - // group_metadata is any arbitrary metadata attached to the group. - string group_metadata = 3; - - // group_policy_metadata is any arbitrary metadata attached to the group policy. - string group_policy_metadata = 4; - - // group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group and group policy admin. - bool group_policy_as_admin = 5; - - // decision_policy specifies the group policy's decision policy. - google.protobuf.Any decision_policy = 6 [(cosmos_proto.accepts_interface) = "cosmos.group.DecisionPolicy"]; -} - -// MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. -message MsgCreateGroupWithPolicyResponse { - - // group_id is the unique ID of the newly created group with policy. - uint64 group_id = 1; - - // group_policy_address is the account address of the newly created group policy. - string group_policy_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. -message MsgUpdateGroupPolicyAdminResponse {} - -// MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. -message MsgUpdateGroupPolicyDecisionPolicy { - option (cosmos.msg.v1.signer) = "admin"; - - option (gogoproto.goproto_getters) = false; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // address is the account address of group policy. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // decision_policy is the updated group policy's decision policy. - google.protobuf.Any decision_policy = 3 [(cosmos_proto.accepts_interface) = "cosmos.group.DecisionPolicy"]; -} - -// MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. -message MsgUpdateGroupPolicyDecisionPolicyResponse {} - -// MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. -message MsgUpdateGroupPolicyMetadata { - option (cosmos.msg.v1.signer) = "admin"; - - // admin is the account address of the group admin. - string admin = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // address is the account address of group policy. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // metadata is the updated group policy metadata. - string metadata = 3; -} - -// MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. -message MsgUpdateGroupPolicyMetadataResponse {} - -// -// Proposals and Voting -// - -// Exec defines modes of execution of a proposal on creation or on new vote. -enum Exec { - - // An empty value means that there should be a separate - // MsgExec request for the proposal to execute. - EXEC_UNSPECIFIED = 0; - - // Try to execute the proposal immediately. - // If the proposal is not allowed per the DecisionPolicy, - // the proposal will still be open and could - // be executed at a later point. - EXEC_TRY = 1; -} - -// MsgSubmitProposal is the Msg/SubmitProposal request type. -message MsgSubmitProposal { - option (cosmos.msg.v1.signer) = "proposers"; - - option (gogoproto.goproto_getters) = false; - - // address is the account address of group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // proposers are the account addresses of the proposers. - // Proposers signatures will be counted as yes votes. - repeated string proposers = 2; - - // metadata is any arbitrary metadata to attached to the proposal. - string metadata = 3; - - // messages is a list of `sdk.Msg`s that will be executed if the proposal passes. - repeated google.protobuf.Any messages = 4; - - // exec defines the mode of execution of the proposal, - // whether it should be executed immediately on creation or not. - // If so, proposers signatures are considered as Yes votes. - Exec exec = 5; -} - -// MsgSubmitProposalResponse is the Msg/SubmitProposal response type. -message MsgSubmitProposalResponse { - - // proposal is the unique ID of the proposal. - uint64 proposal_id = 1; -} - -// MsgWithdrawProposal is the Msg/WithdrawProposal request type. -message MsgWithdrawProposal { - // proposal is the unique ID of the proposal. - uint64 proposal_id = 1; - - // address is the admin of the group policy or one of the proposer of the proposal. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. -message MsgWithdrawProposalResponse {} - -// MsgVote is the Msg/Vote request type. -message MsgVote { - option (cosmos.msg.v1.signer) = "voter"; - - // proposal is the unique ID of the proposal. - uint64 proposal_id = 1; - // voter is the voter account address. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // option is the voter's choice on the proposal. - VoteOption option = 3; - - // metadata is any arbitrary metadata to attached to the vote. - string metadata = 4; - - // exec defines whether the proposal should be executed - // immediately after voting or not. - Exec exec = 5; -} - -// MsgVoteResponse is the Msg/Vote response type. -message MsgVoteResponse {} - -// MsgExec is the Msg/Exec request type. -message MsgExec { - option (cosmos.msg.v1.signer) = "signer"; - - // proposal is the unique ID of the proposal. - uint64 proposal_id = 1; - - // signer is the account address used to execute the proposal. - string signer = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgExecResponse is the Msg/Exec request type. -message MsgExecResponse {} - -// MsgLeaveGroup is the Msg/LeaveGroup request type. -message MsgLeaveGroup { - option (cosmos.msg.v1.signer) = "address"; - - // address is the account address of the group member. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; -} - -// MsgLeaveGroupResponse is the Msg/LeaveGroup response type. -message MsgLeaveGroupResponse {} diff --git a/quicksilverjs/proto/cosmos/group/v1/types.proto b/quicksilverjs/proto/cosmos/group/v1/types.proto deleted file mode 100644 index 604fe0aec..000000000 --- a/quicksilverjs/proto/cosmos/group/v1/types.proto +++ /dev/null @@ -1,308 +0,0 @@ -syntax = "proto3"; - -package cosmos.group.v1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/group"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/protobuf/any.proto"; - -// Member represents a group member with an account address, -// non-zero weight and metadata. -message Member { - - // address is the member's account address. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // weight is the member's voting weight that should be greater than 0. - string weight = 2; - - // metadata is any arbitrary metadata to attached to the member. - string metadata = 3; - - // added_at is a timestamp specifying when a member was added. - google.protobuf.Timestamp added_at = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// Members defines a repeated slice of Member objects. -message Members { - - // members is the list of members. - repeated Member members = 1 [(gogoproto.nullable) = false]; -} - -// ThresholdDecisionPolicy implements the DecisionPolicy interface -message ThresholdDecisionPolicy { - option (cosmos_proto.implements_interface) = "cosmos.group.DecisionPolicy"; - - // threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. - string threshold = 1; - - // windows defines the different windows for voting and execution. - DecisionPolicyWindows windows = 2; -} - -// PercentageDecisionPolicy implements the DecisionPolicy interface -message PercentageDecisionPolicy { - option (cosmos_proto.implements_interface) = "cosmos.group.DecisionPolicy"; - - // percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. - string percentage = 1; - - // windows defines the different windows for voting and execution. - DecisionPolicyWindows windows = 2; -} - -// DecisionPolicyWindows defines the different windows for voting and execution. -message DecisionPolicyWindows { - // voting_period is the duration from submission of a proposal to the end of voting period - // Within this times votes can be submitted with MsgVote. - google.protobuf.Duration voting_period = 1 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; - - // min_execution_period is the minimum duration after the proposal submission - // where members can start sending MsgExec. This means that the window for - // sending a MsgExec transaction is: - // `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` - // where max_execution_period is a app-specific config, defined in the keeper. - // If not set, min_execution_period will default to 0. - // - // Please make sure to set a `min_execution_period` that is smaller than - // `voting_period + max_execution_period`, or else the above execution window - // is empty, meaning that all proposals created with this decision policy - // won't be able to be executed. - google.protobuf.Duration min_execution_period = 2 [(gogoproto.stdduration) = true, (gogoproto.nullable) = false]; -} - -// VoteOption enumerates the valid vote options for a given proposal. -enum VoteOption { - option (gogoproto.goproto_enum_prefix) = false; - - // VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_UNSPECIFIED = 0; - // VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_YES = 1; - // VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_ABSTAIN = 2; - // VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO = 3; - // VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. - VOTE_OPTION_NO_WITH_VETO = 4; -} - -// -// State -// - -// GroupInfo represents the high-level on-chain information for a group. -message GroupInfo { - - // id is the unique ID of the group. - uint64 id = 1; - - // admin is the account address of the group's admin. - string admin = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // metadata is any arbitrary metadata to attached to the group. - string metadata = 3; - - // version is used to track changes to a group's membership structure that - // would break existing proposals. Whenever any members weight is changed, - // or any member is added or removed this version is incremented and will - // cause proposals based on older versions of this group to fail - uint64 version = 4; - - // total_weight is the sum of the group members' weights. - string total_weight = 5; - - // created_at is a timestamp specifying when a group was created. - google.protobuf.Timestamp created_at = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// GroupMember represents the relationship between a group and a member. -message GroupMember { - - // group_id is the unique ID of the group. - uint64 group_id = 1; - - // member is the member data. - Member member = 2; -} - -// GroupPolicyInfo represents the high-level on-chain information for a group policy. -message GroupPolicyInfo { - option (gogoproto.equal) = true; - option (gogoproto.goproto_getters) = false; - - // address is the account address of group policy. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // group_id is the unique ID of the group. - uint64 group_id = 2; - - // admin is the account address of the group admin. - string admin = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // metadata is any arbitrary metadata to attached to the group policy. - string metadata = 4; - - // version is used to track changes to a group's GroupPolicyInfo structure that - // would create a different result on a running proposal. - uint64 version = 5; - - // decision_policy specifies the group policy's decision policy. - google.protobuf.Any decision_policy = 6 [(cosmos_proto.accepts_interface) = "cosmos.group.DecisionPolicy"]; - - // created_at is a timestamp specifying when a group policy was created. - google.protobuf.Timestamp created_at = 7 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// Proposal defines a group proposal. Any member of a group can submit a proposal -// for a group policy to decide upon. -// A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal -// passes as well as some optional metadata associated with the proposal. -message Proposal { - option (gogoproto.goproto_getters) = false; - - // id is the unique id of the proposal. - uint64 id = 1; - - // address is the account address of group policy. - string address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // metadata is any arbitrary metadata to attached to the proposal. - string metadata = 3; - - // proposers are the account addresses of the proposers. - repeated string proposers = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // submit_time is a timestamp specifying when a proposal was submitted. - google.protobuf.Timestamp submit_time = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - - // group_version tracks the version of the group that this proposal corresponds to. - // When group membership is changed, existing proposals from previous group versions will become invalid. - uint64 group_version = 6; - - // group_policy_version tracks the version of the group policy that this proposal corresponds to. - // When a decision policy is changed, existing proposals from previous policy versions will become invalid. - uint64 group_policy_version = 7; - - // status represents the high level position in the life cycle of the proposal. Initial value is Submitted. - ProposalStatus status = 8; - - // result is the final result based on the votes and election rule. Initial value is unfinalized. - // The result is persisted so that clients can always rely on this state and not have to replicate the logic. - ProposalResult result = 9; - - // final_tally_result contains the sums of all weighted votes for this - // proposal for each vote option, after tallying. When querying a proposal - // via gRPC, this field is not populated until the proposal's voting period - // has ended. - TallyResult final_tally_result = 10 [(gogoproto.nullable) = false]; - - // voting_period_end is the timestamp before which voting must be done. - // Unless a successfull MsgExec is called before (to execute a proposal whose - // tally is successful before the voting period ends), tallying will be done - // at this point, and the `final_tally_result`, as well - // as `status` and `result` fields will be accordingly updated. - google.protobuf.Timestamp voting_period_end = 11 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - - // executor_result is the final result based on the votes and election rule. Initial value is NotRun. - ProposalExecutorResult executor_result = 12; - - // messages is a list of Msgs that will be executed if the proposal passes. - repeated google.protobuf.Any messages = 13; -} - -// ProposalStatus defines proposal statuses. -enum ProposalStatus { - option (gogoproto.goproto_enum_prefix) = false; - - // An empty value is invalid and not allowed. - PROPOSAL_STATUS_UNSPECIFIED = 0; - - // Initial status of a proposal when persisted. - PROPOSAL_STATUS_SUBMITTED = 1; - - // Final status of a proposal when the final tally was executed. - PROPOSAL_STATUS_CLOSED = 2; - - // Final status of a proposal when the group was modified before the final tally. - PROPOSAL_STATUS_ABORTED = 3; - - // A proposal can be deleted before the voting start time by the owner. When this happens the final status - // is Withdrawn. - PROPOSAL_STATUS_WITHDRAWN = 4; -} - -// ProposalResult defines types of proposal results. -enum ProposalResult { - option (gogoproto.goproto_enum_prefix) = false; - - // An empty value is invalid and not allowed - PROPOSAL_RESULT_UNSPECIFIED = 0; - - // Until a final tally has happened the status is unfinalized - PROPOSAL_RESULT_UNFINALIZED = 1; - - // Final result of the tally - PROPOSAL_RESULT_ACCEPTED = 2; - - // Final result of the tally - PROPOSAL_RESULT_REJECTED = 3; -} - -// ProposalExecutorResult defines types of proposal executor results. -enum ProposalExecutorResult { - option (gogoproto.goproto_enum_prefix) = false; - - // An empty value is not allowed. - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0; - - // We have not yet run the executor. - PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1; - - // The executor was successful and proposed action updated state. - PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2; - - // The executor returned an error and proposed action didn't update state. - PROPOSAL_EXECUTOR_RESULT_FAILURE = 3; -} - -// TallyResult represents the sum of weighted votes for each vote option. -message TallyResult { - option (gogoproto.goproto_getters) = false; - - // yes_count is the weighted sum of yes votes. - string yes_count = 1; - - // abstain_count is the weighted sum of abstainers. - string abstain_count = 2; - - // no is the weighted sum of no votes. - string no_count = 3; - - // no_with_veto_count is the weighted sum of veto. - string no_with_veto_count = 4; -} - -// Vote represents a vote for a proposal. -message Vote { - - // proposal is the unique ID of the proposal. - uint64 proposal_id = 1; - - // voter is the account address of the voter. - string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // option is the voter's choice on the proposal. - VoteOption option = 3; - - // metadata is any arbitrary metadata to attached to the vote. - string metadata = 4; - - // submit_time is the timestamp when the vote was submitted. - google.protobuf.Timestamp submit_time = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} diff --git a/quicksilverjs/proto/cosmos/mint/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/mint/v1beta1/genesis.proto deleted file mode 100644 index 4e783fb54..000000000 --- a/quicksilverjs/proto/cosmos/mint/v1beta1/genesis.proto +++ /dev/null @@ -1,16 +0,0 @@ -syntax = "proto3"; -package cosmos.mint.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/mint/v1beta1/mint.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; - -// GenesisState defines the mint module's genesis state. -message GenesisState { - // minter is a space for holding current inflation information. - Minter minter = 1 [(gogoproto.nullable) = false]; - - // params defines all the paramaters of the module. - Params params = 2 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/mint/v1beta1/mint.proto b/quicksilverjs/proto/cosmos/mint/v1beta1/mint.proto deleted file mode 100644 index 9cfe2b760..000000000 --- a/quicksilverjs/proto/cosmos/mint/v1beta1/mint.proto +++ /dev/null @@ -1,57 +0,0 @@ -syntax = "proto3"; -package cosmos.mint.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; - -// Minter represents the minting state. -message Minter { - // current annual inflation rate - string inflation = 1 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // current annual expected provisions - string annual_provisions = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// Params holds parameters for the mint module. -message Params { - option (gogoproto.goproto_stringer) = false; - - // type of coin to mint - string mint_denom = 1; - // maximum annual change in inflation rate - string inflation_rate_change = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // maximum inflation rate - string inflation_max = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // minimum inflation rate - string inflation_min = 4 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // goal of percent bonded atoms - string goal_bonded = 5 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // expected blocks per year - uint64 blocks_per_year = 6; -} diff --git a/quicksilverjs/proto/cosmos/mint/v1beta1/query.proto b/quicksilverjs/proto/cosmos/mint/v1beta1/query.proto deleted file mode 100644 index acd341d77..000000000 --- a/quicksilverjs/proto/cosmos/mint/v1beta1/query.proto +++ /dev/null @@ -1,57 +0,0 @@ -syntax = "proto3"; -package cosmos.mint.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/mint/v1beta1/mint.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/mint/types"; - -// Query provides defines the gRPC querier service. -service Query { - // Params returns the total set of minting parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/mint/v1beta1/params"; - } - - // Inflation returns the current minting inflation value. - rpc Inflation(QueryInflationRequest) returns (QueryInflationResponse) { - option (google.api.http).get = "/cosmos/mint/v1beta1/inflation"; - } - - // AnnualProvisions current minting annual provisions value. - rpc AnnualProvisions(QueryAnnualProvisionsRequest) returns (QueryAnnualProvisionsResponse) { - option (google.api.http).get = "/cosmos/mint/v1beta1/annual_provisions"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [(gogoproto.nullable) = false]; -} - -// QueryInflationRequest is the request type for the Query/Inflation RPC method. -message QueryInflationRequest {} - -// QueryInflationResponse is the response type for the Query/Inflation RPC -// method. -message QueryInflationResponse { - // inflation is the current minting inflation value. - bytes inflation = 1 [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; -} - -// QueryAnnualProvisionsRequest is the request type for the -// Query/AnnualProvisions RPC method. -message QueryAnnualProvisionsRequest {} - -// QueryAnnualProvisionsResponse is the response type for the -// Query/AnnualProvisions RPC method. -message QueryAnnualProvisionsResponse { - // annual_provisions is the current minting annual provisions value. - bytes annual_provisions = 1 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/msg/v1/msg.proto b/quicksilverjs/proto/cosmos/msg/v1/msg.proto deleted file mode 100644 index 89bdf3129..000000000 --- a/quicksilverjs/proto/cosmos/msg/v1/msg.proto +++ /dev/null @@ -1,22 +0,0 @@ -syntax = "proto3"; - -package cosmos.msg.v1; - -import "google/protobuf/descriptor.proto"; - -// TODO(fdymylja): once we fully migrate to protov2 the go_package needs to be updated. -// We need this right now because gogoproto codegen needs to import the extension. -option go_package = "github.com/cosmos/cosmos-sdk/types/msgservice"; - -extend google.protobuf.MessageOptions { - // signer must be used in cosmos messages in order - // to signal to external clients which fields in a - // given cosmos message must be filled with signer - // information (address). - // The field must be the protobuf name of the message - // field extended with this MessageOption. - // The field must either be of string kind, or of message - // kind in case the signer information is contained within - // a message inside the cosmos message. - repeated string signer = 11110000; -} \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos/nft/v1beta1/event.proto b/quicksilverjs/proto/cosmos/nft/v1beta1/event.proto deleted file mode 100644 index 96964f08a..000000000 --- a/quicksilverjs/proto/cosmos/nft/v1beta1/event.proto +++ /dev/null @@ -1,26 +0,0 @@ -syntax = "proto3"; -package cosmos.nft.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; - -// EventSend is emitted on Msg/Send -message EventSend { - string class_id = 1; - string id = 2; - string sender = 3; - string receiver = 4; -} - -// EventMint is emitted on Mint -message EventMint { - string class_id = 1; - string id = 2; - string owner = 3; -} - -// EventBurn is emitted on Burn -message EventBurn { - string class_id = 1; - string id = 2; - string owner = 3; -} diff --git a/quicksilverjs/proto/cosmos/nft/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/nft/v1beta1/genesis.proto deleted file mode 100644 index 6f36ed34d..000000000 --- a/quicksilverjs/proto/cosmos/nft/v1beta1/genesis.proto +++ /dev/null @@ -1,22 +0,0 @@ -syntax = "proto3"; -package cosmos.nft.v1beta1; - -import "cosmos/nft/v1beta1/nft.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; - -// GenesisState defines the nft module's genesis state. -message GenesisState { - // class defines the class of the nft type. - repeated cosmos.nft.v1beta1.Class classes = 1; - repeated Entry entries = 2; -} - -// Entry Defines all nft owned by a person -message Entry { - // owner is the owner address of the following nft - string owner = 1; - - // nfts is a group of nfts of the same owner - repeated cosmos.nft.v1beta1.NFT nfts = 2; -} diff --git a/quicksilverjs/proto/cosmos/nft/v1beta1/nft.proto b/quicksilverjs/proto/cosmos/nft/v1beta1/nft.proto deleted file mode 100644 index b12412600..000000000 --- a/quicksilverjs/proto/cosmos/nft/v1beta1/nft.proto +++ /dev/null @@ -1,48 +0,0 @@ -syntax = "proto3"; -package cosmos.nft.v1beta1; - -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; - -// Class defines the class of the nft type. -message Class { - // id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 - string id = 1; - - // name defines the human-readable name of the NFT classification. Optional - string name = 2; - - // symbol is an abbreviated name for nft classification. Optional - string symbol = 3; - - // description is a brief description of nft classification. Optional - string description = 4; - - // uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional - string uri = 5; - - // uri_hash is a hash of the document pointed by uri. Optional - string uri_hash = 6; - - // data is the app specific metadata of the NFT class. Optional - google.protobuf.Any data = 7; -} - -// NFT defines the NFT. -message NFT { - // class_id associated with the NFT, similar to the contract address of ERC721 - string class_id = 1; - - // id is a unique identifier of the NFT - string id = 2; - - // uri for the NFT metadata stored off chain - string uri = 3; - - // uri_hash is a hash of the document pointed by uri - string uri_hash = 4; - - // data is an app specific data of the NFT. Optional - google.protobuf.Any data = 10; -} diff --git a/quicksilverjs/proto/cosmos/nft/v1beta1/query.proto b/quicksilverjs/proto/cosmos/nft/v1beta1/query.proto deleted file mode 100644 index c1d8070f4..000000000 --- a/quicksilverjs/proto/cosmos/nft/v1beta1/query.proto +++ /dev/null @@ -1,125 +0,0 @@ -syntax = "proto3"; -package cosmos.nft.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "google/api/annotations.proto"; -import "cosmos/nft/v1beta1/nft.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; - -// Query defines the gRPC querier service. -service Query { - // Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 - rpc Balance(QueryBalanceRequest) returns (QueryBalanceResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/balance/{owner}/{class_id}"; - } - - // Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 - rpc Owner(QueryOwnerRequest) returns (QueryOwnerResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/owner/{class_id}/{id}"; - } - - // Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. - rpc Supply(QuerySupplyRequest) returns (QuerySupplyResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/supply/{class_id}"; - } - - // NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - // ERC721Enumerable - rpc NFTs(QueryNFTsRequest) returns (QueryNFTsResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/nfts"; - } - - // NFT queries an NFT based on its class and id. - rpc NFT(QueryNFTRequest) returns (QueryNFTResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/nfts/{class_id}/{id}"; - } - - // Class queries an NFT class based on its id - rpc Class(QueryClassRequest) returns (QueryClassResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/classes/{class_id}"; - } - - // Classes queries all NFT classes - rpc Classes(QueryClassesRequest) returns (QueryClassesResponse) { - option (google.api.http).get = "/cosmos/nft/v1beta1/classes"; - } -} - -// QueryBalanceRequest is the request type for the Query/Balance RPC method -message QueryBalanceRequest { - string class_id = 1; - string owner = 2; -} - -// QueryBalanceResponse is the response type for the Query/Balance RPC method -message QueryBalanceResponse { - uint64 amount = 1; -} - -// QueryOwnerRequest is the request type for the Query/Owner RPC method -message QueryOwnerRequest { - string class_id = 1; - string id = 2; -} - -// QueryOwnerResponse is the response type for the Query/Owner RPC method -message QueryOwnerResponse { - string owner = 1; -} - -// QuerySupplyRequest is the request type for the Query/Supply RPC method -message QuerySupplyRequest { - string class_id = 1; -} - -// QuerySupplyResponse is the response type for the Query/Supply RPC method -message QuerySupplyResponse { - uint64 amount = 1; -} - -// QueryNFTstRequest is the request type for the Query/NFTs RPC method -message QueryNFTsRequest { - string class_id = 1; - string owner = 2; - cosmos.base.query.v1beta1.PageRequest pagination = 3; -} - -// QueryNFTsResponse is the response type for the Query/NFTs RPC methods -message QueryNFTsResponse { - repeated cosmos.nft.v1beta1.NFT nfts = 1; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryNFTRequest is the request type for the Query/NFT RPC method -message QueryNFTRequest { - string class_id = 1; - string id = 2; -} - -// QueryNFTResponse is the response type for the Query/NFT RPC method -message QueryNFTResponse { - cosmos.nft.v1beta1.NFT nft = 1; -} - -// QueryClassRequest is the request type for the Query/Class RPC method -message QueryClassRequest { - string class_id = 1; -} - -// QueryClassResponse is the response type for the Query/Class RPC method -message QueryClassResponse { - cosmos.nft.v1beta1.Class class = 1; -} - -// QueryClassesRequest is the request type for the Query/Classes RPC method -message QueryClassesRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryClassesResponse is the response type for the Query/Classes RPC method -message QueryClassesResponse { - repeated cosmos.nft.v1beta1.Class classes = 1; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/quicksilverjs/proto/cosmos/nft/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/nft/v1beta1/tx.proto deleted file mode 100644 index 95b402ced..000000000 --- a/quicksilverjs/proto/cosmos/nft/v1beta1/tx.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; -package cosmos.nft.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/nft"; - -import "cosmos/msg/v1/msg.proto"; - -// Msg defines the nft Msg service. -service Msg { - // Send defines a method to send a nft from one account to another account. - rpc Send(MsgSend) returns (MsgSendResponse); -} -// MsgSend represents a message to send a nft from one account to another account. -message MsgSend { - option (cosmos.msg.v1.signer) = "sender"; - - // class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 - string class_id = 1; - - // id defines the unique identification of nft - string id = 2; - - // sender is the address of the owner of nft - string sender = 3; - - // receiver is the receiver address of nft - string receiver = 4; -} -// MsgSendResponse defines the Msg/Send response type. -message MsgSendResponse {} \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos/orm/v1/orm.proto b/quicksilverjs/proto/cosmos/orm/v1/orm.proto deleted file mode 100644 index abfbbd4f5..000000000 --- a/quicksilverjs/proto/cosmos/orm/v1/orm.proto +++ /dev/null @@ -1,104 +0,0 @@ -syntax = "proto3"; - -package cosmos.orm.v1; - -import "google/protobuf/descriptor.proto"; - -extend google.protobuf.MessageOptions { - - // table specifies that this message will be used as an ORM table. It cannot - // be used together with the singleton option. - TableDescriptor table = 104503790; - - // singleton specifies that this message will be used as an ORM singleton. It cannot - // be used together with the table option. - SingletonDescriptor singleton = 104503791; -} - -// TableDescriptor describes an ORM table. -message TableDescriptor { - - // primary_key defines the primary key for the table. - PrimaryKeyDescriptor primary_key = 1; - - // index defines one or more secondary indexes. - repeated SecondaryIndexDescriptor index = 2; - - // id is a non-zero integer ID that must be unique within the - // tables and singletons in this file. It may be deprecated in the future when this - // can be auto-generated. - uint32 id = 3; -} - -// PrimaryKeyDescriptor describes a table primary key. -message PrimaryKeyDescriptor { - - // fields is a comma-separated list of fields in the primary key. Spaces are - // not allowed. Supported field types, their encodings, and any applicable constraints - // are described below. - // - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that - // is suitable for sorted iteration (not varint encoding). This type is - // well-suited for small integers. - // - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that - // is suitable for sorted iteration (not varint encoding). This type is - // well-suited for small integers such as auto-incrementing sequences. - // - fixed32, fixed64 are encoded as big-endian fixed width bytes and support - // sorted iteration. These types are well-suited for encoding fixed with - // decimals as integers. - // - string's are encoded as raw bytes in terminal key segments and null-terminated - // in non-terminal segments. Null characters are thus forbidden in strings. - // string fields support sorted iteration. - // - bytes are encoded as raw bytes in terminal segments and length-prefixed - // with a 32-bit unsigned varint in non-terminal segments. - // - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with - // an encoding that enables sorted iteration. - // - google.protobuf.Timestamp and google.protobuf.Duration are encoded - // as 12 bytes using an encoding that enables sorted iteration. - // - enum fields are encoded using varint encoding and do not support sorted - // iteration. - // - bool fields are encoded as a single byte 0 or 1. - // - // All other fields types are unsupported in keys including repeated and - // oneof fields. - // - // Primary keys are prefixed by the varint encoded table id and the byte 0x0 - // plus any additional prefix specified by the schema. - string fields = 1; - - // auto_increment specifies that the primary key is generated by an - // auto-incrementing integer. If this is set to true fields must only - // contain one field of that is of type uint64. - bool auto_increment = 2; -} - -// PrimaryKeyDescriptor describes a table secondary index. -message SecondaryIndexDescriptor { - - // fields is a comma-separated list of fields in the index. The supported - // field types are the same as those for PrimaryKeyDescriptor.fields. - // Index keys are prefixed by the varint encoded table id and the varint - // encoded index id plus any additional prefix specified by the schema. - // - // In addition the the field segments, non-unique index keys are suffixed with - // any additional primary key fields not present in the index fields so that the - // primary key can be reconstructed. Unique indexes instead of being suffixed - // store the remaining primary key fields in the value.. - string fields = 1; - - // id is a non-zero integer ID that must be unique within the indexes for this - // table and less than 32768. It may be deprecated in the future when this can - // be auto-generated. - uint32 id = 2; - - // unique specifies that this an unique index. - bool unique = 3; -} - -// TableDescriptor describes an ORM singleton table which has at most one instance. -message SingletonDescriptor { - - // id is a non-zero integer ID that must be unique within the - // tables and singletons in this file. It may be deprecated in the future when this - // can be auto-generated. - uint32 id = 1; -} \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos/orm/v1alpha1/schema.proto b/quicksilverjs/proto/cosmos/orm/v1alpha1/schema.proto deleted file mode 100644 index ab713340e..000000000 --- a/quicksilverjs/proto/cosmos/orm/v1alpha1/schema.proto +++ /dev/null @@ -1,76 +0,0 @@ -syntax = "proto3"; - -package cosmos.orm.v1alpha1; - -import "google/protobuf/descriptor.proto"; - -extend google.protobuf.MessageOptions { - // module_schema is used to define the ORM schema for an app module. - // All module config messages that use module_schema must also declare - // themselves as app module config messages using the cosmos.app.v1.is_module - // option. - ModuleSchemaDescriptor module_schema = 104503792; -} - -// ModuleSchemaDescriptor describe's a module's ORM schema. -message ModuleSchemaDescriptor { - repeated FileEntry schema_file = 1; - - // FileEntry describes an ORM file used in a module. - message FileEntry { - // id is a prefix that will be varint encoded and prepended to all the - // table keys specified in the file's tables. - uint32 id = 1; - - // proto_file_name is the name of a file .proto in that contains - // table definitions. The .proto file must be in a package that the - // module has referenced using cosmos.app.v1.ModuleDescriptor.use_package. - string proto_file_name = 2; - - // storage_type optionally indicates the type of storage this file's - // tables should used. If it is left unspecified, the default KV-storage - // of the app will be used. - StorageType storage_type = 3; - } - - // prefix is an optional prefix that precedes all keys in this module's - // store. - bytes prefix = 2; -} - -// StorageType -enum StorageType { - // STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent - // KV-storage where primary key entries are stored in merkle-tree - // backed commitment storage and indexes and seqs are stored in - // fast index storage. Note that the Cosmos SDK before store/v2alpha1 - // does not support this. - STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0; - - // STORAGE_TYPE_MEMORY indicates in-memory storage that will be - // reloaded every time an app restarts. Tables with this type of storage - // will by default be ignored when importing and exporting a module's - // state from JSON. - STORAGE_TYPE_MEMORY = 1; - - // STORAGE_TYPE_TRANSIENT indicates transient storage that is reset - // at the end of every block. Tables with this type of storage - // will by default be ignored when importing and exporting a module's - // state from JSON. - STORAGE_TYPE_TRANSIENT = 2; - - // STORAGE_TYPE_INDEX indicates persistent storage which is not backed - // by a merkle-tree and won't affect the app hash. Note that the Cosmos SDK - // before store/v2alpha1 does not support this. - STORAGE_TYPE_INDEX = 3; - - // STORAGE_TYPE_INDEX indicates persistent storage which is backed by - // a merkle-tree. With this type of storage, both primary and index keys - // will affect the app hash and this is generally less efficient - // than using STORAGE_TYPE_DEFAULT_UNSPECIFIED which separates index - // keys into index storage. Note that modules built with the - // Cosmos SDK before store/v2alpha1 must specify STORAGE_TYPE_COMMITMENT - // instead of STORAGE_TYPE_DEFAULT_UNSPECIFIED or STORAGE_TYPE_INDEX - // because this is the only type of persistent storage available. - STORAGE_TYPE_COMMITMENT = 4; -} diff --git a/quicksilverjs/proto/cosmos/params/v1beta1/params.proto b/quicksilverjs/proto/cosmos/params/v1beta1/params.proto deleted file mode 100644 index e5aabfeca..000000000 --- a/quicksilverjs/proto/cosmos/params/v1beta1/params.proto +++ /dev/null @@ -1,29 +0,0 @@ -syntax = "proto3"; -package cosmos.params.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; - -// ParameterChangeProposal defines a proposal to change one or more parameters. -message ParameterChangeProposal { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; - repeated ParamChange changes = 3 [(gogoproto.nullable) = false]; -} - -// ParamChange defines an individual parameter change, for use in -// ParameterChangeProposal. -message ParamChange { - option (gogoproto.goproto_stringer) = false; - - string subspace = 1; - string key = 2; - string value = 3; -} diff --git a/quicksilverjs/proto/cosmos/params/v1beta1/query.proto b/quicksilverjs/proto/cosmos/params/v1beta1/query.proto deleted file mode 100644 index 3b1c9a760..000000000 --- a/quicksilverjs/proto/cosmos/params/v1beta1/query.proto +++ /dev/null @@ -1,54 +0,0 @@ -syntax = "proto3"; -package cosmos.params.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/params/v1beta1/params.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/params/types/proposal"; - -// Query defines the gRPC querier service. -service Query { - // Params queries a specific parameter of a module, given its subspace and - // key. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/params/v1beta1/params"; - } - - // Subspaces queries for all registered subspaces and all keys for a subspace. - rpc Subspaces(QuerySubspacesRequest) returns (QuerySubspacesResponse) { - option (google.api.http).get = "/cosmos/params/v1beta1/subspaces"; - } -} - -// QueryParamsRequest is request type for the Query/Params RPC method. -message QueryParamsRequest { - // subspace defines the module to query the parameter for. - string subspace = 1; - - // key defines the key of the parameter in the subspace. - string key = 2; -} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - // param defines the queried parameter. - ParamChange param = 1 [(gogoproto.nullable) = false]; -} - -// QuerySubspacesRequest defines a request type for querying for all registered -// subspaces and all keys for a subspace. -message QuerySubspacesRequest {} - -// QuerySubspacesResponse defines the response types for querying for all -// registered subspaces and all keys for a subspace. -message QuerySubspacesResponse { - repeated Subspace subspaces = 1; -} - -// Subspace defines a parameter subspace name and all the keys that exist for -// the subspace. -message Subspace { - string subspace = 1; - repeated string keys = 2; -} diff --git a/quicksilverjs/proto/cosmos/slashing/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/slashing/v1beta1/genesis.proto deleted file mode 100644 index 312d56aa2..000000000 --- a/quicksilverjs/proto/cosmos/slashing/v1beta1/genesis.proto +++ /dev/null @@ -1,47 +0,0 @@ -syntax = "proto3"; -package cosmos.slashing.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; - -import "gogoproto/gogo.proto"; -import "cosmos/slashing/v1beta1/slashing.proto"; -import "cosmos_proto/cosmos.proto"; - -// GenesisState defines the slashing module's genesis state. -message GenesisState { - // params defines all the paramaters of related to deposit. - Params params = 1 [(gogoproto.nullable) = false]; - - // signing_infos represents a map between validator addresses and their - // signing infos. - repeated SigningInfo signing_infos = 2 [(gogoproto.nullable) = false]; - - // missed_blocks represents a map between validator addresses and their - // missed blocks. - repeated ValidatorMissedBlocks missed_blocks = 3 [(gogoproto.nullable) = false]; -} - -// SigningInfo stores validator signing info of corresponding address. -message SigningInfo { - // address is the validator address. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_signing_info represents the signing info of this validator. - ValidatorSigningInfo validator_signing_info = 2 [(gogoproto.nullable) = false]; -} - -// ValidatorMissedBlocks contains array of missed blocks of corresponding -// address. -message ValidatorMissedBlocks { - // address is the validator address. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // missed_blocks is an array of missed blocks by the validator. - repeated MissedBlock missed_blocks = 2 [(gogoproto.nullable) = false]; -} - -// MissedBlock contains height and missed status as boolean. -message MissedBlock { - // index is the height at which the block was missed. - int64 index = 1; - // missed is the missed status. - bool missed = 2; -} diff --git a/quicksilverjs/proto/cosmos/slashing/v1beta1/query.proto b/quicksilverjs/proto/cosmos/slashing/v1beta1/query.proto deleted file mode 100644 index f742c1f8a..000000000 --- a/quicksilverjs/proto/cosmos/slashing/v1beta1/query.proto +++ /dev/null @@ -1,64 +0,0 @@ -syntax = "proto3"; -package cosmos.slashing.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/slashing/v1beta1/slashing.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; - -// Query provides defines the gRPC querier service -service Query { - // Params queries the parameters of slashing module - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/slashing/v1beta1/params"; - } - - // SigningInfo queries the signing info of given cons address - rpc SigningInfo(QuerySigningInfoRequest) returns (QuerySigningInfoResponse) { - option (google.api.http).get = "/cosmos/slashing/v1beta1/signing_infos/{cons_address}"; - } - - // SigningInfos queries signing info of all validators - rpc SigningInfos(QuerySigningInfosRequest) returns (QuerySigningInfosResponse) { - option (google.api.http).get = "/cosmos/slashing/v1beta1/signing_infos"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method -message QueryParamsResponse { - Params params = 1 [(gogoproto.nullable) = false]; -} - -// QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC -// method -message QuerySigningInfoRequest { - // cons_address is the address to query signing info of - string cons_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC -// method -message QuerySigningInfoResponse { - // val_signing_info is the signing info of requested val cons address - ValidatorSigningInfo val_signing_info = 1 [(gogoproto.nullable) = false]; -} - -// QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC -// method -message QuerySigningInfosRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC -// method -message QuerySigningInfosResponse { - // info is the signing info of all validators - repeated cosmos.slashing.v1beta1.ValidatorSigningInfo info = 1 [(gogoproto.nullable) = false]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/quicksilverjs/proto/cosmos/slashing/v1beta1/slashing.proto b/quicksilverjs/proto/cosmos/slashing/v1beta1/slashing.proto deleted file mode 100644 index 0aa9f61ff..000000000 --- a/quicksilverjs/proto/cosmos/slashing/v1beta1/slashing.proto +++ /dev/null @@ -1,45 +0,0 @@ -syntax = "proto3"; -package cosmos.slashing.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos_proto/cosmos.proto"; - -// ValidatorSigningInfo defines a validator's signing info for monitoring their -// liveness activity. -message ValidatorSigningInfo { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // Height at which validator was first a candidate OR was unjailed - int64 start_height = 2; - // Index which is incremented each time the validator was a bonded - // in a block and may have signed a precommit or not. This in conjunction with the - // `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - int64 index_offset = 3; - // Timestamp until which the validator is jailed due to liveness downtime. - google.protobuf.Timestamp jailed_until = 4 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - // Whether or not a validator has been tombstoned (killed out of validator set). It is set - // once the validator commits an equivocation or for any other configured misbehiavor. - bool tombstoned = 5; - // A counter kept to avoid unnecessary array reads. - // Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. - int64 missed_blocks_counter = 6; -} - -// Params represents the parameters used for by the slashing module. -message Params { - int64 signed_blocks_window = 1; - bytes min_signed_per_window = 2 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; - google.protobuf.Duration downtime_jail_duration = 3 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; - bytes slash_fraction_double_sign = 4 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; - bytes slash_fraction_downtime = 5 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", (gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/slashing/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/slashing/v1beta1/tx.proto deleted file mode 100644 index 7c90304b8..000000000 --- a/quicksilverjs/proto/cosmos/slashing/v1beta1/tx.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; -package cosmos.slashing.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/slashing/types"; -option (gogoproto.equal_all) = true; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/msg/v1/msg.proto"; - -// Msg defines the slashing Msg service. -service Msg { - // Unjail defines a method for unjailing a jailed validator, thus returning - // them into the bonded validator set, so they can begin receiving provisions - // and rewards again. - rpc Unjail(MsgUnjail) returns (MsgUnjailResponse); -} - -// MsgUnjail defines the Msg/Unjail request type -message MsgUnjail { - option (cosmos.msg.v1.signer) = "validator_addr"; - - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = true; - - string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString", (gogoproto.jsontag) = "address"]; -} - -// MsgUnjailResponse defines the Msg/Unjail response type -message MsgUnjailResponse {} diff --git a/quicksilverjs/proto/cosmos/staking/v1beta1/authz.proto b/quicksilverjs/proto/cosmos/staking/v1beta1/authz.proto deleted file mode 100644 index 981da1dba..000000000 --- a/quicksilverjs/proto/cosmos/staking/v1beta1/authz.proto +++ /dev/null @@ -1,47 +0,0 @@ -syntax = "proto3"; -package cosmos.staking.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; - -// StakeAuthorization defines authorization for delegate/undelegate/redelegate. -// -// Since: cosmos-sdk 0.43 -message StakeAuthorization { - option (cosmos_proto.implements_interface) = "cosmos.authz.Authorization"; - - // max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is - // empty, there is no spend limit and any amount of coins can be delegated. - cosmos.base.v1beta1.Coin max_tokens = 1 [(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coin"]; - // validators is the oneof that represents either allow_list or deny_list - oneof validators { - // allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - // account. - Validators allow_list = 2; - // deny_list specifies list of validator addresses to whom grantee can not delegate tokens. - Validators deny_list = 3; - } - // Validators defines list of validator addresses. - message Validators { - repeated string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - } - // authorization_type defines one of AuthorizationType. - AuthorizationType authorization_type = 4; -} - -// AuthorizationType defines the type of staking module authorization type -// -// Since: cosmos-sdk 0.43 -enum AuthorizationType { - // AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type - AUTHORIZATION_TYPE_UNSPECIFIED = 0; - // AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate - AUTHORIZATION_TYPE_DELEGATE = 1; - // AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate - AUTHORIZATION_TYPE_UNDELEGATE = 2; - // AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate - AUTHORIZATION_TYPE_REDELEGATE = 3; -} diff --git a/quicksilverjs/proto/cosmos/staking/v1beta1/genesis.proto b/quicksilverjs/proto/cosmos/staking/v1beta1/genesis.proto deleted file mode 100644 index bf3c298e3..000000000 --- a/quicksilverjs/proto/cosmos/staking/v1beta1/genesis.proto +++ /dev/null @@ -1,49 +0,0 @@ -syntax = "proto3"; -package cosmos.staking.v1beta1; - -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; - -import "gogoproto/gogo.proto"; -import "cosmos/staking/v1beta1/staking.proto"; -import "cosmos_proto/cosmos.proto"; - -// GenesisState defines the staking module's genesis state. -message GenesisState { - // params defines all the paramaters of related to deposit. - Params params = 1 [(gogoproto.nullable) = false]; - - // last_total_power tracks the total amounts of bonded tokens recorded during - // the previous end block. - bytes last_total_power = 2 - [(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", (gogoproto.nullable) = false]; - - // last_validator_powers is a special index that provides a historical list - // of the last-block's bonded validators. - repeated LastValidatorPower last_validator_powers = 3 [(gogoproto.nullable) = false]; - - // delegations defines the validator set at genesis. - repeated Validator validators = 4 [(gogoproto.nullable) = false]; - - // delegations defines the delegations active at genesis. - repeated Delegation delegations = 5 [(gogoproto.nullable) = false]; - - // unbonding_delegations defines the unbonding delegations active at genesis. - repeated UnbondingDelegation unbonding_delegations = 6 [(gogoproto.nullable) = false]; - - // redelegations defines the redelegations active at genesis. - repeated Redelegation redelegations = 7 [(gogoproto.nullable) = false]; - - bool exported = 8; -} - -// LastValidatorPower required for validator set update logic. -message LastValidatorPower { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // address is the address of the validator. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // power defines the power of the validator. - int64 power = 2; -} diff --git a/quicksilverjs/proto/cosmos/staking/v1beta1/query.proto b/quicksilverjs/proto/cosmos/staking/v1beta1/query.proto deleted file mode 100644 index 02469232b..000000000 --- a/quicksilverjs/proto/cosmos/staking/v1beta1/query.proto +++ /dev/null @@ -1,349 +0,0 @@ -syntax = "proto3"; -package cosmos.staking.v1beta1; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/staking/v1beta1/staking.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; - -// Query defines the gRPC querier service. -service Query { - // Validators queries all validators that match the given status. - rpc Validators(QueryValidatorsRequest) returns (QueryValidatorsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators"; - } - - // Validator queries validator info for given validator address. - rpc Validator(QueryValidatorRequest) returns (QueryValidatorResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}"; - } - - // ValidatorDelegations queries delegate info for given validator. - rpc ValidatorDelegations(QueryValidatorDelegationsRequest) returns (QueryValidatorDelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations"; - } - - // ValidatorUnbondingDelegations queries unbonding delegations of a validator. - rpc ValidatorUnbondingDelegations(QueryValidatorUnbondingDelegationsRequest) - returns (QueryValidatorUnbondingDelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/" - "{validator_addr}/unbonding_delegations"; - } - - // Delegation queries delegate info for given validator delegator pair. - rpc Delegation(QueryDelegationRequest) returns (QueryDelegationResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" - "{delegator_addr}"; - } - - // UnbondingDelegation queries unbonding info for given validator delegator - // pair. - rpc UnbondingDelegation(QueryUnbondingDelegationRequest) returns (QueryUnbondingDelegationResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/" - "{delegator_addr}/unbonding_delegation"; - } - - // DelegatorDelegations queries all delegations of a given delegator address. - rpc DelegatorDelegations(QueryDelegatorDelegationsRequest) returns (QueryDelegatorDelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegations/{delegator_addr}"; - } - - // DelegatorUnbondingDelegations queries all unbonding delegations of a given - // delegator address. - rpc DelegatorUnbondingDelegations(QueryDelegatorUnbondingDelegationsRequest) - returns (QueryDelegatorUnbondingDelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/" - "{delegator_addr}/unbonding_delegations"; - } - - // Redelegations queries redelegations of given address. - rpc Redelegations(QueryRedelegationsRequest) returns (QueryRedelegationsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations"; - } - - // DelegatorValidators queries all validators info for given delegator - // address. - rpc DelegatorValidators(QueryDelegatorValidatorsRequest) returns (QueryDelegatorValidatorsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators"; - } - - // DelegatorValidator queries validator info for given delegator validator - // pair. - rpc DelegatorValidator(QueryDelegatorValidatorRequest) returns (QueryDelegatorValidatorResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/" - "{validator_addr}"; - } - - // HistoricalInfo queries the historical info for given height. - rpc HistoricalInfo(QueryHistoricalInfoRequest) returns (QueryHistoricalInfoResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/historical_info/{height}"; - } - - // Pool queries the pool info. - rpc Pool(QueryPoolRequest) returns (QueryPoolResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/pool"; - } - - // Parameters queries the staking parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmos/staking/v1beta1/params"; - } -} - -// QueryValidatorsRequest is request type for Query/Validators RPC method. -message QueryValidatorsRequest { - // status enables to query for validators matching a given status. - string status = 1; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryValidatorsResponse is response type for the Query/Validators RPC method -message QueryValidatorsResponse { - // validators contains all the queried validators. - repeated Validator validators = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryValidatorRequest is response type for the Query/Validator RPC method -message QueryValidatorRequest { - // validator_addr defines the validator address to query for. - string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryValidatorResponse is response type for the Query/Validator RPC method -message QueryValidatorResponse { - // validator defines the the validator info. - Validator validator = 1 [(gogoproto.nullable) = false]; -} - -// QueryValidatorDelegationsRequest is request type for the -// Query/ValidatorDelegations RPC method -message QueryValidatorDelegationsRequest { - // validator_addr defines the validator address to query for. - string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryValidatorDelegationsResponse is response type for the -// Query/ValidatorDelegations RPC method -message QueryValidatorDelegationsResponse { - repeated DelegationResponse delegation_responses = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "DelegationResponses"]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryValidatorUnbondingDelegationsRequest is required type for the -// Query/ValidatorUnbondingDelegations RPC method -message QueryValidatorUnbondingDelegationsRequest { - // validator_addr defines the validator address to query for. - string validator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryValidatorUnbondingDelegationsResponse is response type for the -// Query/ValidatorUnbondingDelegations RPC method. -message QueryValidatorUnbondingDelegationsResponse { - repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDelegationRequest is request type for the Query/Delegation RPC method. -message QueryDelegationRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // validator_addr defines the validator address to query for. - string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegationResponse is response type for the Query/Delegation RPC method. -message QueryDelegationResponse { - // delegation_responses defines the delegation info of a delegation. - DelegationResponse delegation_response = 1; -} - -// QueryUnbondingDelegationRequest is request type for the -// Query/UnbondingDelegation RPC method. -message QueryUnbondingDelegationRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // validator_addr defines the validator address to query for. - string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegationResponse is response type for the Query/UnbondingDelegation -// RPC method. -message QueryUnbondingDelegationResponse { - // unbond defines the unbonding information of a delegation. - UnbondingDelegation unbond = 1 [(gogoproto.nullable) = false]; -} - -// QueryDelegatorDelegationsRequest is request type for the -// Query/DelegatorDelegations RPC method. -message QueryDelegatorDelegationsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryDelegatorDelegationsResponse is response type for the -// Query/DelegatorDelegations RPC method. -message QueryDelegatorDelegationsResponse { - // delegation_responses defines all the delegations' info of a delegator. - repeated DelegationResponse delegation_responses = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDelegatorUnbondingDelegationsRequest is request type for the -// Query/DelegatorUnbondingDelegations RPC method. -message QueryDelegatorUnbondingDelegationsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryUnbondingDelegatorDelegationsResponse is response type for the -// Query/UnbondingDelegatorDelegations RPC method. -message QueryDelegatorUnbondingDelegationsResponse { - repeated UnbondingDelegation unbonding_responses = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryRedelegationsRequest is request type for the Query/Redelegations RPC -// method. -message QueryRedelegationsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // src_validator_addr defines the validator address to redelegate from. - string src_validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // dst_validator_addr defines the validator address to redelegate to. - string dst_validator_addr = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 4; -} - -// QueryRedelegationsResponse is response type for the Query/Redelegations RPC -// method. -message QueryRedelegationsResponse { - repeated RedelegationResponse redelegation_responses = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDelegatorValidatorsRequest is request type for the -// Query/DelegatorValidators RPC method. -message QueryDelegatorValidatorsRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryDelegatorValidatorsResponse is response type for the -// Query/DelegatorValidators RPC method. -message QueryDelegatorValidatorsResponse { - // validators defines the the validators' info of a delegator. - repeated Validator validators = 1 [(gogoproto.nullable) = false]; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDelegatorValidatorRequest is request type for the -// Query/DelegatorValidator RPC method. -message QueryDelegatorValidatorRequest { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // delegator_addr defines the delegator address to query for. - string delegator_addr = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // validator_addr defines the validator address to query for. - string validator_addr = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// QueryDelegatorValidatorResponse response type for the -// Query/DelegatorValidator RPC method. -message QueryDelegatorValidatorResponse { - // validator defines the the validator info. - Validator validator = 1 [(gogoproto.nullable) = false]; -} - -// QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC -// method. -message QueryHistoricalInfoRequest { - // height defines at which height to query the historical info. - int64 height = 1; -} - -// QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC -// method. -message QueryHistoricalInfoResponse { - // hist defines the historical info at the given height. - HistoricalInfo hist = 1; -} - -// QueryPoolRequest is request type for the Query/Pool RPC method. -message QueryPoolRequest {} - -// QueryPoolResponse is response type for the Query/Pool RPC method. -message QueryPoolResponse { - // pool defines the pool info. - Pool pool = 1 [(gogoproto.nullable) = false]; -} - -// QueryParamsRequest is request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - // params holds all the parameters of this module. - Params params = 1 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/cosmos/staking/v1beta1/staking.proto b/quicksilverjs/proto/cosmos/staking/v1beta1/staking.proto deleted file mode 100644 index dcf2645fa..000000000 --- a/quicksilverjs/proto/cosmos/staking/v1beta1/staking.proto +++ /dev/null @@ -1,358 +0,0 @@ -syntax = "proto3"; -package cosmos.staking.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; - -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "tendermint/types/types.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; - -// HistoricalInfo contains header and validator information for a given block. -// It is stored as part of staking module's state, which persists the `n` most -// recent HistoricalInfo -// (`n` is set by the staking module's `historical_entries` parameter). -message HistoricalInfo { - tendermint.types.Header header = 1 [(gogoproto.nullable) = false]; - repeated Validator valset = 2 [(gogoproto.nullable) = false]; -} - -// CommissionRates defines the initial commission rates to be used for creating -// a validator. -message CommissionRates { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // rate is the commission rate charged to delegators, as a fraction. - string rate = 1 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // max_rate defines the maximum commission rate which validator can ever charge, as a fraction. - string max_rate = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // max_change_rate defines the maximum daily increase of the validator commission, as a fraction. - string max_change_rate = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// Commission defines commission parameters for a given validator. -message Commission { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // commission_rates defines the initial commission rates to be used for creating a validator. - CommissionRates commission_rates = 1 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; - // update_time is the last time the commission rate was changed. - google.protobuf.Timestamp update_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// Description defines a validator description. -message Description { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // moniker defines a human-readable name for the validator. - string moniker = 1; - // identity defines an optional identity signature (ex. UPort or Keybase). - string identity = 2; - // website defines an optional website link. - string website = 3; - // security_contact defines an optional email for security contact. - string security_contact = 4; - // details define other optional details. - string details = 5; -} - -// Validator defines a validator, together with the total amount of the -// Validator's bond shares and their exchange rate to coins. Slashing results in -// a decrease in the exchange rate, allowing correct calculation of future -// undelegations without iterating over delegators. When coins are delegated to -// this validator, the validator is credited with a delegation whose number of -// bond shares is based on the amount of coins delegated divided by the current -// exchange rate. Voting power can be calculated as total bonded shares -// multiplied by exchange rate. -message Validator { - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.goproto_getters) = false; - - // operator_address defines the address of the validator's operator; bech encoded in JSON. - string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. - google.protobuf.Any consensus_pubkey = 2 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; - // jailed defined whether the validator has been jailed from bonded status or not. - bool jailed = 3; - // status is the validator status (bonded/unbonding/unbonded). - BondStatus status = 4; - // tokens define the delegated tokens (incl. self-delegation). - string tokens = 5 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - // delegator_shares defines total shares issued to a validator's delegators. - string delegator_shares = 6 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // description defines the description terms for the validator. - Description description = 7 [(gogoproto.nullable) = false]; - // unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. - int64 unbonding_height = 8; - // unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. - google.protobuf.Timestamp unbonding_time = 9 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // commission defines the commission parameters. - Commission commission = 10 [(gogoproto.nullable) = false]; - // min_self_delegation is the validator's self declared minimum self delegation. - string min_self_delegation = 11 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} - -// BondStatus is the status of a validator. -enum BondStatus { - option (gogoproto.goproto_enum_prefix) = false; - - // UNSPECIFIED defines an invalid validator status. - BOND_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "Unspecified"]; - // UNBONDED defines a validator that is not bonded. - BOND_STATUS_UNBONDED = 1 [(gogoproto.enumvalue_customname) = "Unbonded"]; - // UNBONDING defines a validator that is unbonding. - BOND_STATUS_UNBONDING = 2 [(gogoproto.enumvalue_customname) = "Unbonding"]; - // BONDED defines a validator that is bonded. - BOND_STATUS_BONDED = 3 [(gogoproto.enumvalue_customname) = "Bonded"]; -} - -// ValAddresses defines a repeated set of validator addresses. -message ValAddresses { - option (gogoproto.goproto_stringer) = false; - option (gogoproto.stringer) = true; - - repeated string addresses = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// DVPair is struct that just has a delegator-validator pair with no other data. -// It is intended to be used as a marshalable pointer. For example, a DVPair can -// be used to construct the key to getting an UnbondingDelegation from state. -message DVPair { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// DVPairs defines an array of DVPair objects. -message DVPairs { - repeated DVPair pairs = 1 [(gogoproto.nullable) = false]; -} - -// DVVTriplet is struct that just has a delegator-validator-validator triplet -// with no other data. It is intended to be used as a marshalable pointer. For -// example, a DVVTriplet can be used to construct the key to getting a -// Redelegation from state. -message DVVTriplet { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// DVVTriplets defines an array of DVVTriplet objects. -message DVVTriplets { - repeated DVVTriplet triplets = 1 [(gogoproto.nullable) = false]; -} - -// Delegation represents the bond with tokens held by an account. It is -// owned by one delegator, and is associated with the voting power of one -// validator. -message Delegation { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - // delegator_address is the bech32-encoded address of the delegator. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_address is the bech32-encoded address of the validator. - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // shares define the delegation shares received. - string shares = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// UnbondingDelegation stores all of a single delegator's unbonding bonds -// for a single validator in an time-ordered list. -message UnbondingDelegation { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - // delegator_address is the bech32-encoded address of the delegator. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_address is the bech32-encoded address of the validator. - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // entries are the unbonding delegation entries. - repeated UnbondingDelegationEntry entries = 3 [(gogoproto.nullable) = false]; // unbonding delegation entries -} - -// UnbondingDelegationEntry defines an unbonding object with relevant metadata. -message UnbondingDelegationEntry { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // creation_height is the height which the unbonding took place. - int64 creation_height = 1; - // completion_time is the unix time for unbonding completion. - google.protobuf.Timestamp completion_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // initial_balance defines the tokens initially scheduled to receive at completion. - string initial_balance = 3 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - // balance defines the tokens to receive at completion. - string balance = 4 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} - -// RedelegationEntry defines a redelegation object with relevant metadata. -message RedelegationEntry { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // creation_height defines the height which the redelegation took place. - int64 creation_height = 1; - // completion_time defines the unix time for redelegation completion. - google.protobuf.Timestamp completion_time = 2 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // initial_balance defines the initial balance when redelegation started. - string initial_balance = 3 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - // shares_dst is the amount of destination-validator shares created by redelegation. - string shares_dst = 4 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// Redelegation contains the list of a particular delegator's redelegating bonds -// from a particular source validator to a particular destination validator. -message Redelegation { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - // delegator_address is the bech32-encoded address of the delegator. - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_src_address is the validator redelegation source operator address. - string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // validator_dst_address is the validator redelegation destination operator address. - string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // entries are the redelegation entries. - repeated RedelegationEntry entries = 4 [(gogoproto.nullable) = false]; // redelegation entries -} - -// Params defines the parameters for the staking module. -message Params { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // unbonding_time is the time duration of unbonding. - google.protobuf.Duration unbonding_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; - // max_validators is the maximum number of validators. - uint32 max_validators = 2; - // max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). - uint32 max_entries = 3; - // historical_entries is the number of historical entries to persist. - uint32 historical_entries = 4; - // bond_denom defines the bondable coin denomination. - string bond_denom = 5; - // min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators - string min_commission_rate = 6 [ - (gogoproto.moretags) = "yaml:\"min_commission_rate\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// DelegationResponse is equivalent to Delegation except that it contains a -// balance in addition to shares which is more suitable for client responses. -message DelegationResponse { - option (gogoproto.equal) = false; - option (gogoproto.goproto_stringer) = false; - - Delegation delegation = 1 [(gogoproto.nullable) = false]; - - cosmos.base.v1beta1.Coin balance = 2 [(gogoproto.nullable) = false]; -} - -// RedelegationEntryResponse is equivalent to a RedelegationEntry except that it -// contains a balance in addition to shares which is more suitable for client -// responses. -message RedelegationEntryResponse { - option (gogoproto.equal) = true; - - RedelegationEntry redelegation_entry = 1 [(gogoproto.nullable) = false]; - string balance = 4 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} - -// RedelegationResponse is equivalent to a Redelegation except that its entries -// contain a balance in addition to shares which is more suitable for client -// responses. -message RedelegationResponse { - option (gogoproto.equal) = false; - - Redelegation redelegation = 1 [(gogoproto.nullable) = false]; - repeated RedelegationEntryResponse entries = 2 [(gogoproto.nullable) = false]; -} - -// Pool is used for tracking bonded and not-bonded token supply of the bond -// denomination. -message Pool { - option (gogoproto.description) = true; - option (gogoproto.equal) = true; - string not_bonded_tokens = 1 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "not_bonded_tokens" - ]; - string bonded_tokens = 2 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "bonded_tokens" - ]; -} diff --git a/quicksilverjs/proto/cosmos/staking/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/staking/v1beta1/tx.proto deleted file mode 100644 index 6c8d40a76..000000000 --- a/quicksilverjs/proto/cosmos/staking/v1beta1/tx.proto +++ /dev/null @@ -1,138 +0,0 @@ -syntax = "proto3"; -package cosmos.staking.v1beta1; - -import "google/protobuf/any.proto"; -import "google/protobuf/timestamp.proto"; -import "gogoproto/gogo.proto"; - -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/staking/v1beta1/staking.proto"; - -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/staking/types"; - -// Msg defines the staking Msg service. -service Msg { - // CreateValidator defines a method for creating a new validator. - rpc CreateValidator(MsgCreateValidator) returns (MsgCreateValidatorResponse); - - // EditValidator defines a method for editing an existing validator. - rpc EditValidator(MsgEditValidator) returns (MsgEditValidatorResponse); - - // Delegate defines a method for performing a delegation of coins - // from a delegator to a validator. - rpc Delegate(MsgDelegate) returns (MsgDelegateResponse); - - // BeginRedelegate defines a method for performing a redelegation - // of coins from a delegator and source validator to a destination validator. - rpc BeginRedelegate(MsgBeginRedelegate) returns (MsgBeginRedelegateResponse); - - // Undelegate defines a method for performing an undelegation from a - // delegate and a validator. - rpc Undelegate(MsgUndelegate) returns (MsgUndelegateResponse); -} - -// MsgCreateValidator defines a SDK message for creating a new validator. -message MsgCreateValidator { - // NOTE(fdymylja): this is a particular case in which - // if validator_address == delegator_address then only one - // is expected to sign, otherwise both are. - option (cosmos.msg.v1.signer) = "delegator_address"; - option (cosmos.msg.v1.signer) = "validator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Description description = 1 [(gogoproto.nullable) = false]; - CommissionRates commission = 2 [(gogoproto.nullable) = false]; - string min_self_delegation = 3 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string delegator_address = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_address = 5 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - google.protobuf.Any pubkey = 6 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; - cosmos.base.v1beta1.Coin value = 7 [(gogoproto.nullable) = false]; -} - -// MsgCreateValidatorResponse defines the Msg/CreateValidator response type. -message MsgCreateValidatorResponse {} - -// MsgEditValidator defines a SDK message for editing an existing validator. -message MsgEditValidator { - option (cosmos.msg.v1.signer) = "validator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Description description = 1 [(gogoproto.nullable) = false]; - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // We pass a reference to the new commission rate and min self delegation as - // it's not mandatory to update. If not updated, the deserialized rate will be - // zero with no way to distinguish if an update was intended. - // REF: #2373 - string commission_rate = 3 - [(cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec"]; - string min_self_delegation = 4 - [(cosmos_proto.scalar) = "cosmos.Int", (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"]; -} - -// MsgEditValidatorResponse defines the Msg/EditValidator response type. -message MsgEditValidatorResponse {} - -// MsgDelegate defines a SDK message for performing a delegation of coins -// from a delegator to a validator. -message MsgDelegate { - option (cosmos.msg.v1.signer) = "delegator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; -} - -// MsgDelegateResponse defines the Msg/Delegate response type. -message MsgDelegateResponse {} - -// MsgBeginRedelegate defines a SDK message for performing a redelegation -// of coins from a delegator and source validator to a destination validator. -message MsgBeginRedelegate { - option (cosmos.msg.v1.signer) = "delegator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_src_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_dst_address = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - cosmos.base.v1beta1.Coin amount = 4 [(gogoproto.nullable) = false]; -} - -// MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. -message MsgBeginRedelegateResponse { - google.protobuf.Timestamp completion_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// MsgUndelegate defines a SDK message for performing an undelegation from a -// delegate and a validator. -message MsgUndelegate { - option (cosmos.msg.v1.signer) = "delegator_address"; - - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string delegator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string validator_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - cosmos.base.v1beta1.Coin amount = 3 [(gogoproto.nullable) = false]; -} - -// MsgUndelegateResponse defines the Msg/Undelegate response type. -message MsgUndelegateResponse { - google.protobuf.Timestamp completion_time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} diff --git a/quicksilverjs/proto/cosmos/tx/signing/v1beta1/signing.proto b/quicksilverjs/proto/cosmos/tx/signing/v1beta1/signing.proto deleted file mode 100644 index 5a22616fe..000000000 --- a/quicksilverjs/proto/cosmos/tx/signing/v1beta1/signing.proto +++ /dev/null @@ -1,94 +0,0 @@ -syntax = "proto3"; -package cosmos.tx.signing.v1beta1; - -import "cosmos/crypto/multisig/v1beta1/multisig.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types/tx/signing"; - -// SignMode represents a signing mode with its own security guarantees. -// -// This enum should be considered a registry of all known sign modes -// in the Cosmos ecosystem. Apps are not expected to support all known -// sign modes. Apps that would like to support custom sign modes are -// encouraged to open a small PR against this file to add a new case -// to this SignMode enum describing their sign mode so that different -// apps have a consistent version of this enum. -enum SignMode { - // SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be - // rejected. - SIGN_MODE_UNSPECIFIED = 0; - - // SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is - // verified with raw bytes from Tx. - SIGN_MODE_DIRECT = 1; - - // SIGN_MODE_TEXTUAL is a future signing mode that will verify some - // human-readable textual representation on top of the binary representation - // from SIGN_MODE_DIRECT. It is currently not supported. - SIGN_MODE_TEXTUAL = 2; - - // SIGN_MODE_DIRECT_AUX specifies a signing mode which uses - // SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not - // require signers signing over other signers' `signer_info`. It also allows - // for adding Tips in transactions. - // - // Since: cosmos-sdk 0.46 - SIGN_MODE_DIRECT_AUX = 3; - - // SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses - // Amino JSON and will be removed in the future. - SIGN_MODE_LEGACY_AMINO_JSON = 127; -} - -// SignatureDescriptors wraps multiple SignatureDescriptor's. -message SignatureDescriptors { - // signatures are the signature descriptors - repeated SignatureDescriptor signatures = 1; -} - -// SignatureDescriptor is a convenience type which represents the full data for -// a signature including the public key of the signer, signing modes and the -// signature itself. It is primarily used for coordinating signatures between -// clients. -message SignatureDescriptor { - // public_key is the public key of the signer - google.protobuf.Any public_key = 1; - - Data data = 2; - - // sequence is the sequence of the account, which describes the - // number of committed transactions signed by a given address. It is used to prevent - // replay attacks. - uint64 sequence = 3; - - // Data represents signature data - message Data { - // sum is the oneof that specifies whether this represents single or multi-signature data - oneof sum { - // single represents a single signer - Single single = 1; - - // multi represents a multisig signer - Multi multi = 2; - } - - // Single is the signature data for a single signer - message Single { - // mode is the signing mode of the single signer - SignMode mode = 1; - - // signature is the raw signature bytes - bytes signature = 2; - } - - // Multi is the signature data for a multisig public key - message Multi { - // bitarray specifies which keys within the multisig are signing - cosmos.crypto.multisig.v1beta1.CompactBitArray bitarray = 1; - - // signatures is the signatures of the multi-signature - repeated Data signatures = 2; - } - } -} diff --git a/quicksilverjs/proto/cosmos/tx/v1beta1/service.proto b/quicksilverjs/proto/cosmos/tx/v1beta1/service.proto deleted file mode 100644 index e7af15269..000000000 --- a/quicksilverjs/proto/cosmos/tx/v1beta1/service.proto +++ /dev/null @@ -1,163 +0,0 @@ -syntax = "proto3"; -package cosmos.tx.v1beta1; - -import "google/api/annotations.proto"; -import "cosmos/base/abci/v1beta1/abci.proto"; -import "cosmos/tx/v1beta1/tx.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "tendermint/types/block.proto"; -import "tendermint/types/types.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; - -// Service defines a gRPC service for interacting with transactions. -service Service { - // Simulate simulates executing a transaction for estimating gas usage. - rpc Simulate(SimulateRequest) returns (SimulateResponse) { - option (google.api.http) = { - post: "/cosmos/tx/v1beta1/simulate" - body: "*" - }; - } - // GetTx fetches a tx by hash. - rpc GetTx(GetTxRequest) returns (GetTxResponse) { - option (google.api.http).get = "/cosmos/tx/v1beta1/txs/{hash}"; - } - // BroadcastTx broadcast transaction. - rpc BroadcastTx(BroadcastTxRequest) returns (BroadcastTxResponse) { - option (google.api.http) = { - post: "/cosmos/tx/v1beta1/txs" - body: "*" - }; - } - // GetTxsEvent fetches txs by event. - rpc GetTxsEvent(GetTxsEventRequest) returns (GetTxsEventResponse) { - option (google.api.http).get = "/cosmos/tx/v1beta1/txs"; - } - // GetBlockWithTxs fetches a block with decoded txs. - // - // Since: cosmos-sdk 0.45.2 - rpc GetBlockWithTxs(GetBlockWithTxsRequest) returns (GetBlockWithTxsResponse) { - option (google.api.http).get = "/cosmos/tx/v1beta1/txs/block/{height}"; - } -} - -// GetTxsEventRequest is the request type for the Service.TxsByEvents -// RPC method. -message GetTxsEventRequest { - // events is the list of transaction event type. - repeated string events = 1; - // pagination defines a pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; - OrderBy order_by = 3; -} - -// OrderBy defines the sorting order -enum OrderBy { - // ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. - ORDER_BY_UNSPECIFIED = 0; - // ORDER_BY_ASC defines ascending order - ORDER_BY_ASC = 1; - // ORDER_BY_DESC defines descending order - ORDER_BY_DESC = 2; -} - -// GetTxsEventResponse is the response type for the Service.TxsByEvents -// RPC method. -message GetTxsEventResponse { - // txs is the list of queried transactions. - repeated cosmos.tx.v1beta1.Tx txs = 1; - // tx_responses is the list of queried TxResponses. - repeated cosmos.base.abci.v1beta1.TxResponse tx_responses = 2; - // pagination defines a pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 3; -} - -// BroadcastTxRequest is the request type for the Service.BroadcastTxRequest -// RPC method. -message BroadcastTxRequest { - // tx_bytes is the raw transaction. - bytes tx_bytes = 1; - BroadcastMode mode = 2; -} - -// BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. -enum BroadcastMode { - // zero-value for mode ordering - BROADCAST_MODE_UNSPECIFIED = 0; - // BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for - // the tx to be committed in a block. - BROADCAST_MODE_BLOCK = 1; - // BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for - // a CheckTx execution response only. - BROADCAST_MODE_SYNC = 2; - // BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns - // immediately. - BROADCAST_MODE_ASYNC = 3; -} - -// BroadcastTxResponse is the response type for the -// Service.BroadcastTx method. -message BroadcastTxResponse { - // tx_response is the queried TxResponses. - cosmos.base.abci.v1beta1.TxResponse tx_response = 1; -} - -// SimulateRequest is the request type for the Service.Simulate -// RPC method. -message SimulateRequest { - // tx is the transaction to simulate. - // Deprecated. Send raw tx bytes instead. - cosmos.tx.v1beta1.Tx tx = 1 [deprecated = true]; - // tx_bytes is the raw transaction. - // - // Since: cosmos-sdk 0.43 - bytes tx_bytes = 2; -} - -// SimulateResponse is the response type for the -// Service.SimulateRPC method. -message SimulateResponse { - // gas_info is the information about gas used in the simulation. - cosmos.base.abci.v1beta1.GasInfo gas_info = 1; - // result is the result of the simulation. - cosmos.base.abci.v1beta1.Result result = 2; -} - -// GetTxRequest is the request type for the Service.GetTx -// RPC method. -message GetTxRequest { - // hash is the tx hash to query, encoded as a hex string. - string hash = 1; -} - -// GetTxResponse is the response type for the Service.GetTx method. -message GetTxResponse { - // tx is the queried transaction. - cosmos.tx.v1beta1.Tx tx = 1; - // tx_response is the queried TxResponses. - cosmos.base.abci.v1beta1.TxResponse tx_response = 2; -} - -// GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs -// RPC method. -// -// Since: cosmos-sdk 0.45.2 -message GetBlockWithTxsRequest { - // height is the height of the block to query. - int64 height = 1; - // pagination defines a pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. -// -// Since: cosmos-sdk 0.45.2 -message GetBlockWithTxsResponse { - // txs are the transactions in the block. - repeated cosmos.tx.v1beta1.Tx txs = 1; - .tendermint.types.BlockID block_id = 2; - .tendermint.types.Block block = 3; - // pagination defines a pagination for the response. - cosmos.base.query.v1beta1.PageResponse pagination = 4; -} \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos/tx/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/tx/v1beta1/tx.proto deleted file mode 100644 index ac7b690f4..000000000 --- a/quicksilverjs/proto/cosmos/tx/v1beta1/tx.proto +++ /dev/null @@ -1,249 +0,0 @@ -syntax = "proto3"; -package cosmos.tx.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/crypto/multisig/v1beta1/multisig.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/tx/signing/v1beta1/signing.proto"; -import "google/protobuf/any.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/types/tx"; - -// Tx is the standard type used for broadcasting transactions. -message Tx { - // body is the processable content of the transaction - TxBody body = 1; - - // auth_info is the authorization related content of the transaction, - // specifically signers, signer modes and fee - AuthInfo auth_info = 2; - - // signatures is a list of signatures that matches the length and order of - // AuthInfo's signer_infos to allow connecting signature meta information like - // public key and signing mode by position. - repeated bytes signatures = 3; -} - -// TxRaw is a variant of Tx that pins the signer's exact binary representation -// of body and auth_info. This is used for signing, broadcasting and -// verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and -// the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used -// as the transaction ID. -message TxRaw { - // body_bytes is a protobuf serialization of a TxBody that matches the - // representation in SignDoc. - bytes body_bytes = 1; - - // auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - // representation in SignDoc. - bytes auth_info_bytes = 2; - - // signatures is a list of signatures that matches the length and order of - // AuthInfo's signer_infos to allow connecting signature meta information like - // public key and signing mode by position. - repeated bytes signatures = 3; -} - -// SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. -message SignDoc { - // body_bytes is protobuf serialization of a TxBody that matches the - // representation in TxRaw. - bytes body_bytes = 1; - - // auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - // representation in TxRaw. - bytes auth_info_bytes = 2; - - // chain_id is the unique identifier of the chain this transaction targets. - // It prevents signed transactions from being used on another chain by an - // attacker - string chain_id = 3; - - // account_number is the account number of the account in state - uint64 account_number = 4; -} - -// SignDocDirectAux is the type used for generating sign bytes for -// SIGN_MODE_DIRECT_AUX. -// -// Since: cosmos-sdk 0.46 -message SignDocDirectAux { - // body_bytes is protobuf serialization of a TxBody that matches the - // representation in TxRaw. - bytes body_bytes = 1; - - // public_key is the public key of the signing account. - google.protobuf.Any public_key = 2; - - // chain_id is the identifier of the chain this transaction targets. - // It prevents signed transactions from being used on another chain by an - // attacker. - string chain_id = 3; - - // account_number is the account number of the account in state. - uint64 account_number = 4; - - // sequence is the sequence number of the signing account. - uint64 sequence = 5; - - // Tip is the optional tip used for meta-transactions. It should be left - // empty if the signer is not the tipper for this transaction. - Tip tip = 6; -} - -// TxBody is the body of a transaction that all signers sign over. -message TxBody { - // messages is a list of messages to be executed. The required signers of - // those messages define the number and order of elements in AuthInfo's - // signer_infos and Tx's signatures. Each required signer address is added to - // the list only the first time it occurs. - // By convention, the first required signer (usually from the first message) - // is referred to as the primary signer and pays the fee for the whole - // transaction. - repeated google.protobuf.Any messages = 1; - - // memo is any arbitrary note/comment to be added to the transaction. - // WARNING: in clients, any publicly exposed text should not be called memo, - // but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). - string memo = 2; - - // timeout is the block height after which this transaction will not - // be processed by the chain - uint64 timeout_height = 3; - - // extension_options are arbitrary options that can be added by chains - // when the default options are not sufficient. If any of these are present - // and can't be handled, the transaction will be rejected - repeated google.protobuf.Any extension_options = 1023; - - // extension_options are arbitrary options that can be added by chains - // when the default options are not sufficient. If any of these are present - // and can't be handled, they will be ignored - repeated google.protobuf.Any non_critical_extension_options = 2047; -} - -// AuthInfo describes the fee and signer modes that are used to sign a -// transaction. -message AuthInfo { - // signer_infos defines the signing modes for the required signers. The number - // and order of elements must match the required signers from TxBody's - // messages. The first element is the primary signer and the one which pays - // the fee. - repeated SignerInfo signer_infos = 1; - - // Fee is the fee and gas limit for the transaction. The first signer is the - // primary signer and the one which pays the fee. The fee can be calculated - // based on the cost of evaluating the body and doing signature verification - // of the signers. This can be estimated via simulation. - Fee fee = 2; - - // Tip is the optional tip used for meta-transactions. - // - // Since: cosmos-sdk 0.46 - Tip tip = 3; -} - -// SignerInfo describes the public key and signing mode of a single top-level -// signer. -message SignerInfo { - // public_key is the public key of the signer. It is optional for accounts - // that already exist in state. If unset, the verifier can use the required \ - // signer address for this position and lookup the public key. - google.protobuf.Any public_key = 1; - - // mode_info describes the signing mode of the signer and is a nested - // structure to support nested multisig pubkey's - ModeInfo mode_info = 2; - - // sequence is the sequence of the account, which describes the - // number of committed transactions signed by a given address. It is used to - // prevent replay attacks. - uint64 sequence = 3; -} - -// ModeInfo describes the signing mode of a single or nested multisig signer. -message ModeInfo { - // sum is the oneof that specifies whether this represents a single or nested - // multisig signer - oneof sum { - // single represents a single signer - Single single = 1; - - // multi represents a nested multisig signer - Multi multi = 2; - } - - // Single is the mode info for a single signer. It is structured as a message - // to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - // future - message Single { - // mode is the signing mode of the single signer - cosmos.tx.signing.v1beta1.SignMode mode = 1; - } - - // Multi is the mode info for a multisig public key - message Multi { - // bitarray specifies which keys within the multisig are signing - cosmos.crypto.multisig.v1beta1.CompactBitArray bitarray = 1; - - // mode_infos is the corresponding modes of the signers of the multisig - // which could include nested multisig public keys - repeated ModeInfo mode_infos = 2; - } -} - -// Fee includes the amount of coins paid in fees and the maximum -// gas to be used by the transaction. The ratio yields an effective "gasprice", -// which must be above some miminum to be accepted into the mempool. -message Fee { - // amount is the amount of coins to be paid as a fee - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - // gas_limit is the maximum gas that can be used in transaction processing - // before an out of gas error occurs - uint64 gas_limit = 2; - - // if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. - // the payer must be a tx signer (and thus have signed this field in AuthInfo). - // setting this field does *not* change the ordering of required signers for the transaction. - string payer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used - // to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does - // not support fee grants, this will fail - string granter = 4 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// Tip is the tip used for meta-transactions. -// -// Since: cosmos-sdk 0.46 -message Tip { - // amount is the amount of the tip - repeated cosmos.base.v1beta1.Coin amount = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - // tipper is the address of the account paying for the tip - string tipper = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// AuxSignerData is the intermediary format that an auxiliary signer (e.g. a -// tipper) builds and sends to the fee payer (who will build and broadcast the -// actual tx). AuxSignerData is not a valid tx in itself, and will be rejected -// by the node if sent directly as-is. -// -// Since: cosmos-sdk 0.46 -message AuxSignerData { - // address is the bech32-encoded address of the auxiliary signer. If using - // AuxSignerData across different chains, the bech32 prefix of the target - // chain (where the final transaction is broadcasted) should be used. - string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - // sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer - // signs. Note: we use the same sign doc even if we're signing with - // LEGACY_AMINO_JSON. - SignDocDirectAux sign_doc = 2; - // mode is the signing mode of the single signer - cosmos.tx.signing.v1beta1.SignMode mode = 3; - // sig is the signature of the sign doc. - bytes sig = 4; -} diff --git a/quicksilverjs/proto/cosmos/upgrade/v1beta1/query.proto b/quicksilverjs/proto/cosmos/upgrade/v1beta1/query.proto deleted file mode 100644 index e8c4baa0d..000000000 --- a/quicksilverjs/proto/cosmos/upgrade/v1beta1/query.proto +++ /dev/null @@ -1,120 +0,0 @@ -syntax = "proto3"; -package cosmos.upgrade.v1beta1; - -import "google/api/annotations.proto"; -import "cosmos/upgrade/v1beta1/upgrade.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; - -// Query defines the gRPC upgrade querier service. -service Query { - // CurrentPlan queries the current upgrade plan. - rpc CurrentPlan(QueryCurrentPlanRequest) returns (QueryCurrentPlanResponse) { - option (google.api.http).get = "/cosmos/upgrade/v1beta1/current_plan"; - } - - // AppliedPlan queries a previously applied upgrade plan by its name. - rpc AppliedPlan(QueryAppliedPlanRequest) returns (QueryAppliedPlanResponse) { - option (google.api.http).get = "/cosmos/upgrade/v1beta1/applied_plan/{name}"; - } - - // UpgradedConsensusState queries the consensus state that will serve - // as a trusted kernel for the next version of this chain. It will only be - // stored at the last height of this chain. - // UpgradedConsensusState RPC not supported with legacy querier - // This rpc is deprecated now that IBC has its own replacement - // (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) returns (QueryUpgradedConsensusStateResponse) { - option deprecated = true; - option (google.api.http).get = "/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}"; - } - - // ModuleVersions queries the list of module versions from state. - // - // Since: cosmos-sdk 0.43 - rpc ModuleVersions(QueryModuleVersionsRequest) returns (QueryModuleVersionsResponse) { - option (google.api.http).get = "/cosmos/upgrade/v1beta1/module_versions"; - } - - // Returns the account with authority to conduct upgrades - rpc Authority(QueryAuthorityRequest) returns (QueryAuthorityResponse) { - option (google.api.http).get = "/cosmos/upgrade/v1beta1/authority"; - } -} - -// QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC -// method. -message QueryCurrentPlanRequest {} - -// QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC -// method. -message QueryCurrentPlanResponse { - // plan is the current upgrade plan. - Plan plan = 1; -} - -// QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC -// method. -message QueryAppliedPlanRequest { - // name is the name of the applied plan to query for. - string name = 1; -} - -// QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC -// method. -message QueryAppliedPlanResponse { - // height is the block height at which the plan was applied. - int64 height = 1; -} - -// QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState -// RPC method. -message QueryUpgradedConsensusStateRequest { - option deprecated = true; - - // last height of the current chain must be sent in request - // as this is the height under which next consensus state is stored - int64 last_height = 1; -} - -// QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState -// RPC method. -message QueryUpgradedConsensusStateResponse { - option deprecated = true; - reserved 1; - - // Since: cosmos-sdk 0.43 - bytes upgraded_consensus_state = 2; -} - -// QueryModuleVersionsRequest is the request type for the Query/ModuleVersions -// RPC method. -// -// Since: cosmos-sdk 0.43 -message QueryModuleVersionsRequest { - // module_name is a field to query a specific module - // consensus version from state. Leaving this empty will - // fetch the full list of module versions from state - string module_name = 1; -} - -// QueryModuleVersionsResponse is the response type for the Query/ModuleVersions -// RPC method. -// -// Since: cosmos-sdk 0.43 -message QueryModuleVersionsResponse { - // module_versions is a list of module names with their consensus versions. - repeated ModuleVersion module_versions = 1; -} - -// QueryAuthorityRequest is the request type for Query/Authority -// -// Since: cosmos-sdk 0.46 -message QueryAuthorityRequest {} - -// QueryAuthorityResponse is the response type for Query/Authority -// -// Since: cosmos-sdk 0.46 -message QueryAuthorityResponse { - string address = 1; -} \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos/upgrade/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/upgrade/v1beta1/tx.proto deleted file mode 100644 index 9b04bf44b..000000000 --- a/quicksilverjs/proto/cosmos/upgrade/v1beta1/tx.proto +++ /dev/null @@ -1,55 +0,0 @@ -syntax = "proto3"; -package cosmos.upgrade.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/upgrade/v1beta1/upgrade.proto"; -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; - -// Msg defines the upgrade Msg service. -service Msg { - // SoftwareUpgrade is a governance operation for initiating a software upgrade. - // - // Since: cosmos-sdk 0.46 - rpc SoftwareUpgrade(MsgSoftwareUpgrade) returns (MsgSoftwareUpgradeResponse); - // CancelUpgrade is a governance operation for cancelling a previously - // approvid software upgrade. - // - // Since: cosmos-sdk 0.46 - rpc CancelUpgrade(MsgCancelUpgrade) returns (MsgCancelUpgradeResponse); -} - -// MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. -// -// Since: cosmos-sdk 0.46 -message MsgSoftwareUpgrade { - option (cosmos.msg.v1.signer) = "authority"; - - // authority is the address of the governance account. - string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - - // plan is the upgrade plan. - Plan plan = 2 [(gogoproto.nullable) = false]; -} - -// MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. -// -// Since: cosmos-sdk 0.46 -message MsgSoftwareUpgradeResponse {} - -// MsgCancelUpgrade is the Msg/CancelUpgrade request type. -// -// Since: cosmos-sdk 0.46 -message MsgCancelUpgrade { - option (cosmos.msg.v1.signer) = "authority"; - - // authority is the address of the governance account. - string authority = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; -} - -// MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. -// -// Since: cosmos-sdk 0.46 -message MsgCancelUpgradeResponse {} \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos/upgrade/v1beta1/upgrade.proto b/quicksilverjs/proto/cosmos/upgrade/v1beta1/upgrade.proto deleted file mode 100644 index dc15e27cc..000000000 --- a/quicksilverjs/proto/cosmos/upgrade/v1beta1/upgrade.proto +++ /dev/null @@ -1,86 +0,0 @@ -syntax = "proto3"; -package cosmos.upgrade.v1beta1; - -import "google/protobuf/any.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/upgrade/types"; -option (gogoproto.goproto_getters_all) = false; - -// Plan specifies information about a planned upgrade and when it should occur. -message Plan { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - // Sets the name for the upgrade. This name will be used by the upgraded - // version of the software to apply any special "on-upgrade" commands during - // the first BeginBlock method after the upgrade is applied. It is also used - // to detect whether a software version can handle a given upgrade. If no - // upgrade handler with this name has been set in the software, it will be - // assumed that the software is out-of-date when the upgrade Time or Height is - // reached and the software will exit. - string name = 1; - - // Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - // has been removed from the SDK. - // If this field is not empty, an error will be thrown. - google.protobuf.Timestamp time = 2 [deprecated = true, (gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - - // The height at which the upgrade must be performed. - // Only used if Time is not set. - int64 height = 3; - - // Any application specific upgrade info to be included on-chain - // such as a git commit that validators could automatically upgrade to - string info = 4; - - // Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been - // moved to the IBC module in the sub module 02-client. - // If this field is not empty, an error will be thrown. - google.protobuf.Any upgraded_client_state = 5 [deprecated = true]; -} - -// SoftwareUpgradeProposal is a gov Content type for initiating a software -// upgrade. -// Deprecated: This legacy proposal is deprecated in favor of Msg-based gov -// proposals, see MsgSoftwareUpgrade. -message SoftwareUpgradeProposal { - option deprecated = true; - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; - Plan plan = 3 [(gogoproto.nullable) = false]; -} - -// CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software -// upgrade. -// Deprecated: This legacy proposal is deprecated in favor of Msg-based gov -// proposals, see MsgCancelUpgrade. -message CancelSoftwareUpgradeProposal { - option deprecated = true; - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; -} - -// ModuleVersion specifies a module and its consensus version. -// -// Since: cosmos-sdk 0.43 -message ModuleVersion { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = true; - - // name of the app module - string name = 1; - - // consensus version of the app module - uint64 version = 2; -} diff --git a/quicksilverjs/proto/cosmos/vesting/v1beta1/tx.proto b/quicksilverjs/proto/cosmos/vesting/v1beta1/tx.proto deleted file mode 100644 index 211bad09e..000000000 --- a/quicksilverjs/proto/cosmos/vesting/v1beta1/tx.proto +++ /dev/null @@ -1,74 +0,0 @@ -syntax = "proto3"; -package cosmos.vesting.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/vesting/v1beta1/vesting.proto"; - -import "cosmos/msg/v1/msg.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; - -// Msg defines the bank Msg service. -service Msg { - // CreateVestingAccount defines a method that enables creating a vesting - // account. - rpc CreateVestingAccount(MsgCreateVestingAccount) returns (MsgCreateVestingAccountResponse); - // CreatePermanentLockedAccount defines a method that enables creating a permanent - // locked account. - rpc CreatePermanentLockedAccount(MsgCreatePermanentLockedAccount) returns (MsgCreatePermanentLockedAccountResponse); - // CreatePeriodicVestingAccount defines a method that enables creating a - // periodic vesting account. - rpc CreatePeriodicVestingAccount(MsgCreatePeriodicVestingAccount) returns (MsgCreatePeriodicVestingAccountResponse); -} - -// MsgCreateVestingAccount defines a message that enables creating a vesting -// account. -message MsgCreateVestingAccount { - option (cosmos.msg.v1.signer) = "from_address"; - - option (gogoproto.equal) = true; - - string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - string to_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - - int64 end_time = 4; - bool delayed = 5; -} - -// MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. -message MsgCreateVestingAccountResponse {} - -// MsgCreatePermanentLockedAccount defines a message that enables creating a permanent -// locked account. -message MsgCreatePermanentLockedAccount { - option (gogoproto.equal) = true; - - string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""]; - string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; - repeated cosmos.base.v1beta1.Coin amount = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. -message MsgCreatePermanentLockedAccountResponse {} - -// MsgCreateVestingAccount defines a message that enables creating a vesting -// account. -message MsgCreatePeriodicVestingAccount { - option (cosmos.msg.v1.signer) = "from_address"; - - option (gogoproto.equal) = false; - - string from_address = 1; - string to_address = 2; - int64 start_time = 3; - repeated Period vesting_periods = 4 [(gogoproto.nullable) = false]; -} - -// MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount -// response type. -message MsgCreatePeriodicVestingAccountResponse {} diff --git a/quicksilverjs/proto/cosmos/vesting/v1beta1/vesting.proto b/quicksilverjs/proto/cosmos/vesting/v1beta1/vesting.proto deleted file mode 100644 index 824cc30d8..000000000 --- a/quicksilverjs/proto/cosmos/vesting/v1beta1/vesting.proto +++ /dev/null @@ -1,76 +0,0 @@ -syntax = "proto3"; -package cosmos.vesting.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/auth/v1beta1/auth.proto"; - -option go_package = "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"; - -// BaseVestingAccount implements the VestingAccount interface. It contains all -// the necessary fields needed for any vesting account implementation. -message BaseVestingAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - cosmos.auth.v1beta1.BaseAccount base_account = 1 [(gogoproto.embed) = true]; - repeated cosmos.base.v1beta1.Coin original_vesting = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - repeated cosmos.base.v1beta1.Coin delegated_free = 3 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - repeated cosmos.base.v1beta1.Coin delegated_vesting = 4 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; - int64 end_time = 5; -} - -// ContinuousVestingAccount implements the VestingAccount interface. It -// continuously vests by unlocking coins linearly with respect to time. -message ContinuousVestingAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; - int64 start_time = 2; -} - -// DelayedVestingAccount implements the VestingAccount interface. It vests all -// coins after a specific time, but non prior. In other words, it keeps them -// locked until a specified time. -message DelayedVestingAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; -} - -// Period defines a length of time and amount of coins that will vest. -message Period { - option (gogoproto.goproto_stringer) = false; - - int64 length = 1; - repeated cosmos.base.v1beta1.Coin amount = 2 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} - -// PeriodicVestingAccount implements the VestingAccount interface. It -// periodically vests by unlocking coins during each specified period. -message PeriodicVestingAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; - int64 start_time = 2; - repeated Period vesting_periods = 3 [(gogoproto.nullable) = false]; -} - -// PermanentLockedAccount implements the VestingAccount interface. It does -// not ever release coins, locking them indefinitely. Coins in this account can -// still be used for delegating and for governance votes even while locked. -// -// Since: cosmos-sdk 0.43 -message PermanentLockedAccount { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true]; -} diff --git a/quicksilverjs/proto/cosmos_proto/LICENSE b/quicksilverjs/proto/cosmos_proto/LICENSE deleted file mode 100644 index 6b3e3508c..000000000 --- a/quicksilverjs/proto/cosmos_proto/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Pulsar -License: Apache2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2021 Regen Network Development, Inc. & All in Bits, Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos_proto/README.md b/quicksilverjs/proto/cosmos_proto/README.md deleted file mode 100644 index 9599cc650..000000000 --- a/quicksilverjs/proto/cosmos_proto/README.md +++ /dev/null @@ -1 +0,0 @@ -# cosmos_proto \ No newline at end of file diff --git a/quicksilverjs/proto/cosmos_proto/cosmos.proto b/quicksilverjs/proto/cosmos_proto/cosmos.proto deleted file mode 100644 index 5c63b86f0..000000000 --- a/quicksilverjs/proto/cosmos_proto/cosmos.proto +++ /dev/null @@ -1,97 +0,0 @@ -syntax = "proto3"; -package cosmos_proto; - -import "google/protobuf/descriptor.proto"; - -option go_package = "github.com/cosmos/cosmos-proto;cosmos_proto"; - -extend google.protobuf.MessageOptions { - - // implements_interface is used to indicate the type name of the interface - // that a message implements so that it can be used in google.protobuf.Any - // fields that accept that interface. A message can implement multiple - // interfaces. Interfaces should be declared using a declare_interface - // file option. - repeated string implements_interface = 93001; -} - -extend google.protobuf.FieldOptions { - - // accepts_interface is used to annotate that a google.protobuf.Any - // field accepts messages that implement the specified interface. - // Interfaces should be declared using a declare_interface file option. - string accepts_interface = 93001; - - // scalar is used to indicate that this field follows the formatting defined - // by the named scalar which should be declared with declare_scalar. Code - // generators may choose to use this information to map this field to a - // language-specific type representing the scalar. - string scalar = 93002; -} - -extend google.protobuf.FileOptions { - - // declare_interface declares an interface type to be used with - // accepts_interface and implements_interface. Interface names are - // expected to follow the following convention such that their declaration - // can be discovered by tools: for a given interface type a.b.C, it is - // expected that the declaration will be found in a protobuf file named - // a/b/interfaces.proto in the file descriptor set. - repeated InterfaceDescriptor declare_interface = 793021; - - // declare_scalar declares a scalar type to be used with - // the scalar field option. Scalar names are - // expected to follow the following convention such that their declaration - // can be discovered by tools: for a given scalar type a.b.C, it is - // expected that the declaration will be found in a protobuf file named - // a/b/scalars.proto in the file descriptor set. - repeated ScalarDescriptor declare_scalar = 793022; -} - -// InterfaceDescriptor describes an interface type to be used with -// accepts_interface and implements_interface and declared by declare_interface. -message InterfaceDescriptor { - - // name is the name of the interface. It should be a short-name (without - // a period) such that the fully qualified name of the interface will be - // package.name, ex. for the package a.b and interface named C, the - // fully-qualified name will be a.b.C. - string name = 1; - - // description is a human-readable description of the interface and its - // purpose. - string description = 2; -} - -// ScalarDescriptor describes an scalar type to be used with -// the scalar field option and declared by declare_scalar. -// Scalars extend simple protobuf built-in types with additional -// syntax and semantics, for instance to represent big integers. -// Scalars should ideally define an encoding such that there is only one -// valid syntactical representation for a given semantic meaning, -// i.e. the encoding should be deterministic. -message ScalarDescriptor { - - // name is the name of the scalar. It should be a short-name (without - // a period) such that the fully qualified name of the scalar will be - // package.name, ex. for the package a.b and scalar named C, the - // fully-qualified name will be a.b.C. - string name = 1; - - // description is a human-readable description of the scalar and its - // encoding format. For instance a big integer or decimal scalar should - // specify precisely the expected encoding format. - string description = 2; - - // field_type is the type of field with which this scalar can be used. - // Scalars can be used with one and only one type of field so that - // encoding standards and simple and clear. Currently only string and - // bytes fields are supported for scalars. - repeated ScalarType field_type = 3; -} - -enum ScalarType { - SCALAR_TYPE_UNSPECIFIED = 0; - SCALAR_TYPE_STRING = 1; - SCALAR_TYPE_BYTES = 2; -} diff --git a/quicksilverjs/proto/cosmwasm/LICENSE b/quicksilverjs/proto/cosmwasm/LICENSE deleted file mode 100644 index 5a23302b8..000000000 --- a/quicksilverjs/proto/cosmwasm/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Cosmos-SDK -License: Apache2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2016 All in Bits, Inc - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/quicksilverjs/proto/cosmwasm/README.md b/quicksilverjs/proto/cosmwasm/README.md deleted file mode 100644 index 63192e81a..000000000 --- a/quicksilverjs/proto/cosmwasm/README.md +++ /dev/null @@ -1 +0,0 @@ -# cosmwasm \ No newline at end of file diff --git a/quicksilverjs/proto/cosmwasm/wasm/v1/authz.proto b/quicksilverjs/proto/cosmwasm/wasm/v1/authz.proto deleted file mode 100644 index 6d6260c22..000000000 --- a/quicksilverjs/proto/cosmwasm/wasm/v1/authz.proto +++ /dev/null @@ -1,109 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_getters_all) = false; - -// ContractExecutionAuthorization defines authorization for wasm execute. -// Since: wasmd 0.30 -message ContractExecutionAuthorization { - option (cosmos_proto.implements_interface) = "cosmos.authz.Authorization"; - - // Grants for contract executions - repeated ContractGrant grants = 1 [ (gogoproto.nullable) = false ]; -} - -// ContractMigrationAuthorization defines authorization for wasm contract -// migration. Since: wasmd 0.30 -message ContractMigrationAuthorization { - option (cosmos_proto.implements_interface) = "cosmos.authz.Authorization"; - - // Grants for contract migrations - repeated ContractGrant grants = 1 [ (gogoproto.nullable) = false ]; -} - -// ContractGrant a granted permission for a single contract -// Since: wasmd 0.30 -message ContractGrant { - // Contract is the bech32 address of the smart contract - string contract = 1; - - // Limit defines execution limits that are enforced and updated when the grant - // is applied. When the limit lapsed the grant is removed. - google.protobuf.Any limit = 2 - [ (cosmos_proto.accepts_interface) = "ContractAuthzLimitX" ]; - - // Filter define more fine-grained control on the message payload passed - // to the contract in the operation. When no filter applies on execution, the - // operation is prohibited. - google.protobuf.Any filter = 3 - [ (cosmos_proto.accepts_interface) = "ContractAuthzFilterX" ]; -} - -// MaxCallsLimit limited number of calls to the contract. No funds transferable. -// Since: wasmd 0.30 -message MaxCallsLimit { - option (cosmos_proto.implements_interface) = "ContractAuthzLimitX"; - - // Remaining number that is decremented on each execution - uint64 remaining = 1; -} - -// MaxFundsLimit defines the maximal amounts that can be sent to the contract. -// Since: wasmd 0.30 -message MaxFundsLimit { - option (cosmos_proto.implements_interface) = "ContractAuthzLimitX"; - - // Amounts is the maximal amount of tokens transferable to the contract. - repeated cosmos.base.v1beta1.Coin amounts = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// CombinedLimit defines the maximal amounts that can be sent to a contract and -// the maximal number of calls executable. Both need to remain >0 to be valid. -// Since: wasmd 0.30 -message CombinedLimit { - option (cosmos_proto.implements_interface) = "ContractAuthzLimitX"; - - // Remaining number that is decremented on each execution - uint64 calls_remaining = 1; - // Amounts is the maximal amount of tokens transferable to the contract. - repeated cosmos.base.v1beta1.Coin amounts = 2 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// AllowAllMessagesFilter is a wildcard to allow any type of contract payload -// message. -// Since: wasmd 0.30 -message AllowAllMessagesFilter { - option (cosmos_proto.implements_interface) = "ContractAuthzFilterX"; -} - -// AcceptedMessageKeysFilter accept only the specific contract message keys in -// the json object to be executed. -// Since: wasmd 0.30 -message AcceptedMessageKeysFilter { - option (cosmos_proto.implements_interface) = "ContractAuthzFilterX"; - - // Messages is the list of unique keys - repeated string keys = 1; -} - -// AcceptedMessagesFilter accept only the specific raw contract messages to be -// executed. -// Since: wasmd 0.30 -message AcceptedMessagesFilter { - option (cosmos_proto.implements_interface) = "ContractAuthzFilterX"; - - // Messages is the list of raw contract messages - repeated bytes messages = 1 [ (gogoproto.casttype) = "RawContractMessage" ]; -} diff --git a/quicksilverjs/proto/cosmwasm/wasm/v1/genesis.proto b/quicksilverjs/proto/cosmwasm/wasm/v1/genesis.proto deleted file mode 100644 index 4e728ff4b..000000000 --- a/quicksilverjs/proto/cosmwasm/wasm/v1/genesis.proto +++ /dev/null @@ -1,46 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; -import "cosmwasm/wasm/v1/types.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; - -// GenesisState - genesis state of x/wasm -message GenesisState { - Params params = 1 [ (gogoproto.nullable) = false ]; - repeated Code codes = 2 - [ (gogoproto.nullable) = false, (gogoproto.jsontag) = "codes,omitempty" ]; - repeated Contract contracts = 3 [ - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "contracts,omitempty" - ]; - repeated Sequence sequences = 4 [ - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "sequences,omitempty" - ]; -} - -// Code struct encompasses CodeInfo and CodeBytes -message Code { - uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; - CodeInfo code_info = 2 [ (gogoproto.nullable) = false ]; - bytes code_bytes = 3; - // Pinned to wasmvm cache - bool pinned = 4; -} - -// Contract struct encompasses ContractAddress, ContractInfo, and ContractState -message Contract { - string contract_address = 1; - ContractInfo contract_info = 2 [ (gogoproto.nullable) = false ]; - repeated Model contract_state = 3 [ (gogoproto.nullable) = false ]; - repeated ContractCodeHistoryEntry contract_code_history = 4 - [ (gogoproto.nullable) = false ]; -} - -// Sequence key and value of an id generation counter -message Sequence { - bytes id_key = 1 [ (gogoproto.customname) = "IDKey" ]; - uint64 value = 2; -} \ No newline at end of file diff --git a/quicksilverjs/proto/cosmwasm/wasm/v1/ibc.proto b/quicksilverjs/proto/cosmwasm/wasm/v1/ibc.proto deleted file mode 100644 index d880a7078..000000000 --- a/quicksilverjs/proto/cosmwasm/wasm/v1/ibc.proto +++ /dev/null @@ -1,31 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_getters_all) = false; - -// MsgIBCSend -message MsgIBCSend { - // the channel by which the packet will be sent - string channel = 2 [ (gogoproto.moretags) = "yaml:\"source_channel\"" ]; - - // Timeout height relative to the current block height. - // The timeout is disabled when set to 0. - uint64 timeout_height = 4 - [ (gogoproto.moretags) = "yaml:\"timeout_height\"" ]; - // Timeout timestamp (in nanoseconds) relative to the current block timestamp. - // The timeout is disabled when set to 0. - uint64 timeout_timestamp = 5 - [ (gogoproto.moretags) = "yaml:\"timeout_timestamp\"" ]; - - // Data is the payload to transfer. We must not make assumption what format or - // content is in here. - bytes data = 6; -} - -// MsgIBCCloseChannel port and channel need to be owned by the contract -message MsgIBCCloseChannel { - string channel = 2 [ (gogoproto.moretags) = "yaml:\"source_channel\"" ]; -} diff --git a/quicksilverjs/proto/cosmwasm/wasm/v1/proposal.proto b/quicksilverjs/proto/cosmwasm/wasm/v1/proposal.proto deleted file mode 100644 index 013b4daf5..000000000 --- a/quicksilverjs/proto/cosmwasm/wasm/v1/proposal.proto +++ /dev/null @@ -1,272 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmwasm/wasm/v1/types.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_stringer_all) = false; -option (gogoproto.goproto_getters_all) = false; -option (gogoproto.equal_all) = true; - -// StoreCodeProposal gov proposal content type to submit WASM code to the system -message StoreCodeProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // RunAs is the address that is passed to the contract's environment as sender - string run_as = 3; - // WASMByteCode can be raw or gzip compressed - bytes wasm_byte_code = 4 [ (gogoproto.customname) = "WASMByteCode" ]; - // Used in v1beta1 - reserved 5, 6; - // InstantiatePermission to apply on contract creation, optional - AccessConfig instantiate_permission = 7; - // UnpinCode code on upload, optional - bool unpin_code = 8; - // Source is the URL where the code is hosted - string source = 9; - // Builder is the docker image used to build the code deterministically, used - // for smart contract verification - string builder = 10; - // CodeHash is the SHA256 sum of the code outputted by builder, used for smart - // contract verification - bytes code_hash = 11; -} - -// InstantiateContractProposal gov proposal content type to instantiate a -// contract. -message InstantiateContractProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // RunAs is the address that is passed to the contract's environment as sender - string run_as = 3; - // Admin is an optional address that can execute migrations - string admin = 4; - // CodeID is the reference to the stored WASM code - uint64 code_id = 5 [ (gogoproto.customname) = "CodeID" ]; - // Label is optional metadata to be stored with a constract instance. - string label = 6; - // Msg json encoded message to be passed to the contract on instantiation - bytes msg = 7 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on instantiation - repeated cosmos.base.v1beta1.Coin funds = 8 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// InstantiateContract2Proposal gov proposal content type to instantiate -// contract 2 -message InstantiateContract2Proposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // RunAs is the address that is passed to the contract's enviroment as sender - string run_as = 3; - // Admin is an optional address that can execute migrations - string admin = 4; - // CodeID is the reference to the stored WASM code - uint64 code_id = 5 [ (gogoproto.customname) = "CodeID" ]; - // Label is optional metadata to be stored with a constract instance. - string label = 6; - // Msg json encode message to be passed to the contract on instantiation - bytes msg = 7 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on instantiation - repeated cosmos.base.v1beta1.Coin funds = 8 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - // Salt is an arbitrary value provided by the sender. Size can be 1 to 64. - bytes salt = 9; - // FixMsg include the msg value into the hash for the predictable address. - // Default is false - bool fix_msg = 10; -} - -// MigrateContractProposal gov proposal content type to migrate a contract. -message MigrateContractProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // Note: skipping 3 as this was previously used for unneeded run_as - - // Contract is the address of the smart contract - string contract = 4; - // CodeID references the new WASM code - uint64 code_id = 5 [ (gogoproto.customname) = "CodeID" ]; - // Msg json encoded message to be passed to the contract on migration - bytes msg = 6 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// SudoContractProposal gov proposal content type to call sudo on a contract. -message SudoContractProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // Contract is the address of the smart contract - string contract = 3; - // Msg json encoded message to be passed to the contract as sudo - bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// ExecuteContractProposal gov proposal content type to call execute on a -// contract. -message ExecuteContractProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // RunAs is the address that is passed to the contract's environment as sender - string run_as = 3; - // Contract is the address of the smart contract - string contract = 4; - // Msg json encoded message to be passed to the contract as execute - bytes msg = 5 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on instantiation - repeated cosmos.base.v1beta1.Coin funds = 6 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// UpdateAdminProposal gov proposal content type to set an admin for a contract. -message UpdateAdminProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // NewAdmin address to be set - string new_admin = 3 [ (gogoproto.moretags) = "yaml:\"new_admin\"" ]; - // Contract is the address of the smart contract - string contract = 4; -} - -// ClearAdminProposal gov proposal content type to clear the admin of a -// contract. -message ClearAdminProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // Contract is the address of the smart contract - string contract = 3; -} - -// PinCodesProposal gov proposal content type to pin a set of code ids in the -// wasmvm cache. -message PinCodesProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; - // Description is a human readable text - string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; - // CodeIDs references the new WASM codes - repeated uint64 code_ids = 3 [ - (gogoproto.customname) = "CodeIDs", - (gogoproto.moretags) = "yaml:\"code_ids\"" - ]; -} - -// UnpinCodesProposal gov proposal content type to unpin a set of code ids in -// the wasmvm cache. -message UnpinCodesProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; - // Description is a human readable text - string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; - // CodeIDs references the WASM codes - repeated uint64 code_ids = 3 [ - (gogoproto.customname) = "CodeIDs", - (gogoproto.moretags) = "yaml:\"code_ids\"" - ]; -} - -// AccessConfigUpdate contains the code id and the access config to be -// applied. -message AccessConfigUpdate { - // CodeID is the reference to the stored WASM code to be updated - uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; - // InstantiatePermission to apply to the set of code ids - AccessConfig instantiate_permission = 2 [ (gogoproto.nullable) = false ]; -} - -// UpdateInstantiateConfigProposal gov proposal content type to update -// instantiate config to a set of code ids. -message UpdateInstantiateConfigProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; - // Description is a human readable text - string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; - // AccessConfigUpdate contains the list of code ids and the access config - // to be applied. - repeated AccessConfigUpdate access_config_updates = 3 - [ (gogoproto.nullable) = false ]; -} - -// StoreAndInstantiateContractProposal gov proposal content type to store -// and instantiate the contract. -message StoreAndInstantiateContractProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // Title is a short summary - string title = 1; - // Description is a human readable text - string description = 2; - // RunAs is the address that is passed to the contract's environment as sender - string run_as = 3; - // WASMByteCode can be raw or gzip compressed - bytes wasm_byte_code = 4 [ (gogoproto.customname) = "WASMByteCode" ]; - // InstantiatePermission to apply on contract creation, optional - AccessConfig instantiate_permission = 5; - // UnpinCode code on upload, optional - bool unpin_code = 6; - // Admin is an optional address that can execute migrations - string admin = 7; - // Label is optional metadata to be stored with a constract instance. - string label = 8; - // Msg json encoded message to be passed to the contract on instantiation - bytes msg = 9 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on instantiation - repeated cosmos.base.v1beta1.Coin funds = 10 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - // Source is the URL where the code is hosted - string source = 11; - // Builder is the docker image used to build the code deterministically, used - // for smart contract verification - string builder = 12; - // CodeHash is the SHA256 sum of the code outputted by builder, used for smart - // contract verification - bytes code_hash = 13; -} diff --git a/quicksilverjs/proto/cosmwasm/wasm/v1/query.proto b/quicksilverjs/proto/cosmwasm/wasm/v1/query.proto deleted file mode 100644 index ffe48d242..000000000 --- a/quicksilverjs/proto/cosmwasm/wasm/v1/query.proto +++ /dev/null @@ -1,263 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; -import "cosmwasm/wasm/v1/types.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_getters_all) = false; -option (gogoproto.equal_all) = false; - -// Query provides defines the gRPC querier service -service Query { - // ContractInfo gets the contract meta data - rpc ContractInfo(QueryContractInfoRequest) - returns (QueryContractInfoResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/contract/{address}"; - } - // ContractHistory gets the contract code history - rpc ContractHistory(QueryContractHistoryRequest) - returns (QueryContractHistoryResponse) { - option (google.api.http).get = - "/cosmwasm/wasm/v1/contract/{address}/history"; - } - // ContractsByCode lists all smart contracts for a code id - rpc ContractsByCode(QueryContractsByCodeRequest) - returns (QueryContractsByCodeResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/code/{code_id}/contracts"; - } - // AllContractState gets all raw store data for a single contract - rpc AllContractState(QueryAllContractStateRequest) - returns (QueryAllContractStateResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/contract/{address}/state"; - } - // RawContractState gets single key from the raw store data of a contract - rpc RawContractState(QueryRawContractStateRequest) - returns (QueryRawContractStateResponse) { - option (google.api.http).get = - "/cosmwasm/wasm/v1/contract/{address}/raw/{query_data}"; - } - // SmartContractState get smart query result from the contract - rpc SmartContractState(QuerySmartContractStateRequest) - returns (QuerySmartContractStateResponse) { - option (google.api.http).get = - "/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}"; - } - // Code gets the binary code and metadata for a singe wasm code - rpc Code(QueryCodeRequest) returns (QueryCodeResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/code/{code_id}"; - } - // Codes gets the metadata for all stored wasm codes - rpc Codes(QueryCodesRequest) returns (QueryCodesResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/code"; - } - - // PinnedCodes gets the pinned code ids - rpc PinnedCodes(QueryPinnedCodesRequest) returns (QueryPinnedCodesResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/codes/pinned"; - } - - // Params gets the module params - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/codes/params"; - } - - // ContractsByCreator gets the contracts by creator - rpc ContractsByCreator(QueryContractsByCreatorRequest) - returns (QueryContractsByCreatorResponse) { - option (google.api.http).get = - "/cosmwasm/wasm/v1/contracts/creator/{creator_address}"; - } -} - -// QueryContractInfoRequest is the request type for the Query/ContractInfo RPC -// method -message QueryContractInfoRequest { - // address is the address of the contract to query - string address = 1; -} -// QueryContractInfoResponse is the response type for the Query/ContractInfo RPC -// method -message QueryContractInfoResponse { - option (gogoproto.equal) = true; - - // address is the address of the contract - string address = 1; - ContractInfo contract_info = 2 [ - (gogoproto.embed) = true, - (gogoproto.nullable) = false, - (gogoproto.jsontag) = "" - ]; -} - -// QueryContractHistoryRequest is the request type for the Query/ContractHistory -// RPC method -message QueryContractHistoryRequest { - // address is the address of the contract to query - string address = 1; - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryContractHistoryResponse is the response type for the -// Query/ContractHistory RPC method -message QueryContractHistoryResponse { - repeated ContractCodeHistoryEntry entries = 1 - [ (gogoproto.nullable) = false ]; - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryContractsByCodeRequest is the request type for the Query/ContractsByCode -// RPC method -message QueryContractsByCodeRequest { - uint64 code_id = 1; // grpc-gateway_out does not support Go style CodID - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryContractsByCodeResponse is the response type for the -// Query/ContractsByCode RPC method -message QueryContractsByCodeResponse { - // contracts are a set of contract addresses - repeated string contracts = 1; - - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryAllContractStateRequest is the request type for the -// Query/AllContractState RPC method -message QueryAllContractStateRequest { - // address is the address of the contract - string address = 1; - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryAllContractStateResponse is the response type for the -// Query/AllContractState RPC method -message QueryAllContractStateResponse { - repeated Model models = 1 [ (gogoproto.nullable) = false ]; - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryRawContractStateRequest is the request type for the -// Query/RawContractState RPC method -message QueryRawContractStateRequest { - // address is the address of the contract - string address = 1; - bytes query_data = 2; -} - -// QueryRawContractStateResponse is the response type for the -// Query/RawContractState RPC method -message QueryRawContractStateResponse { - // Data contains the raw store data - bytes data = 1; -} - -// QuerySmartContractStateRequest is the request type for the -// Query/SmartContractState RPC method -message QuerySmartContractStateRequest { - // address is the address of the contract - string address = 1; - // QueryData contains the query data passed to the contract - bytes query_data = 2 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// QuerySmartContractStateResponse is the response type for the -// Query/SmartContractState RPC method -message QuerySmartContractStateResponse { - // Data contains the json data returned from the smart contract - bytes data = 1 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// QueryCodeRequest is the request type for the Query/Code RPC method -message QueryCodeRequest { - uint64 code_id = 1; // grpc-gateway_out does not support Go style CodID -} - -// CodeInfoResponse contains code meta data from CodeInfo -message CodeInfoResponse { - option (gogoproto.equal) = true; - - uint64 code_id = 1 [ - (gogoproto.customname) = "CodeID", - (gogoproto.jsontag) = "id" - ]; // id for legacy support - string creator = 2; - bytes data_hash = 3 - [ (gogoproto.casttype) = - "github.com/tendermint/tendermint/libs/bytes.HexBytes" ]; - // Used in v1beta1 - reserved 4, 5; - AccessConfig instantiate_permission = 6 [ (gogoproto.nullable) = false ]; -} - -// QueryCodeResponse is the response type for the Query/Code RPC method -message QueryCodeResponse { - option (gogoproto.equal) = true; - CodeInfoResponse code_info = 1 - [ (gogoproto.embed) = true, (gogoproto.jsontag) = "" ]; - bytes data = 2 [ (gogoproto.jsontag) = "data" ]; -} - -// QueryCodesRequest is the request type for the Query/Codes RPC method -message QueryCodesRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryCodesResponse is the response type for the Query/Codes RPC method -message QueryCodesResponse { - repeated CodeInfoResponse code_infos = 1 [ (gogoproto.nullable) = false ]; - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryPinnedCodesRequest is the request type for the Query/PinnedCodes -// RPC method -message QueryPinnedCodesRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryPinnedCodesResponse is the response type for the -// Query/PinnedCodes RPC method -message QueryPinnedCodesResponse { - repeated uint64 code_ids = 1 - [ (gogoproto.nullable) = false, (gogoproto.customname) = "CodeIDs" ]; - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; -} - -// QueryContractsByCreatorRequest is the request type for the -// Query/ContractsByCreator RPC method. -message QueryContractsByCreatorRequest { - // CreatorAddress is the address of contract creator - string creator_address = 1; - // Pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryContractsByCreatorResponse is the response type for the -// Query/ContractsByCreator RPC method. -message QueryContractsByCreatorResponse { - // ContractAddresses result set - repeated string contract_addresses = 1; - // Pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} \ No newline at end of file diff --git a/quicksilverjs/proto/cosmwasm/wasm/v1/tx.proto b/quicksilverjs/proto/cosmwasm/wasm/v1/tx.proto deleted file mode 100644 index 04acc8ef7..000000000 --- a/quicksilverjs/proto/cosmwasm/wasm/v1/tx.proto +++ /dev/null @@ -1,176 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "cosmos/base/v1beta1/coin.proto"; -import "gogoproto/gogo.proto"; -import "cosmwasm/wasm/v1/types.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_getters_all) = false; - -// Msg defines the wasm Msg service. -service Msg { - // StoreCode to submit Wasm code to the system - rpc StoreCode(MsgStoreCode) returns (MsgStoreCodeResponse); - // InstantiateContract creates a new smart contract instance for the given - // code id. - rpc InstantiateContract(MsgInstantiateContract) - returns (MsgInstantiateContractResponse); - // InstantiateContract2 creates a new smart contract instance for the given - // code id with a predictable address - rpc InstantiateContract2(MsgInstantiateContract2) - returns (MsgInstantiateContract2Response); - // Execute submits the given message data to a smart contract - rpc ExecuteContract(MsgExecuteContract) returns (MsgExecuteContractResponse); - // Migrate runs a code upgrade/ downgrade for a smart contract - rpc MigrateContract(MsgMigrateContract) returns (MsgMigrateContractResponse); - // UpdateAdmin sets a new admin for a smart contract - rpc UpdateAdmin(MsgUpdateAdmin) returns (MsgUpdateAdminResponse); - // ClearAdmin removes any admin stored for a smart contract - rpc ClearAdmin(MsgClearAdmin) returns (MsgClearAdminResponse); -} - -// MsgStoreCode submit Wasm code to the system -message MsgStoreCode { - // Sender is the that actor that signed the messages - string sender = 1; - // WASMByteCode can be raw or gzip compressed - bytes wasm_byte_code = 2 [ (gogoproto.customname) = "WASMByteCode" ]; - // Used in v1beta1 - reserved 3, 4; - // InstantiatePermission access control to apply on contract creation, - // optional - AccessConfig instantiate_permission = 5; -} -// MsgStoreCodeResponse returns store result data. -message MsgStoreCodeResponse { - // CodeID is the reference to the stored WASM code - uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; - // Checksum is the sha256 hash of the stored code - bytes checksum = 2; -} - -// MsgInstantiateContract create a new smart contract instance for the given -// code id. -message MsgInstantiateContract { - // Sender is the that actor that signed the messages - string sender = 1; - // Admin is an optional address that can execute migrations - string admin = 2; - // CodeID is the reference to the stored WASM code - uint64 code_id = 3 [ (gogoproto.customname) = "CodeID" ]; - // Label is optional metadata to be stored with a contract instance. - string label = 4; - // Msg json encoded message to be passed to the contract on instantiation - bytes msg = 5 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on instantiation - repeated cosmos.base.v1beta1.Coin funds = 6 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// MsgInstantiateContract2 create a new smart contract instance for the given -// code id with a predicable address. -message MsgInstantiateContract2 { - // Sender is the that actor that signed the messages - string sender = 1; - // Admin is an optional address that can execute migrations - string admin = 2; - // CodeID is the reference to the stored WASM code - uint64 code_id = 3 [ (gogoproto.customname) = "CodeID" ]; - // Label is optional metadata to be stored with a contract instance. - string label = 4; - // Msg json encoded message to be passed to the contract on instantiation - bytes msg = 5 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on instantiation - repeated cosmos.base.v1beta1.Coin funds = 6 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - // Salt is an arbitrary value provided by the sender. Size can be 1 to 64. - bytes salt = 7; - // FixMsg include the msg value into the hash for the predictable address. - // Default is false - bool fix_msg = 8; -} - -// MsgInstantiateContractResponse return instantiation result data -message MsgInstantiateContractResponse { - // Address is the bech32 address of the new contract instance. - string address = 1; - // Data contains bytes to returned from the contract - bytes data = 2; -} - -// MsgInstantiateContract2Response return instantiation result data -message MsgInstantiateContract2Response { - // Address is the bech32 address of the new contract instance. - string address = 1; - // Data contains bytes to returned from the contract - bytes data = 2; -} - -// MsgExecuteContract submits the given message data to a smart contract -message MsgExecuteContract { - // Sender is the that actor that signed the messages - string sender = 1; - // Contract is the address of the smart contract - string contract = 2; - // Msg json encoded message to be passed to the contract - bytes msg = 3 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on execution - repeated cosmos.base.v1beta1.Coin funds = 5 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// MsgExecuteContractResponse returns execution result data. -message MsgExecuteContractResponse { - // Data contains bytes to returned from the contract - bytes data = 1; -} - -// MsgMigrateContract runs a code upgrade/ downgrade for a smart contract -message MsgMigrateContract { - // Sender is the that actor that signed the messages - string sender = 1; - // Contract is the address of the smart contract - string contract = 2; - // CodeID references the new WASM code - uint64 code_id = 3 [ (gogoproto.customname) = "CodeID" ]; - // Msg json encoded message to be passed to the contract on migration - bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// MsgMigrateContractResponse returns contract migration result data. -message MsgMigrateContractResponse { - // Data contains same raw bytes returned as data from the wasm contract. - // (May be empty) - bytes data = 1; -} - -// MsgUpdateAdmin sets a new admin for a smart contract -message MsgUpdateAdmin { - // Sender is the that actor that signed the messages - string sender = 1; - // NewAdmin address to be set - string new_admin = 2; - // Contract is the address of the smart contract - string contract = 3; -} - -// MsgUpdateAdminResponse returns empty data -message MsgUpdateAdminResponse {} - -// MsgClearAdmin removes any admin stored for a smart contract -message MsgClearAdmin { - // Sender is the that actor that signed the messages - string sender = 1; - // Contract is the address of the smart contract - string contract = 3; -} - -// MsgClearAdminResponse returns empty data -message MsgClearAdminResponse {} diff --git a/quicksilverjs/proto/cosmwasm/wasm/v1/types.proto b/quicksilverjs/proto/cosmwasm/wasm/v1/types.proto deleted file mode 100644 index 216b24e3b..000000000 --- a/quicksilverjs/proto/cosmwasm/wasm/v1/types.proto +++ /dev/null @@ -1,144 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "cosmos_proto/cosmos.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_getters_all) = false; -option (gogoproto.equal_all) = true; - -// AccessType permission types -enum AccessType { - option (gogoproto.goproto_enum_prefix) = false; - option (gogoproto.goproto_enum_stringer) = false; - // AccessTypeUnspecified placeholder for empty value - ACCESS_TYPE_UNSPECIFIED = 0 - [ (gogoproto.enumvalue_customname) = "AccessTypeUnspecified" ]; - // AccessTypeNobody forbidden - ACCESS_TYPE_NOBODY = 1 - [ (gogoproto.enumvalue_customname) = "AccessTypeNobody" ]; - // AccessTypeOnlyAddress restricted to a single address - // Deprecated: use AccessTypeAnyOfAddresses instead - ACCESS_TYPE_ONLY_ADDRESS = 2 - [ (gogoproto.enumvalue_customname) = "AccessTypeOnlyAddress" ]; - // AccessTypeEverybody unrestricted - ACCESS_TYPE_EVERYBODY = 3 - [ (gogoproto.enumvalue_customname) = "AccessTypeEverybody" ]; - // AccessTypeAnyOfAddresses allow any of the addresses - ACCESS_TYPE_ANY_OF_ADDRESSES = 4 - [ (gogoproto.enumvalue_customname) = "AccessTypeAnyOfAddresses" ]; -} - -// AccessTypeParam -message AccessTypeParam { - option (gogoproto.goproto_stringer) = true; - AccessType value = 1 [ (gogoproto.moretags) = "yaml:\"value\"" ]; -} - -// AccessConfig access control type. -message AccessConfig { - option (gogoproto.goproto_stringer) = true; - AccessType permission = 1 [ (gogoproto.moretags) = "yaml:\"permission\"" ]; - - // Address - // Deprecated: replaced by addresses - string address = 2 [ (gogoproto.moretags) = "yaml:\"address\"" ]; - repeated string addresses = 3 [ (gogoproto.moretags) = "yaml:\"addresses\"" ]; -} - -// Params defines the set of wasm parameters. -message Params { - option (gogoproto.goproto_stringer) = false; - AccessConfig code_upload_access = 1 [ - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"code_upload_access\"" - ]; - AccessType instantiate_default_permission = 2 - [ (gogoproto.moretags) = "yaml:\"instantiate_default_permission\"" ]; -} - -// CodeInfo is data for the uploaded contract WASM code -message CodeInfo { - // CodeHash is the unique identifier created by wasmvm - bytes code_hash = 1; - // Creator address who initially stored the code - string creator = 2; - // Used in v1beta1 - reserved 3, 4; - // InstantiateConfig access control to apply on contract creation, optional - AccessConfig instantiate_config = 5 [ (gogoproto.nullable) = false ]; -} - -// ContractInfo stores a WASM contract instance -message ContractInfo { - option (gogoproto.equal) = true; - - // CodeID is the reference to the stored Wasm code - uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; - // Creator address who initially instantiated the contract - string creator = 2; - // Admin is an optional address that can execute migrations - string admin = 3; - // Label is optional metadata to be stored with a contract instance. - string label = 4; - // Created Tx position when the contract was instantiated. - AbsoluteTxPosition created = 5; - string ibc_port_id = 6 [ (gogoproto.customname) = "IBCPortID" ]; - - // Extension is an extension point to store custom metadata within the - // persistence model. - google.protobuf.Any extension = 7 - [ (cosmos_proto.accepts_interface) = "ContractInfoExtension" ]; -} - -// ContractCodeHistoryOperationType actions that caused a code change -enum ContractCodeHistoryOperationType { - option (gogoproto.goproto_enum_prefix) = false; - // ContractCodeHistoryOperationTypeUnspecified placeholder for empty value - CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0 - [ (gogoproto.enumvalue_customname) = - "ContractCodeHistoryOperationTypeUnspecified" ]; - // ContractCodeHistoryOperationTypeInit on chain contract instantiation - CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1 - [ (gogoproto.enumvalue_customname) = - "ContractCodeHistoryOperationTypeInit" ]; - // ContractCodeHistoryOperationTypeMigrate code migration - CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2 - [ (gogoproto.enumvalue_customname) = - "ContractCodeHistoryOperationTypeMigrate" ]; - // ContractCodeHistoryOperationTypeGenesis based on genesis data - CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3 - [ (gogoproto.enumvalue_customname) = - "ContractCodeHistoryOperationTypeGenesis" ]; -} - -// ContractCodeHistoryEntry metadata to a contract. -message ContractCodeHistoryEntry { - ContractCodeHistoryOperationType operation = 1; - // CodeID is the reference to the stored WASM code - uint64 code_id = 2 [ (gogoproto.customname) = "CodeID" ]; - // Updated Tx position when the operation was executed. - AbsoluteTxPosition updated = 3; - bytes msg = 4 [ (gogoproto.casttype) = "RawContractMessage" ]; -} - -// AbsoluteTxPosition is a unique transaction position that allows for global -// ordering of transactions. -message AbsoluteTxPosition { - // BlockHeight is the block the contract was created at - uint64 block_height = 1; - // TxIndex is a monotonic counter within the block (actual transaction index, - // or gas consumed) - uint64 tx_index = 2; -} - -// Model is a struct that holds a KV pair -message Model { - // hex-encode key to read it better (this is often ascii) - bytes key = 1 [ (gogoproto.casttype) = - "github.com/tendermint/tendermint/libs/bytes.HexBytes" ]; - // base64-encode raw value - bytes value = 2; -} diff --git a/quicksilverjs/proto/gogoproto/LICENSE b/quicksilverjs/proto/gogoproto/LICENSE deleted file mode 100644 index 992eb2bd4..000000000 --- a/quicksilverjs/proto/gogoproto/LICENSE +++ /dev/null @@ -1,34 +0,0 @@ -Copyright (c) 2013, The GoGo Authors. All rights reserved. - -Protocol Buffers for Go with Gadgets - -Go support for Protocol Buffers - Google's data interchange format - -Copyright 2010 The Go Authors. All rights reserved. -https://github.com/golang/protobuf - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/quicksilverjs/proto/gogoproto/README.md b/quicksilverjs/proto/gogoproto/README.md deleted file mode 100644 index 4cfc47689..000000000 --- a/quicksilverjs/proto/gogoproto/README.md +++ /dev/null @@ -1 +0,0 @@ -# gogoproto \ No newline at end of file diff --git a/quicksilverjs/proto/gogoproto/gogo.proto b/quicksilverjs/proto/gogoproto/gogo.proto deleted file mode 100644 index 49e78f99f..000000000 --- a/quicksilverjs/proto/gogoproto/gogo.proto +++ /dev/null @@ -1,145 +0,0 @@ -// Protocol Buffers for Go with Gadgets -// -// Copyright (c) 2013, The GoGo Authors. All rights reserved. -// http://github.com/gogo/protobuf -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto2"; -package gogoproto; - -import "google/protobuf/descriptor.proto"; - -option java_package = "com.google.protobuf"; -option java_outer_classname = "GoGoProtos"; -option go_package = "github.com/gogo/protobuf/gogoproto"; - -extend google.protobuf.EnumOptions { - optional bool goproto_enum_prefix = 62001; - optional bool goproto_enum_stringer = 62021; - optional bool enum_stringer = 62022; - optional string enum_customname = 62023; - optional bool enumdecl = 62024; -} - -extend google.protobuf.EnumValueOptions { - optional string enumvalue_customname = 66001; -} - -extend google.protobuf.FileOptions { - optional bool goproto_getters_all = 63001; - optional bool goproto_enum_prefix_all = 63002; - optional bool goproto_stringer_all = 63003; - optional bool verbose_equal_all = 63004; - optional bool face_all = 63005; - optional bool gostring_all = 63006; - optional bool populate_all = 63007; - optional bool stringer_all = 63008; - optional bool onlyone_all = 63009; - - optional bool equal_all = 63013; - optional bool description_all = 63014; - optional bool testgen_all = 63015; - optional bool benchgen_all = 63016; - optional bool marshaler_all = 63017; - optional bool unmarshaler_all = 63018; - optional bool stable_marshaler_all = 63019; - - optional bool sizer_all = 63020; - - optional bool goproto_enum_stringer_all = 63021; - optional bool enum_stringer_all = 63022; - - optional bool unsafe_marshaler_all = 63023; - optional bool unsafe_unmarshaler_all = 63024; - - optional bool goproto_extensions_map_all = 63025; - optional bool goproto_unrecognized_all = 63026; - optional bool gogoproto_import = 63027; - optional bool protosizer_all = 63028; - optional bool compare_all = 63029; - optional bool typedecl_all = 63030; - optional bool enumdecl_all = 63031; - - optional bool goproto_registration = 63032; - optional bool messagename_all = 63033; - - optional bool goproto_sizecache_all = 63034; - optional bool goproto_unkeyed_all = 63035; -} - -extend google.protobuf.MessageOptions { - optional bool goproto_getters = 64001; - optional bool goproto_stringer = 64003; - optional bool verbose_equal = 64004; - optional bool face = 64005; - optional bool gostring = 64006; - optional bool populate = 64007; - optional bool stringer = 67008; - optional bool onlyone = 64009; - - optional bool equal = 64013; - optional bool description = 64014; - optional bool testgen = 64015; - optional bool benchgen = 64016; - optional bool marshaler = 64017; - optional bool unmarshaler = 64018; - optional bool stable_marshaler = 64019; - - optional bool sizer = 64020; - - optional bool unsafe_marshaler = 64023; - optional bool unsafe_unmarshaler = 64024; - - optional bool goproto_extensions_map = 64025; - optional bool goproto_unrecognized = 64026; - - optional bool protosizer = 64028; - optional bool compare = 64029; - - optional bool typedecl = 64030; - - optional bool messagename = 64033; - - optional bool goproto_sizecache = 64034; - optional bool goproto_unkeyed = 64035; -} - -extend google.protobuf.FieldOptions { - optional bool nullable = 65001; - optional bool embed = 65002; - optional string customtype = 65003; - optional string customname = 65004; - optional string jsontag = 65005; - optional string moretags = 65006; - optional string casttype = 65007; - optional string castkey = 65008; - optional string castvalue = 65009; - - optional bool stdtime = 65010; - optional bool stdduration = 65011; - optional bool wktpointer = 65012; - - optional string castrepeated = 65013; -} diff --git a/quicksilverjs/proto/google/LICENSE b/quicksilverjs/proto/google/LICENSE deleted file mode 100644 index 261eeb9e9..000000000 --- a/quicksilverjs/proto/google/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/quicksilverjs/proto/google/README.md b/quicksilverjs/proto/google/README.md deleted file mode 100644 index 3bdc1f836..000000000 --- a/quicksilverjs/proto/google/README.md +++ /dev/null @@ -1 +0,0 @@ -# google \ No newline at end of file diff --git a/quicksilverjs/proto/google/api/annotations.proto b/quicksilverjs/proto/google/api/annotations.proto deleted file mode 100644 index efdab3db6..000000000 --- a/quicksilverjs/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -import "google/api/http.proto"; -import "google/protobuf/descriptor.proto"; - -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "AnnotationsProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -extend google.protobuf.MethodOptions { - // See `HttpRule`. - HttpRule http = 72295728; -} diff --git a/quicksilverjs/proto/google/api/http.proto b/quicksilverjs/proto/google/api/http.proto deleted file mode 100644 index 113fa936a..000000000 --- a/quicksilverjs/proto/google/api/http.proto +++ /dev/null @@ -1,375 +0,0 @@ -// Copyright 2015 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.api; - -option cc_enable_arenas = true; -option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations"; -option java_multiple_files = true; -option java_outer_classname = "HttpProto"; -option java_package = "com.google.api"; -option objc_class_prefix = "GAPI"; - -// Defines the HTTP configuration for an API service. It contains a list of -// [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method -// to one or more HTTP REST API methods. -message Http { - // A list of HTTP configuration rules that apply to individual API methods. - // - // **NOTE:** All service configuration rules follow "last one wins" order. - repeated HttpRule rules = 1; - - // When set to true, URL path parameters will be fully URI-decoded except in - // cases of single segment matches in reserved expansion, where "%2F" will be - // left encoded. - // - // The default behavior is to not decode RFC 6570 reserved characters in multi - // segment matches. - bool fully_decode_reserved_expansion = 2; -} - -// # gRPC Transcoding -// -// gRPC Transcoding is a feature for mapping between a gRPC method and one or -// more HTTP REST endpoints. It allows developers to build a single API service -// that supports both gRPC APIs and REST APIs. Many systems, including [Google -// APIs](https://github.com/googleapis/googleapis), -// [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC -// Gateway](https://github.com/grpc-ecosystem/grpc-gateway), -// and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature -// and use it for large scale production services. -// -// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -// how different portions of the gRPC request message are mapped to the URL -// path, URL query parameters, and HTTP request body. It also controls how the -// gRPC response message is mapped to the HTTP response body. `HttpRule` is -// typically specified as an `google.api.http` annotation on the gRPC method. -// -// Each mapping specifies a URL path template and an HTTP method. The path -// template may refer to one or more fields in the gRPC request message, as long -// as each field is a non-repeated field with a primitive (non-message) type. -// The path template controls how fields of the request message are mapped to -// the URL path. -// -// Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/{name=messages/*}" -// }; -// } -// } -// message GetMessageRequest { -// string name = 1; // Mapped to URL path. -// } -// message Message { -// string text = 1; // The resource content. -// } -// -// This enables an HTTP REST to gRPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` -// -// Any fields in the request message which are not bound by the path template -// automatically become HTTP query parameters if there is no HTTP request body. -// For example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get:"/v1/messages/{message_id}" -// }; -// } -// } -// message GetMessageRequest { -// message SubMessage { -// string subfield = 1; -// } -// string message_id = 1; // Mapped to URL path. -// int64 revision = 2; // Mapped to URL query parameter `revision`. -// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. -// } -// -// This enables a HTTP JSON to RPC mapping as below: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -// "foo"))` -// -// Note that fields which are mapped to URL query parameters must have a -// primitive type or a repeated primitive type or a non-repeated message type. -// In the case of a repeated type, the parameter can be repeated in the URL -// as `...?param=A¶m=B`. In the case of a message type, each field of the -// message is mapped to a separate parameter, such as -// `...?foo.a=A&foo.b=B&foo.c=C`. -// -// For HTTP methods that allow a request body, the `body` field -// specifies the mapping. Consider a REST update method on the -// message resource collection: -// -// service Messaging { -// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "message" -// }; -// } -// } -// message UpdateMessageRequest { -// string message_id = 1; // mapped to the URL -// Message message = 2; // mapped to the body -// } -// -// The following HTTP JSON to RPC mapping is enabled, where the -// representation of the JSON in the request body is determined by -// protos JSON encoding: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" message { text: "Hi!" })` -// -// The special name `*` can be used in the body mapping to define that -// every field not bound by the path template should be mapped to the -// request body. This enables the following alternative definition of -// the update method: -// -// service Messaging { -// rpc UpdateMessage(Message) returns (Message) { -// option (google.api.http) = { -// patch: "/v1/messages/{message_id}" -// body: "*" -// }; -// } -// } -// message Message { -// string message_id = 1; -// string text = 2; -// } -// -// -// The following HTTP JSON to RPC mapping is enabled: -// -// HTTP | gRPC -// -----|----- -// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -// "123456" text: "Hi!")` -// -// Note that when using `*` in the body mapping, it is not possible to -// have HTTP parameters, as all fields not bound by the path end in -// the body. This makes this option more rarely used in practice when -// defining REST APIs. The common usage of `*` is in custom methods -// which don't use the URL at all for transferring data. -// -// It is possible to define multiple HTTP methods for one RPC by using -// the `additional_bindings` option. Example: -// -// service Messaging { -// rpc GetMessage(GetMessageRequest) returns (Message) { -// option (google.api.http) = { -// get: "/v1/messages/{message_id}" -// additional_bindings { -// get: "/v1/users/{user_id}/messages/{message_id}" -// } -// }; -// } -// } -// message GetMessageRequest { -// string message_id = 1; -// string user_id = 2; -// } -// -// This enables the following two alternative HTTP JSON to RPC mappings: -// -// HTTP | gRPC -// -----|----- -// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -// "123456")` -// -// ## Rules for HTTP mapping -// -// 1. Leaf request fields (recursive expansion nested messages in the request -// message) are classified into three categories: -// - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP -// request body. -// - All other fields are passed via the URL query parameters, and the -// parameter name is the field path in the request message. A repeated -// field can be represented as multiple query parameters under the same -// name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields -// are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all -// fields are passed via URL path and URL query parameters. -// -// ### Path template syntax -// -// Template = "/" Segments [ Verb ] ; -// Segments = Segment { "/" Segment } ; -// Segment = "*" | "**" | LITERAL | Variable ; -// Variable = "{" FieldPath [ "=" Segments ] "}" ; -// FieldPath = IDENT { "." IDENT } ; -// Verb = ":" LITERAL ; -// -// The syntax `*` matches a single URL path segment. The syntax `**` matches -// zero or more URL path segments, which must be the last part of the URL path -// except the `Verb`. -// -// The syntax `Variable` matches part of the URL path as specified by its -// template. A variable template must not contain other variables. If a variable -// matches a single path segment, its template may be omitted, e.g. `{var}` -// is equivalent to `{var=*}`. -// -// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -// contains any reserved character, such characters should be percent-encoded -// before the matching. -// -// If a variable contains exactly one path segment, such as `"{var}"` or -// `"{var=*}"`, when such a variable is expanded into a URL path on the client -// side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The -// server side does the reverse decoding. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{var}`. -// -// If a variable contains multiple path segments, such as `"{var=foo/*}"` -// or `"{var=**}"`, when such a variable is expanded into a URL path on the -// client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. -// The server side does the reverse decoding, except "%2F" and "%2f" are left -// unchanged. Such variables show up in the -// [Discovery -// Document](https://developers.google.com/discovery/v1/reference/apis) as -// `{+var}`. -// -// ## Using gRPC API Service Configuration -// -// gRPC API Service Configuration (service config) is a configuration language -// for configuring a gRPC service to become a user-facing product. The -// service config is simply the YAML representation of the `google.api.Service` -// proto message. -// -// As an alternative to annotating your proto file, you can configure gRPC -// transcoding in your service config YAML files. You do this by specifying a -// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -// effect as the proto annotation. This can be particularly useful if you -// have a proto that is reused in multiple services. Note that any transcoding -// specified in the service config will override any matching transcoding -// configuration in the proto. -// -// Example: -// -// http: -// rules: -// # Selects a gRPC method and applies HttpRule to it. -// - selector: example.v1.Messaging.GetMessage -// get: /v1/messages/{message_id}/{sub.subfield} -// -// ## Special notes -// -// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -// proto to JSON conversion must follow the [proto3 -// specification](https://developers.google.com/protocol-buffers/docs/proto3#json). -// -// While the single segment variable follows the semantics of -// [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String -// Expansion, the multi segment variable **does not** follow RFC 6570 Section -// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -// does not expand special characters like `?` and `#`, which would lead -// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -// for multi segment variables. -// -// The path variables **must not** refer to any repeated or mapped field, -// because client libraries are not capable of handling such variable expansion. -// -// The path variables **must not** capture the leading "/" character. The reason -// is that the most common use case "{var}" does not capture the leading "/" -// character. For consistency, all path variables must share the same behavior. -// -// Repeated message fields must not be mapped to URL query parameters, because -// no client library can support such complicated mapping. -// -// If an API needs to use a JSON array for request or response body, it can map -// the request or response body to a repeated field. However, some gRPC -// Transcoding implementations may not support this feature. -message HttpRule { - // Selects a method to which this rule applies. - // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - string selector = 1; - - // Determines the URL pattern is matched by this rules. This pattern can be - // used with any of the {get|put|post|delete|patch} methods. A custom method - // can be defined using the 'custom' field. - oneof pattern { - // Maps to HTTP GET. Used for listing and getting information about - // resources. - string get = 2; - - // Maps to HTTP PUT. Used for replacing a resource. - string put = 3; - - // Maps to HTTP POST. Used for creating a resource or performing an action. - string post = 4; - - // Maps to HTTP DELETE. Used for deleting a resource. - string delete = 5; - - // Maps to HTTP PATCH. Used for updating a resource. - string patch = 6; - - // The custom pattern is used for specifying an HTTP method that is not - // included in the `pattern` field, such as HEAD, or "*" to leave the - // HTTP method unspecified for this rule. The wild-card rule is useful - // for services that provide content to Web (HTML) clients. - CustomHttpPattern custom = 8; - } - - // The name of the request field whose value is mapped to the HTTP request - // body, or `*` for mapping all request fields not captured by the path - // pattern to the HTTP body, or omitted for not having any HTTP request body. - // - // NOTE: the referred field must be present at the top-level of the request - // message type. - string body = 7; - - // Optional. The name of the response field whose value is mapped to the HTTP - // response body. When omitted, the entire response message will be used - // as the HTTP response body. - // - // NOTE: The referred field must be present at the top-level of the response - // message type. - string response_body = 12; - - // Additional HTTP bindings for the selector. Nested bindings must - // not contain an `additional_bindings` field themselves (that is, - // the nesting may only be one level deep). - repeated HttpRule additional_bindings = 11; -} - -// A custom pattern is used for defining custom HTTP verb. -message CustomHttpPattern { - // The name of this custom HTTP verb. - string kind = 1; - - // The path matched by this custom verb. - string path = 2; -} diff --git a/quicksilverjs/proto/google/protobuf/any.proto b/quicksilverjs/proto/google/protobuf/any.proto deleted file mode 100644 index 4cf3843bd..000000000 --- a/quicksilverjs/proto/google/protobuf/any.proto +++ /dev/null @@ -1,155 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto3"; - -package google.protobuf; - -option csharp_namespace = "Google.Protobuf.WellKnownTypes"; -option go_package = "types"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "AnyProto"; -option java_multiple_files = true; -option objc_class_prefix = "GPB"; - -// `Any` contains an arbitrary serialized protocol buffer message along with a -// URL that describes the type of the serialized message. -// -// Protobuf library provides support to pack/unpack Any values in the form -// of utility functions or additional generated methods of the Any type. -// -// Example 1: Pack and unpack a message in C++. -// -// Foo foo = ...; -// Any any; -// any.PackFrom(foo); -// ... -// if (any.UnpackTo(&foo)) { -// ... -// } -// -// Example 2: Pack and unpack a message in Java. -// -// Foo foo = ...; -// Any any = Any.pack(foo); -// ... -// if (any.is(Foo.class)) { -// foo = any.unpack(Foo.class); -// } -// -// Example 3: Pack and unpack a message in Python. -// -// foo = Foo(...) -// any = Any() -// any.Pack(foo) -// ... -// if any.Is(Foo.DESCRIPTOR): -// any.Unpack(foo) -// ... -// -// Example 4: Pack and unpack a message in Go -// -// foo := &pb.Foo{...} -// any, err := ptypes.MarshalAny(foo) -// ... -// foo := &pb.Foo{} -// if err := ptypes.UnmarshalAny(any, foo); err != nil { -// ... -// } -// -// The pack methods provided by protobuf library will by default use -// 'type.googleapis.com/full.type.name' as the type URL and the unpack -// methods only use the fully qualified type name after the last '/' -// in the type URL, for example "foo.bar.com/x/y.z" will yield type -// name "y.z". -// -// -// JSON -// ==== -// The JSON representation of an `Any` value uses the regular -// representation of the deserialized, embedded message, with an -// additional field `@type` which contains the type URL. Example: -// -// package google.profile; -// message Person { -// string first_name = 1; -// string last_name = 2; -// } -// -// { -// "@type": "type.googleapis.com/google.profile.Person", -// "firstName": , -// "lastName": -// } -// -// If the embedded message type is well-known and has a custom JSON -// representation, that representation will be embedded adding a field -// `value` which holds the custom JSON in addition to the `@type` -// field. Example (for message [google.protobuf.Duration][]): -// -// { -// "@type": "type.googleapis.com/google.protobuf.Duration", -// "value": "1.212s" -// } -// -message Any { - // A URL/resource name that uniquely identifies the type of the serialized - // protocol buffer message. This string must contain at least - // one "/" character. The last segment of the URL's path must represent - // the fully qualified name of the type (as in - // `path/google.protobuf.Duration`). The name should be in a canonical form - // (e.g., leading "." is not accepted). - // - // In practice, teams usually precompile into the binary all types that they - // expect it to use in the context of Any. However, for URLs which use the - // scheme `http`, `https`, or no scheme, one can optionally set up a type - // server that maps type URLs to message definitions as follows: - // - // * If no scheme is provided, `https` is assumed. - // * An HTTP GET on the URL must yield a [google.protobuf.Type][] - // value in binary format, or produce an error. - // * Applications are allowed to cache lookup results based on the - // URL, or have them precompiled into a binary to avoid any - // lookup. Therefore, binary compatibility needs to be preserved - // on changes to types. (Use versioned type names to manage - // breaking changes.) - // - // Note: this functionality is not currently available in the official - // protobuf release, and it is not used for type URLs beginning with - // type.googleapis.com. - // - // Schemes other than `http`, `https` (or the empty scheme) might be - // used with implementation specific semantics. - // - string type_url = 1; - - // Must be a valid serialized protocol buffer of the above specified type. - bytes value = 2; -} diff --git a/quicksilverjs/proto/google/protobuf/descriptor.proto b/quicksilverjs/proto/google/protobuf/descriptor.proto deleted file mode 100644 index 4a08905a5..000000000 --- a/quicksilverjs/proto/google/protobuf/descriptor.proto +++ /dev/null @@ -1,885 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -// Author: kenton@google.com (Kenton Varda) -// Based on original Protocol Buffers design by -// Sanjay Ghemawat, Jeff Dean, and others. -// -// The messages in this file describe the definitions found in .proto files. -// A valid .proto file can be translated directly to a FileDescriptorProto -// without any other information (e.g. without reading its imports). - - -syntax = "proto2"; - -package google.protobuf; - -option go_package = "descriptor"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "DescriptorProtos"; -option csharp_namespace = "Google.Protobuf.Reflection"; -option objc_class_prefix = "GPB"; -option cc_enable_arenas = true; - -// descriptor.proto must be optimized for speed because reflection-based -// algorithms don't work during bootstrapping. -option optimize_for = SPEED; - -// The protocol compiler can output a FileDescriptorSet containing the .proto -// files it parses. -message FileDescriptorSet { - repeated FileDescriptorProto file = 1; -} - -// Describes a complete .proto file. -message FileDescriptorProto { - optional string name = 1; // file name, relative to root of source tree - optional string package = 2; // e.g. "foo", "foo.bar", etc. - - // Names of files imported by this file. - repeated string dependency = 3; - // Indexes of the public imported files in the dependency list above. - repeated int32 public_dependency = 10; - // Indexes of the weak imported files in the dependency list. - // For Google-internal migration only. Do not use. - repeated int32 weak_dependency = 11; - - // All top-level definitions in this file. - repeated DescriptorProto message_type = 4; - repeated EnumDescriptorProto enum_type = 5; - repeated ServiceDescriptorProto service = 6; - repeated FieldDescriptorProto extension = 7; - - optional FileOptions options = 8; - - // This field contains optional information about the original source code. - // You may safely remove this entire field without harming runtime - // functionality of the descriptors -- the information is needed only by - // development tools. - optional SourceCodeInfo source_code_info = 9; - - // The syntax of the proto file. - // The supported values are "proto2" and "proto3". - optional string syntax = 12; -} - -// Describes a message type. -message DescriptorProto { - optional string name = 1; - - repeated FieldDescriptorProto field = 2; - repeated FieldDescriptorProto extension = 6; - - repeated DescriptorProto nested_type = 3; - repeated EnumDescriptorProto enum_type = 4; - - message ExtensionRange { - optional int32 start = 1; // Inclusive. - optional int32 end = 2; // Exclusive. - - optional ExtensionRangeOptions options = 3; - } - repeated ExtensionRange extension_range = 5; - - repeated OneofDescriptorProto oneof_decl = 8; - - optional MessageOptions options = 7; - - // Range of reserved tag numbers. Reserved tag numbers may not be used by - // fields or extension ranges in the same message. Reserved ranges may - // not overlap. - message ReservedRange { - optional int32 start = 1; // Inclusive. - optional int32 end = 2; // Exclusive. - } - repeated ReservedRange reserved_range = 9; - // Reserved field names, which may not be used by fields in the same message. - // A given name may only be reserved once. - repeated string reserved_name = 10; -} - -message ExtensionRangeOptions { - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -// Describes a field within a message. -message FieldDescriptorProto { - enum Type { - // 0 is reserved for errors. - // Order is weird for historical reasons. - TYPE_DOUBLE = 1; - TYPE_FLOAT = 2; - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - // negative values are likely. - TYPE_INT64 = 3; - TYPE_UINT64 = 4; - // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - // negative values are likely. - TYPE_INT32 = 5; - TYPE_FIXED64 = 6; - TYPE_FIXED32 = 7; - TYPE_BOOL = 8; - TYPE_STRING = 9; - // Tag-delimited aggregate. - // Group type is deprecated and not supported in proto3. However, Proto3 - // implementations should still be able to parse the group wire format and - // treat group fields as unknown fields. - TYPE_GROUP = 10; - TYPE_MESSAGE = 11; // Length-delimited aggregate. - - // New in version 2. - TYPE_BYTES = 12; - TYPE_UINT32 = 13; - TYPE_ENUM = 14; - TYPE_SFIXED32 = 15; - TYPE_SFIXED64 = 16; - TYPE_SINT32 = 17; // Uses ZigZag encoding. - TYPE_SINT64 = 18; // Uses ZigZag encoding. - } - - enum Label { - // 0 is reserved for errors - LABEL_OPTIONAL = 1; - LABEL_REQUIRED = 2; - LABEL_REPEATED = 3; - } - - optional string name = 1; - optional int32 number = 3; - optional Label label = 4; - - // If type_name is set, this need not be set. If both this and type_name - // are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - optional Type type = 5; - - // For message and enum types, this is the name of the type. If the name - // starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - // rules are used to find the type (i.e. first the nested types within this - // message are searched, then within the parent, on up to the root - // namespace). - optional string type_name = 6; - - // For extensions, this is the name of the type being extended. It is - // resolved in the same manner as type_name. - optional string extendee = 2; - - // For numeric types, contains the original text representation of the value. - // For booleans, "true" or "false". - // For strings, contains the default text contents (not escaped in any way). - // For bytes, contains the C escaped value. All bytes >= 128 are escaped. - // TODO(kenton): Base-64 encode? - optional string default_value = 7; - - // If set, gives the index of a oneof in the containing type's oneof_decl - // list. This field is a member of that oneof. - optional int32 oneof_index = 9; - - // JSON name of this field. The value is set by protocol compiler. If the - // user has set a "json_name" option on this field, that option's value - // will be used. Otherwise, it's deduced from the field's name by converting - // it to camelCase. - optional string json_name = 10; - - optional FieldOptions options = 8; -} - -// Describes a oneof. -message OneofDescriptorProto { - optional string name = 1; - optional OneofOptions options = 2; -} - -// Describes an enum type. -message EnumDescriptorProto { - optional string name = 1; - - repeated EnumValueDescriptorProto value = 2; - - optional EnumOptions options = 3; - - // Range of reserved numeric values. Reserved values may not be used by - // entries in the same enum. Reserved ranges may not overlap. - // - // Note that this is distinct from DescriptorProto.ReservedRange in that it - // is inclusive such that it can appropriately represent the entire int32 - // domain. - message EnumReservedRange { - optional int32 start = 1; // Inclusive. - optional int32 end = 2; // Inclusive. - } - - // Range of reserved numeric values. Reserved numeric values may not be used - // by enum values in the same enum declaration. Reserved ranges may not - // overlap. - repeated EnumReservedRange reserved_range = 4; - - // Reserved enum value names, which may not be reused. A given name may only - // be reserved once. - repeated string reserved_name = 5; -} - -// Describes a value within an enum. -message EnumValueDescriptorProto { - optional string name = 1; - optional int32 number = 2; - - optional EnumValueOptions options = 3; -} - -// Describes a service. -message ServiceDescriptorProto { - optional string name = 1; - repeated MethodDescriptorProto method = 2; - - optional ServiceOptions options = 3; -} - -// Describes a method of a service. -message MethodDescriptorProto { - optional string name = 1; - - // Input and output type names. These are resolved in the same way as - // FieldDescriptorProto.type_name, but must refer to a message type. - optional string input_type = 2; - optional string output_type = 3; - - optional MethodOptions options = 4; - - // Identifies if client streams multiple client messages - optional bool client_streaming = 5 [default = false]; - // Identifies if server streams multiple server messages - optional bool server_streaming = 6 [default = false]; -} - - -// =================================================================== -// Options - -// Each of the definitions above may have "options" attached. These are -// just annotations which may cause code to be generated slightly differently -// or may contain hints for code that manipulates protocol messages. -// -// Clients may define custom options as extensions of the *Options messages. -// These extensions may not yet be known at parsing time, so the parser cannot -// store the values in them. Instead it stores them in a field in the *Options -// message called uninterpreted_option. This field must have the same name -// across all *Options messages. We then use this field to populate the -// extensions when we build a descriptor, at which point all protos have been -// parsed and so all extensions are known. -// -// Extension numbers for custom options may be chosen as follows: -// * For options which will only be used within a single application or -// organization, or for experimental options, use field numbers 50000 -// through 99999. It is up to you to ensure that you do not use the -// same number for multiple options. -// * For options which will be published and used publicly by multiple -// independent entities, e-mail protobuf-global-extension-registry@google.com -// to reserve extension numbers. Simply provide your project name (e.g. -// Objective-C plugin) and your project website (if available) -- there's no -// need to explain how you intend to use them. Usually you only need one -// extension number. You can declare multiple options with only one extension -// number by putting them in a sub-message. See the Custom Options section of -// the docs for examples: -// https://developers.google.com/protocol-buffers/docs/proto#options -// If this turns out to be popular, a web service will be set up -// to automatically assign option numbers. - -message FileOptions { - - // Sets the Java package where classes generated from this .proto will be - // placed. By default, the proto package is used, but this is often - // inappropriate because proto packages do not normally start with backwards - // domain names. - optional string java_package = 1; - - - // If set, all the classes from the .proto file are wrapped in a single - // outer class with the given name. This applies to both Proto1 - // (equivalent to the old "--one_java_file" option) and Proto2 (where - // a .proto always translates to a single class, but you may want to - // explicitly choose the class name). - optional string java_outer_classname = 8; - - // If set true, then the Java code generator will generate a separate .java - // file for each top-level message, enum, and service defined in the .proto - // file. Thus, these types will *not* be nested inside the outer class - // named by java_outer_classname. However, the outer class will still be - // generated to contain the file's getDescriptor() method as well as any - // top-level extensions defined in the file. - optional bool java_multiple_files = 10 [default = false]; - - // This option does nothing. - optional bool java_generate_equals_and_hash = 20 [deprecated=true]; - - // If set true, then the Java2 code generator will generate code that - // throws an exception whenever an attempt is made to assign a non-UTF-8 - // byte sequence to a string field. - // Message reflection will do the same. - // However, an extension field still accepts non-UTF-8 byte sequences. - // This option has no effect on when used with the lite runtime. - optional bool java_string_check_utf8 = 27 [default = false]; - - - // Generated classes can be optimized for speed or code size. - enum OptimizeMode { - SPEED = 1; // Generate complete code for parsing, serialization, - // etc. - CODE_SIZE = 2; // Use ReflectionOps to implement these methods. - LITE_RUNTIME = 3; // Generate code using MessageLite and the lite runtime. - } - optional OptimizeMode optimize_for = 9 [default = SPEED]; - - // Sets the Go package where structs generated from this .proto will be - // placed. If omitted, the Go package will be derived from the following: - // - The basename of the package import path, if provided. - // - Otherwise, the package statement in the .proto file, if present. - // - Otherwise, the basename of the .proto file, without extension. - optional string go_package = 11; - - - - - // Should generic services be generated in each language? "Generic" services - // are not specific to any particular RPC system. They are generated by the - // main code generators in each language (without additional plugins). - // Generic services were the only kind of service generation supported by - // early versions of google.protobuf. - // - // Generic services are now considered deprecated in favor of using plugins - // that generate code specific to your particular RPC system. Therefore, - // these default to false. Old code which depends on generic services should - // explicitly set them to true. - optional bool cc_generic_services = 16 [default = false]; - optional bool java_generic_services = 17 [default = false]; - optional bool py_generic_services = 18 [default = false]; - optional bool php_generic_services = 42 [default = false]; - - // Is this file deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for everything in the file, or it will be completely ignored; in the very - // least, this is a formalization for deprecating files. - optional bool deprecated = 23 [default = false]; - - // Enables the use of arenas for the proto messages in this file. This applies - // only to generated classes for C++. - optional bool cc_enable_arenas = 31 [default = false]; - - - // Sets the objective c class prefix which is prepended to all objective c - // generated classes from this .proto. There is no default. - optional string objc_class_prefix = 36; - - // Namespace for generated classes; defaults to the package. - optional string csharp_namespace = 37; - - // By default Swift generators will take the proto package and CamelCase it - // replacing '.' with underscore and use that to prefix the types/symbols - // defined. When this options is provided, they will use this value instead - // to prefix the types/symbols defined. - optional string swift_prefix = 39; - - // Sets the php class prefix which is prepended to all php generated classes - // from this .proto. Default is empty. - optional string php_class_prefix = 40; - - // Use this option to change the namespace of php generated classes. Default - // is empty. When this option is empty, the package name will be used for - // determining the namespace. - optional string php_namespace = 41; - - // Use this option to change the namespace of php generated metadata classes. - // Default is empty. When this option is empty, the proto file name will be - // used for determining the namespace. - optional string php_metadata_namespace = 44; - - // Use this option to change the package of ruby generated classes. Default - // is empty. When this option is not set, the package name will be used for - // determining the ruby package. - optional string ruby_package = 45; - - - // The parser stores options it doesn't recognize here. - // See the documentation for the "Options" section above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. - // See the documentation for the "Options" section above. - extensions 1000 to max; - - //reserved 38; -} - -message MessageOptions { - // Set true to use the old proto1 MessageSet wire format for extensions. - // This is provided for backwards-compatibility with the MessageSet wire - // format. You should not use this for any other reason: It's less - // efficient, has fewer features, and is more complicated. - // - // The message must be defined exactly as follows: - // message Foo { - // option message_set_wire_format = true; - // extensions 4 to max; - // } - // Note that the message cannot have any defined fields; MessageSets only - // have extensions. - // - // All extensions of your type must be singular messages; e.g. they cannot - // be int32s, enums, or repeated messages. - // - // Because this is an option, the above two restrictions are not enforced by - // the protocol compiler. - optional bool message_set_wire_format = 1 [default = false]; - - // Disables the generation of the standard "descriptor()" accessor, which can - // conflict with a field of the same name. This is meant to make migration - // from proto1 easier; new code should avoid fields named "descriptor". - optional bool no_standard_descriptor_accessor = 2 [default = false]; - - // Is this message deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the message, or it will be completely ignored; in the very least, - // this is a formalization for deprecating messages. - optional bool deprecated = 3 [default = false]; - - // Whether the message is an automatically generated map entry type for the - // maps field. - // - // For maps fields: - // map map_field = 1; - // The parsed descriptor looks like: - // message MapFieldEntry { - // option map_entry = true; - // optional KeyType key = 1; - // optional ValueType value = 2; - // } - // repeated MapFieldEntry map_field = 1; - // - // Implementations may choose not to generate the map_entry=true message, but - // use a native map in the target language to hold the keys and values. - // The reflection APIs in such implementations still need to work as - // if the field is a repeated message field. - // - // NOTE: Do not set the option in .proto files. Always use the maps syntax - // instead. The option should only be implicitly set by the proto compiler - // parser. - optional bool map_entry = 7; - - //reserved 8; // javalite_serializable - //reserved 9; // javanano_as_lite - - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message FieldOptions { - // The ctype option instructs the C++ code generator to use a different - // representation of the field than it normally would. See the specific - // options below. This option is not yet implemented in the open source - // release -- sorry, we'll try to include it in a future version! - optional CType ctype = 1 [default = STRING]; - enum CType { - // Default mode. - STRING = 0; - - CORD = 1; - - STRING_PIECE = 2; - } - // The packed option can be enabled for repeated primitive fields to enable - // a more efficient representation on the wire. Rather than repeatedly - // writing the tag and type for each element, the entire array is encoded as - // a single length-delimited blob. In proto3, only explicit setting it to - // false will avoid using packed encoding. - optional bool packed = 2; - - // The jstype option determines the JavaScript type used for values of the - // field. The option is permitted only for 64 bit integral and fixed types - // (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - // is represented as JavaScript string, which avoids loss of precision that - // can happen when a large value is converted to a floating point JavaScript. - // Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - // use the JavaScript "number" type. The behavior of the default option - // JS_NORMAL is implementation dependent. - // - // This option is an enum to permit additional types to be added, e.g. - // goog.math.Integer. - optional JSType jstype = 6 [default = JS_NORMAL]; - enum JSType { - // Use the default type. - JS_NORMAL = 0; - - // Use JavaScript strings. - JS_STRING = 1; - - // Use JavaScript numbers. - JS_NUMBER = 2; - } - - // Should this field be parsed lazily? Lazy applies only to message-type - // fields. It means that when the outer message is initially parsed, the - // inner message's contents will not be parsed but instead stored in encoded - // form. The inner message will actually be parsed when it is first accessed. - // - // This is only a hint. Implementations are free to choose whether to use - // eager or lazy parsing regardless of the value of this option. However, - // setting this option true suggests that the protocol author believes that - // using lazy parsing on this field is worth the additional bookkeeping - // overhead typically needed to implement it. - // - // This option does not affect the public interface of any generated code; - // all method signatures remain the same. Furthermore, thread-safety of the - // interface is not affected by this option; const methods remain safe to - // call from multiple threads concurrently, while non-const methods continue - // to require exclusive access. - // - // - // Note that implementations may choose not to check required fields within - // a lazy sub-message. That is, calling IsInitialized() on the outer message - // may return true even if the inner message has missing required fields. - // This is necessary because otherwise the inner message would have to be - // parsed in order to perform the check, defeating the purpose of lazy - // parsing. An implementation which chooses not to check required fields - // must be consistent about it. That is, for any particular sub-message, the - // implementation must either *always* check its required fields, or *never* - // check its required fields, regardless of whether or not the message has - // been parsed. - optional bool lazy = 5 [default = false]; - - // Is this field deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for accessors, or it will be completely ignored; in the very least, this - // is a formalization for deprecating fields. - optional bool deprecated = 3 [default = false]; - - // For Google-internal migration only. Do not use. - optional bool weak = 10 [default = false]; - - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; - - //reserved 4; // removed jtype -} - -message OneofOptions { - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message EnumOptions { - - // Set this option to true to allow mapping different tag names to the same - // value. - optional bool allow_alias = 2; - - // Is this enum deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the enum, or it will be completely ignored; in the very least, this - // is a formalization for deprecating enums. - optional bool deprecated = 3 [default = false]; - - //reserved 5; // javanano_as_lite - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message EnumValueOptions { - // Is this enum value deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the enum value, or it will be completely ignored; in the very least, - // this is a formalization for deprecating enum values. - optional bool deprecated = 1 [default = false]; - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message ServiceOptions { - - // Note: Field numbers 1 through 32 are reserved for Google's internal RPC - // framework. We apologize for hoarding these numbers to ourselves, but - // we were already using them long before we decided to release Protocol - // Buffers. - - // Is this service deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the service, or it will be completely ignored; in the very least, - // this is a formalization for deprecating services. - optional bool deprecated = 33 [default = false]; - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - -message MethodOptions { - - // Note: Field numbers 1 through 32 are reserved for Google's internal RPC - // framework. We apologize for hoarding these numbers to ourselves, but - // we were already using them long before we decided to release Protocol - // Buffers. - - // Is this method deprecated? - // Depending on the target platform, this can emit Deprecated annotations - // for the method, or it will be completely ignored; in the very least, - // this is a formalization for deprecating methods. - optional bool deprecated = 33 [default = false]; - - // Is this method side-effect-free (or safe in HTTP parlance), or idempotent, - // or neither? HTTP based RPC implementation may choose GET verb for safe - // methods, and PUT verb for idempotent methods instead of the default POST. - enum IdempotencyLevel { - IDEMPOTENCY_UNKNOWN = 0; - NO_SIDE_EFFECTS = 1; // implies idempotent - IDEMPOTENT = 2; // idempotent, but may have side effects - } - optional IdempotencyLevel idempotency_level = 34 - [default = IDEMPOTENCY_UNKNOWN]; - - // The parser stores options it doesn't recognize here. See above. - repeated UninterpretedOption uninterpreted_option = 999; - - // Clients can define custom options in extensions of this message. See above. - extensions 1000 to max; -} - - -// A message representing a option the parser does not recognize. This only -// appears in options protos created by the compiler::Parser class. -// DescriptorPool resolves these when building Descriptor objects. Therefore, -// options protos in descriptor objects (e.g. returned by Descriptor::options(), -// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions -// in them. -message UninterpretedOption { - // The name of the uninterpreted option. Each string represents a segment in - // a dot-separated name. is_extension is true iff a segment represents an - // extension (denoted with parentheses in options specs in .proto files). - // E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - // "foo.(bar.baz).qux". - message NamePart { - required string name_part = 1; - required bool is_extension = 2; - } - repeated NamePart name = 2; - - // The value of the uninterpreted option, in whatever type the tokenizer - // identified it as during parsing. Exactly one of these should be set. - optional string identifier_value = 3; - optional uint64 positive_int_value = 4; - optional int64 negative_int_value = 5; - optional double double_value = 6; - optional bytes string_value = 7; - optional string aggregate_value = 8; -} - -// =================================================================== -// Optional source code info - -// Encapsulates information about the original source file from which a -// FileDescriptorProto was generated. -message SourceCodeInfo { - // A Location identifies a piece of source code in a .proto file which - // corresponds to a particular definition. This information is intended - // to be useful to IDEs, code indexers, documentation generators, and similar - // tools. - // - // For example, say we have a file like: - // message Foo { - // optional string foo = 1; - // } - // Let's look at just the field definition: - // optional string foo = 1; - // ^ ^^ ^^ ^ ^^^ - // a bc de f ghi - // We have the following locations: - // span path represents - // [a,i) [ 4, 0, 2, 0 ] The whole field definition. - // [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - // [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - // [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - // [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - // - // Notes: - // - A location may refer to a repeated field itself (i.e. not to any - // particular index within it). This is used whenever a set of elements are - // logically enclosed in a single code segment. For example, an entire - // extend block (possibly containing multiple extension definitions) will - // have an outer location whose path refers to the "extensions" repeated - // field without an index. - // - Multiple locations may have the same path. This happens when a single - // logical declaration is spread out across multiple places. The most - // obvious example is the "extend" block again -- there may be multiple - // extend blocks in the same scope, each of which will have the same path. - // - A location's span is not always a subset of its parent's span. For - // example, the "extendee" of an extension declaration appears at the - // beginning of the "extend" block and is shared by all extensions within - // the block. - // - Just because a location's span is a subset of some other location's span - // does not mean that it is a descendant. For example, a "group" defines - // both a type and a field in a single declaration. Thus, the locations - // corresponding to the type and field and their components will overlap. - // - Code which tries to interpret locations should probably be designed to - // ignore those that it doesn't understand, as more types of locations could - // be recorded in the future. - repeated Location location = 1; - message Location { - // Identifies which part of the FileDescriptorProto was defined at this - // location. - // - // Each element is a field number or an index. They form a path from - // the root FileDescriptorProto to the place where the definition. For - // example, this path: - // [ 4, 3, 2, 7, 1 ] - // refers to: - // file.message_type(3) // 4, 3 - // .field(7) // 2, 7 - // .name() // 1 - // This is because FileDescriptorProto.message_type has field number 4: - // repeated DescriptorProto message_type = 4; - // and DescriptorProto.field has field number 2: - // repeated FieldDescriptorProto field = 2; - // and FieldDescriptorProto.name has field number 1: - // optional string name = 1; - // - // Thus, the above path gives the location of a field name. If we removed - // the last element: - // [ 4, 3, 2, 7 ] - // this path refers to the whole field declaration (from the beginning - // of the label to the terminating semicolon). - repeated int32 path = 1 [packed = true]; - - // Always has exactly three or four elements: start line, start column, - // end line (optional, otherwise assumed same as start line), end column. - // These are packed into a single field for efficiency. Note that line - // and column numbers are zero-based -- typically you will want to add - // 1 to each before displaying to a user. - repeated int32 span = 2 [packed = true]; - - // If this SourceCodeInfo represents a complete declaration, these are any - // comments appearing before and after the declaration which appear to be - // attached to the declaration. - // - // A series of line comments appearing on consecutive lines, with no other - // tokens appearing on those lines, will be treated as a single comment. - // - // leading_detached_comments will keep paragraphs of comments that appear - // before (but not connected to) the current element. Each paragraph, - // separated by empty lines, will be one comment element in the repeated - // field. - // - // Only the comment content is provided; comment markers (e.g. //) are - // stripped out. For block comments, leading whitespace and an asterisk - // will be stripped from the beginning of each line other than the first. - // Newlines are included in the output. - // - // Examples: - // - // optional int32 foo = 1; // Comment attached to foo. - // // Comment attached to bar. - // optional int32 bar = 2; - // - // optional string baz = 3; - // // Comment attached to baz. - // // Another line attached to baz. - // - // // Comment attached to qux. - // // - // // Another line attached to qux. - // optional double qux = 4; - // - // // Detached comment for corge. This is not leading or trailing comments - // // to qux or corge because there are blank lines separating it from - // // both. - // - // // Detached comment for corge paragraph 2. - // - // optional string corge = 5; - // /* Block comment attached - // * to corge. Leading asterisks - // * will be removed. */ - // /* Block comment attached to - // * grault. */ - // optional int32 grault = 6; - // - // // ignored detached comments. - optional string leading_comments = 3; - optional string trailing_comments = 4; - repeated string leading_detached_comments = 6; - } -} - -// Describes the relationship between generated code and its original source -// file. A GeneratedCodeInfo message is associated with only one generated -// source file, but may contain references to different source .proto files. -message GeneratedCodeInfo { - // An Annotation connects some span of text in generated code to an element - // of its generating .proto file. - repeated Annotation annotation = 1; - message Annotation { - // Identifies the element in the original source .proto file. This field - // is formatted the same as SourceCodeInfo.Location.path. - repeated int32 path = 1 [packed = true]; - - // Identifies the filesystem path to the original source .proto. - optional string source_file = 2; - - // Identifies the starting offset in bytes in the generated code - // that relates to the identified object. - optional int32 begin = 3; - - // Identifies the ending offset in bytes in the generated code that - // relates to the identified offset. The end offset should be one past - // the last relevant byte (so the length of the text = end - begin). - optional int32 end = 4; - } -} diff --git a/quicksilverjs/proto/google/protobuf/duration.proto b/quicksilverjs/proto/google/protobuf/duration.proto deleted file mode 100644 index b14bea5d0..000000000 --- a/quicksilverjs/proto/google/protobuf/duration.proto +++ /dev/null @@ -1,116 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto3"; - -package google.protobuf; - -option csharp_namespace = "Google.Protobuf.WellKnownTypes"; -option cc_enable_arenas = true; -option go_package = "types"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "DurationProto"; -option java_multiple_files = true; -option objc_class_prefix = "GPB"; - -// A Duration represents a signed, fixed-length span of time represented -// as a count of seconds and fractions of seconds at nanosecond -// resolution. It is independent of any calendar and concepts like "day" -// or "month". It is related to Timestamp in that the difference between -// two Timestamp values is a Duration and it can be added or subtracted -// from a Timestamp. Range is approximately +-10,000 years. -// -// # Examples -// -// Example 1: Compute Duration from two Timestamps in pseudo code. -// -// Timestamp start = ...; -// Timestamp end = ...; -// Duration duration = ...; -// -// duration.seconds = end.seconds - start.seconds; -// duration.nanos = end.nanos - start.nanos; -// -// if (duration.seconds < 0 && duration.nanos > 0) { -// duration.seconds += 1; -// duration.nanos -= 1000000000; -// } else if (durations.seconds > 0 && duration.nanos < 0) { -// duration.seconds -= 1; -// duration.nanos += 1000000000; -// } -// -// Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. -// -// Timestamp start = ...; -// Duration duration = ...; -// Timestamp end = ...; -// -// end.seconds = start.seconds + duration.seconds; -// end.nanos = start.nanos + duration.nanos; -// -// if (end.nanos < 0) { -// end.seconds -= 1; -// end.nanos += 1000000000; -// } else if (end.nanos >= 1000000000) { -// end.seconds += 1; -// end.nanos -= 1000000000; -// } -// -// Example 3: Compute Duration from datetime.timedelta in Python. -// -// td = datetime.timedelta(days=3, minutes=10) -// duration = Duration() -// duration.FromTimedelta(td) -// -// # JSON Mapping -// -// In JSON format, the Duration type is encoded as a string rather than an -// object, where the string ends in the suffix "s" (indicating seconds) and -// is preceded by the number of seconds, with nanoseconds expressed as -// fractional seconds. For example, 3 seconds with 0 nanoseconds should be -// encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should -// be expressed in JSON format as "3.000000001s", and 3 seconds and 1 -// microsecond should be expressed in JSON format as "3.000001s". -// -// -message Duration { - // Signed seconds of the span of time. Must be from -315,576,000,000 - // to +315,576,000,000 inclusive. Note: these bounds are computed from: - // 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - int64 seconds = 1; - - // Signed fractions of a second at nanosecond resolution of the span - // of time. Durations less than one second are represented with a 0 - // `seconds` field and a positive or negative `nanos` field. For durations - // of one second or more, a non-zero value for the `nanos` field must be - // of the same sign as the `seconds` field. Must be from -999,999,999 - // to +999,999,999 inclusive. - int32 nanos = 2; -} diff --git a/quicksilverjs/proto/google/protobuf/empty.proto b/quicksilverjs/proto/google/protobuf/empty.proto deleted file mode 100644 index 6057c8522..000000000 --- a/quicksilverjs/proto/google/protobuf/empty.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto3"; - -package google.protobuf; - -option csharp_namespace = "Google.Protobuf.WellKnownTypes"; -option go_package = "types"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "EmptyProto"; -option java_multiple_files = true; -option objc_class_prefix = "GPB"; -option cc_enable_arenas = true; - -// A generic empty message that you can re-use to avoid defining duplicated -// empty messages in your APIs. A typical example is to use it as the request -// or the response type of an API method. For instance: -// -// service Foo { -// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); -// } -// -// The JSON representation for `Empty` is empty JSON object `{}`. -message Empty {} diff --git a/quicksilverjs/proto/google/protobuf/timestamp.proto b/quicksilverjs/proto/google/protobuf/timestamp.proto deleted file mode 100644 index 0ebe36ea7..000000000 --- a/quicksilverjs/proto/google/protobuf/timestamp.proto +++ /dev/null @@ -1,138 +0,0 @@ -// Protocol Buffers - Google's data interchange format -// Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Google Inc. nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -syntax = "proto3"; - -package google.protobuf; - -option csharp_namespace = "Google.Protobuf.WellKnownTypes"; -option cc_enable_arenas = true; -option go_package = "types"; -option java_package = "com.google.protobuf"; -option java_outer_classname = "TimestampProto"; -option java_multiple_files = true; -option objc_class_prefix = "GPB"; - -// A Timestamp represents a point in time independent of any time zone or local -// calendar, encoded as a count of seconds and fractions of seconds at -// nanosecond resolution. The count is relative to an epoch at UTC midnight on -// January 1, 1970, in the proleptic Gregorian calendar which extends the -// Gregorian calendar backwards to year one. -// -// All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap -// second table is needed for interpretation, using a [24-hour linear -// smear](https://developers.google.com/time/smear). -// -// The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By -// restricting to that range, we ensure that we can convert to and from [RFC -// 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. -// -// # Examples -// -// Example 1: Compute Timestamp from POSIX `time()`. -// -// Timestamp timestamp; -// timestamp.set_seconds(time(NULL)); -// timestamp.set_nanos(0); -// -// Example 2: Compute Timestamp from POSIX `gettimeofday()`. -// -// struct timeval tv; -// gettimeofday(&tv, NULL); -// -// Timestamp timestamp; -// timestamp.set_seconds(tv.tv_sec); -// timestamp.set_nanos(tv.tv_usec * 1000); -// -// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. -// -// FILETIME ft; -// GetSystemTimeAsFileTime(&ft); -// UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; -// -// // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z -// // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. -// Timestamp timestamp; -// timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); -// timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); -// -// Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. -// -// long millis = System.currentTimeMillis(); -// -// Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) -// .setNanos((int) ((millis % 1000) * 1000000)).build(); -// -// -// Example 5: Compute Timestamp from current time in Python. -// -// timestamp = Timestamp() -// timestamp.GetCurrentTime() -// -// # JSON Mapping -// -// In JSON format, the Timestamp type is encoded as a string in the -// [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the -// format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" -// where {year} is always expressed using four digits while {month}, {day}, -// {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional -// seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), -// are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone -// is required. A proto3 JSON serializer should always use UTC (as indicated by -// "Z") when printing the Timestamp type and a proto3 JSON parser should be -// able to accept both UTC and other timezones (as indicated by an offset). -// -// For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past -// 01:30 UTC on January 15, 2017. -// -// In JavaScript, one can convert a Date object to this format using the -// standard -// [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) -// method. In Python, a standard `datetime.datetime` object can be converted -// to this format using -// [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with -// the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use -// the Joda Time's [`ISODateTimeFormat.dateTime()`]( -// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D -// ) to obtain a formatter capable of generating timestamps in this format. -// -// -message Timestamp { - // Represents seconds of UTC time since Unix epoch - // 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - // 9999-12-31T23:59:59Z inclusive. - int64 seconds = 1; - - // Non-negative fractions of a second at nanosecond resolution. Negative - // second values with fractions must still have non-negative nanos values - // that count forward in time. Must be from 0 to 999,999,999 - // inclusive. - int32 nanos = 2; -} diff --git a/quicksilverjs/proto/ibc/LICENSE b/quicksilverjs/proto/ibc/LICENSE deleted file mode 100644 index c04a16b34..000000000 --- a/quicksilverjs/proto/ibc/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 COSMOS - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/quicksilverjs/proto/ibc/README.md b/quicksilverjs/proto/ibc/README.md deleted file mode 100644 index e4ee70c74..000000000 --- a/quicksilverjs/proto/ibc/README.md +++ /dev/null @@ -1 +0,0 @@ -# ibc \ No newline at end of file diff --git a/quicksilverjs/proto/ibc/applications/transfer/v1/genesis.proto b/quicksilverjs/proto/ibc/applications/transfer/v1/genesis.proto deleted file mode 100644 index 73d9fdddf..000000000 --- a/quicksilverjs/proto/ibc/applications/transfer/v1/genesis.proto +++ /dev/null @@ -1,19 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.transfer.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; - -import "ibc/applications/transfer/v1/transfer.proto"; -import "gogoproto/gogo.proto"; - -// GenesisState defines the ibc-transfer genesis state -message GenesisState { - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - repeated DenomTrace denom_traces = 2 [ - (gogoproto.castrepeated) = "Traces", - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"denom_traces\"" - ]; - Params params = 3 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/ibc/applications/transfer/v1/query.proto b/quicksilverjs/proto/ibc/applications/transfer/v1/query.proto deleted file mode 100644 index f2faa87b8..000000000 --- a/quicksilverjs/proto/ibc/applications/transfer/v1/query.proto +++ /dev/null @@ -1,67 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.transfer.v1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "ibc/applications/transfer/v1/transfer.proto"; -import "google/api/annotations.proto"; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; - -// Query provides defines the gRPC querier service. -service Query { - // DenomTrace queries a denomination trace information. - rpc DenomTrace(QueryDenomTraceRequest) returns (QueryDenomTraceResponse) { - option (google.api.http).get = "/ibc/apps/transfer/v1/denom_traces/{hash}"; - } - - // DenomTraces queries all denomination traces. - rpc DenomTraces(QueryDenomTracesRequest) returns (QueryDenomTracesResponse) { - option (google.api.http).get = "/ibc/apps/transfer/v1/denom_traces"; - } - - // Params queries all parameters of the ibc-transfer module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/ibc/apps/transfer/v1/params"; - } -} - -// QueryDenomTraceRequest is the request type for the Query/DenomTrace RPC -// method -message QueryDenomTraceRequest { - // hash (in hex format) of the denomination trace information. - string hash = 1; -} - -// QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC -// method. -message QueryDenomTraceResponse { - // denom_trace returns the requested denomination trace information. - DenomTrace denom_trace = 1; -} - -// QueryConnectionsRequest is the request type for the Query/DenomTraces RPC -// method -message QueryDenomTracesRequest { - // pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryConnectionsResponse is the response type for the Query/DenomTraces RPC -// method. -message QueryDenomTracesResponse { - // denom_traces returns all denominations trace information. - repeated DenomTrace denom_traces = 1 [(gogoproto.castrepeated) = "Traces", (gogoproto.nullable) = false]; - // pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1; -} diff --git a/quicksilverjs/proto/ibc/applications/transfer/v1/transfer.proto b/quicksilverjs/proto/ibc/applications/transfer/v1/transfer.proto deleted file mode 100644 index 10ce92f90..000000000 --- a/quicksilverjs/proto/ibc/applications/transfer/v1/transfer.proto +++ /dev/null @@ -1,30 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.transfer.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; - -import "gogoproto/gogo.proto"; - -// DenomTrace contains the base denomination for ICS20 fungible tokens and the -// source tracing information path. -message DenomTrace { - // path defines the chain of port/channel identifiers used for tracing the - // source of the fungible token. - string path = 1; - // base denomination of the relayed fungible token. - string base_denom = 2; -} - -// Params defines the set of IBC transfer parameters. -// NOTE: To prevent a single token from being transferred, set the -// TransfersEnabled parameter to true and then set the bank module's SendEnabled -// parameter for the denomination to false. -message Params { - // send_enabled enables or disables all cross-chain token transfers from this - // chain. - bool send_enabled = 1 [(gogoproto.moretags) = "yaml:\"send_enabled\""]; - // receive_enabled enables or disables all cross-chain token transfers to this - // chain. - bool receive_enabled = 2 [(gogoproto.moretags) = "yaml:\"receive_enabled\""]; -} diff --git a/quicksilverjs/proto/ibc/applications/transfer/v1/tx.proto b/quicksilverjs/proto/ibc/applications/transfer/v1/tx.proto deleted file mode 100644 index dfc480d07..000000000 --- a/quicksilverjs/proto/ibc/applications/transfer/v1/tx.proto +++ /dev/null @@ -1,44 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.transfer.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "ibc/core/client/v1/client.proto"; - -// Msg defines the ibc/transfer Msg service. -service Msg { - // Transfer defines a rpc handler method for MsgTransfer. - rpc Transfer(MsgTransfer) returns (MsgTransferResponse); -} - -// MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between -// ICS20 enabled chains. See ICS Spec here: -// https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures -message MsgTransfer { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // the port on which the packet will be sent - string source_port = 1 [(gogoproto.moretags) = "yaml:\"source_port\""]; - // the channel by which the packet will be sent - string source_channel = 2 [(gogoproto.moretags) = "yaml:\"source_channel\""]; - // the tokens to be transferred - cosmos.base.v1beta1.Coin token = 3 [(gogoproto.nullable) = false]; - // the sender address - string sender = 4; - // the recipient address on the destination chain - string receiver = 5; - // Timeout height relative to the current block height. - // The timeout is disabled when set to 0. - ibc.core.client.v1.Height timeout_height = 6 - [(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false]; - // Timeout timestamp (in nanoseconds) relative to the current block timestamp. - // The timeout is disabled when set to 0. - uint64 timeout_timestamp = 7 [(gogoproto.moretags) = "yaml:\"timeout_timestamp\""]; -} - -// MsgTransferResponse defines the Msg/Transfer response type. -message MsgTransferResponse {} diff --git a/quicksilverjs/proto/ibc/applications/transfer/v2/packet.proto b/quicksilverjs/proto/ibc/applications/transfer/v2/packet.proto deleted file mode 100644 index 593392a90..000000000 --- a/quicksilverjs/proto/ibc/applications/transfer/v2/packet.proto +++ /dev/null @@ -1,19 +0,0 @@ -syntax = "proto3"; - -package ibc.applications.transfer.v2; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/apps/transfer/types"; - -// FungibleTokenPacketData defines a struct for the packet payload -// See FungibleTokenPacketData spec: -// https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures -message FungibleTokenPacketData { - // the token denomination to be transferred - string denom = 1; - // the token amount to be transferred - string amount = 2; - // the sender address - string sender = 3; - // the recipient address on the destination chain - string receiver = 4; -} diff --git a/quicksilverjs/proto/ibc/core/channel/v1/channel.proto b/quicksilverjs/proto/ibc/core/channel/v1/channel.proto deleted file mode 100644 index c7f42dbf9..000000000 --- a/quicksilverjs/proto/ibc/core/channel/v1/channel.proto +++ /dev/null @@ -1,148 +0,0 @@ -syntax = "proto3"; - -package ibc.core.channel.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/client/v1/client.proto"; - -// Channel defines pipeline for exactly-once packet delivery between specific -// modules on separate blockchains, which has at least one end capable of -// sending packets and one end capable of receiving packets. -message Channel { - option (gogoproto.goproto_getters) = false; - - // current state of the channel end - State state = 1; - // whether the channel is ordered or unordered - Order ordering = 2; - // counterparty channel end - Counterparty counterparty = 3 [(gogoproto.nullable) = false]; - // list of connection identifiers, in order, along which packets sent on - // this channel will travel - repeated string connection_hops = 4 [(gogoproto.moretags) = "yaml:\"connection_hops\""]; - // opaque channel version, which is agreed upon during the handshake - string version = 5; -} - -// IdentifiedChannel defines a channel with additional port and channel -// identifier fields. -message IdentifiedChannel { - option (gogoproto.goproto_getters) = false; - - // current state of the channel end - State state = 1; - // whether the channel is ordered or unordered - Order ordering = 2; - // counterparty channel end - Counterparty counterparty = 3 [(gogoproto.nullable) = false]; - // list of connection identifiers, in order, along which packets sent on - // this channel will travel - repeated string connection_hops = 4 [(gogoproto.moretags) = "yaml:\"connection_hops\""]; - // opaque channel version, which is agreed upon during the handshake - string version = 5; - // port identifier - string port_id = 6; - // channel identifier - string channel_id = 7; -} - -// State defines if a channel is in one of the following states: -// CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. -enum State { - option (gogoproto.goproto_enum_prefix) = false; - - // Default State - STATE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNINITIALIZED"]; - // A channel has just started the opening handshake. - STATE_INIT = 1 [(gogoproto.enumvalue_customname) = "INIT"]; - // A channel has acknowledged the handshake step on the counterparty chain. - STATE_TRYOPEN = 2 [(gogoproto.enumvalue_customname) = "TRYOPEN"]; - // A channel has completed the handshake. Open channels are - // ready to send and receive packets. - STATE_OPEN = 3 [(gogoproto.enumvalue_customname) = "OPEN"]; - // A channel has been closed and can no longer be used to send or receive - // packets. - STATE_CLOSED = 4 [(gogoproto.enumvalue_customname) = "CLOSED"]; -} - -// Order defines if a channel is ORDERED or UNORDERED -enum Order { - option (gogoproto.goproto_enum_prefix) = false; - - // zero-value for channel ordering - ORDER_NONE_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "NONE"]; - // packets can be delivered in any order, which may differ from the order in - // which they were sent. - ORDER_UNORDERED = 1 [(gogoproto.enumvalue_customname) = "UNORDERED"]; - // packets are delivered exactly in the order which they were sent - ORDER_ORDERED = 2 [(gogoproto.enumvalue_customname) = "ORDERED"]; -} - -// Counterparty defines a channel end counterparty -message Counterparty { - option (gogoproto.goproto_getters) = false; - - // port on the counterparty chain which owns the other end of the channel. - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - // channel end on the counterparty chain - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; -} - -// Packet defines a type that carries data across different chains through IBC -message Packet { - option (gogoproto.goproto_getters) = false; - - // number corresponds to the order of sends and receives, where a Packet - // with an earlier sequence number must be sent and received before a Packet - // with a later sequence number. - uint64 sequence = 1; - // identifies the port on the sending chain. - string source_port = 2 [(gogoproto.moretags) = "yaml:\"source_port\""]; - // identifies the channel end on the sending chain. - string source_channel = 3 [(gogoproto.moretags) = "yaml:\"source_channel\""]; - // identifies the port on the receiving chain. - string destination_port = 4 [(gogoproto.moretags) = "yaml:\"destination_port\""]; - // identifies the channel end on the receiving chain. - string destination_channel = 5 [(gogoproto.moretags) = "yaml:\"destination_channel\""]; - // actual opaque bytes transferred directly to the application module - bytes data = 6; - // block height after which the packet times out - ibc.core.client.v1.Height timeout_height = 7 - [(gogoproto.moretags) = "yaml:\"timeout_height\"", (gogoproto.nullable) = false]; - // block timestamp (in nanoseconds) after which the packet times out - uint64 timeout_timestamp = 8 [(gogoproto.moretags) = "yaml:\"timeout_timestamp\""]; -} - -// PacketState defines the generic type necessary to retrieve and store -// packet commitments, acknowledgements, and receipts. -// Caller is responsible for knowing the context necessary to interpret this -// state as a commitment, acknowledgement, or a receipt. -message PacketState { - option (gogoproto.goproto_getters) = false; - - // channel port identifier. - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - // channel unique identifier. - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - // packet sequence. - uint64 sequence = 3; - // embedded data that represents packet state. - bytes data = 4; -} - -// Acknowledgement is the recommended acknowledgement format to be used by -// app-specific protocols. -// NOTE: The field numbers 21 and 22 were explicitly chosen to avoid accidental -// conflicts with other protobuf message formats used for acknowledgements. -// The first byte of any message with this format will be the non-ASCII values -// `0xaa` (result) or `0xb2` (error). Implemented as defined by ICS: -// https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#acknowledgement-envelope -message Acknowledgement { - // response contains either a result or an error and must be non-empty - oneof response { - bytes result = 21; - string error = 22; - } -} diff --git a/quicksilverjs/proto/ibc/core/channel/v1/genesis.proto b/quicksilverjs/proto/ibc/core/channel/v1/genesis.proto deleted file mode 100644 index 38b57ed6c..000000000 --- a/quicksilverjs/proto/ibc/core/channel/v1/genesis.proto +++ /dev/null @@ -1,32 +0,0 @@ -syntax = "proto3"; - -package ibc.core.channel.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/channel/v1/channel.proto"; - -// GenesisState defines the ibc channel submodule's genesis state. -message GenesisState { - repeated IdentifiedChannel channels = 1 [(gogoproto.casttype) = "IdentifiedChannel", (gogoproto.nullable) = false]; - repeated PacketState acknowledgements = 2 [(gogoproto.nullable) = false]; - repeated PacketState commitments = 3 [(gogoproto.nullable) = false]; - repeated PacketState receipts = 4 [(gogoproto.nullable) = false]; - repeated PacketSequence send_sequences = 5 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"send_sequences\""]; - repeated PacketSequence recv_sequences = 6 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"recv_sequences\""]; - repeated PacketSequence ack_sequences = 7 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"ack_sequences\""]; - // the sequence for the next generated channel identifier - uint64 next_channel_sequence = 8 [(gogoproto.moretags) = "yaml:\"next_channel_sequence\""]; -} - -// PacketSequence defines the genesis type necessary to retrieve and store -// next send and receive sequences. -message PacketSequence { - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - uint64 sequence = 3; -} diff --git a/quicksilverjs/proto/ibc/core/channel/v1/query.proto b/quicksilverjs/proto/ibc/core/channel/v1/query.proto deleted file mode 100644 index 212cb645a..000000000 --- a/quicksilverjs/proto/ibc/core/channel/v1/query.proto +++ /dev/null @@ -1,376 +0,0 @@ -syntax = "proto3"; - -package ibc.core.channel.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; - -import "ibc/core/client/v1/client.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "ibc/core/channel/v1/channel.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/any.proto"; -import "gogoproto/gogo.proto"; - -// Query provides defines the gRPC querier service -service Query { - // Channel queries an IBC Channel. - rpc Channel(QueryChannelRequest) returns (QueryChannelResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}"; - } - - // Channels queries all the IBC channels of a chain. - rpc Channels(QueryChannelsRequest) returns (QueryChannelsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels"; - } - - // ConnectionChannels queries all the channels associated with a connection - // end. - rpc ConnectionChannels(QueryConnectionChannelsRequest) returns (QueryConnectionChannelsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/connections/{connection}/channels"; - } - - // ChannelClientState queries for the client state for the channel associated - // with the provided channel identifiers. - rpc ChannelClientState(QueryChannelClientStateRequest) returns (QueryChannelClientStateResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/client_state"; - } - - // ChannelConsensusState queries for the consensus state for the channel - // associated with the provided channel identifiers. - rpc ChannelConsensusState(QueryChannelConsensusStateRequest) returns (QueryChannelConsensusStateResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/consensus_state/revision/" - "{revision_number}/height/{revision_height}"; - } - - // PacketCommitment queries a stored packet commitment hash. - rpc PacketCommitment(QueryPacketCommitmentRequest) returns (QueryPacketCommitmentResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" - "packet_commitments/{sequence}"; - } - - // PacketCommitments returns all the packet commitments hashes associated - // with a channel. - rpc PacketCommitments(QueryPacketCommitmentsRequest) returns (QueryPacketCommitmentsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/packet_commitments"; - } - - // PacketReceipt queries if a given packet sequence has been received on the - // queried chain - rpc PacketReceipt(QueryPacketReceiptRequest) returns (QueryPacketReceiptResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/packet_receipts/{sequence}"; - } - - // PacketAcknowledgement queries a stored packet acknowledgement hash. - rpc PacketAcknowledgement(QueryPacketAcknowledgementRequest) returns (QueryPacketAcknowledgementResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/packet_acks/{sequence}"; - } - - // PacketAcknowledgements returns all the packet acknowledgements associated - // with a channel. - rpc PacketAcknowledgements(QueryPacketAcknowledgementsRequest) returns (QueryPacketAcknowledgementsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/packet_acknowledgements"; - } - - // UnreceivedPackets returns all the unreceived IBC packets associated with a - // channel and sequences. - rpc UnreceivedPackets(QueryUnreceivedPacketsRequest) returns (QueryUnreceivedPacketsResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/ports/{port_id}/" - "packet_commitments/" - "{packet_commitment_sequences}/unreceived_packets"; - } - - // UnreceivedAcks returns all the unreceived IBC acknowledgements associated - // with a channel and sequences. - rpc UnreceivedAcks(QueryUnreceivedAcksRequest) returns (QueryUnreceivedAcksResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/packet_commitments/" - "{packet_ack_sequences}/unreceived_acks"; - } - - // NextSequenceReceive returns the next receive sequence for a given channel. - rpc NextSequenceReceive(QueryNextSequenceReceiveRequest) returns (QueryNextSequenceReceiveResponse) { - option (google.api.http).get = "/ibc/core/channel/v1/channels/{channel_id}/" - "ports/{port_id}/next_sequence"; - } -} - -// QueryChannelRequest is the request type for the Query/Channel RPC method -message QueryChannelRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; -} - -// QueryChannelResponse is the response type for the Query/Channel RPC method. -// Besides the Channel end, it includes a proof and the height from which the -// proof was retrieved. -message QueryChannelResponse { - // channel associated with the request identifiers - ibc.core.channel.v1.Channel channel = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryChannelsRequest is the request type for the Query/Channels RPC method -message QueryChannelsRequest { - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryChannelsResponse is the response type for the Query/Channels RPC method. -message QueryChannelsResponse { - // list of stored channels of the chain. - repeated ibc.core.channel.v1.IdentifiedChannel channels = 1; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; - // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; -} - -// QueryConnectionChannelsRequest is the request type for the -// Query/QueryConnectionChannels RPC method -message QueryConnectionChannelsRequest { - // connection unique identifier - string connection = 1; - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryConnectionChannelsResponse is the Response type for the -// Query/QueryConnectionChannels RPC method -message QueryConnectionChannelsResponse { - // list of channels associated with a connection. - repeated ibc.core.channel.v1.IdentifiedChannel channels = 1; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; - // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; -} - -// QueryChannelClientStateRequest is the request type for the Query/ClientState -// RPC method -message QueryChannelClientStateRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; -} - -// QueryChannelClientStateResponse is the Response type for the -// Query/QueryChannelClientState RPC method -message QueryChannelClientStateResponse { - // client state associated with the channel - ibc.core.client.v1.IdentifiedClientState identified_client_state = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryChannelConsensusStateRequest is the request type for the -// Query/ConsensusState RPC method -message QueryChannelConsensusStateRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // revision number of the consensus state - uint64 revision_number = 3; - // revision height of the consensus state - uint64 revision_height = 4; -} - -// QueryChannelClientStateResponse is the Response type for the -// Query/QueryChannelClientState RPC method -message QueryChannelConsensusStateResponse { - // consensus state associated with the channel - google.protobuf.Any consensus_state = 1; - // client ID associated with the consensus state - string client_id = 2; - // merkle proof of existence - bytes proof = 3; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; -} - -// QueryPacketCommitmentRequest is the request type for the -// Query/PacketCommitment RPC method -message QueryPacketCommitmentRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // packet sequence - uint64 sequence = 3; -} - -// QueryPacketCommitmentResponse defines the client query response for a packet -// which also includes a proof and the height from which the proof was -// retrieved -message QueryPacketCommitmentResponse { - // packet associated with the request fields - bytes commitment = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryPacketCommitmentsRequest is the request type for the -// Query/QueryPacketCommitments RPC method -message QueryPacketCommitmentsRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 3; -} - -// QueryPacketCommitmentsResponse is the request type for the -// Query/QueryPacketCommitments RPC method -message QueryPacketCommitmentsResponse { - repeated ibc.core.channel.v1.PacketState commitments = 1; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; - // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; -} - -// QueryPacketReceiptRequest is the request type for the -// Query/PacketReceipt RPC method -message QueryPacketReceiptRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // packet sequence - uint64 sequence = 3; -} - -// QueryPacketReceiptResponse defines the client query response for a packet -// receipt which also includes a proof, and the height from which the proof was -// retrieved -message QueryPacketReceiptResponse { - // success flag for if receipt exists - bool received = 2; - // merkle proof of existence - bytes proof = 3; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; -} - -// QueryPacketAcknowledgementRequest is the request type for the -// Query/PacketAcknowledgement RPC method -message QueryPacketAcknowledgementRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // packet sequence - uint64 sequence = 3; -} - -// QueryPacketAcknowledgementResponse defines the client query response for a -// packet which also includes a proof and the height from which the -// proof was retrieved -message QueryPacketAcknowledgementResponse { - // packet associated with the request fields - bytes acknowledgement = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryPacketAcknowledgementsRequest is the request type for the -// Query/QueryPacketCommitments RPC method -message QueryPacketAcknowledgementsRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 3; - // list of packet sequences - repeated uint64 packet_commitment_sequences = 4; -} - -// QueryPacketAcknowledgemetsResponse is the request type for the -// Query/QueryPacketAcknowledgements RPC method -message QueryPacketAcknowledgementsResponse { - repeated ibc.core.channel.v1.PacketState acknowledgements = 1; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; - // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; -} - -// QueryUnreceivedPacketsRequest is the request type for the -// Query/UnreceivedPackets RPC method -message QueryUnreceivedPacketsRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // list of packet sequences - repeated uint64 packet_commitment_sequences = 3; -} - -// QueryUnreceivedPacketsResponse is the response type for the -// Query/UnreceivedPacketCommitments RPC method -message QueryUnreceivedPacketsResponse { - // list of unreceived packet sequences - repeated uint64 sequences = 1; - // query block height - ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; -} - -// QueryUnreceivedAcks is the request type for the -// Query/UnreceivedAcks RPC method -message QueryUnreceivedAcksRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; - // list of acknowledgement sequences - repeated uint64 packet_ack_sequences = 3; -} - -// QueryUnreceivedAcksResponse is the response type for the -// Query/UnreceivedAcks RPC method -message QueryUnreceivedAcksResponse { - // list of unreceived acknowledgement sequences - repeated uint64 sequences = 1; - // query block height - ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; -} - -// QueryNextSequenceReceiveRequest is the request type for the -// Query/QueryNextSequenceReceiveRequest RPC method -message QueryNextSequenceReceiveRequest { - // port unique identifier - string port_id = 1; - // channel unique identifier - string channel_id = 2; -} - -// QuerySequenceResponse is the request type for the -// Query/QueryNextSequenceReceiveResponse RPC method -message QueryNextSequenceReceiveResponse { - // next sequence receive number - uint64 next_sequence_receive = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/ibc/core/channel/v1/tx.proto b/quicksilverjs/proto/ibc/core/channel/v1/tx.proto deleted file mode 100644 index dab45080f..000000000 --- a/quicksilverjs/proto/ibc/core/channel/v1/tx.proto +++ /dev/null @@ -1,211 +0,0 @@ -syntax = "proto3"; - -package ibc.core.channel.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/client/v1/client.proto"; -import "ibc/core/channel/v1/channel.proto"; - -// Msg defines the ibc/channel Msg service. -service Msg { - // ChannelOpenInit defines a rpc handler method for MsgChannelOpenInit. - rpc ChannelOpenInit(MsgChannelOpenInit) returns (MsgChannelOpenInitResponse); - - // ChannelOpenTry defines a rpc handler method for MsgChannelOpenTry. - rpc ChannelOpenTry(MsgChannelOpenTry) returns (MsgChannelOpenTryResponse); - - // ChannelOpenAck defines a rpc handler method for MsgChannelOpenAck. - rpc ChannelOpenAck(MsgChannelOpenAck) returns (MsgChannelOpenAckResponse); - - // ChannelOpenConfirm defines a rpc handler method for MsgChannelOpenConfirm. - rpc ChannelOpenConfirm(MsgChannelOpenConfirm) returns (MsgChannelOpenConfirmResponse); - - // ChannelCloseInit defines a rpc handler method for MsgChannelCloseInit. - rpc ChannelCloseInit(MsgChannelCloseInit) returns (MsgChannelCloseInitResponse); - - // ChannelCloseConfirm defines a rpc handler method for - // MsgChannelCloseConfirm. - rpc ChannelCloseConfirm(MsgChannelCloseConfirm) returns (MsgChannelCloseConfirmResponse); - - // RecvPacket defines a rpc handler method for MsgRecvPacket. - rpc RecvPacket(MsgRecvPacket) returns (MsgRecvPacketResponse); - - // Timeout defines a rpc handler method for MsgTimeout. - rpc Timeout(MsgTimeout) returns (MsgTimeoutResponse); - - // TimeoutOnClose defines a rpc handler method for MsgTimeoutOnClose. - rpc TimeoutOnClose(MsgTimeoutOnClose) returns (MsgTimeoutOnCloseResponse); - - // Acknowledgement defines a rpc handler method for MsgAcknowledgement. - rpc Acknowledgement(MsgAcknowledgement) returns (MsgAcknowledgementResponse); -} - -// MsgChannelOpenInit defines an sdk.Msg to initialize a channel handshake. It -// is called by a relayer on Chain A. -message MsgChannelOpenInit { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - Channel channel = 2 [(gogoproto.nullable) = false]; - string signer = 3; -} - -// MsgChannelOpenInitResponse defines the Msg/ChannelOpenInit response type. -message MsgChannelOpenInitResponse {} - -// MsgChannelOpenInit defines a msg sent by a Relayer to try to open a channel -// on Chain B. -message MsgChannelOpenTry { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - // in the case of crossing hello's, when both chains call OpenInit, we need - // the channel identifier of the previous channel in state INIT - string previous_channel_id = 2 [(gogoproto.moretags) = "yaml:\"previous_channel_id\""]; - Channel channel = 3 [(gogoproto.nullable) = false]; - string counterparty_version = 4 [(gogoproto.moretags) = "yaml:\"counterparty_version\""]; - bytes proof_init = 5 [(gogoproto.moretags) = "yaml:\"proof_init\""]; - ibc.core.client.v1.Height proof_height = 6 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 7; -} - -// MsgChannelOpenTryResponse defines the Msg/ChannelOpenTry response type. -message MsgChannelOpenTryResponse {} - -// MsgChannelOpenAck defines a msg sent by a Relayer to Chain A to acknowledge -// the change of channel state to TRYOPEN on Chain B. -message MsgChannelOpenAck { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - string counterparty_channel_id = 3 [(gogoproto.moretags) = "yaml:\"counterparty_channel_id\""]; - string counterparty_version = 4 [(gogoproto.moretags) = "yaml:\"counterparty_version\""]; - bytes proof_try = 5 [(gogoproto.moretags) = "yaml:\"proof_try\""]; - ibc.core.client.v1.Height proof_height = 6 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 7; -} - -// MsgChannelOpenAckResponse defines the Msg/ChannelOpenAck response type. -message MsgChannelOpenAckResponse {} - -// MsgChannelOpenConfirm defines a msg sent by a Relayer to Chain B to -// acknowledge the change of channel state to OPEN on Chain A. -message MsgChannelOpenConfirm { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - bytes proof_ack = 3 [(gogoproto.moretags) = "yaml:\"proof_ack\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 5; -} - -// MsgChannelOpenConfirmResponse defines the Msg/ChannelOpenConfirm response -// type. -message MsgChannelOpenConfirmResponse {} - -// MsgChannelCloseInit defines a msg sent by a Relayer to Chain A -// to close a channel with Chain B. -message MsgChannelCloseInit { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - string signer = 3; -} - -// MsgChannelCloseInitResponse defines the Msg/ChannelCloseInit response type. -message MsgChannelCloseInitResponse {} - -// MsgChannelCloseConfirm defines a msg sent by a Relayer to Chain B -// to acknowledge the change of channel state to CLOSED on Chain A. -message MsgChannelCloseConfirm { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; - string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; - bytes proof_init = 3 [(gogoproto.moretags) = "yaml:\"proof_init\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 5; -} - -// MsgChannelCloseConfirmResponse defines the Msg/ChannelCloseConfirm response -// type. -message MsgChannelCloseConfirmResponse {} - -// MsgRecvPacket receives incoming IBC packet -message MsgRecvPacket { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes proof_commitment = 2 [(gogoproto.moretags) = "yaml:\"proof_commitment\""]; - ibc.core.client.v1.Height proof_height = 3 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 4; -} - -// MsgRecvPacketResponse defines the Msg/RecvPacket response type. -message MsgRecvPacketResponse {} - -// MsgTimeout receives timed-out packet -message MsgTimeout { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes proof_unreceived = 2 [(gogoproto.moretags) = "yaml:\"proof_unreceived\""]; - ibc.core.client.v1.Height proof_height = 3 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - uint64 next_sequence_recv = 4 [(gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; - string signer = 5; -} - -// MsgTimeoutResponse defines the Msg/Timeout response type. -message MsgTimeoutResponse {} - -// MsgTimeoutOnClose timed-out packet upon counterparty channel closure. -message MsgTimeoutOnClose { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes proof_unreceived = 2 [(gogoproto.moretags) = "yaml:\"proof_unreceived\""]; - bytes proof_close = 3 [(gogoproto.moretags) = "yaml:\"proof_close\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - uint64 next_sequence_recv = 5 [(gogoproto.moretags) = "yaml:\"next_sequence_recv\""]; - string signer = 6; -} - -// MsgTimeoutOnCloseResponse defines the Msg/TimeoutOnClose response type. -message MsgTimeoutOnCloseResponse {} - -// MsgAcknowledgement receives incoming IBC acknowledgement -message MsgAcknowledgement { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - Packet packet = 1 [(gogoproto.nullable) = false]; - bytes acknowledgement = 2; - bytes proof_acked = 3 [(gogoproto.moretags) = "yaml:\"proof_acked\""]; - ibc.core.client.v1.Height proof_height = 4 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 5; -} - -// MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. -message MsgAcknowledgementResponse {} diff --git a/quicksilverjs/proto/ibc/core/client/v1/client.proto b/quicksilverjs/proto/ibc/core/client/v1/client.proto deleted file mode 100644 index f0a1538e9..000000000 --- a/quicksilverjs/proto/ibc/core/client/v1/client.proto +++ /dev/null @@ -1,104 +0,0 @@ -syntax = "proto3"; - -package ibc.core.client.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "cosmos/upgrade/v1beta1/upgrade.proto"; -import "cosmos_proto/cosmos.proto"; - -// IdentifiedClientState defines a client state with an additional client -// identifier field. -message IdentifiedClientState { - // client identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // client state - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; -} - -// ConsensusStateWithHeight defines a consensus state with an additional height -// field. -message ConsensusStateWithHeight { - // consensus state height - Height height = 1 [(gogoproto.nullable) = false]; - // consensus state - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml\"consensus_state\""]; -} - -// ClientConsensusStates defines all the stored consensus states for a given -// client. -message ClientConsensusStates { - // client identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // consensus states and their heights associated with the client - repeated ConsensusStateWithHeight consensus_states = 2 - [(gogoproto.moretags) = "yaml:\"consensus_states\"", (gogoproto.nullable) = false]; -} - -// ClientUpdateProposal is a governance proposal. If it passes, the substitute -// client's latest consensus state is copied over to the subject client. The proposal -// handler may fail if the subject and the substitute do not match in client and -// chain parameters (with exception to latest height, frozen height, and chain-id). -message ClientUpdateProposal { - option (gogoproto.goproto_getters) = false; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // the title of the update proposal - string title = 1; - // the description of the proposal - string description = 2; - // the client identifier for the client to be updated if the proposal passes - string subject_client_id = 3 [(gogoproto.moretags) = "yaml:\"subject_client_id\""]; - // the substitute client identifier for the client standing in for the subject - // client - string substitute_client_id = 4 [(gogoproto.moretags) = "yaml:\"substitute_client_id\""]; -} - -// UpgradeProposal is a gov Content type for initiating an IBC breaking -// upgrade. -message UpgradeProposal { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - option (gogoproto.equal) = true; - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - string title = 1; - string description = 2; - cosmos.upgrade.v1beta1.Plan plan = 3 [(gogoproto.nullable) = false]; - - // An UpgradedClientState must be provided to perform an IBC breaking upgrade. - // This will make the chain commit to the correct upgraded (self) client state - // before the upgrade occurs, so that connecting chains can verify that the - // new upgraded client is valid by verifying a proof on the previous version - // of the chain. This will allow IBC connections to persist smoothly across - // planned chain upgrades - google.protobuf.Any upgraded_client_state = 4 [(gogoproto.moretags) = "yaml:\"upgraded_client_state\""]; -} - -// Height is a monotonically increasing data type -// that can be compared against another Height for the purposes of updating and -// freezing clients -// -// Normally the RevisionHeight is incremented at each height while keeping -// RevisionNumber the same. However some consensus algorithms may choose to -// reset the height in certain conditions e.g. hard forks, state-machine -// breaking changes In these cases, the RevisionNumber is incremented so that -// height continues to be monitonically increasing even as the RevisionHeight -// gets reset -message Height { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - // the revision that the client is currently on - uint64 revision_number = 1 [(gogoproto.moretags) = "yaml:\"revision_number\""]; - // the height within the given revision - uint64 revision_height = 2 [(gogoproto.moretags) = "yaml:\"revision_height\""]; -} - -// Params defines the set of IBC light client parameters. -message Params { - // allowed_clients defines the list of allowed client state types. - repeated string allowed_clients = 1 [(gogoproto.moretags) = "yaml:\"allowed_clients\""]; -} diff --git a/quicksilverjs/proto/ibc/core/client/v1/genesis.proto b/quicksilverjs/proto/ibc/core/client/v1/genesis.proto deleted file mode 100644 index 6668f2cad..000000000 --- a/quicksilverjs/proto/ibc/core/client/v1/genesis.proto +++ /dev/null @@ -1,48 +0,0 @@ -syntax = "proto3"; - -package ibc.core.client.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; - -import "ibc/core/client/v1/client.proto"; -import "gogoproto/gogo.proto"; - -// GenesisState defines the ibc client submodule's genesis state. -message GenesisState { - // client states with their corresponding identifiers - repeated IdentifiedClientState clients = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "IdentifiedClientStates"]; - // consensus states from each client - repeated ClientConsensusStates clients_consensus = 2 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "ClientsConsensusStates", - (gogoproto.moretags) = "yaml:\"clients_consensus\"" - ]; - // metadata from each client - repeated IdentifiedGenesisMetadata clients_metadata = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"clients_metadata\""]; - Params params = 4 [(gogoproto.nullable) = false]; - // create localhost on initialization - bool create_localhost = 5 [(gogoproto.moretags) = "yaml:\"create_localhost\""]; - // the sequence for the next generated client identifier - uint64 next_client_sequence = 6 [(gogoproto.moretags) = "yaml:\"next_client_sequence\""]; -} - -// GenesisMetadata defines the genesis type for metadata that clients may return -// with ExportMetadata -message GenesisMetadata { - option (gogoproto.goproto_getters) = false; - - // store key of metadata without clientID-prefix - bytes key = 1; - // metadata value - bytes value = 2; -} - -// IdentifiedGenesisMetadata has the client metadata with the corresponding -// client id. -message IdentifiedGenesisMetadata { - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - repeated GenesisMetadata client_metadata = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_metadata\""]; -} diff --git a/quicksilverjs/proto/ibc/core/client/v1/query.proto b/quicksilverjs/proto/ibc/core/client/v1/query.proto deleted file mode 100644 index b6f8eb474..000000000 --- a/quicksilverjs/proto/ibc/core/client/v1/query.proto +++ /dev/null @@ -1,184 +0,0 @@ -syntax = "proto3"; - -package ibc.core.client.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; - -import "cosmos/base/query/v1beta1/pagination.proto"; -import "ibc/core/client/v1/client.proto"; -import "google/protobuf/any.proto"; -import "google/api/annotations.proto"; -import "gogoproto/gogo.proto"; - -// Query provides defines the gRPC querier service -service Query { - // ClientState queries an IBC light client. - rpc ClientState(QueryClientStateRequest) returns (QueryClientStateResponse) { - option (google.api.http).get = "/ibc/core/client/v1/client_states/{client_id}"; - } - - // ClientStates queries all the IBC light clients of a chain. - rpc ClientStates(QueryClientStatesRequest) returns (QueryClientStatesResponse) { - option (google.api.http).get = "/ibc/core/client/v1/client_states"; - } - - // ConsensusState queries a consensus state associated with a client state at - // a given height. - rpc ConsensusState(QueryConsensusStateRequest) returns (QueryConsensusStateResponse) { - option (google.api.http).get = "/ibc/core/client/v1/consensus_states/" - "{client_id}/revision/{revision_number}/" - "height/{revision_height}"; - } - - // ConsensusStates queries all the consensus state associated with a given - // client. - rpc ConsensusStates(QueryConsensusStatesRequest) returns (QueryConsensusStatesResponse) { - option (google.api.http).get = "/ibc/core/client/v1/consensus_states/{client_id}"; - } - - // Status queries the status of an IBC client. - rpc ClientStatus(QueryClientStatusRequest) returns (QueryClientStatusResponse) { - option (google.api.http).get = "/ibc/core/client/v1/client_status/{client_id}"; - } - - // ClientParams queries all parameters of the ibc client. - rpc ClientParams(QueryClientParamsRequest) returns (QueryClientParamsResponse) { - option (google.api.http).get = "/ibc/client/v1/params"; - } - - // UpgradedClientState queries an Upgraded IBC light client. - rpc UpgradedClientState(QueryUpgradedClientStateRequest) returns (QueryUpgradedClientStateResponse) { - option (google.api.http).get = "/ibc/core/client/v1/upgraded_client_states"; - } - - // UpgradedConsensusState queries an Upgraded IBC consensus state. - rpc UpgradedConsensusState(QueryUpgradedConsensusStateRequest) returns (QueryUpgradedConsensusStateResponse) { - option (google.api.http).get = "/ibc/core/client/v1/upgraded_consensus_states"; - } -} - -// QueryClientStateRequest is the request type for the Query/ClientState RPC -// method -message QueryClientStateRequest { - // client state unique identifier - string client_id = 1; -} - -// QueryClientStateResponse is the response type for the Query/ClientState RPC -// method. Besides the client state, it includes a proof and the height from -// which the proof was retrieved. -message QueryClientStateResponse { - // client state associated with the request identifier - google.protobuf.Any client_state = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryClientStatesRequest is the request type for the Query/ClientStates RPC -// method -message QueryClientStatesRequest { - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryClientStatesResponse is the response type for the Query/ClientStates RPC -// method. -message QueryClientStatesResponse { - // list of stored ClientStates of the chain. - repeated IdentifiedClientState client_states = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "IdentifiedClientStates"]; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryConsensusStateRequest is the request type for the Query/ConsensusState -// RPC method. Besides the consensus state, it includes a proof and the height -// from which the proof was retrieved. -message QueryConsensusStateRequest { - // client identifier - string client_id = 1; - // consensus state revision number - uint64 revision_number = 2; - // consensus state revision height - uint64 revision_height = 3; - // latest_height overrrides the height field and queries the latest stored - // ConsensusState - bool latest_height = 4; -} - -// QueryConsensusStateResponse is the response type for the Query/ConsensusState -// RPC method -message QueryConsensusStateResponse { - // consensus state associated with the client identifier at the given height - google.protobuf.Any consensus_state = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryConsensusStatesRequest is the request type for the Query/ConsensusStates -// RPC method. -message QueryConsensusStatesRequest { - // client identifier - string client_id = 1; - // pagination request - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryConsensusStatesResponse is the response type for the -// Query/ConsensusStates RPC method -message QueryConsensusStatesResponse { - // consensus states associated with the identifier - repeated ConsensusStateWithHeight consensus_states = 1 [(gogoproto.nullable) = false]; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryClientStatusRequest is the request type for the Query/ClientStatus RPC -// method -message QueryClientStatusRequest { - // client unique identifier - string client_id = 1; -} - -// QueryClientStatusResponse is the response type for the Query/ClientStatus RPC -// method. It returns the current status of the IBC client. -message QueryClientStatusResponse { - string status = 1; -} - -// QueryClientParamsRequest is the request type for the Query/ClientParams RPC -// method. -message QueryClientParamsRequest {} - -// QueryClientParamsResponse is the response type for the Query/ClientParams RPC -// method. -message QueryClientParamsResponse { - // params defines the parameters of the module. - Params params = 1; -} - -// QueryUpgradedClientStateRequest is the request type for the -// Query/UpgradedClientState RPC method -message QueryUpgradedClientStateRequest {} - -// QueryUpgradedClientStateResponse is the response type for the -// Query/UpgradedClientState RPC method. -message QueryUpgradedClientStateResponse { - // client state associated with the request identifier - google.protobuf.Any upgraded_client_state = 1; -} - -// QueryUpgradedConsensusStateRequest is the request type for the -// Query/UpgradedConsensusState RPC method -message QueryUpgradedConsensusStateRequest {} - -// QueryUpgradedConsensusStateResponse is the response type for the -// Query/UpgradedConsensusState RPC method. -message QueryUpgradedConsensusStateResponse { - // Consensus state associated with the request identifier - google.protobuf.Any upgraded_consensus_state = 1; -} diff --git a/quicksilverjs/proto/ibc/core/client/v1/tx.proto b/quicksilverjs/proto/ibc/core/client/v1/tx.proto deleted file mode 100644 index 82df96dec..000000000 --- a/quicksilverjs/proto/ibc/core/client/v1/tx.proto +++ /dev/null @@ -1,99 +0,0 @@ -syntax = "proto3"; - -package ibc.core.client.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -// Msg defines the ibc/client Msg service. -service Msg { - // CreateClient defines a rpc handler method for MsgCreateClient. - rpc CreateClient(MsgCreateClient) returns (MsgCreateClientResponse); - - // UpdateClient defines a rpc handler method for MsgUpdateClient. - rpc UpdateClient(MsgUpdateClient) returns (MsgUpdateClientResponse); - - // UpgradeClient defines a rpc handler method for MsgUpgradeClient. - rpc UpgradeClient(MsgUpgradeClient) returns (MsgUpgradeClientResponse); - - // SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. - rpc SubmitMisbehaviour(MsgSubmitMisbehaviour) returns (MsgSubmitMisbehaviourResponse); -} - -// MsgCreateClient defines a message to create an IBC client -message MsgCreateClient { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // light client state - google.protobuf.Any client_state = 1 [(gogoproto.moretags) = "yaml:\"client_state\""]; - // consensus state associated with the client that corresponds to a given - // height. - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; - // signer address - string signer = 3; -} - -// MsgCreateClientResponse defines the Msg/CreateClient response type. -message MsgCreateClientResponse {} - -// MsgUpdateClient defines an sdk.Msg to update a IBC client state using -// the given header. -message MsgUpdateClient { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // client unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // header to update the light client - google.protobuf.Any header = 2; - // signer address - string signer = 3; -} - -// MsgUpdateClientResponse defines the Msg/UpdateClient response type. -message MsgUpdateClientResponse {} - -// MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client -// state -message MsgUpgradeClient { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // client unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // upgraded client state - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; - // upgraded consensus state, only contains enough information to serve as a - // basis of trust in update logic - google.protobuf.Any consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; - // proof that old chain committed to new client - bytes proof_upgrade_client = 4 [(gogoproto.moretags) = "yaml:\"proof_upgrade_client\""]; - // proof that old chain committed to new consensus state - bytes proof_upgrade_consensus_state = 5 [(gogoproto.moretags) = "yaml:\"proof_upgrade_consensus_state\""]; - // signer address - string signer = 6; -} - -// MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. -message MsgUpgradeClientResponse {} - -// MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for -// light client misbehaviour. -message MsgSubmitMisbehaviour { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - // client unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // misbehaviour used for freezing the light client - google.protobuf.Any misbehaviour = 2; - // signer address - string signer = 3; -} - -// MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response -// type. -message MsgSubmitMisbehaviourResponse {} diff --git a/quicksilverjs/proto/ibc/core/commitment/v1/commitment.proto b/quicksilverjs/proto/ibc/core/commitment/v1/commitment.proto deleted file mode 100644 index b460b9a1e..000000000 --- a/quicksilverjs/proto/ibc/core/commitment/v1/commitment.proto +++ /dev/null @@ -1,41 +0,0 @@ -syntax = "proto3"; - -package ibc.core.commitment.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/23-commitment/types"; - -import "gogoproto/gogo.proto"; -import "confio/proofs.proto"; - -// MerkleRoot defines a merkle root hash. -// In the Cosmos SDK, the AppHash of a block header becomes the root. -message MerkleRoot { - option (gogoproto.goproto_getters) = false; - - bytes hash = 1; -} - -// MerklePrefix is merkle path prefixed to the key. -// The constructed key from the Path and the key will be append(Path.KeyPath, -// append(Path.KeyPrefix, key...)) -message MerklePrefix { - bytes key_prefix = 1 [(gogoproto.moretags) = "yaml:\"key_prefix\""]; -} - -// MerklePath is the path used to verify commitment proofs, which can be an -// arbitrary structured object (defined by a commitment type). -// MerklePath is represented from root-to-leaf -message MerklePath { - option (gogoproto.goproto_stringer) = false; - - repeated string key_path = 1 [(gogoproto.moretags) = "yaml:\"key_path\""]; -} - -// MerkleProof is a wrapper type over a chain of CommitmentProofs. -// It demonstrates membership or non-membership for an element or set of -// elements, verifiable in conjunction with a known commitment root. Proofs -// should be succinct. -// MerkleProofs are ordered from leaf-to-root -message MerkleProof { - repeated ics23.CommitmentProof proofs = 1; -} diff --git a/quicksilverjs/proto/ibc/core/connection/v1/connection.proto b/quicksilverjs/proto/ibc/core/connection/v1/connection.proto deleted file mode 100644 index 74c39e26e..000000000 --- a/quicksilverjs/proto/ibc/core/connection/v1/connection.proto +++ /dev/null @@ -1,114 +0,0 @@ -syntax = "proto3"; - -package ibc.core.connection.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/commitment/v1/commitment.proto"; - -// ICS03 - Connection Data Structures as defined in -// https://github.com/cosmos/ibc/blob/master/spec/core/ics-003-connection-semantics#data-structures - -// ConnectionEnd defines a stateful object on a chain connected to another -// separate one. -// NOTE: there must only be 2 defined ConnectionEnds to establish -// a connection between two chains. -message ConnectionEnd { - option (gogoproto.goproto_getters) = false; - // client associated with this connection. - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // IBC version which can be utilised to determine encodings or protocols for - // channels or packets utilising this connection. - repeated Version versions = 2; - // current state of the connection end. - State state = 3; - // counterparty chain associated with this connection. - Counterparty counterparty = 4 [(gogoproto.nullable) = false]; - // delay period that must pass before a consensus state can be used for - // packet-verification NOTE: delay period logic is only implemented by some - // clients. - uint64 delay_period = 5 [(gogoproto.moretags) = "yaml:\"delay_period\""]; -} - -// IdentifiedConnection defines a connection with additional connection -// identifier field. -message IdentifiedConnection { - option (gogoproto.goproto_getters) = false; - // connection identifier. - string id = 1 [(gogoproto.moretags) = "yaml:\"id\""]; - // client associated with this connection. - string client_id = 2 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // IBC version which can be utilised to determine encodings or protocols for - // channels or packets utilising this connection - repeated Version versions = 3; - // current state of the connection end. - State state = 4; - // counterparty chain associated with this connection. - Counterparty counterparty = 5 [(gogoproto.nullable) = false]; - // delay period associated with this connection. - uint64 delay_period = 6 [(gogoproto.moretags) = "yaml:\"delay_period\""]; -} - -// State defines if a connection is in one of the following states: -// INIT, TRYOPEN, OPEN or UNINITIALIZED. -enum State { - option (gogoproto.goproto_enum_prefix) = false; - - // Default State - STATE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNINITIALIZED"]; - // A connection end has just started the opening handshake. - STATE_INIT = 1 [(gogoproto.enumvalue_customname) = "INIT"]; - // A connection end has acknowledged the handshake step on the counterparty - // chain. - STATE_TRYOPEN = 2 [(gogoproto.enumvalue_customname) = "TRYOPEN"]; - // A connection end has completed the handshake. - STATE_OPEN = 3 [(gogoproto.enumvalue_customname) = "OPEN"]; -} - -// Counterparty defines the counterparty chain associated with a connection end. -message Counterparty { - option (gogoproto.goproto_getters) = false; - - // identifies the client on the counterparty chain associated with a given - // connection. - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // identifies the connection end on the counterparty chain associated with a - // given connection. - string connection_id = 2 [(gogoproto.moretags) = "yaml:\"connection_id\""]; - // commitment merkle prefix of the counterparty chain. - ibc.core.commitment.v1.MerklePrefix prefix = 3 [(gogoproto.nullable) = false]; -} - -// ClientPaths define all the connection paths for a client state. -message ClientPaths { - // list of connection paths - repeated string paths = 1; -} - -// ConnectionPaths define all the connection paths for a given client state. -message ConnectionPaths { - // client state unique identifier - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // list of connection paths - repeated string paths = 2; -} - -// Version defines the versioning scheme used to negotiate the IBC verison in -// the connection handshake. -message Version { - option (gogoproto.goproto_getters) = false; - - // unique version identifier - string identifier = 1; - // list of features compatible with the specified identifier - repeated string features = 2; -} - -// Params defines the set of Connection parameters. -message Params { - // maximum expected time per block (in nanoseconds), used to enforce block delay. This parameter should reflect the - // largest amount of time that the chain might reasonably take to produce the next block under normal operating - // conditions. A safe choice is 3-5x the expected time per block. - uint64 max_expected_time_per_block = 1 [(gogoproto.moretags) = "yaml:\"max_expected_time_per_block\""]; -} diff --git a/quicksilverjs/proto/ibc/core/connection/v1/genesis.proto b/quicksilverjs/proto/ibc/core/connection/v1/genesis.proto deleted file mode 100644 index ec5be6428..000000000 --- a/quicksilverjs/proto/ibc/core/connection/v1/genesis.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; - -package ibc.core.connection.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/connection/v1/connection.proto"; - -// GenesisState defines the ibc connection submodule's genesis state. -message GenesisState { - repeated IdentifiedConnection connections = 1 [(gogoproto.nullable) = false]; - repeated ConnectionPaths client_connection_paths = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_connection_paths\""]; - // the sequence for the next generated connection identifier - uint64 next_connection_sequence = 3 [(gogoproto.moretags) = "yaml:\"next_connection_sequence\""]; - Params params = 4 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/ibc/core/connection/v1/query.proto b/quicksilverjs/proto/ibc/core/connection/v1/query.proto deleted file mode 100644 index d668c3d28..000000000 --- a/quicksilverjs/proto/ibc/core/connection/v1/query.proto +++ /dev/null @@ -1,138 +0,0 @@ -syntax = "proto3"; - -package ibc.core.connection.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; - -import "gogoproto/gogo.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "ibc/core/client/v1/client.proto"; -import "ibc/core/connection/v1/connection.proto"; -import "google/api/annotations.proto"; -import "google/protobuf/any.proto"; - -// Query provides defines the gRPC querier service -service Query { - // Connection queries an IBC connection end. - rpc Connection(QueryConnectionRequest) returns (QueryConnectionResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}"; - } - - // Connections queries all the IBC connections of a chain. - rpc Connections(QueryConnectionsRequest) returns (QueryConnectionsResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/connections"; - } - - // ClientConnections queries the connection paths associated with a client - // state. - rpc ClientConnections(QueryClientConnectionsRequest) returns (QueryClientConnectionsResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/client_connections/{client_id}"; - } - - // ConnectionClientState queries the client state associated with the - // connection. - rpc ConnectionClientState(QueryConnectionClientStateRequest) returns (QueryConnectionClientStateResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}/client_state"; - } - - // ConnectionConsensusState queries the consensus state associated with the - // connection. - rpc ConnectionConsensusState(QueryConnectionConsensusStateRequest) returns (QueryConnectionConsensusStateResponse) { - option (google.api.http).get = "/ibc/core/connection/v1/connections/{connection_id}/consensus_state/" - "revision/{revision_number}/height/{revision_height}"; - } -} - -// QueryConnectionRequest is the request type for the Query/Connection RPC -// method -message QueryConnectionRequest { - // connection unique identifier - string connection_id = 1; -} - -// QueryConnectionResponse is the response type for the Query/Connection RPC -// method. Besides the connection end, it includes a proof and the height from -// which the proof was retrieved. -message QueryConnectionResponse { - // connection associated with the request identifier - ibc.core.connection.v1.ConnectionEnd connection = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryConnectionsRequest is the request type for the Query/Connections RPC -// method -message QueryConnectionsRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -// QueryConnectionsResponse is the response type for the Query/Connections RPC -// method. -message QueryConnectionsResponse { - // list of stored connections of the chain. - repeated ibc.core.connection.v1.IdentifiedConnection connections = 1; - // pagination response - cosmos.base.query.v1beta1.PageResponse pagination = 2; - // query block height - ibc.core.client.v1.Height height = 3 [(gogoproto.nullable) = false]; -} - -// QueryClientConnectionsRequest is the request type for the -// Query/ClientConnections RPC method -message QueryClientConnectionsRequest { - // client identifier associated with a connection - string client_id = 1; -} - -// QueryClientConnectionsResponse is the response type for the -// Query/ClientConnections RPC method -message QueryClientConnectionsResponse { - // slice of all the connection paths associated with a client. - repeated string connection_paths = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was generated - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryConnectionClientStateRequest is the request type for the -// Query/ConnectionClientState RPC method -message QueryConnectionClientStateRequest { - // connection identifier - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; -} - -// QueryConnectionClientStateResponse is the response type for the -// Query/ConnectionClientState RPC method -message QueryConnectionClientStateResponse { - // client state associated with the channel - ibc.core.client.v1.IdentifiedClientState identified_client_state = 1; - // merkle proof of existence - bytes proof = 2; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 3 [(gogoproto.nullable) = false]; -} - -// QueryConnectionConsensusStateRequest is the request type for the -// Query/ConnectionConsensusState RPC method -message QueryConnectionConsensusStateRequest { - // connection identifier - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; - uint64 revision_number = 2; - uint64 revision_height = 3; -} - -// QueryConnectionConsensusStateResponse is the response type for the -// Query/ConnectionConsensusState RPC method -message QueryConnectionConsensusStateResponse { - // consensus state associated with the channel - google.protobuf.Any consensus_state = 1; - // client ID associated with the consensus state - string client_id = 2; - // merkle proof of existence - bytes proof = 3; - // height at which the proof was retrieved - ibc.core.client.v1.Height proof_height = 4 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/ibc/core/connection/v1/tx.proto b/quicksilverjs/proto/ibc/core/connection/v1/tx.proto deleted file mode 100644 index 9d4e577e2..000000000 --- a/quicksilverjs/proto/ibc/core/connection/v1/tx.proto +++ /dev/null @@ -1,119 +0,0 @@ -syntax = "proto3"; - -package ibc.core.connection.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/03-connection/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "ibc/core/client/v1/client.proto"; -import "ibc/core/connection/v1/connection.proto"; - -// Msg defines the ibc/connection Msg service. -service Msg { - // ConnectionOpenInit defines a rpc handler method for MsgConnectionOpenInit. - rpc ConnectionOpenInit(MsgConnectionOpenInit) returns (MsgConnectionOpenInitResponse); - - // ConnectionOpenTry defines a rpc handler method for MsgConnectionOpenTry. - rpc ConnectionOpenTry(MsgConnectionOpenTry) returns (MsgConnectionOpenTryResponse); - - // ConnectionOpenAck defines a rpc handler method for MsgConnectionOpenAck. - rpc ConnectionOpenAck(MsgConnectionOpenAck) returns (MsgConnectionOpenAckResponse); - - // ConnectionOpenConfirm defines a rpc handler method for - // MsgConnectionOpenConfirm. - rpc ConnectionOpenConfirm(MsgConnectionOpenConfirm) returns (MsgConnectionOpenConfirmResponse); -} - -// MsgConnectionOpenInit defines the msg sent by an account on Chain A to -// initialize a connection with Chain B. -message MsgConnectionOpenInit { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - Counterparty counterparty = 2 [(gogoproto.nullable) = false]; - Version version = 3; - uint64 delay_period = 4 [(gogoproto.moretags) = "yaml:\"delay_period\""]; - string signer = 5; -} - -// MsgConnectionOpenInitResponse defines the Msg/ConnectionOpenInit response -// type. -message MsgConnectionOpenInitResponse {} - -// MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a -// connection on Chain B. -message MsgConnectionOpenTry { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - // in the case of crossing hello's, when both chains call OpenInit, we need - // the connection identifier of the previous connection in state INIT - string previous_connection_id = 2 [(gogoproto.moretags) = "yaml:\"previous_connection_id\""]; - google.protobuf.Any client_state = 3 [(gogoproto.moretags) = "yaml:\"client_state\""]; - Counterparty counterparty = 4 [(gogoproto.nullable) = false]; - uint64 delay_period = 5 [(gogoproto.moretags) = "yaml:\"delay_period\""]; - repeated Version counterparty_versions = 6 [(gogoproto.moretags) = "yaml:\"counterparty_versions\""]; - ibc.core.client.v1.Height proof_height = 7 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - // proof of the initialization the connection on Chain A: `UNITIALIZED -> - // INIT` - bytes proof_init = 8 [(gogoproto.moretags) = "yaml:\"proof_init\""]; - // proof of client state included in message - bytes proof_client = 9 [(gogoproto.moretags) = "yaml:\"proof_client\""]; - // proof of client consensus state - bytes proof_consensus = 10 [(gogoproto.moretags) = "yaml:\"proof_consensus\""]; - ibc.core.client.v1.Height consensus_height = 11 - [(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false]; - string signer = 12; -} - -// MsgConnectionOpenTryResponse defines the Msg/ConnectionOpenTry response type. -message MsgConnectionOpenTryResponse {} - -// MsgConnectionOpenAck defines a msg sent by a Relayer to Chain A to -// acknowledge the change of connection state to TRYOPEN on Chain B. -message MsgConnectionOpenAck { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; - string counterparty_connection_id = 2 [(gogoproto.moretags) = "yaml:\"counterparty_connection_id\""]; - Version version = 3; - google.protobuf.Any client_state = 4 [(gogoproto.moretags) = "yaml:\"client_state\""]; - ibc.core.client.v1.Height proof_height = 5 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - // proof of the initialization the connection on Chain B: `UNITIALIZED -> - // TRYOPEN` - bytes proof_try = 6 [(gogoproto.moretags) = "yaml:\"proof_try\""]; - // proof of client state included in message - bytes proof_client = 7 [(gogoproto.moretags) = "yaml:\"proof_client\""]; - // proof of client consensus state - bytes proof_consensus = 8 [(gogoproto.moretags) = "yaml:\"proof_consensus\""]; - ibc.core.client.v1.Height consensus_height = 9 - [(gogoproto.moretags) = "yaml:\"consensus_height\"", (gogoproto.nullable) = false]; - string signer = 10; -} - -// MsgConnectionOpenAckResponse defines the Msg/ConnectionOpenAck response type. -message MsgConnectionOpenAckResponse {} - -// MsgConnectionOpenConfirm defines a msg sent by a Relayer to Chain B to -// acknowledge the change of connection state to OPEN on Chain A. -message MsgConnectionOpenConfirm { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string connection_id = 1 [(gogoproto.moretags) = "yaml:\"connection_id\""]; - // proof for the change of the connection state on Chain A: `INIT -> OPEN` - bytes proof_ack = 2 [(gogoproto.moretags) = "yaml:\"proof_ack\""]; - ibc.core.client.v1.Height proof_height = 3 - [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; - string signer = 4; -} - -// MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm -// response type. -message MsgConnectionOpenConfirmResponse {} diff --git a/quicksilverjs/proto/ibc/core/port/v1/query.proto b/quicksilverjs/proto/ibc/core/port/v1/query.proto deleted file mode 100644 index 3c7fb7cb9..000000000 --- a/quicksilverjs/proto/ibc/core/port/v1/query.proto +++ /dev/null @@ -1,35 +0,0 @@ -syntax = "proto3"; - -package ibc.core.port.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/05-port/types"; - -import "ibc/core/channel/v1/channel.proto"; - -// Query defines the gRPC querier service -service Query { - // AppVersion queries an IBC Port and determines the appropriate application version to be used - rpc AppVersion(QueryAppVersionRequest) returns (QueryAppVersionResponse) {} -} - -// QueryAppVersionRequest is the request type for the Query/AppVersion RPC method -message QueryAppVersionRequest { - // port unique identifier - string port_id = 1; - // connection unique identifier - string connection_id = 2; - // whether the channel is ordered or unordered - ibc.core.channel.v1.Order ordering = 3; - // counterparty channel end - ibc.core.channel.v1.Counterparty counterparty = 4; - // proposed version - string proposed_version = 5; -} - -// QueryAppVersionResponse is the response type for the Query/AppVersion RPC method. -message QueryAppVersionResponse { - // port id associated with the request identifiers - string port_id = 1; - // supported app version - string version = 2; -} diff --git a/quicksilverjs/proto/ibc/core/types/v1/genesis.proto b/quicksilverjs/proto/ibc/core/types/v1/genesis.proto deleted file mode 100644 index e39f6cdbb..000000000 --- a/quicksilverjs/proto/ibc/core/types/v1/genesis.proto +++ /dev/null @@ -1,23 +0,0 @@ -syntax = "proto3"; - -package ibc.core.types.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/client/v1/genesis.proto"; -import "ibc/core/connection/v1/genesis.proto"; -import "ibc/core/channel/v1/genesis.proto"; - -// GenesisState defines the ibc module's genesis state. -message GenesisState { - // ICS002 - Clients genesis state - ibc.core.client.v1.GenesisState client_genesis = 1 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"client_genesis\""]; - // ICS003 - Connections genesis state - ibc.core.connection.v1.GenesisState connection_genesis = 2 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"connection_genesis\""]; - // ICS004 - Channel genesis state - ibc.core.channel.v1.GenesisState channel_genesis = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"channel_genesis\""]; -} diff --git a/quicksilverjs/proto/ibc/lightclients/localhost/v1/localhost.proto b/quicksilverjs/proto/ibc/lightclients/localhost/v1/localhost.proto deleted file mode 100644 index 4fe05b785..000000000 --- a/quicksilverjs/proto/ibc/lightclients/localhost/v1/localhost.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; - -package ibc.lightclients.localhost.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/09-localhost/types"; - -import "gogoproto/gogo.proto"; -import "ibc/core/client/v1/client.proto"; - -// ClientState defines a loopback (localhost) client. It requires (read-only) -// access to keys outside the client prefix. -message ClientState { - option (gogoproto.goproto_getters) = false; - // self chain ID - string chain_id = 1 [(gogoproto.moretags) = "yaml:\"chain_id\""]; - // self latest block height - ibc.core.client.v1.Height height = 2 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/ibc/lightclients/solomachine/v1/solomachine.proto b/quicksilverjs/proto/ibc/lightclients/solomachine/v1/solomachine.proto deleted file mode 100644 index b9b8a3a2a..000000000 --- a/quicksilverjs/proto/ibc/lightclients/solomachine/v1/solomachine.proto +++ /dev/null @@ -1,189 +0,0 @@ -syntax = "proto3"; - -package ibc.lightclients.solomachine.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/core/02-client/legacy/v100"; - -import "ibc/core/connection/v1/connection.proto"; -import "ibc/core/channel/v1/channel.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -// ClientState defines a solo machine client that tracks the current consensus -// state and if the client is frozen. -message ClientState { - option (gogoproto.goproto_getters) = false; - // latest sequence of the client state - uint64 sequence = 1; - // frozen sequence of the solo machine - uint64 frozen_sequence = 2 [(gogoproto.moretags) = "yaml:\"frozen_sequence\""]; - ConsensusState consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; - // when set to true, will allow governance to update a solo machine client. - // The client will be unfrozen if it is frozen. - bool allow_update_after_proposal = 4 [(gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; -} - -// ConsensusState defines a solo machine consensus state. The sequence of a -// consensus state is contained in the "height" key used in storing the -// consensus state. -message ConsensusState { - option (gogoproto.goproto_getters) = false; - // public key of the solo machine - google.protobuf.Any public_key = 1 [(gogoproto.moretags) = "yaml:\"public_key\""]; - // diversifier allows the same public key to be re-used across different solo - // machine clients (potentially on different chains) without being considered - // misbehaviour. - string diversifier = 2; - uint64 timestamp = 3; -} - -// Header defines a solo machine consensus header -message Header { - option (gogoproto.goproto_getters) = false; - // sequence to update solo machine public key at - uint64 sequence = 1; - uint64 timestamp = 2; - bytes signature = 3; - google.protobuf.Any new_public_key = 4 [(gogoproto.moretags) = "yaml:\"new_public_key\""]; - string new_diversifier = 5 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; -} - -// Misbehaviour defines misbehaviour for a solo machine which consists -// of a sequence and two signatures over different messages at that sequence. -message Misbehaviour { - option (gogoproto.goproto_getters) = false; - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - uint64 sequence = 2; - SignatureAndData signature_one = 3 [(gogoproto.moretags) = "yaml:\"signature_one\""]; - SignatureAndData signature_two = 4 [(gogoproto.moretags) = "yaml:\"signature_two\""]; -} - -// SignatureAndData contains a signature and the data signed over to create that -// signature. -message SignatureAndData { - option (gogoproto.goproto_getters) = false; - bytes signature = 1; - DataType data_type = 2 [(gogoproto.moretags) = "yaml:\"data_type\""]; - bytes data = 3; - uint64 timestamp = 4; -} - -// TimestampedSignatureData contains the signature data and the timestamp of the -// signature. -message TimestampedSignatureData { - option (gogoproto.goproto_getters) = false; - bytes signature_data = 1 [(gogoproto.moretags) = "yaml:\"signature_data\""]; - uint64 timestamp = 2; -} - -// SignBytes defines the signed bytes used for signature verification. -message SignBytes { - option (gogoproto.goproto_getters) = false; - - uint64 sequence = 1; - uint64 timestamp = 2; - string diversifier = 3; - // type of the data used - DataType data_type = 4 [(gogoproto.moretags) = "yaml:\"data_type\""]; - // marshaled data - bytes data = 5; -} - -// DataType defines the type of solo machine proof being created. This is done -// to preserve uniqueness of different data sign byte encodings. -enum DataType { - option (gogoproto.goproto_enum_prefix) = false; - - // Default State - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; - // Data type for client state verification - DATA_TYPE_CLIENT_STATE = 1 [(gogoproto.enumvalue_customname) = "CLIENT"]; - // Data type for consensus state verification - DATA_TYPE_CONSENSUS_STATE = 2 [(gogoproto.enumvalue_customname) = "CONSENSUS"]; - // Data type for connection state verification - DATA_TYPE_CONNECTION_STATE = 3 [(gogoproto.enumvalue_customname) = "CONNECTION"]; - // Data type for channel state verification - DATA_TYPE_CHANNEL_STATE = 4 [(gogoproto.enumvalue_customname) = "CHANNEL"]; - // Data type for packet commitment verification - DATA_TYPE_PACKET_COMMITMENT = 5 [(gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; - // Data type for packet acknowledgement verification - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; - // Data type for packet receipt absence verification - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; - // Data type for next sequence recv verification - DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; - // Data type for header verification - DATA_TYPE_HEADER = 9 [(gogoproto.enumvalue_customname) = "HEADER"]; -} - -// HeaderData returns the SignBytes data for update verification. -message HeaderData { - option (gogoproto.goproto_getters) = false; - - // header public key - google.protobuf.Any new_pub_key = 1 [(gogoproto.moretags) = "yaml:\"new_pub_key\""]; - // header diversifier - string new_diversifier = 2 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; -} - -// ClientStateData returns the SignBytes data for client state verification. -message ClientStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; -} - -// ConsensusStateData returns the SignBytes data for consensus state -// verification. -message ConsensusStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; -} - -// ConnectionStateData returns the SignBytes data for connection state -// verification. -message ConnectionStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - ibc.core.connection.v1.ConnectionEnd connection = 2; -} - -// ChannelStateData returns the SignBytes data for channel state -// verification. -message ChannelStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - ibc.core.channel.v1.Channel channel = 2; -} - -// PacketCommitmentData returns the SignBytes data for packet commitment -// verification. -message PacketCommitmentData { - bytes path = 1; - bytes commitment = 2; -} - -// PacketAcknowledgementData returns the SignBytes data for acknowledgement -// verification. -message PacketAcknowledgementData { - bytes path = 1; - bytes acknowledgement = 2; -} - -// PacketReceiptAbsenceData returns the SignBytes data for -// packet receipt absence verification. -message PacketReceiptAbsenceData { - bytes path = 1; -} - -// NextSequenceRecvData returns the SignBytes data for verification of the next -// sequence to be received. -message NextSequenceRecvData { - bytes path = 1; - uint64 next_seq_recv = 2 [(gogoproto.moretags) = "yaml:\"next_seq_recv\""]; -} diff --git a/quicksilverjs/proto/ibc/lightclients/solomachine/v2/solomachine.proto b/quicksilverjs/proto/ibc/lightclients/solomachine/v2/solomachine.proto deleted file mode 100644 index 0c8c638c1..000000000 --- a/quicksilverjs/proto/ibc/lightclients/solomachine/v2/solomachine.proto +++ /dev/null @@ -1,189 +0,0 @@ -syntax = "proto3"; - -package ibc.lightclients.solomachine.v2; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/06-solomachine/types"; - -import "ibc/core/connection/v1/connection.proto"; -import "ibc/core/channel/v1/channel.proto"; -import "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; - -// ClientState defines a solo machine client that tracks the current consensus -// state and if the client is frozen. -message ClientState { - option (gogoproto.goproto_getters) = false; - // latest sequence of the client state - uint64 sequence = 1; - // frozen sequence of the solo machine - bool is_frozen = 2 [(gogoproto.moretags) = "yaml:\"is_frozen\""]; - ConsensusState consensus_state = 3 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; - // when set to true, will allow governance to update a solo machine client. - // The client will be unfrozen if it is frozen. - bool allow_update_after_proposal = 4 [(gogoproto.moretags) = "yaml:\"allow_update_after_proposal\""]; -} - -// ConsensusState defines a solo machine consensus state. The sequence of a -// consensus state is contained in the "height" key used in storing the -// consensus state. -message ConsensusState { - option (gogoproto.goproto_getters) = false; - // public key of the solo machine - google.protobuf.Any public_key = 1 [(gogoproto.moretags) = "yaml:\"public_key\""]; - // diversifier allows the same public key to be re-used across different solo - // machine clients (potentially on different chains) without being considered - // misbehaviour. - string diversifier = 2; - uint64 timestamp = 3; -} - -// Header defines a solo machine consensus header -message Header { - option (gogoproto.goproto_getters) = false; - // sequence to update solo machine public key at - uint64 sequence = 1; - uint64 timestamp = 2; - bytes signature = 3; - google.protobuf.Any new_public_key = 4 [(gogoproto.moretags) = "yaml:\"new_public_key\""]; - string new_diversifier = 5 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; -} - -// Misbehaviour defines misbehaviour for a solo machine which consists -// of a sequence and two signatures over different messages at that sequence. -message Misbehaviour { - option (gogoproto.goproto_getters) = false; - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - uint64 sequence = 2; - SignatureAndData signature_one = 3 [(gogoproto.moretags) = "yaml:\"signature_one\""]; - SignatureAndData signature_two = 4 [(gogoproto.moretags) = "yaml:\"signature_two\""]; -} - -// SignatureAndData contains a signature and the data signed over to create that -// signature. -message SignatureAndData { - option (gogoproto.goproto_getters) = false; - bytes signature = 1; - DataType data_type = 2 [(gogoproto.moretags) = "yaml:\"data_type\""]; - bytes data = 3; - uint64 timestamp = 4; -} - -// TimestampedSignatureData contains the signature data and the timestamp of the -// signature. -message TimestampedSignatureData { - option (gogoproto.goproto_getters) = false; - bytes signature_data = 1 [(gogoproto.moretags) = "yaml:\"signature_data\""]; - uint64 timestamp = 2; -} - -// SignBytes defines the signed bytes used for signature verification. -message SignBytes { - option (gogoproto.goproto_getters) = false; - - uint64 sequence = 1; - uint64 timestamp = 2; - string diversifier = 3; - // type of the data used - DataType data_type = 4 [(gogoproto.moretags) = "yaml:\"data_type\""]; - // marshaled data - bytes data = 5; -} - -// DataType defines the type of solo machine proof being created. This is done -// to preserve uniqueness of different data sign byte encodings. -enum DataType { - option (gogoproto.goproto_enum_prefix) = false; - - // Default State - DATA_TYPE_UNINITIALIZED_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "UNSPECIFIED"]; - // Data type for client state verification - DATA_TYPE_CLIENT_STATE = 1 [(gogoproto.enumvalue_customname) = "CLIENT"]; - // Data type for consensus state verification - DATA_TYPE_CONSENSUS_STATE = 2 [(gogoproto.enumvalue_customname) = "CONSENSUS"]; - // Data type for connection state verification - DATA_TYPE_CONNECTION_STATE = 3 [(gogoproto.enumvalue_customname) = "CONNECTION"]; - // Data type for channel state verification - DATA_TYPE_CHANNEL_STATE = 4 [(gogoproto.enumvalue_customname) = "CHANNEL"]; - // Data type for packet commitment verification - DATA_TYPE_PACKET_COMMITMENT = 5 [(gogoproto.enumvalue_customname) = "PACKETCOMMITMENT"]; - // Data type for packet acknowledgement verification - DATA_TYPE_PACKET_ACKNOWLEDGEMENT = 6 [(gogoproto.enumvalue_customname) = "PACKETACKNOWLEDGEMENT"]; - // Data type for packet receipt absence verification - DATA_TYPE_PACKET_RECEIPT_ABSENCE = 7 [(gogoproto.enumvalue_customname) = "PACKETRECEIPTABSENCE"]; - // Data type for next sequence recv verification - DATA_TYPE_NEXT_SEQUENCE_RECV = 8 [(gogoproto.enumvalue_customname) = "NEXTSEQUENCERECV"]; - // Data type for header verification - DATA_TYPE_HEADER = 9 [(gogoproto.enumvalue_customname) = "HEADER"]; -} - -// HeaderData returns the SignBytes data for update verification. -message HeaderData { - option (gogoproto.goproto_getters) = false; - - // header public key - google.protobuf.Any new_pub_key = 1 [(gogoproto.moretags) = "yaml:\"new_pub_key\""]; - // header diversifier - string new_diversifier = 2 [(gogoproto.moretags) = "yaml:\"new_diversifier\""]; -} - -// ClientStateData returns the SignBytes data for client state verification. -message ClientStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - google.protobuf.Any client_state = 2 [(gogoproto.moretags) = "yaml:\"client_state\""]; -} - -// ConsensusStateData returns the SignBytes data for consensus state -// verification. -message ConsensusStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - google.protobuf.Any consensus_state = 2 [(gogoproto.moretags) = "yaml:\"consensus_state\""]; -} - -// ConnectionStateData returns the SignBytes data for connection state -// verification. -message ConnectionStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - ibc.core.connection.v1.ConnectionEnd connection = 2; -} - -// ChannelStateData returns the SignBytes data for channel state -// verification. -message ChannelStateData { - option (gogoproto.goproto_getters) = false; - - bytes path = 1; - ibc.core.channel.v1.Channel channel = 2; -} - -// PacketCommitmentData returns the SignBytes data for packet commitment -// verification. -message PacketCommitmentData { - bytes path = 1; - bytes commitment = 2; -} - -// PacketAcknowledgementData returns the SignBytes data for acknowledgement -// verification. -message PacketAcknowledgementData { - bytes path = 1; - bytes acknowledgement = 2; -} - -// PacketReceiptAbsenceData returns the SignBytes data for -// packet receipt absence verification. -message PacketReceiptAbsenceData { - bytes path = 1; -} - -// NextSequenceRecvData returns the SignBytes data for verification of the next -// sequence to be received. -message NextSequenceRecvData { - bytes path = 1; - uint64 next_seq_recv = 2 [(gogoproto.moretags) = "yaml:\"next_seq_recv\""]; -} diff --git a/quicksilverjs/proto/ibc/lightclients/tendermint/v1/tendermint.proto b/quicksilverjs/proto/ibc/lightclients/tendermint/v1/tendermint.proto deleted file mode 100644 index 54e229b28..000000000 --- a/quicksilverjs/proto/ibc/lightclients/tendermint/v1/tendermint.proto +++ /dev/null @@ -1,115 +0,0 @@ -syntax = "proto3"; - -package ibc.lightclients.tendermint.v1; - -option go_package = "github.com/cosmos/ibc-go/v2/modules/light-clients/07-tendermint/types"; - -import "tendermint/types/validator.proto"; -import "tendermint/types/types.proto"; -import "confio/proofs.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; -import "ibc/core/client/v1/client.proto"; -import "ibc/core/commitment/v1/commitment.proto"; -import "gogoproto/gogo.proto"; - -// ClientState from Tendermint tracks the current validator set, latest height, -// and a possible frozen height. -message ClientState { - option (gogoproto.goproto_getters) = false; - - string chain_id = 1; - Fraction trust_level = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"trust_level\""]; - // duration of the period since the LastestTimestamp during which the - // submitted headers are valid for upgrade - google.protobuf.Duration trusting_period = 3 - [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.moretags) = "yaml:\"trusting_period\""]; - // duration of the staking unbonding period - google.protobuf.Duration unbonding_period = 4 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.moretags) = "yaml:\"unbonding_period\"" - ]; - // defines how much new (untrusted) header's Time can drift into the future. - google.protobuf.Duration max_clock_drift = 5 - [(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.moretags) = "yaml:\"max_clock_drift\""]; - // Block height when the client was frozen due to a misbehaviour - ibc.core.client.v1.Height frozen_height = 6 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"frozen_height\""]; - // Latest height the client was updated to - ibc.core.client.v1.Height latest_height = 7 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"latest_height\""]; - - // Proof specifications used in verifying counterparty state - repeated ics23.ProofSpec proof_specs = 8 [(gogoproto.moretags) = "yaml:\"proof_specs\""]; - - // Path at which next upgraded client will be committed. - // Each element corresponds to the key for a single CommitmentProof in the - // chained proof. NOTE: ClientState must stored under - // `{upgradePath}/{upgradeHeight}/clientState` ConsensusState must be stored - // under `{upgradepath}/{upgradeHeight}/consensusState` For SDK chains using - // the default upgrade module, upgrade_path should be []string{"upgrade", - // "upgradedIBCState"}` - repeated string upgrade_path = 9 [(gogoproto.moretags) = "yaml:\"upgrade_path\""]; - - // This flag, when set to true, will allow governance to recover a client - // which has expired - bool allow_update_after_expiry = 10 [(gogoproto.moretags) = "yaml:\"allow_update_after_expiry\""]; - // This flag, when set to true, will allow governance to unfreeze a client - // whose chain has experienced a misbehaviour event - bool allow_update_after_misbehaviour = 11 [(gogoproto.moretags) = "yaml:\"allow_update_after_misbehaviour\""]; -} - -// ConsensusState defines the consensus state from Tendermint. -message ConsensusState { - option (gogoproto.goproto_getters) = false; - - // timestamp that corresponds to the block height in which the ConsensusState - // was stored. - google.protobuf.Timestamp timestamp = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // commitment root (i.e app hash) - ibc.core.commitment.v1.MerkleRoot root = 2 [(gogoproto.nullable) = false]; - bytes next_validators_hash = 3 [ - (gogoproto.casttype) = "github.com/tendermint/tendermint/libs/bytes.HexBytes", - (gogoproto.moretags) = "yaml:\"next_validators_hash\"" - ]; -} - -// Misbehaviour is a wrapper over two conflicting Headers -// that implements Misbehaviour interface expected by ICS-02 -message Misbehaviour { - option (gogoproto.goproto_getters) = false; - - string client_id = 1 [(gogoproto.moretags) = "yaml:\"client_id\""]; - Header header_1 = 2 [(gogoproto.customname) = "Header1", (gogoproto.moretags) = "yaml:\"header_1\""]; - Header header_2 = 3 [(gogoproto.customname) = "Header2", (gogoproto.moretags) = "yaml:\"header_2\""]; -} - -// Header defines the Tendermint client consensus Header. -// It encapsulates all the information necessary to update from a trusted -// Tendermint ConsensusState. The inclusion of TrustedHeight and -// TrustedValidators allows this update to process correctly, so long as the -// ConsensusState for the TrustedHeight exists, this removes race conditions -// among relayers The SignedHeader and ValidatorSet are the new untrusted update -// fields for the client. The TrustedHeight is the height of a stored -// ConsensusState on the client that will be used to verify the new untrusted -// header. The Trusted ConsensusState must be within the unbonding period of -// current time in order to correctly verify, and the TrustedValidators must -// hash to TrustedConsensusState.NextValidatorsHash since that is the last -// trusted validator set at the TrustedHeight. -message Header { - .tendermint.types.SignedHeader signed_header = 1 - [(gogoproto.embed) = true, (gogoproto.moretags) = "yaml:\"signed_header\""]; - - .tendermint.types.ValidatorSet validator_set = 2 [(gogoproto.moretags) = "yaml:\"validator_set\""]; - ibc.core.client.v1.Height trusted_height = 3 - [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"trusted_height\""]; - .tendermint.types.ValidatorSet trusted_validators = 4 [(gogoproto.moretags) = "yaml:\"trusted_validators\""]; -} - -// Fraction defines the protobuf message type for tmmath.Fraction that only -// supports positive values. -message Fraction { - uint64 numerator = 1; - uint64 denominator = 2; -} diff --git a/quicksilverjs/proto/quicksilver/airdrop/v1/airdrop.proto b/quicksilverjs/proto/quicksilver/airdrop/v1/airdrop.proto deleted file mode 100644 index 46ca0ce92..000000000 --- a/quicksilverjs/proto/quicksilver/airdrop/v1/airdrop.proto +++ /dev/null @@ -1,105 +0,0 @@ -syntax = "proto3"; -package quicksilver.airdrop.v1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/airdrop/types"; - -// Action is used as an enum to denote specific actions or tasks. -enum Action { - option (gogoproto.goproto_enum_prefix) = false; - - // Undefined action (per protobuf spec) - ActionUndefined = 0; - // Initial claim action - ActionInitialClaim = 1; - // Deposit tier 1 (e.g. > 5% of base_value) - ActionDepositT1 = 2; - // Deposit tier 2 (e.g. > 10% of base_value) - ActionDepositT2 = 3; - // Deposit tier 3 (e.g. > 15% of base_value) - ActionDepositT3 = 4; - // Deposit tier 4 (e.g. > 22% of base_value) - ActionDepositT4 = 5; - // Deposit tier 5 (e.g. > 30% of base_value) - ActionDepositT5 = 6; - // Active QCK delegation - ActionStakeQCK = 7; - // Intent is set - ActionSignalIntent = 8; - // Cast governance vote on QS - ActionQSGov = 9; - // Governance By Proxy (GbP): cast vote on remote zone - ActionGbP = 10; - // Provide liquidity on Osmosis - ActionOsmosis = 11; -} - -// Status is used as an enum to denote zone status. -enum Status { - option (gogoproto.goproto_enum_prefix) = false; - - StatusUndefined = 0; - StatusActive = 1; - StatusFuture = 2; - StatusExpired = 3; -} - -// ZoneDrop represents an airdrop for a specific zone. -message ZoneDrop { - option (gogoproto.goproto_getters) = false; - - string chain_id = 1; - google.protobuf.Timestamp start_time = 2 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"start_time\"" - ]; - google.protobuf.Duration duration = 3 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration,omitempty", - (gogoproto.moretags) = "yaml:\"duration\"" - ]; - google.protobuf.Duration decay = 4 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "decay,omitempty", - (gogoproto.moretags) = "yaml:\"decay\"" - ]; - uint64 allocation = 5; - repeated string actions = 6 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - bool is_concluded = 7; -} - -// ClaimRecord represents a users' claim (including completed claims) for a -// given zone. -message ClaimRecord { - option (gogoproto.goproto_getters) = false; - - string chain_id = 1; - string address = 2; - // Protobuf3 does not allow enum as map key - map actions_completed = 3; - uint64 max_allocation = 4; - uint64 base_value = 5; -} - -// CompletedAction represents a claim action completed by the user. -message CompletedAction { - option (gogoproto.goproto_getters) = false; - - google.protobuf.Timestamp complete_time = 1 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"complete_time\"" - ]; - uint64 claim_amount = 2; -} diff --git a/quicksilverjs/proto/quicksilver/airdrop/v1/genesis.proto b/quicksilverjs/proto/quicksilver/airdrop/v1/genesis.proto deleted file mode 100644 index 9a4cb6455..000000000 --- a/quicksilverjs/proto/quicksilver/airdrop/v1/genesis.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; -package quicksilver.airdrop.v1; - -import "gogoproto/gogo.proto"; - -import "quicksilver/airdrop/v1/params.proto"; -import "quicksilver/airdrop/v1/airdrop.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/airdrop/types"; - -// GenesisState defines the airdrop module's genesis state. -message GenesisState { - option (gogoproto.goproto_getters) = false; - - Params params = 1 [ (gogoproto.nullable) = false ]; - repeated ZoneDrop zone_drops = 2; - repeated ClaimRecord claim_records = 3; -} diff --git a/quicksilverjs/proto/quicksilver/airdrop/v1/messages.proto b/quicksilverjs/proto/quicksilver/airdrop/v1/messages.proto deleted file mode 100644 index 0b8392f8c..000000000 --- a/quicksilverjs/proto/quicksilver/airdrop/v1/messages.proto +++ /dev/null @@ -1,35 +0,0 @@ -syntax = "proto3"; -package quicksilver.airdrop.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/api/annotations.proto"; -import "quicksilver/claimsmanager/v1/claimsmanager.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/airdrop/types"; - -// Msg defines the airdrop Msg service. -service Msg { - rpc Claim(MsgClaim) returns (MsgClaimResponse) { - option (google.api.http) = { - post : "/quicksilver/tx/v1/airdrop/claim" - body : "*" - }; - } -} - -message MsgClaim { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - int64 action = 2 [ (gogoproto.moretags) = "yaml:\"action\"" ]; - string address = 3 [ (gogoproto.moretags) = "yaml:\"address\"" ]; - repeated quicksilver.claimsmanager.v1.Proof proofs = 4 - [ (gogoproto.moretags) = "yaml:\"proofs\"" ]; -} - -message MsgClaimResponse { - option (gogoproto.goproto_getters) = false; - uint64 amount = 1 [ (gogoproto.moretags) = "yaml:\"amount\"" ]; -} diff --git a/quicksilverjs/proto/quicksilver/airdrop/v1/params.proto b/quicksilverjs/proto/quicksilver/airdrop/v1/params.proto deleted file mode 100644 index dba4369f0..000000000 --- a/quicksilverjs/proto/quicksilver/airdrop/v1/params.proto +++ /dev/null @@ -1,13 +0,0 @@ -syntax = "proto3"; -package quicksilver.airdrop.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/airdrop/types"; - -// Params holds parameters for the airdrop module. -message Params { - option (gogoproto.goproto_stringer) = false; - option (gogoproto.goproto_getters) = false; -} diff --git a/quicksilverjs/proto/quicksilver/airdrop/v1/proposals.proto b/quicksilverjs/proto/quicksilver/airdrop/v1/proposals.proto deleted file mode 100644 index 2f8de209a..000000000 --- a/quicksilverjs/proto/quicksilver/airdrop/v1/proposals.proto +++ /dev/null @@ -1,19 +0,0 @@ -syntax = "proto3"; -package quicksilver.airdrop.v1; - -import "gogoproto/gogo.proto"; -import "quicksilver/airdrop/v1/airdrop.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/airdrop/types"; - -message RegisterZoneDropProposal { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - string title = 1; - string description = 2; - - ZoneDrop zone_drop = 3 [ (gogoproto.moretags) = "yaml:\"zone_drop\"" ]; - bytes claim_records = 4 [ (gogoproto.moretags) = "yaml:\"claim_records\"" ]; -} \ No newline at end of file diff --git a/quicksilverjs/proto/quicksilver/airdrop/v1/query.proto b/quicksilverjs/proto/quicksilver/airdrop/v1/query.proto deleted file mode 100644 index f8abcd47e..000000000 --- a/quicksilverjs/proto/quicksilver/airdrop/v1/query.proto +++ /dev/null @@ -1,142 +0,0 @@ -syntax = "proto3"; -package quicksilver.airdrop.v1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; - -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; - -import "quicksilver/airdrop/v1/params.proto"; -import "quicksilver/airdrop/v1/airdrop.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/airdrop/types"; - -// Query provides defines the gRPC querier service. -service Query { - // Params returns the total set of airdrop parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/quicksilver/airdrop/v1/params"; - } - // ZoneDrop returns the details of the specified zone airdrop. - rpc ZoneDrop(QueryZoneDropRequest) returns (QueryZoneDropResponse) { - option (google.api.http).get = - "/quicksilver/airdrop/v1/zonedrop/{chain_id}"; - } - // AccountBalance returns the module account balance of the specified zone. - rpc AccountBalance(QueryAccountBalanceRequest) - returns (QueryAccountBalanceResponse) { - option (google.api.http).get = - "/quicksilver/airdrop/v1/accountbalance/{chain_id}"; - } - // ZoneDrops returns all zone airdrops of the specified status. - rpc ZoneDrops(QueryZoneDropsRequest) returns (QueryZoneDropsResponse) { - option (google.api.http).get = "/quicksilver/airdrop/v1/zonedrops/{status}"; - } - // ClaimRecord returns the claim record that corresponds to the given zone and - // address. - rpc ClaimRecord(QueryClaimRecordRequest) returns (QueryClaimRecordResponse) { - option (google.api.http).get = - "/quicksilver/airdrop/v1/claimrecord/{chain_id}/{address}"; - } - // ClaimRecords returns all the claim records of the given zone. - rpc ClaimRecords(QueryClaimRecordsRequest) - returns (QueryClaimRecordsResponse) { - option (google.api.http).get = - "/quicksilver/airdrop/v1/claimrecords/{chain_id}"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - option (gogoproto.goproto_getters) = false; - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; -} - -// QueryZoneDropRequest is the request type for Query/ZoneDrop RPC method. -message QueryZoneDropRequest { - option (gogoproto.goproto_getters) = false; - // chain_id identifies the zone. - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; -} - -// QueryZoneDropResponse is the response type for Query/ZoneDrop RPC method. -message QueryZoneDropResponse { - option (gogoproto.goproto_getters) = false; - ZoneDrop zone_drop = 1 [ (gogoproto.nullable) = false ]; -} - -// QueryAccountBalanceRequest is the request type for Query/AccountBalance RPC -// method. -message QueryAccountBalanceRequest { - option (gogoproto.goproto_getters) = false; - // chain_id identifies the zone. - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; -} - -// QueryAccountBalanceResponse is the response type for Query/AccountBalance RPC -// method. -message QueryAccountBalanceResponse { - option (gogoproto.goproto_getters) = false; - - cosmos.base.v1beta1.Coin account_balance = 1 - [ (gogoproto.moretags) = "yaml:\"account_balance\"" ]; -} - -// QueryZoneDropsRequest is the request type for Query/ZoneDrops RPC method. -message QueryZoneDropsRequest { - option (gogoproto.goproto_getters) = false; - // status enables to query zone airdrops matching a given status: - // - Active - // - Future - // - Expired - Status status = 1; - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryZoneDropResponse is the response type for Query/ZoneDrops RPC method. -message QueryZoneDropsResponse { - option (gogoproto.goproto_getters) = false; - - repeated ZoneDrop zone_drops = 1 [ (gogoproto.nullable) = false ]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryClaimRecordRequest is the request type for Query/ClaimRecord RPC method. -message QueryClaimRecordRequest { - option (gogoproto.goproto_getters) = false; - - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - string address = 2 [ (gogoproto.moretags) = "yaml:\"address\"" ]; -} - -// QueryClaimRecordResponse is the response type for Query/ClaimRecord RPC -// method. -message QueryClaimRecordResponse { - option (gogoproto.goproto_getters) = false; - - ClaimRecord claim_record = 1 - [ (gogoproto.moretags) = "yaml:\"claim_record\"" ]; -} - -// QueryClaimRecordsRequest is the request type for Query/ClaimRecords RPC -// method. -message QueryClaimRecordsRequest { - option (gogoproto.goproto_getters) = false; - - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryClaimRecordsResponse is the response type for Query/ClaimRecords RPC -// method. -message QueryClaimRecordsResponse { - option (gogoproto.goproto_getters) = false; - - repeated ClaimRecord claim_records = 1 [ (gogoproto.nullable) = false ]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/quicksilverjs/proto/quicksilver/claimsmanager/v1/claimsmanager.proto b/quicksilverjs/proto/quicksilver/claimsmanager/v1/claimsmanager.proto deleted file mode 100644 index 9cf4c9dc8..000000000 --- a/quicksilverjs/proto/quicksilver/claimsmanager/v1/claimsmanager.proto +++ /dev/null @@ -1,48 +0,0 @@ -syntax = "proto3"; -package quicksilver.claimsmanager.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "tendermint/crypto/proof.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/claimsmanager/types"; - -enum ClaimType { - option (gogoproto.goproto_enum_prefix) = false; - - // Undefined action (per protobuf spec) - ClaimTypeUndefined = 0; - ClaimTypeLiquidToken = 1; - ClaimTypeOsmosisPool = 2; - ClaimTypeCrescentPool = 3; - ClaimTypeSifchainPool = 4; -} - -// Params holds parameters for the claimsmanager module. -message Params { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; -} - -// Claim define the users claim for holding assets within a given zone. -message Claim { - option (gogoproto.goproto_getters) = false; - - string user_address = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - string chain_id = 2; - ClaimType module = 3; - string source_chain_id = 4; - uint64 amount = 5; -} - -// Proof defines a type used to cryptographically prove a claim. -message Proof { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - bytes key = 1 [ json_name = "key" ]; - bytes data = 2 [ json_name = "data" ]; - tendermint.crypto.ProofOps proof_ops = 3 [ json_name = "proof_ops" ]; - int64 height = 4 [ json_name = "height" ]; - string proof_type = 5 [ json_name = "proof_type" ]; -} \ No newline at end of file diff --git a/quicksilverjs/proto/quicksilver/claimsmanager/v1/genesis.proto b/quicksilverjs/proto/quicksilver/claimsmanager/v1/genesis.proto deleted file mode 100644 index 404b3dd31..000000000 --- a/quicksilverjs/proto/quicksilver/claimsmanager/v1/genesis.proto +++ /dev/null @@ -1,13 +0,0 @@ -syntax = "proto3"; -package quicksilver.claimsmanager.v1; - -import "gogoproto/gogo.proto"; -import "quicksilver/claimsmanager/v1/claimsmanager.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/claimsmanager/types"; - -// GenesisState defines the claimsmanager module's genesis state. -message GenesisState { - Params params = 1 [ (gogoproto.nullable) = false ]; - repeated Claim claims = 2; -} diff --git a/quicksilverjs/proto/quicksilver/claimsmanager/v1/messages.proto b/quicksilverjs/proto/quicksilver/claimsmanager/v1/messages.proto deleted file mode 100644 index 12bb98a8b..000000000 --- a/quicksilverjs/proto/quicksilver/claimsmanager/v1/messages.proto +++ /dev/null @@ -1,13 +0,0 @@ -syntax = "proto3"; -package quicksilver.claimsmanager.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/api/annotations.proto"; -import "tendermint/crypto/proof.proto"; -import "quicksilver/claimsmanager/v1/claimsmanager.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/claimsmanager/types"; - -// Msg defines the claimsmanager Msg service. -service Msg {} diff --git a/quicksilverjs/proto/quicksilver/claimsmanager/v1/query.proto b/quicksilverjs/proto/quicksilver/claimsmanager/v1/query.proto deleted file mode 100644 index ecb4fdd80..000000000 --- a/quicksilverjs/proto/quicksilver/claimsmanager/v1/query.proto +++ /dev/null @@ -1,52 +0,0 @@ -syntax = "proto3"; -package quicksilver.claimsmanager.v1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos_proto/cosmos.proto"; -import "quicksilver/claimsmanager/v1/claimsmanager.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/claimsmanager/types"; - -// Query provides defines the gRPC querier service. -service Query { - // Claims returns all zone claims from the current epoch. - rpc Claims(QueryClaimsRequest) returns (QueryClaimsResponse) { - option (google.api.http).get = - "/quicksilver/claimsmanager/v1/claims/{chain_id}"; - } - - // LastEpochClaims returns all zone claims from the last epoch. - rpc LastEpochClaims(QueryClaimsRequest) returns (QueryClaimsResponse) { - option (google.api.http).get = - "/quicksilver/claimsmanager/v1/previous_epoch_claims/{chain_id}"; - } - - // UserClaims returns all zone claims for a given address from the current - // epoch. - rpc UserClaims(QueryClaimsRequest) returns (QueryClaimsResponse) { - option (google.api.http).get = - "/quicksilver/claimsmanager/v1/user/{address}/claims"; - } - - // UserLastEpochClaims returns all zone claims for a given address from the - // last epoch. - rpc UserLastEpochClaims(QueryClaimsRequest) returns (QueryClaimsResponse) { - option (google.api.http).get = - "/quicksilver/claimsmanager/v1/user/{address}/previous_epoch_claims"; - } -} - -// QueryClaimsRequest is the request type for the Query/Claims RPC method. -message QueryClaimsRequest { - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - string address = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - cosmos.base.query.v1beta1.PageRequest pagination = 3; -} - -// QueryClaimsResponse is the response type for the Query/Claims RPC method. -message QueryClaimsResponse { - repeated Claim claims = 1 [ (gogoproto.nullable) = false ]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/quicksilverjs/proto/quicksilver/epochs/v1/genesis.proto b/quicksilverjs/proto/quicksilver/epochs/v1/genesis.proto deleted file mode 100644 index f1722d342..000000000 --- a/quicksilverjs/proto/quicksilver/epochs/v1/genesis.proto +++ /dev/null @@ -1,36 +0,0 @@ -syntax = "proto3"; -package quicksilver.epochs.v1; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/epochs/types"; - -message EpochInfo { - string identifier = 1; - google.protobuf.Timestamp start_time = 2 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"start_time\"" - ]; - google.protobuf.Duration duration = 3 [ - (gogoproto.nullable) = false, - (gogoproto.stdduration) = true, - (gogoproto.jsontag) = "duration,omitempty", - (gogoproto.moretags) = "yaml:\"duration\"" - ]; - int64 current_epoch = 4; - google.protobuf.Timestamp current_epoch_start_time = 5 [ - (gogoproto.stdtime) = true, - (gogoproto.nullable) = false, - (gogoproto.moretags) = "yaml:\"current_epoch_start_time\"" - ]; - bool epoch_counting_started = 6; - int64 current_epoch_start_height = 7; -} - -// GenesisState defines the epochs module's genesis state. -message GenesisState { - repeated EpochInfo epochs = 1 [ (gogoproto.nullable) = false ]; -} diff --git a/quicksilverjs/proto/quicksilver/epochs/v1/query.proto b/quicksilverjs/proto/quicksilver/epochs/v1/query.proto deleted file mode 100644 index ef005286c..000000000 --- a/quicksilverjs/proto/quicksilver/epochs/v1/query.proto +++ /dev/null @@ -1,34 +0,0 @@ -syntax = "proto3"; -package quicksilver.epochs.v1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "quicksilver/epochs/v1/genesis.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/epochs/types"; - -// Query defines the gRPC querier service. -service Query { - // EpochInfos provide running epochInfos - rpc EpochInfos(QueryEpochsInfoRequest) returns (QueryEpochsInfoResponse) { - option (google.api.http).get = "/quicksilver/epochs/v1/epochs"; - } - // CurrentEpoch provide current epoch of specified identifier - rpc CurrentEpoch(QueryCurrentEpochRequest) - returns (QueryCurrentEpochResponse) { - option (google.api.http).get = "/quicksilver/epochs/v1/current_epoch"; - } -} - -message QueryEpochsInfoRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -message QueryEpochsInfoResponse { - repeated EpochInfo epochs = 1 [ (gogoproto.nullable) = false ]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message QueryCurrentEpochRequest { string identifier = 1; } -message QueryCurrentEpochResponse { int64 current_epoch = 1; } \ No newline at end of file diff --git a/quicksilverjs/proto/quicksilver/interchainquery/v1/genesis.proto b/quicksilverjs/proto/quicksilver/interchainquery/v1/genesis.proto deleted file mode 100644 index e9726bd31..000000000 --- a/quicksilverjs/proto/quicksilver/interchainquery/v1/genesis.proto +++ /dev/null @@ -1,15 +0,0 @@ -syntax = "proto3"; -package quicksilver.interchainquery.v1; - -import "gogoproto/gogo.proto"; - -import "quicksilver/interchainquery/v1/interchainquery.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/interchainquery/types"; - -// GenesisState defines the epochs module's genesis state. -message GenesisState { - option (gogoproto.goproto_getters) = false; - - repeated Query queries = 1 [ (gogoproto.nullable) = false ]; -} \ No newline at end of file diff --git a/quicksilverjs/proto/quicksilver/interchainquery/v1/interchainquery.proto b/quicksilverjs/proto/quicksilver/interchainquery/v1/interchainquery.proto deleted file mode 100644 index cf172f7e7..000000000 --- a/quicksilverjs/proto/quicksilver/interchainquery/v1/interchainquery.proto +++ /dev/null @@ -1,49 +0,0 @@ -syntax = "proto3"; -package quicksilver.interchainquery.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/interchainquery/types"; - -message Query { - string id = 1; - string connection_id = 2; - string chain_id = 3; - string query_type = 4; - bytes request = 5; - // change these to uint64 in v0.5.0 - string period = 6 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string last_height = 7 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string callback_id = 8; - uint64 ttl = 9; - string last_emission = 10 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; -} - -message DataPoint { - string id = 1; - // change these to uint64 in v0.5.0 - string remote_height = 2 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string local_height = 3 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - bytes value = 4 [ (gogoproto.jsontag) = "result,omitempty" ]; -} diff --git a/quicksilverjs/proto/quicksilver/interchainquery/v1/messages.proto b/quicksilverjs/proto/quicksilver/interchainquery/v1/messages.proto deleted file mode 100644 index b63f879bf..000000000 --- a/quicksilverjs/proto/quicksilver/interchainquery/v1/messages.proto +++ /dev/null @@ -1,40 +0,0 @@ -syntax = "proto3"; -package quicksilver.interchainquery.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/api/annotations.proto"; -import "tendermint/crypto/proof.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/interchainquery/types"; - -// Msg defines the interchainquery Msg service. -service Msg { - // SubmitQueryResponse defines a method for submit query responses. - rpc SubmitQueryResponse(MsgSubmitQueryResponse) - returns (MsgSubmitQueryResponseResponse) { - option (google.api.http) = { - post : "/interchainquery/tx/v1beta1/submitquery" - body : "*" - }; - }; -} - -// MsgSubmitQueryResponse represents a message type to fulfil a query request. -message MsgSubmitQueryResponse { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = true; - - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - string query_id = 2 [ (gogoproto.moretags) = "yaml:\"query_id\"" ]; - bytes result = 3 [ (gogoproto.moretags) = "yaml:\"result\"" ]; - tendermint.crypto.ProofOps proof_ops = 4 - [ (gogoproto.moretags) = "yaml:\"proof_ops\"" ]; - int64 height = 5 [ (gogoproto.moretags) = "yaml:\"height\"" ]; - string from_address = 6 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; -} - -// MsgSubmitQueryResponseResponse defines the MsgSubmitQueryResponse response -// type. -message MsgSubmitQueryResponseResponse {} diff --git a/quicksilverjs/proto/quicksilver/interchainquery/v1/query.proto b/quicksilverjs/proto/quicksilver/interchainquery/v1/query.proto deleted file mode 100644 index dc8d8d5a2..000000000 --- a/quicksilverjs/proto/quicksilver/interchainquery/v1/query.proto +++ /dev/null @@ -1,48 +0,0 @@ -syntax = "proto3"; -package quicksilver.interchainquery.v1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "quicksilver/interchainquery/v1/interchainquery.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos/base/abci/v1beta1/abci.proto"; -import "cosmos/tx/v1beta1/tx.proto"; -import "tendermint/types/types.proto"; -import "ibc/lightclients/tendermint/v1/tendermint.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/interchainquery/types"; - -// Query provides defines the gRPC querier service. -service QuerySrvr { - // Params returns the total set of minting parameters. - rpc Queries(QueryRequestsRequest) returns (QueryRequestsResponse) { - option (google.api.http).get = - "/quicksilver/interchainquery/v1/queries/{chain_id}"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryRequestsRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; - string chain_id = 2; -} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryRequestsResponse { - // params defines the parameters of the module. - repeated quicksilver.interchainquery.v1.Query queries = 1 - [ (gogoproto.nullable) = false ]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// GetTxResponse is the response type for the Service.GetTx method. -message GetTxWithProofResponse { - // tx is the queried transaction; deprecated. - cosmos.tx.v1beta1.Tx tx = 1; // deprecated, v1.2.13 - // tx_response is the queried TxResponses. - cosmos.base.abci.v1beta1.TxResponse tx_response = 2; // deprecated, v1.2.13 - // proof is the tmproto.TxProof for the queried tx - tendermint.types.TxProof proof = 3; - // ibc-go header to validate txs - ibc.lightclients.tendermint.v1.Header header = 4; -} \ No newline at end of file diff --git a/quicksilverjs/proto/quicksilver/interchainstaking/v1/genesis.proto b/quicksilverjs/proto/quicksilver/interchainstaking/v1/genesis.proto deleted file mode 100644 index e1bff29c6..000000000 --- a/quicksilverjs/proto/quicksilver/interchainstaking/v1/genesis.proto +++ /dev/null @@ -1,64 +0,0 @@ -syntax = "proto3"; -package quicksilver.interchainstaking.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "google/protobuf/timestamp.proto"; -import "quicksilver/interchainstaking/v1/interchainstaking.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/interchainstaking/types"; - -message Params_v1 { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - uint64 deposit_interval = 1; - uint64 validatorset_interval = 2; - string commission_rate = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -message Params { - option (gogoproto.equal) = true; - option (gogoproto.goproto_stringer) = false; - - uint64 deposit_interval = 1; - uint64 validatorset_interval = 2; - string commission_rate = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - bool unbonding_enabled = 4; -} - -message DelegationsForZone { - string chain_id = 1; - repeated Delegation delegations = 2; -} - -message DelegatorIntentsForZone { - string chain_id = 1; - repeated DelegatorIntent delegation_intent = 2; - bool snapshot = 3; -} - -// GenesisState defines the interchainstaking module's genesis state. -message GenesisState { - Params params = 1 [ (gogoproto.nullable) = false ]; - repeated Zone zones = 2 [ (gogoproto.nullable) = false ]; - repeated Receipt receipts = 3 [ (gogoproto.nullable) = false ]; - repeated DelegationsForZone delegations = 4 [ (gogoproto.nullable) = false ]; - repeated DelegationsForZone performance_delegations = 5 - [ (gogoproto.nullable) = false ]; - repeated DelegatorIntentsForZone delegator_intents = 6 - [ (gogoproto.nullable) = false ]; - repeated PortConnectionTuple port_connections = 7 - [ (gogoproto.nullable) = false ]; - repeated WithdrawalRecord withdrawal_records = 8 - [ (gogoproto.nullable) = false ]; -} diff --git a/quicksilverjs/proto/quicksilver/interchainstaking/v1/interchainstaking.proto b/quicksilverjs/proto/quicksilver/interchainstaking/v1/interchainstaking.proto deleted file mode 100644 index 142400d33..000000000 --- a/quicksilverjs/proto/quicksilver/interchainstaking/v1/interchainstaking.proto +++ /dev/null @@ -1,193 +0,0 @@ -syntax = "proto3"; -package quicksilver.interchainstaking.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/interchainstaking/types"; - -message Zone { - string connection_id = 1; - string chain_id = 2; - ICAAccount deposit_address = 3; - ICAAccount withdrawal_address = 4; - ICAAccount performance_address = 5; - ICAAccount delegation_address = 6; - string account_prefix = 7; - string local_denom = 8; - string base_denom = 9; - string redemption_rate = 10 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string last_redemption_rate = 11 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - repeated Validator validators = 12; - repeated ValidatorIntent aggregate_intent = 13 - [ (gogoproto.castrepeated) = "ValidatorIntents" ]; - bool multi_send = 14; - bool liquidity_module = 15; - uint32 withdrawal_waitgroup = 16; - bytes ibc_next_validators_hash = 17; - uint64 validator_selection_allocation = 18; - uint64 holdings_allocation = 19; - int64 last_epoch_height = 20; // deprecated remove me. - string tvl = 21 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - int64 unbonding_period = 22; - int64 messages_per_tx = 23; -} - -message ICAAccount { - string address = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - // balance defines the different coins this balance holds. - repeated cosmos.base.v1beta1.Coin balance = 2 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.nullable) = false - ]; - string port_name = 3; - string withdrawal_address = 4; - uint32 balance_waitgroup = 5; -} - -message Distribution { - string valoper = 1; - uint64 amount = 2; -} - -message WithdrawalRecord { - string chain_id = 1; - string delegator = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - repeated Distribution distribution = 3; - string recipient = 4 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - repeated cosmos.base.v1beta1.Coin amount = 5 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.nullable) = false - ]; - cosmos.base.v1beta1.Coin burn_amount = 6 [ - (cosmos_proto.scalar) = "cosmos.Coin", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin", - (gogoproto.nullable) = false - ]; - string txhash = 7; - int32 status = 8; - google.protobuf.Timestamp completion_time = 9 - [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; -} - -message UnbondingRecord { - string chain_id = 1; - int64 epoch_number = 2; - string validator = 3 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - repeated string related_txhash = 4; -} - -message RedelegationRecord { - string chain_id = 1; - int64 epoch_number = 2; - string source = 3 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - string destination = 4 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - int64 amount = 5; - google.protobuf.Timestamp completion_time = 6 - [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; -} - -message TransferRecord { - string sender = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - string recipient = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - cosmos.base.v1beta1.Coin amount = 3 [ - (cosmos_proto.scalar) = "cosmos.Coin", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin", - (gogoproto.nullable) = false - ]; -} - -message Validator { - string valoper_address = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - string commission_rate = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string delegator_shares = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string voting_power = 4 [ - (cosmos_proto.scalar) = "cosmos.Int", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int", - (gogoproto.nullable) = false - ]; - string score = 5 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string status = 6; - bool jailed = 7; - bool tombstoned = 8; - google.protobuf.Timestamp jailed_since = 9 - [ (gogoproto.nullable) = false, (gogoproto.stdtime) = true ]; -} - -message DelegatorIntent { - string delegator = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - repeated ValidatorIntent intents = 2 - [ (gogoproto.castrepeated) = "ValidatorIntents" ]; -} - -message ValidatorIntent { - string valoper_address = 1 [ - (cosmos_proto.scalar) = "cosmos.AddressString", - json_name = "valoper_address" - ]; - string weight = 2 [ - (gogoproto.moretags) = "yaml:\"weight\"", - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -message Delegation { - string delegation_address = 1 - [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - string validator_address = 2 - [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - cosmos.base.v1beta1.Coin amount = 3 [ - (cosmos_proto.scalar) = "cosmos.Coin", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Coin", - (gogoproto.nullable) = false - ]; - int64 height = 4; - int64 redelegation_end = 5; -} - -message PortConnectionTuple { - string connection_id = 1; - string port_id = 2; -} - -message Receipt { - string chain_id = 1; - string sender = 2 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - string txhash = 3; - repeated cosmos.base.v1beta1.Coin amount = 4 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.nullable) = false - ]; - google.protobuf.Timestamp first_seen = 5 - [ (gogoproto.nullable) = true, (gogoproto.stdtime) = true ]; - google.protobuf.Timestamp completed = 6 - [ (gogoproto.nullable) = true, (gogoproto.stdtime) = true ]; -} diff --git a/quicksilverjs/proto/quicksilver/interchainstaking/v1/messages.proto b/quicksilverjs/proto/quicksilver/interchainstaking/v1/messages.proto deleted file mode 100644 index c8b2b02d3..000000000 --- a/quicksilverjs/proto/quicksilver/interchainstaking/v1/messages.proto +++ /dev/null @@ -1,77 +0,0 @@ -syntax = "proto3"; -package quicksilver.interchainstaking.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "quicksilver/interchainstaking/v1/interchainstaking.proto"; -import "quicksilver/interchainstaking/v1/proposals.proto"; -import "google/api/annotations.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/interchainstaking/types"; - -// Msg defines the interchainstaking Msg service. -service Msg { - // RequestRedemption defines a method for requesting burning of qAssets for - // native assets. - rpc RequestRedemption(MsgRequestRedemption) - returns (MsgRequestRedemptionResponse) { - option (google.api.http) = { - post : "/quicksilver/tx/v1/interchainstaking/redeem" - body : "*" - }; - }; - // SignalIntent defines a method for signalling voting intent for one or more - // validators. - rpc SignalIntent(MsgSignalIntent) returns (MsgSignalIntentResponse) { - option (google.api.http) = { - post : "/quicksilver/tx/v1/interchainstaking/intent" - body : "*" - }; - }; - - rpc GovCloseChannel(MsgGovCloseChannel) returns (MsgGovCloseChannelResponse) { - option (google.api.http) = { - post : "/quicksilver/tx/v1/interchainstaking/close_channel" - body : "*" - }; - }; - - rpc GovReopenChannel(MsgGovReopenChannel) - returns (MsgGovReopenChannelResponse) { - option (google.api.http) = { - post : "/quicksilver/tx/v1/interchainstaking/reopen_channel" - body : "*" - }; - }; -} - -// MsgRequestRedemption represents a message type to request a burn of qAssets -// for native assets. -message MsgRequestRedemption { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - cosmos.base.v1beta1.Coin value = 1 - [ (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"coin\"" ]; - string destination_address = 2 - [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - string from_address = 3 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; -} - -// MsgSignalIntent represents a message type for signalling voting intent for -// one or more validators. -message MsgSignalIntent { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - string intents = 2 [ (gogoproto.moretags) = "yaml:\"intents\"" ]; - string from_address = 3 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; -} - -// MsgRequestRedemptionResponse defines the MsgRequestRedemption response type. -message MsgRequestRedemptionResponse {} - -// MsgSignalIntentResponse defines the MsgSignalIntent response type. -message MsgSignalIntentResponse {} diff --git a/quicksilverjs/proto/quicksilver/interchainstaking/v1/proposals.proto b/quicksilverjs/proto/quicksilver/interchainstaking/v1/proposals.proto deleted file mode 100644 index 7d022d10a..000000000 --- a/quicksilverjs/proto/quicksilver/interchainstaking/v1/proposals.proto +++ /dev/null @@ -1,111 +0,0 @@ -syntax = "proto3"; -package quicksilver.interchainstaking.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/api/annotations.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/interchainstaking/types"; - -message RegisterZoneProposal { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - string title = 1; - string description = 2; - - string connection_id = 3 [ (gogoproto.moretags) = "yaml:\"connection_id\"" ]; - string base_denom = 4 [ (gogoproto.moretags) = "yaml:\"base_denom\"" ]; - string local_denom = 5 [ (gogoproto.moretags) = "yaml:\"local_denom\"" ]; - string account_prefix = 6 - [ (gogoproto.moretags) = "yaml:\"account_prefix\"" ]; - bool multi_send = 7; - bool liquidity_module = 8; - int64 messages_per_tx = 9; -} - -message RegisterZoneProposalWithDeposit { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; - string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; - - string connection_id = 3 [ (gogoproto.moretags) = "yaml:\"connection_id\"" ]; - string base_denom = 4 [ (gogoproto.moretags) = "yaml:\"base_denom\"" ]; - string local_denom = 5 [ (gogoproto.moretags) = "yaml:\"local_denom\"" ]; - string account_prefix = 6 - [ (gogoproto.moretags) = "yaml:\"account_prefix\"" ]; - bool multi_send = 7 [ (gogoproto.moretags) = "yaml:\"multi_send\"" ]; - bool liquidity_module = 8 - [ (gogoproto.moretags) = "yaml:\"liquidity_module\"" ]; - string deposit = 9 [ (gogoproto.moretags) = "yaml:\"deposit\"" ]; - int64 messages_per_tx = 10; -} - -message UpdateZoneProposal { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; - string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; - string chain_id = 3 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - - repeated UpdateZoneValue changes = 4 - [ (gogoproto.moretags) = "yaml:\"changes\"" ]; -} - -message UpdateZoneProposalWithDeposit { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string title = 1 [ (gogoproto.moretags) = "yaml:\"title\"" ]; - string description = 2 [ (gogoproto.moretags) = "yaml:\"description\"" ]; - string chain_id = 3 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - - repeated UpdateZoneValue changes = 4 - [ (gogoproto.moretags) = "yaml:\"changes\"" ]; - string deposit = 5 [ (gogoproto.moretags) = "yaml:\"deposit\"" ]; -} - -// UpdateZoneValue defines an individual parameter change, for use in -// UpdateZoneProposal. -message UpdateZoneValue { - - string key = 1 [ (gogoproto.moretags) = "yaml:\"key\"" ]; - string value = 2 [ (gogoproto.moretags) = "yaml:\"value\"" ]; -} - -message MsgGovReopenChannel { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string title = 1; - string description = 2; - - string connection_id = 3 [ (gogoproto.moretags) = "yaml:\"connection_id\"" ]; - string port_id = 4 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; - - string authority = 5 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; -} - -// MsgGovReopenChannelResponse defines the MsgGovReopenChannel response type. -message MsgGovReopenChannelResponse {} - -message MsgGovCloseChannel { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string title = 1; - string description = 2; - - string channel_id = 3 [ (gogoproto.moretags) = "yaml:\"channel_id\"" ]; - string port_id = 4 [ (gogoproto.moretags) = "yaml:\"port_id\"" ]; - - string authority = 5 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; -} - -// MsgGovCloseChannelResponse defines the MsgGovCloseChannel response type. -message MsgGovCloseChannelResponse {} diff --git a/quicksilverjs/proto/quicksilver/interchainstaking/v1/query.proto b/quicksilverjs/proto/quicksilver/interchainstaking/v1/query.proto deleted file mode 100644 index 434e866f9..000000000 --- a/quicksilverjs/proto/quicksilver/interchainstaking/v1/query.proto +++ /dev/null @@ -1,157 +0,0 @@ -syntax = "proto3"; -package quicksilver.interchainstaking.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "quicksilver/interchainstaking/v1/interchainstaking.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/interchainstaking/types"; - -// Query defines the gRPC querier service. -service Query { - // ZoneInfos provides meta data on connected zones. - rpc ZoneInfos(QueryZonesInfoRequest) returns (QueryZonesInfoResponse) { - option (google.api.http).get = "/quicksilver/interchainstaking/v1/zones"; - } - // DepositAccount provides data on the deposit address for a connected zone. - rpc DepositAccount(QueryDepositAccountForChainRequest) - returns (QueryDepositAccountForChainResponse) { - option (google.api.http).get = - "/quicksilver/interchainstaking/v1/zones/{chain_id}/deposit_address"; - } - // DelegatorIntent provides data on the intent of the delegator for the given - // zone. - rpc DelegatorIntent(QueryDelegatorIntentRequest) - returns (QueryDelegatorIntentResponse) { - option (google.api.http).get = - "/quicksilver/interchainstaking/v1/zones/{chain_id}/delegator_intent/" - "{delegator_address}"; - } - - // Delegations provides data on the delegations for the given zone. - rpc Delegations(QueryDelegationsRequest) returns (QueryDelegationsResponse) { - option (google.api.http).get = - "/quicksilver/interchainstaking/v1/zones/{chain_id}/delegations"; - } - - // Delegations provides data on the delegations for the given zone. - rpc Receipts(QueryReceiptsRequest) returns (QueryReceiptsResponse) { - option (google.api.http).get = - "/quicksilver/interchainstaking/v1/zones/{chain_id}/receipts"; - } - - // WithdrawalRecords provides data on the active withdrawals. - rpc ZoneWithdrawalRecords(QueryWithdrawalRecordsRequest) - returns (QueryWithdrawalRecordsResponse) { - option (google.api.http).get = - "/quicksilver/interchainstaking/v1/zones/{chain_id}/withdrawal_records/" - "{delegator_address}"; - } - - // WithdrawalRecords provides data on the active withdrawals. - rpc WithdrawalRecords(QueryWithdrawalRecordsRequest) - returns (QueryWithdrawalRecordsResponse) { - option (google.api.http).get = - "/quicksilver/interchainstaking/v1/withdrawal_records"; - } - - // UnbondingRecords provides data on the active unbondings. - rpc UnbondingRecords(QueryUnbondingRecordsRequest) - returns (QueryUnbondingRecordsResponse) { - option (google.api.http).get = - "/quicksilver/interchainstaking/v1/unbonding_records"; - } - - // RedelegationRecords provides data on the active unbondings. - rpc RedelegationRecords(QueryRedelegationRecordsRequest) - returns (QueryRedelegationRecordsResponse) { - option (google.api.http).get = - "/quicksilver/interchainstaking/v1/redelegation_records"; - } -} - -message QueryZonesInfoRequest { - cosmos.base.query.v1beta1.PageRequest pagination = 1; -} - -message QueryZonesInfoResponse { - repeated Zone zones = 1 [ (gogoproto.nullable) = false ]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -// QueryDepositAccountForChainRequest is the request type for the -// Query/InterchainAccountAddress RPC -message QueryDepositAccountForChainRequest { - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; -} - -// QueryDepositAccountForChainResponse the response type for the -// Query/InterchainAccountAddress RPC -message QueryDepositAccountForChainResponse { - string deposit_account_address = 1 - [ (gogoproto.moretags) = "yaml:\"deposit_account_address\"" ]; -} - -message QueryDelegatorIntentRequest { - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - string delegator_address = 2 - [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; -} - -message QueryDelegatorIntentResponse { DelegatorIntent intent = 1; } - -message QueryDelegationsRequest { - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -message QueryDelegationsResponse { - repeated Delegation delegations = 1 [ (gogoproto.nullable) = false ]; - int64 tvl = 2; - cosmos.base.query.v1beta1.PageResponse pagination = 3; -} - -message QueryReceiptsRequest { - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -message QueryReceiptsResponse { - repeated Receipt receipts = 1 [ (gogoproto.nullable) = false ]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message QueryWithdrawalRecordsRequest { - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - string delegator_address = 2 - [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; - cosmos.base.query.v1beta1.PageRequest pagination = 3; -} - -message QueryWithdrawalRecordsResponse { - repeated WithdrawalRecord withdrawals = 1 [ (gogoproto.nullable) = false ]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message QueryUnbondingRecordsRequest { - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - cosmos.base.query.v1beta1.PageRequest pagination = 3; -} - -message QueryUnbondingRecordsResponse { - repeated UnbondingRecord Unbondings = 1 [ (gogoproto.nullable) = false ]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} - -message QueryRedelegationRecordsRequest { - string chain_id = 1 [ (gogoproto.moretags) = "yaml:\"chain_id\"" ]; - cosmos.base.query.v1beta1.PageRequest pagination = 3; -} - -message QueryRedelegationRecordsResponse { - repeated RedelegationRecord Redelegations = 1 - [ (gogoproto.nullable) = false ]; - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} diff --git a/quicksilverjs/proto/quicksilver/mint/v1beta1/genesis.proto b/quicksilverjs/proto/quicksilver/mint/v1beta1/genesis.proto deleted file mode 100644 index 315f7a6e7..000000000 --- a/quicksilverjs/proto/quicksilver/mint/v1beta1/genesis.proto +++ /dev/null @@ -1,20 +0,0 @@ -syntax = "proto3"; -package quicksilver.mint.v1beta1; - -import "gogoproto/gogo.proto"; -import "quicksilver/mint/v1beta1/mint.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/mint/types"; - -// GenesisState defines the mint module's genesis state. -message GenesisState { - // minter is a space for holding current rewards information. - Minter minter = 1 [ (gogoproto.nullable) = false ]; - - // params defines all the paramaters of the module. - Params params = 2 [ (gogoproto.nullable) = false ]; - - // current reduction period start epoch - int64 reduction_started_epoch = 3 - [ (gogoproto.moretags) = "yaml:\"reduction_started_epoch\"" ]; -} diff --git a/quicksilverjs/proto/quicksilver/mint/v1beta1/mint.proto b/quicksilverjs/proto/quicksilver/mint/v1beta1/mint.proto deleted file mode 100644 index 7746bf4f9..000000000 --- a/quicksilverjs/proto/quicksilver/mint/v1beta1/mint.proto +++ /dev/null @@ -1,84 +0,0 @@ -syntax = "proto3"; -package quicksilver.mint.v1beta1; - -option go_package = "github.com/ingenuity-build/quicksilver/x/mint/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "google/protobuf/any.proto"; -import "google/protobuf/duration.proto"; - -// Minter represents the minting state. -message Minter { - // current epoch provisions - string epoch_provisions = 1 [ - (gogoproto.moretags) = "yaml:\"epoch_provisions\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -message DistributionProportions { - // staking defines the proportion of the minted minted_denom that is to be - // allocated as staking rewards. - string staking = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"staking\"", - (gogoproto.nullable) = false - ]; - // pool_incentives defines the proportion of the minted minted_denom that is - // to be allocated as pool incentives. - string pool_incentives = 2 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"pool_incentives\"", - (gogoproto.nullable) = false - ]; - // participation_rewards defines the proportion of the minted minted_denom - // that is to be allocated to participation rewards address. - string participation_rewards = 3 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"participation_rewards\"", - (gogoproto.nullable) = false - ]; - // community_pool defines the proportion of the minted minted_denom that is - // to be allocated to the community pool. - string community_pool = 4 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.moretags) = "yaml:\"community_pool\"", - (gogoproto.nullable) = false - ]; -} - -// Params holds parameters for the mint module. -message Params { - option (gogoproto.goproto_stringer) = false; - - // type of coin to mint - string mint_denom = 1; - // epoch provisions from the first epoch - string genesis_epoch_provisions = 2 [ - (gogoproto.moretags) = "yaml:\"genesis_epoch_provisions\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // mint epoch identifier - string epoch_identifier = 3 - [ (gogoproto.moretags) = "yaml:\"epoch_identifier\"" ]; - // number of epochs take to reduce rewards - int64 reduction_period_in_epochs = 4 - [ (gogoproto.moretags) = "yaml:\"reduction_period_in_epochs\"" ]; - // reduction multiplier to execute on each period - string reduction_factor = 5 [ - (gogoproto.moretags) = "yaml:\"reduction_factor\"", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - // distribution_proportions defines the proportion of the minted denom - DistributionProportions distribution_proportions = 6 - [ (gogoproto.nullable) = false ]; - - // start epoch to distribute minting rewards - int64 minting_rewards_distribution_start_epoch = 7 - [ (gogoproto.moretags) = - "yaml:\"minting_rewards_distribution_start_epoch\"" ]; -} diff --git a/quicksilverjs/proto/quicksilver/mint/v1beta1/query.proto b/quicksilverjs/proto/quicksilver/mint/v1beta1/query.proto deleted file mode 100644 index 93ebba852..000000000 --- a/quicksilverjs/proto/quicksilver/mint/v1beta1/query.proto +++ /dev/null @@ -1,45 +0,0 @@ -syntax = "proto3"; -package quicksilver.mint.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "quicksilver/mint/v1beta1/mint.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/mint/types"; - -// Query provides defines the gRPC querier service. -service Query { - // Params returns the total set of minting parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/quicksilver/mint/v1beta1/params"; - } - - // EpochProvisions current minting epoch provisions value. - rpc EpochProvisions(QueryEpochProvisionsRequest) - returns (QueryEpochProvisionsResponse) { - option (google.api.http).get = "/quicksilver/mint/v1beta1/epoch_provisions"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; -} - -// QueryEpochProvisionsRequest is the request type for the -// Query/EpochProvisions RPC method. -message QueryEpochProvisionsRequest {} - -// QueryEpochProvisionsResponse is the response type for the -// Query/EpochProvisions RPC method. -message QueryEpochProvisionsResponse { - // epoch_provisions is the current minting per epoch provisions value. - bytes epoch_provisions = 1 [ - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} diff --git a/quicksilverjs/proto/quicksilver/participationrewards/v1/genesis.proto b/quicksilverjs/proto/quicksilver/participationrewards/v1/genesis.proto deleted file mode 100644 index 4f4358f51..000000000 --- a/quicksilverjs/proto/quicksilver/participationrewards/v1/genesis.proto +++ /dev/null @@ -1,13 +0,0 @@ -syntax = "proto3"; -package quicksilver.participationrewards.v1; - -import "gogoproto/gogo.proto"; -import "quicksilver/participationrewards/v1/participationrewards.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/participationrewards/types"; - -// GenesisState defines the participationrewards module's genesis state. -message GenesisState { - Params params = 1 [ (gogoproto.nullable) = false ]; - repeated KeyedProtocolData protocol_data = 2; -} diff --git a/quicksilverjs/proto/quicksilver/participationrewards/v1/messages.proto b/quicksilverjs/proto/quicksilver/participationrewards/v1/messages.proto deleted file mode 100644 index eab6de7f0..000000000 --- a/quicksilverjs/proto/quicksilver/participationrewards/v1/messages.proto +++ /dev/null @@ -1,42 +0,0 @@ -syntax = "proto3"; -package quicksilver.participationrewards.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/api/annotations.proto"; -import "tendermint/crypto/proof.proto"; -import "quicksilver/participationrewards/v1/participationrewards.proto"; -import "quicksilver/claimsmanager/v1/claimsmanager.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/participationrewards/types"; - -// Msg defines the participationrewards Msg service. -service Msg { - rpc SubmitClaim(MsgSubmitClaim) returns (MsgSubmitClaimResponse) { - option (google.api.http) = { - post : "/quicksilver/tx/v1/participationrewards/claim" - body : "*" - }; - }; -} - -// MsgSubmitClaim represents a message type for submitting a participation -// claim regarding the given zone (chain). -message MsgSubmitClaim { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string user_address = 1 [ - json_name = "user_address", - (cosmos_proto.scalar) = "cosmos.AddressString" - ]; - string zone = 2 [ json_name = "zone" ]; - string src_zone = 3 [ json_name = "src_zone" ]; - quicksilver.claimsmanager.v1.ClaimType claim_type = 4 - [ json_name = "claim_type" ]; - repeated quicksilver.claimsmanager.v1.Proof proofs = 5 - [ json_name = "proofs" ]; -} - -// MsgSubmitClaimResponse defines the MsgSubmitClaim response type. -message MsgSubmitClaimResponse {} diff --git a/quicksilverjs/proto/quicksilver/participationrewards/v1/participationrewards.proto b/quicksilverjs/proto/quicksilver/participationrewards/v1/participationrewards.proto deleted file mode 100644 index ff4ad4b77..000000000 --- a/quicksilverjs/proto/quicksilver/participationrewards/v1/participationrewards.proto +++ /dev/null @@ -1,76 +0,0 @@ -syntax = "proto3"; -package quicksilver.participationrewards.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/participationrewards/types"; - -// DistributionProportions defines the proportions of minted QCK that is to be -// allocated as participation rewards. -message DistributionProportions { - option (gogoproto.goproto_getters) = false; - - string validator_selection_allocation = 1 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string holdings_allocation = 2 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; - string lockup_allocation = 3 [ - (cosmos_proto.scalar) = "cosmos.Dec", - (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec", - (gogoproto.nullable) = false - ]; -} - -// Params holds parameters for the participationrewards module. -message Params_v1 { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - // distribution_proportions defines the proportions of the minted - // participation rewards; - DistributionProportions distribution_proportions = 1 - [ (gogoproto.nullable) = false ]; -} - -// Params holds parameters for the participationrewards module. -message Params { - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - // distribution_proportions defines the proportions of the minted - // participation rewards; - DistributionProportions distribution_proportions = 1 - [ (gogoproto.nullable) = false ]; - bool claims_enabled = 2; -} - -message KeyedProtocolData { - string key = 1; - ProtocolData protocol_data = 2; -} -// Protocol Data is an arbitrary data type held against a given zone for the -// determination of rewards. -message ProtocolData { - string type = 1; - bytes data = 2 [ (gogoproto.casttype) = "encoding/json.RawMessage" ]; -} - -enum ProtocolDataType { - option (gogoproto.goproto_enum_prefix) = false; - - // Undefined action (per protobuf spec) - ProtocolDataTypeUndefined = 0; - ProtocolDataTypeConnection = 1; - ProtocolDataTypeOsmosisParams = 2; - ProtocolDataTypeLiquidToken = 3; - ProtocolDataTypeOsmosisPool = 4; - ProtocolDataTypeCrescentPool = 5; - ProtocolDataTypeSifchainPool = 6; -} \ No newline at end of file diff --git a/quicksilverjs/proto/quicksilver/participationrewards/v1/proposals.proto b/quicksilverjs/proto/quicksilver/participationrewards/v1/proposals.proto deleted file mode 100644 index 5eafece86..000000000 --- a/quicksilverjs/proto/quicksilver/participationrewards/v1/proposals.proto +++ /dev/null @@ -1,41 +0,0 @@ -syntax = "proto3"; -package quicksilver.interchainstaking.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "google/api/annotations.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/participationrewards/types"; - -message AddProtocolDataProposal { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - option (gogoproto.goproto_stringer) = false; - - string title = 1; - string description = 2; - - string type = 4 [ (gogoproto.moretags) = "yaml:\"type\"" ]; - string data = 5 [ - (gogoproto.moretags) = "yaml:\"data\"", - (gogoproto.casttype) = "encoding/json.RawMessage" - ]; - string key = 6 [ (gogoproto.moretags) = "yaml:\"key\"" ]; -} - -message AddProtocolDataProposalWithDeposit { - option (gogoproto.equal) = false; - option (gogoproto.goproto_getters) = false; - - string title = 1; - string description = 2; - - string protocol = 3 [ (gogoproto.moretags) = "yaml:\"protocol\"" ]; - string type = 4 [ (gogoproto.moretags) = "yaml:\"type\"" ]; - string key = 5 [ (gogoproto.moretags) = "yaml:\"key\"" ]; - bytes data = 6 [ - (gogoproto.moretags) = "yaml:\"data\"", - (gogoproto.casttype) = "encoding/json.RawMessage" - ]; - string deposit = 7 [ (gogoproto.moretags) = "yaml:\"deposit\"" ]; -} diff --git a/quicksilverjs/proto/quicksilver/participationrewards/v1/query.proto b/quicksilverjs/proto/quicksilver/participationrewards/v1/query.proto deleted file mode 100644 index 73952df98..000000000 --- a/quicksilverjs/proto/quicksilver/participationrewards/v1/query.proto +++ /dev/null @@ -1,48 +0,0 @@ -syntax = "proto3"; -package quicksilver.participationrewards.v1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "quicksilver/participationrewards/v1/participationrewards.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/participationrewards/types"; - -// Query provides defines the gRPC querier service. -service Query { - // Params returns the total set of participation rewards parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = - "/quicksilver/participationrewards/v1/params"; - } - - // ProtocolData returns the requested protocol data. - rpc ProtocolData(QueryProtocolDataRequest) - returns (QueryProtocolDataResponse) { - option (google.api.http).get = - "/quicksilver/participationrewards/v1/protocoldata/{type}/{key}"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; -} - -// QueryProtocolDataRequest is the request type for querying Protocol Data. -message QueryProtocolDataRequest { - string type = 1; - string key = 2; -} - -// QueryProtocolDataResponse is the response type for querying Protocol Data. -message QueryProtocolDataResponse { - // data defines the underlying protocol data. - repeated bytes data = 1 [ - (gogoproto.moretags) = "yaml:\"data\"", - (gogoproto.casttype) = "encoding/json.RawMessage" - ]; -} \ No newline at end of file diff --git a/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/authorityMetadata.proto b/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/authorityMetadata.proto deleted file mode 100644 index cb00cb818..000000000 --- a/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/authorityMetadata.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package quicksilver.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/tokenfactory/types"; - -// DenomAuthorityMetadata specifies metadata for addresses that have specific -// capabilities over a token factory denom. Right now there is only one Admin -// permission, but is planned to be extended to the future. -message DenomAuthorityMetadata { - option (gogoproto.equal) = true; - - // Can be empty for no admin, or a valid quicksilver address - string admin = 1 [ (gogoproto.moretags) = "yaml:\"admin\"" ]; -} diff --git a/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/genesis.proto b/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/genesis.proto deleted file mode 100644 index 735acb71e..000000000 --- a/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/genesis.proto +++ /dev/null @@ -1,32 +0,0 @@ -syntax = "proto3"; -package quicksilver.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "quicksilver/tokenfactory/v1beta1/authorityMetadata.proto"; -import "quicksilver/tokenfactory/v1beta1/params.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/tokenfactory/types"; - -// GenesisState defines the tokenfactory module's genesis state. -message GenesisState { - // params defines the paramaters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; - - repeated GenesisDenom factory_denoms = 2 [ - (gogoproto.moretags) = "yaml:\"factory_denoms\"", - (gogoproto.nullable) = false - ]; -} - -// GenesisDenom defines a tokenfactory denom that is defined within genesis -// state. The structure contains DenomAuthorityMetadata which defines the -// denom's admin. -message GenesisDenom { - option (gogoproto.equal) = true; - - string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; - DenomAuthorityMetadata authority_metadata = 2 [ - (gogoproto.moretags) = "yaml:\"authority_metadata\"", - (gogoproto.nullable) = false - ]; -} diff --git a/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/params.proto b/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/params.proto deleted file mode 100644 index 4352361bf..000000000 --- a/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/params.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; -package quicksilver.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "quicksilver/tokenfactory/v1beta1/authorityMetadata.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/tokenfactory/types"; - -// Params defines the parameters for the tokenfactory module. -message Params { - repeated cosmos.base.v1beta1.Coin denom_creation_fee = 1 [ - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", - (gogoproto.moretags) = "yaml:\"denom_creation_fee\"", - (gogoproto.nullable) = false - ]; -} diff --git a/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/query.proto b/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/query.proto deleted file mode 100644 index 5dbc9f422..000000000 --- a/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/query.proto +++ /dev/null @@ -1,71 +0,0 @@ -syntax = "proto3"; -package quicksilver.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "quicksilver/tokenfactory/v1beta1/authorityMetadata.proto"; -import "quicksilver/tokenfactory/v1beta1/params.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/tokenfactory/types"; - -// Query defines the gRPC querier service. -service Query { - // Params defines a gRPC query method that returns the tokenfactory module's - // parameters. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/quicksilver/tokenfactory/v1beta1/params"; - } - - // DenomAuthorityMetadata defines a gRPC query method for fetching - // DenomAuthorityMetadata for a particular denom. - rpc DenomAuthorityMetadata(QueryDenomAuthorityMetadataRequest) - returns (QueryDenomAuthorityMetadataResponse) { - option (google.api.http).get = - "/quicksilver/tokenfactory/v1beta1/denoms/{denom}/authority_metadata"; - } - - // DenomsFromCreator defines a gRPC query method for fetching all - // denominations created by a specific admin/creator. - rpc DenomsFromCreator(QueryDenomsFromCreatorRequest) - returns (QueryDenomsFromCreatorResponse) { - option (google.api.http).get = - "/quicksilver/tokenfactory/v1beta1/denoms_from_creator/{creator}"; - } -} - -// QueryParamsRequest is the request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is the response type for the Query/Params RPC method. -message QueryParamsResponse { - // params defines the parameters of the module. - Params params = 1 [ (gogoproto.nullable) = false ]; -} - -// QueryDenomAuthorityMetadataRequest defines the request structure for the -// DenomAuthorityMetadata gRPC query. -message QueryDenomAuthorityMetadataRequest { - string denom = 1 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; -} - -// QueryDenomAuthorityMetadataResponse defines the response structure for the -// DenomAuthorityMetadata gRPC query. -message QueryDenomAuthorityMetadataResponse { - DenomAuthorityMetadata authority_metadata = 1 [ - (gogoproto.moretags) = "yaml:\"authority_metadata\"", - (gogoproto.nullable) = false - ]; -} - -// QueryDenomsFromCreatorRequest defines the request structure for the -// DenomsFromCreator gRPC query. -message QueryDenomsFromCreatorRequest { - string creator = 1 [ (gogoproto.moretags) = "yaml:\"creator\"" ]; -} - -// QueryDenomsFromCreatorRequest defines the response structure for the -// DenomsFromCreator gRPC query. -message QueryDenomsFromCreatorResponse { - repeated string denoms = 1 [ (gogoproto.moretags) = "yaml:\"denoms\"" ]; -} diff --git a/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/tx.proto b/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/tx.proto deleted file mode 100644 index 1dbefe211..000000000 --- a/quicksilverjs/proto/quicksilver/tokenfactory/v1beta1/tx.proto +++ /dev/null @@ -1,108 +0,0 @@ -syntax = "proto3"; -package quicksilver.tokenfactory.v1beta1; - -import "gogoproto/gogo.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "cosmos/bank/v1beta1/bank.proto"; - -option go_package = "github.com/ingenuity-build/quicksilver/x/tokenfactory/types"; - -// Msg defines the tokefactory module's gRPC message service. -service Msg { - rpc CreateDenom(MsgCreateDenom) returns (MsgCreateDenomResponse); - rpc Mint(MsgMint) returns (MsgMintResponse); - rpc Burn(MsgBurn) returns (MsgBurnResponse); - rpc ChangeAdmin(MsgChangeAdmin) returns (MsgChangeAdminResponse); - rpc SetDenomMetadata(MsgSetDenomMetadata) - returns (MsgSetDenomMetadataResponse); - - // ForceTransfer is deactivated for now because we need to think through edge - // cases rpc ForceTransfer(MsgForceTransfer) returns - // (MsgForceTransferResponse); -} - -// MsgCreateDenom defines the message structure for the CreateDenom gRPC service -// method. It allows an account to create a new denom. It requires a sender -// address and a sub denomination. The (sender_address, sub_denomination) tuple -// must be unique and cannot be re-used. -// -// The resulting denom created is defined as -// . The resulting denom's admin is -// originally set to be the creator, but this can be changed later. The token -// denom does not indicate the current admin. -message MsgCreateDenom { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - // subdenom can be up to 44 "alphanumeric" characters long. - string subdenom = 2 [ (gogoproto.moretags) = "yaml:\"subdenom\"" ]; -} - -// MsgCreateDenomResponse is the return value of MsgCreateDenom -// It returns the full string of the newly created denom -message MsgCreateDenomResponse { - string new_token_denom = 1 - [ (gogoproto.moretags) = "yaml:\"new_token_denom\"" ]; -} - -// MsgMint is the sdk.Msg type for allowing an admin account to mint -// more of a token. For now, we only support minting to the sender account -message MsgMint { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.base.v1beta1.Coin amount = 2 [ - (gogoproto.moretags) = "yaml:\"amount\"", - (gogoproto.nullable) = false - ]; -} - -message MsgMintResponse {} - -// MsgBurn is the sdk.Msg type for allowing an admin account to burn -// a token. For now, we only support burning from the sender account. -message MsgBurn { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.base.v1beta1.Coin amount = 2 [ - (gogoproto.moretags) = "yaml:\"amount\"", - (gogoproto.nullable) = false - ]; -} - -message MsgBurnResponse {} - -// MsgChangeAdmin is the sdk.Msg type for allowing an admin account to reassign -// adminship of a denom to a new account -message MsgChangeAdmin { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - string denom = 2 [ (gogoproto.moretags) = "yaml:\"denom\"" ]; - string new_admin = 3 [ (gogoproto.moretags) = "yaml:\"new_admin\"" ]; -} - -// MsgChangeAdminResponse defines the response structure for an executed -// MsgChangeAdmin message. -message MsgChangeAdminResponse {} - -// message MsgForceTransfer { -// string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; -// cosmos.base.v1beta1.Coin amount = 2 [ -// (gogoproto.moretags) = "yaml:\"amount\"", -// (gogoproto.nullable) = false -// ]; -// string transferFromAddress = 3 -// [ (gogoproto.moretags) = "yaml:\"transfer_from_address\"" ]; -// string transferToAddress = 4 -// [ (gogoproto.moretags) = "yaml:\"transfer_to_address\"" ]; -// } - -// message MsgForceTransferResponse {} - -// MsgSetDenomMetadata is the sdk.Msg type for allowing an admin account to set -// the denom's bank metadata -message MsgSetDenomMetadata { - string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; - cosmos.bank.v1beta1.Metadata metadata = 2 [ - (gogoproto.moretags) = "yaml:\"metadata\"", - (gogoproto.nullable) = false - ]; -} - -// MsgSetDenomMetadataResponse defines the response structure for an executed -// MsgSetDenomMetadata message. -message MsgSetDenomMetadataResponse {} \ No newline at end of file diff --git a/quicksilverjs/proto/tendermint/LICENSE b/quicksilverjs/proto/tendermint/LICENSE deleted file mode 100644 index eaf92fbf6..000000000 --- a/quicksilverjs/proto/tendermint/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -Tendermint Core -License: Apache2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2016 All in Bits, Inc - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/quicksilverjs/proto/tendermint/README.md b/quicksilverjs/proto/tendermint/README.md deleted file mode 100644 index 74fcf8b8b..000000000 --- a/quicksilverjs/proto/tendermint/README.md +++ /dev/null @@ -1 +0,0 @@ -# tendermint \ No newline at end of file diff --git a/quicksilverjs/proto/tendermint/abci/types.proto b/quicksilverjs/proto/tendermint/abci/types.proto deleted file mode 100644 index d41a52268..000000000 --- a/quicksilverjs/proto/tendermint/abci/types.proto +++ /dev/null @@ -1,394 +0,0 @@ -syntax = "proto3"; -package tendermint.abci; - -option go_package = "github.com/tendermint/tendermint/abci/types"; - -// For more information on gogo.proto, see: -// https://github.com/gogo/protobuf/blob/master/extensions.md -import "tendermint/crypto/proof.proto"; -import "tendermint/types/types.proto"; -import "tendermint/crypto/keys.proto"; -import "tendermint/types/params.proto"; -import "google/protobuf/timestamp.proto"; -import "gogoproto/gogo.proto"; - -// This file is copied from http://github.com/tendermint/abci -// NOTE: When using custom types, mind the warnings. -// https://github.com/gogo/protobuf/blob/master/custom_types.md#warnings-and-issues - -//---------------------------------------- -// Request types - -message Request { - oneof value { - RequestEcho echo = 1; - RequestFlush flush = 2; - RequestInfo info = 3; - RequestSetOption set_option = 4; - RequestInitChain init_chain = 5; - RequestQuery query = 6; - RequestBeginBlock begin_block = 7; - RequestCheckTx check_tx = 8; - RequestDeliverTx deliver_tx = 9; - RequestEndBlock end_block = 10; - RequestCommit commit = 11; - RequestListSnapshots list_snapshots = 12; - RequestOfferSnapshot offer_snapshot = 13; - RequestLoadSnapshotChunk load_snapshot_chunk = 14; - RequestApplySnapshotChunk apply_snapshot_chunk = 15; - } -} - -message RequestEcho { - string message = 1; -} - -message RequestFlush {} - -message RequestInfo { - string version = 1; - uint64 block_version = 2; - uint64 p2p_version = 3; -} - -// nondeterministic -message RequestSetOption { - string key = 1; - string value = 2; -} - -message RequestInitChain { - google.protobuf.Timestamp time = 1 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - string chain_id = 2; - ConsensusParams consensus_params = 3; - repeated ValidatorUpdate validators = 4 [(gogoproto.nullable) = false]; - bytes app_state_bytes = 5; - int64 initial_height = 6; -} - -message RequestQuery { - bytes data = 1; - string path = 2; - int64 height = 3; - bool prove = 4; -} - -message RequestBeginBlock { - bytes hash = 1; - tendermint.types.Header header = 2 [(gogoproto.nullable) = false]; - LastCommitInfo last_commit_info = 3 [(gogoproto.nullable) = false]; - repeated Evidence byzantine_validators = 4 [(gogoproto.nullable) = false]; -} - -enum CheckTxType { - NEW = 0 [(gogoproto.enumvalue_customname) = "New"]; - RECHECK = 1 [(gogoproto.enumvalue_customname) = "Recheck"]; -} - -message RequestCheckTx { - bytes tx = 1; - CheckTxType type = 2; -} - -message RequestDeliverTx { - bytes tx = 1; -} - -message RequestEndBlock { - int64 height = 1; -} - -message RequestCommit {} - -// lists available snapshots -message RequestListSnapshots {} - -// offers a snapshot to the application -message RequestOfferSnapshot { - Snapshot snapshot = 1; // snapshot offered by peers - bytes app_hash = 2; // light client-verified app hash for snapshot height -} - -// loads a snapshot chunk -message RequestLoadSnapshotChunk { - uint64 height = 1; - uint32 format = 2; - uint32 chunk = 3; -} - -// Applies a snapshot chunk -message RequestApplySnapshotChunk { - uint32 index = 1; - bytes chunk = 2; - string sender = 3; -} - -//---------------------------------------- -// Response types - -message Response { - oneof value { - ResponseException exception = 1; - ResponseEcho echo = 2; - ResponseFlush flush = 3; - ResponseInfo info = 4; - ResponseSetOption set_option = 5; - ResponseInitChain init_chain = 6; - ResponseQuery query = 7; - ResponseBeginBlock begin_block = 8; - ResponseCheckTx check_tx = 9; - ResponseDeliverTx deliver_tx = 10; - ResponseEndBlock end_block = 11; - ResponseCommit commit = 12; - ResponseListSnapshots list_snapshots = 13; - ResponseOfferSnapshot offer_snapshot = 14; - ResponseLoadSnapshotChunk load_snapshot_chunk = 15; - ResponseApplySnapshotChunk apply_snapshot_chunk = 16; - } -} - -// nondeterministic -message ResponseException { - string error = 1; -} - -message ResponseEcho { - string message = 1; -} - -message ResponseFlush {} - -message ResponseInfo { - string data = 1; - - string version = 2; - uint64 app_version = 3; - - int64 last_block_height = 4; - bytes last_block_app_hash = 5; -} - -// nondeterministic -message ResponseSetOption { - uint32 code = 1; - // bytes data = 2; - string log = 3; - string info = 4; -} - -message ResponseInitChain { - ConsensusParams consensus_params = 1; - repeated ValidatorUpdate validators = 2 [(gogoproto.nullable) = false]; - bytes app_hash = 3; -} - -message ResponseQuery { - uint32 code = 1; - // bytes data = 2; // use "value" instead. - string log = 3; // nondeterministic - string info = 4; // nondeterministic - int64 index = 5; - bytes key = 6; - bytes value = 7; - tendermint.crypto.ProofOps proof_ops = 8; - int64 height = 9; - string codespace = 10; -} - -message ResponseBeginBlock { - repeated Event events = 1 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; -} - -message ResponseCheckTx { - uint32 code = 1; - bytes data = 2; - string log = 3; // nondeterministic - string info = 4; // nondeterministic - int64 gas_wanted = 5 [json_name = "gas_wanted"]; - int64 gas_used = 6 [json_name = "gas_used"]; - repeated Event events = 7 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; - string codespace = 8; -} - -message ResponseDeliverTx { - uint32 code = 1; - bytes data = 2; - string log = 3; // nondeterministic - string info = 4; // nondeterministic - int64 gas_wanted = 5 [json_name = "gas_wanted"]; - int64 gas_used = 6 [json_name = "gas_used"]; - repeated Event events = 7 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; - string codespace = 8; -} - -message ResponseEndBlock { - repeated ValidatorUpdate validator_updates = 1 [(gogoproto.nullable) = false]; - ConsensusParams consensus_param_updates = 2; - repeated Event events = 3 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "events,omitempty"]; -} - -message ResponseCommit { - // reserve 1 - bytes data = 2; - int64 retain_height = 3; -} - -message ResponseListSnapshots { - repeated Snapshot snapshots = 1; -} - -message ResponseOfferSnapshot { - Result result = 1; - - enum Result { - UNKNOWN = 0; // Unknown result, abort all snapshot restoration - ACCEPT = 1; // Snapshot accepted, apply chunks - ABORT = 2; // Abort all snapshot restoration - REJECT = 3; // Reject this specific snapshot, try others - REJECT_FORMAT = 4; // Reject all snapshots of this format, try others - REJECT_SENDER = 5; // Reject all snapshots from the sender(s), try others - } -} - -message ResponseLoadSnapshotChunk { - bytes chunk = 1; -} - -message ResponseApplySnapshotChunk { - Result result = 1; - repeated uint32 refetch_chunks = 2; // Chunks to refetch and reapply - repeated string reject_senders = 3; // Chunk senders to reject and ban - - enum Result { - UNKNOWN = 0; // Unknown result, abort all snapshot restoration - ACCEPT = 1; // Chunk successfully accepted - ABORT = 2; // Abort all snapshot restoration - RETRY = 3; // Retry chunk (combine with refetch and reject) - RETRY_SNAPSHOT = 4; // Retry snapshot (combine with refetch and reject) - REJECT_SNAPSHOT = 5; // Reject this snapshot, try others - } -} - -//---------------------------------------- -// Misc. - -// ConsensusParams contains all consensus-relevant parameters -// that can be adjusted by the abci app -message ConsensusParams { - BlockParams block = 1; - tendermint.types.EvidenceParams evidence = 2; - tendermint.types.ValidatorParams validator = 3; - tendermint.types.VersionParams version = 4; -} - -// BlockParams contains limits on the block size. -message BlockParams { - // Note: must be greater than 0 - int64 max_bytes = 1; - // Note: must be greater or equal to -1 - int64 max_gas = 2; -} - -message LastCommitInfo { - int32 round = 1; - repeated VoteInfo votes = 2 [(gogoproto.nullable) = false]; -} - -// Event allows application developers to attach additional information to -// ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. -// Later, transactions may be queried using these events. -message Event { - string type = 1; - repeated EventAttribute attributes = 2 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "attributes,omitempty"]; -} - -// EventAttribute is a single key-value pair, associated with an event. -message EventAttribute { - bytes key = 1; - bytes value = 2; - bool index = 3; // nondeterministic -} - -// TxResult contains results of executing the transaction. -// -// One usage is indexing transaction results. -message TxResult { - int64 height = 1; - uint32 index = 2; - bytes tx = 3; - ResponseDeliverTx result = 4 [(gogoproto.nullable) = false]; -} - -//---------------------------------------- -// Blockchain Types - -// Validator -message Validator { - bytes address = 1; // The first 20 bytes of SHA256(public key) - // PubKey pub_key = 2 [(gogoproto.nullable)=false]; - int64 power = 3; // The voting power -} - -// ValidatorUpdate -message ValidatorUpdate { - tendermint.crypto.PublicKey pub_key = 1 [(gogoproto.nullable) = false]; - int64 power = 2; -} - -// VoteInfo -message VoteInfo { - Validator validator = 1 [(gogoproto.nullable) = false]; - bool signed_last_block = 2; -} - -enum EvidenceType { - UNKNOWN = 0; - DUPLICATE_VOTE = 1; - LIGHT_CLIENT_ATTACK = 2; -} - -message Evidence { - EvidenceType type = 1; - // The offending validator - Validator validator = 2 [(gogoproto.nullable) = false]; - // The height when the offense occurred - int64 height = 3; - // The corresponding time where the offense occurred - google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - // Total voting power of the validator set in case the ABCI application does - // not store historical validators. - // https://github.com/tendermint/tendermint/issues/4581 - int64 total_voting_power = 5; -} - -//---------------------------------------- -// State Sync Types - -message Snapshot { - uint64 height = 1; // The height at which the snapshot was taken - uint32 format = 2; // The application-specific snapshot format - uint32 chunks = 3; // Number of chunks in the snapshot - bytes hash = 4; // Arbitrary snapshot hash, equal only if identical - bytes metadata = 5; // Arbitrary application metadata -} - -//---------------------------------------- -// Service Definition - -service ABCIApplication { - rpc Echo(RequestEcho) returns (ResponseEcho); - rpc Flush(RequestFlush) returns (ResponseFlush); - rpc Info(RequestInfo) returns (ResponseInfo); - rpc SetOption(RequestSetOption) returns (ResponseSetOption); - rpc DeliverTx(RequestDeliverTx) returns (ResponseDeliverTx); - rpc CheckTx(RequestCheckTx) returns (ResponseCheckTx); - rpc Query(RequestQuery) returns (ResponseQuery); - rpc Commit(RequestCommit) returns (ResponseCommit); - rpc InitChain(RequestInitChain) returns (ResponseInitChain); - rpc BeginBlock(RequestBeginBlock) returns (ResponseBeginBlock); - rpc EndBlock(RequestEndBlock) returns (ResponseEndBlock); - rpc ListSnapshots(RequestListSnapshots) returns (ResponseListSnapshots); - rpc OfferSnapshot(RequestOfferSnapshot) returns (ResponseOfferSnapshot); - rpc LoadSnapshotChunk(RequestLoadSnapshotChunk) returns (ResponseLoadSnapshotChunk); - rpc ApplySnapshotChunk(RequestApplySnapshotChunk) returns (ResponseApplySnapshotChunk); -} diff --git a/quicksilverjs/proto/tendermint/crypto/keys.proto b/quicksilverjs/proto/tendermint/crypto/keys.proto deleted file mode 100644 index 16fd7adf3..000000000 --- a/quicksilverjs/proto/tendermint/crypto/keys.proto +++ /dev/null @@ -1,17 +0,0 @@ -syntax = "proto3"; -package tendermint.crypto; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto"; - -import "gogoproto/gogo.proto"; - -// PublicKey defines the keys available for use with Tendermint Validators -message PublicKey { - option (gogoproto.compare) = true; - option (gogoproto.equal) = true; - - oneof sum { - bytes ed25519 = 1; - bytes secp256k1 = 2; - } -} diff --git a/quicksilverjs/proto/tendermint/crypto/proof.proto b/quicksilverjs/proto/tendermint/crypto/proof.proto deleted file mode 100644 index 975df7685..000000000 --- a/quicksilverjs/proto/tendermint/crypto/proof.proto +++ /dev/null @@ -1,41 +0,0 @@ -syntax = "proto3"; -package tendermint.crypto; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/crypto"; - -import "gogoproto/gogo.proto"; - -message Proof { - int64 total = 1; - int64 index = 2; - bytes leaf_hash = 3; - repeated bytes aunts = 4; -} - -message ValueOp { - // Encoded in ProofOp.Key. - bytes key = 1; - - // To encode in ProofOp.Data - Proof proof = 2; -} - -message DominoOp { - string key = 1; - string input = 2; - string output = 3; -} - -// ProofOp defines an operation used for calculating Merkle root -// The data could be arbitrary format, providing nessecary data -// for example neighbouring node hash -message ProofOp { - string type = 1; - bytes key = 2; - bytes data = 3; -} - -// ProofOps is Merkle proof defined by the list of ProofOps -message ProofOps { - repeated ProofOp ops = 1 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/tendermint/libs/bits/types.proto b/quicksilverjs/proto/tendermint/libs/bits/types.proto deleted file mode 100644 index 3111d113a..000000000 --- a/quicksilverjs/proto/tendermint/libs/bits/types.proto +++ /dev/null @@ -1,9 +0,0 @@ -syntax = "proto3"; -package tendermint.libs.bits; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/libs/bits"; - -message BitArray { - int64 bits = 1; - repeated uint64 elems = 2; -} diff --git a/quicksilverjs/proto/tendermint/p2p/types.proto b/quicksilverjs/proto/tendermint/p2p/types.proto deleted file mode 100644 index 216a6d8d0..000000000 --- a/quicksilverjs/proto/tendermint/p2p/types.proto +++ /dev/null @@ -1,42 +0,0 @@ -syntax = "proto3"; -package tendermint.p2p; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/p2p"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; - -message ProtocolVersion { - uint64 p2p = 1 [(gogoproto.customname) = "P2P"]; - uint64 block = 2; - uint64 app = 3; -} - -message NodeInfo { - ProtocolVersion protocol_version = 1 [(gogoproto.nullable) = false]; - string node_id = 2 [(gogoproto.customname) = "NodeID"]; - string listen_addr = 3; - string network = 4; - string version = 5; - bytes channels = 6; - string moniker = 7; - NodeInfoOther other = 8 [(gogoproto.nullable) = false]; -} - -message NodeInfoOther { - string tx_index = 1; - string rpc_address = 2 [(gogoproto.customname) = "RPCAddress"]; -} - -message PeerInfo { - string id = 1 [(gogoproto.customname) = "ID"]; - repeated PeerAddressInfo address_info = 2; - google.protobuf.Timestamp last_connected = 3 [(gogoproto.stdtime) = true]; -} - -message PeerAddressInfo { - string address = 1; - google.protobuf.Timestamp last_dial_success = 2 [(gogoproto.stdtime) = true]; - google.protobuf.Timestamp last_dial_failure = 3 [(gogoproto.stdtime) = true]; - uint32 dial_failures = 4; -} diff --git a/quicksilverjs/proto/tendermint/types/block.proto b/quicksilverjs/proto/tendermint/types/block.proto deleted file mode 100644 index 84e9bb15d..000000000 --- a/quicksilverjs/proto/tendermint/types/block.proto +++ /dev/null @@ -1,15 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "tendermint/types/types.proto"; -import "tendermint/types/evidence.proto"; - -message Block { - Header header = 1 [(gogoproto.nullable) = false]; - Data data = 2 [(gogoproto.nullable) = false]; - tendermint.types.EvidenceList evidence = 3 [(gogoproto.nullable) = false]; - Commit last_commit = 4; -} diff --git a/quicksilverjs/proto/tendermint/types/evidence.proto b/quicksilverjs/proto/tendermint/types/evidence.proto deleted file mode 100644 index d9548a430..000000000 --- a/quicksilverjs/proto/tendermint/types/evidence.proto +++ /dev/null @@ -1,38 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "tendermint/types/types.proto"; -import "tendermint/types/validator.proto"; - -message Evidence { - oneof sum { - DuplicateVoteEvidence duplicate_vote_evidence = 1; - LightClientAttackEvidence light_client_attack_evidence = 2; - } -} - -// DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. -message DuplicateVoteEvidence { - tendermint.types.Vote vote_a = 1; - tendermint.types.Vote vote_b = 2; - int64 total_voting_power = 3; - int64 validator_power = 4; - google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -// LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. -message LightClientAttackEvidence { - tendermint.types.LightBlock conflicting_block = 1; - int64 common_height = 2; - repeated tendermint.types.Validator byzantine_validators = 3; - int64 total_voting_power = 4; - google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; -} - -message EvidenceList { - repeated Evidence evidence = 1 [(gogoproto.nullable) = false]; -} diff --git a/quicksilverjs/proto/tendermint/types/params.proto b/quicksilverjs/proto/tendermint/types/params.proto deleted file mode 100644 index 70789222a..000000000 --- a/quicksilverjs/proto/tendermint/types/params.proto +++ /dev/null @@ -1,79 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/duration.proto"; - -option (gogoproto.equal_all) = true; - -// ConsensusParams contains consensus critical parameters that determine the -// validity of blocks. -message ConsensusParams { - BlockParams block = 1 [(gogoproto.nullable) = false]; - EvidenceParams evidence = 2 [(gogoproto.nullable) = false]; - ValidatorParams validator = 3 [(gogoproto.nullable) = false]; - VersionParams version = 4 [(gogoproto.nullable) = false]; -} - -// BlockParams contains limits on the block size. -message BlockParams { - // Max block size, in bytes. - // Note: must be greater than 0 - int64 max_bytes = 1; - // Max gas per block. - // Note: must be greater or equal to -1 - int64 max_gas = 2; - // Minimum time increment between consecutive blocks (in milliseconds) If the - // block header timestamp is ahead of the system clock, decrease this value. - // - // Not exposed to the application. - int64 time_iota_ms = 3; -} - -// EvidenceParams determine how we handle evidence of malfeasance. -message EvidenceParams { - // Max age of evidence, in blocks. - // - // The basic formula for calculating this is: MaxAgeDuration / {average block - // time}. - int64 max_age_num_blocks = 1; - - // Max age of evidence, in time. - // - // It should correspond with an app's "unbonding period" or other similar - // mechanism for handling [Nothing-At-Stake - // attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed). - google.protobuf.Duration max_age_duration = 2 [(gogoproto.nullable) = false, (gogoproto.stdduration) = true]; - - // This sets the maximum size of total evidence in bytes that can be committed in a single block. - // and should fall comfortably under the max block bytes. - // Default is 1048576 or 1MB - int64 max_bytes = 3; -} - -// ValidatorParams restrict the public key types validators can use. -// NOTE: uses ABCI pubkey naming, not Amino names. -message ValidatorParams { - option (gogoproto.populate) = true; - option (gogoproto.equal) = true; - - repeated string pub_key_types = 1; -} - -// VersionParams contains the ABCI application version. -message VersionParams { - option (gogoproto.populate) = true; - option (gogoproto.equal) = true; - - uint64 app_version = 1; -} - -// HashedParams is a subset of ConsensusParams. -// -// It is hashed into the Header.ConsensusHash. -message HashedParams { - int64 block_max_bytes = 1; - int64 block_max_gas = 2; -} diff --git a/quicksilverjs/proto/tendermint/types/types.proto b/quicksilverjs/proto/tendermint/types/types.proto deleted file mode 100644 index 57efc33c5..000000000 --- a/quicksilverjs/proto/tendermint/types/types.proto +++ /dev/null @@ -1,153 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "google/protobuf/timestamp.proto"; -import "tendermint/crypto/proof.proto"; -import "tendermint/version/types.proto"; -import "tendermint/types/validator.proto"; - -// BlockIdFlag indicates which BlcokID the signature is for -enum BlockIDFlag { - option (gogoproto.goproto_enum_stringer) = true; - option (gogoproto.goproto_enum_prefix) = false; - - BLOCK_ID_FLAG_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "BlockIDFlagUnknown"]; - BLOCK_ID_FLAG_ABSENT = 1 [(gogoproto.enumvalue_customname) = "BlockIDFlagAbsent"]; - BLOCK_ID_FLAG_COMMIT = 2 [(gogoproto.enumvalue_customname) = "BlockIDFlagCommit"]; - BLOCK_ID_FLAG_NIL = 3 [(gogoproto.enumvalue_customname) = "BlockIDFlagNil"]; -} - -// SignedMsgType is a type of signed message in the consensus. -enum SignedMsgType { - option (gogoproto.goproto_enum_stringer) = true; - option (gogoproto.goproto_enum_prefix) = false; - - SIGNED_MSG_TYPE_UNKNOWN = 0 [(gogoproto.enumvalue_customname) = "UnknownType"]; - // Votes - SIGNED_MSG_TYPE_PREVOTE = 1 [(gogoproto.enumvalue_customname) = "PrevoteType"]; - SIGNED_MSG_TYPE_PRECOMMIT = 2 [(gogoproto.enumvalue_customname) = "PrecommitType"]; - - // Proposals - SIGNED_MSG_TYPE_PROPOSAL = 32 [(gogoproto.enumvalue_customname) = "ProposalType"]; -} - -// PartsetHeader -message PartSetHeader { - uint32 total = 1; - bytes hash = 2; -} - -message Part { - uint32 index = 1; - bytes bytes = 2; - tendermint.crypto.Proof proof = 3 [(gogoproto.nullable) = false]; -} - -// BlockID -message BlockID { - bytes hash = 1; - PartSetHeader part_set_header = 2 [(gogoproto.nullable) = false]; -} - -// -------------------------------- - -// Header defines the structure of a Tendermint block header. -message Header { - // basic block info - tendermint.version.Consensus version = 1 [(gogoproto.nullable) = false]; - string chain_id = 2 [(gogoproto.customname) = "ChainID"]; - int64 height = 3; - google.protobuf.Timestamp time = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - - // prev block info - BlockID last_block_id = 5 [(gogoproto.nullable) = false]; - - // hashes of block data - bytes last_commit_hash = 6; // commit from validators from the last block - bytes data_hash = 7; // transactions - - // hashes from the app output from the prev block - bytes validators_hash = 8; // validators for the current block - bytes next_validators_hash = 9; // validators for the next block - bytes consensus_hash = 10; // consensus params for current block - bytes app_hash = 11; // state after txs from the previous block - bytes last_results_hash = 12; // root hash of all results from the txs from the previous block - - // consensus info - bytes evidence_hash = 13; // evidence included in the block - bytes proposer_address = 14; // original proposer of the block -} - -// Data contains the set of transactions included in the block -message Data { - // Txs that will be applied by state @ block.Height+1. - // NOTE: not all txs here are valid. We're just agreeing on the order first. - // This means that block.AppHash does not include these txs. - repeated bytes txs = 1; -} - -// Vote represents a prevote, precommit, or commit vote from validators for -// consensus. -message Vote { - SignedMsgType type = 1; - int64 height = 2; - int32 round = 3; - BlockID block_id = 4 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; // zero if vote is nil. - google.protobuf.Timestamp timestamp = 5 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes validator_address = 6; - int32 validator_index = 7; - bytes signature = 8; -} - -// Commit contains the evidence that a block was committed by a set of validators. -message Commit { - int64 height = 1; - int32 round = 2; - BlockID block_id = 3 [(gogoproto.nullable) = false, (gogoproto.customname) = "BlockID"]; - repeated CommitSig signatures = 4 [(gogoproto.nullable) = false]; -} - -// CommitSig is a part of the Vote included in a Commit. -message CommitSig { - BlockIDFlag block_id_flag = 1; - bytes validator_address = 2; - google.protobuf.Timestamp timestamp = 3 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes signature = 4; -} - -message Proposal { - SignedMsgType type = 1; - int64 height = 2; - int32 round = 3; - int32 pol_round = 4; - BlockID block_id = 5 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; - google.protobuf.Timestamp timestamp = 6 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true]; - bytes signature = 7; -} - -message SignedHeader { - Header header = 1; - Commit commit = 2; -} - -message LightBlock { - SignedHeader signed_header = 1; - tendermint.types.ValidatorSet validator_set = 2; -} - -message BlockMeta { - BlockID block_id = 1 [(gogoproto.customname) = "BlockID", (gogoproto.nullable) = false]; - int64 block_size = 2; - Header header = 3 [(gogoproto.nullable) = false]; - int64 num_txs = 4; -} - -// TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. -message TxProof { - bytes root_hash = 1; - bytes data = 2; - tendermint.crypto.Proof proof = 3; -} diff --git a/quicksilverjs/proto/tendermint/types/validator.proto b/quicksilverjs/proto/tendermint/types/validator.proto deleted file mode 100644 index 49860b96d..000000000 --- a/quicksilverjs/proto/tendermint/types/validator.proto +++ /dev/null @@ -1,25 +0,0 @@ -syntax = "proto3"; -package tendermint.types; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/types"; - -import "gogoproto/gogo.proto"; -import "tendermint/crypto/keys.proto"; - -message ValidatorSet { - repeated Validator validators = 1; - Validator proposer = 2; - int64 total_voting_power = 3; -} - -message Validator { - bytes address = 1; - tendermint.crypto.PublicKey pub_key = 2 [(gogoproto.nullable) = false]; - int64 voting_power = 3; - int64 proposer_priority = 4; -} - -message SimpleValidator { - tendermint.crypto.PublicKey pub_key = 1; - int64 voting_power = 2; -} diff --git a/quicksilverjs/proto/tendermint/version/types.proto b/quicksilverjs/proto/tendermint/version/types.proto deleted file mode 100644 index 6061868bd..000000000 --- a/quicksilverjs/proto/tendermint/version/types.proto +++ /dev/null @@ -1,24 +0,0 @@ -syntax = "proto3"; -package tendermint.version; - -option go_package = "github.com/tendermint/tendermint/proto/tendermint/version"; - -import "gogoproto/gogo.proto"; - -// App includes the protocol and software version for the application. -// This information is included in ResponseInfo. The App.Protocol can be -// updated in ResponseEndBlock. -message App { - uint64 protocol = 1; - string software = 2; -} - -// Consensus captures the consensus rules for processing a block in the blockchain, -// including all blockchain data structures and the rules of the application's -// state transition machine. -message Consensus { - option (gogoproto.equal) = true; - - uint64 block = 1; - uint64 app = 2; -} diff --git a/quicksilverjs/scripts/aminos.js b/quicksilverjs/scripts/aminos.js deleted file mode 100644 index fe7aee16c..000000000 --- a/quicksilverjs/scripts/aminos.js +++ /dev/null @@ -1,29 +0,0 @@ -module.exports.AMINO_MAP = { - // PUT YOUR AMINO names here... - // Staking - // '/cosmos.staking.v1beta1.MsgCreateValidator': { - // aminoType: 'cosmos-sdk/MsgCreateValidator' - // }, - // '/cosmos.staking.v1beta1.MsgEditValidator': { - // aminoType: 'cosmos-sdk/MsgEditValidator' - // }, - // '/cosmos.staking.v1beta1.MsgDelegate': { - // aminoType: 'cosmos-sdk/MsgDelegate' - // }, - // '/cosmos.staking.v1beta1.MsgUndelegate': { - // aminoType: 'cosmos-sdk/MsgUndelegate' - // }, - // '/cosmos.staking.v1beta1.MsgBeginRedelegate': { - // aminoType: 'cosmos-sdk/MsgBeginRedelegate' - // }, - // '/cosmos.staking.v1beta1.MsgCancelUnbondingDelegation': { - // aminoType: 'cosmos-sdk/MsgCancelUnbondingDelegation' - // }, - // '/cosmos.staking.v1beta1.MsgUpdateParams': { - // aminoType: 'cosmos-sdk/x/staking/MsgUpdateParams' - // }, - // // IBC - // '/ibc.applications.transfer.v1.MsgTransfer': { - // aminoType: 'cosmos-sdk/MsgTransfer' - // } -}; diff --git a/quicksilverjs/scripts/codegen.js b/quicksilverjs/scripts/codegen.js deleted file mode 100644 index 3b3fa31b8..000000000 --- a/quicksilverjs/scripts/codegen.js +++ /dev/null @@ -1,107 +0,0 @@ -const { join } = require('path'); -const telescope = require('@cosmology/telescope').default; -const rimraf = require('rimraf').rimrafSync; -const { AMINO_MAP } = require('./aminos'); - -const protoDirs = [join(__dirname, '/../proto')]; -const outPath = join(__dirname, '../src/codegen'); -rimraf(outPath); - -telescope({ - protoDirs, - outPath, - options: { - tsDisable: { - files: [ - 'cosmos/authz/v1beta1/tx.amino.ts', - 'cosmos/staking/v1beta1/tx.amino.ts' - ], - patterns: ['**/*amino.ts', '**/*registry.ts'] - }, - prototypes: { - includePackageVar: false, - removeUnusedImports: true, - experimentalGlobalProtoNamespace: true, - interfaces: { - enabled: true, - useUnionTypes: false - }, - excluded: { - packages: [ - // 'ibc.applications.fee.v1', - - 'cosmos.app.v1alpha1', - 'cosmos.app.v1beta1', - 'cosmos.autocli.v1', - 'cosmos.base.kv.v1beta1', - 'cosmos.base.reflection.v1beta1', - 'cosmos.base.snapshots.v1beta1', - 'cosmos.base.store.v1beta1', - 'cosmos.base.tendermint.v1beta1', - 'cosmos.capability.v1beta1', - 'cosmos.crisis.v1beta1', - 'cosmos.evidence.v1beta1', - 'cosmos.feegrant.v1beta1', - 'cosmos.genutil.v1beta1', - 'cosmos.gov.v1', - 'cosmos.group.v1', - 'cosmos.group.v1beta1', - 'cosmos.mint.v1beta1', - 'cosmos.msg.v1', - 'cosmos.nft.v1beta1', - 'cosmos.orm.v1', - 'cosmos.orm.v1alpha1', - 'cosmos.params.v1beta1', - 'cosmos.slashing.v1beta1', - 'cosmos.vesting.v1beta1', - // 'google.api', - 'ibc.core.port.v1', - 'ibc.core.types.v1' - ] - }, - methods: { - fromJSON: false, - toJSON: false, - encode: true, - decode: true, - fromPartial: true, - toAmino: true, - fromAmino: true, - fromProto: true, - toProto: true - }, - parser: { - keepCase: false - } - }, - typingsFormat: { - duration: 'duration', - timestamp: 'date', - useExact: false, - useDeepPartial: false, - num64: 'bigint', - customTypes: { - useCosmosSDKDec: true - } - }, - aminoEncoding: { - enabled: true, - exceptions: AMINO_MAP, - useRecursiveV2encoding: true - }, - lcdClients: { - enabled: false - }, - rpcClients: { - enabled: true, - camelCase: true - } - } -}) - .then(() => { - console.log('✨ all done!'); - }) - .catch((e) => { - console.error(e); - process.exit(1); - }); diff --git a/quicksilverjs/src/codegen/confio/proofs.ts b/quicksilverjs/src/codegen/confio/proofs.ts deleted file mode 100644 index 2d40f13b2..000000000 --- a/quicksilverjs/src/codegen/confio/proofs.ts +++ /dev/null @@ -1,2351 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../helpers"; -export const protobufPackage = "ics23"; -export enum HashOp { - /** NO_HASH - NO_HASH is the default if no data passed. Note this is an illegal argument some places. */ - NO_HASH = 0, - SHA256 = 1, - SHA512 = 2, - KECCAK = 3, - RIPEMD160 = 4, - /** BITCOIN - ripemd160(sha256(x)) */ - BITCOIN = 5, - UNRECOGNIZED = -1, -} -export const HashOpSDKType = HashOp; -export const HashOpAmino = HashOp; -export function hashOpFromJSON(object: any): HashOp { - switch (object) { - case 0: - case "NO_HASH": - return HashOp.NO_HASH; - case 1: - case "SHA256": - return HashOp.SHA256; - case 2: - case "SHA512": - return HashOp.SHA512; - case 3: - case "KECCAK": - return HashOp.KECCAK; - case 4: - case "RIPEMD160": - return HashOp.RIPEMD160; - case 5: - case "BITCOIN": - return HashOp.BITCOIN; - case -1: - case "UNRECOGNIZED": - default: - return HashOp.UNRECOGNIZED; - } -} -export function hashOpToJSON(object: HashOp): string { - switch (object) { - case HashOp.NO_HASH: - return "NO_HASH"; - case HashOp.SHA256: - return "SHA256"; - case HashOp.SHA512: - return "SHA512"; - case HashOp.KECCAK: - return "KECCAK"; - case HashOp.RIPEMD160: - return "RIPEMD160"; - case HashOp.BITCOIN: - return "BITCOIN"; - case HashOp.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * LengthOp defines how to process the key and value of the LeafOp - * to include length information. After encoding the length with the given - * algorithm, the length will be prepended to the key and value bytes. - * (Each one with it's own encoded length) - */ -export enum LengthOp { - /** NO_PREFIX - NO_PREFIX don't include any length info */ - NO_PREFIX = 0, - /** VAR_PROTO - VAR_PROTO uses protobuf (and go-amino) varint encoding of the length */ - VAR_PROTO = 1, - /** VAR_RLP - VAR_RLP uses rlp int encoding of the length */ - VAR_RLP = 2, - /** FIXED32_BIG - FIXED32_BIG uses big-endian encoding of the length as a 32 bit integer */ - FIXED32_BIG = 3, - /** FIXED32_LITTLE - FIXED32_LITTLE uses little-endian encoding of the length as a 32 bit integer */ - FIXED32_LITTLE = 4, - /** FIXED64_BIG - FIXED64_BIG uses big-endian encoding of the length as a 64 bit integer */ - FIXED64_BIG = 5, - /** FIXED64_LITTLE - FIXED64_LITTLE uses little-endian encoding of the length as a 64 bit integer */ - FIXED64_LITTLE = 6, - /** REQUIRE_32_BYTES - REQUIRE_32_BYTES is like NONE, but will fail if the input is not exactly 32 bytes (sha256 output) */ - REQUIRE_32_BYTES = 7, - /** REQUIRE_64_BYTES - REQUIRE_64_BYTES is like NONE, but will fail if the input is not exactly 64 bytes (sha512 output) */ - REQUIRE_64_BYTES = 8, - UNRECOGNIZED = -1, -} -export const LengthOpSDKType = LengthOp; -export const LengthOpAmino = LengthOp; -export function lengthOpFromJSON(object: any): LengthOp { - switch (object) { - case 0: - case "NO_PREFIX": - return LengthOp.NO_PREFIX; - case 1: - case "VAR_PROTO": - return LengthOp.VAR_PROTO; - case 2: - case "VAR_RLP": - return LengthOp.VAR_RLP; - case 3: - case "FIXED32_BIG": - return LengthOp.FIXED32_BIG; - case 4: - case "FIXED32_LITTLE": - return LengthOp.FIXED32_LITTLE; - case 5: - case "FIXED64_BIG": - return LengthOp.FIXED64_BIG; - case 6: - case "FIXED64_LITTLE": - return LengthOp.FIXED64_LITTLE; - case 7: - case "REQUIRE_32_BYTES": - return LengthOp.REQUIRE_32_BYTES; - case 8: - case "REQUIRE_64_BYTES": - return LengthOp.REQUIRE_64_BYTES; - case -1: - case "UNRECOGNIZED": - default: - return LengthOp.UNRECOGNIZED; - } -} -export function lengthOpToJSON(object: LengthOp): string { - switch (object) { - case LengthOp.NO_PREFIX: - return "NO_PREFIX"; - case LengthOp.VAR_PROTO: - return "VAR_PROTO"; - case LengthOp.VAR_RLP: - return "VAR_RLP"; - case LengthOp.FIXED32_BIG: - return "FIXED32_BIG"; - case LengthOp.FIXED32_LITTLE: - return "FIXED32_LITTLE"; - case LengthOp.FIXED64_BIG: - return "FIXED64_BIG"; - case LengthOp.FIXED64_LITTLE: - return "FIXED64_LITTLE"; - case LengthOp.REQUIRE_32_BYTES: - return "REQUIRE_32_BYTES"; - case LengthOp.REQUIRE_64_BYTES: - return "REQUIRE_64_BYTES"; - case LengthOp.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * ExistenceProof takes a key and a value and a set of steps to perform on it. - * The result of peforming all these steps will provide a "root hash", which can - * be compared to the value in a header. - * - * Since it is computationally infeasible to produce a hash collission for any of the used - * cryptographic hash functions, if someone can provide a series of operations to transform - * a given key and value into a root hash that matches some trusted root, these key and values - * must be in the referenced merkle tree. - * - * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, - * which should be controlled by a spec. Eg. with lengthOp as NONE, - * prefix = FOO, key = BAR, value = CHOICE - * and - * prefix = F, key = OOBAR, value = CHOICE - * would produce the same value. - * - * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field - * in the ProofSpec is valuable to prevent this mutability. And why all trees should - * length-prefix the data before hashing it. - */ -export interface ExistenceProof { - key: Uint8Array; - value: Uint8Array; - leaf: LeafOp; - path: InnerOp[]; -} -export interface ExistenceProofProtoMsg { - typeUrl: "/ics23.ExistenceProof"; - value: Uint8Array; -} -/** - * ExistenceProof takes a key and a value and a set of steps to perform on it. - * The result of peforming all these steps will provide a "root hash", which can - * be compared to the value in a header. - * - * Since it is computationally infeasible to produce a hash collission for any of the used - * cryptographic hash functions, if someone can provide a series of operations to transform - * a given key and value into a root hash that matches some trusted root, these key and values - * must be in the referenced merkle tree. - * - * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, - * which should be controlled by a spec. Eg. with lengthOp as NONE, - * prefix = FOO, key = BAR, value = CHOICE - * and - * prefix = F, key = OOBAR, value = CHOICE - * would produce the same value. - * - * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field - * in the ProofSpec is valuable to prevent this mutability. And why all trees should - * length-prefix the data before hashing it. - */ -export interface ExistenceProofAmino { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOpAmino; - path: InnerOpAmino[]; -} -export interface ExistenceProofAminoMsg { - type: "/ics23.ExistenceProof"; - value: ExistenceProofAmino; -} -/** - * ExistenceProof takes a key and a value and a set of steps to perform on it. - * The result of peforming all these steps will provide a "root hash", which can - * be compared to the value in a header. - * - * Since it is computationally infeasible to produce a hash collission for any of the used - * cryptographic hash functions, if someone can provide a series of operations to transform - * a given key and value into a root hash that matches some trusted root, these key and values - * must be in the referenced merkle tree. - * - * The only possible issue is maliablity in LeafOp, such as providing extra prefix data, - * which should be controlled by a spec. Eg. with lengthOp as NONE, - * prefix = FOO, key = BAR, value = CHOICE - * and - * prefix = F, key = OOBAR, value = CHOICE - * would produce the same value. - * - * With LengthOp this is tricker but not impossible. Which is why the "leafPrefixEqual" field - * in the ProofSpec is valuable to prevent this mutability. And why all trees should - * length-prefix the data before hashing it. - */ -export interface ExistenceProofSDKType { - key: Uint8Array; - value: Uint8Array; - leaf: LeafOpSDKType; - path: InnerOpSDKType[]; -} -/** - * NonExistenceProof takes a proof of two neighbors, one left of the desired key, - * one right of the desired key. If both proofs are valid AND they are neighbors, - * then there is no valid proof for the given key. - */ -export interface NonExistenceProof { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left: ExistenceProof; - right: ExistenceProof; -} -export interface NonExistenceProofProtoMsg { - typeUrl: "/ics23.NonExistenceProof"; - value: Uint8Array; -} -/** - * NonExistenceProof takes a proof of two neighbors, one left of the desired key, - * one right of the desired key. If both proofs are valid AND they are neighbors, - * then there is no valid proof for the given key. - */ -export interface NonExistenceProofAmino { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left?: ExistenceProofAmino; - right?: ExistenceProofAmino; -} -export interface NonExistenceProofAminoMsg { - type: "/ics23.NonExistenceProof"; - value: NonExistenceProofAmino; -} -/** - * NonExistenceProof takes a proof of two neighbors, one left of the desired key, - * one right of the desired key. If both proofs are valid AND they are neighbors, - * then there is no valid proof for the given key. - */ -export interface NonExistenceProofSDKType { - key: Uint8Array; - left: ExistenceProofSDKType; - right: ExistenceProofSDKType; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ -export interface CommitmentProof { - exist?: ExistenceProof; - nonexist?: NonExistenceProof; - batch?: BatchProof; - compressed?: CompressedBatchProof; -} -export interface CommitmentProofProtoMsg { - typeUrl: "/ics23.CommitmentProof"; - value: Uint8Array; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ -export interface CommitmentProofAmino { - exist?: ExistenceProofAmino; - nonexist?: NonExistenceProofAmino; - batch?: BatchProofAmino; - compressed?: CompressedBatchProofAmino; -} -export interface CommitmentProofAminoMsg { - type: "/ics23.CommitmentProof"; - value: CommitmentProofAmino; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ -export interface CommitmentProofSDKType { - exist?: ExistenceProofSDKType; - nonexist?: NonExistenceProofSDKType; - batch?: BatchProofSDKType; - compressed?: CompressedBatchProofSDKType; -} -/** - * LeafOp represents the raw key-value data we wish to prove, and - * must be flexible to represent the internal transformation from - * the original key-value pairs into the basis hash, for many existing - * merkle trees. - * - * key and value are passed in. So that the signature of this operation is: - * leafOp(key, value) -> output - * - * To process this, first prehash the keys and values if needed (ANY means no hash in this case): - * hkey = prehashKey(key) - * hvalue = prehashValue(value) - * - * Then combine the bytes, and hash it - * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) - */ -export interface LeafOp { - hash: HashOp; - prehashKey: HashOp; - prehashValue: HashOp; - length: LengthOp; - /** - * prefix is a fixed bytes that may optionally be included at the beginning to differentiate - * a leaf node from an inner node. - */ - prefix: Uint8Array; -} -export interface LeafOpProtoMsg { - typeUrl: "/ics23.LeafOp"; - value: Uint8Array; -} -/** - * LeafOp represents the raw key-value data we wish to prove, and - * must be flexible to represent the internal transformation from - * the original key-value pairs into the basis hash, for many existing - * merkle trees. - * - * key and value are passed in. So that the signature of this operation is: - * leafOp(key, value) -> output - * - * To process this, first prehash the keys and values if needed (ANY means no hash in this case): - * hkey = prehashKey(key) - * hvalue = prehashValue(value) - * - * Then combine the bytes, and hash it - * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) - */ -export interface LeafOpAmino { - hash: HashOp; - prehash_key: HashOp; - prehash_value: HashOp; - length: LengthOp; - /** - * prefix is a fixed bytes that may optionally be included at the beginning to differentiate - * a leaf node from an inner node. - */ - prefix: Uint8Array; -} -export interface LeafOpAminoMsg { - type: "/ics23.LeafOp"; - value: LeafOpAmino; -} -/** - * LeafOp represents the raw key-value data we wish to prove, and - * must be flexible to represent the internal transformation from - * the original key-value pairs into the basis hash, for many existing - * merkle trees. - * - * key and value are passed in. So that the signature of this operation is: - * leafOp(key, value) -> output - * - * To process this, first prehash the keys and values if needed (ANY means no hash in this case): - * hkey = prehashKey(key) - * hvalue = prehashValue(value) - * - * Then combine the bytes, and hash it - * output = hash(prefix || length(hkey) || hkey || length(hvalue) || hvalue) - */ -export interface LeafOpSDKType { - hash: HashOp; - prehash_key: HashOp; - prehash_value: HashOp; - length: LengthOp; - prefix: Uint8Array; -} -/** - * InnerOp represents a merkle-proof step that is not a leaf. - * It represents concatenating two children and hashing them to provide the next result. - * - * The result of the previous step is passed in, so the signature of this op is: - * innerOp(child) -> output - * - * The result of applying InnerOp should be: - * output = op.hash(op.prefix || child || op.suffix) - * - * where the || operator is concatenation of binary data, - * and child is the result of hashing all the tree below this step. - * - * Any special data, like prepending child with the length, or prepending the entire operation with - * some value to differentiate from leaf nodes, should be included in prefix and suffix. - * If either of prefix or suffix is empty, we just treat it as an empty string - */ -export interface InnerOp { - hash: HashOp; - prefix: Uint8Array; - suffix: Uint8Array; -} -export interface InnerOpProtoMsg { - typeUrl: "/ics23.InnerOp"; - value: Uint8Array; -} -/** - * InnerOp represents a merkle-proof step that is not a leaf. - * It represents concatenating two children and hashing them to provide the next result. - * - * The result of the previous step is passed in, so the signature of this op is: - * innerOp(child) -> output - * - * The result of applying InnerOp should be: - * output = op.hash(op.prefix || child || op.suffix) - * - * where the || operator is concatenation of binary data, - * and child is the result of hashing all the tree below this step. - * - * Any special data, like prepending child with the length, or prepending the entire operation with - * some value to differentiate from leaf nodes, should be included in prefix and suffix. - * If either of prefix or suffix is empty, we just treat it as an empty string - */ -export interface InnerOpAmino { - hash: HashOp; - prefix: Uint8Array; - suffix: Uint8Array; -} -export interface InnerOpAminoMsg { - type: "/ics23.InnerOp"; - value: InnerOpAmino; -} -/** - * InnerOp represents a merkle-proof step that is not a leaf. - * It represents concatenating two children and hashing them to provide the next result. - * - * The result of the previous step is passed in, so the signature of this op is: - * innerOp(child) -> output - * - * The result of applying InnerOp should be: - * output = op.hash(op.prefix || child || op.suffix) - * - * where the || operator is concatenation of binary data, - * and child is the result of hashing all the tree below this step. - * - * Any special data, like prepending child with the length, or prepending the entire operation with - * some value to differentiate from leaf nodes, should be included in prefix and suffix. - * If either of prefix or suffix is empty, we just treat it as an empty string - */ -export interface InnerOpSDKType { - hash: HashOp; - prefix: Uint8Array; - suffix: Uint8Array; -} -/** - * ProofSpec defines what the expected parameters are for a given proof type. - * This can be stored in the client and used to validate any incoming proofs. - * - * verify(ProofSpec, Proof) -> Proof | Error - * - * As demonstrated in tests, if we don't fix the algorithm used to calculate the - * LeafHash for a given tree, there are many possible key-value pairs that can - * generate a given hash (by interpretting the preimage differently). - * We need this for proper security, requires client knows a priori what - * tree format server uses. But not in code, rather a configuration object. - */ -export interface ProofSpec { - /** - * any field in the ExistenceProof must be the same as in this spec. - * except Prefix, which is just the first bytes of prefix (spec can be longer) - */ - leafSpec: LeafOp; - innerSpec: InnerSpec; - /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ - maxDepth: number; - /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ - minDepth: number; -} -export interface ProofSpecProtoMsg { - typeUrl: "/ics23.ProofSpec"; - value: Uint8Array; -} -/** - * ProofSpec defines what the expected parameters are for a given proof type. - * This can be stored in the client and used to validate any incoming proofs. - * - * verify(ProofSpec, Proof) -> Proof | Error - * - * As demonstrated in tests, if we don't fix the algorithm used to calculate the - * LeafHash for a given tree, there are many possible key-value pairs that can - * generate a given hash (by interpretting the preimage differently). - * We need this for proper security, requires client knows a priori what - * tree format server uses. But not in code, rather a configuration object. - */ -export interface ProofSpecAmino { - /** - * any field in the ExistenceProof must be the same as in this spec. - * except Prefix, which is just the first bytes of prefix (spec can be longer) - */ - leaf_spec?: LeafOpAmino; - inner_spec?: InnerSpecAmino; - /** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */ - max_depth: number; - /** min_depth (if > 0) is the minimum number of InnerOps allowed (mainly for fixed-depth tries) */ - min_depth: number; -} -export interface ProofSpecAminoMsg { - type: "/ics23.ProofSpec"; - value: ProofSpecAmino; -} -/** - * ProofSpec defines what the expected parameters are for a given proof type. - * This can be stored in the client and used to validate any incoming proofs. - * - * verify(ProofSpec, Proof) -> Proof | Error - * - * As demonstrated in tests, if we don't fix the algorithm used to calculate the - * LeafHash for a given tree, there are many possible key-value pairs that can - * generate a given hash (by interpretting the preimage differently). - * We need this for proper security, requires client knows a priori what - * tree format server uses. But not in code, rather a configuration object. - */ -export interface ProofSpecSDKType { - leaf_spec: LeafOpSDKType; - inner_spec: InnerSpecSDKType; - max_depth: number; - min_depth: number; -} -/** - * InnerSpec contains all store-specific structure info to determine if two proofs from a - * given store are neighbors. - * - * This enables: - * - * isLeftMost(spec: InnerSpec, op: InnerOp) - * isRightMost(spec: InnerSpec, op: InnerOp) - * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) - */ -export interface InnerSpec { - /** - * Child order is the ordering of the children node, must count from 0 - * iavl tree is [0, 1] (left then right) - * merk is [0, 2, 1] (left, right, here) - */ - childOrder: number[]; - childSize: number; - minPrefixLength: number; - maxPrefixLength: number; - /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ - emptyChild: Uint8Array; - /** hash is the algorithm that must be used for each InnerOp */ - hash: HashOp; -} -export interface InnerSpecProtoMsg { - typeUrl: "/ics23.InnerSpec"; - value: Uint8Array; -} -/** - * InnerSpec contains all store-specific structure info to determine if two proofs from a - * given store are neighbors. - * - * This enables: - * - * isLeftMost(spec: InnerSpec, op: InnerOp) - * isRightMost(spec: InnerSpec, op: InnerOp) - * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) - */ -export interface InnerSpecAmino { - /** - * Child order is the ordering of the children node, must count from 0 - * iavl tree is [0, 1] (left then right) - * merk is [0, 2, 1] (left, right, here) - */ - child_order: number[]; - child_size: number; - min_prefix_length: number; - max_prefix_length: number; - /** empty child is the prehash image that is used when one child is nil (eg. 20 bytes of 0) */ - empty_child: Uint8Array; - /** hash is the algorithm that must be used for each InnerOp */ - hash: HashOp; -} -export interface InnerSpecAminoMsg { - type: "/ics23.InnerSpec"; - value: InnerSpecAmino; -} -/** - * InnerSpec contains all store-specific structure info to determine if two proofs from a - * given store are neighbors. - * - * This enables: - * - * isLeftMost(spec: InnerSpec, op: InnerOp) - * isRightMost(spec: InnerSpec, op: InnerOp) - * isLeftNeighbor(spec: InnerSpec, left: InnerOp, right: InnerOp) - */ -export interface InnerSpecSDKType { - child_order: number[]; - child_size: number; - min_prefix_length: number; - max_prefix_length: number; - empty_child: Uint8Array; - hash: HashOp; -} -/** BatchProof is a group of multiple proof types than can be compressed */ -export interface BatchProof { - entries: BatchEntry[]; -} -export interface BatchProofProtoMsg { - typeUrl: "/ics23.BatchProof"; - value: Uint8Array; -} -/** BatchProof is a group of multiple proof types than can be compressed */ -export interface BatchProofAmino { - entries: BatchEntryAmino[]; -} -export interface BatchProofAminoMsg { - type: "/ics23.BatchProof"; - value: BatchProofAmino; -} -/** BatchProof is a group of multiple proof types than can be compressed */ -export interface BatchProofSDKType { - entries: BatchEntrySDKType[]; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface BatchEntry { - exist?: ExistenceProof; - nonexist?: NonExistenceProof; -} -export interface BatchEntryProtoMsg { - typeUrl: "/ics23.BatchEntry"; - value: Uint8Array; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface BatchEntryAmino { - exist?: ExistenceProofAmino; - nonexist?: NonExistenceProofAmino; -} -export interface BatchEntryAminoMsg { - type: "/ics23.BatchEntry"; - value: BatchEntryAmino; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface BatchEntrySDKType { - exist?: ExistenceProofSDKType; - nonexist?: NonExistenceProofSDKType; -} -export interface CompressedBatchProof { - entries: CompressedBatchEntry[]; - lookupInners: InnerOp[]; -} -export interface CompressedBatchProofProtoMsg { - typeUrl: "/ics23.CompressedBatchProof"; - value: Uint8Array; -} -export interface CompressedBatchProofAmino { - entries: CompressedBatchEntryAmino[]; - lookup_inners: InnerOpAmino[]; -} -export interface CompressedBatchProofAminoMsg { - type: "/ics23.CompressedBatchProof"; - value: CompressedBatchProofAmino; -} -export interface CompressedBatchProofSDKType { - entries: CompressedBatchEntrySDKType[]; - lookup_inners: InnerOpSDKType[]; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface CompressedBatchEntry { - exist?: CompressedExistenceProof; - nonexist?: CompressedNonExistenceProof; -} -export interface CompressedBatchEntryProtoMsg { - typeUrl: "/ics23.CompressedBatchEntry"; - value: Uint8Array; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface CompressedBatchEntryAmino { - exist?: CompressedExistenceProofAmino; - nonexist?: CompressedNonExistenceProofAmino; -} -export interface CompressedBatchEntryAminoMsg { - type: "/ics23.CompressedBatchEntry"; - value: CompressedBatchEntryAmino; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface CompressedBatchEntrySDKType { - exist?: CompressedExistenceProofSDKType; - nonexist?: CompressedNonExistenceProofSDKType; -} -export interface CompressedExistenceProof { - key: Uint8Array; - value: Uint8Array; - leaf: LeafOp; - /** these are indexes into the lookup_inners table in CompressedBatchProof */ - path: number[]; -} -export interface CompressedExistenceProofProtoMsg { - typeUrl: "/ics23.CompressedExistenceProof"; - value: Uint8Array; -} -export interface CompressedExistenceProofAmino { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOpAmino; - /** these are indexes into the lookup_inners table in CompressedBatchProof */ - path: number[]; -} -export interface CompressedExistenceProofAminoMsg { - type: "/ics23.CompressedExistenceProof"; - value: CompressedExistenceProofAmino; -} -export interface CompressedExistenceProofSDKType { - key: Uint8Array; - value: Uint8Array; - leaf: LeafOpSDKType; - path: number[]; -} -export interface CompressedNonExistenceProof { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left: CompressedExistenceProof; - right: CompressedExistenceProof; -} -export interface CompressedNonExistenceProofProtoMsg { - typeUrl: "/ics23.CompressedNonExistenceProof"; - value: Uint8Array; -} -export interface CompressedNonExistenceProofAmino { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left?: CompressedExistenceProofAmino; - right?: CompressedExistenceProofAmino; -} -export interface CompressedNonExistenceProofAminoMsg { - type: "/ics23.CompressedNonExistenceProof"; - value: CompressedNonExistenceProofAmino; -} -export interface CompressedNonExistenceProofSDKType { - key: Uint8Array; - left: CompressedExistenceProofSDKType; - right: CompressedExistenceProofSDKType; -} -function createBaseExistenceProof(): ExistenceProof { - return { - key: new Uint8Array(), - value: new Uint8Array(), - leaf: LeafOp.fromPartial({}), - path: [] - }; -} -export const ExistenceProof = { - typeUrl: "/ics23.ExistenceProof", - encode(message: ExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - if (message.leaf !== undefined) { - LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.path) { - InnerOp.encode(v!, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ExistenceProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExistenceProof(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.value = reader.bytes(); - break; - case 3: - message.leaf = LeafOp.decode(reader, reader.uint32()); - break; - case 4: - message.path.push(InnerOp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ExistenceProof { - const obj = createBaseExistenceProof(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - if (isSet(object.value)) obj.value = bytesFromBase64(object.value); - if (isSet(object.leaf)) obj.leaf = LeafOp.fromJSON(object.leaf); - if (Array.isArray(object?.path)) obj.path = object.path.map((e: any) => InnerOp.fromJSON(e)); - return obj; - }, - toJSON(message: ExistenceProof): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - message.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined); - if (message.path) { - obj.path = message.path.map(e => e ? InnerOp.toJSON(e) : undefined); - } else { - obj.path = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ExistenceProof { - const message = createBaseExistenceProof(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - if (object.leaf !== undefined && object.leaf !== null) { - message.leaf = LeafOp.fromPartial(object.leaf); - } - message.path = object.path?.map(e => InnerOp.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ExistenceProofSDKType): ExistenceProof { - return { - key: object?.key, - value: object?.value, - leaf: object.leaf ? LeafOp.fromSDK(object.leaf) : undefined, - path: Array.isArray(object?.path) ? object.path.map((e: any) => InnerOp.fromSDK(e)) : [] - }; - }, - toSDK(message: ExistenceProof): ExistenceProofSDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - message.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toSDK(message.leaf) : undefined); - if (message.path) { - obj.path = message.path.map(e => e ? InnerOp.toSDK(e) : undefined); - } else { - obj.path = []; - } - return obj; - }, - fromAmino(object: ExistenceProofAmino): ExistenceProof { - return { - key: object.key, - value: object.value, - leaf: object?.leaf ? LeafOp.fromAmino(object.leaf) : undefined, - path: Array.isArray(object?.path) ? object.path.map((e: any) => InnerOp.fromAmino(e)) : [] - }; - }, - toAmino(message: ExistenceProof): ExistenceProofAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - obj.leaf = message.leaf ? LeafOp.toAmino(message.leaf) : undefined; - if (message.path) { - obj.path = message.path.map(e => e ? InnerOp.toAmino(e) : undefined); - } else { - obj.path = []; - } - return obj; - }, - fromAminoMsg(object: ExistenceProofAminoMsg): ExistenceProof { - return ExistenceProof.fromAmino(object.value); - }, - fromProtoMsg(message: ExistenceProofProtoMsg): ExistenceProof { - return ExistenceProof.decode(message.value); - }, - toProto(message: ExistenceProof): Uint8Array { - return ExistenceProof.encode(message).finish(); - }, - toProtoMsg(message: ExistenceProof): ExistenceProofProtoMsg { - return { - typeUrl: "/ics23.ExistenceProof", - value: ExistenceProof.encode(message).finish() - }; - } -}; -function createBaseNonExistenceProof(): NonExistenceProof { - return { - key: new Uint8Array(), - left: ExistenceProof.fromPartial({}), - right: ExistenceProof.fromPartial({}) - }; -} -export const NonExistenceProof = { - typeUrl: "/ics23.NonExistenceProof", - encode(message: NonExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (message.left !== undefined) { - ExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim(); - } - if (message.right !== undefined) { - ExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): NonExistenceProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseNonExistenceProof(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.left = ExistenceProof.decode(reader, reader.uint32()); - break; - case 3: - message.right = ExistenceProof.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): NonExistenceProof { - const obj = createBaseNonExistenceProof(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - if (isSet(object.left)) obj.left = ExistenceProof.fromJSON(object.left); - if (isSet(object.right)) obj.right = ExistenceProof.fromJSON(object.right); - return obj; - }, - toJSON(message: NonExistenceProof): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.left !== undefined && (obj.left = message.left ? ExistenceProof.toJSON(message.left) : undefined); - message.right !== undefined && (obj.right = message.right ? ExistenceProof.toJSON(message.right) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): NonExistenceProof { - const message = createBaseNonExistenceProof(); - message.key = object.key ?? new Uint8Array(); - if (object.left !== undefined && object.left !== null) { - message.left = ExistenceProof.fromPartial(object.left); - } - if (object.right !== undefined && object.right !== null) { - message.right = ExistenceProof.fromPartial(object.right); - } - return message; - }, - fromSDK(object: NonExistenceProofSDKType): NonExistenceProof { - return { - key: object?.key, - left: object.left ? ExistenceProof.fromSDK(object.left) : undefined, - right: object.right ? ExistenceProof.fromSDK(object.right) : undefined - }; - }, - toSDK(message: NonExistenceProof): NonExistenceProofSDKType { - const obj: any = {}; - obj.key = message.key; - message.left !== undefined && (obj.left = message.left ? ExistenceProof.toSDK(message.left) : undefined); - message.right !== undefined && (obj.right = message.right ? ExistenceProof.toSDK(message.right) : undefined); - return obj; - }, - fromAmino(object: NonExistenceProofAmino): NonExistenceProof { - return { - key: object.key, - left: object?.left ? ExistenceProof.fromAmino(object.left) : undefined, - right: object?.right ? ExistenceProof.fromAmino(object.right) : undefined - }; - }, - toAmino(message: NonExistenceProof): NonExistenceProofAmino { - const obj: any = {}; - obj.key = message.key; - obj.left = message.left ? ExistenceProof.toAmino(message.left) : undefined; - obj.right = message.right ? ExistenceProof.toAmino(message.right) : undefined; - return obj; - }, - fromAminoMsg(object: NonExistenceProofAminoMsg): NonExistenceProof { - return NonExistenceProof.fromAmino(object.value); - }, - fromProtoMsg(message: NonExistenceProofProtoMsg): NonExistenceProof { - return NonExistenceProof.decode(message.value); - }, - toProto(message: NonExistenceProof): Uint8Array { - return NonExistenceProof.encode(message).finish(); - }, - toProtoMsg(message: NonExistenceProof): NonExistenceProofProtoMsg { - return { - typeUrl: "/ics23.NonExistenceProof", - value: NonExistenceProof.encode(message).finish() - }; - } -}; -function createBaseCommitmentProof(): CommitmentProof { - return { - exist: undefined, - nonexist: undefined, - batch: undefined, - compressed: undefined - }; -} -export const CommitmentProof = { - typeUrl: "/ics23.CommitmentProof", - encode(message: CommitmentProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.exist !== undefined) { - ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); - } - if (message.nonexist !== undefined) { - NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); - } - if (message.batch !== undefined) { - BatchProof.encode(message.batch, writer.uint32(26).fork()).ldelim(); - } - if (message.compressed !== undefined) { - CompressedBatchProof.encode(message.compressed, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CommitmentProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommitmentProof(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.exist = ExistenceProof.decode(reader, reader.uint32()); - break; - case 2: - message.nonexist = NonExistenceProof.decode(reader, reader.uint32()); - break; - case 3: - message.batch = BatchProof.decode(reader, reader.uint32()); - break; - case 4: - message.compressed = CompressedBatchProof.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CommitmentProof { - const obj = createBaseCommitmentProof(); - if (isSet(object.exist)) obj.exist = ExistenceProof.fromJSON(object.exist); - if (isSet(object.nonexist)) obj.nonexist = NonExistenceProof.fromJSON(object.nonexist); - if (isSet(object.batch)) obj.batch = BatchProof.fromJSON(object.batch); - if (isSet(object.compressed)) obj.compressed = CompressedBatchProof.fromJSON(object.compressed); - return obj; - }, - toJSON(message: CommitmentProof): unknown { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined); - message.batch !== undefined && (obj.batch = message.batch ? BatchProof.toJSON(message.batch) : undefined); - message.compressed !== undefined && (obj.compressed = message.compressed ? CompressedBatchProof.toJSON(message.compressed) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CommitmentProof { - const message = createBaseCommitmentProof(); - if (object.exist !== undefined && object.exist !== null) { - message.exist = ExistenceProof.fromPartial(object.exist); - } - if (object.nonexist !== undefined && object.nonexist !== null) { - message.nonexist = NonExistenceProof.fromPartial(object.nonexist); - } - if (object.batch !== undefined && object.batch !== null) { - message.batch = BatchProof.fromPartial(object.batch); - } - if (object.compressed !== undefined && object.compressed !== null) { - message.compressed = CompressedBatchProof.fromPartial(object.compressed); - } - return message; - }, - fromSDK(object: CommitmentProofSDKType): CommitmentProof { - return { - exist: object.exist ? ExistenceProof.fromSDK(object.exist) : undefined, - nonexist: object.nonexist ? NonExistenceProof.fromSDK(object.nonexist) : undefined, - batch: object.batch ? BatchProof.fromSDK(object.batch) : undefined, - compressed: object.compressed ? CompressedBatchProof.fromSDK(object.compressed) : undefined - }; - }, - toSDK(message: CommitmentProof): CommitmentProofSDKType { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toSDK(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toSDK(message.nonexist) : undefined); - message.batch !== undefined && (obj.batch = message.batch ? BatchProof.toSDK(message.batch) : undefined); - message.compressed !== undefined && (obj.compressed = message.compressed ? CompressedBatchProof.toSDK(message.compressed) : undefined); - return obj; - }, - fromAmino(object: CommitmentProofAmino): CommitmentProof { - return { - exist: object?.exist ? ExistenceProof.fromAmino(object.exist) : undefined, - nonexist: object?.nonexist ? NonExistenceProof.fromAmino(object.nonexist) : undefined, - batch: object?.batch ? BatchProof.fromAmino(object.batch) : undefined, - compressed: object?.compressed ? CompressedBatchProof.fromAmino(object.compressed) : undefined - }; - }, - toAmino(message: CommitmentProof): CommitmentProofAmino { - const obj: any = {}; - obj.exist = message.exist ? ExistenceProof.toAmino(message.exist) : undefined; - obj.nonexist = message.nonexist ? NonExistenceProof.toAmino(message.nonexist) : undefined; - obj.batch = message.batch ? BatchProof.toAmino(message.batch) : undefined; - obj.compressed = message.compressed ? CompressedBatchProof.toAmino(message.compressed) : undefined; - return obj; - }, - fromAminoMsg(object: CommitmentProofAminoMsg): CommitmentProof { - return CommitmentProof.fromAmino(object.value); - }, - fromProtoMsg(message: CommitmentProofProtoMsg): CommitmentProof { - return CommitmentProof.decode(message.value); - }, - toProto(message: CommitmentProof): Uint8Array { - return CommitmentProof.encode(message).finish(); - }, - toProtoMsg(message: CommitmentProof): CommitmentProofProtoMsg { - return { - typeUrl: "/ics23.CommitmentProof", - value: CommitmentProof.encode(message).finish() - }; - } -}; -function createBaseLeafOp(): LeafOp { - return { - hash: 0, - prehashKey: 0, - prehashValue: 0, - length: 0, - prefix: new Uint8Array() - }; -} -export const LeafOp = { - typeUrl: "/ics23.LeafOp", - encode(message: LeafOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash !== 0) { - writer.uint32(8).int32(message.hash); - } - if (message.prehashKey !== 0) { - writer.uint32(16).int32(message.prehashKey); - } - if (message.prehashValue !== 0) { - writer.uint32(24).int32(message.prehashValue); - } - if (message.length !== 0) { - writer.uint32(32).int32(message.length); - } - if (message.prefix.length !== 0) { - writer.uint32(42).bytes(message.prefix); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LeafOp { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLeafOp(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.hash = (reader.int32() as any); - break; - case 2: - message.prehashKey = (reader.int32() as any); - break; - case 3: - message.prehashValue = (reader.int32() as any); - break; - case 4: - message.length = (reader.int32() as any); - break; - case 5: - message.prefix = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LeafOp { - const obj = createBaseLeafOp(); - if (isSet(object.hash)) obj.hash = hashOpFromJSON(object.hash); - if (isSet(object.prehashKey)) obj.prehashKey = hashOpFromJSON(object.prehashKey); - if (isSet(object.prehashValue)) obj.prehashValue = hashOpFromJSON(object.prehashValue); - if (isSet(object.length)) obj.length = lengthOpFromJSON(object.length); - if (isSet(object.prefix)) obj.prefix = bytesFromBase64(object.prefix); - return obj; - }, - toJSON(message: LeafOp): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - message.prehashKey !== undefined && (obj.prehashKey = hashOpToJSON(message.prehashKey)); - message.prehashValue !== undefined && (obj.prehashValue = hashOpToJSON(message.prehashValue)); - message.length !== undefined && (obj.length = lengthOpToJSON(message.length)); - message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): LeafOp { - const message = createBaseLeafOp(); - message.hash = object.hash ?? 0; - message.prehashKey = object.prehashKey ?? 0; - message.prehashValue = object.prehashValue ?? 0; - message.length = object.length ?? 0; - message.prefix = object.prefix ?? new Uint8Array(); - return message; - }, - fromSDK(object: LeafOpSDKType): LeafOp { - return { - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : -1, - prehashKey: isSet(object.prehash_key) ? hashOpFromJSON(object.prehash_key) : -1, - prehashValue: isSet(object.prehash_value) ? hashOpFromJSON(object.prehash_value) : -1, - length: isSet(object.length) ? lengthOpFromJSON(object.length) : -1, - prefix: object?.prefix - }; - }, - toSDK(message: LeafOp): LeafOpSDKType { - const obj: any = {}; - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - message.prehashKey !== undefined && (obj.prehash_key = hashOpToJSON(message.prehashKey)); - message.prehashValue !== undefined && (obj.prehash_value = hashOpToJSON(message.prehashValue)); - message.length !== undefined && (obj.length = lengthOpToJSON(message.length)); - obj.prefix = message.prefix; - return obj; - }, - fromAmino(object: LeafOpAmino): LeafOp { - return { - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : -1, - prehashKey: isSet(object.prehash_key) ? hashOpFromJSON(object.prehash_key) : -1, - prehashValue: isSet(object.prehash_value) ? hashOpFromJSON(object.prehash_value) : -1, - length: isSet(object.length) ? lengthOpFromJSON(object.length) : -1, - prefix: object.prefix - }; - }, - toAmino(message: LeafOp): LeafOpAmino { - const obj: any = {}; - obj.hash = message.hash; - obj.prehash_key = message.prehashKey; - obj.prehash_value = message.prehashValue; - obj.length = message.length; - obj.prefix = message.prefix; - return obj; - }, - fromAminoMsg(object: LeafOpAminoMsg): LeafOp { - return LeafOp.fromAmino(object.value); - }, - fromProtoMsg(message: LeafOpProtoMsg): LeafOp { - return LeafOp.decode(message.value); - }, - toProto(message: LeafOp): Uint8Array { - return LeafOp.encode(message).finish(); - }, - toProtoMsg(message: LeafOp): LeafOpProtoMsg { - return { - typeUrl: "/ics23.LeafOp", - value: LeafOp.encode(message).finish() - }; - } -}; -function createBaseInnerOp(): InnerOp { - return { - hash: 0, - prefix: new Uint8Array(), - suffix: new Uint8Array() - }; -} -export const InnerOp = { - typeUrl: "/ics23.InnerOp", - encode(message: InnerOp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash !== 0) { - writer.uint32(8).int32(message.hash); - } - if (message.prefix.length !== 0) { - writer.uint32(18).bytes(message.prefix); - } - if (message.suffix.length !== 0) { - writer.uint32(26).bytes(message.suffix); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): InnerOp { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInnerOp(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.hash = (reader.int32() as any); - break; - case 2: - message.prefix = reader.bytes(); - break; - case 3: - message.suffix = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): InnerOp { - const obj = createBaseInnerOp(); - if (isSet(object.hash)) obj.hash = hashOpFromJSON(object.hash); - if (isSet(object.prefix)) obj.prefix = bytesFromBase64(object.prefix); - if (isSet(object.suffix)) obj.suffix = bytesFromBase64(object.suffix); - return obj; - }, - toJSON(message: InnerOp): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); - message.suffix !== undefined && (obj.suffix = base64FromBytes(message.suffix !== undefined ? message.suffix : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): InnerOp { - const message = createBaseInnerOp(); - message.hash = object.hash ?? 0; - message.prefix = object.prefix ?? new Uint8Array(); - message.suffix = object.suffix ?? new Uint8Array(); - return message; - }, - fromSDK(object: InnerOpSDKType): InnerOp { - return { - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : -1, - prefix: object?.prefix, - suffix: object?.suffix - }; - }, - toSDK(message: InnerOp): InnerOpSDKType { - const obj: any = {}; - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - obj.prefix = message.prefix; - obj.suffix = message.suffix; - return obj; - }, - fromAmino(object: InnerOpAmino): InnerOp { - return { - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : -1, - prefix: object.prefix, - suffix: object.suffix - }; - }, - toAmino(message: InnerOp): InnerOpAmino { - const obj: any = {}; - obj.hash = message.hash; - obj.prefix = message.prefix; - obj.suffix = message.suffix; - return obj; - }, - fromAminoMsg(object: InnerOpAminoMsg): InnerOp { - return InnerOp.fromAmino(object.value); - }, - fromProtoMsg(message: InnerOpProtoMsg): InnerOp { - return InnerOp.decode(message.value); - }, - toProto(message: InnerOp): Uint8Array { - return InnerOp.encode(message).finish(); - }, - toProtoMsg(message: InnerOp): InnerOpProtoMsg { - return { - typeUrl: "/ics23.InnerOp", - value: InnerOp.encode(message).finish() - }; - } -}; -function createBaseProofSpec(): ProofSpec { - return { - leafSpec: LeafOp.fromPartial({}), - innerSpec: InnerSpec.fromPartial({}), - maxDepth: 0, - minDepth: 0 - }; -} -export const ProofSpec = { - typeUrl: "/ics23.ProofSpec", - encode(message: ProofSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.leafSpec !== undefined) { - LeafOp.encode(message.leafSpec, writer.uint32(10).fork()).ldelim(); - } - if (message.innerSpec !== undefined) { - InnerSpec.encode(message.innerSpec, writer.uint32(18).fork()).ldelim(); - } - if (message.maxDepth !== 0) { - writer.uint32(24).int32(message.maxDepth); - } - if (message.minDepth !== 0) { - writer.uint32(32).int32(message.minDepth); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ProofSpec { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProofSpec(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.leafSpec = LeafOp.decode(reader, reader.uint32()); - break; - case 2: - message.innerSpec = InnerSpec.decode(reader, reader.uint32()); - break; - case 3: - message.maxDepth = reader.int32(); - break; - case 4: - message.minDepth = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ProofSpec { - const obj = createBaseProofSpec(); - if (isSet(object.leafSpec)) obj.leafSpec = LeafOp.fromJSON(object.leafSpec); - if (isSet(object.innerSpec)) obj.innerSpec = InnerSpec.fromJSON(object.innerSpec); - if (isSet(object.maxDepth)) obj.maxDepth = Number(object.maxDepth); - if (isSet(object.minDepth)) obj.minDepth = Number(object.minDepth); - return obj; - }, - toJSON(message: ProofSpec): unknown { - const obj: any = {}; - message.leafSpec !== undefined && (obj.leafSpec = message.leafSpec ? LeafOp.toJSON(message.leafSpec) : undefined); - message.innerSpec !== undefined && (obj.innerSpec = message.innerSpec ? InnerSpec.toJSON(message.innerSpec) : undefined); - message.maxDepth !== undefined && (obj.maxDepth = Math.round(message.maxDepth)); - message.minDepth !== undefined && (obj.minDepth = Math.round(message.minDepth)); - return obj; - }, - fromPartial(object: DeepPartial): ProofSpec { - const message = createBaseProofSpec(); - if (object.leafSpec !== undefined && object.leafSpec !== null) { - message.leafSpec = LeafOp.fromPartial(object.leafSpec); - } - if (object.innerSpec !== undefined && object.innerSpec !== null) { - message.innerSpec = InnerSpec.fromPartial(object.innerSpec); - } - message.maxDepth = object.maxDepth ?? 0; - message.minDepth = object.minDepth ?? 0; - return message; - }, - fromSDK(object: ProofSpecSDKType): ProofSpec { - return { - leafSpec: object.leaf_spec ? LeafOp.fromSDK(object.leaf_spec) : undefined, - innerSpec: object.inner_spec ? InnerSpec.fromSDK(object.inner_spec) : undefined, - maxDepth: object?.max_depth, - minDepth: object?.min_depth - }; - }, - toSDK(message: ProofSpec): ProofSpecSDKType { - const obj: any = {}; - message.leafSpec !== undefined && (obj.leaf_spec = message.leafSpec ? LeafOp.toSDK(message.leafSpec) : undefined); - message.innerSpec !== undefined && (obj.inner_spec = message.innerSpec ? InnerSpec.toSDK(message.innerSpec) : undefined); - obj.max_depth = message.maxDepth; - obj.min_depth = message.minDepth; - return obj; - }, - fromAmino(object: ProofSpecAmino): ProofSpec { - return { - leafSpec: object?.leaf_spec ? LeafOp.fromAmino(object.leaf_spec) : undefined, - innerSpec: object?.inner_spec ? InnerSpec.fromAmino(object.inner_spec) : undefined, - maxDepth: object.max_depth, - minDepth: object.min_depth - }; - }, - toAmino(message: ProofSpec): ProofSpecAmino { - const obj: any = {}; - obj.leaf_spec = message.leafSpec ? LeafOp.toAmino(message.leafSpec) : undefined; - obj.inner_spec = message.innerSpec ? InnerSpec.toAmino(message.innerSpec) : undefined; - obj.max_depth = message.maxDepth; - obj.min_depth = message.minDepth; - return obj; - }, - fromAminoMsg(object: ProofSpecAminoMsg): ProofSpec { - return ProofSpec.fromAmino(object.value); - }, - fromProtoMsg(message: ProofSpecProtoMsg): ProofSpec { - return ProofSpec.decode(message.value); - }, - toProto(message: ProofSpec): Uint8Array { - return ProofSpec.encode(message).finish(); - }, - toProtoMsg(message: ProofSpec): ProofSpecProtoMsg { - return { - typeUrl: "/ics23.ProofSpec", - value: ProofSpec.encode(message).finish() - }; - } -}; -function createBaseInnerSpec(): InnerSpec { - return { - childOrder: [], - childSize: 0, - minPrefixLength: 0, - maxPrefixLength: 0, - emptyChild: new Uint8Array(), - hash: 0 - }; -} -export const InnerSpec = { - typeUrl: "/ics23.InnerSpec", - encode(message: InnerSpec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - for (const v of message.childOrder) { - writer.int32(v); - } - writer.ldelim(); - if (message.childSize !== 0) { - writer.uint32(16).int32(message.childSize); - } - if (message.minPrefixLength !== 0) { - writer.uint32(24).int32(message.minPrefixLength); - } - if (message.maxPrefixLength !== 0) { - writer.uint32(32).int32(message.maxPrefixLength); - } - if (message.emptyChild.length !== 0) { - writer.uint32(42).bytes(message.emptyChild); - } - if (message.hash !== 0) { - writer.uint32(48).int32(message.hash); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): InnerSpec { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInnerSpec(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.childOrder.push(reader.int32()); - } - } else { - message.childOrder.push(reader.int32()); - } - break; - case 2: - message.childSize = reader.int32(); - break; - case 3: - message.minPrefixLength = reader.int32(); - break; - case 4: - message.maxPrefixLength = reader.int32(); - break; - case 5: - message.emptyChild = reader.bytes(); - break; - case 6: - message.hash = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): InnerSpec { - const obj = createBaseInnerSpec(); - if (Array.isArray(object?.childOrder)) obj.childOrder = object.childOrder.map((e: any) => Number(e)); - if (isSet(object.childSize)) obj.childSize = Number(object.childSize); - if (isSet(object.minPrefixLength)) obj.minPrefixLength = Number(object.minPrefixLength); - if (isSet(object.maxPrefixLength)) obj.maxPrefixLength = Number(object.maxPrefixLength); - if (isSet(object.emptyChild)) obj.emptyChild = bytesFromBase64(object.emptyChild); - if (isSet(object.hash)) obj.hash = hashOpFromJSON(object.hash); - return obj; - }, - toJSON(message: InnerSpec): unknown { - const obj: any = {}; - if (message.childOrder) { - obj.childOrder = message.childOrder.map(e => Math.round(e)); - } else { - obj.childOrder = []; - } - message.childSize !== undefined && (obj.childSize = Math.round(message.childSize)); - message.minPrefixLength !== undefined && (obj.minPrefixLength = Math.round(message.minPrefixLength)); - message.maxPrefixLength !== undefined && (obj.maxPrefixLength = Math.round(message.maxPrefixLength)); - message.emptyChild !== undefined && (obj.emptyChild = base64FromBytes(message.emptyChild !== undefined ? message.emptyChild : new Uint8Array())); - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - return obj; - }, - fromPartial(object: DeepPartial): InnerSpec { - const message = createBaseInnerSpec(); - message.childOrder = object.childOrder?.map(e => e) || []; - message.childSize = object.childSize ?? 0; - message.minPrefixLength = object.minPrefixLength ?? 0; - message.maxPrefixLength = object.maxPrefixLength ?? 0; - message.emptyChild = object.emptyChild ?? new Uint8Array(); - message.hash = object.hash ?? 0; - return message; - }, - fromSDK(object: InnerSpecSDKType): InnerSpec { - return { - childOrder: Array.isArray(object?.child_order) ? object.child_order.map((e: any) => e) : [], - childSize: object?.child_size, - minPrefixLength: object?.min_prefix_length, - maxPrefixLength: object?.max_prefix_length, - emptyChild: object?.empty_child, - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : -1 - }; - }, - toSDK(message: InnerSpec): InnerSpecSDKType { - const obj: any = {}; - if (message.childOrder) { - obj.child_order = message.childOrder.map(e => e); - } else { - obj.child_order = []; - } - obj.child_size = message.childSize; - obj.min_prefix_length = message.minPrefixLength; - obj.max_prefix_length = message.maxPrefixLength; - obj.empty_child = message.emptyChild; - message.hash !== undefined && (obj.hash = hashOpToJSON(message.hash)); - return obj; - }, - fromAmino(object: InnerSpecAmino): InnerSpec { - return { - childOrder: Array.isArray(object?.child_order) ? object.child_order.map((e: any) => e) : [], - childSize: object.child_size, - minPrefixLength: object.min_prefix_length, - maxPrefixLength: object.max_prefix_length, - emptyChild: object.empty_child, - hash: isSet(object.hash) ? hashOpFromJSON(object.hash) : -1 - }; - }, - toAmino(message: InnerSpec): InnerSpecAmino { - const obj: any = {}; - if (message.childOrder) { - obj.child_order = message.childOrder.map(e => e); - } else { - obj.child_order = []; - } - obj.child_size = message.childSize; - obj.min_prefix_length = message.minPrefixLength; - obj.max_prefix_length = message.maxPrefixLength; - obj.empty_child = message.emptyChild; - obj.hash = message.hash; - return obj; - }, - fromAminoMsg(object: InnerSpecAminoMsg): InnerSpec { - return InnerSpec.fromAmino(object.value); - }, - fromProtoMsg(message: InnerSpecProtoMsg): InnerSpec { - return InnerSpec.decode(message.value); - }, - toProto(message: InnerSpec): Uint8Array { - return InnerSpec.encode(message).finish(); - }, - toProtoMsg(message: InnerSpec): InnerSpecProtoMsg { - return { - typeUrl: "/ics23.InnerSpec", - value: InnerSpec.encode(message).finish() - }; - } -}; -function createBaseBatchProof(): BatchProof { - return { - entries: [] - }; -} -export const BatchProof = { - typeUrl: "/ics23.BatchProof", - encode(message: BatchProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.entries) { - BatchEntry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BatchProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchProof(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.entries.push(BatchEntry.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BatchProof { - const obj = createBaseBatchProof(); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => BatchEntry.fromJSON(e)); - return obj; - }, - toJSON(message: BatchProof): unknown { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? BatchEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromPartial(object: DeepPartial): BatchProof { - const message = createBaseBatchProof(); - message.entries = object.entries?.map(e => BatchEntry.fromPartial(e)) || []; - return message; - }, - fromSDK(object: BatchProofSDKType): BatchProof { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => BatchEntry.fromSDK(e)) : [] - }; - }, - toSDK(message: BatchProof): BatchProofSDKType { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? BatchEntry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAmino(object: BatchProofAmino): BatchProof { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => BatchEntry.fromAmino(e)) : [] - }; - }, - toAmino(message: BatchProof): BatchProofAmino { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? BatchEntry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAminoMsg(object: BatchProofAminoMsg): BatchProof { - return BatchProof.fromAmino(object.value); - }, - fromProtoMsg(message: BatchProofProtoMsg): BatchProof { - return BatchProof.decode(message.value); - }, - toProto(message: BatchProof): Uint8Array { - return BatchProof.encode(message).finish(); - }, - toProtoMsg(message: BatchProof): BatchProofProtoMsg { - return { - typeUrl: "/ics23.BatchProof", - value: BatchProof.encode(message).finish() - }; - } -}; -function createBaseBatchEntry(): BatchEntry { - return { - exist: undefined, - nonexist: undefined - }; -} -export const BatchEntry = { - typeUrl: "/ics23.BatchEntry", - encode(message: BatchEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.exist !== undefined) { - ExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); - } - if (message.nonexist !== undefined) { - NonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BatchEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.exist = ExistenceProof.decode(reader, reader.uint32()); - break; - case 2: - message.nonexist = NonExistenceProof.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BatchEntry { - const obj = createBaseBatchEntry(); - if (isSet(object.exist)) obj.exist = ExistenceProof.fromJSON(object.exist); - if (isSet(object.nonexist)) obj.nonexist = NonExistenceProof.fromJSON(object.nonexist); - return obj; - }, - toJSON(message: BatchEntry): unknown { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toJSON(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toJSON(message.nonexist) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): BatchEntry { - const message = createBaseBatchEntry(); - if (object.exist !== undefined && object.exist !== null) { - message.exist = ExistenceProof.fromPartial(object.exist); - } - if (object.nonexist !== undefined && object.nonexist !== null) { - message.nonexist = NonExistenceProof.fromPartial(object.nonexist); - } - return message; - }, - fromSDK(object: BatchEntrySDKType): BatchEntry { - return { - exist: object.exist ? ExistenceProof.fromSDK(object.exist) : undefined, - nonexist: object.nonexist ? NonExistenceProof.fromSDK(object.nonexist) : undefined - }; - }, - toSDK(message: BatchEntry): BatchEntrySDKType { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? ExistenceProof.toSDK(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? NonExistenceProof.toSDK(message.nonexist) : undefined); - return obj; - }, - fromAmino(object: BatchEntryAmino): BatchEntry { - return { - exist: object?.exist ? ExistenceProof.fromAmino(object.exist) : undefined, - nonexist: object?.nonexist ? NonExistenceProof.fromAmino(object.nonexist) : undefined - }; - }, - toAmino(message: BatchEntry): BatchEntryAmino { - const obj: any = {}; - obj.exist = message.exist ? ExistenceProof.toAmino(message.exist) : undefined; - obj.nonexist = message.nonexist ? NonExistenceProof.toAmino(message.nonexist) : undefined; - return obj; - }, - fromAminoMsg(object: BatchEntryAminoMsg): BatchEntry { - return BatchEntry.fromAmino(object.value); - }, - fromProtoMsg(message: BatchEntryProtoMsg): BatchEntry { - return BatchEntry.decode(message.value); - }, - toProto(message: BatchEntry): Uint8Array { - return BatchEntry.encode(message).finish(); - }, - toProtoMsg(message: BatchEntry): BatchEntryProtoMsg { - return { - typeUrl: "/ics23.BatchEntry", - value: BatchEntry.encode(message).finish() - }; - } -}; -function createBaseCompressedBatchProof(): CompressedBatchProof { - return { - entries: [], - lookupInners: [] - }; -} -export const CompressedBatchProof = { - typeUrl: "/ics23.CompressedBatchProof", - encode(message: CompressedBatchProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.entries) { - CompressedBatchEntry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.lookupInners) { - InnerOp.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCompressedBatchProof(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.entries.push(CompressedBatchEntry.decode(reader, reader.uint32())); - break; - case 2: - message.lookupInners.push(InnerOp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CompressedBatchProof { - const obj = createBaseCompressedBatchProof(); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => CompressedBatchEntry.fromJSON(e)); - if (Array.isArray(object?.lookupInners)) obj.lookupInners = object.lookupInners.map((e: any) => InnerOp.fromJSON(e)); - return obj; - }, - toJSON(message: CompressedBatchProof): unknown { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? CompressedBatchEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - if (message.lookupInners) { - obj.lookupInners = message.lookupInners.map(e => e ? InnerOp.toJSON(e) : undefined); - } else { - obj.lookupInners = []; - } - return obj; - }, - fromPartial(object: DeepPartial): CompressedBatchProof { - const message = createBaseCompressedBatchProof(); - message.entries = object.entries?.map(e => CompressedBatchEntry.fromPartial(e)) || []; - message.lookupInners = object.lookupInners?.map(e => InnerOp.fromPartial(e)) || []; - return message; - }, - fromSDK(object: CompressedBatchProofSDKType): CompressedBatchProof { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => CompressedBatchEntry.fromSDK(e)) : [], - lookupInners: Array.isArray(object?.lookup_inners) ? object.lookup_inners.map((e: any) => InnerOp.fromSDK(e)) : [] - }; - }, - toSDK(message: CompressedBatchProof): CompressedBatchProofSDKType { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? CompressedBatchEntry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - if (message.lookupInners) { - obj.lookup_inners = message.lookupInners.map(e => e ? InnerOp.toSDK(e) : undefined); - } else { - obj.lookup_inners = []; - } - return obj; - }, - fromAmino(object: CompressedBatchProofAmino): CompressedBatchProof { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => CompressedBatchEntry.fromAmino(e)) : [], - lookupInners: Array.isArray(object?.lookup_inners) ? object.lookup_inners.map((e: any) => InnerOp.fromAmino(e)) : [] - }; - }, - toAmino(message: CompressedBatchProof): CompressedBatchProofAmino { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? CompressedBatchEntry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - if (message.lookupInners) { - obj.lookup_inners = message.lookupInners.map(e => e ? InnerOp.toAmino(e) : undefined); - } else { - obj.lookup_inners = []; - } - return obj; - }, - fromAminoMsg(object: CompressedBatchProofAminoMsg): CompressedBatchProof { - return CompressedBatchProof.fromAmino(object.value); - }, - fromProtoMsg(message: CompressedBatchProofProtoMsg): CompressedBatchProof { - return CompressedBatchProof.decode(message.value); - }, - toProto(message: CompressedBatchProof): Uint8Array { - return CompressedBatchProof.encode(message).finish(); - }, - toProtoMsg(message: CompressedBatchProof): CompressedBatchProofProtoMsg { - return { - typeUrl: "/ics23.CompressedBatchProof", - value: CompressedBatchProof.encode(message).finish() - }; - } -}; -function createBaseCompressedBatchEntry(): CompressedBatchEntry { - return { - exist: undefined, - nonexist: undefined - }; -} -export const CompressedBatchEntry = { - typeUrl: "/ics23.CompressedBatchEntry", - encode(message: CompressedBatchEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.exist !== undefined) { - CompressedExistenceProof.encode(message.exist, writer.uint32(10).fork()).ldelim(); - } - if (message.nonexist !== undefined) { - CompressedNonExistenceProof.encode(message.nonexist, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCompressedBatchEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.exist = CompressedExistenceProof.decode(reader, reader.uint32()); - break; - case 2: - message.nonexist = CompressedNonExistenceProof.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CompressedBatchEntry { - const obj = createBaseCompressedBatchEntry(); - if (isSet(object.exist)) obj.exist = CompressedExistenceProof.fromJSON(object.exist); - if (isSet(object.nonexist)) obj.nonexist = CompressedNonExistenceProof.fromJSON(object.nonexist); - return obj; - }, - toJSON(message: CompressedBatchEntry): unknown { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? CompressedExistenceProof.toJSON(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? CompressedNonExistenceProof.toJSON(message.nonexist) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CompressedBatchEntry { - const message = createBaseCompressedBatchEntry(); - if (object.exist !== undefined && object.exist !== null) { - message.exist = CompressedExistenceProof.fromPartial(object.exist); - } - if (object.nonexist !== undefined && object.nonexist !== null) { - message.nonexist = CompressedNonExistenceProof.fromPartial(object.nonexist); - } - return message; - }, - fromSDK(object: CompressedBatchEntrySDKType): CompressedBatchEntry { - return { - exist: object.exist ? CompressedExistenceProof.fromSDK(object.exist) : undefined, - nonexist: object.nonexist ? CompressedNonExistenceProof.fromSDK(object.nonexist) : undefined - }; - }, - toSDK(message: CompressedBatchEntry): CompressedBatchEntrySDKType { - const obj: any = {}; - message.exist !== undefined && (obj.exist = message.exist ? CompressedExistenceProof.toSDK(message.exist) : undefined); - message.nonexist !== undefined && (obj.nonexist = message.nonexist ? CompressedNonExistenceProof.toSDK(message.nonexist) : undefined); - return obj; - }, - fromAmino(object: CompressedBatchEntryAmino): CompressedBatchEntry { - return { - exist: object?.exist ? CompressedExistenceProof.fromAmino(object.exist) : undefined, - nonexist: object?.nonexist ? CompressedNonExistenceProof.fromAmino(object.nonexist) : undefined - }; - }, - toAmino(message: CompressedBatchEntry): CompressedBatchEntryAmino { - const obj: any = {}; - obj.exist = message.exist ? CompressedExistenceProof.toAmino(message.exist) : undefined; - obj.nonexist = message.nonexist ? CompressedNonExistenceProof.toAmino(message.nonexist) : undefined; - return obj; - }, - fromAminoMsg(object: CompressedBatchEntryAminoMsg): CompressedBatchEntry { - return CompressedBatchEntry.fromAmino(object.value); - }, - fromProtoMsg(message: CompressedBatchEntryProtoMsg): CompressedBatchEntry { - return CompressedBatchEntry.decode(message.value); - }, - toProto(message: CompressedBatchEntry): Uint8Array { - return CompressedBatchEntry.encode(message).finish(); - }, - toProtoMsg(message: CompressedBatchEntry): CompressedBatchEntryProtoMsg { - return { - typeUrl: "/ics23.CompressedBatchEntry", - value: CompressedBatchEntry.encode(message).finish() - }; - } -}; -function createBaseCompressedExistenceProof(): CompressedExistenceProof { - return { - key: new Uint8Array(), - value: new Uint8Array(), - leaf: LeafOp.fromPartial({}), - path: [] - }; -} -export const CompressedExistenceProof = { - typeUrl: "/ics23.CompressedExistenceProof", - encode(message: CompressedExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - if (message.leaf !== undefined) { - LeafOp.encode(message.leaf, writer.uint32(26).fork()).ldelim(); - } - writer.uint32(34).fork(); - for (const v of message.path) { - writer.int32(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedExistenceProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCompressedExistenceProof(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.value = reader.bytes(); - break; - case 3: - message.leaf = LeafOp.decode(reader, reader.uint32()); - break; - case 4: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.path.push(reader.int32()); - } - } else { - message.path.push(reader.int32()); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CompressedExistenceProof { - const obj = createBaseCompressedExistenceProof(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - if (isSet(object.value)) obj.value = bytesFromBase64(object.value); - if (isSet(object.leaf)) obj.leaf = LeafOp.fromJSON(object.leaf); - if (Array.isArray(object?.path)) obj.path = object.path.map((e: any) => Number(e)); - return obj; - }, - toJSON(message: CompressedExistenceProof): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - message.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toJSON(message.leaf) : undefined); - if (message.path) { - obj.path = message.path.map(e => Math.round(e)); - } else { - obj.path = []; - } - return obj; - }, - fromPartial(object: DeepPartial): CompressedExistenceProof { - const message = createBaseCompressedExistenceProof(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - if (object.leaf !== undefined && object.leaf !== null) { - message.leaf = LeafOp.fromPartial(object.leaf); - } - message.path = object.path?.map(e => e) || []; - return message; - }, - fromSDK(object: CompressedExistenceProofSDKType): CompressedExistenceProof { - return { - key: object?.key, - value: object?.value, - leaf: object.leaf ? LeafOp.fromSDK(object.leaf) : undefined, - path: Array.isArray(object?.path) ? object.path.map((e: any) => e) : [] - }; - }, - toSDK(message: CompressedExistenceProof): CompressedExistenceProofSDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - message.leaf !== undefined && (obj.leaf = message.leaf ? LeafOp.toSDK(message.leaf) : undefined); - if (message.path) { - obj.path = message.path.map(e => e); - } else { - obj.path = []; - } - return obj; - }, - fromAmino(object: CompressedExistenceProofAmino): CompressedExistenceProof { - return { - key: object.key, - value: object.value, - leaf: object?.leaf ? LeafOp.fromAmino(object.leaf) : undefined, - path: Array.isArray(object?.path) ? object.path.map((e: any) => e) : [] - }; - }, - toAmino(message: CompressedExistenceProof): CompressedExistenceProofAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - obj.leaf = message.leaf ? LeafOp.toAmino(message.leaf) : undefined; - if (message.path) { - obj.path = message.path.map(e => e); - } else { - obj.path = []; - } - return obj; - }, - fromAminoMsg(object: CompressedExistenceProofAminoMsg): CompressedExistenceProof { - return CompressedExistenceProof.fromAmino(object.value); - }, - fromProtoMsg(message: CompressedExistenceProofProtoMsg): CompressedExistenceProof { - return CompressedExistenceProof.decode(message.value); - }, - toProto(message: CompressedExistenceProof): Uint8Array { - return CompressedExistenceProof.encode(message).finish(); - }, - toProtoMsg(message: CompressedExistenceProof): CompressedExistenceProofProtoMsg { - return { - typeUrl: "/ics23.CompressedExistenceProof", - value: CompressedExistenceProof.encode(message).finish() - }; - } -}; -function createBaseCompressedNonExistenceProof(): CompressedNonExistenceProof { - return { - key: new Uint8Array(), - left: CompressedExistenceProof.fromPartial({}), - right: CompressedExistenceProof.fromPartial({}) - }; -} -export const CompressedNonExistenceProof = { - typeUrl: "/ics23.CompressedNonExistenceProof", - encode(message: CompressedNonExistenceProof, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (message.left !== undefined) { - CompressedExistenceProof.encode(message.left, writer.uint32(18).fork()).ldelim(); - } - if (message.right !== undefined) { - CompressedExistenceProof.encode(message.right, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedNonExistenceProof { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCompressedNonExistenceProof(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.left = CompressedExistenceProof.decode(reader, reader.uint32()); - break; - case 3: - message.right = CompressedExistenceProof.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CompressedNonExistenceProof { - const obj = createBaseCompressedNonExistenceProof(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - if (isSet(object.left)) obj.left = CompressedExistenceProof.fromJSON(object.left); - if (isSet(object.right)) obj.right = CompressedExistenceProof.fromJSON(object.right); - return obj; - }, - toJSON(message: CompressedNonExistenceProof): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.left !== undefined && (obj.left = message.left ? CompressedExistenceProof.toJSON(message.left) : undefined); - message.right !== undefined && (obj.right = message.right ? CompressedExistenceProof.toJSON(message.right) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CompressedNonExistenceProof { - const message = createBaseCompressedNonExistenceProof(); - message.key = object.key ?? new Uint8Array(); - if (object.left !== undefined && object.left !== null) { - message.left = CompressedExistenceProof.fromPartial(object.left); - } - if (object.right !== undefined && object.right !== null) { - message.right = CompressedExistenceProof.fromPartial(object.right); - } - return message; - }, - fromSDK(object: CompressedNonExistenceProofSDKType): CompressedNonExistenceProof { - return { - key: object?.key, - left: object.left ? CompressedExistenceProof.fromSDK(object.left) : undefined, - right: object.right ? CompressedExistenceProof.fromSDK(object.right) : undefined - }; - }, - toSDK(message: CompressedNonExistenceProof): CompressedNonExistenceProofSDKType { - const obj: any = {}; - obj.key = message.key; - message.left !== undefined && (obj.left = message.left ? CompressedExistenceProof.toSDK(message.left) : undefined); - message.right !== undefined && (obj.right = message.right ? CompressedExistenceProof.toSDK(message.right) : undefined); - return obj; - }, - fromAmino(object: CompressedNonExistenceProofAmino): CompressedNonExistenceProof { - return { - key: object.key, - left: object?.left ? CompressedExistenceProof.fromAmino(object.left) : undefined, - right: object?.right ? CompressedExistenceProof.fromAmino(object.right) : undefined - }; - }, - toAmino(message: CompressedNonExistenceProof): CompressedNonExistenceProofAmino { - const obj: any = {}; - obj.key = message.key; - obj.left = message.left ? CompressedExistenceProof.toAmino(message.left) : undefined; - obj.right = message.right ? CompressedExistenceProof.toAmino(message.right) : undefined; - return obj; - }, - fromAminoMsg(object: CompressedNonExistenceProofAminoMsg): CompressedNonExistenceProof { - return CompressedNonExistenceProof.fromAmino(object.value); - }, - fromProtoMsg(message: CompressedNonExistenceProofProtoMsg): CompressedNonExistenceProof { - return CompressedNonExistenceProof.decode(message.value); - }, - toProto(message: CompressedNonExistenceProof): Uint8Array { - return CompressedNonExistenceProof.encode(message).finish(); - }, - toProtoMsg(message: CompressedNonExistenceProof): CompressedNonExistenceProofProtoMsg { - return { - typeUrl: "/ics23.CompressedNonExistenceProof", - value: CompressedNonExistenceProof.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/app/v1alpha1/config.ts b/quicksilverjs/src/codegen/cosmos/app/v1alpha1/config.ts deleted file mode 100644 index db0048b0f..000000000 --- a/quicksilverjs/src/codegen/cosmos/app/v1alpha1/config.ts +++ /dev/null @@ -1,309 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../../helpers"; -export const protobufPackage = "cosmos.app.v1alpha1"; -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface Config { - /** modules are the module configurations for the app. */ - modules: ModuleConfig[]; -} -export interface ConfigProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.Config"; - value: Uint8Array; -} -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface ConfigAmino { - /** modules are the module configurations for the app. */ - modules: ModuleConfigAmino[]; -} -export interface ConfigAminoMsg { - type: "cosmos-sdk/Config"; - value: ConfigAmino; -} -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface ConfigSDKType { - modules: ModuleConfigSDKType[]; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfig { - /** - * name is the unique name of the module within the app. It should be a name - * that persists between different versions of a module so that modules - * can be smoothly upgraded to new versions. - * - * For example, for the module cosmos.bank.module.v1.Module, we may chose - * to simply name the module "bank" in the app. When we upgrade to - * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - * and the framework knows that the v2 module should receive all the same state - * that the v1 module had. Note: modules should provide info on which versions - * they can migrate from in the ModuleDescriptor.can_migration_from field. - */ - name: string; - /** - * config is the config object for the module. Module config messages should - * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - */ - config: Any; -} -export interface ModuleConfigProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.ModuleConfig"; - value: Uint8Array; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfigAmino { - /** - * name is the unique name of the module within the app. It should be a name - * that persists between different versions of a module so that modules - * can be smoothly upgraded to new versions. - * - * For example, for the module cosmos.bank.module.v1.Module, we may chose - * to simply name the module "bank" in the app. When we upgrade to - * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - * and the framework knows that the v2 module should receive all the same state - * that the v1 module had. Note: modules should provide info on which versions - * they can migrate from in the ModuleDescriptor.can_migration_from field. - */ - name: string; - /** - * config is the config object for the module. Module config messages should - * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - */ - config?: AnyAmino; -} -export interface ModuleConfigAminoMsg { - type: "cosmos-sdk/ModuleConfig"; - value: ModuleConfigAmino; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfigSDKType { - name: string; - config: AnySDKType; -} -function createBaseConfig(): Config { - return { - modules: [] - }; -} -export const Config = { - typeUrl: "/cosmos.app.v1alpha1.Config", - aminoType: "cosmos-sdk/Config", - encode(message: Config, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.modules) { - ModuleConfig.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Config { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConfig(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.modules.push(ModuleConfig.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Config { - const obj = createBaseConfig(); - if (Array.isArray(object?.modules)) obj.modules = object.modules.map((e: any) => ModuleConfig.fromJSON(e)); - return obj; - }, - toJSON(message: Config): unknown { - const obj: any = {}; - if (message.modules) { - obj.modules = message.modules.map(e => e ? ModuleConfig.toJSON(e) : undefined); - } else { - obj.modules = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Config { - const message = createBaseConfig(); - message.modules = object.modules?.map(e => ModuleConfig.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ConfigSDKType): Config { - return { - modules: Array.isArray(object?.modules) ? object.modules.map((e: any) => ModuleConfig.fromSDK(e)) : [] - }; - }, - toSDK(message: Config): ConfigSDKType { - const obj: any = {}; - if (message.modules) { - obj.modules = message.modules.map(e => e ? ModuleConfig.toSDK(e) : undefined); - } else { - obj.modules = []; - } - return obj; - }, - fromAmino(object: ConfigAmino): Config { - return { - modules: Array.isArray(object?.modules) ? object.modules.map((e: any) => ModuleConfig.fromAmino(e)) : [] - }; - }, - toAmino(message: Config): ConfigAmino { - const obj: any = {}; - if (message.modules) { - obj.modules = message.modules.map(e => e ? ModuleConfig.toAmino(e) : undefined); - } else { - obj.modules = []; - } - return obj; - }, - fromAminoMsg(object: ConfigAminoMsg): Config { - return Config.fromAmino(object.value); - }, - toAminoMsg(message: Config): ConfigAminoMsg { - return { - type: "cosmos-sdk/Config", - value: Config.toAmino(message) - }; - }, - fromProtoMsg(message: ConfigProtoMsg): Config { - return Config.decode(message.value); - }, - toProto(message: Config): Uint8Array { - return Config.encode(message).finish(); - }, - toProtoMsg(message: Config): ConfigProtoMsg { - return { - typeUrl: "/cosmos.app.v1alpha1.Config", - value: Config.encode(message).finish() - }; - } -}; -function createBaseModuleConfig(): ModuleConfig { - return { - name: "", - config: Any.fromPartial({}) - }; -} -export const ModuleConfig = { - typeUrl: "/cosmos.app.v1alpha1.ModuleConfig", - aminoType: "cosmos-sdk/ModuleConfig", - encode(message: ModuleConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.config !== undefined) { - Any.encode(message.config, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleConfig { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleConfig(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.config = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModuleConfig { - const obj = createBaseModuleConfig(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.config)) obj.config = Any.fromJSON(object.config); - return obj; - }, - toJSON(message: ModuleConfig): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.config !== undefined && (obj.config = message.config ? Any.toJSON(message.config) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ModuleConfig { - const message = createBaseModuleConfig(); - message.name = object.name ?? ""; - if (object.config !== undefined && object.config !== null) { - message.config = Any.fromPartial(object.config); - } - return message; - }, - fromSDK(object: ModuleConfigSDKType): ModuleConfig { - return { - name: object?.name, - config: object.config ? Any.fromSDK(object.config) : undefined - }; - }, - toSDK(message: ModuleConfig): ModuleConfigSDKType { - const obj: any = {}; - obj.name = message.name; - message.config !== undefined && (obj.config = message.config ? Any.toSDK(message.config) : undefined); - return obj; - }, - fromAmino(object: ModuleConfigAmino): ModuleConfig { - return { - name: object.name, - config: object?.config ? Any.fromAmino(object.config) : undefined - }; - }, - toAmino(message: ModuleConfig): ModuleConfigAmino { - const obj: any = {}; - obj.name = message.name; - obj.config = message.config ? Any.toAmino(message.config) : undefined; - return obj; - }, - fromAminoMsg(object: ModuleConfigAminoMsg): ModuleConfig { - return ModuleConfig.fromAmino(object.value); - }, - toAminoMsg(message: ModuleConfig): ModuleConfigAminoMsg { - return { - type: "cosmos-sdk/ModuleConfig", - value: ModuleConfig.toAmino(message) - }; - }, - fromProtoMsg(message: ModuleConfigProtoMsg): ModuleConfig { - return ModuleConfig.decode(message.value); - }, - toProto(message: ModuleConfig): Uint8Array { - return ModuleConfig.encode(message).finish(); - }, - toProtoMsg(message: ModuleConfig): ModuleConfigProtoMsg { - return { - typeUrl: "/cosmos.app.v1alpha1.ModuleConfig", - value: ModuleConfig.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/app/v1alpha1/module.ts b/quicksilverjs/src/codegen/cosmos/app/v1alpha1/module.ts deleted file mode 100644 index aa1ed69d0..000000000 --- a/quicksilverjs/src/codegen/cosmos/app/v1alpha1/module.ts +++ /dev/null @@ -1,539 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.app.v1alpha1"; -/** ModuleDescriptor describes an app module. */ -export interface ModuleDescriptor { - /** - * go_import names the package that should be imported by an app to load the - * module in the runtime module registry. Either go_import must be defined here - * or the go_package option must be defined at the file level to indicate - * to users where to location the module implementation. go_import takes - * precedence over go_package when both are defined. - */ - goImport: string; - /** - * use_package refers to a protobuf package that this module - * uses and exposes to the world. In an app, only one module should "use" - * or own a single protobuf package. It is assumed that the module uses - * all of the .proto files in a single package. - */ - usePackage: PackageReference[]; - /** - * can_migrate_from defines which module versions this module can migrate - * state from. The framework will check that one module version is able to - * migrate from a previous module version before attempting to update its - * config. It is assumed that modules can transitively migrate from earlier - * versions. For instance if v3 declares it can migrate from v2, and v2 - * declares it can migrate from v1, the framework knows how to migrate - * from v1 to v3, assuming all 3 module versions are registered at runtime. - */ - canMigrateFrom: MigrateFromInfo[]; -} -export interface ModuleDescriptorProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.ModuleDescriptor"; - value: Uint8Array; -} -/** ModuleDescriptor describes an app module. */ -export interface ModuleDescriptorAmino { - /** - * go_import names the package that should be imported by an app to load the - * module in the runtime module registry. Either go_import must be defined here - * or the go_package option must be defined at the file level to indicate - * to users where to location the module implementation. go_import takes - * precedence over go_package when both are defined. - */ - go_import: string; - /** - * use_package refers to a protobuf package that this module - * uses and exposes to the world. In an app, only one module should "use" - * or own a single protobuf package. It is assumed that the module uses - * all of the .proto files in a single package. - */ - use_package: PackageReferenceAmino[]; - /** - * can_migrate_from defines which module versions this module can migrate - * state from. The framework will check that one module version is able to - * migrate from a previous module version before attempting to update its - * config. It is assumed that modules can transitively migrate from earlier - * versions. For instance if v3 declares it can migrate from v2, and v2 - * declares it can migrate from v1, the framework knows how to migrate - * from v1 to v3, assuming all 3 module versions are registered at runtime. - */ - can_migrate_from: MigrateFromInfoAmino[]; -} -export interface ModuleDescriptorAminoMsg { - type: "cosmos-sdk/ModuleDescriptor"; - value: ModuleDescriptorAmino; -} -/** ModuleDescriptor describes an app module. */ -export interface ModuleDescriptorSDKType { - go_import: string; - use_package: PackageReferenceSDKType[]; - can_migrate_from: MigrateFromInfoSDKType[]; -} -/** PackageReference is a reference to a protobuf package used by a module. */ -export interface PackageReference { - /** name is the fully-qualified name of the package. */ - name: string; - /** - * revision is the optional revision of the package that is being used. - * Protobuf packages used in Cosmos should generally have a major version - * as the last part of the package name, ex. foo.bar.baz.v1. - * The revision of a package can be thought of as the minor version of a - * package which has additional backwards compatible definitions that weren't - * present in a previous version. - * - * A package should indicate its revision with a source code comment - * above the package declaration in one of its fields containing the - * test "Revision N" where N is an integer revision. All packages start - * at revision 0 the first time they are released in a module. - * - * When a new version of a module is released and items are added to existing - * .proto files, these definitions should contain comments of the form - * "Since Revision N" where N is an integer revision. - * - * When the module runtime starts up, it will check the pinned proto - * image and panic if there are runtime protobuf definitions that are not - * in the pinned descriptor which do not have - * a "Since Revision N" comment or have a "Since Revision N" comment where - * N is <= to the revision specified here. This indicates that the protobuf - * files have been updated, but the pinned file descriptor hasn't. - * - * If there are items in the pinned file descriptor with a revision - * greater than the value indicated here, this will also cause a panic - * as it may mean that the pinned descriptor for a legacy module has been - * improperly updated or that there is some other versioning discrepancy. - * Runtime protobuf definitions will also be checked for compatibility - * with pinned file descriptors to make sure there are no incompatible changes. - * - * This behavior ensures that: - * * pinned proto images are up-to-date - * * protobuf files are carefully annotated with revision comments which - * are important good client UX - * * protobuf files are changed in backwards and forwards compatible ways - */ - revision: number; -} -export interface PackageReferenceProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.PackageReference"; - value: Uint8Array; -} -/** PackageReference is a reference to a protobuf package used by a module. */ -export interface PackageReferenceAmino { - /** name is the fully-qualified name of the package. */ - name: string; - /** - * revision is the optional revision of the package that is being used. - * Protobuf packages used in Cosmos should generally have a major version - * as the last part of the package name, ex. foo.bar.baz.v1. - * The revision of a package can be thought of as the minor version of a - * package which has additional backwards compatible definitions that weren't - * present in a previous version. - * - * A package should indicate its revision with a source code comment - * above the package declaration in one of its fields containing the - * test "Revision N" where N is an integer revision. All packages start - * at revision 0 the first time they are released in a module. - * - * When a new version of a module is released and items are added to existing - * .proto files, these definitions should contain comments of the form - * "Since Revision N" where N is an integer revision. - * - * When the module runtime starts up, it will check the pinned proto - * image and panic if there are runtime protobuf definitions that are not - * in the pinned descriptor which do not have - * a "Since Revision N" comment or have a "Since Revision N" comment where - * N is <= to the revision specified here. This indicates that the protobuf - * files have been updated, but the pinned file descriptor hasn't. - * - * If there are items in the pinned file descriptor with a revision - * greater than the value indicated here, this will also cause a panic - * as it may mean that the pinned descriptor for a legacy module has been - * improperly updated or that there is some other versioning discrepancy. - * Runtime protobuf definitions will also be checked for compatibility - * with pinned file descriptors to make sure there are no incompatible changes. - * - * This behavior ensures that: - * * pinned proto images are up-to-date - * * protobuf files are carefully annotated with revision comments which - * are important good client UX - * * protobuf files are changed in backwards and forwards compatible ways - */ - revision: number; -} -export interface PackageReferenceAminoMsg { - type: "cosmos-sdk/PackageReference"; - value: PackageReferenceAmino; -} -/** PackageReference is a reference to a protobuf package used by a module. */ -export interface PackageReferenceSDKType { - name: string; - revision: number; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ -export interface MigrateFromInfo { - /** - * module is the fully-qualified protobuf name of the module config object - * for the previous module version, ex: "cosmos.group.module.v1.Module". - */ - module: string; -} -export interface MigrateFromInfoProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.MigrateFromInfo"; - value: Uint8Array; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ -export interface MigrateFromInfoAmino { - /** - * module is the fully-qualified protobuf name of the module config object - * for the previous module version, ex: "cosmos.group.module.v1.Module". - */ - module: string; -} -export interface MigrateFromInfoAminoMsg { - type: "cosmos-sdk/MigrateFromInfo"; - value: MigrateFromInfoAmino; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ -export interface MigrateFromInfoSDKType { - module: string; -} -function createBaseModuleDescriptor(): ModuleDescriptor { - return { - goImport: "", - usePackage: [], - canMigrateFrom: [] - }; -} -export const ModuleDescriptor = { - typeUrl: "/cosmos.app.v1alpha1.ModuleDescriptor", - aminoType: "cosmos-sdk/ModuleDescriptor", - encode(message: ModuleDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.goImport !== "") { - writer.uint32(10).string(message.goImport); - } - for (const v of message.usePackage) { - PackageReference.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.canMigrateFrom) { - MigrateFromInfo.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.goImport = reader.string(); - break; - case 2: - message.usePackage.push(PackageReference.decode(reader, reader.uint32())); - break; - case 3: - message.canMigrateFrom.push(MigrateFromInfo.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModuleDescriptor { - const obj = createBaseModuleDescriptor(); - if (isSet(object.goImport)) obj.goImport = String(object.goImport); - if (Array.isArray(object?.usePackage)) obj.usePackage = object.usePackage.map((e: any) => PackageReference.fromJSON(e)); - if (Array.isArray(object?.canMigrateFrom)) obj.canMigrateFrom = object.canMigrateFrom.map((e: any) => MigrateFromInfo.fromJSON(e)); - return obj; - }, - toJSON(message: ModuleDescriptor): unknown { - const obj: any = {}; - message.goImport !== undefined && (obj.goImport = message.goImport); - if (message.usePackage) { - obj.usePackage = message.usePackage.map(e => e ? PackageReference.toJSON(e) : undefined); - } else { - obj.usePackage = []; - } - if (message.canMigrateFrom) { - obj.canMigrateFrom = message.canMigrateFrom.map(e => e ? MigrateFromInfo.toJSON(e) : undefined); - } else { - obj.canMigrateFrom = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ModuleDescriptor { - const message = createBaseModuleDescriptor(); - message.goImport = object.goImport ?? ""; - message.usePackage = object.usePackage?.map(e => PackageReference.fromPartial(e)) || []; - message.canMigrateFrom = object.canMigrateFrom?.map(e => MigrateFromInfo.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ModuleDescriptorSDKType): ModuleDescriptor { - return { - goImport: object?.go_import, - usePackage: Array.isArray(object?.use_package) ? object.use_package.map((e: any) => PackageReference.fromSDK(e)) : [], - canMigrateFrom: Array.isArray(object?.can_migrate_from) ? object.can_migrate_from.map((e: any) => MigrateFromInfo.fromSDK(e)) : [] - }; - }, - toSDK(message: ModuleDescriptor): ModuleDescriptorSDKType { - const obj: any = {}; - obj.go_import = message.goImport; - if (message.usePackage) { - obj.use_package = message.usePackage.map(e => e ? PackageReference.toSDK(e) : undefined); - } else { - obj.use_package = []; - } - if (message.canMigrateFrom) { - obj.can_migrate_from = message.canMigrateFrom.map(e => e ? MigrateFromInfo.toSDK(e) : undefined); - } else { - obj.can_migrate_from = []; - } - return obj; - }, - fromAmino(object: ModuleDescriptorAmino): ModuleDescriptor { - return { - goImport: object.go_import, - usePackage: Array.isArray(object?.use_package) ? object.use_package.map((e: any) => PackageReference.fromAmino(e)) : [], - canMigrateFrom: Array.isArray(object?.can_migrate_from) ? object.can_migrate_from.map((e: any) => MigrateFromInfo.fromAmino(e)) : [] - }; - }, - toAmino(message: ModuleDescriptor): ModuleDescriptorAmino { - const obj: any = {}; - obj.go_import = message.goImport; - if (message.usePackage) { - obj.use_package = message.usePackage.map(e => e ? PackageReference.toAmino(e) : undefined); - } else { - obj.use_package = []; - } - if (message.canMigrateFrom) { - obj.can_migrate_from = message.canMigrateFrom.map(e => e ? MigrateFromInfo.toAmino(e) : undefined); - } else { - obj.can_migrate_from = []; - } - return obj; - }, - fromAminoMsg(object: ModuleDescriptorAminoMsg): ModuleDescriptor { - return ModuleDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: ModuleDescriptor): ModuleDescriptorAminoMsg { - return { - type: "cosmos-sdk/ModuleDescriptor", - value: ModuleDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: ModuleDescriptorProtoMsg): ModuleDescriptor { - return ModuleDescriptor.decode(message.value); - }, - toProto(message: ModuleDescriptor): Uint8Array { - return ModuleDescriptor.encode(message).finish(); - }, - toProtoMsg(message: ModuleDescriptor): ModuleDescriptorProtoMsg { - return { - typeUrl: "/cosmos.app.v1alpha1.ModuleDescriptor", - value: ModuleDescriptor.encode(message).finish() - }; - } -}; -function createBasePackageReference(): PackageReference { - return { - name: "", - revision: 0 - }; -} -export const PackageReference = { - typeUrl: "/cosmos.app.v1alpha1.PackageReference", - aminoType: "cosmos-sdk/PackageReference", - encode(message: PackageReference, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.revision !== 0) { - writer.uint32(16).uint32(message.revision); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PackageReference { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePackageReference(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.revision = reader.uint32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PackageReference { - const obj = createBasePackageReference(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.revision)) obj.revision = Number(object.revision); - return obj; - }, - toJSON(message: PackageReference): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.revision !== undefined && (obj.revision = Math.round(message.revision)); - return obj; - }, - fromPartial(object: DeepPartial): PackageReference { - const message = createBasePackageReference(); - message.name = object.name ?? ""; - message.revision = object.revision ?? 0; - return message; - }, - fromSDK(object: PackageReferenceSDKType): PackageReference { - return { - name: object?.name, - revision: object?.revision - }; - }, - toSDK(message: PackageReference): PackageReferenceSDKType { - const obj: any = {}; - obj.name = message.name; - obj.revision = message.revision; - return obj; - }, - fromAmino(object: PackageReferenceAmino): PackageReference { - return { - name: object.name, - revision: object.revision - }; - }, - toAmino(message: PackageReference): PackageReferenceAmino { - const obj: any = {}; - obj.name = message.name; - obj.revision = message.revision; - return obj; - }, - fromAminoMsg(object: PackageReferenceAminoMsg): PackageReference { - return PackageReference.fromAmino(object.value); - }, - toAminoMsg(message: PackageReference): PackageReferenceAminoMsg { - return { - type: "cosmos-sdk/PackageReference", - value: PackageReference.toAmino(message) - }; - }, - fromProtoMsg(message: PackageReferenceProtoMsg): PackageReference { - return PackageReference.decode(message.value); - }, - toProto(message: PackageReference): Uint8Array { - return PackageReference.encode(message).finish(); - }, - toProtoMsg(message: PackageReference): PackageReferenceProtoMsg { - return { - typeUrl: "/cosmos.app.v1alpha1.PackageReference", - value: PackageReference.encode(message).finish() - }; - } -}; -function createBaseMigrateFromInfo(): MigrateFromInfo { - return { - module: "" - }; -} -export const MigrateFromInfo = { - typeUrl: "/cosmos.app.v1alpha1.MigrateFromInfo", - aminoType: "cosmos-sdk/MigrateFromInfo", - encode(message: MigrateFromInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.module !== "") { - writer.uint32(10).string(message.module); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MigrateFromInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMigrateFromInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.module = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MigrateFromInfo { - const obj = createBaseMigrateFromInfo(); - if (isSet(object.module)) obj.module = String(object.module); - return obj; - }, - toJSON(message: MigrateFromInfo): unknown { - const obj: any = {}; - message.module !== undefined && (obj.module = message.module); - return obj; - }, - fromPartial(object: DeepPartial): MigrateFromInfo { - const message = createBaseMigrateFromInfo(); - message.module = object.module ?? ""; - return message; - }, - fromSDK(object: MigrateFromInfoSDKType): MigrateFromInfo { - return { - module: object?.module - }; - }, - toSDK(message: MigrateFromInfo): MigrateFromInfoSDKType { - const obj: any = {}; - obj.module = message.module; - return obj; - }, - fromAmino(object: MigrateFromInfoAmino): MigrateFromInfo { - return { - module: object.module - }; - }, - toAmino(message: MigrateFromInfo): MigrateFromInfoAmino { - const obj: any = {}; - obj.module = message.module; - return obj; - }, - fromAminoMsg(object: MigrateFromInfoAminoMsg): MigrateFromInfo { - return MigrateFromInfo.fromAmino(object.value); - }, - toAminoMsg(message: MigrateFromInfo): MigrateFromInfoAminoMsg { - return { - type: "cosmos-sdk/MigrateFromInfo", - value: MigrateFromInfo.toAmino(message) - }; - }, - fromProtoMsg(message: MigrateFromInfoProtoMsg): MigrateFromInfo { - return MigrateFromInfo.decode(message.value); - }, - toProto(message: MigrateFromInfo): Uint8Array { - return MigrateFromInfo.encode(message).finish(); - }, - toProtoMsg(message: MigrateFromInfo): MigrateFromInfoProtoMsg { - return { - typeUrl: "/cosmos.app.v1alpha1.MigrateFromInfo", - value: MigrateFromInfo.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts deleted file mode 100644 index c3bb74bad..000000000 --- a/quicksilverjs/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Config, ConfigSDKType } from "./config"; -import * as fm from "../../../grpc-gateway"; -import { QueryConfigRequest, QueryConfigRequestSDKType, QueryConfigResponse, QueryConfigResponseSDKType } from "./query"; -export class Query { - /** Config returns the current app config. */ - static config(request: QueryConfigRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`cosmos.app.v1alpha1.Config?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Config returns the current app config. */ - async config(req: QueryConfigRequest, headers?: HeadersInit): Promise { - return Query.config(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/app/v1alpha1/query.ts b/quicksilverjs/src/codegen/cosmos/app/v1alpha1/query.ts deleted file mode 100644 index f79e7fe57..000000000 --- a/quicksilverjs/src/codegen/cosmos/app/v1alpha1/query.ts +++ /dev/null @@ -1,201 +0,0 @@ -import { Config, ConfigAmino, ConfigSDKType } from "./config"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../../helpers"; -export const protobufPackage = "cosmos.app.v1alpha1"; -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequest {} -export interface QueryConfigRequestProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigRequest"; - value: Uint8Array; -} -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequestAmino {} -export interface QueryConfigRequestAminoMsg { - type: "cosmos-sdk/QueryConfigRequest"; - value: QueryConfigRequestAmino; -} -/** QueryConfigRequest is the Query/Config request type. */ -export interface QueryConfigRequestSDKType {} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponse { - /** config is the current app config. */ - config: Config; -} -export interface QueryConfigResponseProtoMsg { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigResponse"; - value: Uint8Array; -} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponseAmino { - /** config is the current app config. */ - config?: ConfigAmino; -} -export interface QueryConfigResponseAminoMsg { - type: "cosmos-sdk/QueryConfigResponse"; - value: QueryConfigResponseAmino; -} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponseSDKType { - config: ConfigSDKType; -} -function createBaseQueryConfigRequest(): QueryConfigRequest { - return {}; -} -export const QueryConfigRequest = { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigRequest", - aminoType: "cosmos-sdk/QueryConfigRequest", - encode(_: QueryConfigRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConfigRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryConfigRequest { - const obj = createBaseQueryConfigRequest(); - return obj; - }, - toJSON(_: QueryConfigRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryConfigRequest { - const message = createBaseQueryConfigRequest(); - return message; - }, - fromSDK(_: QueryConfigRequestSDKType): QueryConfigRequest { - return {}; - }, - toSDK(_: QueryConfigRequest): QueryConfigRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryConfigRequestAmino): QueryConfigRequest { - return {}; - }, - toAmino(_: QueryConfigRequest): QueryConfigRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryConfigRequestAminoMsg): QueryConfigRequest { - return QueryConfigRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryConfigRequest): QueryConfigRequestAminoMsg { - return { - type: "cosmos-sdk/QueryConfigRequest", - value: QueryConfigRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryConfigRequestProtoMsg): QueryConfigRequest { - return QueryConfigRequest.decode(message.value); - }, - toProto(message: QueryConfigRequest): Uint8Array { - return QueryConfigRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryConfigRequest): QueryConfigRequestProtoMsg { - return { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigRequest", - value: QueryConfigRequest.encode(message).finish() - }; - } -}; -function createBaseQueryConfigResponse(): QueryConfigResponse { - return { - config: Config.fromPartial({}) - }; -} -export const QueryConfigResponse = { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigResponse", - aminoType: "cosmos-sdk/QueryConfigResponse", - encode(message: QueryConfigResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.config !== undefined) { - Config.encode(message.config, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryConfigResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.config = Config.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryConfigResponse { - const obj = createBaseQueryConfigResponse(); - if (isSet(object.config)) obj.config = Config.fromJSON(object.config); - return obj; - }, - toJSON(message: QueryConfigResponse): unknown { - const obj: any = {}; - message.config !== undefined && (obj.config = message.config ? Config.toJSON(message.config) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryConfigResponse { - const message = createBaseQueryConfigResponse(); - if (object.config !== undefined && object.config !== null) { - message.config = Config.fromPartial(object.config); - } - return message; - }, - fromSDK(object: QueryConfigResponseSDKType): QueryConfigResponse { - return { - config: object.config ? Config.fromSDK(object.config) : undefined - }; - }, - toSDK(message: QueryConfigResponse): QueryConfigResponseSDKType { - const obj: any = {}; - message.config !== undefined && (obj.config = message.config ? Config.toSDK(message.config) : undefined); - return obj; - }, - fromAmino(object: QueryConfigResponseAmino): QueryConfigResponse { - return { - config: object?.config ? Config.fromAmino(object.config) : undefined - }; - }, - toAmino(message: QueryConfigResponse): QueryConfigResponseAmino { - const obj: any = {}; - obj.config = message.config ? Config.toAmino(message.config) : undefined; - return obj; - }, - fromAminoMsg(object: QueryConfigResponseAminoMsg): QueryConfigResponse { - return QueryConfigResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryConfigResponse): QueryConfigResponseAminoMsg { - return { - type: "cosmos-sdk/QueryConfigResponse", - value: QueryConfigResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryConfigResponseProtoMsg): QueryConfigResponse { - return QueryConfigResponse.decode(message.value); - }, - toProto(message: QueryConfigResponse): Uint8Array { - return QueryConfigResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryConfigResponse): QueryConfigResponseProtoMsg { - return { - typeUrl: "/cosmos.app.v1alpha1.QueryConfigResponse", - value: QueryConfigResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/auth/v1beta1/auth.ts b/quicksilverjs/src/codegen/cosmos/auth/v1beta1/auth.ts deleted file mode 100644 index 80df282b2..000000000 --- a/quicksilverjs/src/codegen/cosmos/auth/v1beta1/auth.ts +++ /dev/null @@ -1,523 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.auth.v1beta1"; -/** - * BaseAccount defines a base account type. It contains all the necessary fields - * for basic account functionality. Any custom account type should extend this - * type for additional functionality (e.g. vesting). - */ -export interface BaseAccount { - address: string; - pubKey: Any; - accountNumber: Long; - sequence: Long; -} -export interface BaseAccountProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.BaseAccount"; - value: Uint8Array; -} -/** - * BaseAccount defines a base account type. It contains all the necessary fields - * for basic account functionality. Any custom account type should extend this - * type for additional functionality (e.g. vesting). - */ -export interface BaseAccountAmino { - address: string; - pub_key?: AnyAmino; - account_number: string; - sequence: string; -} -export interface BaseAccountAminoMsg { - type: "cosmos-sdk/BaseAccount"; - value: BaseAccountAmino; -} -/** - * BaseAccount defines a base account type. It contains all the necessary fields - * for basic account functionality. Any custom account type should extend this - * type for additional functionality (e.g. vesting). - */ -export interface BaseAccountSDKType { - address: string; - pub_key: AnySDKType; - account_number: Long; - sequence: Long; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ -export interface ModuleAccount { - baseAccount: BaseAccount; - name: string; - permissions: string[]; -} -export interface ModuleAccountProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.ModuleAccount"; - value: Uint8Array; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ -export interface ModuleAccountAmino { - base_account?: BaseAccountAmino; - name: string; - permissions: string[]; -} -export interface ModuleAccountAminoMsg { - type: "cosmos-sdk/ModuleAccount"; - value: ModuleAccountAmino; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ -export interface ModuleAccountSDKType { - base_account: BaseAccountSDKType; - name: string; - permissions: string[]; -} -/** Params defines the parameters for the auth module. */ -export interface Params { - maxMemoCharacters: Long; - txSigLimit: Long; - txSizeCostPerByte: Long; - sigVerifyCostEd25519: Long; - sigVerifyCostSecp256k1: Long; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the parameters for the auth module. */ -export interface ParamsAmino { - max_memo_characters: string; - tx_sig_limit: string; - tx_size_cost_per_byte: string; - sig_verify_cost_ed25519: string; - sig_verify_cost_secp256k1: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the parameters for the auth module. */ -export interface ParamsSDKType { - max_memo_characters: Long; - tx_sig_limit: Long; - tx_size_cost_per_byte: Long; - sig_verify_cost_ed25519: Long; - sig_verify_cost_secp256k1: Long; -} -function createBaseBaseAccount(): BaseAccount { - return { - address: "", - pubKey: Any.fromPartial({}), - accountNumber: Long.UZERO, - sequence: Long.UZERO - }; -} -export const BaseAccount = { - typeUrl: "/cosmos.auth.v1beta1.BaseAccount", - aminoType: "cosmos-sdk/BaseAccount", - encode(message: BaseAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.pubKey !== undefined) { - Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); - } - if (!message.accountNumber.isZero()) { - writer.uint32(24).uint64(message.accountNumber); - } - if (!message.sequence.isZero()) { - writer.uint32(32).uint64(message.sequence); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BaseAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBaseAccount(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.pubKey = Any.decode(reader, reader.uint32()); - break; - case 3: - message.accountNumber = (reader.uint64() as Long); - break; - case 4: - message.sequence = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BaseAccount { - const obj = createBaseBaseAccount(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.pubKey)) obj.pubKey = Any.fromJSON(object.pubKey); - if (isSet(object.accountNumber)) obj.accountNumber = Long.fromValue(object.accountNumber); - if (isSet(object.sequence)) obj.sequence = Long.fromValue(object.sequence); - return obj; - }, - toJSON(message: BaseAccount): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pubKey !== undefined && (obj.pubKey = message.pubKey ? Any.toJSON(message.pubKey) : undefined); - message.accountNumber !== undefined && (obj.accountNumber = (message.accountNumber || Long.UZERO).toString()); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): BaseAccount { - const message = createBaseBaseAccount(); - message.address = object.address ?? ""; - if (object.pubKey !== undefined && object.pubKey !== null) { - message.pubKey = Any.fromPartial(object.pubKey); - } - if (object.accountNumber !== undefined && object.accountNumber !== null) { - message.accountNumber = Long.fromValue(object.accountNumber); - } - if (object.sequence !== undefined && object.sequence !== null) { - message.sequence = Long.fromValue(object.sequence); - } - return message; - }, - fromSDK(object: BaseAccountSDKType): BaseAccount { - return { - address: object?.address, - pubKey: object.pub_key ? Any.fromSDK(object.pub_key) : undefined, - accountNumber: object?.account_number, - sequence: object?.sequence - }; - }, - toSDK(message: BaseAccount): BaseAccountSDKType { - const obj: any = {}; - obj.address = message.address; - message.pubKey !== undefined && (obj.pub_key = message.pubKey ? Any.toSDK(message.pubKey) : undefined); - obj.account_number = message.accountNumber; - obj.sequence = message.sequence; - return obj; - }, - fromAmino(object: BaseAccountAmino): BaseAccount { - return { - address: object.address, - pubKey: object?.pub_key ? Any.fromAmino(object.pub_key) : undefined, - accountNumber: Long.fromString(object.account_number), - sequence: Long.fromString(object.sequence) - }; - }, - toAmino(message: BaseAccount): BaseAccountAmino { - const obj: any = {}; - obj.address = message.address; - obj.pub_key = message.pubKey ? Any.toAmino(message.pubKey) : undefined; - obj.account_number = message.accountNumber ? message.accountNumber.toString() : undefined; - obj.sequence = message.sequence ? message.sequence.toString() : undefined; - return obj; - }, - fromAminoMsg(object: BaseAccountAminoMsg): BaseAccount { - return BaseAccount.fromAmino(object.value); - }, - toAminoMsg(message: BaseAccount): BaseAccountAminoMsg { - return { - type: "cosmos-sdk/BaseAccount", - value: BaseAccount.toAmino(message) - }; - }, - fromProtoMsg(message: BaseAccountProtoMsg): BaseAccount { - return BaseAccount.decode(message.value); - }, - toProto(message: BaseAccount): Uint8Array { - return BaseAccount.encode(message).finish(); - }, - toProtoMsg(message: BaseAccount): BaseAccountProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.BaseAccount", - value: BaseAccount.encode(message).finish() - }; - } -}; -function createBaseModuleAccount(): ModuleAccount { - return { - baseAccount: BaseAccount.fromPartial({}), - name: "", - permissions: [] - }; -} -export const ModuleAccount = { - typeUrl: "/cosmos.auth.v1beta1.ModuleAccount", - aminoType: "cosmos-sdk/ModuleAccount", - encode(message: ModuleAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseAccount !== undefined) { - BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim(); - } - if (message.name !== "") { - writer.uint32(18).string(message.name); - } - for (const v of message.permissions) { - writer.uint32(26).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleAccount(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.baseAccount = BaseAccount.decode(reader, reader.uint32()); - break; - case 2: - message.name = reader.string(); - break; - case 3: - message.permissions.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModuleAccount { - const obj = createBaseModuleAccount(); - if (isSet(object.baseAccount)) obj.baseAccount = BaseAccount.fromJSON(object.baseAccount); - if (isSet(object.name)) obj.name = String(object.name); - if (Array.isArray(object?.permissions)) obj.permissions = object.permissions.map((e: any) => String(e)); - return obj; - }, - toJSON(message: ModuleAccount): unknown { - const obj: any = {}; - message.baseAccount !== undefined && (obj.baseAccount = message.baseAccount ? BaseAccount.toJSON(message.baseAccount) : undefined); - message.name !== undefined && (obj.name = message.name); - if (message.permissions) { - obj.permissions = message.permissions.map(e => e); - } else { - obj.permissions = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ModuleAccount { - const message = createBaseModuleAccount(); - if (object.baseAccount !== undefined && object.baseAccount !== null) { - message.baseAccount = BaseAccount.fromPartial(object.baseAccount); - } - message.name = object.name ?? ""; - message.permissions = object.permissions?.map(e => e) || []; - return message; - }, - fromSDK(object: ModuleAccountSDKType): ModuleAccount { - return { - baseAccount: object.base_account ? BaseAccount.fromSDK(object.base_account) : undefined, - name: object?.name, - permissions: Array.isArray(object?.permissions) ? object.permissions.map((e: any) => e) : [] - }; - }, - toSDK(message: ModuleAccount): ModuleAccountSDKType { - const obj: any = {}; - message.baseAccount !== undefined && (obj.base_account = message.baseAccount ? BaseAccount.toSDK(message.baseAccount) : undefined); - obj.name = message.name; - if (message.permissions) { - obj.permissions = message.permissions.map(e => e); - } else { - obj.permissions = []; - } - return obj; - }, - fromAmino(object: ModuleAccountAmino): ModuleAccount { - return { - baseAccount: object?.base_account ? BaseAccount.fromAmino(object.base_account) : undefined, - name: object.name, - permissions: Array.isArray(object?.permissions) ? object.permissions.map((e: any) => e) : [] - }; - }, - toAmino(message: ModuleAccount): ModuleAccountAmino { - const obj: any = {}; - obj.base_account = message.baseAccount ? BaseAccount.toAmino(message.baseAccount) : undefined; - obj.name = message.name; - if (message.permissions) { - obj.permissions = message.permissions.map(e => e); - } else { - obj.permissions = []; - } - return obj; - }, - fromAminoMsg(object: ModuleAccountAminoMsg): ModuleAccount { - return ModuleAccount.fromAmino(object.value); - }, - toAminoMsg(message: ModuleAccount): ModuleAccountAminoMsg { - return { - type: "cosmos-sdk/ModuleAccount", - value: ModuleAccount.toAmino(message) - }; - }, - fromProtoMsg(message: ModuleAccountProtoMsg): ModuleAccount { - return ModuleAccount.decode(message.value); - }, - toProto(message: ModuleAccount): Uint8Array { - return ModuleAccount.encode(message).finish(); - }, - toProtoMsg(message: ModuleAccount): ModuleAccountProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.ModuleAccount", - value: ModuleAccount.encode(message).finish() - }; - } -}; -function createBaseParams(): Params { - return { - maxMemoCharacters: Long.UZERO, - txSigLimit: Long.UZERO, - txSizeCostPerByte: Long.UZERO, - sigVerifyCostEd25519: Long.UZERO, - sigVerifyCostSecp256k1: Long.UZERO - }; -} -export const Params = { - typeUrl: "/cosmos.auth.v1beta1.Params", - aminoType: "cosmos-sdk/Params", - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.maxMemoCharacters.isZero()) { - writer.uint32(8).uint64(message.maxMemoCharacters); - } - if (!message.txSigLimit.isZero()) { - writer.uint32(16).uint64(message.txSigLimit); - } - if (!message.txSizeCostPerByte.isZero()) { - writer.uint32(24).uint64(message.txSizeCostPerByte); - } - if (!message.sigVerifyCostEd25519.isZero()) { - writer.uint32(32).uint64(message.sigVerifyCostEd25519); - } - if (!message.sigVerifyCostSecp256k1.isZero()) { - writer.uint32(40).uint64(message.sigVerifyCostSecp256k1); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.maxMemoCharacters = (reader.uint64() as Long); - break; - case 2: - message.txSigLimit = (reader.uint64() as Long); - break; - case 3: - message.txSizeCostPerByte = (reader.uint64() as Long); - break; - case 4: - message.sigVerifyCostEd25519 = (reader.uint64() as Long); - break; - case 5: - message.sigVerifyCostSecp256k1 = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Params { - const obj = createBaseParams(); - if (isSet(object.maxMemoCharacters)) obj.maxMemoCharacters = Long.fromValue(object.maxMemoCharacters); - if (isSet(object.txSigLimit)) obj.txSigLimit = Long.fromValue(object.txSigLimit); - if (isSet(object.txSizeCostPerByte)) obj.txSizeCostPerByte = Long.fromValue(object.txSizeCostPerByte); - if (isSet(object.sigVerifyCostEd25519)) obj.sigVerifyCostEd25519 = Long.fromValue(object.sigVerifyCostEd25519); - if (isSet(object.sigVerifyCostSecp256k1)) obj.sigVerifyCostSecp256k1 = Long.fromValue(object.sigVerifyCostSecp256k1); - return obj; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.maxMemoCharacters !== undefined && (obj.maxMemoCharacters = (message.maxMemoCharacters || Long.UZERO).toString()); - message.txSigLimit !== undefined && (obj.txSigLimit = (message.txSigLimit || Long.UZERO).toString()); - message.txSizeCostPerByte !== undefined && (obj.txSizeCostPerByte = (message.txSizeCostPerByte || Long.UZERO).toString()); - message.sigVerifyCostEd25519 !== undefined && (obj.sigVerifyCostEd25519 = (message.sigVerifyCostEd25519 || Long.UZERO).toString()); - message.sigVerifyCostSecp256k1 !== undefined && (obj.sigVerifyCostSecp256k1 = (message.sigVerifyCostSecp256k1 || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): Params { - const message = createBaseParams(); - if (object.maxMemoCharacters !== undefined && object.maxMemoCharacters !== null) { - message.maxMemoCharacters = Long.fromValue(object.maxMemoCharacters); - } - if (object.txSigLimit !== undefined && object.txSigLimit !== null) { - message.txSigLimit = Long.fromValue(object.txSigLimit); - } - if (object.txSizeCostPerByte !== undefined && object.txSizeCostPerByte !== null) { - message.txSizeCostPerByte = Long.fromValue(object.txSizeCostPerByte); - } - if (object.sigVerifyCostEd25519 !== undefined && object.sigVerifyCostEd25519 !== null) { - message.sigVerifyCostEd25519 = Long.fromValue(object.sigVerifyCostEd25519); - } - if (object.sigVerifyCostSecp256k1 !== undefined && object.sigVerifyCostSecp256k1 !== null) { - message.sigVerifyCostSecp256k1 = Long.fromValue(object.sigVerifyCostSecp256k1); - } - return message; - }, - fromSDK(object: ParamsSDKType): Params { - return { - maxMemoCharacters: object?.max_memo_characters, - txSigLimit: object?.tx_sig_limit, - txSizeCostPerByte: object?.tx_size_cost_per_byte, - sigVerifyCostEd25519: object?.sig_verify_cost_ed25519, - sigVerifyCostSecp256k1: object?.sig_verify_cost_secp256k1 - }; - }, - toSDK(message: Params): ParamsSDKType { - const obj: any = {}; - obj.max_memo_characters = message.maxMemoCharacters; - obj.tx_sig_limit = message.txSigLimit; - obj.tx_size_cost_per_byte = message.txSizeCostPerByte; - obj.sig_verify_cost_ed25519 = message.sigVerifyCostEd25519; - obj.sig_verify_cost_secp256k1 = message.sigVerifyCostSecp256k1; - return obj; - }, - fromAmino(object: ParamsAmino): Params { - return { - maxMemoCharacters: Long.fromString(object.max_memo_characters), - txSigLimit: Long.fromString(object.tx_sig_limit), - txSizeCostPerByte: Long.fromString(object.tx_size_cost_per_byte), - sigVerifyCostEd25519: Long.fromString(object.sig_verify_cost_ed25519), - sigVerifyCostSecp256k1: Long.fromString(object.sig_verify_cost_secp256k1) - }; - }, - toAmino(message: Params): ParamsAmino { - const obj: any = {}; - obj.max_memo_characters = message.maxMemoCharacters ? message.maxMemoCharacters.toString() : undefined; - obj.tx_sig_limit = message.txSigLimit ? message.txSigLimit.toString() : undefined; - obj.tx_size_cost_per_byte = message.txSizeCostPerByte ? message.txSizeCostPerByte.toString() : undefined; - obj.sig_verify_cost_ed25519 = message.sigVerifyCostEd25519 ? message.sigVerifyCostEd25519.toString() : undefined; - obj.sig_verify_cost_secp256k1 = message.sigVerifyCostSecp256k1 ? message.sigVerifyCostSecp256k1.toString() : undefined; - return obj; - }, - fromAminoMsg(object: ParamsAminoMsg): Params { - return Params.fromAmino(object.value); - }, - toAminoMsg(message: Params): ParamsAminoMsg { - return { - type: "cosmos-sdk/Params", - value: Params.toAmino(message) - }; - }, - fromProtoMsg(message: ParamsProtoMsg): Params { - return Params.decode(message.value); - }, - toProto(message: Params): Uint8Array { - return Params.encode(message).finish(); - }, - toProtoMsg(message: Params): ParamsProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.Params", - value: Params.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/auth/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/auth/v1beta1/genesis.ts deleted file mode 100644 index 450132615..000000000 --- a/quicksilverjs/src/codegen/cosmos/auth/v1beta1/genesis.ts +++ /dev/null @@ -1,148 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./auth"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.auth.v1beta1"; -/** GenesisState defines the auth module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params: Params; - /** accounts are the accounts present at genesis. */ - accounts: Any[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the auth module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of the module. */ - params?: ParamsAmino; - /** accounts are the accounts present at genesis. */ - accounts: AnyAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the auth module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - accounts: AnySDKType[]; -} -function createBaseGenesisState(): GenesisState { - return { - params: Params.fromPartial({}), - accounts: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.auth.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.accounts) { - Any.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - case 2: - message.accounts.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - if (Array.isArray(object?.accounts)) obj.accounts = object.accounts.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.accounts = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - params: object.params ? Params.fromSDK(object.params) : undefined, - accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.accounts = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined, - accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Any.fromAmino(e)) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.accounts = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.lcd.ts deleted file mode 100644 index 976d4c1fd..000000000 --- a/quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Params, ParamsSDKType, BaseAccount, BaseAccountSDKType, ModuleAccount, ModuleAccountSDKType } from "./auth"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryAccountsRequest, QueryAccountsRequestSDKType, QueryAccountsResponse, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountRequestSDKType, QueryAccountResponse, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsRequestSDKType, QueryModuleAccountsResponse, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixRequestSDKType, Bech32PrefixResponse, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringRequestSDKType, AddressBytesToStringResponse, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesRequestSDKType, AddressStringToBytesResponse, AddressStringToBytesResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.accounts = this.accounts.bind(this); - this.account = this.account.bind(this); - this.params = this.params.bind(this); - this.moduleAccounts = this.moduleAccounts.bind(this); - this.bech32Prefix = this.bech32Prefix.bind(this); - this.addressBytesToString = this.addressBytesToString.bind(this); - this.addressStringToBytes = this.addressStringToBytes.bind(this); - } - /* Accounts returns all the existing accounts - - Since: cosmos-sdk 0.43 */ - async accounts(params: QueryAccountsRequest = { - pagination: PageRequest.fromPartial({}) - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/auth/v1beta1/accounts`; - return await this.req.get(endpoint, options); - } - /* Account returns account details based on address. */ - async account(params: QueryAccountRequest): Promise { - const endpoint = `cosmos/auth/v1beta1/accounts/${params.address}`; - return await this.req.get(endpoint); - } - /* Params queries all parameters. */ - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/auth/v1beta1/params`; - return await this.req.get(endpoint); - } - /* ModuleAccounts returns all the existing module accounts. */ - async moduleAccounts(_params: QueryModuleAccountsRequest = {}): Promise { - const endpoint = `cosmos/auth/v1beta1/module_accounts`; - return await this.req.get(endpoint); - } - /* Bech32 queries bech32Prefix */ - async bech32Prefix(_params: Bech32PrefixRequest = {}): Promise { - const endpoint = `cosmos/auth/v1beta1/bech32`; - return await this.req.get(endpoint); - } - /* AddressBytesToString converts Account Address bytes to string */ - async addressBytesToString(params: AddressBytesToStringRequest): Promise { - const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressBytes}`; - return await this.req.get(endpoint); - } - /* AddressStringToBytes converts Address string to bytes */ - async addressStringToBytes(params: AddressStringToBytesRequest): Promise { - const endpoint = `cosmos/auth/v1beta1/bech32/${params.addressString}`; - return await this.req.get(endpoint); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts deleted file mode 100644 index e7dc7082b..000000000 --- a/quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,133 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Params, ParamsSDKType, BaseAccount, BaseAccountSDKType, ModuleAccount, ModuleAccountSDKType } from "./auth"; -import * as fm from "../../../grpc-gateway"; -import { QueryAccountsRequest, QueryAccountsRequestSDKType, QueryAccountsResponse, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountRequestSDKType, QueryAccountResponse, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsRequestSDKType, QueryModuleAccountsResponse, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixRequestSDKType, Bech32PrefixResponse, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringRequestSDKType, AddressBytesToStringResponse, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesRequestSDKType, AddressStringToBytesResponse, AddressStringToBytesResponseSDKType } from "./query"; -export class Query { - /** - * Accounts returns all the existing accounts - * - * Since: cosmos-sdk 0.43 - */ - static accounts(request: QueryAccountsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/auth/v1beta1/accounts?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** Account returns account details based on address. */ - static account(request: QueryAccountRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/auth/v1beta1/accounts/${request["address"]}?${fm.renderURLSearchParams({ - ...request - }, ["address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Params queries all parameters. */ - static params(request: QueryParamsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/auth/v1beta1/params?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** ModuleAccounts returns all the existing module accounts. */ - static moduleAccounts(request: QueryModuleAccountsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/auth/v1beta1/module_accounts?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** Bech32 queries bech32Prefix */ - static bech32Prefix(request: Bech32PrefixRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/auth/v1beta1/bech32?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** AddressBytesToString converts Account Address bytes to string */ - static addressBytesToString(request: AddressBytesToStringRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/auth/v1beta1/bech32/${request["address_bytes"]}?${fm.renderURLSearchParams({ - ...request - }, ["address_bytes"])}`, { - ...initRequest, - method: "GET" - }); - } - /** AddressStringToBytes converts Address string to bytes */ - static addressStringToBytes(request: AddressStringToBytesRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/auth/v1beta1/bech32/${request["address_string"]}?${fm.renderURLSearchParams({ - ...request - }, ["address_string"])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** - * Accounts returns all the existing accounts - * - * Since: cosmos-sdk 0.43 - */ - async accounts(req: QueryAccountsRequest, headers?: HeadersInit): Promise { - return Query.accounts(req, { - headers, - pathPrefix: this.url - }); - } - /** Account returns account details based on address. */ - async account(req: QueryAccountRequest, headers?: HeadersInit): Promise { - return Query.account(req, { - headers, - pathPrefix: this.url - }); - } - /** Params queries all parameters. */ - async params(req: QueryParamsRequest, headers?: HeadersInit): Promise { - return Query.params(req, { - headers, - pathPrefix: this.url - }); - } - /** ModuleAccounts returns all the existing module accounts. */ - async moduleAccounts(req: QueryModuleAccountsRequest, headers?: HeadersInit): Promise { - return Query.moduleAccounts(req, { - headers, - pathPrefix: this.url - }); - } - /** Bech32 queries bech32Prefix */ - async bech32Prefix(req: Bech32PrefixRequest, headers?: HeadersInit): Promise { - return Query.bech32Prefix(req, { - headers, - pathPrefix: this.url - }); - } - /** AddressBytesToString converts Account Address bytes to string */ - async addressBytesToString(req: AddressBytesToStringRequest, headers?: HeadersInit): Promise { - return Query.addressBytesToString(req, { - headers, - pathPrefix: this.url - }); - } - /** AddressStringToBytes converts Address string to bytes */ - async addressStringToBytes(req: AddressStringToBytesRequest, headers?: HeadersInit): Promise { - return Query.addressStringToBytes(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.ts deleted file mode 100644 index 1fabba2c1..000000000 --- a/quicksilverjs/src/codegen/cosmos/auth/v1beta1/query.ts +++ /dev/null @@ -1,1607 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Params, ParamsAmino, ParamsSDKType, BaseAccount, BaseAccountProtoMsg, BaseAccountSDKType, ModuleAccount, ModuleAccountProtoMsg, ModuleAccountSDKType } from "./auth"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers"; -export const protobufPackage = "cosmos.auth.v1beta1"; -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAccountsRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountsRequest"; - value: Uint8Array; -} -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAccountsRequestAminoMsg { - type: "cosmos-sdk/QueryAccountsRequest"; - value: QueryAccountsRequestAmino; -} -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsResponse { - /** accounts are the existing accounts */ - accounts: (BaseAccount | Any)[] | Any[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryAccountsResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountsResponse"; - value: Uint8Array; -} -export type QueryAccountsResponseEncoded = Omit & { - /** accounts are the existing accounts */accounts: (BaseAccountProtoMsg | AnyProtoMsg)[]; -}; -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsResponseAmino { - /** accounts are the existing accounts */ - accounts: AnyAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAccountsResponseAminoMsg { - type: "cosmos-sdk/QueryAccountsResponse"; - value: QueryAccountsResponseAmino; -} -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsResponseSDKType { - accounts: (BaseAccountSDKType | AnySDKType)[]; - pagination: PageResponseSDKType; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ -export interface QueryAccountRequest { - /** address defines the address to query for. */ - address: string; -} -export interface QueryAccountRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountRequest"; - value: Uint8Array; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ -export interface QueryAccountRequestAmino { - /** address defines the address to query for. */ - address: string; -} -export interface QueryAccountRequestAminoMsg { - type: "cosmos-sdk/QueryAccountRequest"; - value: QueryAccountRequestAmino; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ -export interface QueryAccountRequestSDKType { - address: string; -} -/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsRequest {} -export interface QueryModuleAccountsRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountsRequest"; - value: Uint8Array; -} -/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsRequestAmino {} -export interface QueryModuleAccountsRequestAminoMsg { - type: "cosmos-sdk/QueryModuleAccountsRequest"; - value: QueryModuleAccountsRequestAmino; -} -/** QueryModuleAccountsRequest is the request type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsRequestSDKType {} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ -export interface QueryAccountResponse { - /** account defines the account of the corresponding address. */ - account: BaseAccount | Any | undefined; -} -export interface QueryAccountResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountResponse"; - value: Uint8Array; -} -export type QueryAccountResponseEncoded = Omit & { - /** account defines the account of the corresponding address. */account?: BaseAccountProtoMsg | AnyProtoMsg | undefined; -}; -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ -export interface QueryAccountResponseAmino { - /** account defines the account of the corresponding address. */ - account?: AnyAmino; -} -export interface QueryAccountResponseAminoMsg { - type: "cosmos-sdk/QueryAccountResponse"; - value: QueryAccountResponseAmino; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ -export interface QueryAccountResponseSDKType { - account: BaseAccountSDKType | AnySDKType | undefined; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest {} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino {} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType {} -/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsResponse { - accounts: (ModuleAccount | Any)[] | Any[]; -} -export interface QueryModuleAccountsResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountsResponse"; - value: Uint8Array; -} -export type QueryModuleAccountsResponseEncoded = Omit & { - accounts: (ModuleAccountProtoMsg | AnyProtoMsg)[]; -}; -/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsResponseAmino { - accounts: AnyAmino[]; -} -export interface QueryModuleAccountsResponseAminoMsg { - type: "cosmos-sdk/QueryModuleAccountsResponse"; - value: QueryModuleAccountsResponseAmino; -} -/** QueryModuleAccountsResponse is the response type for the Query/ModuleAccounts RPC method. */ -export interface QueryModuleAccountsResponseSDKType { - accounts: (ModuleAccountSDKType | AnySDKType)[]; -} -/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ -export interface Bech32PrefixRequest {} -export interface Bech32PrefixRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.Bech32PrefixRequest"; - value: Uint8Array; -} -/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ -export interface Bech32PrefixRequestAmino {} -export interface Bech32PrefixRequestAminoMsg { - type: "cosmos-sdk/Bech32PrefixRequest"; - value: Bech32PrefixRequestAmino; -} -/** Bech32PrefixRequest is the request type for Bech32Prefix rpc method */ -export interface Bech32PrefixRequestSDKType {} -/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ -export interface Bech32PrefixResponse { - bech32Prefix: string; -} -export interface Bech32PrefixResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.Bech32PrefixResponse"; - value: Uint8Array; -} -/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ -export interface Bech32PrefixResponseAmino { - bech32_prefix: string; -} -export interface Bech32PrefixResponseAminoMsg { - type: "cosmos-sdk/Bech32PrefixResponse"; - value: Bech32PrefixResponseAmino; -} -/** Bech32PrefixResponse is the response type for Bech32Prefix rpc method */ -export interface Bech32PrefixResponseSDKType { - bech32_prefix: string; -} -/** AddressBytesToStringRequest is the request type for AddressString rpc method */ -export interface AddressBytesToStringRequest { - addressBytes: Uint8Array; -} -export interface AddressBytesToStringRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressBytesToStringRequest"; - value: Uint8Array; -} -/** AddressBytesToStringRequest is the request type for AddressString rpc method */ -export interface AddressBytesToStringRequestAmino { - address_bytes: Uint8Array; -} -export interface AddressBytesToStringRequestAminoMsg { - type: "cosmos-sdk/AddressBytesToStringRequest"; - value: AddressBytesToStringRequestAmino; -} -/** AddressBytesToStringRequest is the request type for AddressString rpc method */ -export interface AddressBytesToStringRequestSDKType { - address_bytes: Uint8Array; -} -/** AddressBytesToStringResponse is the response type for AddressString rpc method */ -export interface AddressBytesToStringResponse { - addressString: string; -} -export interface AddressBytesToStringResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressBytesToStringResponse"; - value: Uint8Array; -} -/** AddressBytesToStringResponse is the response type for AddressString rpc method */ -export interface AddressBytesToStringResponseAmino { - address_string: string; -} -export interface AddressBytesToStringResponseAminoMsg { - type: "cosmos-sdk/AddressBytesToStringResponse"; - value: AddressBytesToStringResponseAmino; -} -/** AddressBytesToStringResponse is the response type for AddressString rpc method */ -export interface AddressBytesToStringResponseSDKType { - address_string: string; -} -/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ -export interface AddressStringToBytesRequest { - addressString: string; -} -export interface AddressStringToBytesRequestProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressStringToBytesRequest"; - value: Uint8Array; -} -/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ -export interface AddressStringToBytesRequestAmino { - address_string: string; -} -export interface AddressStringToBytesRequestAminoMsg { - type: "cosmos-sdk/AddressStringToBytesRequest"; - value: AddressStringToBytesRequestAmino; -} -/** AddressStringToBytesRequest is the request type for AccountBytes rpc method */ -export interface AddressStringToBytesRequestSDKType { - address_string: string; -} -/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ -export interface AddressStringToBytesResponse { - addressBytes: Uint8Array; -} -export interface AddressStringToBytesResponseProtoMsg { - typeUrl: "/cosmos.auth.v1beta1.AddressStringToBytesResponse"; - value: Uint8Array; -} -/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ -export interface AddressStringToBytesResponseAmino { - address_bytes: Uint8Array; -} -export interface AddressStringToBytesResponseAminoMsg { - type: "cosmos-sdk/AddressStringToBytesResponse"; - value: AddressStringToBytesResponseAmino; -} -/** AddressStringToBytesResponse is the response type for AddressBytes rpc method */ -export interface AddressStringToBytesResponseSDKType { - address_bytes: Uint8Array; -} -function createBaseQueryAccountsRequest(): QueryAccountsRequest { - return { - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryAccountsRequest = { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountsRequest", - aminoType: "cosmos-sdk/QueryAccountsRequest", - encode(message: QueryAccountsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAccountsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAccountsRequest { - const obj = createBaseQueryAccountsRequest(); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAccountsRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAccountsRequest { - const message = createBaseQueryAccountsRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAccountsRequestSDKType): QueryAccountsRequest { - return { - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAccountsRequest): QueryAccountsRequestSDKType { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAccountsRequestAmino): QueryAccountsRequest { - return { - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAccountsRequest): QueryAccountsRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAccountsRequestAminoMsg): QueryAccountsRequest { - return QueryAccountsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAccountsRequest): QueryAccountsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryAccountsRequest", - value: QueryAccountsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAccountsRequestProtoMsg): QueryAccountsRequest { - return QueryAccountsRequest.decode(message.value); - }, - toProto(message: QueryAccountsRequest): Uint8Array { - return QueryAccountsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAccountsRequest): QueryAccountsRequestProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountsRequest", - value: QueryAccountsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryAccountsResponse(): QueryAccountsResponse { - return { - accounts: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryAccountsResponse = { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountsResponse", - aminoType: "cosmos-sdk/QueryAccountsResponse", - encode(message: QueryAccountsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.accounts) { - Any.encode((v! as Any), writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAccountsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.accounts.push((AccountI_InterfaceDecoder(reader) as Any)); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAccountsResponse { - const obj = createBaseQueryAccountsResponse(); - if (Array.isArray(object?.accounts)) obj.accounts = object.accounts.map((e: any) => Any.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAccountsResponse): unknown { - const obj: any = {}; - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.accounts = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAccountsResponse { - const message = createBaseQueryAccountsResponse(); - message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAccountsResponseSDKType): QueryAccountsResponse { - return { - accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Any.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAccountsResponse): QueryAccountsResponseSDKType { - const obj: any = {}; - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.accounts = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAccountsResponseAmino): QueryAccountsResponse { - return { - accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => AccountI_FromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAccountsResponse): QueryAccountsResponseAmino { - const obj: any = {}; - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? AccountI_ToAmino((e as Any)) : undefined); - } else { - obj.accounts = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAccountsResponseAminoMsg): QueryAccountsResponse { - return QueryAccountsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAccountsResponse): QueryAccountsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryAccountsResponse", - value: QueryAccountsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAccountsResponseProtoMsg): QueryAccountsResponse { - return QueryAccountsResponse.decode(message.value); - }, - toProto(message: QueryAccountsResponse): Uint8Array { - return QueryAccountsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAccountsResponse): QueryAccountsResponseProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountsResponse", - value: QueryAccountsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryAccountRequest(): QueryAccountRequest { - return { - address: "" - }; -} -export const QueryAccountRequest = { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountRequest", - aminoType: "cosmos-sdk/QueryAccountRequest", - encode(message: QueryAccountRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAccountRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAccountRequest { - const obj = createBaseQueryAccountRequest(); - if (isSet(object.address)) obj.address = String(object.address); - return obj; - }, - toJSON(message: QueryAccountRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: DeepPartial): QueryAccountRequest { - const message = createBaseQueryAccountRequest(); - message.address = object.address ?? ""; - return message; - }, - fromSDK(object: QueryAccountRequestSDKType): QueryAccountRequest { - return { - address: object?.address - }; - }, - toSDK(message: QueryAccountRequest): QueryAccountRequestSDKType { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAmino(object: QueryAccountRequestAmino): QueryAccountRequest { - return { - address: object.address - }; - }, - toAmino(message: QueryAccountRequest): QueryAccountRequestAmino { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAminoMsg(object: QueryAccountRequestAminoMsg): QueryAccountRequest { - return QueryAccountRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAccountRequest): QueryAccountRequestAminoMsg { - return { - type: "cosmos-sdk/QueryAccountRequest", - value: QueryAccountRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAccountRequestProtoMsg): QueryAccountRequest { - return QueryAccountRequest.decode(message.value); - }, - toProto(message: QueryAccountRequest): Uint8Array { - return QueryAccountRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAccountRequest): QueryAccountRequestProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountRequest", - value: QueryAccountRequest.encode(message).finish() - }; - } -}; -function createBaseQueryModuleAccountsRequest(): QueryModuleAccountsRequest { - return {}; -} -export const QueryModuleAccountsRequest = { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountsRequest", - aminoType: "cosmos-sdk/QueryModuleAccountsRequest", - encode(_: QueryModuleAccountsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryModuleAccountsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryModuleAccountsRequest { - const obj = createBaseQueryModuleAccountsRequest(); - return obj; - }, - toJSON(_: QueryModuleAccountsRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryModuleAccountsRequest { - const message = createBaseQueryModuleAccountsRequest(); - return message; - }, - fromSDK(_: QueryModuleAccountsRequestSDKType): QueryModuleAccountsRequest { - return {}; - }, - toSDK(_: QueryModuleAccountsRequest): QueryModuleAccountsRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryModuleAccountsRequestAmino): QueryModuleAccountsRequest { - return {}; - }, - toAmino(_: QueryModuleAccountsRequest): QueryModuleAccountsRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryModuleAccountsRequestAminoMsg): QueryModuleAccountsRequest { - return QueryModuleAccountsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryModuleAccountsRequest): QueryModuleAccountsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryModuleAccountsRequest", - value: QueryModuleAccountsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryModuleAccountsRequestProtoMsg): QueryModuleAccountsRequest { - return QueryModuleAccountsRequest.decode(message.value); - }, - toProto(message: QueryModuleAccountsRequest): Uint8Array { - return QueryModuleAccountsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryModuleAccountsRequest): QueryModuleAccountsRequestProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountsRequest", - value: QueryModuleAccountsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: Params.fromPartial({}) - }; -} -export const QueryParamsResponse = { - typeUrl: "/cosmos.auth.v1beta1.QueryParamsResponse", - aminoType: "cosmos-sdk/QueryParamsResponse", - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsResponse { - const obj = createBaseQueryParamsResponse(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - return obj; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - return message; - }, - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse { - return { - params: object.params ? Params.fromSDK(object.params) : undefined - }; - }, - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - return obj; - }, - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined - }; - }, - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - return obj; - }, - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse { - return QueryParamsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryParamsResponse", - value: QueryParamsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse { - return QueryParamsResponse.decode(message.value); - }, - toProto(message: QueryParamsResponse): Uint8Array { - return QueryParamsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.QueryParamsResponse", - value: QueryParamsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryAccountResponse(): QueryAccountResponse { - return { - account: Any.fromPartial({}) - }; -} -export const QueryAccountResponse = { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountResponse", - aminoType: "cosmos-sdk/QueryAccountResponse", - encode(message: QueryAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.account !== undefined) { - Any.encode((message.account as Any), writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAccountResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.account = (AccountI_InterfaceDecoder(reader) as Any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAccountResponse { - const obj = createBaseQueryAccountResponse(); - if (isSet(object.account)) obj.account = Any.fromJSON(object.account); - return obj; - }, - toJSON(message: QueryAccountResponse): unknown { - const obj: any = {}; - message.account !== undefined && (obj.account = message.account ? Any.toJSON(message.account) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAccountResponse { - const message = createBaseQueryAccountResponse(); - if (object.account !== undefined && object.account !== null) { - message.account = Any.fromPartial(object.account); - } - return message; - }, - fromSDK(object: QueryAccountResponseSDKType): QueryAccountResponse { - return { - account: object.account ? Any.fromSDK(object.account) : undefined - }; - }, - toSDK(message: QueryAccountResponse): QueryAccountResponseSDKType { - const obj: any = {}; - message.account !== undefined && (obj.account = message.account ? Any.toSDK(message.account) : undefined); - return obj; - }, - fromAmino(object: QueryAccountResponseAmino): QueryAccountResponse { - return { - account: object?.account ? AccountI_FromAmino(object.account) : undefined - }; - }, - toAmino(message: QueryAccountResponse): QueryAccountResponseAmino { - const obj: any = {}; - obj.account = message.account ? AccountI_ToAmino((message.account as Any)) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAccountResponseAminoMsg): QueryAccountResponse { - return QueryAccountResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAccountResponse): QueryAccountResponseAminoMsg { - return { - type: "cosmos-sdk/QueryAccountResponse", - value: QueryAccountResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAccountResponseProtoMsg): QueryAccountResponse { - return QueryAccountResponse.decode(message.value); - }, - toProto(message: QueryAccountResponse): Uint8Array { - return QueryAccountResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAccountResponse): QueryAccountResponseProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.QueryAccountResponse", - value: QueryAccountResponse.encode(message).finish() - }; - } -}; -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} -export const QueryParamsRequest = { - typeUrl: "/cosmos.auth.v1beta1.QueryParamsRequest", - aminoType: "cosmos-sdk/QueryParamsRequest", - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryParamsRequest { - const obj = createBaseQueryParamsRequest(); - return obj; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - }, - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest { - return {}; - }, - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest { - return {}; - }, - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest { - return QueryParamsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryParamsRequest", - value: QueryParamsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest { - return QueryParamsRequest.decode(message.value); - }, - toProto(message: QueryParamsRequest): Uint8Array { - return QueryParamsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.QueryParamsRequest", - value: QueryParamsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryModuleAccountsResponse(): QueryModuleAccountsResponse { - return { - accounts: [] - }; -} -export const QueryModuleAccountsResponse = { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountsResponse", - aminoType: "cosmos-sdk/QueryModuleAccountsResponse", - encode(message: QueryModuleAccountsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.accounts) { - Any.encode((v! as Any), writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryModuleAccountsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.accounts.push((ModuleAccountI_InterfaceDecoder(reader) as Any)); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryModuleAccountsResponse { - const obj = createBaseQueryModuleAccountsResponse(); - if (Array.isArray(object?.accounts)) obj.accounts = object.accounts.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: QueryModuleAccountsResponse): unknown { - const obj: any = {}; - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.accounts = []; - } - return obj; - }, - fromPartial(object: DeepPartial): QueryModuleAccountsResponse { - const message = createBaseQueryModuleAccountsResponse(); - message.accounts = object.accounts?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: QueryModuleAccountsResponseSDKType): QueryModuleAccountsResponse { - return { - accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: QueryModuleAccountsResponse): QueryModuleAccountsResponseSDKType { - const obj: any = {}; - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.accounts = []; - } - return obj; - }, - fromAmino(object: QueryModuleAccountsResponseAmino): QueryModuleAccountsResponse { - return { - accounts: Array.isArray(object?.accounts) ? object.accounts.map((e: any) => ModuleAccountI_FromAmino(e)) : [] - }; - }, - toAmino(message: QueryModuleAccountsResponse): QueryModuleAccountsResponseAmino { - const obj: any = {}; - if (message.accounts) { - obj.accounts = message.accounts.map(e => e ? ModuleAccountI_ToAmino((e as Any)) : undefined); - } else { - obj.accounts = []; - } - return obj; - }, - fromAminoMsg(object: QueryModuleAccountsResponseAminoMsg): QueryModuleAccountsResponse { - return QueryModuleAccountsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryModuleAccountsResponse): QueryModuleAccountsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryModuleAccountsResponse", - value: QueryModuleAccountsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryModuleAccountsResponseProtoMsg): QueryModuleAccountsResponse { - return QueryModuleAccountsResponse.decode(message.value); - }, - toProto(message: QueryModuleAccountsResponse): Uint8Array { - return QueryModuleAccountsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryModuleAccountsResponse): QueryModuleAccountsResponseProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.QueryModuleAccountsResponse", - value: QueryModuleAccountsResponse.encode(message).finish() - }; - } -}; -function createBaseBech32PrefixRequest(): Bech32PrefixRequest { - return {}; -} -export const Bech32PrefixRequest = { - typeUrl: "/cosmos.auth.v1beta1.Bech32PrefixRequest", - aminoType: "cosmos-sdk/Bech32PrefixRequest", - encode(_: Bech32PrefixRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBech32PrefixRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): Bech32PrefixRequest { - const obj = createBaseBech32PrefixRequest(); - return obj; - }, - toJSON(_: Bech32PrefixRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): Bech32PrefixRequest { - const message = createBaseBech32PrefixRequest(); - return message; - }, - fromSDK(_: Bech32PrefixRequestSDKType): Bech32PrefixRequest { - return {}; - }, - toSDK(_: Bech32PrefixRequest): Bech32PrefixRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: Bech32PrefixRequestAmino): Bech32PrefixRequest { - return {}; - }, - toAmino(_: Bech32PrefixRequest): Bech32PrefixRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: Bech32PrefixRequestAminoMsg): Bech32PrefixRequest { - return Bech32PrefixRequest.fromAmino(object.value); - }, - toAminoMsg(message: Bech32PrefixRequest): Bech32PrefixRequestAminoMsg { - return { - type: "cosmos-sdk/Bech32PrefixRequest", - value: Bech32PrefixRequest.toAmino(message) - }; - }, - fromProtoMsg(message: Bech32PrefixRequestProtoMsg): Bech32PrefixRequest { - return Bech32PrefixRequest.decode(message.value); - }, - toProto(message: Bech32PrefixRequest): Uint8Array { - return Bech32PrefixRequest.encode(message).finish(); - }, - toProtoMsg(message: Bech32PrefixRequest): Bech32PrefixRequestProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.Bech32PrefixRequest", - value: Bech32PrefixRequest.encode(message).finish() - }; - } -}; -function createBaseBech32PrefixResponse(): Bech32PrefixResponse { - return { - bech32Prefix: "" - }; -} -export const Bech32PrefixResponse = { - typeUrl: "/cosmos.auth.v1beta1.Bech32PrefixResponse", - aminoType: "cosmos-sdk/Bech32PrefixResponse", - encode(message: Bech32PrefixResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bech32Prefix !== "") { - writer.uint32(10).string(message.bech32Prefix); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBech32PrefixResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.bech32Prefix = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Bech32PrefixResponse { - const obj = createBaseBech32PrefixResponse(); - if (isSet(object.bech32Prefix)) obj.bech32Prefix = String(object.bech32Prefix); - return obj; - }, - toJSON(message: Bech32PrefixResponse): unknown { - const obj: any = {}; - message.bech32Prefix !== undefined && (obj.bech32Prefix = message.bech32Prefix); - return obj; - }, - fromPartial(object: DeepPartial): Bech32PrefixResponse { - const message = createBaseBech32PrefixResponse(); - message.bech32Prefix = object.bech32Prefix ?? ""; - return message; - }, - fromSDK(object: Bech32PrefixResponseSDKType): Bech32PrefixResponse { - return { - bech32Prefix: object?.bech32_prefix - }; - }, - toSDK(message: Bech32PrefixResponse): Bech32PrefixResponseSDKType { - const obj: any = {}; - obj.bech32_prefix = message.bech32Prefix; - return obj; - }, - fromAmino(object: Bech32PrefixResponseAmino): Bech32PrefixResponse { - return { - bech32Prefix: object.bech32_prefix - }; - }, - toAmino(message: Bech32PrefixResponse): Bech32PrefixResponseAmino { - const obj: any = {}; - obj.bech32_prefix = message.bech32Prefix; - return obj; - }, - fromAminoMsg(object: Bech32PrefixResponseAminoMsg): Bech32PrefixResponse { - return Bech32PrefixResponse.fromAmino(object.value); - }, - toAminoMsg(message: Bech32PrefixResponse): Bech32PrefixResponseAminoMsg { - return { - type: "cosmos-sdk/Bech32PrefixResponse", - value: Bech32PrefixResponse.toAmino(message) - }; - }, - fromProtoMsg(message: Bech32PrefixResponseProtoMsg): Bech32PrefixResponse { - return Bech32PrefixResponse.decode(message.value); - }, - toProto(message: Bech32PrefixResponse): Uint8Array { - return Bech32PrefixResponse.encode(message).finish(); - }, - toProtoMsg(message: Bech32PrefixResponse): Bech32PrefixResponseProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.Bech32PrefixResponse", - value: Bech32PrefixResponse.encode(message).finish() - }; - } -}; -function createBaseAddressBytesToStringRequest(): AddressBytesToStringRequest { - return { - addressBytes: new Uint8Array() - }; -} -export const AddressBytesToStringRequest = { - typeUrl: "/cosmos.auth.v1beta1.AddressBytesToStringRequest", - aminoType: "cosmos-sdk/AddressBytesToStringRequest", - encode(message: AddressBytesToStringRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.addressBytes.length !== 0) { - writer.uint32(10).bytes(message.addressBytes); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAddressBytesToStringRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.addressBytes = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AddressBytesToStringRequest { - const obj = createBaseAddressBytesToStringRequest(); - if (isSet(object.addressBytes)) obj.addressBytes = bytesFromBase64(object.addressBytes); - return obj; - }, - toJSON(message: AddressBytesToStringRequest): unknown { - const obj: any = {}; - message.addressBytes !== undefined && (obj.addressBytes = base64FromBytes(message.addressBytes !== undefined ? message.addressBytes : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): AddressBytesToStringRequest { - const message = createBaseAddressBytesToStringRequest(); - message.addressBytes = object.addressBytes ?? new Uint8Array(); - return message; - }, - fromSDK(object: AddressBytesToStringRequestSDKType): AddressBytesToStringRequest { - return { - addressBytes: object?.address_bytes - }; - }, - toSDK(message: AddressBytesToStringRequest): AddressBytesToStringRequestSDKType { - const obj: any = {}; - obj.address_bytes = message.addressBytes; - return obj; - }, - fromAmino(object: AddressBytesToStringRequestAmino): AddressBytesToStringRequest { - return { - addressBytes: object.address_bytes - }; - }, - toAmino(message: AddressBytesToStringRequest): AddressBytesToStringRequestAmino { - const obj: any = {}; - obj.address_bytes = message.addressBytes; - return obj; - }, - fromAminoMsg(object: AddressBytesToStringRequestAminoMsg): AddressBytesToStringRequest { - return AddressBytesToStringRequest.fromAmino(object.value); - }, - toAminoMsg(message: AddressBytesToStringRequest): AddressBytesToStringRequestAminoMsg { - return { - type: "cosmos-sdk/AddressBytesToStringRequest", - value: AddressBytesToStringRequest.toAmino(message) - }; - }, - fromProtoMsg(message: AddressBytesToStringRequestProtoMsg): AddressBytesToStringRequest { - return AddressBytesToStringRequest.decode(message.value); - }, - toProto(message: AddressBytesToStringRequest): Uint8Array { - return AddressBytesToStringRequest.encode(message).finish(); - }, - toProtoMsg(message: AddressBytesToStringRequest): AddressBytesToStringRequestProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.AddressBytesToStringRequest", - value: AddressBytesToStringRequest.encode(message).finish() - }; - } -}; -function createBaseAddressBytesToStringResponse(): AddressBytesToStringResponse { - return { - addressString: "" - }; -} -export const AddressBytesToStringResponse = { - typeUrl: "/cosmos.auth.v1beta1.AddressBytesToStringResponse", - aminoType: "cosmos-sdk/AddressBytesToStringResponse", - encode(message: AddressBytesToStringResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.addressString !== "") { - writer.uint32(10).string(message.addressString); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAddressBytesToStringResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.addressString = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AddressBytesToStringResponse { - const obj = createBaseAddressBytesToStringResponse(); - if (isSet(object.addressString)) obj.addressString = String(object.addressString); - return obj; - }, - toJSON(message: AddressBytesToStringResponse): unknown { - const obj: any = {}; - message.addressString !== undefined && (obj.addressString = message.addressString); - return obj; - }, - fromPartial(object: DeepPartial): AddressBytesToStringResponse { - const message = createBaseAddressBytesToStringResponse(); - message.addressString = object.addressString ?? ""; - return message; - }, - fromSDK(object: AddressBytesToStringResponseSDKType): AddressBytesToStringResponse { - return { - addressString: object?.address_string - }; - }, - toSDK(message: AddressBytesToStringResponse): AddressBytesToStringResponseSDKType { - const obj: any = {}; - obj.address_string = message.addressString; - return obj; - }, - fromAmino(object: AddressBytesToStringResponseAmino): AddressBytesToStringResponse { - return { - addressString: object.address_string - }; - }, - toAmino(message: AddressBytesToStringResponse): AddressBytesToStringResponseAmino { - const obj: any = {}; - obj.address_string = message.addressString; - return obj; - }, - fromAminoMsg(object: AddressBytesToStringResponseAminoMsg): AddressBytesToStringResponse { - return AddressBytesToStringResponse.fromAmino(object.value); - }, - toAminoMsg(message: AddressBytesToStringResponse): AddressBytesToStringResponseAminoMsg { - return { - type: "cosmos-sdk/AddressBytesToStringResponse", - value: AddressBytesToStringResponse.toAmino(message) - }; - }, - fromProtoMsg(message: AddressBytesToStringResponseProtoMsg): AddressBytesToStringResponse { - return AddressBytesToStringResponse.decode(message.value); - }, - toProto(message: AddressBytesToStringResponse): Uint8Array { - return AddressBytesToStringResponse.encode(message).finish(); - }, - toProtoMsg(message: AddressBytesToStringResponse): AddressBytesToStringResponseProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.AddressBytesToStringResponse", - value: AddressBytesToStringResponse.encode(message).finish() - }; - } -}; -function createBaseAddressStringToBytesRequest(): AddressStringToBytesRequest { - return { - addressString: "" - }; -} -export const AddressStringToBytesRequest = { - typeUrl: "/cosmos.auth.v1beta1.AddressStringToBytesRequest", - aminoType: "cosmos-sdk/AddressStringToBytesRequest", - encode(message: AddressStringToBytesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.addressString !== "") { - writer.uint32(10).string(message.addressString); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAddressStringToBytesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.addressString = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AddressStringToBytesRequest { - const obj = createBaseAddressStringToBytesRequest(); - if (isSet(object.addressString)) obj.addressString = String(object.addressString); - return obj; - }, - toJSON(message: AddressStringToBytesRequest): unknown { - const obj: any = {}; - message.addressString !== undefined && (obj.addressString = message.addressString); - return obj; - }, - fromPartial(object: DeepPartial): AddressStringToBytesRequest { - const message = createBaseAddressStringToBytesRequest(); - message.addressString = object.addressString ?? ""; - return message; - }, - fromSDK(object: AddressStringToBytesRequestSDKType): AddressStringToBytesRequest { - return { - addressString: object?.address_string - }; - }, - toSDK(message: AddressStringToBytesRequest): AddressStringToBytesRequestSDKType { - const obj: any = {}; - obj.address_string = message.addressString; - return obj; - }, - fromAmino(object: AddressStringToBytesRequestAmino): AddressStringToBytesRequest { - return { - addressString: object.address_string - }; - }, - toAmino(message: AddressStringToBytesRequest): AddressStringToBytesRequestAmino { - const obj: any = {}; - obj.address_string = message.addressString; - return obj; - }, - fromAminoMsg(object: AddressStringToBytesRequestAminoMsg): AddressStringToBytesRequest { - return AddressStringToBytesRequest.fromAmino(object.value); - }, - toAminoMsg(message: AddressStringToBytesRequest): AddressStringToBytesRequestAminoMsg { - return { - type: "cosmos-sdk/AddressStringToBytesRequest", - value: AddressStringToBytesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: AddressStringToBytesRequestProtoMsg): AddressStringToBytesRequest { - return AddressStringToBytesRequest.decode(message.value); - }, - toProto(message: AddressStringToBytesRequest): Uint8Array { - return AddressStringToBytesRequest.encode(message).finish(); - }, - toProtoMsg(message: AddressStringToBytesRequest): AddressStringToBytesRequestProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.AddressStringToBytesRequest", - value: AddressStringToBytesRequest.encode(message).finish() - }; - } -}; -function createBaseAddressStringToBytesResponse(): AddressStringToBytesResponse { - return { - addressBytes: new Uint8Array() - }; -} -export const AddressStringToBytesResponse = { - typeUrl: "/cosmos.auth.v1beta1.AddressStringToBytesResponse", - aminoType: "cosmos-sdk/AddressStringToBytesResponse", - encode(message: AddressStringToBytesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.addressBytes.length !== 0) { - writer.uint32(10).bytes(message.addressBytes); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAddressStringToBytesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.addressBytes = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AddressStringToBytesResponse { - const obj = createBaseAddressStringToBytesResponse(); - if (isSet(object.addressBytes)) obj.addressBytes = bytesFromBase64(object.addressBytes); - return obj; - }, - toJSON(message: AddressStringToBytesResponse): unknown { - const obj: any = {}; - message.addressBytes !== undefined && (obj.addressBytes = base64FromBytes(message.addressBytes !== undefined ? message.addressBytes : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): AddressStringToBytesResponse { - const message = createBaseAddressStringToBytesResponse(); - message.addressBytes = object.addressBytes ?? new Uint8Array(); - return message; - }, - fromSDK(object: AddressStringToBytesResponseSDKType): AddressStringToBytesResponse { - return { - addressBytes: object?.address_bytes - }; - }, - toSDK(message: AddressStringToBytesResponse): AddressStringToBytesResponseSDKType { - const obj: any = {}; - obj.address_bytes = message.addressBytes; - return obj; - }, - fromAmino(object: AddressStringToBytesResponseAmino): AddressStringToBytesResponse { - return { - addressBytes: object.address_bytes - }; - }, - toAmino(message: AddressStringToBytesResponse): AddressStringToBytesResponseAmino { - const obj: any = {}; - obj.address_bytes = message.addressBytes; - return obj; - }, - fromAminoMsg(object: AddressStringToBytesResponseAminoMsg): AddressStringToBytesResponse { - return AddressStringToBytesResponse.fromAmino(object.value); - }, - toAminoMsg(message: AddressStringToBytesResponse): AddressStringToBytesResponseAminoMsg { - return { - type: "cosmos-sdk/AddressStringToBytesResponse", - value: AddressStringToBytesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: AddressStringToBytesResponseProtoMsg): AddressStringToBytesResponse { - return AddressStringToBytesResponse.decode(message.value); - }, - toProto(message: AddressStringToBytesResponse): Uint8Array { - return AddressStringToBytesResponse.encode(message).finish(); - }, - toProtoMsg(message: AddressStringToBytesResponse): AddressStringToBytesResponseProtoMsg { - return { - typeUrl: "/cosmos.auth.v1beta1.AddressStringToBytesResponse", - value: AddressStringToBytesResponse.encode(message).finish() - }; - } -}; -export const AccountI_InterfaceDecoder = (input: _m0.Reader | Uint8Array): BaseAccount | Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - case "/cosmos.auth.v1beta1.BaseAccount": - return BaseAccount.decode(data.value); - default: - return data; - } -}; -export const AccountI_FromAmino = (content: AnyAmino) => { - switch (content.type) { - case "cosmos-sdk/BaseAccount": - return Any.fromPartial({ - typeUrl: "/cosmos.auth.v1beta1.BaseAccount", - value: BaseAccount.encode(BaseAccount.fromPartial(BaseAccount.fromAmino(content.value))).finish() - }); - default: - return Any.fromAmino(content); - } -}; -export const AccountI_ToAmino = (content: Any) => { - switch (content.typeUrl) { - case "/cosmos.auth.v1beta1.BaseAccount": - return { - type: "cosmos-sdk/BaseAccount", - value: BaseAccount.toAmino(BaseAccount.decode(content.value)) - }; - default: - return Any.toAmino(content); - } -}; -export const ModuleAccountI_InterfaceDecoder = (input: _m0.Reader | Uint8Array): ModuleAccount | Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - case "/cosmos.auth.v1beta1.ModuleAccount": - return ModuleAccount.decode(data.value); - default: - return data; - } -}; -export const ModuleAccountI_FromAmino = (content: AnyAmino) => { - switch (content.type) { - case "cosmos-sdk/ModuleAccount": - return Any.fromPartial({ - typeUrl: "/cosmos.auth.v1beta1.ModuleAccount", - value: ModuleAccount.encode(ModuleAccount.fromPartial(ModuleAccount.fromAmino(content.value))).finish() - }); - default: - return Any.fromAmino(content); - } -}; -export const ModuleAccountI_ToAmino = (content: Any) => { - switch (content.typeUrl) { - case "/cosmos.auth.v1beta1.ModuleAccount": - return { - type: "cosmos-sdk/ModuleAccount", - value: ModuleAccount.toAmino(ModuleAccount.decode(content.value)) - }; - default: - return Any.toAmino(content); - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/authz.ts b/quicksilverjs/src/codegen/cosmos/authz/v1beta1/authz.ts deleted file mode 100644 index 295c03b6b..000000000 --- a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/authz.ts +++ /dev/null @@ -1,626 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { SendAuthorization, SendAuthorizationProtoMsg, SendAuthorizationSDKType } from "../../bank/v1beta1/authz"; -import { StakeAuthorization, StakeAuthorizationProtoMsg, StakeAuthorizationSDKType } from "../../staking/v1beta1/authz"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, toTimestamp, fromTimestamp } from "../../../helpers"; -export const protobufPackage = "cosmos.authz.v1beta1"; -/** - * GenericAuthorization gives the grantee unrestricted permissions to execute - * the provided method on behalf of the granter's account. - */ -export interface GenericAuthorization { - /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ - msg: string; -} -export interface GenericAuthorizationProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization"; - value: Uint8Array; -} -/** - * GenericAuthorization gives the grantee unrestricted permissions to execute - * the provided method on behalf of the granter's account. - */ -export interface GenericAuthorizationAmino { - /** Msg, identified by it's type URL, to grant unrestricted permissions to execute */ - msg: string; -} -export interface GenericAuthorizationAminoMsg { - type: "cosmos-sdk/GenericAuthorization"; - value: GenericAuthorizationAmino; -} -/** - * GenericAuthorization gives the grantee unrestricted permissions to execute - * the provided method on behalf of the granter's account. - */ -export interface GenericAuthorizationSDKType { - msg: string; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ -export interface Grant { - authorization: GenericAuthorization | SendAuthorization | StakeAuthorization | Any | undefined; - /** - * time when the grant will expire and will be pruned. If null, then the grant - * doesn't have a time expiration (other conditions in `authorization` - * may apply to invalidate the grant) - */ - expiration?: Date; -} -export interface GrantProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.Grant"; - value: Uint8Array; -} -export type GrantEncoded = Omit & { - authorization?: GenericAuthorizationProtoMsg | SendAuthorizationProtoMsg | StakeAuthorizationProtoMsg | AnyProtoMsg | undefined; -}; -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ -export interface GrantAmino { - authorization?: AnyAmino; - /** - * time when the grant will expire and will be pruned. If null, then the grant - * doesn't have a time expiration (other conditions in `authorization` - * may apply to invalidate the grant) - */ - expiration?: Date; -} -export interface GrantAminoMsg { - type: "cosmos-sdk/Grant"; - value: GrantAmino; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ -export interface GrantSDKType { - authorization: GenericAuthorizationSDKType | SendAuthorizationSDKType | StakeAuthorizationSDKType | AnySDKType | undefined; - expiration?: Date; -} -/** - * GrantAuthorization extends a grant with both the addresses of the grantee and granter. - * It is used in genesis.proto and query.proto - */ -export interface GrantAuthorization { - granter: string; - grantee: string; - authorization: GenericAuthorization | SendAuthorization | StakeAuthorization | Any | undefined; - expiration: Date; -} -export interface GrantAuthorizationProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GrantAuthorization"; - value: Uint8Array; -} -export type GrantAuthorizationEncoded = Omit & { - authorization?: GenericAuthorizationProtoMsg | SendAuthorizationProtoMsg | StakeAuthorizationProtoMsg | AnyProtoMsg | undefined; -}; -/** - * GrantAuthorization extends a grant with both the addresses of the grantee and granter. - * It is used in genesis.proto and query.proto - */ -export interface GrantAuthorizationAmino { - granter: string; - grantee: string; - authorization?: AnyAmino; - expiration?: Date; -} -export interface GrantAuthorizationAminoMsg { - type: "cosmos-sdk/GrantAuthorization"; - value: GrantAuthorizationAmino; -} -/** - * GrantAuthorization extends a grant with both the addresses of the grantee and granter. - * It is used in genesis.proto and query.proto - */ -export interface GrantAuthorizationSDKType { - granter: string; - grantee: string; - authorization: GenericAuthorizationSDKType | SendAuthorizationSDKType | StakeAuthorizationSDKType | AnySDKType | undefined; - expiration: Date; -} -/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ -export interface GrantQueueItem { - /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */ - msgTypeUrls: string[]; -} -export interface GrantQueueItemProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GrantQueueItem"; - value: Uint8Array; -} -/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ -export interface GrantQueueItemAmino { - /** msg_type_urls contains the list of TypeURL of a sdk.Msg. */ - msg_type_urls: string[]; -} -export interface GrantQueueItemAminoMsg { - type: "cosmos-sdk/GrantQueueItem"; - value: GrantQueueItemAmino; -} -/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */ -export interface GrantQueueItemSDKType { - msg_type_urls: string[]; -} -function createBaseGenericAuthorization(): GenericAuthorization { - return { - msg: "" - }; -} -export const GenericAuthorization = { - typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization", - aminoType: "cosmos-sdk/GenericAuthorization", - encode(message: GenericAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.msg !== "") { - writer.uint32(10).string(message.msg); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenericAuthorization { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenericAuthorization(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.msg = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenericAuthorization { - const obj = createBaseGenericAuthorization(); - if (isSet(object.msg)) obj.msg = String(object.msg); - return obj; - }, - toJSON(message: GenericAuthorization): unknown { - const obj: any = {}; - message.msg !== undefined && (obj.msg = message.msg); - return obj; - }, - fromPartial(object: DeepPartial): GenericAuthorization { - const message = createBaseGenericAuthorization(); - message.msg = object.msg ?? ""; - return message; - }, - fromSDK(object: GenericAuthorizationSDKType): GenericAuthorization { - return { - msg: object?.msg - }; - }, - toSDK(message: GenericAuthorization): GenericAuthorizationSDKType { - const obj: any = {}; - obj.msg = message.msg; - return obj; - }, - fromAmino(object: GenericAuthorizationAmino): GenericAuthorization { - return { - msg: object.msg - }; - }, - toAmino(message: GenericAuthorization): GenericAuthorizationAmino { - const obj: any = {}; - obj.msg = message.msg; - return obj; - }, - fromAminoMsg(object: GenericAuthorizationAminoMsg): GenericAuthorization { - return GenericAuthorization.fromAmino(object.value); - }, - toAminoMsg(message: GenericAuthorization): GenericAuthorizationAminoMsg { - return { - type: "cosmos-sdk/GenericAuthorization", - value: GenericAuthorization.toAmino(message) - }; - }, - fromProtoMsg(message: GenericAuthorizationProtoMsg): GenericAuthorization { - return GenericAuthorization.decode(message.value); - }, - toProto(message: GenericAuthorization): Uint8Array { - return GenericAuthorization.encode(message).finish(); - }, - toProtoMsg(message: GenericAuthorization): GenericAuthorizationProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization", - value: GenericAuthorization.encode(message).finish() - }; - } -}; -function createBaseGrant(): Grant { - return { - authorization: Any.fromPartial({}), - expiration: undefined - }; -} -export const Grant = { - typeUrl: "/cosmos.authz.v1beta1.Grant", - aminoType: "cosmos-sdk/Grant", - encode(message: Grant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.authorization !== undefined) { - Any.encode((message.authorization as Any), writer.uint32(10).fork()).ldelim(); - } - if (message.expiration !== undefined) { - Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Grant { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGrant(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.authorization = (Authorization_InterfaceDecoder(reader) as Any); - break; - case 2: - message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Grant { - const obj = createBaseGrant(); - if (isSet(object.authorization)) obj.authorization = Any.fromJSON(object.authorization); - if (isSet(object.expiration)) obj.expiration = new Date(object.expiration); - return obj; - }, - toJSON(message: Grant): unknown { - const obj: any = {}; - message.authorization !== undefined && (obj.authorization = message.authorization ? Any.toJSON(message.authorization) : undefined); - message.expiration !== undefined && (obj.expiration = message.expiration.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): Grant { - const message = createBaseGrant(); - if (object.authorization !== undefined && object.authorization !== null) { - message.authorization = Any.fromPartial(object.authorization); - } - message.expiration = object.expiration ?? undefined; - return message; - }, - fromSDK(object: GrantSDKType): Grant { - return { - authorization: object.authorization ? Any.fromSDK(object.authorization) : undefined, - expiration: object.expiration ?? undefined - }; - }, - toSDK(message: Grant): GrantSDKType { - const obj: any = {}; - message.authorization !== undefined && (obj.authorization = message.authorization ? Any.toSDK(message.authorization) : undefined); - message.expiration !== undefined && (obj.expiration = message.expiration ?? undefined); - return obj; - }, - fromAmino(object: GrantAmino): Grant { - return { - authorization: object?.authorization ? Authorization_FromAmino(object.authorization) : undefined, - expiration: object?.expiration - }; - }, - toAmino(message: Grant): GrantAmino { - const obj: any = {}; - obj.authorization = message.authorization ? Authorization_ToAmino((message.authorization as Any)) : undefined; - obj.expiration = message.expiration; - return obj; - }, - fromAminoMsg(object: GrantAminoMsg): Grant { - return Grant.fromAmino(object.value); - }, - toAminoMsg(message: Grant): GrantAminoMsg { - return { - type: "cosmos-sdk/Grant", - value: Grant.toAmino(message) - }; - }, - fromProtoMsg(message: GrantProtoMsg): Grant { - return Grant.decode(message.value); - }, - toProto(message: Grant): Uint8Array { - return Grant.encode(message).finish(); - }, - toProtoMsg(message: Grant): GrantProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.Grant", - value: Grant.encode(message).finish() - }; - } -}; -function createBaseGrantAuthorization(): GrantAuthorization { - return { - granter: "", - grantee: "", - authorization: Any.fromPartial({}), - expiration: new Date() - }; -} -export const GrantAuthorization = { - typeUrl: "/cosmos.authz.v1beta1.GrantAuthorization", - aminoType: "cosmos-sdk/GrantAuthorization", - encode(message: GrantAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - if (message.authorization !== undefined) { - Any.encode((message.authorization as Any), writer.uint32(26).fork()).ldelim(); - } - if (message.expiration !== undefined) { - Timestamp.encode(toTimestamp(message.expiration), writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GrantAuthorization { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGrantAuthorization(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - case 2: - message.grantee = reader.string(); - break; - case 3: - message.authorization = (Authorization_InterfaceDecoder(reader) as Any); - break; - case 4: - message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GrantAuthorization { - const obj = createBaseGrantAuthorization(); - if (isSet(object.granter)) obj.granter = String(object.granter); - if (isSet(object.grantee)) obj.grantee = String(object.grantee); - if (isSet(object.authorization)) obj.authorization = Any.fromJSON(object.authorization); - if (isSet(object.expiration)) obj.expiration = new Date(object.expiration); - return obj; - }, - toJSON(message: GrantAuthorization): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.authorization !== undefined && (obj.authorization = message.authorization ? Any.toJSON(message.authorization) : undefined); - message.expiration !== undefined && (obj.expiration = message.expiration.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): GrantAuthorization { - const message = createBaseGrantAuthorization(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - if (object.authorization !== undefined && object.authorization !== null) { - message.authorization = Any.fromPartial(object.authorization); - } - message.expiration = object.expiration ?? undefined; - return message; - }, - fromSDK(object: GrantAuthorizationSDKType): GrantAuthorization { - return { - granter: object?.granter, - grantee: object?.grantee, - authorization: object.authorization ? Any.fromSDK(object.authorization) : undefined, - expiration: object.expiration ?? undefined - }; - }, - toSDK(message: GrantAuthorization): GrantAuthorizationSDKType { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - message.authorization !== undefined && (obj.authorization = message.authorization ? Any.toSDK(message.authorization) : undefined); - message.expiration !== undefined && (obj.expiration = message.expiration ?? undefined); - return obj; - }, - fromAmino(object: GrantAuthorizationAmino): GrantAuthorization { - return { - granter: object.granter, - grantee: object.grantee, - authorization: object?.authorization ? Authorization_FromAmino(object.authorization) : undefined, - expiration: object.expiration - }; - }, - toAmino(message: GrantAuthorization): GrantAuthorizationAmino { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - obj.authorization = message.authorization ? Authorization_ToAmino((message.authorization as Any)) : undefined; - obj.expiration = message.expiration; - return obj; - }, - fromAminoMsg(object: GrantAuthorizationAminoMsg): GrantAuthorization { - return GrantAuthorization.fromAmino(object.value); - }, - toAminoMsg(message: GrantAuthorization): GrantAuthorizationAminoMsg { - return { - type: "cosmos-sdk/GrantAuthorization", - value: GrantAuthorization.toAmino(message) - }; - }, - fromProtoMsg(message: GrantAuthorizationProtoMsg): GrantAuthorization { - return GrantAuthorization.decode(message.value); - }, - toProto(message: GrantAuthorization): Uint8Array { - return GrantAuthorization.encode(message).finish(); - }, - toProtoMsg(message: GrantAuthorization): GrantAuthorizationProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.GrantAuthorization", - value: GrantAuthorization.encode(message).finish() - }; - } -}; -function createBaseGrantQueueItem(): GrantQueueItem { - return { - msgTypeUrls: [] - }; -} -export const GrantQueueItem = { - typeUrl: "/cosmos.authz.v1beta1.GrantQueueItem", - aminoType: "cosmos-sdk/GrantQueueItem", - encode(message: GrantQueueItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.msgTypeUrls) { - writer.uint32(10).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GrantQueueItem { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGrantQueueItem(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.msgTypeUrls.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GrantQueueItem { - const obj = createBaseGrantQueueItem(); - if (Array.isArray(object?.msgTypeUrls)) obj.msgTypeUrls = object.msgTypeUrls.map((e: any) => String(e)); - return obj; - }, - toJSON(message: GrantQueueItem): unknown { - const obj: any = {}; - if (message.msgTypeUrls) { - obj.msgTypeUrls = message.msgTypeUrls.map(e => e); - } else { - obj.msgTypeUrls = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GrantQueueItem { - const message = createBaseGrantQueueItem(); - message.msgTypeUrls = object.msgTypeUrls?.map(e => e) || []; - return message; - }, - fromSDK(object: GrantQueueItemSDKType): GrantQueueItem { - return { - msgTypeUrls: Array.isArray(object?.msg_type_urls) ? object.msg_type_urls.map((e: any) => e) : [] - }; - }, - toSDK(message: GrantQueueItem): GrantQueueItemSDKType { - const obj: any = {}; - if (message.msgTypeUrls) { - obj.msg_type_urls = message.msgTypeUrls.map(e => e); - } else { - obj.msg_type_urls = []; - } - return obj; - }, - fromAmino(object: GrantQueueItemAmino): GrantQueueItem { - return { - msgTypeUrls: Array.isArray(object?.msg_type_urls) ? object.msg_type_urls.map((e: any) => e) : [] - }; - }, - toAmino(message: GrantQueueItem): GrantQueueItemAmino { - const obj: any = {}; - if (message.msgTypeUrls) { - obj.msg_type_urls = message.msgTypeUrls.map(e => e); - } else { - obj.msg_type_urls = []; - } - return obj; - }, - fromAminoMsg(object: GrantQueueItemAminoMsg): GrantQueueItem { - return GrantQueueItem.fromAmino(object.value); - }, - toAminoMsg(message: GrantQueueItem): GrantQueueItemAminoMsg { - return { - type: "cosmos-sdk/GrantQueueItem", - value: GrantQueueItem.toAmino(message) - }; - }, - fromProtoMsg(message: GrantQueueItemProtoMsg): GrantQueueItem { - return GrantQueueItem.decode(message.value); - }, - toProto(message: GrantQueueItem): Uint8Array { - return GrantQueueItem.encode(message).finish(); - }, - toProtoMsg(message: GrantQueueItem): GrantQueueItemProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.GrantQueueItem", - value: GrantQueueItem.encode(message).finish() - }; - } -}; -export const Authorization_InterfaceDecoder = (input: _m0.Reader | Uint8Array): GenericAuthorization | SendAuthorization | StakeAuthorization | Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - case "/cosmos.authz.v1beta1.GenericAuthorization": - return GenericAuthorization.decode(data.value); - case "/cosmos.bank.v1beta1.SendAuthorization": - return SendAuthorization.decode(data.value); - case "/cosmos.staking.v1beta1.StakeAuthorization": - return StakeAuthorization.decode(data.value); - default: - return data; - } -}; -export const Authorization_FromAmino = (content: AnyAmino) => { - switch (content.type) { - case "cosmos-sdk/GenericAuthorization": - return Any.fromPartial({ - typeUrl: "/cosmos.authz.v1beta1.GenericAuthorization", - value: GenericAuthorization.encode(GenericAuthorization.fromPartial(GenericAuthorization.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/SendAuthorization": - return Any.fromPartial({ - typeUrl: "/cosmos.bank.v1beta1.SendAuthorization", - value: SendAuthorization.encode(SendAuthorization.fromPartial(SendAuthorization.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/StakeAuthorization": - return Any.fromPartial({ - typeUrl: "/cosmos.staking.v1beta1.StakeAuthorization", - value: StakeAuthorization.encode(StakeAuthorization.fromPartial(StakeAuthorization.fromAmino(content.value))).finish() - }); - default: - return Any.fromAmino(content); - } -}; -export const Authorization_ToAmino = (content: Any) => { - switch (content.typeUrl) { - case "/cosmos.authz.v1beta1.GenericAuthorization": - return { - type: "cosmos-sdk/GenericAuthorization", - value: GenericAuthorization.toAmino(GenericAuthorization.decode(content.value)) - }; - case "/cosmos.bank.v1beta1.SendAuthorization": - return { - type: "cosmos-sdk/SendAuthorization", - value: SendAuthorization.toAmino(SendAuthorization.decode(content.value)) - }; - case "/cosmos.staking.v1beta1.StakeAuthorization": - return { - type: "cosmos-sdk/StakeAuthorization", - value: StakeAuthorization.toAmino(StakeAuthorization.decode(content.value)) - }; - default: - return Any.toAmino(content); - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/authz/v1beta1/genesis.ts deleted file mode 100644 index 8a4dd9d2f..000000000 --- a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/genesis.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { GrantAuthorization, GrantAuthorizationAmino, GrantAuthorizationSDKType } from "./authz"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.authz.v1beta1"; -/** GenesisState defines the authz module's genesis state. */ -export interface GenesisState { - authorization: GrantAuthorization[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the authz module's genesis state. */ -export interface GenesisStateAmino { - authorization: GrantAuthorizationAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the authz module's genesis state. */ -export interface GenesisStateSDKType { - authorization: GrantAuthorizationSDKType[]; -} -function createBaseGenesisState(): GenesisState { - return { - authorization: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.authz.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.authorization) { - GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.authorization.push(GrantAuthorization.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (Array.isArray(object?.authorization)) obj.authorization = object.authorization.map((e: any) => GrantAuthorization.fromJSON(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - if (message.authorization) { - obj.authorization = message.authorization.map(e => e ? GrantAuthorization.toJSON(e) : undefined); - } else { - obj.authorization = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - message.authorization = object.authorization?.map(e => GrantAuthorization.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - authorization: Array.isArray(object?.authorization) ? object.authorization.map((e: any) => GrantAuthorization.fromSDK(e)) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - if (message.authorization) { - obj.authorization = message.authorization.map(e => e ? GrantAuthorization.toSDK(e) : undefined); - } else { - obj.authorization = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - authorization: Array.isArray(object?.authorization) ? object.authorization.map((e: any) => GrantAuthorization.fromAmino(e)) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - if (message.authorization) { - obj.authorization = message.authorization.map(e => e ? GrantAuthorization.toAmino(e) : undefined); - } else { - obj.authorization = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.lcd.ts deleted file mode 100644 index 8e19132ef..000000000 --- a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantSDKType, GrantAuthorization, GrantAuthorizationSDKType } from "./authz"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryGrantsRequest, QueryGrantsRequestSDKType, QueryGrantsResponse, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsRequestSDKType, QueryGranterGrantsResponse, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsRequestSDKType, QueryGranteeGrantsResponse, QueryGranteeGrantsResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.grants = this.grants.bind(this); - this.granterGrants = this.granterGrants.bind(this); - this.granteeGrants = this.granteeGrants.bind(this); - } - /* Returns list of `Authorization`, granted to the grantee by the granter. */ - async grants(params: QueryGrantsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.granter !== "undefined") { - options.params.granter = params.granter; - } - if (typeof params?.grantee !== "undefined") { - options.params.grantee = params.grantee; - } - if (typeof params?.msgTypeUrl !== "undefined") { - options.params.msg_type_url = params.msgTypeUrl; - } - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/authz/v1beta1/grants`; - return await this.req.get(endpoint, options); - } - /* GranterGrants returns list of `GrantAuthorization`, granted by granter. - - Since: cosmos-sdk 0.46 */ - async granterGrants(params: QueryGranterGrantsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/authz/v1beta1/grants/granter/${params.granter}`; - return await this.req.get(endpoint, options); - } - /* GranteeGrants returns a list of `GrantAuthorization` by grantee. - - Since: cosmos-sdk 0.46 */ - async granteeGrants(params: QueryGranteeGrantsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/authz/v1beta1/grants/grantee/${params.grantee}`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 95b01d095..000000000 --- a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantSDKType, GrantAuthorization, GrantAuthorizationSDKType } from "./authz"; -import * as fm from "../../../grpc-gateway"; -import { QueryGrantsRequest, QueryGrantsRequestSDKType, QueryGrantsResponse, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsRequestSDKType, QueryGranterGrantsResponse, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsRequestSDKType, QueryGranteeGrantsResponse, QueryGranteeGrantsResponseSDKType } from "./query"; -export class Query { - /** Returns list of `Authorization`, granted to the grantee by the granter. */ - static grants(request: QueryGrantsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/authz/v1beta1/grants?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * GranterGrants returns list of `GrantAuthorization`, granted by granter. - * - * Since: cosmos-sdk 0.46 - */ - static granterGrants(request: QueryGranterGrantsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/authz/v1beta1/grants/granter/${request["granter"]}?${fm.renderURLSearchParams({ - ...request - }, ["granter"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * GranteeGrants returns a list of `GrantAuthorization` by grantee. - * - * Since: cosmos-sdk 0.46 - */ - static granteeGrants(request: QueryGranteeGrantsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/authz/v1beta1/grants/grantee/${request["grantee"]}?${fm.renderURLSearchParams({ - ...request - }, ["grantee"])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Returns list of `Authorization`, granted to the grantee by the granter. */ - async grants(req: QueryGrantsRequest, headers?: HeadersInit): Promise { - return Query.grants(req, { - headers, - pathPrefix: this.url - }); - } - /** - * GranterGrants returns list of `GrantAuthorization`, granted by granter. - * - * Since: cosmos-sdk 0.46 - */ - async granterGrants(req: QueryGranterGrantsRequest, headers?: HeadersInit): Promise { - return Query.granterGrants(req, { - headers, - pathPrefix: this.url - }); - } - /** - * GranteeGrants returns a list of `GrantAuthorization` by grantee. - * - * Since: cosmos-sdk 0.46 - */ - async granteeGrants(req: QueryGranteeGrantsRequest, headers?: HeadersInit): Promise { - return Query.granteeGrants(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.ts deleted file mode 100644 index f46dc019d..000000000 --- a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/query.ts +++ /dev/null @@ -1,857 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAmino, GrantSDKType, GrantAuthorization, GrantAuthorizationAmino, GrantAuthorizationSDKType } from "./authz"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.authz.v1beta1"; -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequest { - granter: string; - grantee: string; - /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msgTypeUrl: string; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGrantsRequestProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGrantsRequest"; - value: Uint8Array; -} -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequestAmino { - granter: string; - grantee: string; - /** Optional, msg_type_url, when set, will query only grants matching given msg type. */ - msg_type_url: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGrantsRequestAminoMsg { - type: "cosmos-sdk/QueryGrantsRequest"; - value: QueryGrantsRequestAmino; -} -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequestSDKType { - granter: string; - grantee: string; - msg_type_url: string; - pagination: PageRequestSDKType; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ -export interface QueryGrantsResponse { - /** authorizations is a list of grants granted for grantee by granter. */ - grants: Grant[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface QueryGrantsResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGrantsResponse"; - value: Uint8Array; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ -export interface QueryGrantsResponseAmino { - /** authorizations is a list of grants granted for grantee by granter. */ - grants: GrantAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGrantsResponseAminoMsg { - type: "cosmos-sdk/QueryGrantsResponse"; - value: QueryGrantsResponseAmino; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ -export interface QueryGrantsResponseSDKType { - grants: GrantSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsRequest { - granter: string; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGranterGrantsRequestProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsRequest"; - value: Uint8Array; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsRequestAmino { - granter: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGranterGrantsRequestAminoMsg { - type: "cosmos-sdk/QueryGranterGrantsRequest"; - value: QueryGranterGrantsRequestAmino; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsRequestSDKType { - granter: string; - pagination: PageRequestSDKType; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsResponse { - /** grants is a list of grants granted by the granter. */ - grants: GrantAuthorization[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface QueryGranterGrantsResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsResponse"; - value: Uint8Array; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsResponseAmino { - /** grants is a list of grants granted by the granter. */ - grants: GrantAuthorizationAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGranterGrantsResponseAminoMsg { - type: "cosmos-sdk/QueryGranterGrantsResponse"; - value: QueryGranterGrantsResponseAmino; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsResponseSDKType { - grants: GrantAuthorizationSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ -export interface QueryGranteeGrantsRequest { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGranteeGrantsRequestProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsRequest"; - value: Uint8Array; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ -export interface QueryGranteeGrantsRequestAmino { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGranteeGrantsRequestAminoMsg { - type: "cosmos-sdk/QueryGranteeGrantsRequest"; - value: QueryGranteeGrantsRequestAmino; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ -export interface QueryGranteeGrantsRequestSDKType { - grantee: string; - pagination: PageRequestSDKType; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ -export interface QueryGranteeGrantsResponse { - /** grants is a list of grants granted to the grantee. */ - grants: GrantAuthorization[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface QueryGranteeGrantsResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsResponse"; - value: Uint8Array; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ -export interface QueryGranteeGrantsResponseAmino { - /** grants is a list of grants granted to the grantee. */ - grants: GrantAuthorizationAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGranteeGrantsResponseAminoMsg { - type: "cosmos-sdk/QueryGranteeGrantsResponse"; - value: QueryGranteeGrantsResponseAmino; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ -export interface QueryGranteeGrantsResponseSDKType { - grants: GrantAuthorizationSDKType[]; - pagination: PageResponseSDKType; -} -function createBaseQueryGrantsRequest(): QueryGrantsRequest { - return { - granter: "", - grantee: "", - msgTypeUrl: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryGrantsRequest = { - typeUrl: "/cosmos.authz.v1beta1.QueryGrantsRequest", - aminoType: "cosmos-sdk/QueryGrantsRequest", - encode(message: QueryGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - if (message.msgTypeUrl !== "") { - writer.uint32(26).string(message.msgTypeUrl); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGrantsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - case 2: - message.grantee = reader.string(); - break; - case 3: - message.msgTypeUrl = reader.string(); - break; - case 4: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGrantsRequest { - const obj = createBaseQueryGrantsRequest(); - if (isSet(object.granter)) obj.granter = String(object.granter); - if (isSet(object.grantee)) obj.grantee = String(object.grantee); - if (isSet(object.msgTypeUrl)) obj.msgTypeUrl = String(object.msgTypeUrl); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGrantsRequest): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGrantsRequest { - const message = createBaseQueryGrantsRequest(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - message.msgTypeUrl = object.msgTypeUrl ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGrantsRequestSDKType): QueryGrantsRequest { - return { - granter: object?.granter, - grantee: object?.grantee, - msgTypeUrl: object?.msg_type_url, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGrantsRequest): QueryGrantsRequestSDKType { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - obj.msg_type_url = message.msgTypeUrl; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGrantsRequestAmino): QueryGrantsRequest { - return { - granter: object.granter, - grantee: object.grantee, - msgTypeUrl: object.msg_type_url, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGrantsRequest): QueryGrantsRequestAmino { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - obj.msg_type_url = message.msgTypeUrl; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGrantsRequestAminoMsg): QueryGrantsRequest { - return QueryGrantsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryGrantsRequest): QueryGrantsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryGrantsRequest", - value: QueryGrantsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGrantsRequestProtoMsg): QueryGrantsRequest { - return QueryGrantsRequest.decode(message.value); - }, - toProto(message: QueryGrantsRequest): Uint8Array { - return QueryGrantsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryGrantsRequest): QueryGrantsRequestProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.QueryGrantsRequest", - value: QueryGrantsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryGrantsResponse(): QueryGrantsResponse { - return { - grants: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryGrantsResponse = { - typeUrl: "/cosmos.authz.v1beta1.QueryGrantsResponse", - aminoType: "cosmos-sdk/QueryGrantsResponse", - encode(message: QueryGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.grants) { - Grant.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGrantsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.grants.push(Grant.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGrantsResponse { - const obj = createBaseQueryGrantsResponse(); - if (Array.isArray(object?.grants)) obj.grants = object.grants.map((e: any) => Grant.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGrantsResponse): unknown { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? Grant.toJSON(e) : undefined); - } else { - obj.grants = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGrantsResponse { - const message = createBaseQueryGrantsResponse(); - message.grants = object.grants?.map(e => Grant.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGrantsResponseSDKType): QueryGrantsResponse { - return { - grants: Array.isArray(object?.grants) ? object.grants.map((e: any) => Grant.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGrantsResponse): QueryGrantsResponseSDKType { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? Grant.toSDK(e) : undefined); - } else { - obj.grants = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGrantsResponseAmino): QueryGrantsResponse { - return { - grants: Array.isArray(object?.grants) ? object.grants.map((e: any) => Grant.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGrantsResponse): QueryGrantsResponseAmino { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? Grant.toAmino(e) : undefined); - } else { - obj.grants = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGrantsResponseAminoMsg): QueryGrantsResponse { - return QueryGrantsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryGrantsResponse): QueryGrantsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryGrantsResponse", - value: QueryGrantsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGrantsResponseProtoMsg): QueryGrantsResponse { - return QueryGrantsResponse.decode(message.value); - }, - toProto(message: QueryGrantsResponse): Uint8Array { - return QueryGrantsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryGrantsResponse): QueryGrantsResponseProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.QueryGrantsResponse", - value: QueryGrantsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryGranterGrantsRequest(): QueryGranterGrantsRequest { - return { - granter: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryGranterGrantsRequest = { - typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsRequest", - aminoType: "cosmos-sdk/QueryGranterGrantsRequest", - encode(message: QueryGranterGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGranterGrantsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGranterGrantsRequest { - const obj = createBaseQueryGranterGrantsRequest(); - if (isSet(object.granter)) obj.granter = String(object.granter); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGranterGrantsRequest): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGranterGrantsRequest { - const message = createBaseQueryGranterGrantsRequest(); - message.granter = object.granter ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGranterGrantsRequestSDKType): QueryGranterGrantsRequest { - return { - granter: object?.granter, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestSDKType { - const obj: any = {}; - obj.granter = message.granter; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGranterGrantsRequestAmino): QueryGranterGrantsRequest { - return { - granter: object.granter, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestAmino { - const obj: any = {}; - obj.granter = message.granter; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGranterGrantsRequestAminoMsg): QueryGranterGrantsRequest { - return QueryGranterGrantsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryGranterGrantsRequest", - value: QueryGranterGrantsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGranterGrantsRequestProtoMsg): QueryGranterGrantsRequest { - return QueryGranterGrantsRequest.decode(message.value); - }, - toProto(message: QueryGranterGrantsRequest): Uint8Array { - return QueryGranterGrantsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryGranterGrantsRequest): QueryGranterGrantsRequestProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsRequest", - value: QueryGranterGrantsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryGranterGrantsResponse(): QueryGranterGrantsResponse { - return { - grants: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryGranterGrantsResponse = { - typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsResponse", - aminoType: "cosmos-sdk/QueryGranterGrantsResponse", - encode(message: QueryGranterGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.grants) { - GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGranterGrantsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.grants.push(GrantAuthorization.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGranterGrantsResponse { - const obj = createBaseQueryGranterGrantsResponse(); - if (Array.isArray(object?.grants)) obj.grants = object.grants.map((e: any) => GrantAuthorization.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGranterGrantsResponse): unknown { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? GrantAuthorization.toJSON(e) : undefined); - } else { - obj.grants = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGranterGrantsResponse { - const message = createBaseQueryGranterGrantsResponse(); - message.grants = object.grants?.map(e => GrantAuthorization.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGranterGrantsResponseSDKType): QueryGranterGrantsResponse { - return { - grants: Array.isArray(object?.grants) ? object.grants.map((e: any) => GrantAuthorization.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseSDKType { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? GrantAuthorization.toSDK(e) : undefined); - } else { - obj.grants = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGranterGrantsResponseAmino): QueryGranterGrantsResponse { - return { - grants: Array.isArray(object?.grants) ? object.grants.map((e: any) => GrantAuthorization.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseAmino { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? GrantAuthorization.toAmino(e) : undefined); - } else { - obj.grants = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGranterGrantsResponseAminoMsg): QueryGranterGrantsResponse { - return QueryGranterGrantsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryGranterGrantsResponse", - value: QueryGranterGrantsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGranterGrantsResponseProtoMsg): QueryGranterGrantsResponse { - return QueryGranterGrantsResponse.decode(message.value); - }, - toProto(message: QueryGranterGrantsResponse): Uint8Array { - return QueryGranterGrantsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryGranterGrantsResponse): QueryGranterGrantsResponseProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.QueryGranterGrantsResponse", - value: QueryGranterGrantsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryGranteeGrantsRequest(): QueryGranteeGrantsRequest { - return { - grantee: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryGranteeGrantsRequest = { - typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsRequest", - aminoType: "cosmos-sdk/QueryGranteeGrantsRequest", - encode(message: QueryGranteeGrantsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.grantee !== "") { - writer.uint32(10).string(message.grantee); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGranteeGrantsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.grantee = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGranteeGrantsRequest { - const obj = createBaseQueryGranteeGrantsRequest(); - if (isSet(object.grantee)) obj.grantee = String(object.grantee); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGranteeGrantsRequest): unknown { - const obj: any = {}; - message.grantee !== undefined && (obj.grantee = message.grantee); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGranteeGrantsRequest { - const message = createBaseQueryGranteeGrantsRequest(); - message.grantee = object.grantee ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGranteeGrantsRequestSDKType): QueryGranteeGrantsRequest { - return { - grantee: object?.grantee, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestSDKType { - const obj: any = {}; - obj.grantee = message.grantee; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGranteeGrantsRequestAmino): QueryGranteeGrantsRequest { - return { - grantee: object.grantee, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestAmino { - const obj: any = {}; - obj.grantee = message.grantee; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGranteeGrantsRequestAminoMsg): QueryGranteeGrantsRequest { - return QueryGranteeGrantsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryGranteeGrantsRequest", - value: QueryGranteeGrantsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGranteeGrantsRequestProtoMsg): QueryGranteeGrantsRequest { - return QueryGranteeGrantsRequest.decode(message.value); - }, - toProto(message: QueryGranteeGrantsRequest): Uint8Array { - return QueryGranteeGrantsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryGranteeGrantsRequest): QueryGranteeGrantsRequestProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsRequest", - value: QueryGranteeGrantsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryGranteeGrantsResponse(): QueryGranteeGrantsResponse { - return { - grants: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryGranteeGrantsResponse = { - typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsResponse", - aminoType: "cosmos-sdk/QueryGranteeGrantsResponse", - encode(message: QueryGranteeGrantsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.grants) { - GrantAuthorization.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGranteeGrantsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.grants.push(GrantAuthorization.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGranteeGrantsResponse { - const obj = createBaseQueryGranteeGrantsResponse(); - if (Array.isArray(object?.grants)) obj.grants = object.grants.map((e: any) => GrantAuthorization.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGranteeGrantsResponse): unknown { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? GrantAuthorization.toJSON(e) : undefined); - } else { - obj.grants = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGranteeGrantsResponse { - const message = createBaseQueryGranteeGrantsResponse(); - message.grants = object.grants?.map(e => GrantAuthorization.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGranteeGrantsResponseSDKType): QueryGranteeGrantsResponse { - return { - grants: Array.isArray(object?.grants) ? object.grants.map((e: any) => GrantAuthorization.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseSDKType { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? GrantAuthorization.toSDK(e) : undefined); - } else { - obj.grants = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGranteeGrantsResponseAmino): QueryGranteeGrantsResponse { - return { - grants: Array.isArray(object?.grants) ? object.grants.map((e: any) => GrantAuthorization.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseAmino { - const obj: any = {}; - if (message.grants) { - obj.grants = message.grants.map(e => e ? GrantAuthorization.toAmino(e) : undefined); - } else { - obj.grants = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGranteeGrantsResponseAminoMsg): QueryGranteeGrantsResponse { - return QueryGranteeGrantsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryGranteeGrantsResponse", - value: QueryGranteeGrantsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGranteeGrantsResponseProtoMsg): QueryGranteeGrantsResponse { - return QueryGranteeGrantsResponse.decode(message.value); - }, - toProto(message: QueryGranteeGrantsResponse): Uint8Array { - return QueryGranteeGrantsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryGranteeGrantsResponse): QueryGranteeGrantsResponseProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.QueryGranteeGrantsResponse", - value: QueryGranteeGrantsResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.amino.ts deleted file mode 100644 index 046b59931..000000000 --- a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Grant, GrantSDKType } from "./authz"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { MsgGrant, MsgGrantSDKType, MsgExec, MsgExecSDKType, MsgRevoke, MsgRevokeSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.authz.v1beta1.MsgGrant": { - aminoType: "cosmos-sdk/MsgGrant", - toAmino: MsgGrant.toAmino, - fromAmino: MsgGrant.fromAmino - }, - "/cosmos.authz.v1beta1.MsgExec": { - aminoType: "cosmos-sdk/MsgExec", - toAmino: MsgExec.toAmino, - fromAmino: MsgExec.fromAmino - }, - "/cosmos.authz.v1beta1.MsgRevoke": { - aminoType: "cosmos-sdk/MsgRevoke", - toAmino: MsgRevoke.toAmino, - fromAmino: MsgRevoke.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.registry.ts deleted file mode 100644 index 92557e5ca..000000000 --- a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +++ /dev/null @@ -1,112 +0,0 @@ -import { Grant, GrantSDKType } from "./authz"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgGrant, MsgGrantSDKType, MsgExec, MsgExecSDKType, MsgRevoke, MsgRevokeSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.authz.v1beta1.MsgGrant", MsgGrant], ["/cosmos.authz.v1beta1.MsgExec", MsgExec], ["/cosmos.authz.v1beta1.MsgRevoke", MsgRevoke]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - grant(value: MsgGrant) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - value: MsgGrant.encode(value).finish() - }; - }, - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - value: MsgExec.encode(value).finish() - }; - }, - revoke(value: MsgRevoke) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - value: MsgRevoke.encode(value).finish() - }; - } - }, - withTypeUrl: { - grant(value: MsgGrant) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - value - }; - }, - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - value - }; - }, - revoke(value: MsgRevoke) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - value - }; - } - }, - toJSON: { - grant(value: MsgGrant) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - value: MsgGrant.toJSON(value) - }; - }, - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - value: MsgExec.toJSON(value) - }; - }, - revoke(value: MsgRevoke) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - value: MsgRevoke.toJSON(value) - }; - } - }, - fromJSON: { - grant(value: any) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - value: MsgGrant.fromJSON(value) - }; - }, - exec(value: any) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - value: MsgExec.fromJSON(value) - }; - }, - revoke(value: any) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - value: MsgRevoke.fromJSON(value) - }; - } - }, - fromPartial: { - grant(value: MsgGrant) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - value: MsgGrant.fromPartial(value) - }; - }, - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - value: MsgExec.fromPartial(value) - }; - }, - revoke(value: MsgRevoke) { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - value: MsgRevoke.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 64c32e03c..000000000 --- a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Grant, GrantSDKType } from "./authz"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as fm from "../../../grpc-gateway"; -import { MsgGrant, MsgGrantSDKType, MsgGrantResponse, MsgGrantResponseSDKType, MsgExec, MsgExecSDKType, MsgExecResponse, MsgExecResponseSDKType, MsgRevoke, MsgRevokeSDKType, MsgRevokeResponse, MsgRevokeResponseSDKType } from "./tx"; -export class Msg { - /** - * Grant grants the provided authorization to the grantee on the granter's - * account with the provided expiration time. If there is already a grant - * for the given (granter, grantee, Authorization) triple, then the grant - * will be overwritten. - */ - static grant(request: MsgGrant, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.authz.v1beta1/grant`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * Exec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ - static exec(request: MsgExec, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.authz.v1beta1/exec`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * Revoke revokes any authorization corresponding to the provided method name on the - * granter's account that has been granted to the grantee. - */ - static revoke(request: MsgRevoke, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.authz.v1beta1/revoke`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.ts deleted file mode 100644 index cf173b102..000000000 --- a/quicksilverjs/src/codegen/cosmos/authz/v1beta1/tx.ts +++ /dev/null @@ -1,794 +0,0 @@ -import { Grant, GrantAmino, GrantSDKType } from "./authz"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers"; -export const protobufPackage = "cosmos.authz.v1beta1"; -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ -export interface MsgGrant { - granter: string; - grantee: string; - grant: Grant; -} -export interface MsgGrantProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant"; - value: Uint8Array; -} -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ -export interface MsgGrantAmino { - granter: string; - grantee: string; - grant?: GrantAmino; -} -export interface MsgGrantAminoMsg { - type: "cosmos-sdk/MsgGrant"; - value: MsgGrantAmino; -} -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ -export interface MsgGrantSDKType { - granter: string; - grantee: string; - grant: GrantSDKType; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ -export interface MsgExecResponse { - results: Uint8Array[]; -} -export interface MsgExecResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgExecResponse"; - value: Uint8Array; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ -export interface MsgExecResponseAmino { - results: Uint8Array[]; -} -export interface MsgExecResponseAminoMsg { - type: "cosmos-sdk/MsgExecResponse"; - value: MsgExecResponseAmino; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ -export interface MsgExecResponseSDKType { - results: Uint8Array[]; -} -/** - * MsgExec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ -export interface MsgExec { - grantee: string; - /** - * Authorization Msg requests to execute. Each msg must implement Authorization interface - * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - * triple and validate it. - */ - msgs: (Any)[] | Any[]; -} -export interface MsgExecProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgExec"; - value: Uint8Array; -} -export type MsgExecEncoded = Omit & { - /** - * Authorization Msg requests to execute. Each msg must implement Authorization interface - * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - * triple and validate it. - */ - msgs: (AnyProtoMsg)[]; -}; -/** - * MsgExec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ -export interface MsgExecAmino { - grantee: string; - /** - * Authorization Msg requests to execute. Each msg must implement Authorization interface - * The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) - * triple and validate it. - */ - msgs: AnyAmino[]; -} -export interface MsgExecAminoMsg { - type: "cosmos-sdk/MsgExec"; - value: MsgExecAmino; -} -/** - * MsgExec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ -export interface MsgExecSDKType { - grantee: string; - msgs: (AnySDKType)[]; -} -/** MsgGrantResponse defines the Msg/MsgGrant response type. */ -export interface MsgGrantResponse {} -export interface MsgGrantResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgGrantResponse"; - value: Uint8Array; -} -/** MsgGrantResponse defines the Msg/MsgGrant response type. */ -export interface MsgGrantResponseAmino {} -export interface MsgGrantResponseAminoMsg { - type: "cosmos-sdk/MsgGrantResponse"; - value: MsgGrantResponseAmino; -} -/** MsgGrantResponse defines the Msg/MsgGrant response type. */ -export interface MsgGrantResponseSDKType {} -/** - * MsgRevoke revokes any authorization with the provided sdk.Msg type on the - * granter's account with that has been granted to the grantee. - */ -export interface MsgRevoke { - granter: string; - grantee: string; - msgTypeUrl: string; -} -export interface MsgRevokeProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke"; - value: Uint8Array; -} -/** - * MsgRevoke revokes any authorization with the provided sdk.Msg type on the - * granter's account with that has been granted to the grantee. - */ -export interface MsgRevokeAmino { - granter: string; - grantee: string; - msg_type_url: string; -} -export interface MsgRevokeAminoMsg { - type: "cosmos-sdk/MsgRevoke"; - value: MsgRevokeAmino; -} -/** - * MsgRevoke revokes any authorization with the provided sdk.Msg type on the - * granter's account with that has been granted to the grantee. - */ -export interface MsgRevokeSDKType { - granter: string; - grantee: string; - msg_type_url: string; -} -/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ -export interface MsgRevokeResponse {} -export interface MsgRevokeResponseProtoMsg { - typeUrl: "/cosmos.authz.v1beta1.MsgRevokeResponse"; - value: Uint8Array; -} -/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ -export interface MsgRevokeResponseAmino {} -export interface MsgRevokeResponseAminoMsg { - type: "cosmos-sdk/MsgRevokeResponse"; - value: MsgRevokeResponseAmino; -} -/** MsgRevokeResponse defines the Msg/MsgRevokeResponse response type. */ -export interface MsgRevokeResponseSDKType {} -function createBaseMsgGrant(): MsgGrant { - return { - granter: "", - grantee: "", - grant: Grant.fromPartial({}) - }; -} -export const MsgGrant = { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - aminoType: "cosmos-sdk/MsgGrant", - encode(message: MsgGrant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - if (message.grant !== undefined) { - Grant.encode(message.grant, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrant { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgGrant(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - case 2: - message.grantee = reader.string(); - break; - case 3: - message.grant = Grant.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgGrant { - const obj = createBaseMsgGrant(); - if (isSet(object.granter)) obj.granter = String(object.granter); - if (isSet(object.grantee)) obj.grantee = String(object.grantee); - if (isSet(object.grant)) obj.grant = Grant.fromJSON(object.grant); - return obj; - }, - toJSON(message: MsgGrant): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.grant !== undefined && (obj.grant = message.grant ? Grant.toJSON(message.grant) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgGrant { - const message = createBaseMsgGrant(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - if (object.grant !== undefined && object.grant !== null) { - message.grant = Grant.fromPartial(object.grant); - } - return message; - }, - fromSDK(object: MsgGrantSDKType): MsgGrant { - return { - granter: object?.granter, - grantee: object?.grantee, - grant: object.grant ? Grant.fromSDK(object.grant) : undefined - }; - }, - toSDK(message: MsgGrant): MsgGrantSDKType { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - message.grant !== undefined && (obj.grant = message.grant ? Grant.toSDK(message.grant) : undefined); - return obj; - }, - fromAmino(object: MsgGrantAmino): MsgGrant { - return { - granter: object.granter, - grantee: object.grantee, - grant: object?.grant ? Grant.fromAmino(object.grant) : undefined - }; - }, - toAmino(message: MsgGrant): MsgGrantAmino { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - obj.grant = message.grant ? Grant.toAmino(message.grant) : undefined; - return obj; - }, - fromAminoMsg(object: MsgGrantAminoMsg): MsgGrant { - return MsgGrant.fromAmino(object.value); - }, - toAminoMsg(message: MsgGrant): MsgGrantAminoMsg { - return { - type: "cosmos-sdk/MsgGrant", - value: MsgGrant.toAmino(message) - }; - }, - fromProtoMsg(message: MsgGrantProtoMsg): MsgGrant { - return MsgGrant.decode(message.value); - }, - toProto(message: MsgGrant): Uint8Array { - return MsgGrant.encode(message).finish(); - }, - toProtoMsg(message: MsgGrant): MsgGrantProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrant", - value: MsgGrant.encode(message).finish() - }; - } -}; -function createBaseMsgExecResponse(): MsgExecResponse { - return { - results: [] - }; -} -export const MsgExecResponse = { - typeUrl: "/cosmos.authz.v1beta1.MsgExecResponse", - aminoType: "cosmos-sdk/MsgExecResponse", - encode(message: MsgExecResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.results) { - writer.uint32(10).bytes(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.results.push(reader.bytes()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgExecResponse { - const obj = createBaseMsgExecResponse(); - if (Array.isArray(object?.results)) obj.results = object.results.map((e: any) => bytesFromBase64(e)); - return obj; - }, - toJSON(message: MsgExecResponse): unknown { - const obj: any = {}; - if (message.results) { - obj.results = message.results.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.results = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgExecResponse { - const message = createBaseMsgExecResponse(); - message.results = object.results?.map(e => e) || []; - return message; - }, - fromSDK(object: MsgExecResponseSDKType): MsgExecResponse { - return { - results: Array.isArray(object?.results) ? object.results.map((e: any) => e) : [] - }; - }, - toSDK(message: MsgExecResponse): MsgExecResponseSDKType { - const obj: any = {}; - if (message.results) { - obj.results = message.results.map(e => e); - } else { - obj.results = []; - } - return obj; - }, - fromAmino(object: MsgExecResponseAmino): MsgExecResponse { - return { - results: Array.isArray(object?.results) ? object.results.map((e: any) => e) : [] - }; - }, - toAmino(message: MsgExecResponse): MsgExecResponseAmino { - const obj: any = {}; - if (message.results) { - obj.results = message.results.map(e => e); - } else { - obj.results = []; - } - return obj; - }, - fromAminoMsg(object: MsgExecResponseAminoMsg): MsgExecResponse { - return MsgExecResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgExecResponse): MsgExecResponseAminoMsg { - return { - type: "cosmos-sdk/MsgExecResponse", - value: MsgExecResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgExecResponseProtoMsg): MsgExecResponse { - return MsgExecResponse.decode(message.value); - }, - toProto(message: MsgExecResponse): Uint8Array { - return MsgExecResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgExecResponse): MsgExecResponseProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExecResponse", - value: MsgExecResponse.encode(message).finish() - }; - } -}; -function createBaseMsgExec(): MsgExec { - return { - grantee: "", - msgs: [] - }; -} -export const MsgExec = { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - aminoType: "cosmos-sdk/MsgExec", - encode(message: MsgExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.grantee !== "") { - writer.uint32(10).string(message.grantee); - } - for (const v of message.msgs) { - Any.encode((v! as Any), writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExec(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.grantee = reader.string(); - break; - case 2: - message.msgs.push((Sdk_MsgauthzAuthorization_InterfaceDecoder(reader) as Any)); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgExec { - const obj = createBaseMsgExec(); - if (isSet(object.grantee)) obj.grantee = String(object.grantee); - if (Array.isArray(object?.msgs)) obj.msgs = object.msgs.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: MsgExec): unknown { - const obj: any = {}; - message.grantee !== undefined && (obj.grantee = message.grantee); - if (message.msgs) { - obj.msgs = message.msgs.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.msgs = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgExec { - const message = createBaseMsgExec(); - message.grantee = object.grantee ?? ""; - message.msgs = object.msgs?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgExecSDKType): MsgExec { - return { - grantee: object?.grantee, - msgs: Array.isArray(object?.msgs) ? object.msgs.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgExec): MsgExecSDKType { - const obj: any = {}; - obj.grantee = message.grantee; - if (message.msgs) { - obj.msgs = message.msgs.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.msgs = []; - } - return obj; - }, - fromAmino(object: MsgExecAmino): MsgExec { - return { - grantee: object.grantee, - msgs: Array.isArray(object?.msgs) ? object.msgs.map((e: any) => Sdk_MsgauthzAuthorization_FromAmino(e)) : [] - }; - }, - toAmino(message: MsgExec): MsgExecAmino { - const obj: any = {}; - obj.grantee = message.grantee; - if (message.msgs) { - obj.msgs = message.msgs.map(e => e ? Sdk_MsgauthzAuthorization_ToAmino((e as Any)) : undefined); - } else { - obj.msgs = []; - } - return obj; - }, - fromAminoMsg(object: MsgExecAminoMsg): MsgExec { - return MsgExec.fromAmino(object.value); - }, - toAminoMsg(message: MsgExec): MsgExecAminoMsg { - return { - type: "cosmos-sdk/MsgExec", - value: MsgExec.toAmino(message) - }; - }, - fromProtoMsg(message: MsgExecProtoMsg): MsgExec { - return MsgExec.decode(message.value); - }, - toProto(message: MsgExec): Uint8Array { - return MsgExec.encode(message).finish(); - }, - toProtoMsg(message: MsgExec): MsgExecProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgExec", - value: MsgExec.encode(message).finish() - }; - } -}; -function createBaseMsgGrantResponse(): MsgGrantResponse { - return {}; -} -export const MsgGrantResponse = { - typeUrl: "/cosmos.authz.v1beta1.MsgGrantResponse", - aminoType: "cosmos-sdk/MsgGrantResponse", - encode(_: MsgGrantResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgGrantResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgGrantResponse { - const obj = createBaseMsgGrantResponse(); - return obj; - }, - toJSON(_: MsgGrantResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgGrantResponse { - const message = createBaseMsgGrantResponse(); - return message; - }, - fromSDK(_: MsgGrantResponseSDKType): MsgGrantResponse { - return {}; - }, - toSDK(_: MsgGrantResponse): MsgGrantResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgGrantResponseAmino): MsgGrantResponse { - return {}; - }, - toAmino(_: MsgGrantResponse): MsgGrantResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgGrantResponseAminoMsg): MsgGrantResponse { - return MsgGrantResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgGrantResponse): MsgGrantResponseAminoMsg { - return { - type: "cosmos-sdk/MsgGrantResponse", - value: MsgGrantResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgGrantResponseProtoMsg): MsgGrantResponse { - return MsgGrantResponse.decode(message.value); - }, - toProto(message: MsgGrantResponse): Uint8Array { - return MsgGrantResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgGrantResponse): MsgGrantResponseProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgGrantResponse", - value: MsgGrantResponse.encode(message).finish() - }; - } -}; -function createBaseMsgRevoke(): MsgRevoke { - return { - granter: "", - grantee: "", - msgTypeUrl: "" - }; -} -export const MsgRevoke = { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - aminoType: "cosmos-sdk/MsgRevoke", - encode(message: MsgRevoke, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - if (message.msgTypeUrl !== "") { - writer.uint32(26).string(message.msgTypeUrl); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevoke { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgRevoke(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - case 2: - message.grantee = reader.string(); - break; - case 3: - message.msgTypeUrl = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgRevoke { - const obj = createBaseMsgRevoke(); - if (isSet(object.granter)) obj.granter = String(object.granter); - if (isSet(object.grantee)) obj.grantee = String(object.grantee); - if (isSet(object.msgTypeUrl)) obj.msgTypeUrl = String(object.msgTypeUrl); - return obj; - }, - toJSON(message: MsgRevoke): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl); - return obj; - }, - fromPartial(object: DeepPartial): MsgRevoke { - const message = createBaseMsgRevoke(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - message.msgTypeUrl = object.msgTypeUrl ?? ""; - return message; - }, - fromSDK(object: MsgRevokeSDKType): MsgRevoke { - return { - granter: object?.granter, - grantee: object?.grantee, - msgTypeUrl: object?.msg_type_url - }; - }, - toSDK(message: MsgRevoke): MsgRevokeSDKType { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - obj.msg_type_url = message.msgTypeUrl; - return obj; - }, - fromAmino(object: MsgRevokeAmino): MsgRevoke { - return { - granter: object.granter, - grantee: object.grantee, - msgTypeUrl: object.msg_type_url - }; - }, - toAmino(message: MsgRevoke): MsgRevokeAmino { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - obj.msg_type_url = message.msgTypeUrl; - return obj; - }, - fromAminoMsg(object: MsgRevokeAminoMsg): MsgRevoke { - return MsgRevoke.fromAmino(object.value); - }, - toAminoMsg(message: MsgRevoke): MsgRevokeAminoMsg { - return { - type: "cosmos-sdk/MsgRevoke", - value: MsgRevoke.toAmino(message) - }; - }, - fromProtoMsg(message: MsgRevokeProtoMsg): MsgRevoke { - return MsgRevoke.decode(message.value); - }, - toProto(message: MsgRevoke): Uint8Array { - return MsgRevoke.encode(message).finish(); - }, - toProtoMsg(message: MsgRevoke): MsgRevokeProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevoke", - value: MsgRevoke.encode(message).finish() - }; - } -}; -function createBaseMsgRevokeResponse(): MsgRevokeResponse { - return {}; -} -export const MsgRevokeResponse = { - typeUrl: "/cosmos.authz.v1beta1.MsgRevokeResponse", - aminoType: "cosmos-sdk/MsgRevokeResponse", - encode(_: MsgRevokeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgRevokeResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgRevokeResponse { - const obj = createBaseMsgRevokeResponse(); - return obj; - }, - toJSON(_: MsgRevokeResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgRevokeResponse { - const message = createBaseMsgRevokeResponse(); - return message; - }, - fromSDK(_: MsgRevokeResponseSDKType): MsgRevokeResponse { - return {}; - }, - toSDK(_: MsgRevokeResponse): MsgRevokeResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgRevokeResponseAmino): MsgRevokeResponse { - return {}; - }, - toAmino(_: MsgRevokeResponse): MsgRevokeResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgRevokeResponseAminoMsg): MsgRevokeResponse { - return MsgRevokeResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgRevokeResponse): MsgRevokeResponseAminoMsg { - return { - type: "cosmos-sdk/MsgRevokeResponse", - value: MsgRevokeResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgRevokeResponseProtoMsg): MsgRevokeResponse { - return MsgRevokeResponse.decode(message.value); - }, - toProto(message: MsgRevokeResponse): Uint8Array { - return MsgRevokeResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgRevokeResponse): MsgRevokeResponseProtoMsg { - return { - typeUrl: "/cosmos.authz.v1beta1.MsgRevokeResponse", - value: MsgRevokeResponse.encode(message).finish() - }; - } -}; -export const Sdk_Msg_InterfaceDecoder = (input: _m0.Reader | Uint8Array): Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - default: - return data; - } -}; -export const Sdk_Msg_FromAmino = (content: AnyAmino) => { - return Any.fromAmino(content); -}; -export const Sdk_Msg_ToAmino = (content: Any) => { - return Any.toAmino(content); -}; -export const Authz_Authorization_InterfaceDecoder = (input: _m0.Reader | Uint8Array): Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - default: - return data; - } -}; -export const Authz_Authorization_FromAmino = (content: AnyAmino) => { - return Any.fromAmino(content); -}; -export const Authz_Authorization_ToAmino = (content: Any) => { - return Any.toAmino(content); -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/authz.ts b/quicksilverjs/src/codegen/cosmos/bank/v1beta1/authz.ts deleted file mode 100644 index 4985783ee..000000000 --- a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/authz.ts +++ /dev/null @@ -1,139 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.bank.v1beta1"; -/** - * SendAuthorization allows the grantee to spend up to spend_limit coins from - * the granter's account. - * - * Since: cosmos-sdk 0.43 - */ -export interface SendAuthorization { - spendLimit: Coin[]; -} -export interface SendAuthorizationProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.SendAuthorization"; - value: Uint8Array; -} -/** - * SendAuthorization allows the grantee to spend up to spend_limit coins from - * the granter's account. - * - * Since: cosmos-sdk 0.43 - */ -export interface SendAuthorizationAmino { - spend_limit: CoinAmino[]; -} -export interface SendAuthorizationAminoMsg { - type: "cosmos-sdk/SendAuthorization"; - value: SendAuthorizationAmino; -} -/** - * SendAuthorization allows the grantee to spend up to spend_limit coins from - * the granter's account. - * - * Since: cosmos-sdk 0.43 - */ -export interface SendAuthorizationSDKType { - spend_limit: CoinSDKType[]; -} -function createBaseSendAuthorization(): SendAuthorization { - return { - spendLimit: [] - }; -} -export const SendAuthorization = { - typeUrl: "/cosmos.bank.v1beta1.SendAuthorization", - aminoType: "cosmos-sdk/SendAuthorization", - encode(message: SendAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.spendLimit) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SendAuthorization { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSendAuthorization(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.spendLimit.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SendAuthorization { - const obj = createBaseSendAuthorization(); - if (Array.isArray(object?.spendLimit)) obj.spendLimit = object.spendLimit.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: SendAuthorization): unknown { - const obj: any = {}; - if (message.spendLimit) { - obj.spendLimit = message.spendLimit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.spendLimit = []; - } - return obj; - }, - fromPartial(object: DeepPartial): SendAuthorization { - const message = createBaseSendAuthorization(); - message.spendLimit = object.spendLimit?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: SendAuthorizationSDKType): SendAuthorization { - return { - spendLimit: Array.isArray(object?.spend_limit) ? object.spend_limit.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: SendAuthorization): SendAuthorizationSDKType { - const obj: any = {}; - if (message.spendLimit) { - obj.spend_limit = message.spendLimit.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.spend_limit = []; - } - return obj; - }, - fromAmino(object: SendAuthorizationAmino): SendAuthorization { - return { - spendLimit: Array.isArray(object?.spend_limit) ? object.spend_limit.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: SendAuthorization): SendAuthorizationAmino { - const obj: any = {}; - if (message.spendLimit) { - obj.spend_limit = message.spendLimit.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.spend_limit = []; - } - return obj; - }, - fromAminoMsg(object: SendAuthorizationAminoMsg): SendAuthorization { - return SendAuthorization.fromAmino(object.value); - }, - toAminoMsg(message: SendAuthorization): SendAuthorizationAminoMsg { - return { - type: "cosmos-sdk/SendAuthorization", - value: SendAuthorization.toAmino(message) - }; - }, - fromProtoMsg(message: SendAuthorizationProtoMsg): SendAuthorization { - return SendAuthorization.decode(message.value); - }, - toProto(message: SendAuthorization): Uint8Array { - return SendAuthorization.encode(message).finish(); - }, - toProtoMsg(message: SendAuthorization): SendAuthorizationProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.SendAuthorization", - value: SendAuthorization.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/bank.ts b/quicksilverjs/src/codegen/cosmos/bank/v1beta1/bank.ts deleted file mode 100644 index dac910192..000000000 --- a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/bank.ts +++ /dev/null @@ -1,1169 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.bank.v1beta1"; -/** Params defines the parameters for the bank module. */ -export interface Params { - sendEnabled: SendEnabled[]; - defaultSendEnabled: boolean; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the parameters for the bank module. */ -export interface ParamsAmino { - send_enabled: SendEnabledAmino[]; - default_send_enabled: boolean; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the parameters for the bank module. */ -export interface ParamsSDKType { - send_enabled: SendEnabledSDKType[]; - default_send_enabled: boolean; -} -/** - * SendEnabled maps coin denom to a send_enabled status (whether a denom is - * sendable). - */ -export interface SendEnabled { - denom: string; - enabled: boolean; -} -export interface SendEnabledProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.SendEnabled"; - value: Uint8Array; -} -/** - * SendEnabled maps coin denom to a send_enabled status (whether a denom is - * sendable). - */ -export interface SendEnabledAmino { - denom: string; - enabled: boolean; -} -export interface SendEnabledAminoMsg { - type: "cosmos-sdk/SendEnabled"; - value: SendEnabledAmino; -} -/** - * SendEnabled maps coin denom to a send_enabled status (whether a denom is - * sendable). - */ -export interface SendEnabledSDKType { - denom: string; - enabled: boolean; -} -/** Input models transaction input. */ -export interface Input { - address: string; - coins: Coin[]; -} -export interface InputProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Input"; - value: Uint8Array; -} -/** Input models transaction input. */ -export interface InputAmino { - address: string; - coins: CoinAmino[]; -} -export interface InputAminoMsg { - type: "cosmos-sdk/Input"; - value: InputAmino; -} -/** Input models transaction input. */ -export interface InputSDKType { - address: string; - coins: CoinSDKType[]; -} -/** Output models transaction outputs. */ -export interface Output { - address: string; - coins: Coin[]; -} -export interface OutputProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Output"; - value: Uint8Array; -} -/** Output models transaction outputs. */ -export interface OutputAmino { - address: string; - coins: CoinAmino[]; -} -export interface OutputAminoMsg { - type: "cosmos-sdk/Output"; - value: OutputAmino; -} -/** Output models transaction outputs. */ -export interface OutputSDKType { - address: string; - coins: CoinSDKType[]; -} -/** - * Supply represents a struct that passively keeps track of the total supply - * amounts in the network. - * This message is deprecated now that supply is indexed by denom. - */ -/** @deprecated */ -export interface Supply { - total: Coin[]; -} -export interface SupplyProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Supply"; - value: Uint8Array; -} -/** - * Supply represents a struct that passively keeps track of the total supply - * amounts in the network. - * This message is deprecated now that supply is indexed by denom. - */ -/** @deprecated */ -export interface SupplyAmino { - total: CoinAmino[]; -} -export interface SupplyAminoMsg { - type: "cosmos-sdk/Supply"; - value: SupplyAmino; -} -/** - * Supply represents a struct that passively keeps track of the total supply - * amounts in the network. - * This message is deprecated now that supply is indexed by denom. - */ -/** @deprecated */ -export interface SupplySDKType { - total: CoinSDKType[]; -} -/** - * DenomUnit represents a struct that describes a given - * denomination unit of the basic token. - */ -export interface DenomUnit { - /** denom represents the string name of the given denom unit (e.g uatom). */ - denom: string; - /** - * exponent represents power of 10 exponent that one must - * raise the base_denom to in order to equal the given DenomUnit's denom - * 1 denom = 10^exponent base_denom - * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with - * exponent = 6, thus: 1 atom = 10^6 uatom). - */ - exponent: number; - /** aliases is a list of string aliases for the given denom */ - aliases: string[]; -} -export interface DenomUnitProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.DenomUnit"; - value: Uint8Array; -} -/** - * DenomUnit represents a struct that describes a given - * denomination unit of the basic token. - */ -export interface DenomUnitAmino { - /** denom represents the string name of the given denom unit (e.g uatom). */ - denom: string; - /** - * exponent represents power of 10 exponent that one must - * raise the base_denom to in order to equal the given DenomUnit's denom - * 1 denom = 10^exponent base_denom - * (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with - * exponent = 6, thus: 1 atom = 10^6 uatom). - */ - exponent: number; - /** aliases is a list of string aliases for the given denom */ - aliases: string[]; -} -export interface DenomUnitAminoMsg { - type: "cosmos-sdk/DenomUnit"; - value: DenomUnitAmino; -} -/** - * DenomUnit represents a struct that describes a given - * denomination unit of the basic token. - */ -export interface DenomUnitSDKType { - denom: string; - exponent: number; - aliases: string[]; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ -export interface Metadata { - description: string; - /** denom_units represents the list of DenomUnit's for a given coin */ - denomUnits: DenomUnit[]; - /** base represents the base denom (should be the DenomUnit with exponent = 0). */ - base: string; - /** - * display indicates the suggested denom that should be - * displayed in clients. - */ - display: string; - /** - * name defines the name of the token (eg: Cosmos Atom) - * - * Since: cosmos-sdk 0.43 - */ - name: string; - /** - * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can - * be the same as the display. - * - * Since: cosmos-sdk 0.43 - */ - symbol: string; - /** - * URI to a document (on or off-chain) that contains additional information. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uri: string; - /** - * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that - * the document didn't change. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uriHash: string; -} -export interface MetadataProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Metadata"; - value: Uint8Array; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ -export interface MetadataAmino { - description: string; - /** denom_units represents the list of DenomUnit's for a given coin */ - denom_units: DenomUnitAmino[]; - /** base represents the base denom (should be the DenomUnit with exponent = 0). */ - base: string; - /** - * display indicates the suggested denom that should be - * displayed in clients. - */ - display: string; - /** - * name defines the name of the token (eg: Cosmos Atom) - * - * Since: cosmos-sdk 0.43 - */ - name: string; - /** - * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can - * be the same as the display. - * - * Since: cosmos-sdk 0.43 - */ - symbol: string; - /** - * URI to a document (on or off-chain) that contains additional information. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uri: string; - /** - * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that - * the document didn't change. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uri_hash: string; -} -export interface MetadataAminoMsg { - type: "cosmos-sdk/Metadata"; - value: MetadataAmino; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ -export interface MetadataSDKType { - description: string; - denom_units: DenomUnitSDKType[]; - base: string; - display: string; - name: string; - symbol: string; - uri: string; - uri_hash: string; -} -function createBaseParams(): Params { - return { - sendEnabled: [], - defaultSendEnabled: false - }; -} -export const Params = { - typeUrl: "/cosmos.bank.v1beta1.Params", - aminoType: "cosmos-sdk/Params", - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.sendEnabled) { - SendEnabled.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.defaultSendEnabled === true) { - writer.uint32(16).bool(message.defaultSendEnabled); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sendEnabled.push(SendEnabled.decode(reader, reader.uint32())); - break; - case 2: - message.defaultSendEnabled = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Params { - const obj = createBaseParams(); - if (Array.isArray(object?.sendEnabled)) obj.sendEnabled = object.sendEnabled.map((e: any) => SendEnabled.fromJSON(e)); - if (isSet(object.defaultSendEnabled)) obj.defaultSendEnabled = Boolean(object.defaultSendEnabled); - return obj; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - if (message.sendEnabled) { - obj.sendEnabled = message.sendEnabled.map(e => e ? SendEnabled.toJSON(e) : undefined); - } else { - obj.sendEnabled = []; - } - message.defaultSendEnabled !== undefined && (obj.defaultSendEnabled = message.defaultSendEnabled); - return obj; - }, - fromPartial(object: DeepPartial): Params { - const message = createBaseParams(); - message.sendEnabled = object.sendEnabled?.map(e => SendEnabled.fromPartial(e)) || []; - message.defaultSendEnabled = object.defaultSendEnabled ?? false; - return message; - }, - fromSDK(object: ParamsSDKType): Params { - return { - sendEnabled: Array.isArray(object?.send_enabled) ? object.send_enabled.map((e: any) => SendEnabled.fromSDK(e)) : [], - defaultSendEnabled: object?.default_send_enabled - }; - }, - toSDK(message: Params): ParamsSDKType { - const obj: any = {}; - if (message.sendEnabled) { - obj.send_enabled = message.sendEnabled.map(e => e ? SendEnabled.toSDK(e) : undefined); - } else { - obj.send_enabled = []; - } - obj.default_send_enabled = message.defaultSendEnabled; - return obj; - }, - fromAmino(object: ParamsAmino): Params { - return { - sendEnabled: Array.isArray(object?.send_enabled) ? object.send_enabled.map((e: any) => SendEnabled.fromAmino(e)) : [], - defaultSendEnabled: object.default_send_enabled - }; - }, - toAmino(message: Params): ParamsAmino { - const obj: any = {}; - if (message.sendEnabled) { - obj.send_enabled = message.sendEnabled.map(e => e ? SendEnabled.toAmino(e) : undefined); - } else { - obj.send_enabled = []; - } - obj.default_send_enabled = message.defaultSendEnabled; - return obj; - }, - fromAminoMsg(object: ParamsAminoMsg): Params { - return Params.fromAmino(object.value); - }, - toAminoMsg(message: Params): ParamsAminoMsg { - return { - type: "cosmos-sdk/Params", - value: Params.toAmino(message) - }; - }, - fromProtoMsg(message: ParamsProtoMsg): Params { - return Params.decode(message.value); - }, - toProto(message: Params): Uint8Array { - return Params.encode(message).finish(); - }, - toProtoMsg(message: Params): ParamsProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.Params", - value: Params.encode(message).finish() - }; - } -}; -function createBaseSendEnabled(): SendEnabled { - return { - denom: "", - enabled: false - }; -} -export const SendEnabled = { - typeUrl: "/cosmos.bank.v1beta1.SendEnabled", - aminoType: "cosmos-sdk/SendEnabled", - encode(message: SendEnabled, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - if (message.enabled === true) { - writer.uint32(16).bool(message.enabled); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SendEnabled { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSendEnabled(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - case 2: - message.enabled = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SendEnabled { - const obj = createBaseSendEnabled(); - if (isSet(object.denom)) obj.denom = String(object.denom); - if (isSet(object.enabled)) obj.enabled = Boolean(object.enabled); - return obj; - }, - toJSON(message: SendEnabled): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.enabled !== undefined && (obj.enabled = message.enabled); - return obj; - }, - fromPartial(object: DeepPartial): SendEnabled { - const message = createBaseSendEnabled(); - message.denom = object.denom ?? ""; - message.enabled = object.enabled ?? false; - return message; - }, - fromSDK(object: SendEnabledSDKType): SendEnabled { - return { - denom: object?.denom, - enabled: object?.enabled - }; - }, - toSDK(message: SendEnabled): SendEnabledSDKType { - const obj: any = {}; - obj.denom = message.denom; - obj.enabled = message.enabled; - return obj; - }, - fromAmino(object: SendEnabledAmino): SendEnabled { - return { - denom: object.denom, - enabled: object.enabled - }; - }, - toAmino(message: SendEnabled): SendEnabledAmino { - const obj: any = {}; - obj.denom = message.denom; - obj.enabled = message.enabled; - return obj; - }, - fromAminoMsg(object: SendEnabledAminoMsg): SendEnabled { - return SendEnabled.fromAmino(object.value); - }, - toAminoMsg(message: SendEnabled): SendEnabledAminoMsg { - return { - type: "cosmos-sdk/SendEnabled", - value: SendEnabled.toAmino(message) - }; - }, - fromProtoMsg(message: SendEnabledProtoMsg): SendEnabled { - return SendEnabled.decode(message.value); - }, - toProto(message: SendEnabled): Uint8Array { - return SendEnabled.encode(message).finish(); - }, - toProtoMsg(message: SendEnabled): SendEnabledProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.SendEnabled", - value: SendEnabled.encode(message).finish() - }; - } -}; -function createBaseInput(): Input { - return { - address: "", - coins: [] - }; -} -export const Input = { - typeUrl: "/cosmos.bank.v1beta1.Input", - aminoType: "cosmos-sdk/Input", - encode(message: Input, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - for (const v of message.coins) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Input { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInput(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.coins.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Input { - const obj = createBaseInput(); - if (isSet(object.address)) obj.address = String(object.address); - if (Array.isArray(object?.coins)) obj.coins = object.coins.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: Input): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Input { - const message = createBaseInput(); - message.address = object.address ?? ""; - message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: InputSDKType): Input { - return { - address: object?.address, - coins: Array.isArray(object?.coins) ? object.coins.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: Input): InputSDKType { - const obj: any = {}; - obj.address = message.address; - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, - fromAmino(object: InputAmino): Input { - return { - address: object.address, - coins: Array.isArray(object?.coins) ? object.coins.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: Input): InputAmino { - const obj: any = {}; - obj.address = message.address; - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, - fromAminoMsg(object: InputAminoMsg): Input { - return Input.fromAmino(object.value); - }, - toAminoMsg(message: Input): InputAminoMsg { - return { - type: "cosmos-sdk/Input", - value: Input.toAmino(message) - }; - }, - fromProtoMsg(message: InputProtoMsg): Input { - return Input.decode(message.value); - }, - toProto(message: Input): Uint8Array { - return Input.encode(message).finish(); - }, - toProtoMsg(message: Input): InputProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.Input", - value: Input.encode(message).finish() - }; - } -}; -function createBaseOutput(): Output { - return { - address: "", - coins: [] - }; -} -export const Output = { - typeUrl: "/cosmos.bank.v1beta1.Output", - aminoType: "cosmos-sdk/Output", - encode(message: Output, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - for (const v of message.coins) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Output { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOutput(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.coins.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Output { - const obj = createBaseOutput(); - if (isSet(object.address)) obj.address = String(object.address); - if (Array.isArray(object?.coins)) obj.coins = object.coins.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: Output): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Output { - const message = createBaseOutput(); - message.address = object.address ?? ""; - message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: OutputSDKType): Output { - return { - address: object?.address, - coins: Array.isArray(object?.coins) ? object.coins.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: Output): OutputSDKType { - const obj: any = {}; - obj.address = message.address; - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, - fromAmino(object: OutputAmino): Output { - return { - address: object.address, - coins: Array.isArray(object?.coins) ? object.coins.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: Output): OutputAmino { - const obj: any = {}; - obj.address = message.address; - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, - fromAminoMsg(object: OutputAminoMsg): Output { - return Output.fromAmino(object.value); - }, - toAminoMsg(message: Output): OutputAminoMsg { - return { - type: "cosmos-sdk/Output", - value: Output.toAmino(message) - }; - }, - fromProtoMsg(message: OutputProtoMsg): Output { - return Output.decode(message.value); - }, - toProto(message: Output): Uint8Array { - return Output.encode(message).finish(); - }, - toProtoMsg(message: Output): OutputProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.Output", - value: Output.encode(message).finish() - }; - } -}; -function createBaseSupply(): Supply { - return { - total: [] - }; -} -export const Supply = { - typeUrl: "/cosmos.bank.v1beta1.Supply", - aminoType: "cosmos-sdk/Supply", - encode(message: Supply, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.total) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Supply { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSupply(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.total.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Supply { - const obj = createBaseSupply(); - if (Array.isArray(object?.total)) obj.total = object.total.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: Supply): unknown { - const obj: any = {}; - if (message.total) { - obj.total = message.total.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.total = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Supply { - const message = createBaseSupply(); - message.total = object.total?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: SupplySDKType): Supply { - return { - total: Array.isArray(object?.total) ? object.total.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: Supply): SupplySDKType { - const obj: any = {}; - if (message.total) { - obj.total = message.total.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.total = []; - } - return obj; - }, - fromAmino(object: SupplyAmino): Supply { - return { - total: Array.isArray(object?.total) ? object.total.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: Supply): SupplyAmino { - const obj: any = {}; - if (message.total) { - obj.total = message.total.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.total = []; - } - return obj; - }, - fromAminoMsg(object: SupplyAminoMsg): Supply { - return Supply.fromAmino(object.value); - }, - toAminoMsg(message: Supply): SupplyAminoMsg { - return { - type: "cosmos-sdk/Supply", - value: Supply.toAmino(message) - }; - }, - fromProtoMsg(message: SupplyProtoMsg): Supply { - return Supply.decode(message.value); - }, - toProto(message: Supply): Uint8Array { - return Supply.encode(message).finish(); - }, - toProtoMsg(message: Supply): SupplyProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.Supply", - value: Supply.encode(message).finish() - }; - } -}; -function createBaseDenomUnit(): DenomUnit { - return { - denom: "", - exponent: 0, - aliases: [] - }; -} -export const DenomUnit = { - typeUrl: "/cosmos.bank.v1beta1.DenomUnit", - aminoType: "cosmos-sdk/DenomUnit", - encode(message: DenomUnit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - if (message.exponent !== 0) { - writer.uint32(16).uint32(message.exponent); - } - for (const v of message.aliases) { - writer.uint32(26).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DenomUnit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDenomUnit(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - case 2: - message.exponent = reader.uint32(); - break; - case 3: - message.aliases.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DenomUnit { - const obj = createBaseDenomUnit(); - if (isSet(object.denom)) obj.denom = String(object.denom); - if (isSet(object.exponent)) obj.exponent = Number(object.exponent); - if (Array.isArray(object?.aliases)) obj.aliases = object.aliases.map((e: any) => String(e)); - return obj; - }, - toJSON(message: DenomUnit): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.exponent !== undefined && (obj.exponent = Math.round(message.exponent)); - if (message.aliases) { - obj.aliases = message.aliases.map(e => e); - } else { - obj.aliases = []; - } - return obj; - }, - fromPartial(object: DeepPartial): DenomUnit { - const message = createBaseDenomUnit(); - message.denom = object.denom ?? ""; - message.exponent = object.exponent ?? 0; - message.aliases = object.aliases?.map(e => e) || []; - return message; - }, - fromSDK(object: DenomUnitSDKType): DenomUnit { - return { - denom: object?.denom, - exponent: object?.exponent, - aliases: Array.isArray(object?.aliases) ? object.aliases.map((e: any) => e) : [] - }; - }, - toSDK(message: DenomUnit): DenomUnitSDKType { - const obj: any = {}; - obj.denom = message.denom; - obj.exponent = message.exponent; - if (message.aliases) { - obj.aliases = message.aliases.map(e => e); - } else { - obj.aliases = []; - } - return obj; - }, - fromAmino(object: DenomUnitAmino): DenomUnit { - return { - denom: object.denom, - exponent: object.exponent, - aliases: Array.isArray(object?.aliases) ? object.aliases.map((e: any) => e) : [] - }; - }, - toAmino(message: DenomUnit): DenomUnitAmino { - const obj: any = {}; - obj.denom = message.denom; - obj.exponent = message.exponent; - if (message.aliases) { - obj.aliases = message.aliases.map(e => e); - } else { - obj.aliases = []; - } - return obj; - }, - fromAminoMsg(object: DenomUnitAminoMsg): DenomUnit { - return DenomUnit.fromAmino(object.value); - }, - toAminoMsg(message: DenomUnit): DenomUnitAminoMsg { - return { - type: "cosmos-sdk/DenomUnit", - value: DenomUnit.toAmino(message) - }; - }, - fromProtoMsg(message: DenomUnitProtoMsg): DenomUnit { - return DenomUnit.decode(message.value); - }, - toProto(message: DenomUnit): Uint8Array { - return DenomUnit.encode(message).finish(); - }, - toProtoMsg(message: DenomUnit): DenomUnitProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.DenomUnit", - value: DenomUnit.encode(message).finish() - }; - } -}; -function createBaseMetadata(): Metadata { - return { - description: "", - denomUnits: [], - base: "", - display: "", - name: "", - symbol: "", - uri: "", - uriHash: "" - }; -} -export const Metadata = { - typeUrl: "/cosmos.bank.v1beta1.Metadata", - aminoType: "cosmos-sdk/Metadata", - encode(message: Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.description !== "") { - writer.uint32(10).string(message.description); - } - for (const v of message.denomUnits) { - DenomUnit.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.base !== "") { - writer.uint32(26).string(message.base); - } - if (message.display !== "") { - writer.uint32(34).string(message.display); - } - if (message.name !== "") { - writer.uint32(42).string(message.name); - } - if (message.symbol !== "") { - writer.uint32(50).string(message.symbol); - } - if (message.uri !== "") { - writer.uint32(58).string(message.uri); - } - if (message.uriHash !== "") { - writer.uint32(66).string(message.uriHash); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Metadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.description = reader.string(); - break; - case 2: - message.denomUnits.push(DenomUnit.decode(reader, reader.uint32())); - break; - case 3: - message.base = reader.string(); - break; - case 4: - message.display = reader.string(); - break; - case 5: - message.name = reader.string(); - break; - case 6: - message.symbol = reader.string(); - break; - case 7: - message.uri = reader.string(); - break; - case 8: - message.uriHash = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Metadata { - const obj = createBaseMetadata(); - if (isSet(object.description)) obj.description = String(object.description); - if (Array.isArray(object?.denomUnits)) obj.denomUnits = object.denomUnits.map((e: any) => DenomUnit.fromJSON(e)); - if (isSet(object.base)) obj.base = String(object.base); - if (isSet(object.display)) obj.display = String(object.display); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.symbol)) obj.symbol = String(object.symbol); - if (isSet(object.uri)) obj.uri = String(object.uri); - if (isSet(object.uriHash)) obj.uriHash = String(object.uriHash); - return obj; - }, - toJSON(message: Metadata): unknown { - const obj: any = {}; - message.description !== undefined && (obj.description = message.description); - if (message.denomUnits) { - obj.denomUnits = message.denomUnits.map(e => e ? DenomUnit.toJSON(e) : undefined); - } else { - obj.denomUnits = []; - } - message.base !== undefined && (obj.base = message.base); - message.display !== undefined && (obj.display = message.display); - message.name !== undefined && (obj.name = message.name); - message.symbol !== undefined && (obj.symbol = message.symbol); - message.uri !== undefined && (obj.uri = message.uri); - message.uriHash !== undefined && (obj.uriHash = message.uriHash); - return obj; - }, - fromPartial(object: DeepPartial): Metadata { - const message = createBaseMetadata(); - message.description = object.description ?? ""; - message.denomUnits = object.denomUnits?.map(e => DenomUnit.fromPartial(e)) || []; - message.base = object.base ?? ""; - message.display = object.display ?? ""; - message.name = object.name ?? ""; - message.symbol = object.symbol ?? ""; - message.uri = object.uri ?? ""; - message.uriHash = object.uriHash ?? ""; - return message; - }, - fromSDK(object: MetadataSDKType): Metadata { - return { - description: object?.description, - denomUnits: Array.isArray(object?.denom_units) ? object.denom_units.map((e: any) => DenomUnit.fromSDK(e)) : [], - base: object?.base, - display: object?.display, - name: object?.name, - symbol: object?.symbol, - uri: object?.uri, - uriHash: object?.uri_hash - }; - }, - toSDK(message: Metadata): MetadataSDKType { - const obj: any = {}; - obj.description = message.description; - if (message.denomUnits) { - obj.denom_units = message.denomUnits.map(e => e ? DenomUnit.toSDK(e) : undefined); - } else { - obj.denom_units = []; - } - obj.base = message.base; - obj.display = message.display; - obj.name = message.name; - obj.symbol = message.symbol; - obj.uri = message.uri; - obj.uri_hash = message.uriHash; - return obj; - }, - fromAmino(object: MetadataAmino): Metadata { - return { - description: object.description, - denomUnits: Array.isArray(object?.denom_units) ? object.denom_units.map((e: any) => DenomUnit.fromAmino(e)) : [], - base: object.base, - display: object.display, - name: object.name, - symbol: object.symbol, - uri: object.uri, - uriHash: object.uri_hash - }; - }, - toAmino(message: Metadata): MetadataAmino { - const obj: any = {}; - obj.description = message.description; - if (message.denomUnits) { - obj.denom_units = message.denomUnits.map(e => e ? DenomUnit.toAmino(e) : undefined); - } else { - obj.denom_units = []; - } - obj.base = message.base; - obj.display = message.display; - obj.name = message.name; - obj.symbol = message.symbol; - obj.uri = message.uri; - obj.uri_hash = message.uriHash; - return obj; - }, - fromAminoMsg(object: MetadataAminoMsg): Metadata { - return Metadata.fromAmino(object.value); - }, - toAminoMsg(message: Metadata): MetadataAminoMsg { - return { - type: "cosmos-sdk/Metadata", - value: Metadata.toAmino(message) - }; - }, - fromProtoMsg(message: MetadataProtoMsg): Metadata { - return Metadata.decode(message.value); - }, - toProto(message: Metadata): Uint8Array { - return Metadata.encode(message).finish(); - }, - toProtoMsg(message: Metadata): MetadataProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.Metadata", - value: Metadata.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/bank/v1beta1/genesis.ts deleted file mode 100644 index 3f4dc1ee4..000000000 --- a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/genesis.ts +++ /dev/null @@ -1,366 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, Metadata, MetadataAmino, MetadataSDKType } from "./bank"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.bank.v1beta1"; -/** GenesisState defines the bank module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params: Params; - /** balances is an array containing the balances of all the accounts. */ - balances: Balance[]; - /** - * supply represents the total supply. If it is left empty, then supply will be calculated based on the provided - * balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - */ - supply: Coin[]; - /** denom_metadata defines the metadata of the differents coins. */ - denomMetadata: Metadata[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the bank module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of the module. */ - params?: ParamsAmino; - /** balances is an array containing the balances of all the accounts. */ - balances: BalanceAmino[]; - /** - * supply represents the total supply. If it is left empty, then supply will be calculated based on the provided - * balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - */ - supply: CoinAmino[]; - /** denom_metadata defines the metadata of the differents coins. */ - denom_metadata: MetadataAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the bank module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - balances: BalanceSDKType[]; - supply: CoinSDKType[]; - denom_metadata: MetadataSDKType[]; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ -export interface Balance { - /** address is the address of the balance holder. */ - address: string; - /** coins defines the different coins this balance holds. */ - coins: Coin[]; -} -export interface BalanceProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.Balance"; - value: Uint8Array; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ -export interface BalanceAmino { - /** address is the address of the balance holder. */ - address: string; - /** coins defines the different coins this balance holds. */ - coins: CoinAmino[]; -} -export interface BalanceAminoMsg { - type: "cosmos-sdk/Balance"; - value: BalanceAmino; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ -export interface BalanceSDKType { - address: string; - coins: CoinSDKType[]; -} -function createBaseGenesisState(): GenesisState { - return { - params: Params.fromPartial({}), - balances: [], - supply: [], - denomMetadata: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.bank.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.balances) { - Balance.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.supply) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.denomMetadata) { - Metadata.encode(v!, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - case 2: - message.balances.push(Balance.decode(reader, reader.uint32())); - break; - case 3: - message.supply.push(Coin.decode(reader, reader.uint32())); - break; - case 4: - message.denomMetadata.push(Metadata.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - if (Array.isArray(object?.balances)) obj.balances = object.balances.map((e: any) => Balance.fromJSON(e)); - if (Array.isArray(object?.supply)) obj.supply = object.supply.map((e: any) => Coin.fromJSON(e)); - if (Array.isArray(object?.denomMetadata)) obj.denomMetadata = object.denomMetadata.map((e: any) => Metadata.fromJSON(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - if (message.balances) { - obj.balances = message.balances.map(e => e ? Balance.toJSON(e) : undefined); - } else { - obj.balances = []; - } - if (message.supply) { - obj.supply = message.supply.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.supply = []; - } - if (message.denomMetadata) { - obj.denomMetadata = message.denomMetadata.map(e => e ? Metadata.toJSON(e) : undefined); - } else { - obj.denomMetadata = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - message.balances = object.balances?.map(e => Balance.fromPartial(e)) || []; - message.supply = object.supply?.map(e => Coin.fromPartial(e)) || []; - message.denomMetadata = object.denomMetadata?.map(e => Metadata.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - params: object.params ? Params.fromSDK(object.params) : undefined, - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => Balance.fromSDK(e)) : [], - supply: Array.isArray(object?.supply) ? object.supply.map((e: any) => Coin.fromSDK(e)) : [], - denomMetadata: Array.isArray(object?.denom_metadata) ? object.denom_metadata.map((e: any) => Metadata.fromSDK(e)) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - if (message.balances) { - obj.balances = message.balances.map(e => e ? Balance.toSDK(e) : undefined); - } else { - obj.balances = []; - } - if (message.supply) { - obj.supply = message.supply.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.supply = []; - } - if (message.denomMetadata) { - obj.denom_metadata = message.denomMetadata.map(e => e ? Metadata.toSDK(e) : undefined); - } else { - obj.denom_metadata = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined, - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => Balance.fromAmino(e)) : [], - supply: Array.isArray(object?.supply) ? object.supply.map((e: any) => Coin.fromAmino(e)) : [], - denomMetadata: Array.isArray(object?.denom_metadata) ? object.denom_metadata.map((e: any) => Metadata.fromAmino(e)) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - if (message.balances) { - obj.balances = message.balances.map(e => e ? Balance.toAmino(e) : undefined); - } else { - obj.balances = []; - } - if (message.supply) { - obj.supply = message.supply.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.supply = []; - } - if (message.denomMetadata) { - obj.denom_metadata = message.denomMetadata.map(e => e ? Metadata.toAmino(e) : undefined); - } else { - obj.denom_metadata = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; -function createBaseBalance(): Balance { - return { - address: "", - coins: [] - }; -} -export const Balance = { - typeUrl: "/cosmos.bank.v1beta1.Balance", - aminoType: "cosmos-sdk/Balance", - encode(message: Balance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - for (const v of message.coins) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Balance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBalance(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.coins.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Balance { - const obj = createBaseBalance(); - if (isSet(object.address)) obj.address = String(object.address); - if (Array.isArray(object?.coins)) obj.coins = object.coins.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: Balance): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Balance { - const message = createBaseBalance(); - message.address = object.address ?? ""; - message.coins = object.coins?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: BalanceSDKType): Balance { - return { - address: object?.address, - coins: Array.isArray(object?.coins) ? object.coins.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: Balance): BalanceSDKType { - const obj: any = {}; - obj.address = message.address; - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, - fromAmino(object: BalanceAmino): Balance { - return { - address: object.address, - coins: Array.isArray(object?.coins) ? object.coins.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: Balance): BalanceAmino { - const obj: any = {}; - obj.address = message.address; - if (message.coins) { - obj.coins = message.coins.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.coins = []; - } - return obj; - }, - fromAminoMsg(object: BalanceAminoMsg): Balance { - return Balance.fromAmino(object.value); - }, - toAminoMsg(message: Balance): BalanceAminoMsg { - return { - type: "cosmos-sdk/Balance", - value: Balance.toAmino(message) - }; - }, - fromProtoMsg(message: BalanceProtoMsg): Balance { - return Balance.decode(message.value); - }, - toProto(message: Balance): Uint8Array { - return Balance.encode(message).finish(); - }, - toProtoMsg(message: Balance): BalanceProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.Balance", - value: Balance.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.lcd.ts deleted file mode 100644 index 33fdebc43..000000000 --- a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +++ /dev/null @@ -1,119 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryBalanceRequest, QueryBalanceRequestSDKType, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesRequestSDKType, QueryAllBalancesResponse, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesRequestSDKType, QuerySpendableBalancesResponse, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyRequestSDKType, QueryTotalSupplyResponse, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfRequestSDKType, QuerySupplyOfResponse, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataRequestSDKType, QueryDenomMetadataResponse, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataRequestSDKType, QueryDenomsMetadataResponse, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersRequestSDKType, QueryDenomOwnersResponse, QueryDenomOwnersResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.balance = this.balance.bind(this); - this.allBalances = this.allBalances.bind(this); - this.spendableBalances = this.spendableBalances.bind(this); - this.totalSupply = this.totalSupply.bind(this); - this.supplyOf = this.supplyOf.bind(this); - this.params = this.params.bind(this); - this.denomMetadata = this.denomMetadata.bind(this); - this.denomsMetadata = this.denomsMetadata.bind(this); - this.denomOwners = this.denomOwners.bind(this); - } - /* Balance queries the balance of a single coin for a single account. */ - async balance(params: QueryBalanceRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.denom !== "undefined") { - options.params.denom = params.denom; - } - const endpoint = `cosmos/bank/v1beta1/balances/${params.address}/by_denom`; - return await this.req.get(endpoint, options); - } - /* AllBalances queries the balance of all coins for a single account. */ - async allBalances(params: QueryAllBalancesRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/bank/v1beta1/balances/${params.address}`; - return await this.req.get(endpoint, options); - } - /* SpendableBalances queries the spenable balance of all coins for a single - account. */ - async spendableBalances(params: QuerySpendableBalancesRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/bank/v1beta1/spendable_balances/${params.address}`; - return await this.req.get(endpoint, options); - } - /* TotalSupply queries the total supply of all coins. */ - async totalSupply(params: QueryTotalSupplyRequest = { - pagination: PageRequest.fromPartial({}) - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/bank/v1beta1/supply`; - return await this.req.get(endpoint, options); - } - /* SupplyOf queries the supply of a single coin. */ - async supplyOf(params: QuerySupplyOfRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.denom !== "undefined") { - options.params.denom = params.denom; - } - const endpoint = `cosmos/bank/v1beta1/supply/by_denom`; - return await this.req.get(endpoint, options); - } - /* Params queries the parameters of x/bank module. */ - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/bank/v1beta1/params`; - return await this.req.get(endpoint); - } - /* DenomsMetadata queries the client metadata of a given coin denomination. */ - async denomMetadata(params: QueryDenomMetadataRequest): Promise { - const endpoint = `cosmos/bank/v1beta1/denoms_metadata/${params.denom}`; - return await this.req.get(endpoint); - } - /* DenomsMetadata queries the client metadata for all registered coin - denominations. */ - async denomsMetadata(params: QueryDenomsMetadataRequest = { - pagination: PageRequest.fromPartial({}) - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/bank/v1beta1/denoms_metadata`; - return await this.req.get(endpoint, options); - } - /* DenomOwners queries for all account addresses that own a particular token - denomination. */ - async denomOwners(params: QueryDenomOwnersRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/bank/v1beta1/denom_owners/${params.denom}`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 2492c2d31..000000000 --- a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,175 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; -import * as fm from "../../../grpc-gateway"; -import { QueryBalanceRequest, QueryBalanceRequestSDKType, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesRequestSDKType, QueryAllBalancesResponse, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesRequestSDKType, QuerySpendableBalancesResponse, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyRequestSDKType, QueryTotalSupplyResponse, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfRequestSDKType, QuerySupplyOfResponse, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataRequestSDKType, QueryDenomMetadataResponse, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataRequestSDKType, QueryDenomsMetadataResponse, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersRequestSDKType, QueryDenomOwnersResponse, QueryDenomOwnersResponseSDKType } from "./query"; -export class Query { - /** Balance queries the balance of a single coin for a single account. */ - static balance(request: QueryBalanceRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/bank/v1beta1/balances/${request["address"]}/by_denom?${fm.renderURLSearchParams({ - ...request - }, ["address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** AllBalances queries the balance of all coins for a single account. */ - static allBalances(request: QueryAllBalancesRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/bank/v1beta1/balances/${request["address"]}?${fm.renderURLSearchParams({ - ...request - }, ["address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * SpendableBalances queries the spenable balance of all coins for a single - * account. - */ - static spendableBalances(request: QuerySpendableBalancesRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/bank/v1beta1/spendable_balances/${request["address"]}?${fm.renderURLSearchParams({ - ...request - }, ["address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** TotalSupply queries the total supply of all coins. */ - static totalSupply(request: QueryTotalSupplyRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/bank/v1beta1/supply?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** SupplyOf queries the supply of a single coin. */ - static supplyOf(request: QuerySupplyOfRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/bank/v1beta1/supply/by_denom?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** Params queries the parameters of x/bank module. */ - static params(request: QueryParamsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/bank/v1beta1/params?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** DenomsMetadata queries the client metadata of a given coin denomination. */ - static denomMetadata(request: QueryDenomMetadataRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/bank/v1beta1/denoms_metadata/${request["denom"]}?${fm.renderURLSearchParams({ - ...request - }, ["denom"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * DenomsMetadata queries the client metadata for all registered coin - * denominations. - */ - static denomsMetadata(request: QueryDenomsMetadataRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/bank/v1beta1/denoms_metadata?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * DenomOwners queries for all account addresses that own a particular token - * denomination. - */ - static denomOwners(request: QueryDenomOwnersRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/bank/v1beta1/denom_owners/${request["denom"]}?${fm.renderURLSearchParams({ - ...request - }, ["denom"])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Balance queries the balance of a single coin for a single account. */ - async balance(req: QueryBalanceRequest, headers?: HeadersInit): Promise { - return Query.balance(req, { - headers, - pathPrefix: this.url - }); - } - /** AllBalances queries the balance of all coins for a single account. */ - async allBalances(req: QueryAllBalancesRequest, headers?: HeadersInit): Promise { - return Query.allBalances(req, { - headers, - pathPrefix: this.url - }); - } - /** - * SpendableBalances queries the spenable balance of all coins for a single - * account. - */ - async spendableBalances(req: QuerySpendableBalancesRequest, headers?: HeadersInit): Promise { - return Query.spendableBalances(req, { - headers, - pathPrefix: this.url - }); - } - /** TotalSupply queries the total supply of all coins. */ - async totalSupply(req: QueryTotalSupplyRequest, headers?: HeadersInit): Promise { - return Query.totalSupply(req, { - headers, - pathPrefix: this.url - }); - } - /** SupplyOf queries the supply of a single coin. */ - async supplyOf(req: QuerySupplyOfRequest, headers?: HeadersInit): Promise { - return Query.supplyOf(req, { - headers, - pathPrefix: this.url - }); - } - /** Params queries the parameters of x/bank module. */ - async params(req: QueryParamsRequest, headers?: HeadersInit): Promise { - return Query.params(req, { - headers, - pathPrefix: this.url - }); - } - /** DenomsMetadata queries the client metadata of a given coin denomination. */ - async denomMetadata(req: QueryDenomMetadataRequest, headers?: HeadersInit): Promise { - return Query.denomMetadata(req, { - headers, - pathPrefix: this.url - }); - } - /** - * DenomsMetadata queries the client metadata for all registered coin - * denominations. - */ - async denomsMetadata(req: QueryDenomsMetadataRequest, headers?: HeadersInit): Promise { - return Query.denomsMetadata(req, { - headers, - pathPrefix: this.url - }); - } - /** - * DenomOwners queries for all account addresses that own a particular token - * denomination. - */ - async denomOwners(req: QueryDenomOwnersRequest, headers?: HeadersInit): Promise { - return Query.denomOwners(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.ts deleted file mode 100644 index 1b269e3c5..000000000 --- a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/query.ts +++ /dev/null @@ -1,2450 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Params, ParamsAmino, ParamsSDKType, Metadata, MetadataAmino, MetadataSDKType } from "./bank"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.bank.v1beta1"; -/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ -export interface QueryBalanceRequest { - /** address is the address to query balances for. */ - address: string; - /** denom is the coin denom to query balances for. */ - denom: string; -} -export interface QueryBalanceRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryBalanceRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ -export interface QueryBalanceRequestAmino { - /** address is the address to query balances for. */ - address: string; - /** denom is the coin denom to query balances for. */ - denom: string; -} -export interface QueryBalanceRequestAminoMsg { - type: "cosmos-sdk/QueryBalanceRequest"; - value: QueryBalanceRequestAmino; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method. */ -export interface QueryBalanceRequestSDKType { - address: string; - denom: string; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ -export interface QueryBalanceResponse { - /** balance is the balance of the coin. */ - balance: Coin; -} -export interface QueryBalanceResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryBalanceResponse"; - value: Uint8Array; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ -export interface QueryBalanceResponseAmino { - /** balance is the balance of the coin. */ - balance?: CoinAmino; -} -export interface QueryBalanceResponseAminoMsg { - type: "cosmos-sdk/QueryBalanceResponse"; - value: QueryBalanceResponseAmino; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ -export interface QueryBalanceResponseSDKType { - balance: CoinSDKType; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ -export interface QueryAllBalancesRequest { - /** address is the address to query balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllBalancesRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ -export interface QueryAllBalancesRequestAmino { - /** address is the address to query balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllBalancesRequestAminoMsg { - type: "cosmos-sdk/QueryAllBalancesRequest"; - value: QueryAllBalancesRequestAmino; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ -export interface QueryAllBalancesRequestSDKType { - address: string; - pagination: PageRequestSDKType; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ -export interface QueryAllBalancesResponse { - /** balances is the balances of all the coins. */ - balances: Coin[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryAllBalancesResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesResponse"; - value: Uint8Array; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ -export interface QueryAllBalancesResponseAmino { - /** balances is the balances of all the coins. */ - balances: CoinAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllBalancesResponseAminoMsg { - type: "cosmos-sdk/QueryAllBalancesResponse"; - value: QueryAllBalancesResponseAmino; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ -export interface QueryAllBalancesResponseSDKType { - balances: CoinSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesRequest { - /** address is the address to query spendable balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QuerySpendableBalancesRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesRequest"; - value: Uint8Array; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesRequestAmino { - /** address is the address to query spendable balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QuerySpendableBalancesRequestAminoMsg { - type: "cosmos-sdk/QuerySpendableBalancesRequest"; - value: QuerySpendableBalancesRequestAmino; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesRequestSDKType { - address: string; - pagination: PageRequestSDKType; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesResponse { - /** balances is the spendable balances of all the coins. */ - balances: Coin[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QuerySpendableBalancesResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesResponse"; - value: Uint8Array; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesResponseAmino { - /** balances is the spendable balances of all the coins. */ - balances: CoinAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QuerySpendableBalancesResponseAminoMsg { - type: "cosmos-sdk/QuerySpendableBalancesResponse"; - value: QuerySpendableBalancesResponseAmino; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesResponseSDKType { - balances: CoinSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ -export interface QueryTotalSupplyRequest { - /** - * pagination defines an optional pagination for the request. - * - * Since: cosmos-sdk 0.43 - */ - pagination: PageRequest; -} -export interface QueryTotalSupplyRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyRequest"; - value: Uint8Array; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ -export interface QueryTotalSupplyRequestAmino { - /** - * pagination defines an optional pagination for the request. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageRequestAmino; -} -export interface QueryTotalSupplyRequestAminoMsg { - type: "cosmos-sdk/QueryTotalSupplyRequest"; - value: QueryTotalSupplyRequestAmino; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ -export interface QueryTotalSupplyRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ -export interface QueryTotalSupplyResponse { - /** supply is the supply of the coins */ - supply: Coin[]; - /** - * pagination defines the pagination in the response. - * - * Since: cosmos-sdk 0.43 - */ - pagination: PageResponse; -} -export interface QueryTotalSupplyResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyResponse"; - value: Uint8Array; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ -export interface QueryTotalSupplyResponseAmino { - /** supply is the supply of the coins */ - supply: CoinAmino[]; - /** - * pagination defines the pagination in the response. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageResponseAmino; -} -export interface QueryTotalSupplyResponseAminoMsg { - type: "cosmos-sdk/QueryTotalSupplyResponse"; - value: QueryTotalSupplyResponseAmino; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ -export interface QueryTotalSupplyResponseSDKType { - supply: CoinSDKType[]; - pagination: PageResponseSDKType; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfRequest { - /** denom is the coin denom to query balances for. */ - denom: string; -} -export interface QuerySupplyOfRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfRequest"; - value: Uint8Array; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfRequestAmino { - /** denom is the coin denom to query balances for. */ - denom: string; -} -export interface QuerySupplyOfRequestAminoMsg { - type: "cosmos-sdk/QuerySupplyOfRequest"; - value: QuerySupplyOfRequestAmino; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfRequestSDKType { - denom: string; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfResponse { - /** amount is the supply of the coin. */ - amount: Coin; -} -export interface QuerySupplyOfResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfResponse"; - value: Uint8Array; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfResponseAmino { - /** amount is the supply of the coin. */ - amount?: CoinAmino; -} -export interface QuerySupplyOfResponseAminoMsg { - type: "cosmos-sdk/QuerySupplyOfResponse"; - value: QuerySupplyOfResponseAmino; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfResponseSDKType { - amount: CoinSDKType; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ -export interface QueryParamsRequest {} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ -export interface QueryParamsRequestAmino {} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ -export interface QueryParamsRequestSDKType {} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ -export interface QueryParamsResponse { - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ -export interface QueryParamsResponseAmino { - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ -export interface QueryDenomsMetadataRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDenomsMetadataRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataRequest"; - value: Uint8Array; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ -export interface QueryDenomsMetadataRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDenomsMetadataRequestAminoMsg { - type: "cosmos-sdk/QueryDenomsMetadataRequest"; - value: QueryDenomsMetadataRequestAmino; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ -export interface QueryDenomsMetadataRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ -export interface QueryDenomsMetadataResponse { - /** metadata provides the client information for all the registered tokens. */ - metadatas: Metadata[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDenomsMetadataResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataResponse"; - value: Uint8Array; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ -export interface QueryDenomsMetadataResponseAmino { - /** metadata provides the client information for all the registered tokens. */ - metadatas: MetadataAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDenomsMetadataResponseAminoMsg { - type: "cosmos-sdk/QueryDenomsMetadataResponse"; - value: QueryDenomsMetadataResponseAmino; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ -export interface QueryDenomsMetadataResponseSDKType { - metadatas: MetadataSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ -export interface QueryDenomMetadataRequest { - /** denom is the coin denom to query the metadata for. */ - denom: string; -} -export interface QueryDenomMetadataRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataRequest"; - value: Uint8Array; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ -export interface QueryDenomMetadataRequestAmino { - /** denom is the coin denom to query the metadata for. */ - denom: string; -} -export interface QueryDenomMetadataRequestAminoMsg { - type: "cosmos-sdk/QueryDenomMetadataRequest"; - value: QueryDenomMetadataRequestAmino; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ -export interface QueryDenomMetadataRequestSDKType { - denom: string; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ -export interface QueryDenomMetadataResponse { - /** metadata describes and provides all the client information for the requested token. */ - metadata: Metadata; -} -export interface QueryDenomMetadataResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataResponse"; - value: Uint8Array; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ -export interface QueryDenomMetadataResponseAmino { - /** metadata describes and provides all the client information for the requested token. */ - metadata?: MetadataAmino; -} -export interface QueryDenomMetadataResponseAminoMsg { - type: "cosmos-sdk/QueryDenomMetadataResponse"; - value: QueryDenomMetadataResponseAmino; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ -export interface QueryDenomMetadataResponseSDKType { - metadata: MetadataSDKType; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ -export interface QueryDenomOwnersRequest { - /** denom defines the coin denomination to query all account holders for. */ - denom: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDenomOwnersRequestProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersRequest"; - value: Uint8Array; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ -export interface QueryDenomOwnersRequestAmino { - /** denom defines the coin denomination to query all account holders for. */ - denom: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDenomOwnersRequestAminoMsg { - type: "cosmos-sdk/QueryDenomOwnersRequest"; - value: QueryDenomOwnersRequestAmino; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ -export interface QueryDenomOwnersRequestSDKType { - denom: string; - pagination: PageRequestSDKType; -} -/** - * DenomOwner defines structure representing an account that owns or holds a - * particular denominated token. It contains the account address and account - * balance of the denominated token. - */ -export interface DenomOwner { - /** address defines the address that owns a particular denomination. */ - address: string; - /** balance is the balance of the denominated coin for an account. */ - balance: Coin; -} -export interface DenomOwnerProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.DenomOwner"; - value: Uint8Array; -} -/** - * DenomOwner defines structure representing an account that owns or holds a - * particular denominated token. It contains the account address and account - * balance of the denominated token. - */ -export interface DenomOwnerAmino { - /** address defines the address that owns a particular denomination. */ - address: string; - /** balance is the balance of the denominated coin for an account. */ - balance?: CoinAmino; -} -export interface DenomOwnerAminoMsg { - type: "cosmos-sdk/DenomOwner"; - value: DenomOwnerAmino; -} -/** - * DenomOwner defines structure representing an account that owns or holds a - * particular denominated token. It contains the account address and account - * balance of the denominated token. - */ -export interface DenomOwnerSDKType { - address: string; - balance: CoinSDKType; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ -export interface QueryDenomOwnersResponse { - denomOwners: DenomOwner[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDenomOwnersResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersResponse"; - value: Uint8Array; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ -export interface QueryDenomOwnersResponseAmino { - denom_owners: DenomOwnerAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDenomOwnersResponseAminoMsg { - type: "cosmos-sdk/QueryDenomOwnersResponse"; - value: QueryDenomOwnersResponseAmino; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ -export interface QueryDenomOwnersResponseSDKType { - denom_owners: DenomOwnerSDKType[]; - pagination: PageResponseSDKType; -} -function createBaseQueryBalanceRequest(): QueryBalanceRequest { - return { - address: "", - denom: "" - }; -} -export const QueryBalanceRequest = { - typeUrl: "/cosmos.bank.v1beta1.QueryBalanceRequest", - aminoType: "cosmos-sdk/QueryBalanceRequest", - encode(message: QueryBalanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.denom !== "") { - writer.uint32(18).string(message.denom); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryBalanceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.denom = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryBalanceRequest { - const obj = createBaseQueryBalanceRequest(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.denom)) obj.denom = String(object.denom); - return obj; - }, - toJSON(message: QueryBalanceRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.denom !== undefined && (obj.denom = message.denom); - return obj; - }, - fromPartial(object: DeepPartial): QueryBalanceRequest { - const message = createBaseQueryBalanceRequest(); - message.address = object.address ?? ""; - message.denom = object.denom ?? ""; - return message; - }, - fromSDK(object: QueryBalanceRequestSDKType): QueryBalanceRequest { - return { - address: object?.address, - denom: object?.denom - }; - }, - toSDK(message: QueryBalanceRequest): QueryBalanceRequestSDKType { - const obj: any = {}; - obj.address = message.address; - obj.denom = message.denom; - return obj; - }, - fromAmino(object: QueryBalanceRequestAmino): QueryBalanceRequest { - return { - address: object.address, - denom: object.denom - }; - }, - toAmino(message: QueryBalanceRequest): QueryBalanceRequestAmino { - const obj: any = {}; - obj.address = message.address; - obj.denom = message.denom; - return obj; - }, - fromAminoMsg(object: QueryBalanceRequestAminoMsg): QueryBalanceRequest { - return QueryBalanceRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryBalanceRequest): QueryBalanceRequestAminoMsg { - return { - type: "cosmos-sdk/QueryBalanceRequest", - value: QueryBalanceRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryBalanceRequestProtoMsg): QueryBalanceRequest { - return QueryBalanceRequest.decode(message.value); - }, - toProto(message: QueryBalanceRequest): Uint8Array { - return QueryBalanceRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryBalanceRequest): QueryBalanceRequestProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryBalanceRequest", - value: QueryBalanceRequest.encode(message).finish() - }; - } -}; -function createBaseQueryBalanceResponse(): QueryBalanceResponse { - return { - balance: Coin.fromPartial({}) - }; -} -export const QueryBalanceResponse = { - typeUrl: "/cosmos.bank.v1beta1.QueryBalanceResponse", - aminoType: "cosmos-sdk/QueryBalanceResponse", - encode(message: QueryBalanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.balance !== undefined) { - Coin.encode(message.balance, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryBalanceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.balance = Coin.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryBalanceResponse { - const obj = createBaseQueryBalanceResponse(); - if (isSet(object.balance)) obj.balance = Coin.fromJSON(object.balance); - return obj; - }, - toJSON(message: QueryBalanceResponse): unknown { - const obj: any = {}; - message.balance !== undefined && (obj.balance = message.balance ? Coin.toJSON(message.balance) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryBalanceResponse { - const message = createBaseQueryBalanceResponse(); - if (object.balance !== undefined && object.balance !== null) { - message.balance = Coin.fromPartial(object.balance); - } - return message; - }, - fromSDK(object: QueryBalanceResponseSDKType): QueryBalanceResponse { - return { - balance: object.balance ? Coin.fromSDK(object.balance) : undefined - }; - }, - toSDK(message: QueryBalanceResponse): QueryBalanceResponseSDKType { - const obj: any = {}; - message.balance !== undefined && (obj.balance = message.balance ? Coin.toSDK(message.balance) : undefined); - return obj; - }, - fromAmino(object: QueryBalanceResponseAmino): QueryBalanceResponse { - return { - balance: object?.balance ? Coin.fromAmino(object.balance) : undefined - }; - }, - toAmino(message: QueryBalanceResponse): QueryBalanceResponseAmino { - const obj: any = {}; - obj.balance = message.balance ? Coin.toAmino(message.balance) : undefined; - return obj; - }, - fromAminoMsg(object: QueryBalanceResponseAminoMsg): QueryBalanceResponse { - return QueryBalanceResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryBalanceResponse): QueryBalanceResponseAminoMsg { - return { - type: "cosmos-sdk/QueryBalanceResponse", - value: QueryBalanceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryBalanceResponseProtoMsg): QueryBalanceResponse { - return QueryBalanceResponse.decode(message.value); - }, - toProto(message: QueryBalanceResponse): Uint8Array { - return QueryBalanceResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryBalanceResponse): QueryBalanceResponseProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryBalanceResponse", - value: QueryBalanceResponse.encode(message).finish() - }; - } -}; -function createBaseQueryAllBalancesRequest(): QueryAllBalancesRequest { - return { - address: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryAllBalancesRequest = { - typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesRequest", - aminoType: "cosmos-sdk/QueryAllBalancesRequest", - encode(message: QueryAllBalancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllBalancesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllBalancesRequest { - const obj = createBaseQueryAllBalancesRequest(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAllBalancesRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllBalancesRequest { - const message = createBaseQueryAllBalancesRequest(); - message.address = object.address ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAllBalancesRequestSDKType): QueryAllBalancesRequest { - return { - address: object?.address, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAllBalancesRequest): QueryAllBalancesRequestSDKType { - const obj: any = {}; - obj.address = message.address; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAllBalancesRequestAmino): QueryAllBalancesRequest { - return { - address: object.address, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAllBalancesRequest): QueryAllBalancesRequestAmino { - const obj: any = {}; - obj.address = message.address; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllBalancesRequestAminoMsg): QueryAllBalancesRequest { - return QueryAllBalancesRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllBalancesRequest): QueryAllBalancesRequestAminoMsg { - return { - type: "cosmos-sdk/QueryAllBalancesRequest", - value: QueryAllBalancesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllBalancesRequestProtoMsg): QueryAllBalancesRequest { - return QueryAllBalancesRequest.decode(message.value); - }, - toProto(message: QueryAllBalancesRequest): Uint8Array { - return QueryAllBalancesRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAllBalancesRequest): QueryAllBalancesRequestProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesRequest", - value: QueryAllBalancesRequest.encode(message).finish() - }; - } -}; -function createBaseQueryAllBalancesResponse(): QueryAllBalancesResponse { - return { - balances: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryAllBalancesResponse = { - typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesResponse", - aminoType: "cosmos-sdk/QueryAllBalancesResponse", - encode(message: QueryAllBalancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.balances) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllBalancesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.balances.push(Coin.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllBalancesResponse { - const obj = createBaseQueryAllBalancesResponse(); - if (Array.isArray(object?.balances)) obj.balances = object.balances.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAllBalancesResponse): unknown { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.balances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllBalancesResponse { - const message = createBaseQueryAllBalancesResponse(); - message.balances = object.balances?.map(e => Coin.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAllBalancesResponseSDKType): QueryAllBalancesResponse { - return { - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => Coin.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAllBalancesResponse): QueryAllBalancesResponseSDKType { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.balances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAllBalancesResponseAmino): QueryAllBalancesResponse { - return { - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => Coin.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAllBalancesResponse): QueryAllBalancesResponseAmino { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.balances = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllBalancesResponseAminoMsg): QueryAllBalancesResponse { - return QueryAllBalancesResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllBalancesResponse): QueryAllBalancesResponseAminoMsg { - return { - type: "cosmos-sdk/QueryAllBalancesResponse", - value: QueryAllBalancesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllBalancesResponseProtoMsg): QueryAllBalancesResponse { - return QueryAllBalancesResponse.decode(message.value); - }, - toProto(message: QueryAllBalancesResponse): Uint8Array { - return QueryAllBalancesResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAllBalancesResponse): QueryAllBalancesResponseProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryAllBalancesResponse", - value: QueryAllBalancesResponse.encode(message).finish() - }; - } -}; -function createBaseQuerySpendableBalancesRequest(): QuerySpendableBalancesRequest { - return { - address: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QuerySpendableBalancesRequest = { - typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesRequest", - aminoType: "cosmos-sdk/QuerySpendableBalancesRequest", - encode(message: QuerySpendableBalancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySpendableBalancesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySpendableBalancesRequest { - const obj = createBaseQuerySpendableBalancesRequest(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QuerySpendableBalancesRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QuerySpendableBalancesRequest { - const message = createBaseQuerySpendableBalancesRequest(); - message.address = object.address ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QuerySpendableBalancesRequestSDKType): QuerySpendableBalancesRequest { - return { - address: object?.address, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestSDKType { - const obj: any = {}; - obj.address = message.address; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QuerySpendableBalancesRequestAmino): QuerySpendableBalancesRequest { - return { - address: object.address, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestAmino { - const obj: any = {}; - obj.address = message.address; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QuerySpendableBalancesRequestAminoMsg): QuerySpendableBalancesRequest { - return QuerySpendableBalancesRequest.fromAmino(object.value); - }, - toAminoMsg(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestAminoMsg { - return { - type: "cosmos-sdk/QuerySpendableBalancesRequest", - value: QuerySpendableBalancesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySpendableBalancesRequestProtoMsg): QuerySpendableBalancesRequest { - return QuerySpendableBalancesRequest.decode(message.value); - }, - toProto(message: QuerySpendableBalancesRequest): Uint8Array { - return QuerySpendableBalancesRequest.encode(message).finish(); - }, - toProtoMsg(message: QuerySpendableBalancesRequest): QuerySpendableBalancesRequestProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesRequest", - value: QuerySpendableBalancesRequest.encode(message).finish() - }; - } -}; -function createBaseQuerySpendableBalancesResponse(): QuerySpendableBalancesResponse { - return { - balances: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QuerySpendableBalancesResponse = { - typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesResponse", - aminoType: "cosmos-sdk/QuerySpendableBalancesResponse", - encode(message: QuerySpendableBalancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.balances) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySpendableBalancesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.balances.push(Coin.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySpendableBalancesResponse { - const obj = createBaseQuerySpendableBalancesResponse(); - if (Array.isArray(object?.balances)) obj.balances = object.balances.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QuerySpendableBalancesResponse): unknown { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.balances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QuerySpendableBalancesResponse { - const message = createBaseQuerySpendableBalancesResponse(); - message.balances = object.balances?.map(e => Coin.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QuerySpendableBalancesResponseSDKType): QuerySpendableBalancesResponse { - return { - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => Coin.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseSDKType { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.balances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QuerySpendableBalancesResponseAmino): QuerySpendableBalancesResponse { - return { - balances: Array.isArray(object?.balances) ? object.balances.map((e: any) => Coin.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseAmino { - const obj: any = {}; - if (message.balances) { - obj.balances = message.balances.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.balances = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QuerySpendableBalancesResponseAminoMsg): QuerySpendableBalancesResponse { - return QuerySpendableBalancesResponse.fromAmino(object.value); - }, - toAminoMsg(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseAminoMsg { - return { - type: "cosmos-sdk/QuerySpendableBalancesResponse", - value: QuerySpendableBalancesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySpendableBalancesResponseProtoMsg): QuerySpendableBalancesResponse { - return QuerySpendableBalancesResponse.decode(message.value); - }, - toProto(message: QuerySpendableBalancesResponse): Uint8Array { - return QuerySpendableBalancesResponse.encode(message).finish(); - }, - toProtoMsg(message: QuerySpendableBalancesResponse): QuerySpendableBalancesResponseProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QuerySpendableBalancesResponse", - value: QuerySpendableBalancesResponse.encode(message).finish() - }; - } -}; -function createBaseQueryTotalSupplyRequest(): QueryTotalSupplyRequest { - return { - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryTotalSupplyRequest = { - typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyRequest", - aminoType: "cosmos-sdk/QueryTotalSupplyRequest", - encode(message: QueryTotalSupplyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTotalSupplyRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryTotalSupplyRequest { - const obj = createBaseQueryTotalSupplyRequest(); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryTotalSupplyRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryTotalSupplyRequest { - const message = createBaseQueryTotalSupplyRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryTotalSupplyRequestSDKType): QueryTotalSupplyRequest { - return { - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestSDKType { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryTotalSupplyRequestAmino): QueryTotalSupplyRequest { - return { - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryTotalSupplyRequestAminoMsg): QueryTotalSupplyRequest { - return QueryTotalSupplyRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestAminoMsg { - return { - type: "cosmos-sdk/QueryTotalSupplyRequest", - value: QueryTotalSupplyRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryTotalSupplyRequestProtoMsg): QueryTotalSupplyRequest { - return QueryTotalSupplyRequest.decode(message.value); - }, - toProto(message: QueryTotalSupplyRequest): Uint8Array { - return QueryTotalSupplyRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryTotalSupplyRequest): QueryTotalSupplyRequestProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyRequest", - value: QueryTotalSupplyRequest.encode(message).finish() - }; - } -}; -function createBaseQueryTotalSupplyResponse(): QueryTotalSupplyResponse { - return { - supply: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryTotalSupplyResponse = { - typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyResponse", - aminoType: "cosmos-sdk/QueryTotalSupplyResponse", - encode(message: QueryTotalSupplyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.supply) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTotalSupplyResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.supply.push(Coin.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryTotalSupplyResponse { - const obj = createBaseQueryTotalSupplyResponse(); - if (Array.isArray(object?.supply)) obj.supply = object.supply.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryTotalSupplyResponse): unknown { - const obj: any = {}; - if (message.supply) { - obj.supply = message.supply.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.supply = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryTotalSupplyResponse { - const message = createBaseQueryTotalSupplyResponse(); - message.supply = object.supply?.map(e => Coin.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryTotalSupplyResponseSDKType): QueryTotalSupplyResponse { - return { - supply: Array.isArray(object?.supply) ? object.supply.map((e: any) => Coin.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseSDKType { - const obj: any = {}; - if (message.supply) { - obj.supply = message.supply.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.supply = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryTotalSupplyResponseAmino): QueryTotalSupplyResponse { - return { - supply: Array.isArray(object?.supply) ? object.supply.map((e: any) => Coin.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseAmino { - const obj: any = {}; - if (message.supply) { - obj.supply = message.supply.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.supply = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryTotalSupplyResponseAminoMsg): QueryTotalSupplyResponse { - return QueryTotalSupplyResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseAminoMsg { - return { - type: "cosmos-sdk/QueryTotalSupplyResponse", - value: QueryTotalSupplyResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryTotalSupplyResponseProtoMsg): QueryTotalSupplyResponse { - return QueryTotalSupplyResponse.decode(message.value); - }, - toProto(message: QueryTotalSupplyResponse): Uint8Array { - return QueryTotalSupplyResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryTotalSupplyResponse): QueryTotalSupplyResponseProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryTotalSupplyResponse", - value: QueryTotalSupplyResponse.encode(message).finish() - }; - } -}; -function createBaseQuerySupplyOfRequest(): QuerySupplyOfRequest { - return { - denom: "" - }; -} -export const QuerySupplyOfRequest = { - typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfRequest", - aminoType: "cosmos-sdk/QuerySupplyOfRequest", - encode(message: QuerySupplyOfRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySupplyOfRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySupplyOfRequest { - const obj = createBaseQuerySupplyOfRequest(); - if (isSet(object.denom)) obj.denom = String(object.denom); - return obj; - }, - toJSON(message: QuerySupplyOfRequest): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - return obj; - }, - fromPartial(object: DeepPartial): QuerySupplyOfRequest { - const message = createBaseQuerySupplyOfRequest(); - message.denom = object.denom ?? ""; - return message; - }, - fromSDK(object: QuerySupplyOfRequestSDKType): QuerySupplyOfRequest { - return { - denom: object?.denom - }; - }, - toSDK(message: QuerySupplyOfRequest): QuerySupplyOfRequestSDKType { - const obj: any = {}; - obj.denom = message.denom; - return obj; - }, - fromAmino(object: QuerySupplyOfRequestAmino): QuerySupplyOfRequest { - return { - denom: object.denom - }; - }, - toAmino(message: QuerySupplyOfRequest): QuerySupplyOfRequestAmino { - const obj: any = {}; - obj.denom = message.denom; - return obj; - }, - fromAminoMsg(object: QuerySupplyOfRequestAminoMsg): QuerySupplyOfRequest { - return QuerySupplyOfRequest.fromAmino(object.value); - }, - toAminoMsg(message: QuerySupplyOfRequest): QuerySupplyOfRequestAminoMsg { - return { - type: "cosmos-sdk/QuerySupplyOfRequest", - value: QuerySupplyOfRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySupplyOfRequestProtoMsg): QuerySupplyOfRequest { - return QuerySupplyOfRequest.decode(message.value); - }, - toProto(message: QuerySupplyOfRequest): Uint8Array { - return QuerySupplyOfRequest.encode(message).finish(); - }, - toProtoMsg(message: QuerySupplyOfRequest): QuerySupplyOfRequestProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfRequest", - value: QuerySupplyOfRequest.encode(message).finish() - }; - } -}; -function createBaseQuerySupplyOfResponse(): QuerySupplyOfResponse { - return { - amount: Coin.fromPartial({}) - }; -} -export const QuerySupplyOfResponse = { - typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfResponse", - aminoType: "cosmos-sdk/QuerySupplyOfResponse", - encode(message: QuerySupplyOfResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.amount !== undefined) { - Coin.encode(message.amount, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySupplyOfResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.amount = Coin.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySupplyOfResponse { - const obj = createBaseQuerySupplyOfResponse(); - if (isSet(object.amount)) obj.amount = Coin.fromJSON(object.amount); - return obj; - }, - toJSON(message: QuerySupplyOfResponse): unknown { - const obj: any = {}; - message.amount !== undefined && (obj.amount = message.amount ? Coin.toJSON(message.amount) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QuerySupplyOfResponse { - const message = createBaseQuerySupplyOfResponse(); - if (object.amount !== undefined && object.amount !== null) { - message.amount = Coin.fromPartial(object.amount); - } - return message; - }, - fromSDK(object: QuerySupplyOfResponseSDKType): QuerySupplyOfResponse { - return { - amount: object.amount ? Coin.fromSDK(object.amount) : undefined - }; - }, - toSDK(message: QuerySupplyOfResponse): QuerySupplyOfResponseSDKType { - const obj: any = {}; - message.amount !== undefined && (obj.amount = message.amount ? Coin.toSDK(message.amount) : undefined); - return obj; - }, - fromAmino(object: QuerySupplyOfResponseAmino): QuerySupplyOfResponse { - return { - amount: object?.amount ? Coin.fromAmino(object.amount) : undefined - }; - }, - toAmino(message: QuerySupplyOfResponse): QuerySupplyOfResponseAmino { - const obj: any = {}; - obj.amount = message.amount ? Coin.toAmino(message.amount) : undefined; - return obj; - }, - fromAminoMsg(object: QuerySupplyOfResponseAminoMsg): QuerySupplyOfResponse { - return QuerySupplyOfResponse.fromAmino(object.value); - }, - toAminoMsg(message: QuerySupplyOfResponse): QuerySupplyOfResponseAminoMsg { - return { - type: "cosmos-sdk/QuerySupplyOfResponse", - value: QuerySupplyOfResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySupplyOfResponseProtoMsg): QuerySupplyOfResponse { - return QuerySupplyOfResponse.decode(message.value); - }, - toProto(message: QuerySupplyOfResponse): Uint8Array { - return QuerySupplyOfResponse.encode(message).finish(); - }, - toProtoMsg(message: QuerySupplyOfResponse): QuerySupplyOfResponseProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QuerySupplyOfResponse", - value: QuerySupplyOfResponse.encode(message).finish() - }; - } -}; -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} -export const QueryParamsRequest = { - typeUrl: "/cosmos.bank.v1beta1.QueryParamsRequest", - aminoType: "cosmos-sdk/QueryParamsRequest", - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryParamsRequest { - const obj = createBaseQueryParamsRequest(); - return obj; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - }, - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest { - return {}; - }, - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest { - return {}; - }, - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest { - return QueryParamsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryParamsRequest", - value: QueryParamsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest { - return QueryParamsRequest.decode(message.value); - }, - toProto(message: QueryParamsRequest): Uint8Array { - return QueryParamsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryParamsRequest", - value: QueryParamsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: Params.fromPartial({}) - }; -} -export const QueryParamsResponse = { - typeUrl: "/cosmos.bank.v1beta1.QueryParamsResponse", - aminoType: "cosmos-sdk/QueryParamsResponse", - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsResponse { - const obj = createBaseQueryParamsResponse(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - return obj; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - return message; - }, - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse { - return { - params: object.params ? Params.fromSDK(object.params) : undefined - }; - }, - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - return obj; - }, - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined - }; - }, - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - return obj; - }, - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse { - return QueryParamsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryParamsResponse", - value: QueryParamsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse { - return QueryParamsResponse.decode(message.value); - }, - toProto(message: QueryParamsResponse): Uint8Array { - return QueryParamsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryParamsResponse", - value: QueryParamsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDenomsMetadataRequest(): QueryDenomsMetadataRequest { - return { - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryDenomsMetadataRequest = { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataRequest", - aminoType: "cosmos-sdk/QueryDenomsMetadataRequest", - encode(message: QueryDenomsMetadataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomsMetadataRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDenomsMetadataRequest { - const obj = createBaseQueryDenomsMetadataRequest(); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDenomsMetadataRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDenomsMetadataRequest { - const message = createBaseQueryDenomsMetadataRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDenomsMetadataRequestSDKType): QueryDenomsMetadataRequest { - return { - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDenomsMetadataRequest): QueryDenomsMetadataRequestSDKType { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDenomsMetadataRequestAmino): QueryDenomsMetadataRequest { - return { - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDenomsMetadataRequest): QueryDenomsMetadataRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDenomsMetadataRequestAminoMsg): QueryDenomsMetadataRequest { - return QueryDenomsMetadataRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDenomsMetadataRequest): QueryDenomsMetadataRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDenomsMetadataRequest", - value: QueryDenomsMetadataRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDenomsMetadataRequestProtoMsg): QueryDenomsMetadataRequest { - return QueryDenomsMetadataRequest.decode(message.value); - }, - toProto(message: QueryDenomsMetadataRequest): Uint8Array { - return QueryDenomsMetadataRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDenomsMetadataRequest): QueryDenomsMetadataRequestProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataRequest", - value: QueryDenomsMetadataRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDenomsMetadataResponse(): QueryDenomsMetadataResponse { - return { - metadatas: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryDenomsMetadataResponse = { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataResponse", - aminoType: "cosmos-sdk/QueryDenomsMetadataResponse", - encode(message: QueryDenomsMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.metadatas) { - Metadata.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomsMetadataResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.metadatas.push(Metadata.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDenomsMetadataResponse { - const obj = createBaseQueryDenomsMetadataResponse(); - if (Array.isArray(object?.metadatas)) obj.metadatas = object.metadatas.map((e: any) => Metadata.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDenomsMetadataResponse): unknown { - const obj: any = {}; - if (message.metadatas) { - obj.metadatas = message.metadatas.map(e => e ? Metadata.toJSON(e) : undefined); - } else { - obj.metadatas = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDenomsMetadataResponse { - const message = createBaseQueryDenomsMetadataResponse(); - message.metadatas = object.metadatas?.map(e => Metadata.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDenomsMetadataResponseSDKType): QueryDenomsMetadataResponse { - return { - metadatas: Array.isArray(object?.metadatas) ? object.metadatas.map((e: any) => Metadata.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDenomsMetadataResponse): QueryDenomsMetadataResponseSDKType { - const obj: any = {}; - if (message.metadatas) { - obj.metadatas = message.metadatas.map(e => e ? Metadata.toSDK(e) : undefined); - } else { - obj.metadatas = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDenomsMetadataResponseAmino): QueryDenomsMetadataResponse { - return { - metadatas: Array.isArray(object?.metadatas) ? object.metadatas.map((e: any) => Metadata.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDenomsMetadataResponse): QueryDenomsMetadataResponseAmino { - const obj: any = {}; - if (message.metadatas) { - obj.metadatas = message.metadatas.map(e => e ? Metadata.toAmino(e) : undefined); - } else { - obj.metadatas = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDenomsMetadataResponseAminoMsg): QueryDenomsMetadataResponse { - return QueryDenomsMetadataResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDenomsMetadataResponse): QueryDenomsMetadataResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDenomsMetadataResponse", - value: QueryDenomsMetadataResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDenomsMetadataResponseProtoMsg): QueryDenomsMetadataResponse { - return QueryDenomsMetadataResponse.decode(message.value); - }, - toProto(message: QueryDenomsMetadataResponse): Uint8Array { - return QueryDenomsMetadataResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDenomsMetadataResponse): QueryDenomsMetadataResponseProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomsMetadataResponse", - value: QueryDenomsMetadataResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDenomMetadataRequest(): QueryDenomMetadataRequest { - return { - denom: "" - }; -} -export const QueryDenomMetadataRequest = { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataRequest", - aminoType: "cosmos-sdk/QueryDenomMetadataRequest", - encode(message: QueryDenomMetadataRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomMetadataRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDenomMetadataRequest { - const obj = createBaseQueryDenomMetadataRequest(); - if (isSet(object.denom)) obj.denom = String(object.denom); - return obj; - }, - toJSON(message: QueryDenomMetadataRequest): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - return obj; - }, - fromPartial(object: DeepPartial): QueryDenomMetadataRequest { - const message = createBaseQueryDenomMetadataRequest(); - message.denom = object.denom ?? ""; - return message; - }, - fromSDK(object: QueryDenomMetadataRequestSDKType): QueryDenomMetadataRequest { - return { - denom: object?.denom - }; - }, - toSDK(message: QueryDenomMetadataRequest): QueryDenomMetadataRequestSDKType { - const obj: any = {}; - obj.denom = message.denom; - return obj; - }, - fromAmino(object: QueryDenomMetadataRequestAmino): QueryDenomMetadataRequest { - return { - denom: object.denom - }; - }, - toAmino(message: QueryDenomMetadataRequest): QueryDenomMetadataRequestAmino { - const obj: any = {}; - obj.denom = message.denom; - return obj; - }, - fromAminoMsg(object: QueryDenomMetadataRequestAminoMsg): QueryDenomMetadataRequest { - return QueryDenomMetadataRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDenomMetadataRequest): QueryDenomMetadataRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDenomMetadataRequest", - value: QueryDenomMetadataRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDenomMetadataRequestProtoMsg): QueryDenomMetadataRequest { - return QueryDenomMetadataRequest.decode(message.value); - }, - toProto(message: QueryDenomMetadataRequest): Uint8Array { - return QueryDenomMetadataRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDenomMetadataRequest): QueryDenomMetadataRequestProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataRequest", - value: QueryDenomMetadataRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDenomMetadataResponse(): QueryDenomMetadataResponse { - return { - metadata: Metadata.fromPartial({}) - }; -} -export const QueryDenomMetadataResponse = { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataResponse", - aminoType: "cosmos-sdk/QueryDenomMetadataResponse", - encode(message: QueryDenomMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.metadata !== undefined) { - Metadata.encode(message.metadata, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomMetadataResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.metadata = Metadata.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDenomMetadataResponse { - const obj = createBaseQueryDenomMetadataResponse(); - if (isSet(object.metadata)) obj.metadata = Metadata.fromJSON(object.metadata); - return obj; - }, - toJSON(message: QueryDenomMetadataResponse): unknown { - const obj: any = {}; - message.metadata !== undefined && (obj.metadata = message.metadata ? Metadata.toJSON(message.metadata) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDenomMetadataResponse { - const message = createBaseQueryDenomMetadataResponse(); - if (object.metadata !== undefined && object.metadata !== null) { - message.metadata = Metadata.fromPartial(object.metadata); - } - return message; - }, - fromSDK(object: QueryDenomMetadataResponseSDKType): QueryDenomMetadataResponse { - return { - metadata: object.metadata ? Metadata.fromSDK(object.metadata) : undefined - }; - }, - toSDK(message: QueryDenomMetadataResponse): QueryDenomMetadataResponseSDKType { - const obj: any = {}; - message.metadata !== undefined && (obj.metadata = message.metadata ? Metadata.toSDK(message.metadata) : undefined); - return obj; - }, - fromAmino(object: QueryDenomMetadataResponseAmino): QueryDenomMetadataResponse { - return { - metadata: object?.metadata ? Metadata.fromAmino(object.metadata) : undefined - }; - }, - toAmino(message: QueryDenomMetadataResponse): QueryDenomMetadataResponseAmino { - const obj: any = {}; - obj.metadata = message.metadata ? Metadata.toAmino(message.metadata) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDenomMetadataResponseAminoMsg): QueryDenomMetadataResponse { - return QueryDenomMetadataResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDenomMetadataResponse): QueryDenomMetadataResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDenomMetadataResponse", - value: QueryDenomMetadataResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDenomMetadataResponseProtoMsg): QueryDenomMetadataResponse { - return QueryDenomMetadataResponse.decode(message.value); - }, - toProto(message: QueryDenomMetadataResponse): Uint8Array { - return QueryDenomMetadataResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDenomMetadataResponse): QueryDenomMetadataResponseProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomMetadataResponse", - value: QueryDenomMetadataResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDenomOwnersRequest(): QueryDenomOwnersRequest { - return { - denom: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryDenomOwnersRequest = { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersRequest", - aminoType: "cosmos-sdk/QueryDenomOwnersRequest", - encode(message: QueryDenomOwnersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomOwnersRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDenomOwnersRequest { - const obj = createBaseQueryDenomOwnersRequest(); - if (isSet(object.denom)) obj.denom = String(object.denom); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDenomOwnersRequest): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDenomOwnersRequest { - const message = createBaseQueryDenomOwnersRequest(); - message.denom = object.denom ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDenomOwnersRequestSDKType): QueryDenomOwnersRequest { - return { - denom: object?.denom, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDenomOwnersRequest): QueryDenomOwnersRequestSDKType { - const obj: any = {}; - obj.denom = message.denom; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDenomOwnersRequestAmino): QueryDenomOwnersRequest { - return { - denom: object.denom, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDenomOwnersRequest): QueryDenomOwnersRequestAmino { - const obj: any = {}; - obj.denom = message.denom; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDenomOwnersRequestAminoMsg): QueryDenomOwnersRequest { - return QueryDenomOwnersRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDenomOwnersRequest): QueryDenomOwnersRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDenomOwnersRequest", - value: QueryDenomOwnersRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDenomOwnersRequestProtoMsg): QueryDenomOwnersRequest { - return QueryDenomOwnersRequest.decode(message.value); - }, - toProto(message: QueryDenomOwnersRequest): Uint8Array { - return QueryDenomOwnersRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDenomOwnersRequest): QueryDenomOwnersRequestProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersRequest", - value: QueryDenomOwnersRequest.encode(message).finish() - }; - } -}; -function createBaseDenomOwner(): DenomOwner { - return { - address: "", - balance: Coin.fromPartial({}) - }; -} -export const DenomOwner = { - typeUrl: "/cosmos.bank.v1beta1.DenomOwner", - aminoType: "cosmos-sdk/DenomOwner", - encode(message: DenomOwner, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.balance !== undefined) { - Coin.encode(message.balance, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DenomOwner { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDenomOwner(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.balance = Coin.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DenomOwner { - const obj = createBaseDenomOwner(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.balance)) obj.balance = Coin.fromJSON(object.balance); - return obj; - }, - toJSON(message: DenomOwner): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.balance !== undefined && (obj.balance = message.balance ? Coin.toJSON(message.balance) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): DenomOwner { - const message = createBaseDenomOwner(); - message.address = object.address ?? ""; - if (object.balance !== undefined && object.balance !== null) { - message.balance = Coin.fromPartial(object.balance); - } - return message; - }, - fromSDK(object: DenomOwnerSDKType): DenomOwner { - return { - address: object?.address, - balance: object.balance ? Coin.fromSDK(object.balance) : undefined - }; - }, - toSDK(message: DenomOwner): DenomOwnerSDKType { - const obj: any = {}; - obj.address = message.address; - message.balance !== undefined && (obj.balance = message.balance ? Coin.toSDK(message.balance) : undefined); - return obj; - }, - fromAmino(object: DenomOwnerAmino): DenomOwner { - return { - address: object.address, - balance: object?.balance ? Coin.fromAmino(object.balance) : undefined - }; - }, - toAmino(message: DenomOwner): DenomOwnerAmino { - const obj: any = {}; - obj.address = message.address; - obj.balance = message.balance ? Coin.toAmino(message.balance) : undefined; - return obj; - }, - fromAminoMsg(object: DenomOwnerAminoMsg): DenomOwner { - return DenomOwner.fromAmino(object.value); - }, - toAminoMsg(message: DenomOwner): DenomOwnerAminoMsg { - return { - type: "cosmos-sdk/DenomOwner", - value: DenomOwner.toAmino(message) - }; - }, - fromProtoMsg(message: DenomOwnerProtoMsg): DenomOwner { - return DenomOwner.decode(message.value); - }, - toProto(message: DenomOwner): Uint8Array { - return DenomOwner.encode(message).finish(); - }, - toProtoMsg(message: DenomOwner): DenomOwnerProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.DenomOwner", - value: DenomOwner.encode(message).finish() - }; - } -}; -function createBaseQueryDenomOwnersResponse(): QueryDenomOwnersResponse { - return { - denomOwners: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryDenomOwnersResponse = { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersResponse", - aminoType: "cosmos-sdk/QueryDenomOwnersResponse", - encode(message: QueryDenomOwnersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.denomOwners) { - DenomOwner.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDenomOwnersResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.denomOwners.push(DenomOwner.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDenomOwnersResponse { - const obj = createBaseQueryDenomOwnersResponse(); - if (Array.isArray(object?.denomOwners)) obj.denomOwners = object.denomOwners.map((e: any) => DenomOwner.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDenomOwnersResponse): unknown { - const obj: any = {}; - if (message.denomOwners) { - obj.denomOwners = message.denomOwners.map(e => e ? DenomOwner.toJSON(e) : undefined); - } else { - obj.denomOwners = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDenomOwnersResponse { - const message = createBaseQueryDenomOwnersResponse(); - message.denomOwners = object.denomOwners?.map(e => DenomOwner.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDenomOwnersResponseSDKType): QueryDenomOwnersResponse { - return { - denomOwners: Array.isArray(object?.denom_owners) ? object.denom_owners.map((e: any) => DenomOwner.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDenomOwnersResponse): QueryDenomOwnersResponseSDKType { - const obj: any = {}; - if (message.denomOwners) { - obj.denom_owners = message.denomOwners.map(e => e ? DenomOwner.toSDK(e) : undefined); - } else { - obj.denom_owners = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDenomOwnersResponseAmino): QueryDenomOwnersResponse { - return { - denomOwners: Array.isArray(object?.denom_owners) ? object.denom_owners.map((e: any) => DenomOwner.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDenomOwnersResponse): QueryDenomOwnersResponseAmino { - const obj: any = {}; - if (message.denomOwners) { - obj.denom_owners = message.denomOwners.map(e => e ? DenomOwner.toAmino(e) : undefined); - } else { - obj.denom_owners = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDenomOwnersResponseAminoMsg): QueryDenomOwnersResponse { - return QueryDenomOwnersResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDenomOwnersResponse): QueryDenomOwnersResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDenomOwnersResponse", - value: QueryDenomOwnersResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDenomOwnersResponseProtoMsg): QueryDenomOwnersResponse { - return QueryDenomOwnersResponse.decode(message.value); - }, - toProto(message: QueryDenomOwnersResponse): Uint8Array { - return QueryDenomOwnersResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDenomOwnersResponse): QueryDenomOwnersResponseProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.QueryDenomOwnersResponse", - value: QueryDenomOwnersResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.amino.ts deleted file mode 100644 index e5ad64ef6..000000000 --- a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; -import { MsgSend, MsgSendSDKType, MsgMultiSend, MsgMultiSendSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.bank.v1beta1.MsgSend": { - aminoType: "cosmos-sdk/MsgSend", - toAmino: MsgSend.toAmino, - fromAmino: MsgSend.fromAmino - }, - "/cosmos.bank.v1beta1.MsgMultiSend": { - aminoType: "cosmos-sdk/MsgMultiSend", - toAmino: MsgMultiSend.toAmino, - fromAmino: MsgMultiSend.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.registry.ts deleted file mode 100644 index 0bd58f9ef..000000000 --- a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSend, MsgSendSDKType, MsgMultiSend, MsgMultiSendSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.bank.v1beta1.MsgSend", MsgSend], ["/cosmos.bank.v1beta1.MsgMultiSend", MsgMultiSend]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - value: MsgSend.encode(value).finish() - }; - }, - multiSend(value: MsgMultiSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - value: MsgMultiSend.encode(value).finish() - }; - } - }, - withTypeUrl: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - value - }; - }, - multiSend(value: MsgMultiSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - value - }; - } - }, - toJSON: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - value: MsgSend.toJSON(value) - }; - }, - multiSend(value: MsgMultiSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - value: MsgMultiSend.toJSON(value) - }; - } - }, - fromJSON: { - send(value: any) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - value: MsgSend.fromJSON(value) - }; - }, - multiSend(value: any) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - value: MsgMultiSend.fromJSON(value) - }; - } - }, - fromPartial: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - value: MsgSend.fromPartial(value) - }; - }, - multiSend(value: MsgMultiSend) { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - value: MsgMultiSend.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 5276c0102..000000000 --- a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; -import * as fm from "../../../grpc-gateway"; -import { MsgSend, MsgSendSDKType, MsgSendResponse, MsgSendResponseSDKType, MsgMultiSend, MsgMultiSendSDKType, MsgMultiSendResponse, MsgMultiSendResponseSDKType } from "./tx"; -export class Msg { - /** Send defines a method for sending coins from one account to another account. */ - static send(request: MsgSend, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.bank.v1beta1/send`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** MultiSend defines a method for sending coins from some accounts to other accounts. */ - static multiSend(request: MsgMultiSend, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.bank.v1beta1/multiSend`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.ts deleted file mode 100644 index cdf605581..000000000 --- a/quicksilverjs/src/codegen/cosmos/bank/v1beta1/tx.ts +++ /dev/null @@ -1,478 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Input, InputAmino, InputSDKType, Output, OutputAmino, OutputSDKType } from "./bank"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.bank.v1beta1"; -/** MsgSend represents a message to send coins from one account to another. */ -export interface MsgSend { - fromAddress: string; - toAddress: string; - amount: Coin[]; -} -export interface MsgSendProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgSend"; - value: Uint8Array; -} -/** MsgSend represents a message to send coins from one account to another. */ -export interface MsgSendAmino { - from_address: string; - to_address: string; - amount: CoinAmino[]; -} -export interface MsgSendAminoMsg { - type: "cosmos-sdk/MsgSend"; - value: MsgSendAmino; -} -/** MsgSend represents a message to send coins from one account to another. */ -export interface MsgSendSDKType { - from_address: string; - to_address: string; - amount: CoinSDKType[]; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponse {} -export interface MsgSendResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgSendResponse"; - value: Uint8Array; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseAmino {} -export interface MsgSendResponseAminoMsg { - type: "cosmos-sdk/MsgSendResponse"; - value: MsgSendResponseAmino; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseSDKType {} -/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ -export interface MsgMultiSend { - inputs: Input[]; - outputs: Output[]; -} -export interface MsgMultiSendProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend"; - value: Uint8Array; -} -/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ -export interface MsgMultiSendAmino { - inputs: InputAmino[]; - outputs: OutputAmino[]; -} -export interface MsgMultiSendAminoMsg { - type: "cosmos-sdk/MsgMultiSend"; - value: MsgMultiSendAmino; -} -/** MsgMultiSend represents an arbitrary multi-in, multi-out send message. */ -export interface MsgMultiSendSDKType { - inputs: InputSDKType[]; - outputs: OutputSDKType[]; -} -/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ -export interface MsgMultiSendResponse {} -export interface MsgMultiSendResponseProtoMsg { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSendResponse"; - value: Uint8Array; -} -/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ -export interface MsgMultiSendResponseAmino {} -export interface MsgMultiSendResponseAminoMsg { - type: "cosmos-sdk/MsgMultiSendResponse"; - value: MsgMultiSendResponseAmino; -} -/** MsgMultiSendResponse defines the Msg/MultiSend response type. */ -export interface MsgMultiSendResponseSDKType {} -function createBaseMsgSend(): MsgSend { - return { - fromAddress: "", - toAddress: "", - amount: [] - }; -} -export const MsgSend = { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - aminoType: "cosmos-sdk/MsgSend", - encode(message: MsgSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fromAddress !== "") { - writer.uint32(10).string(message.fromAddress); - } - if (message.toAddress !== "") { - writer.uint32(18).string(message.toAddress); - } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSend(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fromAddress = reader.string(); - break; - case 2: - message.toAddress = reader.string(); - break; - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSend { - const obj = createBaseMsgSend(); - if (isSet(object.fromAddress)) obj.fromAddress = String(object.fromAddress); - if (isSet(object.toAddress)) obj.toAddress = String(object.toAddress); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: MsgSend): unknown { - const obj: any = {}; - message.fromAddress !== undefined && (obj.fromAddress = message.fromAddress); - message.toAddress !== undefined && (obj.toAddress = message.toAddress); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgSend { - const message = createBaseMsgSend(); - message.fromAddress = object.fromAddress ?? ""; - message.toAddress = object.toAddress ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgSendSDKType): MsgSend { - return { - fromAddress: object?.from_address, - toAddress: object?.to_address, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgSend): MsgSendSDKType { - const obj: any = {}; - obj.from_address = message.fromAddress; - obj.to_address = message.toAddress; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAmino(object: MsgSendAmino): MsgSend { - return { - fromAddress: object.from_address, - toAddress: object.to_address, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgSend): MsgSendAmino { - const obj: any = {}; - obj.from_address = message.fromAddress; - obj.to_address = message.toAddress; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAminoMsg(object: MsgSendAminoMsg): MsgSend { - return MsgSend.fromAmino(object.value); - }, - toAminoMsg(message: MsgSend): MsgSendAminoMsg { - return { - type: "cosmos-sdk/MsgSend", - value: MsgSend.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSendProtoMsg): MsgSend { - return MsgSend.decode(message.value); - }, - toProto(message: MsgSend): Uint8Array { - return MsgSend.encode(message).finish(); - }, - toProtoMsg(message: MsgSend): MsgSendProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSend", - value: MsgSend.encode(message).finish() - }; - } -}; -function createBaseMsgSendResponse(): MsgSendResponse { - return {}; -} -export const MsgSendResponse = { - typeUrl: "/cosmos.bank.v1beta1.MsgSendResponse", - aminoType: "cosmos-sdk/MsgSendResponse", - encode(_: MsgSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSendResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgSendResponse { - const obj = createBaseMsgSendResponse(); - return obj; - }, - toJSON(_: MsgSendResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgSendResponse { - const message = createBaseMsgSendResponse(); - return message; - }, - fromSDK(_: MsgSendResponseSDKType): MsgSendResponse { - return {}; - }, - toSDK(_: MsgSendResponse): MsgSendResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgSendResponseAmino): MsgSendResponse { - return {}; - }, - toAmino(_: MsgSendResponse): MsgSendResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgSendResponseAminoMsg): MsgSendResponse { - return MsgSendResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgSendResponse): MsgSendResponseAminoMsg { - return { - type: "cosmos-sdk/MsgSendResponse", - value: MsgSendResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSendResponseProtoMsg): MsgSendResponse { - return MsgSendResponse.decode(message.value); - }, - toProto(message: MsgSendResponse): Uint8Array { - return MsgSendResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgSendResponse): MsgSendResponseProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgSendResponse", - value: MsgSendResponse.encode(message).finish() - }; - } -}; -function createBaseMsgMultiSend(): MsgMultiSend { - return { - inputs: [], - outputs: [] - }; -} -export const MsgMultiSend = { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - aminoType: "cosmos-sdk/MsgMultiSend", - encode(message: MsgMultiSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.inputs) { - Input.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.outputs) { - Output.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSend { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgMultiSend(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.inputs.push(Input.decode(reader, reader.uint32())); - break; - case 2: - message.outputs.push(Output.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgMultiSend { - const obj = createBaseMsgMultiSend(); - if (Array.isArray(object?.inputs)) obj.inputs = object.inputs.map((e: any) => Input.fromJSON(e)); - if (Array.isArray(object?.outputs)) obj.outputs = object.outputs.map((e: any) => Output.fromJSON(e)); - return obj; - }, - toJSON(message: MsgMultiSend): unknown { - const obj: any = {}; - if (message.inputs) { - obj.inputs = message.inputs.map(e => e ? Input.toJSON(e) : undefined); - } else { - obj.inputs = []; - } - if (message.outputs) { - obj.outputs = message.outputs.map(e => e ? Output.toJSON(e) : undefined); - } else { - obj.outputs = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgMultiSend { - const message = createBaseMsgMultiSend(); - message.inputs = object.inputs?.map(e => Input.fromPartial(e)) || []; - message.outputs = object.outputs?.map(e => Output.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgMultiSendSDKType): MsgMultiSend { - return { - inputs: Array.isArray(object?.inputs) ? object.inputs.map((e: any) => Input.fromSDK(e)) : [], - outputs: Array.isArray(object?.outputs) ? object.outputs.map((e: any) => Output.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgMultiSend): MsgMultiSendSDKType { - const obj: any = {}; - if (message.inputs) { - obj.inputs = message.inputs.map(e => e ? Input.toSDK(e) : undefined); - } else { - obj.inputs = []; - } - if (message.outputs) { - obj.outputs = message.outputs.map(e => e ? Output.toSDK(e) : undefined); - } else { - obj.outputs = []; - } - return obj; - }, - fromAmino(object: MsgMultiSendAmino): MsgMultiSend { - return { - inputs: Array.isArray(object?.inputs) ? object.inputs.map((e: any) => Input.fromAmino(e)) : [], - outputs: Array.isArray(object?.outputs) ? object.outputs.map((e: any) => Output.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgMultiSend): MsgMultiSendAmino { - const obj: any = {}; - if (message.inputs) { - obj.inputs = message.inputs.map(e => e ? Input.toAmino(e) : undefined); - } else { - obj.inputs = []; - } - if (message.outputs) { - obj.outputs = message.outputs.map(e => e ? Output.toAmino(e) : undefined); - } else { - obj.outputs = []; - } - return obj; - }, - fromAminoMsg(object: MsgMultiSendAminoMsg): MsgMultiSend { - return MsgMultiSend.fromAmino(object.value); - }, - toAminoMsg(message: MsgMultiSend): MsgMultiSendAminoMsg { - return { - type: "cosmos-sdk/MsgMultiSend", - value: MsgMultiSend.toAmino(message) - }; - }, - fromProtoMsg(message: MsgMultiSendProtoMsg): MsgMultiSend { - return MsgMultiSend.decode(message.value); - }, - toProto(message: MsgMultiSend): Uint8Array { - return MsgMultiSend.encode(message).finish(); - }, - toProtoMsg(message: MsgMultiSend): MsgMultiSendProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSend", - value: MsgMultiSend.encode(message).finish() - }; - } -}; -function createBaseMsgMultiSendResponse(): MsgMultiSendResponse { - return {}; -} -export const MsgMultiSendResponse = { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSendResponse", - aminoType: "cosmos-sdk/MsgMultiSendResponse", - encode(_: MsgMultiSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgMultiSendResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgMultiSendResponse { - const obj = createBaseMsgMultiSendResponse(); - return obj; - }, - toJSON(_: MsgMultiSendResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgMultiSendResponse { - const message = createBaseMsgMultiSendResponse(); - return message; - }, - fromSDK(_: MsgMultiSendResponseSDKType): MsgMultiSendResponse { - return {}; - }, - toSDK(_: MsgMultiSendResponse): MsgMultiSendResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgMultiSendResponseAmino): MsgMultiSendResponse { - return {}; - }, - toAmino(_: MsgMultiSendResponse): MsgMultiSendResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgMultiSendResponseAminoMsg): MsgMultiSendResponse { - return MsgMultiSendResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgMultiSendResponse): MsgMultiSendResponseAminoMsg { - return { - type: "cosmos-sdk/MsgMultiSendResponse", - value: MsgMultiSendResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgMultiSendResponseProtoMsg): MsgMultiSendResponse { - return MsgMultiSendResponse.decode(message.value); - }, - toProto(message: MsgMultiSendResponse): Uint8Array { - return MsgMultiSendResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgMultiSendResponse): MsgMultiSendResponseProtoMsg { - return { - typeUrl: "/cosmos.bank.v1beta1.MsgMultiSendResponse", - value: MsgMultiSendResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/abci/v1beta1/abci.ts b/quicksilverjs/src/codegen/cosmos/base/abci/v1beta1/abci.ts deleted file mode 100644 index 1db64bf64..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/abci/v1beta1/abci.ts +++ /dev/null @@ -1,1880 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { Event, EventAmino, EventSDKType } from "../../../../tendermint/abci/types"; -import { Long, isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.base.abci.v1beta1"; -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ -export interface TxResponse { - /** The block height */ - height: Long; - /** The transaction hash. */ - txhash: string; - /** Namespace for the Code */ - codespace: string; - /** Response code. */ - code: number; - /** Result bytes, if any. */ - data: string; - /** - * The output of the application's logger (raw string). May be - * non-deterministic. - */ - rawLog: string; - /** The output of the application's logger (typed). May be non-deterministic. */ - logs: ABCIMessageLog[]; - /** Additional information. May be non-deterministic. */ - info: string; - /** Amount of gas requested for transaction. */ - gasWanted: Long; - /** Amount of gas consumed by transaction. */ - gasUsed: Long; - /** The request transaction bytes. */ - tx: Any; - /** - * Time of the previous block. For heights > 1, it's the weighted median of - * the timestamps of the valid votes in the block.LastCommit. For height == 1, - * it's genesis time. - */ - timestamp: string; - /** - * Events defines all the events emitted by processing a transaction. Note, - * these events include those emitted by processing all the messages and those - * emitted from the ante handler. Whereas Logs contains the events, with - * additional metadata, emitted only by processing the messages. - * - * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 - */ - events: Event[]; -} -export interface TxResponseProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.TxResponse"; - value: Uint8Array; -} -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ -export interface TxResponseAmino { - /** The block height */ - height: string; - /** The transaction hash. */ - txhash: string; - /** Namespace for the Code */ - codespace: string; - /** Response code. */ - code: number; - /** Result bytes, if any. */ - data: string; - /** - * The output of the application's logger (raw string). May be - * non-deterministic. - */ - raw_log: string; - /** The output of the application's logger (typed). May be non-deterministic. */ - logs: ABCIMessageLogAmino[]; - /** Additional information. May be non-deterministic. */ - info: string; - /** Amount of gas requested for transaction. */ - gas_wanted: string; - /** Amount of gas consumed by transaction. */ - gas_used: string; - /** The request transaction bytes. */ - tx?: AnyAmino; - /** - * Time of the previous block. For heights > 1, it's the weighted median of - * the timestamps of the valid votes in the block.LastCommit. For height == 1, - * it's genesis time. - */ - timestamp: string; - /** - * Events defines all the events emitted by processing a transaction. Note, - * these events include those emitted by processing all the messages and those - * emitted from the ante handler. Whereas Logs contains the events, with - * additional metadata, emitted only by processing the messages. - * - * Since: cosmos-sdk 0.42.11, 0.44.5, 0.45 - */ - events: EventAmino[]; -} -export interface TxResponseAminoMsg { - type: "cosmos-sdk/TxResponse"; - value: TxResponseAmino; -} -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ -export interface TxResponseSDKType { - height: Long; - txhash: string; - codespace: string; - code: number; - data: string; - raw_log: string; - logs: ABCIMessageLogSDKType[]; - info: string; - gas_wanted: Long; - gas_used: Long; - tx: AnySDKType; - timestamp: string; - events: EventSDKType[]; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ -export interface ABCIMessageLog { - msgIndex: number; - log: string; - /** - * Events contains a slice of Event objects that were emitted during some - * execution. - */ - events: StringEvent[]; -} -export interface ABCIMessageLogProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.ABCIMessageLog"; - value: Uint8Array; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ -export interface ABCIMessageLogAmino { - msg_index: number; - log: string; - /** - * Events contains a slice of Event objects that were emitted during some - * execution. - */ - events: StringEventAmino[]; -} -export interface ABCIMessageLogAminoMsg { - type: "cosmos-sdk/ABCIMessageLog"; - value: ABCIMessageLogAmino; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ -export interface ABCIMessageLogSDKType { - msg_index: number; - log: string; - events: StringEventSDKType[]; -} -/** - * StringEvent defines en Event object wrapper where all the attributes - * contain key/value pairs that are strings instead of raw bytes. - */ -export interface StringEvent { - type: string; - attributes: Attribute[]; -} -export interface StringEventProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.StringEvent"; - value: Uint8Array; -} -/** - * StringEvent defines en Event object wrapper where all the attributes - * contain key/value pairs that are strings instead of raw bytes. - */ -export interface StringEventAmino { - type: string; - attributes: AttributeAmino[]; -} -export interface StringEventAminoMsg { - type: "cosmos-sdk/StringEvent"; - value: StringEventAmino; -} -/** - * StringEvent defines en Event object wrapper where all the attributes - * contain key/value pairs that are strings instead of raw bytes. - */ -export interface StringEventSDKType { - type: string; - attributes: AttributeSDKType[]; -} -/** - * Attribute defines an attribute wrapper where the key and value are - * strings instead of raw bytes. - */ -export interface Attribute { - key: string; - value: string; -} -export interface AttributeProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.Attribute"; - value: Uint8Array; -} -/** - * Attribute defines an attribute wrapper where the key and value are - * strings instead of raw bytes. - */ -export interface AttributeAmino { - key: string; - value: string; -} -export interface AttributeAminoMsg { - type: "cosmos-sdk/Attribute"; - value: AttributeAmino; -} -/** - * Attribute defines an attribute wrapper where the key and value are - * strings instead of raw bytes. - */ -export interface AttributeSDKType { - key: string; - value: string; -} -/** GasInfo defines tx execution gas context. */ -export interface GasInfo { - /** GasWanted is the maximum units of work we allow this tx to perform. */ - gasWanted: Long; - /** GasUsed is the amount of gas actually consumed. */ - gasUsed: Long; -} -export interface GasInfoProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.GasInfo"; - value: Uint8Array; -} -/** GasInfo defines tx execution gas context. */ -export interface GasInfoAmino { - /** GasWanted is the maximum units of work we allow this tx to perform. */ - gas_wanted: string; - /** GasUsed is the amount of gas actually consumed. */ - gas_used: string; -} -export interface GasInfoAminoMsg { - type: "cosmos-sdk/GasInfo"; - value: GasInfoAmino; -} -/** GasInfo defines tx execution gas context. */ -export interface GasInfoSDKType { - gas_wanted: Long; - gas_used: Long; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ -export interface Result { - /** - * Data is any data returned from message or handler execution. It MUST be - * length prefixed in order to separate data from multiple message executions. - * Deprecated. This field is still populated, but prefer msg_response instead - * because it also contains the Msg response typeURL. - */ - /** @deprecated */ - data: Uint8Array; - /** Log contains the log information from message or handler execution. */ - log: string; - /** - * Events contains a slice of Event objects that were emitted during message - * or handler execution. - */ - events: Event[]; - /** - * msg_responses contains the Msg handler responses type packed in Anys. - * - * Since: cosmos-sdk 0.46 - */ - msgResponses: Any[]; -} -export interface ResultProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.Result"; - value: Uint8Array; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ -export interface ResultAmino { - /** - * Data is any data returned from message or handler execution. It MUST be - * length prefixed in order to separate data from multiple message executions. - * Deprecated. This field is still populated, but prefer msg_response instead - * because it also contains the Msg response typeURL. - */ - /** @deprecated */ - data: Uint8Array; - /** Log contains the log information from message or handler execution. */ - log: string; - /** - * Events contains a slice of Event objects that were emitted during message - * or handler execution. - */ - events: EventAmino[]; - /** - * msg_responses contains the Msg handler responses type packed in Anys. - * - * Since: cosmos-sdk 0.46 - */ - msg_responses: AnyAmino[]; -} -export interface ResultAminoMsg { - type: "cosmos-sdk/Result"; - value: ResultAmino; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ -export interface ResultSDKType { - /** @deprecated */ - data: Uint8Array; - log: string; - events: EventSDKType[]; - msg_responses: AnySDKType[]; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ -export interface SimulationResponse { - gasInfo: GasInfo; - result: Result; -} -export interface SimulationResponseProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.SimulationResponse"; - value: Uint8Array; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ -export interface SimulationResponseAmino { - gas_info?: GasInfoAmino; - result?: ResultAmino; -} -export interface SimulationResponseAminoMsg { - type: "cosmos-sdk/SimulationResponse"; - value: SimulationResponseAmino; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ -export interface SimulationResponseSDKType { - gas_info: GasInfoSDKType; - result: ResultSDKType; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ -/** @deprecated */ -export interface MsgData { - msgType: string; - data: Uint8Array; -} -export interface MsgDataProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.MsgData"; - value: Uint8Array; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ -/** @deprecated */ -export interface MsgDataAmino { - msg_type: string; - data: Uint8Array; -} -export interface MsgDataAminoMsg { - type: "cosmos-sdk/MsgData"; - value: MsgDataAmino; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ -/** @deprecated */ -export interface MsgDataSDKType { - msg_type: string; - data: Uint8Array; -} -/** - * TxMsgData defines a list of MsgData. A transaction will have a MsgData object - * for each message. - */ -export interface TxMsgData { - /** data field is deprecated and not populated. */ - /** @deprecated */ - data: MsgData[]; - /** - * msg_responses contains the Msg handler responses packed into Anys. - * - * Since: cosmos-sdk 0.46 - */ - msgResponses: Any[]; -} -export interface TxMsgDataProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.TxMsgData"; - value: Uint8Array; -} -/** - * TxMsgData defines a list of MsgData. A transaction will have a MsgData object - * for each message. - */ -export interface TxMsgDataAmino { - /** data field is deprecated and not populated. */ - /** @deprecated */ - data: MsgDataAmino[]; - /** - * msg_responses contains the Msg handler responses packed into Anys. - * - * Since: cosmos-sdk 0.46 - */ - msg_responses: AnyAmino[]; -} -export interface TxMsgDataAminoMsg { - type: "cosmos-sdk/TxMsgData"; - value: TxMsgDataAmino; -} -/** - * TxMsgData defines a list of MsgData. A transaction will have a MsgData object - * for each message. - */ -export interface TxMsgDataSDKType { - /** @deprecated */ - data: MsgDataSDKType[]; - msg_responses: AnySDKType[]; -} -/** SearchTxsResult defines a structure for querying txs pageable */ -export interface SearchTxsResult { - /** Count of all txs */ - totalCount: Long; - /** Count of txs in current page */ - count: Long; - /** Index of current page, start from 1 */ - pageNumber: Long; - /** Count of total pages */ - pageTotal: Long; - /** Max count txs per page */ - limit: Long; - /** List of txs in current page */ - txs: TxResponse[]; -} -export interface SearchTxsResultProtoMsg { - typeUrl: "/cosmos.base.abci.v1beta1.SearchTxsResult"; - value: Uint8Array; -} -/** SearchTxsResult defines a structure for querying txs pageable */ -export interface SearchTxsResultAmino { - /** Count of all txs */ - total_count: string; - /** Count of txs in current page */ - count: string; - /** Index of current page, start from 1 */ - page_number: string; - /** Count of total pages */ - page_total: string; - /** Max count txs per page */ - limit: string; - /** List of txs in current page */ - txs: TxResponseAmino[]; -} -export interface SearchTxsResultAminoMsg { - type: "cosmos-sdk/SearchTxsResult"; - value: SearchTxsResultAmino; -} -/** SearchTxsResult defines a structure for querying txs pageable */ -export interface SearchTxsResultSDKType { - total_count: Long; - count: Long; - page_number: Long; - page_total: Long; - limit: Long; - txs: TxResponseSDKType[]; -} -function createBaseTxResponse(): TxResponse { - return { - height: Long.ZERO, - txhash: "", - codespace: "", - code: 0, - data: "", - rawLog: "", - logs: [], - info: "", - gasWanted: Long.ZERO, - gasUsed: Long.ZERO, - tx: Any.fromPartial({}), - timestamp: "", - events: [] - }; -} -export const TxResponse = { - typeUrl: "/cosmos.base.abci.v1beta1.TxResponse", - aminoType: "cosmos-sdk/TxResponse", - encode(message: TxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - if (message.txhash !== "") { - writer.uint32(18).string(message.txhash); - } - if (message.codespace !== "") { - writer.uint32(26).string(message.codespace); - } - if (message.code !== 0) { - writer.uint32(32).uint32(message.code); - } - if (message.data !== "") { - writer.uint32(42).string(message.data); - } - if (message.rawLog !== "") { - writer.uint32(50).string(message.rawLog); - } - for (const v of message.logs) { - ABCIMessageLog.encode(v!, writer.uint32(58).fork()).ldelim(); - } - if (message.info !== "") { - writer.uint32(66).string(message.info); - } - if (!message.gasWanted.isZero()) { - writer.uint32(72).int64(message.gasWanted); - } - if (!message.gasUsed.isZero()) { - writer.uint32(80).int64(message.gasUsed); - } - if (message.tx !== undefined) { - Any.encode(message.tx, writer.uint32(90).fork()).ldelim(); - } - if (message.timestamp !== "") { - writer.uint32(98).string(message.timestamp); - } - for (const v of message.events) { - Event.encode(v!, writer.uint32(106).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TxResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - case 2: - message.txhash = reader.string(); - break; - case 3: - message.codespace = reader.string(); - break; - case 4: - message.code = reader.uint32(); - break; - case 5: - message.data = reader.string(); - break; - case 6: - message.rawLog = reader.string(); - break; - case 7: - message.logs.push(ABCIMessageLog.decode(reader, reader.uint32())); - break; - case 8: - message.info = reader.string(); - break; - case 9: - message.gasWanted = (reader.int64() as Long); - break; - case 10: - message.gasUsed = (reader.int64() as Long); - break; - case 11: - message.tx = Any.decode(reader, reader.uint32()); - break; - case 12: - message.timestamp = reader.string(); - break; - case 13: - message.events.push(Event.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TxResponse { - const obj = createBaseTxResponse(); - if (isSet(object.height)) obj.height = Long.fromValue(object.height); - if (isSet(object.txhash)) obj.txhash = String(object.txhash); - if (isSet(object.codespace)) obj.codespace = String(object.codespace); - if (isSet(object.code)) obj.code = Number(object.code); - if (isSet(object.data)) obj.data = String(object.data); - if (isSet(object.rawLog)) obj.rawLog = String(object.rawLog); - if (Array.isArray(object?.logs)) obj.logs = object.logs.map((e: any) => ABCIMessageLog.fromJSON(e)); - if (isSet(object.info)) obj.info = String(object.info); - if (isSet(object.gasWanted)) obj.gasWanted = Long.fromValue(object.gasWanted); - if (isSet(object.gasUsed)) obj.gasUsed = Long.fromValue(object.gasUsed); - if (isSet(object.tx)) obj.tx = Any.fromJSON(object.tx); - if (isSet(object.timestamp)) obj.timestamp = String(object.timestamp); - if (Array.isArray(object?.events)) obj.events = object.events.map((e: any) => Event.fromJSON(e)); - return obj; - }, - toJSON(message: TxResponse): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - message.txhash !== undefined && (obj.txhash = message.txhash); - message.codespace !== undefined && (obj.codespace = message.codespace); - message.code !== undefined && (obj.code = Math.round(message.code)); - message.data !== undefined && (obj.data = message.data); - message.rawLog !== undefined && (obj.rawLog = message.rawLog); - if (message.logs) { - obj.logs = message.logs.map(e => e ? ABCIMessageLog.toJSON(e) : undefined); - } else { - obj.logs = []; - } - message.info !== undefined && (obj.info = message.info); - message.gasWanted !== undefined && (obj.gasWanted = (message.gasWanted || Long.ZERO).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.ZERO).toString()); - message.tx !== undefined && (obj.tx = message.tx ? Any.toJSON(message.tx) : undefined); - message.timestamp !== undefined && (obj.timestamp = message.timestamp); - if (message.events) { - obj.events = message.events.map(e => e ? Event.toJSON(e) : undefined); - } else { - obj.events = []; - } - return obj; - }, - fromPartial(object: DeepPartial): TxResponse { - const message = createBaseTxResponse(); - if (object.height !== undefined && object.height !== null) { - message.height = Long.fromValue(object.height); - } - message.txhash = object.txhash ?? ""; - message.codespace = object.codespace ?? ""; - message.code = object.code ?? 0; - message.data = object.data ?? ""; - message.rawLog = object.rawLog ?? ""; - message.logs = object.logs?.map(e => ABCIMessageLog.fromPartial(e)) || []; - message.info = object.info ?? ""; - if (object.gasWanted !== undefined && object.gasWanted !== null) { - message.gasWanted = Long.fromValue(object.gasWanted); - } - if (object.gasUsed !== undefined && object.gasUsed !== null) { - message.gasUsed = Long.fromValue(object.gasUsed); - } - if (object.tx !== undefined && object.tx !== null) { - message.tx = Any.fromPartial(object.tx); - } - message.timestamp = object.timestamp ?? ""; - message.events = object.events?.map(e => Event.fromPartial(e)) || []; - return message; - }, - fromSDK(object: TxResponseSDKType): TxResponse { - return { - height: object?.height, - txhash: object?.txhash, - codespace: object?.codespace, - code: object?.code, - data: object?.data, - rawLog: object?.raw_log, - logs: Array.isArray(object?.logs) ? object.logs.map((e: any) => ABCIMessageLog.fromSDK(e)) : [], - info: object?.info, - gasWanted: object?.gas_wanted, - gasUsed: object?.gas_used, - tx: object.tx ? Any.fromSDK(object.tx) : undefined, - timestamp: object?.timestamp, - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromSDK(e)) : [] - }; - }, - toSDK(message: TxResponse): TxResponseSDKType { - const obj: any = {}; - obj.height = message.height; - obj.txhash = message.txhash; - obj.codespace = message.codespace; - obj.code = message.code; - obj.data = message.data; - obj.raw_log = message.rawLog; - if (message.logs) { - obj.logs = message.logs.map(e => e ? ABCIMessageLog.toSDK(e) : undefined); - } else { - obj.logs = []; - } - obj.info = message.info; - obj.gas_wanted = message.gasWanted; - obj.gas_used = message.gasUsed; - message.tx !== undefined && (obj.tx = message.tx ? Any.toSDK(message.tx) : undefined); - obj.timestamp = message.timestamp; - if (message.events) { - obj.events = message.events.map(e => e ? Event.toSDK(e) : undefined); - } else { - obj.events = []; - } - return obj; - }, - fromAmino(object: TxResponseAmino): TxResponse { - return { - height: Long.fromString(object.height), - txhash: object.txhash, - codespace: object.codespace, - code: object.code, - data: object.data, - rawLog: object.raw_log, - logs: Array.isArray(object?.logs) ? object.logs.map((e: any) => ABCIMessageLog.fromAmino(e)) : [], - info: object.info, - gasWanted: Long.fromString(object.gas_wanted), - gasUsed: Long.fromString(object.gas_used), - tx: object?.tx ? Any.fromAmino(object.tx) : undefined, - timestamp: object.timestamp, - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromAmino(e)) : [] - }; - }, - toAmino(message: TxResponse): TxResponseAmino { - const obj: any = {}; - obj.height = message.height ? message.height.toString() : undefined; - obj.txhash = message.txhash; - obj.codespace = message.codespace; - obj.code = message.code; - obj.data = message.data; - obj.raw_log = message.rawLog; - if (message.logs) { - obj.logs = message.logs.map(e => e ? ABCIMessageLog.toAmino(e) : undefined); - } else { - obj.logs = []; - } - obj.info = message.info; - obj.gas_wanted = message.gasWanted ? message.gasWanted.toString() : undefined; - obj.gas_used = message.gasUsed ? message.gasUsed.toString() : undefined; - obj.tx = message.tx ? Any.toAmino(message.tx) : undefined; - obj.timestamp = message.timestamp; - if (message.events) { - obj.events = message.events.map(e => e ? Event.toAmino(e) : undefined); - } else { - obj.events = []; - } - return obj; - }, - fromAminoMsg(object: TxResponseAminoMsg): TxResponse { - return TxResponse.fromAmino(object.value); - }, - toAminoMsg(message: TxResponse): TxResponseAminoMsg { - return { - type: "cosmos-sdk/TxResponse", - value: TxResponse.toAmino(message) - }; - }, - fromProtoMsg(message: TxResponseProtoMsg): TxResponse { - return TxResponse.decode(message.value); - }, - toProto(message: TxResponse): Uint8Array { - return TxResponse.encode(message).finish(); - }, - toProtoMsg(message: TxResponse): TxResponseProtoMsg { - return { - typeUrl: "/cosmos.base.abci.v1beta1.TxResponse", - value: TxResponse.encode(message).finish() - }; - } -}; -function createBaseABCIMessageLog(): ABCIMessageLog { - return { - msgIndex: 0, - log: "", - events: [] - }; -} -export const ABCIMessageLog = { - typeUrl: "/cosmos.base.abci.v1beta1.ABCIMessageLog", - aminoType: "cosmos-sdk/ABCIMessageLog", - encode(message: ABCIMessageLog, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.msgIndex !== 0) { - writer.uint32(8).uint32(message.msgIndex); - } - if (message.log !== "") { - writer.uint32(18).string(message.log); - } - for (const v of message.events) { - StringEvent.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ABCIMessageLog { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseABCIMessageLog(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.msgIndex = reader.uint32(); - break; - case 2: - message.log = reader.string(); - break; - case 3: - message.events.push(StringEvent.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ABCIMessageLog { - const obj = createBaseABCIMessageLog(); - if (isSet(object.msgIndex)) obj.msgIndex = Number(object.msgIndex); - if (isSet(object.log)) obj.log = String(object.log); - if (Array.isArray(object?.events)) obj.events = object.events.map((e: any) => StringEvent.fromJSON(e)); - return obj; - }, - toJSON(message: ABCIMessageLog): unknown { - const obj: any = {}; - message.msgIndex !== undefined && (obj.msgIndex = Math.round(message.msgIndex)); - message.log !== undefined && (obj.log = message.log); - if (message.events) { - obj.events = message.events.map(e => e ? StringEvent.toJSON(e) : undefined); - } else { - obj.events = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ABCIMessageLog { - const message = createBaseABCIMessageLog(); - message.msgIndex = object.msgIndex ?? 0; - message.log = object.log ?? ""; - message.events = object.events?.map(e => StringEvent.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ABCIMessageLogSDKType): ABCIMessageLog { - return { - msgIndex: object?.msg_index, - log: object?.log, - events: Array.isArray(object?.events) ? object.events.map((e: any) => StringEvent.fromSDK(e)) : [] - }; - }, - toSDK(message: ABCIMessageLog): ABCIMessageLogSDKType { - const obj: any = {}; - obj.msg_index = message.msgIndex; - obj.log = message.log; - if (message.events) { - obj.events = message.events.map(e => e ? StringEvent.toSDK(e) : undefined); - } else { - obj.events = []; - } - return obj; - }, - fromAmino(object: ABCIMessageLogAmino): ABCIMessageLog { - return { - msgIndex: object.msg_index, - log: object.log, - events: Array.isArray(object?.events) ? object.events.map((e: any) => StringEvent.fromAmino(e)) : [] - }; - }, - toAmino(message: ABCIMessageLog): ABCIMessageLogAmino { - const obj: any = {}; - obj.msg_index = message.msgIndex; - obj.log = message.log; - if (message.events) { - obj.events = message.events.map(e => e ? StringEvent.toAmino(e) : undefined); - } else { - obj.events = []; - } - return obj; - }, - fromAminoMsg(object: ABCIMessageLogAminoMsg): ABCIMessageLog { - return ABCIMessageLog.fromAmino(object.value); - }, - toAminoMsg(message: ABCIMessageLog): ABCIMessageLogAminoMsg { - return { - type: "cosmos-sdk/ABCIMessageLog", - value: ABCIMessageLog.toAmino(message) - }; - }, - fromProtoMsg(message: ABCIMessageLogProtoMsg): ABCIMessageLog { - return ABCIMessageLog.decode(message.value); - }, - toProto(message: ABCIMessageLog): Uint8Array { - return ABCIMessageLog.encode(message).finish(); - }, - toProtoMsg(message: ABCIMessageLog): ABCIMessageLogProtoMsg { - return { - typeUrl: "/cosmos.base.abci.v1beta1.ABCIMessageLog", - value: ABCIMessageLog.encode(message).finish() - }; - } -}; -function createBaseStringEvent(): StringEvent { - return { - type: "", - attributes: [] - }; -} -export const StringEvent = { - typeUrl: "/cosmos.base.abci.v1beta1.StringEvent", - aminoType: "cosmos-sdk/StringEvent", - encode(message: StringEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== "") { - writer.uint32(10).string(message.type); - } - for (const v of message.attributes) { - Attribute.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): StringEvent { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStringEvent(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - message.attributes.push(Attribute.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): StringEvent { - const obj = createBaseStringEvent(); - if (isSet(object.type)) obj.type = String(object.type); - if (Array.isArray(object?.attributes)) obj.attributes = object.attributes.map((e: any) => Attribute.fromJSON(e)); - return obj; - }, - toJSON(message: StringEvent): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - if (message.attributes) { - obj.attributes = message.attributes.map(e => e ? Attribute.toJSON(e) : undefined); - } else { - obj.attributes = []; - } - return obj; - }, - fromPartial(object: DeepPartial): StringEvent { - const message = createBaseStringEvent(); - message.type = object.type ?? ""; - message.attributes = object.attributes?.map(e => Attribute.fromPartial(e)) || []; - return message; - }, - fromSDK(object: StringEventSDKType): StringEvent { - return { - type: object?.type, - attributes: Array.isArray(object?.attributes) ? object.attributes.map((e: any) => Attribute.fromSDK(e)) : [] - }; - }, - toSDK(message: StringEvent): StringEventSDKType { - const obj: any = {}; - obj.type = message.type; - if (message.attributes) { - obj.attributes = message.attributes.map(e => e ? Attribute.toSDK(e) : undefined); - } else { - obj.attributes = []; - } - return obj; - }, - fromAmino(object: StringEventAmino): StringEvent { - return { - type: object.type, - attributes: Array.isArray(object?.attributes) ? object.attributes.map((e: any) => Attribute.fromAmino(e)) : [] - }; - }, - toAmino(message: StringEvent): StringEventAmino { - const obj: any = {}; - obj.type = message.type; - if (message.attributes) { - obj.attributes = message.attributes.map(e => e ? Attribute.toAmino(e) : undefined); - } else { - obj.attributes = []; - } - return obj; - }, - fromAminoMsg(object: StringEventAminoMsg): StringEvent { - return StringEvent.fromAmino(object.value); - }, - toAminoMsg(message: StringEvent): StringEventAminoMsg { - return { - type: "cosmos-sdk/StringEvent", - value: StringEvent.toAmino(message) - }; - }, - fromProtoMsg(message: StringEventProtoMsg): StringEvent { - return StringEvent.decode(message.value); - }, - toProto(message: StringEvent): Uint8Array { - return StringEvent.encode(message).finish(); - }, - toProtoMsg(message: StringEvent): StringEventProtoMsg { - return { - typeUrl: "/cosmos.base.abci.v1beta1.StringEvent", - value: StringEvent.encode(message).finish() - }; - } -}; -function createBaseAttribute(): Attribute { - return { - key: "", - value: "" - }; -} -export const Attribute = { - typeUrl: "/cosmos.base.abci.v1beta1.Attribute", - aminoType: "cosmos-sdk/Attribute", - encode(message: Attribute, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Attribute { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAttribute(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Attribute { - const obj = createBaseAttribute(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: Attribute): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): Attribute { - const message = createBaseAttribute(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: AttributeSDKType): Attribute { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: Attribute): AttributeSDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: AttributeAmino): Attribute { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: Attribute): AttributeAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: AttributeAminoMsg): Attribute { - return Attribute.fromAmino(object.value); - }, - toAminoMsg(message: Attribute): AttributeAminoMsg { - return { - type: "cosmos-sdk/Attribute", - value: Attribute.toAmino(message) - }; - }, - fromProtoMsg(message: AttributeProtoMsg): Attribute { - return Attribute.decode(message.value); - }, - toProto(message: Attribute): Uint8Array { - return Attribute.encode(message).finish(); - }, - toProtoMsg(message: Attribute): AttributeProtoMsg { - return { - typeUrl: "/cosmos.base.abci.v1beta1.Attribute", - value: Attribute.encode(message).finish() - }; - } -}; -function createBaseGasInfo(): GasInfo { - return { - gasWanted: Long.UZERO, - gasUsed: Long.UZERO - }; -} -export const GasInfo = { - typeUrl: "/cosmos.base.abci.v1beta1.GasInfo", - aminoType: "cosmos-sdk/GasInfo", - encode(message: GasInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.gasWanted.isZero()) { - writer.uint32(8).uint64(message.gasWanted); - } - if (!message.gasUsed.isZero()) { - writer.uint32(16).uint64(message.gasUsed); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GasInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGasInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.gasWanted = (reader.uint64() as Long); - break; - case 2: - message.gasUsed = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GasInfo { - const obj = createBaseGasInfo(); - if (isSet(object.gasWanted)) obj.gasWanted = Long.fromValue(object.gasWanted); - if (isSet(object.gasUsed)) obj.gasUsed = Long.fromValue(object.gasUsed); - return obj; - }, - toJSON(message: GasInfo): unknown { - const obj: any = {}; - message.gasWanted !== undefined && (obj.gasWanted = (message.gasWanted || Long.UZERO).toString()); - message.gasUsed !== undefined && (obj.gasUsed = (message.gasUsed || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): GasInfo { - const message = createBaseGasInfo(); - if (object.gasWanted !== undefined && object.gasWanted !== null) { - message.gasWanted = Long.fromValue(object.gasWanted); - } - if (object.gasUsed !== undefined && object.gasUsed !== null) { - message.gasUsed = Long.fromValue(object.gasUsed); - } - return message; - }, - fromSDK(object: GasInfoSDKType): GasInfo { - return { - gasWanted: object?.gas_wanted, - gasUsed: object?.gas_used - }; - }, - toSDK(message: GasInfo): GasInfoSDKType { - const obj: any = {}; - obj.gas_wanted = message.gasWanted; - obj.gas_used = message.gasUsed; - return obj; - }, - fromAmino(object: GasInfoAmino): GasInfo { - return { - gasWanted: Long.fromString(object.gas_wanted), - gasUsed: Long.fromString(object.gas_used) - }; - }, - toAmino(message: GasInfo): GasInfoAmino { - const obj: any = {}; - obj.gas_wanted = message.gasWanted ? message.gasWanted.toString() : undefined; - obj.gas_used = message.gasUsed ? message.gasUsed.toString() : undefined; - return obj; - }, - fromAminoMsg(object: GasInfoAminoMsg): GasInfo { - return GasInfo.fromAmino(object.value); - }, - toAminoMsg(message: GasInfo): GasInfoAminoMsg { - return { - type: "cosmos-sdk/GasInfo", - value: GasInfo.toAmino(message) - }; - }, - fromProtoMsg(message: GasInfoProtoMsg): GasInfo { - return GasInfo.decode(message.value); - }, - toProto(message: GasInfo): Uint8Array { - return GasInfo.encode(message).finish(); - }, - toProtoMsg(message: GasInfo): GasInfoProtoMsg { - return { - typeUrl: "/cosmos.base.abci.v1beta1.GasInfo", - value: GasInfo.encode(message).finish() - }; - } -}; -function createBaseResult(): Result { - return { - data: new Uint8Array(), - log: "", - events: [], - msgResponses: [] - }; -} -export const Result = { - typeUrl: "/cosmos.base.abci.v1beta1.Result", - aminoType: "cosmos-sdk/Result", - encode(message: Result, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - if (message.log !== "") { - writer.uint32(18).string(message.log); - } - for (const v of message.events) { - Event.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.msgResponses) { - Any.encode(v!, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Result { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResult(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.data = reader.bytes(); - break; - case 2: - message.log = reader.string(); - break; - case 3: - message.events.push(Event.decode(reader, reader.uint32())); - break; - case 4: - message.msgResponses.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Result { - const obj = createBaseResult(); - if (isSet(object.data)) obj.data = bytesFromBase64(object.data); - if (isSet(object.log)) obj.log = String(object.log); - if (Array.isArray(object?.events)) obj.events = object.events.map((e: any) => Event.fromJSON(e)); - if (Array.isArray(object?.msgResponses)) obj.msgResponses = object.msgResponses.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: Result): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - message.log !== undefined && (obj.log = message.log); - if (message.events) { - obj.events = message.events.map(e => e ? Event.toJSON(e) : undefined); - } else { - obj.events = []; - } - if (message.msgResponses) { - obj.msgResponses = message.msgResponses.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.msgResponses = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Result { - const message = createBaseResult(); - message.data = object.data ?? new Uint8Array(); - message.log = object.log ?? ""; - message.events = object.events?.map(e => Event.fromPartial(e)) || []; - message.msgResponses = object.msgResponses?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ResultSDKType): Result { - return { - data: object?.data, - log: object?.log, - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromSDK(e)) : [], - msgResponses: Array.isArray(object?.msg_responses) ? object.msg_responses.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: Result): ResultSDKType { - const obj: any = {}; - obj.data = message.data; - obj.log = message.log; - if (message.events) { - obj.events = message.events.map(e => e ? Event.toSDK(e) : undefined); - } else { - obj.events = []; - } - if (message.msgResponses) { - obj.msg_responses = message.msgResponses.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.msg_responses = []; - } - return obj; - }, - fromAmino(object: ResultAmino): Result { - return { - data: object.data, - log: object.log, - events: Array.isArray(object?.events) ? object.events.map((e: any) => Event.fromAmino(e)) : [], - msgResponses: Array.isArray(object?.msg_responses) ? object.msg_responses.map((e: any) => Any.fromAmino(e)) : [] - }; - }, - toAmino(message: Result): ResultAmino { - const obj: any = {}; - obj.data = message.data; - obj.log = message.log; - if (message.events) { - obj.events = message.events.map(e => e ? Event.toAmino(e) : undefined); - } else { - obj.events = []; - } - if (message.msgResponses) { - obj.msg_responses = message.msgResponses.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.msg_responses = []; - } - return obj; - }, - fromAminoMsg(object: ResultAminoMsg): Result { - return Result.fromAmino(object.value); - }, - toAminoMsg(message: Result): ResultAminoMsg { - return { - type: "cosmos-sdk/Result", - value: Result.toAmino(message) - }; - }, - fromProtoMsg(message: ResultProtoMsg): Result { - return Result.decode(message.value); - }, - toProto(message: Result): Uint8Array { - return Result.encode(message).finish(); - }, - toProtoMsg(message: Result): ResultProtoMsg { - return { - typeUrl: "/cosmos.base.abci.v1beta1.Result", - value: Result.encode(message).finish() - }; - } -}; -function createBaseSimulationResponse(): SimulationResponse { - return { - gasInfo: GasInfo.fromPartial({}), - result: Result.fromPartial({}) - }; -} -export const SimulationResponse = { - typeUrl: "/cosmos.base.abci.v1beta1.SimulationResponse", - aminoType: "cosmos-sdk/SimulationResponse", - encode(message: SimulationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.gasInfo !== undefined) { - GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim(); - } - if (message.result !== undefined) { - Result.encode(message.result, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SimulationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSimulationResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.gasInfo = GasInfo.decode(reader, reader.uint32()); - break; - case 2: - message.result = Result.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SimulationResponse { - const obj = createBaseSimulationResponse(); - if (isSet(object.gasInfo)) obj.gasInfo = GasInfo.fromJSON(object.gasInfo); - if (isSet(object.result)) obj.result = Result.fromJSON(object.result); - return obj; - }, - toJSON(message: SimulationResponse): unknown { - const obj: any = {}; - message.gasInfo !== undefined && (obj.gasInfo = message.gasInfo ? GasInfo.toJSON(message.gasInfo) : undefined); - message.result !== undefined && (obj.result = message.result ? Result.toJSON(message.result) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): SimulationResponse { - const message = createBaseSimulationResponse(); - if (object.gasInfo !== undefined && object.gasInfo !== null) { - message.gasInfo = GasInfo.fromPartial(object.gasInfo); - } - if (object.result !== undefined && object.result !== null) { - message.result = Result.fromPartial(object.result); - } - return message; - }, - fromSDK(object: SimulationResponseSDKType): SimulationResponse { - return { - gasInfo: object.gas_info ? GasInfo.fromSDK(object.gas_info) : undefined, - result: object.result ? Result.fromSDK(object.result) : undefined - }; - }, - toSDK(message: SimulationResponse): SimulationResponseSDKType { - const obj: any = {}; - message.gasInfo !== undefined && (obj.gas_info = message.gasInfo ? GasInfo.toSDK(message.gasInfo) : undefined); - message.result !== undefined && (obj.result = message.result ? Result.toSDK(message.result) : undefined); - return obj; - }, - fromAmino(object: SimulationResponseAmino): SimulationResponse { - return { - gasInfo: object?.gas_info ? GasInfo.fromAmino(object.gas_info) : undefined, - result: object?.result ? Result.fromAmino(object.result) : undefined - }; - }, - toAmino(message: SimulationResponse): SimulationResponseAmino { - const obj: any = {}; - obj.gas_info = message.gasInfo ? GasInfo.toAmino(message.gasInfo) : undefined; - obj.result = message.result ? Result.toAmino(message.result) : undefined; - return obj; - }, - fromAminoMsg(object: SimulationResponseAminoMsg): SimulationResponse { - return SimulationResponse.fromAmino(object.value); - }, - toAminoMsg(message: SimulationResponse): SimulationResponseAminoMsg { - return { - type: "cosmos-sdk/SimulationResponse", - value: SimulationResponse.toAmino(message) - }; - }, - fromProtoMsg(message: SimulationResponseProtoMsg): SimulationResponse { - return SimulationResponse.decode(message.value); - }, - toProto(message: SimulationResponse): Uint8Array { - return SimulationResponse.encode(message).finish(); - }, - toProtoMsg(message: SimulationResponse): SimulationResponseProtoMsg { - return { - typeUrl: "/cosmos.base.abci.v1beta1.SimulationResponse", - value: SimulationResponse.encode(message).finish() - }; - } -}; -function createBaseMsgData(): MsgData { - return { - msgType: "", - data: new Uint8Array() - }; -} -export const MsgData = { - typeUrl: "/cosmos.base.abci.v1beta1.MsgData", - aminoType: "cosmos-sdk/MsgData", - encode(message: MsgData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.msgType !== "") { - writer.uint32(10).string(message.msgType); - } - if (message.data.length !== 0) { - writer.uint32(18).bytes(message.data); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgData(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.msgType = reader.string(); - break; - case 2: - message.data = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgData { - const obj = createBaseMsgData(); - if (isSet(object.msgType)) obj.msgType = String(object.msgType); - if (isSet(object.data)) obj.data = bytesFromBase64(object.data); - return obj; - }, - toJSON(message: MsgData): unknown { - const obj: any = {}; - message.msgType !== undefined && (obj.msgType = message.msgType); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): MsgData { - const message = createBaseMsgData(); - message.msgType = object.msgType ?? ""; - message.data = object.data ?? new Uint8Array(); - return message; - }, - fromSDK(object: MsgDataSDKType): MsgData { - return { - msgType: object?.msg_type, - data: object?.data - }; - }, - toSDK(message: MsgData): MsgDataSDKType { - const obj: any = {}; - obj.msg_type = message.msgType; - obj.data = message.data; - return obj; - }, - fromAmino(object: MsgDataAmino): MsgData { - return { - msgType: object.msg_type, - data: object.data - }; - }, - toAmino(message: MsgData): MsgDataAmino { - const obj: any = {}; - obj.msg_type = message.msgType; - obj.data = message.data; - return obj; - }, - fromAminoMsg(object: MsgDataAminoMsg): MsgData { - return MsgData.fromAmino(object.value); - }, - toAminoMsg(message: MsgData): MsgDataAminoMsg { - return { - type: "cosmos-sdk/MsgData", - value: MsgData.toAmino(message) - }; - }, - fromProtoMsg(message: MsgDataProtoMsg): MsgData { - return MsgData.decode(message.value); - }, - toProto(message: MsgData): Uint8Array { - return MsgData.encode(message).finish(); - }, - toProtoMsg(message: MsgData): MsgDataProtoMsg { - return { - typeUrl: "/cosmos.base.abci.v1beta1.MsgData", - value: MsgData.encode(message).finish() - }; - } -}; -function createBaseTxMsgData(): TxMsgData { - return { - data: [], - msgResponses: [] - }; -} -export const TxMsgData = { - typeUrl: "/cosmos.base.abci.v1beta1.TxMsgData", - aminoType: "cosmos-sdk/TxMsgData", - encode(message: TxMsgData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.data) { - MsgData.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.msgResponses) { - Any.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TxMsgData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxMsgData(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.data.push(MsgData.decode(reader, reader.uint32())); - break; - case 2: - message.msgResponses.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TxMsgData { - const obj = createBaseTxMsgData(); - if (Array.isArray(object?.data)) obj.data = object.data.map((e: any) => MsgData.fromJSON(e)); - if (Array.isArray(object?.msgResponses)) obj.msgResponses = object.msgResponses.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: TxMsgData): unknown { - const obj: any = {}; - if (message.data) { - obj.data = message.data.map(e => e ? MsgData.toJSON(e) : undefined); - } else { - obj.data = []; - } - if (message.msgResponses) { - obj.msgResponses = message.msgResponses.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.msgResponses = []; - } - return obj; - }, - fromPartial(object: DeepPartial): TxMsgData { - const message = createBaseTxMsgData(); - message.data = object.data?.map(e => MsgData.fromPartial(e)) || []; - message.msgResponses = object.msgResponses?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: TxMsgDataSDKType): TxMsgData { - return { - data: Array.isArray(object?.data) ? object.data.map((e: any) => MsgData.fromSDK(e)) : [], - msgResponses: Array.isArray(object?.msg_responses) ? object.msg_responses.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: TxMsgData): TxMsgDataSDKType { - const obj: any = {}; - if (message.data) { - obj.data = message.data.map(e => e ? MsgData.toSDK(e) : undefined); - } else { - obj.data = []; - } - if (message.msgResponses) { - obj.msg_responses = message.msgResponses.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.msg_responses = []; - } - return obj; - }, - fromAmino(object: TxMsgDataAmino): TxMsgData { - return { - data: Array.isArray(object?.data) ? object.data.map((e: any) => MsgData.fromAmino(e)) : [], - msgResponses: Array.isArray(object?.msg_responses) ? object.msg_responses.map((e: any) => Any.fromAmino(e)) : [] - }; - }, - toAmino(message: TxMsgData): TxMsgDataAmino { - const obj: any = {}; - if (message.data) { - obj.data = message.data.map(e => e ? MsgData.toAmino(e) : undefined); - } else { - obj.data = []; - } - if (message.msgResponses) { - obj.msg_responses = message.msgResponses.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.msg_responses = []; - } - return obj; - }, - fromAminoMsg(object: TxMsgDataAminoMsg): TxMsgData { - return TxMsgData.fromAmino(object.value); - }, - toAminoMsg(message: TxMsgData): TxMsgDataAminoMsg { - return { - type: "cosmos-sdk/TxMsgData", - value: TxMsgData.toAmino(message) - }; - }, - fromProtoMsg(message: TxMsgDataProtoMsg): TxMsgData { - return TxMsgData.decode(message.value); - }, - toProto(message: TxMsgData): Uint8Array { - return TxMsgData.encode(message).finish(); - }, - toProtoMsg(message: TxMsgData): TxMsgDataProtoMsg { - return { - typeUrl: "/cosmos.base.abci.v1beta1.TxMsgData", - value: TxMsgData.encode(message).finish() - }; - } -}; -function createBaseSearchTxsResult(): SearchTxsResult { - return { - totalCount: Long.UZERO, - count: Long.UZERO, - pageNumber: Long.UZERO, - pageTotal: Long.UZERO, - limit: Long.UZERO, - txs: [] - }; -} -export const SearchTxsResult = { - typeUrl: "/cosmos.base.abci.v1beta1.SearchTxsResult", - aminoType: "cosmos-sdk/SearchTxsResult", - encode(message: SearchTxsResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.totalCount.isZero()) { - writer.uint32(8).uint64(message.totalCount); - } - if (!message.count.isZero()) { - writer.uint32(16).uint64(message.count); - } - if (!message.pageNumber.isZero()) { - writer.uint32(24).uint64(message.pageNumber); - } - if (!message.pageTotal.isZero()) { - writer.uint32(32).uint64(message.pageTotal); - } - if (!message.limit.isZero()) { - writer.uint32(40).uint64(message.limit); - } - for (const v of message.txs) { - TxResponse.encode(v!, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SearchTxsResult { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSearchTxsResult(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.totalCount = (reader.uint64() as Long); - break; - case 2: - message.count = (reader.uint64() as Long); - break; - case 3: - message.pageNumber = (reader.uint64() as Long); - break; - case 4: - message.pageTotal = (reader.uint64() as Long); - break; - case 5: - message.limit = (reader.uint64() as Long); - break; - case 6: - message.txs.push(TxResponse.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SearchTxsResult { - const obj = createBaseSearchTxsResult(); - if (isSet(object.totalCount)) obj.totalCount = Long.fromValue(object.totalCount); - if (isSet(object.count)) obj.count = Long.fromValue(object.count); - if (isSet(object.pageNumber)) obj.pageNumber = Long.fromValue(object.pageNumber); - if (isSet(object.pageTotal)) obj.pageTotal = Long.fromValue(object.pageTotal); - if (isSet(object.limit)) obj.limit = Long.fromValue(object.limit); - if (Array.isArray(object?.txs)) obj.txs = object.txs.map((e: any) => TxResponse.fromJSON(e)); - return obj; - }, - toJSON(message: SearchTxsResult): unknown { - const obj: any = {}; - message.totalCount !== undefined && (obj.totalCount = (message.totalCount || Long.UZERO).toString()); - message.count !== undefined && (obj.count = (message.count || Long.UZERO).toString()); - message.pageNumber !== undefined && (obj.pageNumber = (message.pageNumber || Long.UZERO).toString()); - message.pageTotal !== undefined && (obj.pageTotal = (message.pageTotal || Long.UZERO).toString()); - message.limit !== undefined && (obj.limit = (message.limit || Long.UZERO).toString()); - if (message.txs) { - obj.txs = message.txs.map(e => e ? TxResponse.toJSON(e) : undefined); - } else { - obj.txs = []; - } - return obj; - }, - fromPartial(object: DeepPartial): SearchTxsResult { - const message = createBaseSearchTxsResult(); - if (object.totalCount !== undefined && object.totalCount !== null) { - message.totalCount = Long.fromValue(object.totalCount); - } - if (object.count !== undefined && object.count !== null) { - message.count = Long.fromValue(object.count); - } - if (object.pageNumber !== undefined && object.pageNumber !== null) { - message.pageNumber = Long.fromValue(object.pageNumber); - } - if (object.pageTotal !== undefined && object.pageTotal !== null) { - message.pageTotal = Long.fromValue(object.pageTotal); - } - if (object.limit !== undefined && object.limit !== null) { - message.limit = Long.fromValue(object.limit); - } - message.txs = object.txs?.map(e => TxResponse.fromPartial(e)) || []; - return message; - }, - fromSDK(object: SearchTxsResultSDKType): SearchTxsResult { - return { - totalCount: object?.total_count, - count: object?.count, - pageNumber: object?.page_number, - pageTotal: object?.page_total, - limit: object?.limit, - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => TxResponse.fromSDK(e)) : [] - }; - }, - toSDK(message: SearchTxsResult): SearchTxsResultSDKType { - const obj: any = {}; - obj.total_count = message.totalCount; - obj.count = message.count; - obj.page_number = message.pageNumber; - obj.page_total = message.pageTotal; - obj.limit = message.limit; - if (message.txs) { - obj.txs = message.txs.map(e => e ? TxResponse.toSDK(e) : undefined); - } else { - obj.txs = []; - } - return obj; - }, - fromAmino(object: SearchTxsResultAmino): SearchTxsResult { - return { - totalCount: Long.fromString(object.total_count), - count: Long.fromString(object.count), - pageNumber: Long.fromString(object.page_number), - pageTotal: Long.fromString(object.page_total), - limit: Long.fromString(object.limit), - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => TxResponse.fromAmino(e)) : [] - }; - }, - toAmino(message: SearchTxsResult): SearchTxsResultAmino { - const obj: any = {}; - obj.total_count = message.totalCount ? message.totalCount.toString() : undefined; - obj.count = message.count ? message.count.toString() : undefined; - obj.page_number = message.pageNumber ? message.pageNumber.toString() : undefined; - obj.page_total = message.pageTotal ? message.pageTotal.toString() : undefined; - obj.limit = message.limit ? message.limit.toString() : undefined; - if (message.txs) { - obj.txs = message.txs.map(e => e ? TxResponse.toAmino(e) : undefined); - } else { - obj.txs = []; - } - return obj; - }, - fromAminoMsg(object: SearchTxsResultAminoMsg): SearchTxsResult { - return SearchTxsResult.fromAmino(object.value); - }, - toAminoMsg(message: SearchTxsResult): SearchTxsResultAminoMsg { - return { - type: "cosmos-sdk/SearchTxsResult", - value: SearchTxsResult.toAmino(message) - }; - }, - fromProtoMsg(message: SearchTxsResultProtoMsg): SearchTxsResult { - return SearchTxsResult.decode(message.value); - }, - toProto(message: SearchTxsResult): Uint8Array { - return SearchTxsResult.encode(message).finish(); - }, - toProtoMsg(message: SearchTxsResult): SearchTxsResultProtoMsg { - return { - typeUrl: "/cosmos.base.abci.v1beta1.SearchTxsResult", - value: SearchTxsResult.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/kv/v1beta1/kv.ts b/quicksilverjs/src/codegen/cosmos/base/kv/v1beta1/kv.ts deleted file mode 100644 index 7ce772753..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/kv/v1beta1/kv.ts +++ /dev/null @@ -1,248 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; -export const protobufPackage = "cosmos.base.kv.v1beta1"; -/** Pairs defines a repeated slice of Pair objects. */ -export interface Pairs { - pairs: Pair[]; -} -export interface PairsProtoMsg { - typeUrl: "/cosmos.base.kv.v1beta1.Pairs"; - value: Uint8Array; -} -/** Pairs defines a repeated slice of Pair objects. */ -export interface PairsAmino { - pairs: PairAmino[]; -} -export interface PairsAminoMsg { - type: "cosmos-sdk/Pairs"; - value: PairsAmino; -} -/** Pairs defines a repeated slice of Pair objects. */ -export interface PairsSDKType { - pairs: PairSDKType[]; -} -/** Pair defines a key/value bytes tuple. */ -export interface Pair { - key: Uint8Array; - value: Uint8Array; -} -export interface PairProtoMsg { - typeUrl: "/cosmos.base.kv.v1beta1.Pair"; - value: Uint8Array; -} -/** Pair defines a key/value bytes tuple. */ -export interface PairAmino { - key: Uint8Array; - value: Uint8Array; -} -export interface PairAminoMsg { - type: "cosmos-sdk/Pair"; - value: PairAmino; -} -/** Pair defines a key/value bytes tuple. */ -export interface PairSDKType { - key: Uint8Array; - value: Uint8Array; -} -function createBasePairs(): Pairs { - return { - pairs: [] - }; -} -export const Pairs = { - typeUrl: "/cosmos.base.kv.v1beta1.Pairs", - aminoType: "cosmos-sdk/Pairs", - encode(message: Pairs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.pairs) { - Pair.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Pairs { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePairs(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pairs.push(Pair.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Pairs { - const obj = createBasePairs(); - if (Array.isArray(object?.pairs)) obj.pairs = object.pairs.map((e: any) => Pair.fromJSON(e)); - return obj; - }, - toJSON(message: Pairs): unknown { - const obj: any = {}; - if (message.pairs) { - obj.pairs = message.pairs.map(e => e ? Pair.toJSON(e) : undefined); - } else { - obj.pairs = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Pairs { - const message = createBasePairs(); - message.pairs = object.pairs?.map(e => Pair.fromPartial(e)) || []; - return message; - }, - fromSDK(object: PairsSDKType): Pairs { - return { - pairs: Array.isArray(object?.pairs) ? object.pairs.map((e: any) => Pair.fromSDK(e)) : [] - }; - }, - toSDK(message: Pairs): PairsSDKType { - const obj: any = {}; - if (message.pairs) { - obj.pairs = message.pairs.map(e => e ? Pair.toSDK(e) : undefined); - } else { - obj.pairs = []; - } - return obj; - }, - fromAmino(object: PairsAmino): Pairs { - return { - pairs: Array.isArray(object?.pairs) ? object.pairs.map((e: any) => Pair.fromAmino(e)) : [] - }; - }, - toAmino(message: Pairs): PairsAmino { - const obj: any = {}; - if (message.pairs) { - obj.pairs = message.pairs.map(e => e ? Pair.toAmino(e) : undefined); - } else { - obj.pairs = []; - } - return obj; - }, - fromAminoMsg(object: PairsAminoMsg): Pairs { - return Pairs.fromAmino(object.value); - }, - toAminoMsg(message: Pairs): PairsAminoMsg { - return { - type: "cosmos-sdk/Pairs", - value: Pairs.toAmino(message) - }; - }, - fromProtoMsg(message: PairsProtoMsg): Pairs { - return Pairs.decode(message.value); - }, - toProto(message: Pairs): Uint8Array { - return Pairs.encode(message).finish(); - }, - toProtoMsg(message: Pairs): PairsProtoMsg { - return { - typeUrl: "/cosmos.base.kv.v1beta1.Pairs", - value: Pairs.encode(message).finish() - }; - } -}; -function createBasePair(): Pair { - return { - key: new Uint8Array(), - value: new Uint8Array() - }; -} -export const Pair = { - typeUrl: "/cosmos.base.kv.v1beta1.Pair", - aminoType: "cosmos-sdk/Pair", - encode(message: Pair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Pair { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePair(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.value = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Pair { - const obj = createBasePair(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - if (isSet(object.value)) obj.value = bytesFromBase64(object.value); - return obj; - }, - toJSON(message: Pair): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): Pair { - const message = createBasePair(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - return message; - }, - fromSDK(object: PairSDKType): Pair { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: Pair): PairSDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: PairAmino): Pair { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: Pair): PairAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: PairAminoMsg): Pair { - return Pair.fromAmino(object.value); - }, - toAminoMsg(message: Pair): PairAminoMsg { - return { - type: "cosmos-sdk/Pair", - value: Pair.toAmino(message) - }; - }, - fromProtoMsg(message: PairProtoMsg): Pair { - return Pair.decode(message.value); - }, - toProto(message: Pair): Uint8Array { - return Pair.encode(message).finish(); - }, - toProtoMsg(message: Pair): PairProtoMsg { - return { - typeUrl: "/cosmos.base.kv.v1beta1.Pair", - value: Pair.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/query/v1beta1/pagination.ts b/quicksilverjs/src/codegen/cosmos/base/query/v1beta1/pagination.ts deleted file mode 100644 index 75274c762..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/query/v1beta1/pagination.ts +++ /dev/null @@ -1,426 +0,0 @@ -import { Long, isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.base.query.v1beta1"; -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ -export interface PageRequest { - /** - * key is a value returned in PageResponse.next_key to begin - * querying the next page most efficiently. Only one of offset or key - * should be set. - */ - key: Uint8Array; - /** - * offset is a numeric offset that can be used when key is unavailable. - * It is less efficient than using key. Only one of offset or key should - * be set. - */ - offset: Long; - /** - * limit is the total number of results to be returned in the result page. - * If left empty it will default to a value to be set by each app. - */ - limit: Long; - /** - * count_total is set to true to indicate that the result set should include - * a count of the total number of items available for pagination in UIs. - * count_total is only respected when offset is used. It is ignored when key - * is set. - */ - countTotal: boolean; - /** - * reverse is set to true if results are to be returned in the descending order. - * - * Since: cosmos-sdk 0.43 - */ - reverse: boolean; -} -export interface PageRequestProtoMsg { - typeUrl: "/cosmos.base.query.v1beta1.PageRequest"; - value: Uint8Array; -} -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ -export interface PageRequestAmino { - /** - * key is a value returned in PageResponse.next_key to begin - * querying the next page most efficiently. Only one of offset or key - * should be set. - */ - key: Uint8Array; - /** - * offset is a numeric offset that can be used when key is unavailable. - * It is less efficient than using key. Only one of offset or key should - * be set. - */ - offset: string; - /** - * limit is the total number of results to be returned in the result page. - * If left empty it will default to a value to be set by each app. - */ - limit: string; - /** - * count_total is set to true to indicate that the result set should include - * a count of the total number of items available for pagination in UIs. - * count_total is only respected when offset is used. It is ignored when key - * is set. - */ - count_total: boolean; - /** - * reverse is set to true if results are to be returned in the descending order. - * - * Since: cosmos-sdk 0.43 - */ - reverse: boolean; -} -export interface PageRequestAminoMsg { - type: "cosmos-sdk/PageRequest"; - value: PageRequestAmino; -} -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ -export interface PageRequestSDKType { - key: Uint8Array; - offset: Long; - limit: Long; - count_total: boolean; - reverse: boolean; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ -export interface PageResponse { - /** - * next_key is the key to be passed to PageRequest.key to - * query the next page most efficiently. It will be empty if - * there are no more results. - */ - nextKey: Uint8Array; - /** - * total is total number of results available if PageRequest.count_total - * was set, its value is undefined otherwise - */ - total: Long; -} -export interface PageResponseProtoMsg { - typeUrl: "/cosmos.base.query.v1beta1.PageResponse"; - value: Uint8Array; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ -export interface PageResponseAmino { - /** - * next_key is the key to be passed to PageRequest.key to - * query the next page most efficiently. It will be empty if - * there are no more results. - */ - next_key: Uint8Array; - /** - * total is total number of results available if PageRequest.count_total - * was set, its value is undefined otherwise - */ - total: string; -} -export interface PageResponseAminoMsg { - type: "cosmos-sdk/PageResponse"; - value: PageResponseAmino; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ -export interface PageResponseSDKType { - next_key: Uint8Array; - total: Long; -} -function createBasePageRequest(): PageRequest { - return { - key: new Uint8Array(), - offset: Long.UZERO, - limit: Long.UZERO, - countTotal: false, - reverse: false - }; -} -export const PageRequest = { - typeUrl: "/cosmos.base.query.v1beta1.PageRequest", - aminoType: "cosmos-sdk/PageRequest", - encode(message: PageRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (!message.offset.isZero()) { - writer.uint32(16).uint64(message.offset); - } - if (!message.limit.isZero()) { - writer.uint32(24).uint64(message.limit); - } - if (message.countTotal === true) { - writer.uint32(32).bool(message.countTotal); - } - if (message.reverse === true) { - writer.uint32(40).bool(message.reverse); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PageRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePageRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.offset = (reader.uint64() as Long); - break; - case 3: - message.limit = (reader.uint64() as Long); - break; - case 4: - message.countTotal = reader.bool(); - break; - case 5: - message.reverse = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PageRequest { - const obj = createBasePageRequest(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - if (isSet(object.offset)) obj.offset = Long.fromValue(object.offset); - if (isSet(object.limit)) obj.limit = Long.fromValue(object.limit); - if (isSet(object.countTotal)) obj.countTotal = Boolean(object.countTotal); - if (isSet(object.reverse)) obj.reverse = Boolean(object.reverse); - return obj; - }, - toJSON(message: PageRequest): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.offset !== undefined && (obj.offset = (message.offset || Long.UZERO).toString()); - message.limit !== undefined && (obj.limit = (message.limit || Long.UZERO).toString()); - message.countTotal !== undefined && (obj.countTotal = message.countTotal); - message.reverse !== undefined && (obj.reverse = message.reverse); - return obj; - }, - fromPartial(object: DeepPartial): PageRequest { - const message = createBasePageRequest(); - message.key = object.key ?? new Uint8Array(); - if (object.offset !== undefined && object.offset !== null) { - message.offset = Long.fromValue(object.offset); - } - if (object.limit !== undefined && object.limit !== null) { - message.limit = Long.fromValue(object.limit); - } - message.countTotal = object.countTotal ?? false; - message.reverse = object.reverse ?? false; - return message; - }, - fromSDK(object: PageRequestSDKType): PageRequest { - return { - key: object?.key, - offset: object?.offset, - limit: object?.limit, - countTotal: object?.count_total, - reverse: object?.reverse - }; - }, - toSDK(message: PageRequest): PageRequestSDKType { - const obj: any = {}; - obj.key = message.key; - obj.offset = message.offset; - obj.limit = message.limit; - obj.count_total = message.countTotal; - obj.reverse = message.reverse; - return obj; - }, - fromAmino(object: PageRequestAmino): PageRequest { - return { - key: object.key, - offset: Long.fromString(object.offset), - limit: Long.fromString(object.limit), - countTotal: object.count_total, - reverse: object.reverse - }; - }, - toAmino(message: PageRequest): PageRequestAmino { - const obj: any = {}; - obj.key = message.key; - obj.offset = message.offset ? message.offset.toString() : undefined; - obj.limit = message.limit ? message.limit.toString() : undefined; - obj.count_total = message.countTotal; - obj.reverse = message.reverse; - return obj; - }, - fromAminoMsg(object: PageRequestAminoMsg): PageRequest { - return PageRequest.fromAmino(object.value); - }, - toAminoMsg(message: PageRequest): PageRequestAminoMsg { - return { - type: "cosmos-sdk/PageRequest", - value: PageRequest.toAmino(message) - }; - }, - fromProtoMsg(message: PageRequestProtoMsg): PageRequest { - return PageRequest.decode(message.value); - }, - toProto(message: PageRequest): Uint8Array { - return PageRequest.encode(message).finish(); - }, - toProtoMsg(message: PageRequest): PageRequestProtoMsg { - return { - typeUrl: "/cosmos.base.query.v1beta1.PageRequest", - value: PageRequest.encode(message).finish() - }; - } -}; -function createBasePageResponse(): PageResponse { - return { - nextKey: new Uint8Array(), - total: Long.UZERO - }; -} -export const PageResponse = { - typeUrl: "/cosmos.base.query.v1beta1.PageResponse", - aminoType: "cosmos-sdk/PageResponse", - encode(message: PageResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nextKey.length !== 0) { - writer.uint32(10).bytes(message.nextKey); - } - if (!message.total.isZero()) { - writer.uint32(16).uint64(message.total); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PageResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePageResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.nextKey = reader.bytes(); - break; - case 2: - message.total = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PageResponse { - const obj = createBasePageResponse(); - if (isSet(object.nextKey)) obj.nextKey = bytesFromBase64(object.nextKey); - if (isSet(object.total)) obj.total = Long.fromValue(object.total); - return obj; - }, - toJSON(message: PageResponse): unknown { - const obj: any = {}; - message.nextKey !== undefined && (obj.nextKey = base64FromBytes(message.nextKey !== undefined ? message.nextKey : new Uint8Array())); - message.total !== undefined && (obj.total = (message.total || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): PageResponse { - const message = createBasePageResponse(); - message.nextKey = object.nextKey ?? new Uint8Array(); - if (object.total !== undefined && object.total !== null) { - message.total = Long.fromValue(object.total); - } - return message; - }, - fromSDK(object: PageResponseSDKType): PageResponse { - return { - nextKey: object?.next_key, - total: object?.total - }; - }, - toSDK(message: PageResponse): PageResponseSDKType { - const obj: any = {}; - obj.next_key = message.nextKey; - obj.total = message.total; - return obj; - }, - fromAmino(object: PageResponseAmino): PageResponse { - return { - nextKey: object.next_key, - total: Long.fromString(object.total) - }; - }, - toAmino(message: PageResponse): PageResponseAmino { - const obj: any = {}; - obj.next_key = message.nextKey; - obj.total = message.total ? message.total.toString() : undefined; - return obj; - }, - fromAminoMsg(object: PageResponseAminoMsg): PageResponse { - return PageResponse.fromAmino(object.value); - }, - toAminoMsg(message: PageResponse): PageResponseAminoMsg { - return { - type: "cosmos-sdk/PageResponse", - value: PageResponse.toAmino(message) - }; - }, - fromProtoMsg(message: PageResponseProtoMsg): PageResponse { - return PageResponse.decode(message.value); - }, - toProto(message: PageResponse): Uint8Array { - return PageResponse.encode(message).finish(); - }, - toProtoMsg(message: PageResponse): PageResponseProtoMsg { - return { - typeUrl: "/cosmos.base.query.v1beta1.PageResponse", - value: PageResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts b/quicksilverjs/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts deleted file mode 100644 index d1917fbb2..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +++ /dev/null @@ -1,458 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../../../helpers"; -export const protobufPackage = "cosmos.base.reflection.v1beta1"; -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequest {} -export interface ListAllInterfacesRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesRequest"; - value: Uint8Array; -} -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequestAmino {} -export interface ListAllInterfacesRequestAminoMsg { - type: "cosmos-sdk/ListAllInterfacesRequest"; - value: ListAllInterfacesRequestAmino; -} -/** ListAllInterfacesRequest is the request type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesRequestSDKType {} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponse { - /** interface_names is an array of all the registered interfaces. */ - interfaceNames: string[]; -} -export interface ListAllInterfacesResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse"; - value: Uint8Array; -} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponseAmino { - /** interface_names is an array of all the registered interfaces. */ - interface_names: string[]; -} -export interface ListAllInterfacesResponseAminoMsg { - type: "cosmos-sdk/ListAllInterfacesResponse"; - value: ListAllInterfacesResponseAmino; -} -/** ListAllInterfacesResponse is the response type of the ListAllInterfaces RPC. */ -export interface ListAllInterfacesResponseSDKType { - interface_names: string[]; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequest { - /** interface_name defines the interface to query the implementations for. */ - interfaceName: string; -} -export interface ListImplementationsRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsRequest"; - value: Uint8Array; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequestAmino { - /** interface_name defines the interface to query the implementations for. */ - interface_name: string; -} -export interface ListImplementationsRequestAminoMsg { - type: "cosmos-sdk/ListImplementationsRequest"; - value: ListImplementationsRequestAmino; -} -/** - * ListImplementationsRequest is the request type of the ListImplementations - * RPC. - */ -export interface ListImplementationsRequestSDKType { - interface_name: string; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponse { - implementationMessageNames: string[]; -} -export interface ListImplementationsResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsResponse"; - value: Uint8Array; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponseAmino { - implementation_message_names: string[]; -} -export interface ListImplementationsResponseAminoMsg { - type: "cosmos-sdk/ListImplementationsResponse"; - value: ListImplementationsResponseAmino; -} -/** - * ListImplementationsResponse is the response type of the ListImplementations - * RPC. - */ -export interface ListImplementationsResponseSDKType { - implementation_message_names: string[]; -} -function createBaseListAllInterfacesRequest(): ListAllInterfacesRequest { - return {}; -} -export const ListAllInterfacesRequest = { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesRequest", - aminoType: "cosmos-sdk/ListAllInterfacesRequest", - encode(_: ListAllInterfacesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListAllInterfacesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): ListAllInterfacesRequest { - const obj = createBaseListAllInterfacesRequest(); - return obj; - }, - toJSON(_: ListAllInterfacesRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): ListAllInterfacesRequest { - const message = createBaseListAllInterfacesRequest(); - return message; - }, - fromSDK(_: ListAllInterfacesRequestSDKType): ListAllInterfacesRequest { - return {}; - }, - toSDK(_: ListAllInterfacesRequest): ListAllInterfacesRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: ListAllInterfacesRequestAmino): ListAllInterfacesRequest { - return {}; - }, - toAmino(_: ListAllInterfacesRequest): ListAllInterfacesRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: ListAllInterfacesRequestAminoMsg): ListAllInterfacesRequest { - return ListAllInterfacesRequest.fromAmino(object.value); - }, - toAminoMsg(message: ListAllInterfacesRequest): ListAllInterfacesRequestAminoMsg { - return { - type: "cosmos-sdk/ListAllInterfacesRequest", - value: ListAllInterfacesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: ListAllInterfacesRequestProtoMsg): ListAllInterfacesRequest { - return ListAllInterfacesRequest.decode(message.value); - }, - toProto(message: ListAllInterfacesRequest): Uint8Array { - return ListAllInterfacesRequest.encode(message).finish(); - }, - toProtoMsg(message: ListAllInterfacesRequest): ListAllInterfacesRequestProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesRequest", - value: ListAllInterfacesRequest.encode(message).finish() - }; - } -}; -function createBaseListAllInterfacesResponse(): ListAllInterfacesResponse { - return { - interfaceNames: [] - }; -} -export const ListAllInterfacesResponse = { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse", - aminoType: "cosmos-sdk/ListAllInterfacesResponse", - encode(message: ListAllInterfacesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.interfaceNames) { - writer.uint32(10).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListAllInterfacesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.interfaceNames.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListAllInterfacesResponse { - const obj = createBaseListAllInterfacesResponse(); - if (Array.isArray(object?.interfaceNames)) obj.interfaceNames = object.interfaceNames.map((e: any) => String(e)); - return obj; - }, - toJSON(message: ListAllInterfacesResponse): unknown { - const obj: any = {}; - if (message.interfaceNames) { - obj.interfaceNames = message.interfaceNames.map(e => e); - } else { - obj.interfaceNames = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ListAllInterfacesResponse { - const message = createBaseListAllInterfacesResponse(); - message.interfaceNames = object.interfaceNames?.map(e => e) || []; - return message; - }, - fromSDK(object: ListAllInterfacesResponseSDKType): ListAllInterfacesResponse { - return { - interfaceNames: Array.isArray(object?.interface_names) ? object.interface_names.map((e: any) => e) : [] - }; - }, - toSDK(message: ListAllInterfacesResponse): ListAllInterfacesResponseSDKType { - const obj: any = {}; - if (message.interfaceNames) { - obj.interface_names = message.interfaceNames.map(e => e); - } else { - obj.interface_names = []; - } - return obj; - }, - fromAmino(object: ListAllInterfacesResponseAmino): ListAllInterfacesResponse { - return { - interfaceNames: Array.isArray(object?.interface_names) ? object.interface_names.map((e: any) => e) : [] - }; - }, - toAmino(message: ListAllInterfacesResponse): ListAllInterfacesResponseAmino { - const obj: any = {}; - if (message.interfaceNames) { - obj.interface_names = message.interfaceNames.map(e => e); - } else { - obj.interface_names = []; - } - return obj; - }, - fromAminoMsg(object: ListAllInterfacesResponseAminoMsg): ListAllInterfacesResponse { - return ListAllInterfacesResponse.fromAmino(object.value); - }, - toAminoMsg(message: ListAllInterfacesResponse): ListAllInterfacesResponseAminoMsg { - return { - type: "cosmos-sdk/ListAllInterfacesResponse", - value: ListAllInterfacesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: ListAllInterfacesResponseProtoMsg): ListAllInterfacesResponse { - return ListAllInterfacesResponse.decode(message.value); - }, - toProto(message: ListAllInterfacesResponse): Uint8Array { - return ListAllInterfacesResponse.encode(message).finish(); - }, - toProtoMsg(message: ListAllInterfacesResponse): ListAllInterfacesResponseProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v1beta1.ListAllInterfacesResponse", - value: ListAllInterfacesResponse.encode(message).finish() - }; - } -}; -function createBaseListImplementationsRequest(): ListImplementationsRequest { - return { - interfaceName: "" - }; -} -export const ListImplementationsRequest = { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsRequest", - aminoType: "cosmos-sdk/ListImplementationsRequest", - encode(message: ListImplementationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.interfaceName !== "") { - writer.uint32(10).string(message.interfaceName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListImplementationsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.interfaceName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListImplementationsRequest { - const obj = createBaseListImplementationsRequest(); - if (isSet(object.interfaceName)) obj.interfaceName = String(object.interfaceName); - return obj; - }, - toJSON(message: ListImplementationsRequest): unknown { - const obj: any = {}; - message.interfaceName !== undefined && (obj.interfaceName = message.interfaceName); - return obj; - }, - fromPartial(object: DeepPartial): ListImplementationsRequest { - const message = createBaseListImplementationsRequest(); - message.interfaceName = object.interfaceName ?? ""; - return message; - }, - fromSDK(object: ListImplementationsRequestSDKType): ListImplementationsRequest { - return { - interfaceName: object?.interface_name - }; - }, - toSDK(message: ListImplementationsRequest): ListImplementationsRequestSDKType { - const obj: any = {}; - obj.interface_name = message.interfaceName; - return obj; - }, - fromAmino(object: ListImplementationsRequestAmino): ListImplementationsRequest { - return { - interfaceName: object.interface_name - }; - }, - toAmino(message: ListImplementationsRequest): ListImplementationsRequestAmino { - const obj: any = {}; - obj.interface_name = message.interfaceName; - return obj; - }, - fromAminoMsg(object: ListImplementationsRequestAminoMsg): ListImplementationsRequest { - return ListImplementationsRequest.fromAmino(object.value); - }, - toAminoMsg(message: ListImplementationsRequest): ListImplementationsRequestAminoMsg { - return { - type: "cosmos-sdk/ListImplementationsRequest", - value: ListImplementationsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: ListImplementationsRequestProtoMsg): ListImplementationsRequest { - return ListImplementationsRequest.decode(message.value); - }, - toProto(message: ListImplementationsRequest): Uint8Array { - return ListImplementationsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListImplementationsRequest): ListImplementationsRequestProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsRequest", - value: ListImplementationsRequest.encode(message).finish() - }; - } -}; -function createBaseListImplementationsResponse(): ListImplementationsResponse { - return { - implementationMessageNames: [] - }; -} -export const ListImplementationsResponse = { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsResponse", - aminoType: "cosmos-sdk/ListImplementationsResponse", - encode(message: ListImplementationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.implementationMessageNames) { - writer.uint32(10).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListImplementationsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.implementationMessageNames.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListImplementationsResponse { - const obj = createBaseListImplementationsResponse(); - if (Array.isArray(object?.implementationMessageNames)) obj.implementationMessageNames = object.implementationMessageNames.map((e: any) => String(e)); - return obj; - }, - toJSON(message: ListImplementationsResponse): unknown { - const obj: any = {}; - if (message.implementationMessageNames) { - obj.implementationMessageNames = message.implementationMessageNames.map(e => e); - } else { - obj.implementationMessageNames = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ListImplementationsResponse { - const message = createBaseListImplementationsResponse(); - message.implementationMessageNames = object.implementationMessageNames?.map(e => e) || []; - return message; - }, - fromSDK(object: ListImplementationsResponseSDKType): ListImplementationsResponse { - return { - implementationMessageNames: Array.isArray(object?.implementation_message_names) ? object.implementation_message_names.map((e: any) => e) : [] - }; - }, - toSDK(message: ListImplementationsResponse): ListImplementationsResponseSDKType { - const obj: any = {}; - if (message.implementationMessageNames) { - obj.implementation_message_names = message.implementationMessageNames.map(e => e); - } else { - obj.implementation_message_names = []; - } - return obj; - }, - fromAmino(object: ListImplementationsResponseAmino): ListImplementationsResponse { - return { - implementationMessageNames: Array.isArray(object?.implementation_message_names) ? object.implementation_message_names.map((e: any) => e) : [] - }; - }, - toAmino(message: ListImplementationsResponse): ListImplementationsResponseAmino { - const obj: any = {}; - if (message.implementationMessageNames) { - obj.implementation_message_names = message.implementationMessageNames.map(e => e); - } else { - obj.implementation_message_names = []; - } - return obj; - }, - fromAminoMsg(object: ListImplementationsResponseAminoMsg): ListImplementationsResponse { - return ListImplementationsResponse.fromAmino(object.value); - }, - toAminoMsg(message: ListImplementationsResponse): ListImplementationsResponseAminoMsg { - return { - type: "cosmos-sdk/ListImplementationsResponse", - value: ListImplementationsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: ListImplementationsResponseProtoMsg): ListImplementationsResponse { - return ListImplementationsResponse.decode(message.value); - }, - toProto(message: ListImplementationsResponse): Uint8Array { - return ListImplementationsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListImplementationsResponse): ListImplementationsResponseProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v1beta1.ListImplementationsResponse", - value: ListImplementationsResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts b/quicksilverjs/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts deleted file mode 100644 index 26b513e48..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +++ /dev/null @@ -1,3219 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../../helpers"; -export const protobufPackage = "cosmos.base.reflection.v2alpha1"; -/** AppDescriptor describes a cosmos-sdk based application */ -export interface AppDescriptor { - /** - * AuthnDescriptor provides information on how to authenticate transactions on the application - * NOTE: experimental and subject to change in future releases. - */ - authn: AuthnDescriptor; - /** chain provides the chain descriptor */ - chain: ChainDescriptor; - /** codec provides metadata information regarding codec related types */ - codec: CodecDescriptor; - /** configuration provides metadata information regarding the sdk.Config type */ - configuration: ConfigurationDescriptor; - /** query_services provides metadata information regarding the available queriable endpoints */ - queryServices: QueryServicesDescriptor; - /** tx provides metadata information regarding how to send transactions to the given application */ - tx: TxDescriptor; -} -export interface AppDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.AppDescriptor"; - value: Uint8Array; -} -/** AppDescriptor describes a cosmos-sdk based application */ -export interface AppDescriptorAmino { - /** - * AuthnDescriptor provides information on how to authenticate transactions on the application - * NOTE: experimental and subject to change in future releases. - */ - authn?: AuthnDescriptorAmino; - /** chain provides the chain descriptor */ - chain?: ChainDescriptorAmino; - /** codec provides metadata information regarding codec related types */ - codec?: CodecDescriptorAmino; - /** configuration provides metadata information regarding the sdk.Config type */ - configuration?: ConfigurationDescriptorAmino; - /** query_services provides metadata information regarding the available queriable endpoints */ - query_services?: QueryServicesDescriptorAmino; - /** tx provides metadata information regarding how to send transactions to the given application */ - tx?: TxDescriptorAmino; -} -export interface AppDescriptorAminoMsg { - type: "cosmos-sdk/AppDescriptor"; - value: AppDescriptorAmino; -} -/** AppDescriptor describes a cosmos-sdk based application */ -export interface AppDescriptorSDKType { - authn: AuthnDescriptorSDKType; - chain: ChainDescriptorSDKType; - codec: CodecDescriptorSDKType; - configuration: ConfigurationDescriptorSDKType; - query_services: QueryServicesDescriptorSDKType; - tx: TxDescriptorSDKType; -} -/** TxDescriptor describes the accepted transaction type */ -export interface TxDescriptor { - /** - * fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) - * it is not meant to support polymorphism of transaction types, it is supposed to be used by - * reflection clients to understand if they can handle a specific transaction type in an application. - */ - fullname: string; - /** msgs lists the accepted application messages (sdk.Msg) */ - msgs: MsgDescriptor[]; -} -export interface TxDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.TxDescriptor"; - value: Uint8Array; -} -/** TxDescriptor describes the accepted transaction type */ -export interface TxDescriptorAmino { - /** - * fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) - * it is not meant to support polymorphism of transaction types, it is supposed to be used by - * reflection clients to understand if they can handle a specific transaction type in an application. - */ - fullname: string; - /** msgs lists the accepted application messages (sdk.Msg) */ - msgs: MsgDescriptorAmino[]; -} -export interface TxDescriptorAminoMsg { - type: "cosmos-sdk/TxDescriptor"; - value: TxDescriptorAmino; -} -/** TxDescriptor describes the accepted transaction type */ -export interface TxDescriptorSDKType { - fullname: string; - msgs: MsgDescriptorSDKType[]; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ -export interface AuthnDescriptor { - /** sign_modes defines the supported signature algorithm */ - signModes: SigningModeDescriptor[]; -} -export interface AuthnDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.AuthnDescriptor"; - value: Uint8Array; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ -export interface AuthnDescriptorAmino { - /** sign_modes defines the supported signature algorithm */ - sign_modes: SigningModeDescriptorAmino[]; -} -export interface AuthnDescriptorAminoMsg { - type: "cosmos-sdk/AuthnDescriptor"; - value: AuthnDescriptorAmino; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ -export interface AuthnDescriptorSDKType { - sign_modes: SigningModeDescriptorSDKType[]; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ -export interface SigningModeDescriptor { - /** name defines the unique name of the signing mode */ - name: string; - /** number is the unique int32 identifier for the sign_mode enum */ - number: number; - /** - * authn_info_provider_method_fullname defines the fullname of the method to call to get - * the metadata required to authenticate using the provided sign_modes - */ - authnInfoProviderMethodFullname: string; -} -export interface SigningModeDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.SigningModeDescriptor"; - value: Uint8Array; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ -export interface SigningModeDescriptorAmino { - /** name defines the unique name of the signing mode */ - name: string; - /** number is the unique int32 identifier for the sign_mode enum */ - number: number; - /** - * authn_info_provider_method_fullname defines the fullname of the method to call to get - * the metadata required to authenticate using the provided sign_modes - */ - authn_info_provider_method_fullname: string; -} -export interface SigningModeDescriptorAminoMsg { - type: "cosmos-sdk/SigningModeDescriptor"; - value: SigningModeDescriptorAmino; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ -export interface SigningModeDescriptorSDKType { - name: string; - number: number; - authn_info_provider_method_fullname: string; -} -/** ChainDescriptor describes chain information of the application */ -export interface ChainDescriptor { - /** id is the chain id */ - id: string; -} -export interface ChainDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.ChainDescriptor"; - value: Uint8Array; -} -/** ChainDescriptor describes chain information of the application */ -export interface ChainDescriptorAmino { - /** id is the chain id */ - id: string; -} -export interface ChainDescriptorAminoMsg { - type: "cosmos-sdk/ChainDescriptor"; - value: ChainDescriptorAmino; -} -/** ChainDescriptor describes chain information of the application */ -export interface ChainDescriptorSDKType { - id: string; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ -export interface CodecDescriptor { - /** interfaces is a list of the registerted interfaces descriptors */ - interfaces: InterfaceDescriptor[]; -} -export interface CodecDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.CodecDescriptor"; - value: Uint8Array; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ -export interface CodecDescriptorAmino { - /** interfaces is a list of the registerted interfaces descriptors */ - interfaces: InterfaceDescriptorAmino[]; -} -export interface CodecDescriptorAminoMsg { - type: "cosmos-sdk/CodecDescriptor"; - value: CodecDescriptorAmino; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ -export interface CodecDescriptorSDKType { - interfaces: InterfaceDescriptorSDKType[]; -} -/** InterfaceDescriptor describes the implementation of an interface */ -export interface InterfaceDescriptor { - /** fullname is the name of the interface */ - fullname: string; - /** - * interface_accepting_messages contains information regarding the proto messages which contain the interface as - * google.protobuf.Any field - */ - interfaceAcceptingMessages: InterfaceAcceptingMessageDescriptor[]; - /** interface_implementers is a list of the descriptors of the interface implementers */ - interfaceImplementers: InterfaceImplementerDescriptor[]; -} -export interface InterfaceDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceDescriptor"; - value: Uint8Array; -} -/** InterfaceDescriptor describes the implementation of an interface */ -export interface InterfaceDescriptorAmino { - /** fullname is the name of the interface */ - fullname: string; - /** - * interface_accepting_messages contains information regarding the proto messages which contain the interface as - * google.protobuf.Any field - */ - interface_accepting_messages: InterfaceAcceptingMessageDescriptorAmino[]; - /** interface_implementers is a list of the descriptors of the interface implementers */ - interface_implementers: InterfaceImplementerDescriptorAmino[]; -} -export interface InterfaceDescriptorAminoMsg { - type: "cosmos-sdk/InterfaceDescriptor"; - value: InterfaceDescriptorAmino; -} -/** InterfaceDescriptor describes the implementation of an interface */ -export interface InterfaceDescriptorSDKType { - fullname: string; - interface_accepting_messages: InterfaceAcceptingMessageDescriptorSDKType[]; - interface_implementers: InterfaceImplementerDescriptorSDKType[]; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ -export interface InterfaceImplementerDescriptor { - /** fullname is the protobuf queryable name of the interface implementer */ - fullname: string; - /** - * type_url defines the type URL used when marshalling the type as any - * this is required so we can provide type safe google.protobuf.Any marshalling and - * unmarshalling, making sure that we don't accept just 'any' type - * in our interface fields - */ - typeUrl: string; -} -export interface InterfaceImplementerDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor"; - value: Uint8Array; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ -export interface InterfaceImplementerDescriptorAmino { - /** fullname is the protobuf queryable name of the interface implementer */ - fullname: string; - /** - * type_url defines the type URL used when marshalling the type as any - * this is required so we can provide type safe google.protobuf.Any marshalling and - * unmarshalling, making sure that we don't accept just 'any' type - * in our interface fields - */ - type_url: string; -} -export interface InterfaceImplementerDescriptorAminoMsg { - type: "cosmos-sdk/InterfaceImplementerDescriptor"; - value: InterfaceImplementerDescriptorAmino; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ -export interface InterfaceImplementerDescriptorSDKType { - fullname: string; - type_url: string; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ -export interface InterfaceAcceptingMessageDescriptor { - /** fullname is the protobuf fullname of the type containing the interface */ - fullname: string; - /** - * field_descriptor_names is a list of the protobuf name (not fullname) of the field - * which contains the interface as google.protobuf.Any (the interface is the same, but - * it can be in multiple fields of the same proto message) - */ - fieldDescriptorNames: string[]; -} -export interface InterfaceAcceptingMessageDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor"; - value: Uint8Array; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ -export interface InterfaceAcceptingMessageDescriptorAmino { - /** fullname is the protobuf fullname of the type containing the interface */ - fullname: string; - /** - * field_descriptor_names is a list of the protobuf name (not fullname) of the field - * which contains the interface as google.protobuf.Any (the interface is the same, but - * it can be in multiple fields of the same proto message) - */ - field_descriptor_names: string[]; -} -export interface InterfaceAcceptingMessageDescriptorAminoMsg { - type: "cosmos-sdk/InterfaceAcceptingMessageDescriptor"; - value: InterfaceAcceptingMessageDescriptorAmino; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ -export interface InterfaceAcceptingMessageDescriptorSDKType { - fullname: string; - field_descriptor_names: string[]; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ -export interface ConfigurationDescriptor { - /** bech32_account_address_prefix is the account address prefix */ - bech32AccountAddressPrefix: string; -} -export interface ConfigurationDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.ConfigurationDescriptor"; - value: Uint8Array; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ -export interface ConfigurationDescriptorAmino { - /** bech32_account_address_prefix is the account address prefix */ - bech32_account_address_prefix: string; -} -export interface ConfigurationDescriptorAminoMsg { - type: "cosmos-sdk/ConfigurationDescriptor"; - value: ConfigurationDescriptorAmino; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ -export interface ConfigurationDescriptorSDKType { - bech32_account_address_prefix: string; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ -export interface MsgDescriptor { - /** msg_type_url contains the TypeURL of a sdk.Msg. */ - msgTypeUrl: string; -} -export interface MsgDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.MsgDescriptor"; - value: Uint8Array; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ -export interface MsgDescriptorAmino { - /** msg_type_url contains the TypeURL of a sdk.Msg. */ - msg_type_url: string; -} -export interface MsgDescriptorAminoMsg { - type: "cosmos-sdk/MsgDescriptor"; - value: MsgDescriptorAmino; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ -export interface MsgDescriptorSDKType { - msg_type_url: string; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorRequest {} -export interface GetAuthnDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest"; - value: Uint8Array; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorRequestAmino {} -export interface GetAuthnDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetAuthnDescriptorRequest"; - value: GetAuthnDescriptorRequestAmino; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorRequestSDKType {} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorResponse { - /** authn describes how to authenticate to the application when sending transactions */ - authn: AuthnDescriptor; -} -export interface GetAuthnDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse"; - value: Uint8Array; -} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorResponseAmino { - /** authn describes how to authenticate to the application when sending transactions */ - authn?: AuthnDescriptorAmino; -} -export interface GetAuthnDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetAuthnDescriptorResponse"; - value: GetAuthnDescriptorResponseAmino; -} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorResponseSDKType { - authn: AuthnDescriptorSDKType; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ -export interface GetChainDescriptorRequest {} -export interface GetChainDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest"; - value: Uint8Array; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ -export interface GetChainDescriptorRequestAmino {} -export interface GetChainDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetChainDescriptorRequest"; - value: GetChainDescriptorRequestAmino; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ -export interface GetChainDescriptorRequestSDKType {} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ -export interface GetChainDescriptorResponse { - /** chain describes application chain information */ - chain: ChainDescriptor; -} -export interface GetChainDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse"; - value: Uint8Array; -} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ -export interface GetChainDescriptorResponseAmino { - /** chain describes application chain information */ - chain?: ChainDescriptorAmino; -} -export interface GetChainDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetChainDescriptorResponse"; - value: GetChainDescriptorResponseAmino; -} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ -export interface GetChainDescriptorResponseSDKType { - chain: ChainDescriptorSDKType; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorRequest {} -export interface GetCodecDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest"; - value: Uint8Array; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorRequestAmino {} -export interface GetCodecDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetCodecDescriptorRequest"; - value: GetCodecDescriptorRequestAmino; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorRequestSDKType {} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorResponse { - /** codec describes the application codec such as registered interfaces and implementations */ - codec: CodecDescriptor; -} -export interface GetCodecDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse"; - value: Uint8Array; -} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorResponseAmino { - /** codec describes the application codec such as registered interfaces and implementations */ - codec?: CodecDescriptorAmino; -} -export interface GetCodecDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetCodecDescriptorResponse"; - value: GetCodecDescriptorResponseAmino; -} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorResponseSDKType { - codec: CodecDescriptorSDKType; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorRequest {} -export interface GetConfigurationDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest"; - value: Uint8Array; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorRequestAmino {} -export interface GetConfigurationDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetConfigurationDescriptorRequest"; - value: GetConfigurationDescriptorRequestAmino; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorRequestSDKType {} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorResponse { - /** config describes the application's sdk.Config */ - config: ConfigurationDescriptor; -} -export interface GetConfigurationDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse"; - value: Uint8Array; -} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorResponseAmino { - /** config describes the application's sdk.Config */ - config?: ConfigurationDescriptorAmino; -} -export interface GetConfigurationDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetConfigurationDescriptorResponse"; - value: GetConfigurationDescriptorResponseAmino; -} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorResponseSDKType { - config: ConfigurationDescriptorSDKType; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorRequest {} -export interface GetQueryServicesDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest"; - value: Uint8Array; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorRequestAmino {} -export interface GetQueryServicesDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetQueryServicesDescriptorRequest"; - value: GetQueryServicesDescriptorRequestAmino; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorRequestSDKType {} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorResponse { - /** queries provides information on the available queryable services */ - queries: QueryServicesDescriptor; -} -export interface GetQueryServicesDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse"; - value: Uint8Array; -} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorResponseAmino { - /** queries provides information on the available queryable services */ - queries?: QueryServicesDescriptorAmino; -} -export interface GetQueryServicesDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetQueryServicesDescriptorResponse"; - value: GetQueryServicesDescriptorResponseAmino; -} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorResponseSDKType { - queries: QueryServicesDescriptorSDKType; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ -export interface GetTxDescriptorRequest {} -export interface GetTxDescriptorRequestProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest"; - value: Uint8Array; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ -export interface GetTxDescriptorRequestAmino {} -export interface GetTxDescriptorRequestAminoMsg { - type: "cosmos-sdk/GetTxDescriptorRequest"; - value: GetTxDescriptorRequestAmino; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ -export interface GetTxDescriptorRequestSDKType {} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ -export interface GetTxDescriptorResponse { - /** - * tx provides information on msgs that can be forwarded to the application - * alongside the accepted transaction protobuf type - */ - tx: TxDescriptor; -} -export interface GetTxDescriptorResponseProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse"; - value: Uint8Array; -} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ -export interface GetTxDescriptorResponseAmino { - /** - * tx provides information on msgs that can be forwarded to the application - * alongside the accepted transaction protobuf type - */ - tx?: TxDescriptorAmino; -} -export interface GetTxDescriptorResponseAminoMsg { - type: "cosmos-sdk/GetTxDescriptorResponse"; - value: GetTxDescriptorResponseAmino; -} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ -export interface GetTxDescriptorResponseSDKType { - tx: TxDescriptorSDKType; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ -export interface QueryServicesDescriptor { - /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ - queryServices: QueryServiceDescriptor[]; -} -export interface QueryServicesDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryServicesDescriptor"; - value: Uint8Array; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ -export interface QueryServicesDescriptorAmino { - /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ - query_services: QueryServiceDescriptorAmino[]; -} -export interface QueryServicesDescriptorAminoMsg { - type: "cosmos-sdk/QueryServicesDescriptor"; - value: QueryServicesDescriptorAmino; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ -export interface QueryServicesDescriptorSDKType { - query_services: QueryServiceDescriptorSDKType[]; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ -export interface QueryServiceDescriptor { - /** fullname is the protobuf fullname of the service descriptor */ - fullname: string; - /** is_module describes if this service is actually exposed by an application's module */ - isModule: boolean; - /** methods provides a list of query service methods */ - methods: QueryMethodDescriptor[]; -} -export interface QueryServiceDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryServiceDescriptor"; - value: Uint8Array; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ -export interface QueryServiceDescriptorAmino { - /** fullname is the protobuf fullname of the service descriptor */ - fullname: string; - /** is_module describes if this service is actually exposed by an application's module */ - is_module: boolean; - /** methods provides a list of query service methods */ - methods: QueryMethodDescriptorAmino[]; -} -export interface QueryServiceDescriptorAminoMsg { - type: "cosmos-sdk/QueryServiceDescriptor"; - value: QueryServiceDescriptorAmino; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ -export interface QueryServiceDescriptorSDKType { - fullname: string; - is_module: boolean; - methods: QueryMethodDescriptorSDKType[]; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ -export interface QueryMethodDescriptor { - /** name is the protobuf name (not fullname) of the method */ - name: string; - /** - * full_query_path is the path that can be used to query - * this method via tendermint abci.Query - */ - fullQueryPath: string; -} -export interface QueryMethodDescriptorProtoMsg { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryMethodDescriptor"; - value: Uint8Array; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ -export interface QueryMethodDescriptorAmino { - /** name is the protobuf name (not fullname) of the method */ - name: string; - /** - * full_query_path is the path that can be used to query - * this method via tendermint abci.Query - */ - full_query_path: string; -} -export interface QueryMethodDescriptorAminoMsg { - type: "cosmos-sdk/QueryMethodDescriptor"; - value: QueryMethodDescriptorAmino; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ -export interface QueryMethodDescriptorSDKType { - name: string; - full_query_path: string; -} -function createBaseAppDescriptor(): AppDescriptor { - return { - authn: AuthnDescriptor.fromPartial({}), - chain: ChainDescriptor.fromPartial({}), - codec: CodecDescriptor.fromPartial({}), - configuration: ConfigurationDescriptor.fromPartial({}), - queryServices: QueryServicesDescriptor.fromPartial({}), - tx: TxDescriptor.fromPartial({}) - }; -} -export const AppDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.AppDescriptor", - aminoType: "cosmos-sdk/AppDescriptor", - encode(message: AppDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.authn !== undefined) { - AuthnDescriptor.encode(message.authn, writer.uint32(10).fork()).ldelim(); - } - if (message.chain !== undefined) { - ChainDescriptor.encode(message.chain, writer.uint32(18).fork()).ldelim(); - } - if (message.codec !== undefined) { - CodecDescriptor.encode(message.codec, writer.uint32(26).fork()).ldelim(); - } - if (message.configuration !== undefined) { - ConfigurationDescriptor.encode(message.configuration, writer.uint32(34).fork()).ldelim(); - } - if (message.queryServices !== undefined) { - QueryServicesDescriptor.encode(message.queryServices, writer.uint32(42).fork()).ldelim(); - } - if (message.tx !== undefined) { - TxDescriptor.encode(message.tx, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AppDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAppDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.authn = AuthnDescriptor.decode(reader, reader.uint32()); - break; - case 2: - message.chain = ChainDescriptor.decode(reader, reader.uint32()); - break; - case 3: - message.codec = CodecDescriptor.decode(reader, reader.uint32()); - break; - case 4: - message.configuration = ConfigurationDescriptor.decode(reader, reader.uint32()); - break; - case 5: - message.queryServices = QueryServicesDescriptor.decode(reader, reader.uint32()); - break; - case 6: - message.tx = TxDescriptor.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AppDescriptor { - const obj = createBaseAppDescriptor(); - if (isSet(object.authn)) obj.authn = AuthnDescriptor.fromJSON(object.authn); - if (isSet(object.chain)) obj.chain = ChainDescriptor.fromJSON(object.chain); - if (isSet(object.codec)) obj.codec = CodecDescriptor.fromJSON(object.codec); - if (isSet(object.configuration)) obj.configuration = ConfigurationDescriptor.fromJSON(object.configuration); - if (isSet(object.queryServices)) obj.queryServices = QueryServicesDescriptor.fromJSON(object.queryServices); - if (isSet(object.tx)) obj.tx = TxDescriptor.fromJSON(object.tx); - return obj; - }, - toJSON(message: AppDescriptor): unknown { - const obj: any = {}; - message.authn !== undefined && (obj.authn = message.authn ? AuthnDescriptor.toJSON(message.authn) : undefined); - message.chain !== undefined && (obj.chain = message.chain ? ChainDescriptor.toJSON(message.chain) : undefined); - message.codec !== undefined && (obj.codec = message.codec ? CodecDescriptor.toJSON(message.codec) : undefined); - message.configuration !== undefined && (obj.configuration = message.configuration ? ConfigurationDescriptor.toJSON(message.configuration) : undefined); - message.queryServices !== undefined && (obj.queryServices = message.queryServices ? QueryServicesDescriptor.toJSON(message.queryServices) : undefined); - message.tx !== undefined && (obj.tx = message.tx ? TxDescriptor.toJSON(message.tx) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): AppDescriptor { - const message = createBaseAppDescriptor(); - if (object.authn !== undefined && object.authn !== null) { - message.authn = AuthnDescriptor.fromPartial(object.authn); - } - if (object.chain !== undefined && object.chain !== null) { - message.chain = ChainDescriptor.fromPartial(object.chain); - } - if (object.codec !== undefined && object.codec !== null) { - message.codec = CodecDescriptor.fromPartial(object.codec); - } - if (object.configuration !== undefined && object.configuration !== null) { - message.configuration = ConfigurationDescriptor.fromPartial(object.configuration); - } - if (object.queryServices !== undefined && object.queryServices !== null) { - message.queryServices = QueryServicesDescriptor.fromPartial(object.queryServices); - } - if (object.tx !== undefined && object.tx !== null) { - message.tx = TxDescriptor.fromPartial(object.tx); - } - return message; - }, - fromSDK(object: AppDescriptorSDKType): AppDescriptor { - return { - authn: object.authn ? AuthnDescriptor.fromSDK(object.authn) : undefined, - chain: object.chain ? ChainDescriptor.fromSDK(object.chain) : undefined, - codec: object.codec ? CodecDescriptor.fromSDK(object.codec) : undefined, - configuration: object.configuration ? ConfigurationDescriptor.fromSDK(object.configuration) : undefined, - queryServices: object.query_services ? QueryServicesDescriptor.fromSDK(object.query_services) : undefined, - tx: object.tx ? TxDescriptor.fromSDK(object.tx) : undefined - }; - }, - toSDK(message: AppDescriptor): AppDescriptorSDKType { - const obj: any = {}; - message.authn !== undefined && (obj.authn = message.authn ? AuthnDescriptor.toSDK(message.authn) : undefined); - message.chain !== undefined && (obj.chain = message.chain ? ChainDescriptor.toSDK(message.chain) : undefined); - message.codec !== undefined && (obj.codec = message.codec ? CodecDescriptor.toSDK(message.codec) : undefined); - message.configuration !== undefined && (obj.configuration = message.configuration ? ConfigurationDescriptor.toSDK(message.configuration) : undefined); - message.queryServices !== undefined && (obj.query_services = message.queryServices ? QueryServicesDescriptor.toSDK(message.queryServices) : undefined); - message.tx !== undefined && (obj.tx = message.tx ? TxDescriptor.toSDK(message.tx) : undefined); - return obj; - }, - fromAmino(object: AppDescriptorAmino): AppDescriptor { - return { - authn: object?.authn ? AuthnDescriptor.fromAmino(object.authn) : undefined, - chain: object?.chain ? ChainDescriptor.fromAmino(object.chain) : undefined, - codec: object?.codec ? CodecDescriptor.fromAmino(object.codec) : undefined, - configuration: object?.configuration ? ConfigurationDescriptor.fromAmino(object.configuration) : undefined, - queryServices: object?.query_services ? QueryServicesDescriptor.fromAmino(object.query_services) : undefined, - tx: object?.tx ? TxDescriptor.fromAmino(object.tx) : undefined - }; - }, - toAmino(message: AppDescriptor): AppDescriptorAmino { - const obj: any = {}; - obj.authn = message.authn ? AuthnDescriptor.toAmino(message.authn) : undefined; - obj.chain = message.chain ? ChainDescriptor.toAmino(message.chain) : undefined; - obj.codec = message.codec ? CodecDescriptor.toAmino(message.codec) : undefined; - obj.configuration = message.configuration ? ConfigurationDescriptor.toAmino(message.configuration) : undefined; - obj.query_services = message.queryServices ? QueryServicesDescriptor.toAmino(message.queryServices) : undefined; - obj.tx = message.tx ? TxDescriptor.toAmino(message.tx) : undefined; - return obj; - }, - fromAminoMsg(object: AppDescriptorAminoMsg): AppDescriptor { - return AppDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: AppDescriptor): AppDescriptorAminoMsg { - return { - type: "cosmos-sdk/AppDescriptor", - value: AppDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: AppDescriptorProtoMsg): AppDescriptor { - return AppDescriptor.decode(message.value); - }, - toProto(message: AppDescriptor): Uint8Array { - return AppDescriptor.encode(message).finish(); - }, - toProtoMsg(message: AppDescriptor): AppDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.AppDescriptor", - value: AppDescriptor.encode(message).finish() - }; - } -}; -function createBaseTxDescriptor(): TxDescriptor { - return { - fullname: "", - msgs: [] - }; -} -export const TxDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.TxDescriptor", - aminoType: "cosmos-sdk/TxDescriptor", - encode(message: TxDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fullname !== "") { - writer.uint32(10).string(message.fullname); - } - for (const v of message.msgs) { - MsgDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TxDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fullname = reader.string(); - break; - case 2: - message.msgs.push(MsgDescriptor.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TxDescriptor { - const obj = createBaseTxDescriptor(); - if (isSet(object.fullname)) obj.fullname = String(object.fullname); - if (Array.isArray(object?.msgs)) obj.msgs = object.msgs.map((e: any) => MsgDescriptor.fromJSON(e)); - return obj; - }, - toJSON(message: TxDescriptor): unknown { - const obj: any = {}; - message.fullname !== undefined && (obj.fullname = message.fullname); - if (message.msgs) { - obj.msgs = message.msgs.map(e => e ? MsgDescriptor.toJSON(e) : undefined); - } else { - obj.msgs = []; - } - return obj; - }, - fromPartial(object: DeepPartial): TxDescriptor { - const message = createBaseTxDescriptor(); - message.fullname = object.fullname ?? ""; - message.msgs = object.msgs?.map(e => MsgDescriptor.fromPartial(e)) || []; - return message; - }, - fromSDK(object: TxDescriptorSDKType): TxDescriptor { - return { - fullname: object?.fullname, - msgs: Array.isArray(object?.msgs) ? object.msgs.map((e: any) => MsgDescriptor.fromSDK(e)) : [] - }; - }, - toSDK(message: TxDescriptor): TxDescriptorSDKType { - const obj: any = {}; - obj.fullname = message.fullname; - if (message.msgs) { - obj.msgs = message.msgs.map(e => e ? MsgDescriptor.toSDK(e) : undefined); - } else { - obj.msgs = []; - } - return obj; - }, - fromAmino(object: TxDescriptorAmino): TxDescriptor { - return { - fullname: object.fullname, - msgs: Array.isArray(object?.msgs) ? object.msgs.map((e: any) => MsgDescriptor.fromAmino(e)) : [] - }; - }, - toAmino(message: TxDescriptor): TxDescriptorAmino { - const obj: any = {}; - obj.fullname = message.fullname; - if (message.msgs) { - obj.msgs = message.msgs.map(e => e ? MsgDescriptor.toAmino(e) : undefined); - } else { - obj.msgs = []; - } - return obj; - }, - fromAminoMsg(object: TxDescriptorAminoMsg): TxDescriptor { - return TxDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: TxDescriptor): TxDescriptorAminoMsg { - return { - type: "cosmos-sdk/TxDescriptor", - value: TxDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: TxDescriptorProtoMsg): TxDescriptor { - return TxDescriptor.decode(message.value); - }, - toProto(message: TxDescriptor): Uint8Array { - return TxDescriptor.encode(message).finish(); - }, - toProtoMsg(message: TxDescriptor): TxDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.TxDescriptor", - value: TxDescriptor.encode(message).finish() - }; - } -}; -function createBaseAuthnDescriptor(): AuthnDescriptor { - return { - signModes: [] - }; -} -export const AuthnDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.AuthnDescriptor", - aminoType: "cosmos-sdk/AuthnDescriptor", - encode(message: AuthnDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.signModes) { - SigningModeDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AuthnDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAuthnDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.signModes.push(SigningModeDescriptor.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AuthnDescriptor { - const obj = createBaseAuthnDescriptor(); - if (Array.isArray(object?.signModes)) obj.signModes = object.signModes.map((e: any) => SigningModeDescriptor.fromJSON(e)); - return obj; - }, - toJSON(message: AuthnDescriptor): unknown { - const obj: any = {}; - if (message.signModes) { - obj.signModes = message.signModes.map(e => e ? SigningModeDescriptor.toJSON(e) : undefined); - } else { - obj.signModes = []; - } - return obj; - }, - fromPartial(object: DeepPartial): AuthnDescriptor { - const message = createBaseAuthnDescriptor(); - message.signModes = object.signModes?.map(e => SigningModeDescriptor.fromPartial(e)) || []; - return message; - }, - fromSDK(object: AuthnDescriptorSDKType): AuthnDescriptor { - return { - signModes: Array.isArray(object?.sign_modes) ? object.sign_modes.map((e: any) => SigningModeDescriptor.fromSDK(e)) : [] - }; - }, - toSDK(message: AuthnDescriptor): AuthnDescriptorSDKType { - const obj: any = {}; - if (message.signModes) { - obj.sign_modes = message.signModes.map(e => e ? SigningModeDescriptor.toSDK(e) : undefined); - } else { - obj.sign_modes = []; - } - return obj; - }, - fromAmino(object: AuthnDescriptorAmino): AuthnDescriptor { - return { - signModes: Array.isArray(object?.sign_modes) ? object.sign_modes.map((e: any) => SigningModeDescriptor.fromAmino(e)) : [] - }; - }, - toAmino(message: AuthnDescriptor): AuthnDescriptorAmino { - const obj: any = {}; - if (message.signModes) { - obj.sign_modes = message.signModes.map(e => e ? SigningModeDescriptor.toAmino(e) : undefined); - } else { - obj.sign_modes = []; - } - return obj; - }, - fromAminoMsg(object: AuthnDescriptorAminoMsg): AuthnDescriptor { - return AuthnDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: AuthnDescriptor): AuthnDescriptorAminoMsg { - return { - type: "cosmos-sdk/AuthnDescriptor", - value: AuthnDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: AuthnDescriptorProtoMsg): AuthnDescriptor { - return AuthnDescriptor.decode(message.value); - }, - toProto(message: AuthnDescriptor): Uint8Array { - return AuthnDescriptor.encode(message).finish(); - }, - toProtoMsg(message: AuthnDescriptor): AuthnDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.AuthnDescriptor", - value: AuthnDescriptor.encode(message).finish() - }; - } -}; -function createBaseSigningModeDescriptor(): SigningModeDescriptor { - return { - name: "", - number: 0, - authnInfoProviderMethodFullname: "" - }; -} -export const SigningModeDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.SigningModeDescriptor", - aminoType: "cosmos-sdk/SigningModeDescriptor", - encode(message: SigningModeDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.number !== 0) { - writer.uint32(16).int32(message.number); - } - if (message.authnInfoProviderMethodFullname !== "") { - writer.uint32(26).string(message.authnInfoProviderMethodFullname); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SigningModeDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSigningModeDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.number = reader.int32(); - break; - case 3: - message.authnInfoProviderMethodFullname = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SigningModeDescriptor { - const obj = createBaseSigningModeDescriptor(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.number)) obj.number = Number(object.number); - if (isSet(object.authnInfoProviderMethodFullname)) obj.authnInfoProviderMethodFullname = String(object.authnInfoProviderMethodFullname); - return obj; - }, - toJSON(message: SigningModeDescriptor): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.number !== undefined && (obj.number = Math.round(message.number)); - message.authnInfoProviderMethodFullname !== undefined && (obj.authnInfoProviderMethodFullname = message.authnInfoProviderMethodFullname); - return obj; - }, - fromPartial(object: DeepPartial): SigningModeDescriptor { - const message = createBaseSigningModeDescriptor(); - message.name = object.name ?? ""; - message.number = object.number ?? 0; - message.authnInfoProviderMethodFullname = object.authnInfoProviderMethodFullname ?? ""; - return message; - }, - fromSDK(object: SigningModeDescriptorSDKType): SigningModeDescriptor { - return { - name: object?.name, - number: object?.number, - authnInfoProviderMethodFullname: object?.authn_info_provider_method_fullname - }; - }, - toSDK(message: SigningModeDescriptor): SigningModeDescriptorSDKType { - const obj: any = {}; - obj.name = message.name; - obj.number = message.number; - obj.authn_info_provider_method_fullname = message.authnInfoProviderMethodFullname; - return obj; - }, - fromAmino(object: SigningModeDescriptorAmino): SigningModeDescriptor { - return { - name: object.name, - number: object.number, - authnInfoProviderMethodFullname: object.authn_info_provider_method_fullname - }; - }, - toAmino(message: SigningModeDescriptor): SigningModeDescriptorAmino { - const obj: any = {}; - obj.name = message.name; - obj.number = message.number; - obj.authn_info_provider_method_fullname = message.authnInfoProviderMethodFullname; - return obj; - }, - fromAminoMsg(object: SigningModeDescriptorAminoMsg): SigningModeDescriptor { - return SigningModeDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: SigningModeDescriptor): SigningModeDescriptorAminoMsg { - return { - type: "cosmos-sdk/SigningModeDescriptor", - value: SigningModeDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: SigningModeDescriptorProtoMsg): SigningModeDescriptor { - return SigningModeDescriptor.decode(message.value); - }, - toProto(message: SigningModeDescriptor): Uint8Array { - return SigningModeDescriptor.encode(message).finish(); - }, - toProtoMsg(message: SigningModeDescriptor): SigningModeDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.SigningModeDescriptor", - value: SigningModeDescriptor.encode(message).finish() - }; - } -}; -function createBaseChainDescriptor(): ChainDescriptor { - return { - id: "" - }; -} -export const ChainDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.ChainDescriptor", - aminoType: "cosmos-sdk/ChainDescriptor", - encode(message: ChainDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== "") { - writer.uint32(10).string(message.id); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ChainDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseChainDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ChainDescriptor { - const obj = createBaseChainDescriptor(); - if (isSet(object.id)) obj.id = String(object.id); - return obj; - }, - toJSON(message: ChainDescriptor): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - return obj; - }, - fromPartial(object: DeepPartial): ChainDescriptor { - const message = createBaseChainDescriptor(); - message.id = object.id ?? ""; - return message; - }, - fromSDK(object: ChainDescriptorSDKType): ChainDescriptor { - return { - id: object?.id - }; - }, - toSDK(message: ChainDescriptor): ChainDescriptorSDKType { - const obj: any = {}; - obj.id = message.id; - return obj; - }, - fromAmino(object: ChainDescriptorAmino): ChainDescriptor { - return { - id: object.id - }; - }, - toAmino(message: ChainDescriptor): ChainDescriptorAmino { - const obj: any = {}; - obj.id = message.id; - return obj; - }, - fromAminoMsg(object: ChainDescriptorAminoMsg): ChainDescriptor { - return ChainDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: ChainDescriptor): ChainDescriptorAminoMsg { - return { - type: "cosmos-sdk/ChainDescriptor", - value: ChainDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: ChainDescriptorProtoMsg): ChainDescriptor { - return ChainDescriptor.decode(message.value); - }, - toProto(message: ChainDescriptor): Uint8Array { - return ChainDescriptor.encode(message).finish(); - }, - toProtoMsg(message: ChainDescriptor): ChainDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.ChainDescriptor", - value: ChainDescriptor.encode(message).finish() - }; - } -}; -function createBaseCodecDescriptor(): CodecDescriptor { - return { - interfaces: [] - }; -} -export const CodecDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.CodecDescriptor", - aminoType: "cosmos-sdk/CodecDescriptor", - encode(message: CodecDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.interfaces) { - InterfaceDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CodecDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCodecDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.interfaces.push(InterfaceDescriptor.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CodecDescriptor { - const obj = createBaseCodecDescriptor(); - if (Array.isArray(object?.interfaces)) obj.interfaces = object.interfaces.map((e: any) => InterfaceDescriptor.fromJSON(e)); - return obj; - }, - toJSON(message: CodecDescriptor): unknown { - const obj: any = {}; - if (message.interfaces) { - obj.interfaces = message.interfaces.map(e => e ? InterfaceDescriptor.toJSON(e) : undefined); - } else { - obj.interfaces = []; - } - return obj; - }, - fromPartial(object: DeepPartial): CodecDescriptor { - const message = createBaseCodecDescriptor(); - message.interfaces = object.interfaces?.map(e => InterfaceDescriptor.fromPartial(e)) || []; - return message; - }, - fromSDK(object: CodecDescriptorSDKType): CodecDescriptor { - return { - interfaces: Array.isArray(object?.interfaces) ? object.interfaces.map((e: any) => InterfaceDescriptor.fromSDK(e)) : [] - }; - }, - toSDK(message: CodecDescriptor): CodecDescriptorSDKType { - const obj: any = {}; - if (message.interfaces) { - obj.interfaces = message.interfaces.map(e => e ? InterfaceDescriptor.toSDK(e) : undefined); - } else { - obj.interfaces = []; - } - return obj; - }, - fromAmino(object: CodecDescriptorAmino): CodecDescriptor { - return { - interfaces: Array.isArray(object?.interfaces) ? object.interfaces.map((e: any) => InterfaceDescriptor.fromAmino(e)) : [] - }; - }, - toAmino(message: CodecDescriptor): CodecDescriptorAmino { - const obj: any = {}; - if (message.interfaces) { - obj.interfaces = message.interfaces.map(e => e ? InterfaceDescriptor.toAmino(e) : undefined); - } else { - obj.interfaces = []; - } - return obj; - }, - fromAminoMsg(object: CodecDescriptorAminoMsg): CodecDescriptor { - return CodecDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: CodecDescriptor): CodecDescriptorAminoMsg { - return { - type: "cosmos-sdk/CodecDescriptor", - value: CodecDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: CodecDescriptorProtoMsg): CodecDescriptor { - return CodecDescriptor.decode(message.value); - }, - toProto(message: CodecDescriptor): Uint8Array { - return CodecDescriptor.encode(message).finish(); - }, - toProtoMsg(message: CodecDescriptor): CodecDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.CodecDescriptor", - value: CodecDescriptor.encode(message).finish() - }; - } -}; -function createBaseInterfaceDescriptor(): InterfaceDescriptor { - return { - fullname: "", - interfaceAcceptingMessages: [], - interfaceImplementers: [] - }; -} -export const InterfaceDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceDescriptor", - aminoType: "cosmos-sdk/InterfaceDescriptor", - encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fullname !== "") { - writer.uint32(10).string(message.fullname); - } - for (const v of message.interfaceAcceptingMessages) { - InterfaceAcceptingMessageDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.interfaceImplementers) { - InterfaceImplementerDescriptor.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInterfaceDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fullname = reader.string(); - break; - case 2: - message.interfaceAcceptingMessages.push(InterfaceAcceptingMessageDescriptor.decode(reader, reader.uint32())); - break; - case 3: - message.interfaceImplementers.push(InterfaceImplementerDescriptor.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): InterfaceDescriptor { - const obj = createBaseInterfaceDescriptor(); - if (isSet(object.fullname)) obj.fullname = String(object.fullname); - if (Array.isArray(object?.interfaceAcceptingMessages)) obj.interfaceAcceptingMessages = object.interfaceAcceptingMessages.map((e: any) => InterfaceAcceptingMessageDescriptor.fromJSON(e)); - if (Array.isArray(object?.interfaceImplementers)) obj.interfaceImplementers = object.interfaceImplementers.map((e: any) => InterfaceImplementerDescriptor.fromJSON(e)); - return obj; - }, - toJSON(message: InterfaceDescriptor): unknown { - const obj: any = {}; - message.fullname !== undefined && (obj.fullname = message.fullname); - if (message.interfaceAcceptingMessages) { - obj.interfaceAcceptingMessages = message.interfaceAcceptingMessages.map(e => e ? InterfaceAcceptingMessageDescriptor.toJSON(e) : undefined); - } else { - obj.interfaceAcceptingMessages = []; - } - if (message.interfaceImplementers) { - obj.interfaceImplementers = message.interfaceImplementers.map(e => e ? InterfaceImplementerDescriptor.toJSON(e) : undefined); - } else { - obj.interfaceImplementers = []; - } - return obj; - }, - fromPartial(object: DeepPartial): InterfaceDescriptor { - const message = createBaseInterfaceDescriptor(); - message.fullname = object.fullname ?? ""; - message.interfaceAcceptingMessages = object.interfaceAcceptingMessages?.map(e => InterfaceAcceptingMessageDescriptor.fromPartial(e)) || []; - message.interfaceImplementers = object.interfaceImplementers?.map(e => InterfaceImplementerDescriptor.fromPartial(e)) || []; - return message; - }, - fromSDK(object: InterfaceDescriptorSDKType): InterfaceDescriptor { - return { - fullname: object?.fullname, - interfaceAcceptingMessages: Array.isArray(object?.interface_accepting_messages) ? object.interface_accepting_messages.map((e: any) => InterfaceAcceptingMessageDescriptor.fromSDK(e)) : [], - interfaceImplementers: Array.isArray(object?.interface_implementers) ? object.interface_implementers.map((e: any) => InterfaceImplementerDescriptor.fromSDK(e)) : [] - }; - }, - toSDK(message: InterfaceDescriptor): InterfaceDescriptorSDKType { - const obj: any = {}; - obj.fullname = message.fullname; - if (message.interfaceAcceptingMessages) { - obj.interface_accepting_messages = message.interfaceAcceptingMessages.map(e => e ? InterfaceAcceptingMessageDescriptor.toSDK(e) : undefined); - } else { - obj.interface_accepting_messages = []; - } - if (message.interfaceImplementers) { - obj.interface_implementers = message.interfaceImplementers.map(e => e ? InterfaceImplementerDescriptor.toSDK(e) : undefined); - } else { - obj.interface_implementers = []; - } - return obj; - }, - fromAmino(object: InterfaceDescriptorAmino): InterfaceDescriptor { - return { - fullname: object.fullname, - interfaceAcceptingMessages: Array.isArray(object?.interface_accepting_messages) ? object.interface_accepting_messages.map((e: any) => InterfaceAcceptingMessageDescriptor.fromAmino(e)) : [], - interfaceImplementers: Array.isArray(object?.interface_implementers) ? object.interface_implementers.map((e: any) => InterfaceImplementerDescriptor.fromAmino(e)) : [] - }; - }, - toAmino(message: InterfaceDescriptor): InterfaceDescriptorAmino { - const obj: any = {}; - obj.fullname = message.fullname; - if (message.interfaceAcceptingMessages) { - obj.interface_accepting_messages = message.interfaceAcceptingMessages.map(e => e ? InterfaceAcceptingMessageDescriptor.toAmino(e) : undefined); - } else { - obj.interface_accepting_messages = []; - } - if (message.interfaceImplementers) { - obj.interface_implementers = message.interfaceImplementers.map(e => e ? InterfaceImplementerDescriptor.toAmino(e) : undefined); - } else { - obj.interface_implementers = []; - } - return obj; - }, - fromAminoMsg(object: InterfaceDescriptorAminoMsg): InterfaceDescriptor { - return InterfaceDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: InterfaceDescriptor): InterfaceDescriptorAminoMsg { - return { - type: "cosmos-sdk/InterfaceDescriptor", - value: InterfaceDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: InterfaceDescriptorProtoMsg): InterfaceDescriptor { - return InterfaceDescriptor.decode(message.value); - }, - toProto(message: InterfaceDescriptor): Uint8Array { - return InterfaceDescriptor.encode(message).finish(); - }, - toProtoMsg(message: InterfaceDescriptor): InterfaceDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceDescriptor", - value: InterfaceDescriptor.encode(message).finish() - }; - } -}; -function createBaseInterfaceImplementerDescriptor(): InterfaceImplementerDescriptor { - return { - fullname: "", - typeUrl: "" - }; -} -export const InterfaceImplementerDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor", - aminoType: "cosmos-sdk/InterfaceImplementerDescriptor", - encode(message: InterfaceImplementerDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fullname !== "") { - writer.uint32(10).string(message.fullname); - } - if (message.typeUrl !== "") { - writer.uint32(18).string(message.typeUrl); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceImplementerDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInterfaceImplementerDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fullname = reader.string(); - break; - case 2: - message.typeUrl = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): InterfaceImplementerDescriptor { - const obj = createBaseInterfaceImplementerDescriptor(); - if (isSet(object.fullname)) obj.fullname = String(object.fullname); - if (isSet(object.typeUrl)) obj.typeUrl = String(object.typeUrl); - return obj; - }, - toJSON(message: InterfaceImplementerDescriptor): unknown { - const obj: any = {}; - message.fullname !== undefined && (obj.fullname = message.fullname); - message.typeUrl !== undefined && (obj.typeUrl = message.typeUrl); - return obj; - }, - fromPartial(object: DeepPartial): InterfaceImplementerDescriptor { - const message = createBaseInterfaceImplementerDescriptor(); - message.fullname = object.fullname ?? ""; - message.typeUrl = object.typeUrl ?? ""; - return message; - }, - fromSDK(object: InterfaceImplementerDescriptorSDKType): InterfaceImplementerDescriptor { - return { - fullname: object?.fullname, - typeUrl: object?.type_url - }; - }, - toSDK(message: InterfaceImplementerDescriptor): InterfaceImplementerDescriptorSDKType { - const obj: any = {}; - obj.fullname = message.fullname; - obj.type_url = message.typeUrl; - return obj; - }, - fromAmino(object: InterfaceImplementerDescriptorAmino): InterfaceImplementerDescriptor { - return { - fullname: object.fullname, - typeUrl: object.type_url - }; - }, - toAmino(message: InterfaceImplementerDescriptor): InterfaceImplementerDescriptorAmino { - const obj: any = {}; - obj.fullname = message.fullname; - obj.type_url = message.typeUrl; - return obj; - }, - fromAminoMsg(object: InterfaceImplementerDescriptorAminoMsg): InterfaceImplementerDescriptor { - return InterfaceImplementerDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: InterfaceImplementerDescriptor): InterfaceImplementerDescriptorAminoMsg { - return { - type: "cosmos-sdk/InterfaceImplementerDescriptor", - value: InterfaceImplementerDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: InterfaceImplementerDescriptorProtoMsg): InterfaceImplementerDescriptor { - return InterfaceImplementerDescriptor.decode(message.value); - }, - toProto(message: InterfaceImplementerDescriptor): Uint8Array { - return InterfaceImplementerDescriptor.encode(message).finish(); - }, - toProtoMsg(message: InterfaceImplementerDescriptor): InterfaceImplementerDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor", - value: InterfaceImplementerDescriptor.encode(message).finish() - }; - } -}; -function createBaseInterfaceAcceptingMessageDescriptor(): InterfaceAcceptingMessageDescriptor { - return { - fullname: "", - fieldDescriptorNames: [] - }; -} -export const InterfaceAcceptingMessageDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor", - aminoType: "cosmos-sdk/InterfaceAcceptingMessageDescriptor", - encode(message: InterfaceAcceptingMessageDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fullname !== "") { - writer.uint32(10).string(message.fullname); - } - for (const v of message.fieldDescriptorNames) { - writer.uint32(18).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceAcceptingMessageDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInterfaceAcceptingMessageDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fullname = reader.string(); - break; - case 2: - message.fieldDescriptorNames.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): InterfaceAcceptingMessageDescriptor { - const obj = createBaseInterfaceAcceptingMessageDescriptor(); - if (isSet(object.fullname)) obj.fullname = String(object.fullname); - if (Array.isArray(object?.fieldDescriptorNames)) obj.fieldDescriptorNames = object.fieldDescriptorNames.map((e: any) => String(e)); - return obj; - }, - toJSON(message: InterfaceAcceptingMessageDescriptor): unknown { - const obj: any = {}; - message.fullname !== undefined && (obj.fullname = message.fullname); - if (message.fieldDescriptorNames) { - obj.fieldDescriptorNames = message.fieldDescriptorNames.map(e => e); - } else { - obj.fieldDescriptorNames = []; - } - return obj; - }, - fromPartial(object: DeepPartial): InterfaceAcceptingMessageDescriptor { - const message = createBaseInterfaceAcceptingMessageDescriptor(); - message.fullname = object.fullname ?? ""; - message.fieldDescriptorNames = object.fieldDescriptorNames?.map(e => e) || []; - return message; - }, - fromSDK(object: InterfaceAcceptingMessageDescriptorSDKType): InterfaceAcceptingMessageDescriptor { - return { - fullname: object?.fullname, - fieldDescriptorNames: Array.isArray(object?.field_descriptor_names) ? object.field_descriptor_names.map((e: any) => e) : [] - }; - }, - toSDK(message: InterfaceAcceptingMessageDescriptor): InterfaceAcceptingMessageDescriptorSDKType { - const obj: any = {}; - obj.fullname = message.fullname; - if (message.fieldDescriptorNames) { - obj.field_descriptor_names = message.fieldDescriptorNames.map(e => e); - } else { - obj.field_descriptor_names = []; - } - return obj; - }, - fromAmino(object: InterfaceAcceptingMessageDescriptorAmino): InterfaceAcceptingMessageDescriptor { - return { - fullname: object.fullname, - fieldDescriptorNames: Array.isArray(object?.field_descriptor_names) ? object.field_descriptor_names.map((e: any) => e) : [] - }; - }, - toAmino(message: InterfaceAcceptingMessageDescriptor): InterfaceAcceptingMessageDescriptorAmino { - const obj: any = {}; - obj.fullname = message.fullname; - if (message.fieldDescriptorNames) { - obj.field_descriptor_names = message.fieldDescriptorNames.map(e => e); - } else { - obj.field_descriptor_names = []; - } - return obj; - }, - fromAminoMsg(object: InterfaceAcceptingMessageDescriptorAminoMsg): InterfaceAcceptingMessageDescriptor { - return InterfaceAcceptingMessageDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: InterfaceAcceptingMessageDescriptor): InterfaceAcceptingMessageDescriptorAminoMsg { - return { - type: "cosmos-sdk/InterfaceAcceptingMessageDescriptor", - value: InterfaceAcceptingMessageDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: InterfaceAcceptingMessageDescriptorProtoMsg): InterfaceAcceptingMessageDescriptor { - return InterfaceAcceptingMessageDescriptor.decode(message.value); - }, - toProto(message: InterfaceAcceptingMessageDescriptor): Uint8Array { - return InterfaceAcceptingMessageDescriptor.encode(message).finish(); - }, - toProtoMsg(message: InterfaceAcceptingMessageDescriptor): InterfaceAcceptingMessageDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor", - value: InterfaceAcceptingMessageDescriptor.encode(message).finish() - }; - } -}; -function createBaseConfigurationDescriptor(): ConfigurationDescriptor { - return { - bech32AccountAddressPrefix: "" - }; -} -export const ConfigurationDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.ConfigurationDescriptor", - aminoType: "cosmos-sdk/ConfigurationDescriptor", - encode(message: ConfigurationDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bech32AccountAddressPrefix !== "") { - writer.uint32(10).string(message.bech32AccountAddressPrefix); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ConfigurationDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConfigurationDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.bech32AccountAddressPrefix = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ConfigurationDescriptor { - const obj = createBaseConfigurationDescriptor(); - if (isSet(object.bech32AccountAddressPrefix)) obj.bech32AccountAddressPrefix = String(object.bech32AccountAddressPrefix); - return obj; - }, - toJSON(message: ConfigurationDescriptor): unknown { - const obj: any = {}; - message.bech32AccountAddressPrefix !== undefined && (obj.bech32AccountAddressPrefix = message.bech32AccountAddressPrefix); - return obj; - }, - fromPartial(object: DeepPartial): ConfigurationDescriptor { - const message = createBaseConfigurationDescriptor(); - message.bech32AccountAddressPrefix = object.bech32AccountAddressPrefix ?? ""; - return message; - }, - fromSDK(object: ConfigurationDescriptorSDKType): ConfigurationDescriptor { - return { - bech32AccountAddressPrefix: object?.bech32_account_address_prefix - }; - }, - toSDK(message: ConfigurationDescriptor): ConfigurationDescriptorSDKType { - const obj: any = {}; - obj.bech32_account_address_prefix = message.bech32AccountAddressPrefix; - return obj; - }, - fromAmino(object: ConfigurationDescriptorAmino): ConfigurationDescriptor { - return { - bech32AccountAddressPrefix: object.bech32_account_address_prefix - }; - }, - toAmino(message: ConfigurationDescriptor): ConfigurationDescriptorAmino { - const obj: any = {}; - obj.bech32_account_address_prefix = message.bech32AccountAddressPrefix; - return obj; - }, - fromAminoMsg(object: ConfigurationDescriptorAminoMsg): ConfigurationDescriptor { - return ConfigurationDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: ConfigurationDescriptor): ConfigurationDescriptorAminoMsg { - return { - type: "cosmos-sdk/ConfigurationDescriptor", - value: ConfigurationDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: ConfigurationDescriptorProtoMsg): ConfigurationDescriptor { - return ConfigurationDescriptor.decode(message.value); - }, - toProto(message: ConfigurationDescriptor): Uint8Array { - return ConfigurationDescriptor.encode(message).finish(); - }, - toProtoMsg(message: ConfigurationDescriptor): ConfigurationDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.ConfigurationDescriptor", - value: ConfigurationDescriptor.encode(message).finish() - }; - } -}; -function createBaseMsgDescriptor(): MsgDescriptor { - return { - msgTypeUrl: "" - }; -} -export const MsgDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.MsgDescriptor", - aminoType: "cosmos-sdk/MsgDescriptor", - encode(message: MsgDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.msgTypeUrl !== "") { - writer.uint32(10).string(message.msgTypeUrl); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.msgTypeUrl = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgDescriptor { - const obj = createBaseMsgDescriptor(); - if (isSet(object.msgTypeUrl)) obj.msgTypeUrl = String(object.msgTypeUrl); - return obj; - }, - toJSON(message: MsgDescriptor): unknown { - const obj: any = {}; - message.msgTypeUrl !== undefined && (obj.msgTypeUrl = message.msgTypeUrl); - return obj; - }, - fromPartial(object: DeepPartial): MsgDescriptor { - const message = createBaseMsgDescriptor(); - message.msgTypeUrl = object.msgTypeUrl ?? ""; - return message; - }, - fromSDK(object: MsgDescriptorSDKType): MsgDescriptor { - return { - msgTypeUrl: object?.msg_type_url - }; - }, - toSDK(message: MsgDescriptor): MsgDescriptorSDKType { - const obj: any = {}; - obj.msg_type_url = message.msgTypeUrl; - return obj; - }, - fromAmino(object: MsgDescriptorAmino): MsgDescriptor { - return { - msgTypeUrl: object.msg_type_url - }; - }, - toAmino(message: MsgDescriptor): MsgDescriptorAmino { - const obj: any = {}; - obj.msg_type_url = message.msgTypeUrl; - return obj; - }, - fromAminoMsg(object: MsgDescriptorAminoMsg): MsgDescriptor { - return MsgDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: MsgDescriptor): MsgDescriptorAminoMsg { - return { - type: "cosmos-sdk/MsgDescriptor", - value: MsgDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: MsgDescriptorProtoMsg): MsgDescriptor { - return MsgDescriptor.decode(message.value); - }, - toProto(message: MsgDescriptor): Uint8Array { - return MsgDescriptor.encode(message).finish(); - }, - toProtoMsg(message: MsgDescriptor): MsgDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.MsgDescriptor", - value: MsgDescriptor.encode(message).finish() - }; - } -}; -function createBaseGetAuthnDescriptorRequest(): GetAuthnDescriptorRequest { - return {}; -} -export const GetAuthnDescriptorRequest = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest", - aminoType: "cosmos-sdk/GetAuthnDescriptorRequest", - encode(_: GetAuthnDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetAuthnDescriptorRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetAuthnDescriptorRequest { - const obj = createBaseGetAuthnDescriptorRequest(); - return obj; - }, - toJSON(_: GetAuthnDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): GetAuthnDescriptorRequest { - const message = createBaseGetAuthnDescriptorRequest(); - return message; - }, - fromSDK(_: GetAuthnDescriptorRequestSDKType): GetAuthnDescriptorRequest { - return {}; - }, - toSDK(_: GetAuthnDescriptorRequest): GetAuthnDescriptorRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: GetAuthnDescriptorRequestAmino): GetAuthnDescriptorRequest { - return {}; - }, - toAmino(_: GetAuthnDescriptorRequest): GetAuthnDescriptorRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetAuthnDescriptorRequestAminoMsg): GetAuthnDescriptorRequest { - return GetAuthnDescriptorRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetAuthnDescriptorRequest): GetAuthnDescriptorRequestAminoMsg { - return { - type: "cosmos-sdk/GetAuthnDescriptorRequest", - value: GetAuthnDescriptorRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetAuthnDescriptorRequestProtoMsg): GetAuthnDescriptorRequest { - return GetAuthnDescriptorRequest.decode(message.value); - }, - toProto(message: GetAuthnDescriptorRequest): Uint8Array { - return GetAuthnDescriptorRequest.encode(message).finish(); - }, - toProtoMsg(message: GetAuthnDescriptorRequest): GetAuthnDescriptorRequestProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest", - value: GetAuthnDescriptorRequest.encode(message).finish() - }; - } -}; -function createBaseGetAuthnDescriptorResponse(): GetAuthnDescriptorResponse { - return { - authn: AuthnDescriptor.fromPartial({}) - }; -} -export const GetAuthnDescriptorResponse = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse", - aminoType: "cosmos-sdk/GetAuthnDescriptorResponse", - encode(message: GetAuthnDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.authn !== undefined) { - AuthnDescriptor.encode(message.authn, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetAuthnDescriptorResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.authn = AuthnDescriptor.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetAuthnDescriptorResponse { - const obj = createBaseGetAuthnDescriptorResponse(); - if (isSet(object.authn)) obj.authn = AuthnDescriptor.fromJSON(object.authn); - return obj; - }, - toJSON(message: GetAuthnDescriptorResponse): unknown { - const obj: any = {}; - message.authn !== undefined && (obj.authn = message.authn ? AuthnDescriptor.toJSON(message.authn) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetAuthnDescriptorResponse { - const message = createBaseGetAuthnDescriptorResponse(); - if (object.authn !== undefined && object.authn !== null) { - message.authn = AuthnDescriptor.fromPartial(object.authn); - } - return message; - }, - fromSDK(object: GetAuthnDescriptorResponseSDKType): GetAuthnDescriptorResponse { - return { - authn: object.authn ? AuthnDescriptor.fromSDK(object.authn) : undefined - }; - }, - toSDK(message: GetAuthnDescriptorResponse): GetAuthnDescriptorResponseSDKType { - const obj: any = {}; - message.authn !== undefined && (obj.authn = message.authn ? AuthnDescriptor.toSDK(message.authn) : undefined); - return obj; - }, - fromAmino(object: GetAuthnDescriptorResponseAmino): GetAuthnDescriptorResponse { - return { - authn: object?.authn ? AuthnDescriptor.fromAmino(object.authn) : undefined - }; - }, - toAmino(message: GetAuthnDescriptorResponse): GetAuthnDescriptorResponseAmino { - const obj: any = {}; - obj.authn = message.authn ? AuthnDescriptor.toAmino(message.authn) : undefined; - return obj; - }, - fromAminoMsg(object: GetAuthnDescriptorResponseAminoMsg): GetAuthnDescriptorResponse { - return GetAuthnDescriptorResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetAuthnDescriptorResponse): GetAuthnDescriptorResponseAminoMsg { - return { - type: "cosmos-sdk/GetAuthnDescriptorResponse", - value: GetAuthnDescriptorResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetAuthnDescriptorResponseProtoMsg): GetAuthnDescriptorResponse { - return GetAuthnDescriptorResponse.decode(message.value); - }, - toProto(message: GetAuthnDescriptorResponse): Uint8Array { - return GetAuthnDescriptorResponse.encode(message).finish(); - }, - toProtoMsg(message: GetAuthnDescriptorResponse): GetAuthnDescriptorResponseProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse", - value: GetAuthnDescriptorResponse.encode(message).finish() - }; - } -}; -function createBaseGetChainDescriptorRequest(): GetChainDescriptorRequest { - return {}; -} -export const GetChainDescriptorRequest = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest", - aminoType: "cosmos-sdk/GetChainDescriptorRequest", - encode(_: GetChainDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetChainDescriptorRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetChainDescriptorRequest { - const obj = createBaseGetChainDescriptorRequest(); - return obj; - }, - toJSON(_: GetChainDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): GetChainDescriptorRequest { - const message = createBaseGetChainDescriptorRequest(); - return message; - }, - fromSDK(_: GetChainDescriptorRequestSDKType): GetChainDescriptorRequest { - return {}; - }, - toSDK(_: GetChainDescriptorRequest): GetChainDescriptorRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: GetChainDescriptorRequestAmino): GetChainDescriptorRequest { - return {}; - }, - toAmino(_: GetChainDescriptorRequest): GetChainDescriptorRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetChainDescriptorRequestAminoMsg): GetChainDescriptorRequest { - return GetChainDescriptorRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetChainDescriptorRequest): GetChainDescriptorRequestAminoMsg { - return { - type: "cosmos-sdk/GetChainDescriptorRequest", - value: GetChainDescriptorRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetChainDescriptorRequestProtoMsg): GetChainDescriptorRequest { - return GetChainDescriptorRequest.decode(message.value); - }, - toProto(message: GetChainDescriptorRequest): Uint8Array { - return GetChainDescriptorRequest.encode(message).finish(); - }, - toProtoMsg(message: GetChainDescriptorRequest): GetChainDescriptorRequestProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest", - value: GetChainDescriptorRequest.encode(message).finish() - }; - } -}; -function createBaseGetChainDescriptorResponse(): GetChainDescriptorResponse { - return { - chain: ChainDescriptor.fromPartial({}) - }; -} -export const GetChainDescriptorResponse = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse", - aminoType: "cosmos-sdk/GetChainDescriptorResponse", - encode(message: GetChainDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.chain !== undefined) { - ChainDescriptor.encode(message.chain, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetChainDescriptorResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.chain = ChainDescriptor.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetChainDescriptorResponse { - const obj = createBaseGetChainDescriptorResponse(); - if (isSet(object.chain)) obj.chain = ChainDescriptor.fromJSON(object.chain); - return obj; - }, - toJSON(message: GetChainDescriptorResponse): unknown { - const obj: any = {}; - message.chain !== undefined && (obj.chain = message.chain ? ChainDescriptor.toJSON(message.chain) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetChainDescriptorResponse { - const message = createBaseGetChainDescriptorResponse(); - if (object.chain !== undefined && object.chain !== null) { - message.chain = ChainDescriptor.fromPartial(object.chain); - } - return message; - }, - fromSDK(object: GetChainDescriptorResponseSDKType): GetChainDescriptorResponse { - return { - chain: object.chain ? ChainDescriptor.fromSDK(object.chain) : undefined - }; - }, - toSDK(message: GetChainDescriptorResponse): GetChainDescriptorResponseSDKType { - const obj: any = {}; - message.chain !== undefined && (obj.chain = message.chain ? ChainDescriptor.toSDK(message.chain) : undefined); - return obj; - }, - fromAmino(object: GetChainDescriptorResponseAmino): GetChainDescriptorResponse { - return { - chain: object?.chain ? ChainDescriptor.fromAmino(object.chain) : undefined - }; - }, - toAmino(message: GetChainDescriptorResponse): GetChainDescriptorResponseAmino { - const obj: any = {}; - obj.chain = message.chain ? ChainDescriptor.toAmino(message.chain) : undefined; - return obj; - }, - fromAminoMsg(object: GetChainDescriptorResponseAminoMsg): GetChainDescriptorResponse { - return GetChainDescriptorResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetChainDescriptorResponse): GetChainDescriptorResponseAminoMsg { - return { - type: "cosmos-sdk/GetChainDescriptorResponse", - value: GetChainDescriptorResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetChainDescriptorResponseProtoMsg): GetChainDescriptorResponse { - return GetChainDescriptorResponse.decode(message.value); - }, - toProto(message: GetChainDescriptorResponse): Uint8Array { - return GetChainDescriptorResponse.encode(message).finish(); - }, - toProtoMsg(message: GetChainDescriptorResponse): GetChainDescriptorResponseProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse", - value: GetChainDescriptorResponse.encode(message).finish() - }; - } -}; -function createBaseGetCodecDescriptorRequest(): GetCodecDescriptorRequest { - return {}; -} -export const GetCodecDescriptorRequest = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest", - aminoType: "cosmos-sdk/GetCodecDescriptorRequest", - encode(_: GetCodecDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetCodecDescriptorRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetCodecDescriptorRequest { - const obj = createBaseGetCodecDescriptorRequest(); - return obj; - }, - toJSON(_: GetCodecDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): GetCodecDescriptorRequest { - const message = createBaseGetCodecDescriptorRequest(); - return message; - }, - fromSDK(_: GetCodecDescriptorRequestSDKType): GetCodecDescriptorRequest { - return {}; - }, - toSDK(_: GetCodecDescriptorRequest): GetCodecDescriptorRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: GetCodecDescriptorRequestAmino): GetCodecDescriptorRequest { - return {}; - }, - toAmino(_: GetCodecDescriptorRequest): GetCodecDescriptorRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetCodecDescriptorRequestAminoMsg): GetCodecDescriptorRequest { - return GetCodecDescriptorRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetCodecDescriptorRequest): GetCodecDescriptorRequestAminoMsg { - return { - type: "cosmos-sdk/GetCodecDescriptorRequest", - value: GetCodecDescriptorRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetCodecDescriptorRequestProtoMsg): GetCodecDescriptorRequest { - return GetCodecDescriptorRequest.decode(message.value); - }, - toProto(message: GetCodecDescriptorRequest): Uint8Array { - return GetCodecDescriptorRequest.encode(message).finish(); - }, - toProtoMsg(message: GetCodecDescriptorRequest): GetCodecDescriptorRequestProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest", - value: GetCodecDescriptorRequest.encode(message).finish() - }; - } -}; -function createBaseGetCodecDescriptorResponse(): GetCodecDescriptorResponse { - return { - codec: CodecDescriptor.fromPartial({}) - }; -} -export const GetCodecDescriptorResponse = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse", - aminoType: "cosmos-sdk/GetCodecDescriptorResponse", - encode(message: GetCodecDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.codec !== undefined) { - CodecDescriptor.encode(message.codec, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetCodecDescriptorResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.codec = CodecDescriptor.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetCodecDescriptorResponse { - const obj = createBaseGetCodecDescriptorResponse(); - if (isSet(object.codec)) obj.codec = CodecDescriptor.fromJSON(object.codec); - return obj; - }, - toJSON(message: GetCodecDescriptorResponse): unknown { - const obj: any = {}; - message.codec !== undefined && (obj.codec = message.codec ? CodecDescriptor.toJSON(message.codec) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetCodecDescriptorResponse { - const message = createBaseGetCodecDescriptorResponse(); - if (object.codec !== undefined && object.codec !== null) { - message.codec = CodecDescriptor.fromPartial(object.codec); - } - return message; - }, - fromSDK(object: GetCodecDescriptorResponseSDKType): GetCodecDescriptorResponse { - return { - codec: object.codec ? CodecDescriptor.fromSDK(object.codec) : undefined - }; - }, - toSDK(message: GetCodecDescriptorResponse): GetCodecDescriptorResponseSDKType { - const obj: any = {}; - message.codec !== undefined && (obj.codec = message.codec ? CodecDescriptor.toSDK(message.codec) : undefined); - return obj; - }, - fromAmino(object: GetCodecDescriptorResponseAmino): GetCodecDescriptorResponse { - return { - codec: object?.codec ? CodecDescriptor.fromAmino(object.codec) : undefined - }; - }, - toAmino(message: GetCodecDescriptorResponse): GetCodecDescriptorResponseAmino { - const obj: any = {}; - obj.codec = message.codec ? CodecDescriptor.toAmino(message.codec) : undefined; - return obj; - }, - fromAminoMsg(object: GetCodecDescriptorResponseAminoMsg): GetCodecDescriptorResponse { - return GetCodecDescriptorResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetCodecDescriptorResponse): GetCodecDescriptorResponseAminoMsg { - return { - type: "cosmos-sdk/GetCodecDescriptorResponse", - value: GetCodecDescriptorResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetCodecDescriptorResponseProtoMsg): GetCodecDescriptorResponse { - return GetCodecDescriptorResponse.decode(message.value); - }, - toProto(message: GetCodecDescriptorResponse): Uint8Array { - return GetCodecDescriptorResponse.encode(message).finish(); - }, - toProtoMsg(message: GetCodecDescriptorResponse): GetCodecDescriptorResponseProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse", - value: GetCodecDescriptorResponse.encode(message).finish() - }; - } -}; -function createBaseGetConfigurationDescriptorRequest(): GetConfigurationDescriptorRequest { - return {}; -} -export const GetConfigurationDescriptorRequest = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest", - aminoType: "cosmos-sdk/GetConfigurationDescriptorRequest", - encode(_: GetConfigurationDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetConfigurationDescriptorRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetConfigurationDescriptorRequest { - const obj = createBaseGetConfigurationDescriptorRequest(); - return obj; - }, - toJSON(_: GetConfigurationDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): GetConfigurationDescriptorRequest { - const message = createBaseGetConfigurationDescriptorRequest(); - return message; - }, - fromSDK(_: GetConfigurationDescriptorRequestSDKType): GetConfigurationDescriptorRequest { - return {}; - }, - toSDK(_: GetConfigurationDescriptorRequest): GetConfigurationDescriptorRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: GetConfigurationDescriptorRequestAmino): GetConfigurationDescriptorRequest { - return {}; - }, - toAmino(_: GetConfigurationDescriptorRequest): GetConfigurationDescriptorRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetConfigurationDescriptorRequestAminoMsg): GetConfigurationDescriptorRequest { - return GetConfigurationDescriptorRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetConfigurationDescriptorRequest): GetConfigurationDescriptorRequestAminoMsg { - return { - type: "cosmos-sdk/GetConfigurationDescriptorRequest", - value: GetConfigurationDescriptorRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetConfigurationDescriptorRequestProtoMsg): GetConfigurationDescriptorRequest { - return GetConfigurationDescriptorRequest.decode(message.value); - }, - toProto(message: GetConfigurationDescriptorRequest): Uint8Array { - return GetConfigurationDescriptorRequest.encode(message).finish(); - }, - toProtoMsg(message: GetConfigurationDescriptorRequest): GetConfigurationDescriptorRequestProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest", - value: GetConfigurationDescriptorRequest.encode(message).finish() - }; - } -}; -function createBaseGetConfigurationDescriptorResponse(): GetConfigurationDescriptorResponse { - return { - config: ConfigurationDescriptor.fromPartial({}) - }; -} -export const GetConfigurationDescriptorResponse = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse", - aminoType: "cosmos-sdk/GetConfigurationDescriptorResponse", - encode(message: GetConfigurationDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.config !== undefined) { - ConfigurationDescriptor.encode(message.config, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetConfigurationDescriptorResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.config = ConfigurationDescriptor.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetConfigurationDescriptorResponse { - const obj = createBaseGetConfigurationDescriptorResponse(); - if (isSet(object.config)) obj.config = ConfigurationDescriptor.fromJSON(object.config); - return obj; - }, - toJSON(message: GetConfigurationDescriptorResponse): unknown { - const obj: any = {}; - message.config !== undefined && (obj.config = message.config ? ConfigurationDescriptor.toJSON(message.config) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetConfigurationDescriptorResponse { - const message = createBaseGetConfigurationDescriptorResponse(); - if (object.config !== undefined && object.config !== null) { - message.config = ConfigurationDescriptor.fromPartial(object.config); - } - return message; - }, - fromSDK(object: GetConfigurationDescriptorResponseSDKType): GetConfigurationDescriptorResponse { - return { - config: object.config ? ConfigurationDescriptor.fromSDK(object.config) : undefined - }; - }, - toSDK(message: GetConfigurationDescriptorResponse): GetConfigurationDescriptorResponseSDKType { - const obj: any = {}; - message.config !== undefined && (obj.config = message.config ? ConfigurationDescriptor.toSDK(message.config) : undefined); - return obj; - }, - fromAmino(object: GetConfigurationDescriptorResponseAmino): GetConfigurationDescriptorResponse { - return { - config: object?.config ? ConfigurationDescriptor.fromAmino(object.config) : undefined - }; - }, - toAmino(message: GetConfigurationDescriptorResponse): GetConfigurationDescriptorResponseAmino { - const obj: any = {}; - obj.config = message.config ? ConfigurationDescriptor.toAmino(message.config) : undefined; - return obj; - }, - fromAminoMsg(object: GetConfigurationDescriptorResponseAminoMsg): GetConfigurationDescriptorResponse { - return GetConfigurationDescriptorResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetConfigurationDescriptorResponse): GetConfigurationDescriptorResponseAminoMsg { - return { - type: "cosmos-sdk/GetConfigurationDescriptorResponse", - value: GetConfigurationDescriptorResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetConfigurationDescriptorResponseProtoMsg): GetConfigurationDescriptorResponse { - return GetConfigurationDescriptorResponse.decode(message.value); - }, - toProto(message: GetConfigurationDescriptorResponse): Uint8Array { - return GetConfigurationDescriptorResponse.encode(message).finish(); - }, - toProtoMsg(message: GetConfigurationDescriptorResponse): GetConfigurationDescriptorResponseProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse", - value: GetConfigurationDescriptorResponse.encode(message).finish() - }; - } -}; -function createBaseGetQueryServicesDescriptorRequest(): GetQueryServicesDescriptorRequest { - return {}; -} -export const GetQueryServicesDescriptorRequest = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest", - aminoType: "cosmos-sdk/GetQueryServicesDescriptorRequest", - encode(_: GetQueryServicesDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetQueryServicesDescriptorRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetQueryServicesDescriptorRequest { - const obj = createBaseGetQueryServicesDescriptorRequest(); - return obj; - }, - toJSON(_: GetQueryServicesDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): GetQueryServicesDescriptorRequest { - const message = createBaseGetQueryServicesDescriptorRequest(); - return message; - }, - fromSDK(_: GetQueryServicesDescriptorRequestSDKType): GetQueryServicesDescriptorRequest { - return {}; - }, - toSDK(_: GetQueryServicesDescriptorRequest): GetQueryServicesDescriptorRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: GetQueryServicesDescriptorRequestAmino): GetQueryServicesDescriptorRequest { - return {}; - }, - toAmino(_: GetQueryServicesDescriptorRequest): GetQueryServicesDescriptorRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetQueryServicesDescriptorRequestAminoMsg): GetQueryServicesDescriptorRequest { - return GetQueryServicesDescriptorRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetQueryServicesDescriptorRequest): GetQueryServicesDescriptorRequestAminoMsg { - return { - type: "cosmos-sdk/GetQueryServicesDescriptorRequest", - value: GetQueryServicesDescriptorRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetQueryServicesDescriptorRequestProtoMsg): GetQueryServicesDescriptorRequest { - return GetQueryServicesDescriptorRequest.decode(message.value); - }, - toProto(message: GetQueryServicesDescriptorRequest): Uint8Array { - return GetQueryServicesDescriptorRequest.encode(message).finish(); - }, - toProtoMsg(message: GetQueryServicesDescriptorRequest): GetQueryServicesDescriptorRequestProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest", - value: GetQueryServicesDescriptorRequest.encode(message).finish() - }; - } -}; -function createBaseGetQueryServicesDescriptorResponse(): GetQueryServicesDescriptorResponse { - return { - queries: QueryServicesDescriptor.fromPartial({}) - }; -} -export const GetQueryServicesDescriptorResponse = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse", - aminoType: "cosmos-sdk/GetQueryServicesDescriptorResponse", - encode(message: GetQueryServicesDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.queries !== undefined) { - QueryServicesDescriptor.encode(message.queries, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetQueryServicesDescriptorResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.queries = QueryServicesDescriptor.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetQueryServicesDescriptorResponse { - const obj = createBaseGetQueryServicesDescriptorResponse(); - if (isSet(object.queries)) obj.queries = QueryServicesDescriptor.fromJSON(object.queries); - return obj; - }, - toJSON(message: GetQueryServicesDescriptorResponse): unknown { - const obj: any = {}; - message.queries !== undefined && (obj.queries = message.queries ? QueryServicesDescriptor.toJSON(message.queries) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetQueryServicesDescriptorResponse { - const message = createBaseGetQueryServicesDescriptorResponse(); - if (object.queries !== undefined && object.queries !== null) { - message.queries = QueryServicesDescriptor.fromPartial(object.queries); - } - return message; - }, - fromSDK(object: GetQueryServicesDescriptorResponseSDKType): GetQueryServicesDescriptorResponse { - return { - queries: object.queries ? QueryServicesDescriptor.fromSDK(object.queries) : undefined - }; - }, - toSDK(message: GetQueryServicesDescriptorResponse): GetQueryServicesDescriptorResponseSDKType { - const obj: any = {}; - message.queries !== undefined && (obj.queries = message.queries ? QueryServicesDescriptor.toSDK(message.queries) : undefined); - return obj; - }, - fromAmino(object: GetQueryServicesDescriptorResponseAmino): GetQueryServicesDescriptorResponse { - return { - queries: object?.queries ? QueryServicesDescriptor.fromAmino(object.queries) : undefined - }; - }, - toAmino(message: GetQueryServicesDescriptorResponse): GetQueryServicesDescriptorResponseAmino { - const obj: any = {}; - obj.queries = message.queries ? QueryServicesDescriptor.toAmino(message.queries) : undefined; - return obj; - }, - fromAminoMsg(object: GetQueryServicesDescriptorResponseAminoMsg): GetQueryServicesDescriptorResponse { - return GetQueryServicesDescriptorResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetQueryServicesDescriptorResponse): GetQueryServicesDescriptorResponseAminoMsg { - return { - type: "cosmos-sdk/GetQueryServicesDescriptorResponse", - value: GetQueryServicesDescriptorResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetQueryServicesDescriptorResponseProtoMsg): GetQueryServicesDescriptorResponse { - return GetQueryServicesDescriptorResponse.decode(message.value); - }, - toProto(message: GetQueryServicesDescriptorResponse): Uint8Array { - return GetQueryServicesDescriptorResponse.encode(message).finish(); - }, - toProtoMsg(message: GetQueryServicesDescriptorResponse): GetQueryServicesDescriptorResponseProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse", - value: GetQueryServicesDescriptorResponse.encode(message).finish() - }; - } -}; -function createBaseGetTxDescriptorRequest(): GetTxDescriptorRequest { - return {}; -} -export const GetTxDescriptorRequest = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest", - aminoType: "cosmos-sdk/GetTxDescriptorRequest", - encode(_: GetTxDescriptorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxDescriptorRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetTxDescriptorRequest { - const obj = createBaseGetTxDescriptorRequest(); - return obj; - }, - toJSON(_: GetTxDescriptorRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): GetTxDescriptorRequest { - const message = createBaseGetTxDescriptorRequest(); - return message; - }, - fromSDK(_: GetTxDescriptorRequestSDKType): GetTxDescriptorRequest { - return {}; - }, - toSDK(_: GetTxDescriptorRequest): GetTxDescriptorRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: GetTxDescriptorRequestAmino): GetTxDescriptorRequest { - return {}; - }, - toAmino(_: GetTxDescriptorRequest): GetTxDescriptorRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetTxDescriptorRequestAminoMsg): GetTxDescriptorRequest { - return GetTxDescriptorRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetTxDescriptorRequest): GetTxDescriptorRequestAminoMsg { - return { - type: "cosmos-sdk/GetTxDescriptorRequest", - value: GetTxDescriptorRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetTxDescriptorRequestProtoMsg): GetTxDescriptorRequest { - return GetTxDescriptorRequest.decode(message.value); - }, - toProto(message: GetTxDescriptorRequest): Uint8Array { - return GetTxDescriptorRequest.encode(message).finish(); - }, - toProtoMsg(message: GetTxDescriptorRequest): GetTxDescriptorRequestProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest", - value: GetTxDescriptorRequest.encode(message).finish() - }; - } -}; -function createBaseGetTxDescriptorResponse(): GetTxDescriptorResponse { - return { - tx: TxDescriptor.fromPartial({}) - }; -} -export const GetTxDescriptorResponse = { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse", - aminoType: "cosmos-sdk/GetTxDescriptorResponse", - encode(message: GetTxDescriptorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tx !== undefined) { - TxDescriptor.encode(message.tx, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxDescriptorResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.tx = TxDescriptor.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetTxDescriptorResponse { - const obj = createBaseGetTxDescriptorResponse(); - if (isSet(object.tx)) obj.tx = TxDescriptor.fromJSON(object.tx); - return obj; - }, - toJSON(message: GetTxDescriptorResponse): unknown { - const obj: any = {}; - message.tx !== undefined && (obj.tx = message.tx ? TxDescriptor.toJSON(message.tx) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetTxDescriptorResponse { - const message = createBaseGetTxDescriptorResponse(); - if (object.tx !== undefined && object.tx !== null) { - message.tx = TxDescriptor.fromPartial(object.tx); - } - return message; - }, - fromSDK(object: GetTxDescriptorResponseSDKType): GetTxDescriptorResponse { - return { - tx: object.tx ? TxDescriptor.fromSDK(object.tx) : undefined - }; - }, - toSDK(message: GetTxDescriptorResponse): GetTxDescriptorResponseSDKType { - const obj: any = {}; - message.tx !== undefined && (obj.tx = message.tx ? TxDescriptor.toSDK(message.tx) : undefined); - return obj; - }, - fromAmino(object: GetTxDescriptorResponseAmino): GetTxDescriptorResponse { - return { - tx: object?.tx ? TxDescriptor.fromAmino(object.tx) : undefined - }; - }, - toAmino(message: GetTxDescriptorResponse): GetTxDescriptorResponseAmino { - const obj: any = {}; - obj.tx = message.tx ? TxDescriptor.toAmino(message.tx) : undefined; - return obj; - }, - fromAminoMsg(object: GetTxDescriptorResponseAminoMsg): GetTxDescriptorResponse { - return GetTxDescriptorResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetTxDescriptorResponse): GetTxDescriptorResponseAminoMsg { - return { - type: "cosmos-sdk/GetTxDescriptorResponse", - value: GetTxDescriptorResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetTxDescriptorResponseProtoMsg): GetTxDescriptorResponse { - return GetTxDescriptorResponse.decode(message.value); - }, - toProto(message: GetTxDescriptorResponse): Uint8Array { - return GetTxDescriptorResponse.encode(message).finish(); - }, - toProtoMsg(message: GetTxDescriptorResponse): GetTxDescriptorResponseProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse", - value: GetTxDescriptorResponse.encode(message).finish() - }; - } -}; -function createBaseQueryServicesDescriptor(): QueryServicesDescriptor { - return { - queryServices: [] - }; -} -export const QueryServicesDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryServicesDescriptor", - aminoType: "cosmos-sdk/QueryServicesDescriptor", - encode(message: QueryServicesDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.queryServices) { - QueryServiceDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryServicesDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryServicesDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.queryServices.push(QueryServiceDescriptor.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryServicesDescriptor { - const obj = createBaseQueryServicesDescriptor(); - if (Array.isArray(object?.queryServices)) obj.queryServices = object.queryServices.map((e: any) => QueryServiceDescriptor.fromJSON(e)); - return obj; - }, - toJSON(message: QueryServicesDescriptor): unknown { - const obj: any = {}; - if (message.queryServices) { - obj.queryServices = message.queryServices.map(e => e ? QueryServiceDescriptor.toJSON(e) : undefined); - } else { - obj.queryServices = []; - } - return obj; - }, - fromPartial(object: DeepPartial): QueryServicesDescriptor { - const message = createBaseQueryServicesDescriptor(); - message.queryServices = object.queryServices?.map(e => QueryServiceDescriptor.fromPartial(e)) || []; - return message; - }, - fromSDK(object: QueryServicesDescriptorSDKType): QueryServicesDescriptor { - return { - queryServices: Array.isArray(object?.query_services) ? object.query_services.map((e: any) => QueryServiceDescriptor.fromSDK(e)) : [] - }; - }, - toSDK(message: QueryServicesDescriptor): QueryServicesDescriptorSDKType { - const obj: any = {}; - if (message.queryServices) { - obj.query_services = message.queryServices.map(e => e ? QueryServiceDescriptor.toSDK(e) : undefined); - } else { - obj.query_services = []; - } - return obj; - }, - fromAmino(object: QueryServicesDescriptorAmino): QueryServicesDescriptor { - return { - queryServices: Array.isArray(object?.query_services) ? object.query_services.map((e: any) => QueryServiceDescriptor.fromAmino(e)) : [] - }; - }, - toAmino(message: QueryServicesDescriptor): QueryServicesDescriptorAmino { - const obj: any = {}; - if (message.queryServices) { - obj.query_services = message.queryServices.map(e => e ? QueryServiceDescriptor.toAmino(e) : undefined); - } else { - obj.query_services = []; - } - return obj; - }, - fromAminoMsg(object: QueryServicesDescriptorAminoMsg): QueryServicesDescriptor { - return QueryServicesDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: QueryServicesDescriptor): QueryServicesDescriptorAminoMsg { - return { - type: "cosmos-sdk/QueryServicesDescriptor", - value: QueryServicesDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: QueryServicesDescriptorProtoMsg): QueryServicesDescriptor { - return QueryServicesDescriptor.decode(message.value); - }, - toProto(message: QueryServicesDescriptor): Uint8Array { - return QueryServicesDescriptor.encode(message).finish(); - }, - toProtoMsg(message: QueryServicesDescriptor): QueryServicesDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryServicesDescriptor", - value: QueryServicesDescriptor.encode(message).finish() - }; - } -}; -function createBaseQueryServiceDescriptor(): QueryServiceDescriptor { - return { - fullname: "", - isModule: false, - methods: [] - }; -} -export const QueryServiceDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryServiceDescriptor", - aminoType: "cosmos-sdk/QueryServiceDescriptor", - encode(message: QueryServiceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fullname !== "") { - writer.uint32(10).string(message.fullname); - } - if (message.isModule === true) { - writer.uint32(16).bool(message.isModule); - } - for (const v of message.methods) { - QueryMethodDescriptor.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryServiceDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryServiceDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fullname = reader.string(); - break; - case 2: - message.isModule = reader.bool(); - break; - case 3: - message.methods.push(QueryMethodDescriptor.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryServiceDescriptor { - const obj = createBaseQueryServiceDescriptor(); - if (isSet(object.fullname)) obj.fullname = String(object.fullname); - if (isSet(object.isModule)) obj.isModule = Boolean(object.isModule); - if (Array.isArray(object?.methods)) obj.methods = object.methods.map((e: any) => QueryMethodDescriptor.fromJSON(e)); - return obj; - }, - toJSON(message: QueryServiceDescriptor): unknown { - const obj: any = {}; - message.fullname !== undefined && (obj.fullname = message.fullname); - message.isModule !== undefined && (obj.isModule = message.isModule); - if (message.methods) { - obj.methods = message.methods.map(e => e ? QueryMethodDescriptor.toJSON(e) : undefined); - } else { - obj.methods = []; - } - return obj; - }, - fromPartial(object: DeepPartial): QueryServiceDescriptor { - const message = createBaseQueryServiceDescriptor(); - message.fullname = object.fullname ?? ""; - message.isModule = object.isModule ?? false; - message.methods = object.methods?.map(e => QueryMethodDescriptor.fromPartial(e)) || []; - return message; - }, - fromSDK(object: QueryServiceDescriptorSDKType): QueryServiceDescriptor { - return { - fullname: object?.fullname, - isModule: object?.is_module, - methods: Array.isArray(object?.methods) ? object.methods.map((e: any) => QueryMethodDescriptor.fromSDK(e)) : [] - }; - }, - toSDK(message: QueryServiceDescriptor): QueryServiceDescriptorSDKType { - const obj: any = {}; - obj.fullname = message.fullname; - obj.is_module = message.isModule; - if (message.methods) { - obj.methods = message.methods.map(e => e ? QueryMethodDescriptor.toSDK(e) : undefined); - } else { - obj.methods = []; - } - return obj; - }, - fromAmino(object: QueryServiceDescriptorAmino): QueryServiceDescriptor { - return { - fullname: object.fullname, - isModule: object.is_module, - methods: Array.isArray(object?.methods) ? object.methods.map((e: any) => QueryMethodDescriptor.fromAmino(e)) : [] - }; - }, - toAmino(message: QueryServiceDescriptor): QueryServiceDescriptorAmino { - const obj: any = {}; - obj.fullname = message.fullname; - obj.is_module = message.isModule; - if (message.methods) { - obj.methods = message.methods.map(e => e ? QueryMethodDescriptor.toAmino(e) : undefined); - } else { - obj.methods = []; - } - return obj; - }, - fromAminoMsg(object: QueryServiceDescriptorAminoMsg): QueryServiceDescriptor { - return QueryServiceDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: QueryServiceDescriptor): QueryServiceDescriptorAminoMsg { - return { - type: "cosmos-sdk/QueryServiceDescriptor", - value: QueryServiceDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: QueryServiceDescriptorProtoMsg): QueryServiceDescriptor { - return QueryServiceDescriptor.decode(message.value); - }, - toProto(message: QueryServiceDescriptor): Uint8Array { - return QueryServiceDescriptor.encode(message).finish(); - }, - toProtoMsg(message: QueryServiceDescriptor): QueryServiceDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryServiceDescriptor", - value: QueryServiceDescriptor.encode(message).finish() - }; - } -}; -function createBaseQueryMethodDescriptor(): QueryMethodDescriptor { - return { - name: "", - fullQueryPath: "" - }; -} -export const QueryMethodDescriptor = { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryMethodDescriptor", - aminoType: "cosmos-sdk/QueryMethodDescriptor", - encode(message: QueryMethodDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.fullQueryPath !== "") { - writer.uint32(18).string(message.fullQueryPath); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryMethodDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryMethodDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.fullQueryPath = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryMethodDescriptor { - const obj = createBaseQueryMethodDescriptor(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.fullQueryPath)) obj.fullQueryPath = String(object.fullQueryPath); - return obj; - }, - toJSON(message: QueryMethodDescriptor): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.fullQueryPath !== undefined && (obj.fullQueryPath = message.fullQueryPath); - return obj; - }, - fromPartial(object: DeepPartial): QueryMethodDescriptor { - const message = createBaseQueryMethodDescriptor(); - message.name = object.name ?? ""; - message.fullQueryPath = object.fullQueryPath ?? ""; - return message; - }, - fromSDK(object: QueryMethodDescriptorSDKType): QueryMethodDescriptor { - return { - name: object?.name, - fullQueryPath: object?.full_query_path - }; - }, - toSDK(message: QueryMethodDescriptor): QueryMethodDescriptorSDKType { - const obj: any = {}; - obj.name = message.name; - obj.full_query_path = message.fullQueryPath; - return obj; - }, - fromAmino(object: QueryMethodDescriptorAmino): QueryMethodDescriptor { - return { - name: object.name, - fullQueryPath: object.full_query_path - }; - }, - toAmino(message: QueryMethodDescriptor): QueryMethodDescriptorAmino { - const obj: any = {}; - obj.name = message.name; - obj.full_query_path = message.fullQueryPath; - return obj; - }, - fromAminoMsg(object: QueryMethodDescriptorAminoMsg): QueryMethodDescriptor { - return QueryMethodDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: QueryMethodDescriptor): QueryMethodDescriptorAminoMsg { - return { - type: "cosmos-sdk/QueryMethodDescriptor", - value: QueryMethodDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: QueryMethodDescriptorProtoMsg): QueryMethodDescriptor { - return QueryMethodDescriptor.decode(message.value); - }, - toProto(message: QueryMethodDescriptor): Uint8Array { - return QueryMethodDescriptor.encode(message).finish(); - }, - toProtoMsg(message: QueryMethodDescriptor): QueryMethodDescriptorProtoMsg { - return { - typeUrl: "/cosmos.base.reflection.v2alpha1.QueryMethodDescriptor", - value: QueryMethodDescriptor.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts b/quicksilverjs/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts deleted file mode 100644 index 540e8fbc1..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +++ /dev/null @@ -1,1261 +0,0 @@ -import { Long, isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.base.snapshots.v1beta1"; -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface Snapshot { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata: Metadata; -} -export interface SnapshotProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.Snapshot"; - value: Uint8Array; -} -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface SnapshotAmino { - height: string; - format: number; - chunks: number; - hash: Uint8Array; - metadata?: MetadataAmino; -} -export interface SnapshotAminoMsg { - type: "cosmos-sdk/Snapshot"; - value: SnapshotAmino; -} -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface SnapshotSDKType { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata: MetadataSDKType; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface Metadata { - /** SHA-256 chunk hashes */ - chunkHashes: Uint8Array[]; -} -export interface MetadataProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.Metadata"; - value: Uint8Array; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface MetadataAmino { - /** SHA-256 chunk hashes */ - chunk_hashes: Uint8Array[]; -} -export interface MetadataAminoMsg { - type: "cosmos-sdk/Metadata"; - value: MetadataAmino; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface MetadataSDKType { - chunk_hashes: Uint8Array[]; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ -export interface SnapshotItem { - store?: SnapshotStoreItem; - iavl?: SnapshotIAVLItem; - extension?: SnapshotExtensionMeta; - extensionPayload?: SnapshotExtensionPayload; - kv?: SnapshotKVItem; - schema?: SnapshotSchema; -} -export interface SnapshotItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotItem"; - value: Uint8Array; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ -export interface SnapshotItemAmino { - store?: SnapshotStoreItemAmino; - iavl?: SnapshotIAVLItemAmino; - extension?: SnapshotExtensionMetaAmino; - extension_payload?: SnapshotExtensionPayloadAmino; - kv?: SnapshotKVItemAmino; - schema?: SnapshotSchemaAmino; -} -export interface SnapshotItemAminoMsg { - type: "cosmos-sdk/SnapshotItem"; - value: SnapshotItemAmino; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ -export interface SnapshotItemSDKType { - store?: SnapshotStoreItemSDKType; - iavl?: SnapshotIAVLItemSDKType; - extension?: SnapshotExtensionMetaSDKType; - extension_payload?: SnapshotExtensionPayloadSDKType; - kv?: SnapshotKVItemSDKType; - schema?: SnapshotSchemaSDKType; -} -/** SnapshotStoreItem contains metadata about a snapshotted store. */ -export interface SnapshotStoreItem { - name: string; -} -export interface SnapshotStoreItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotStoreItem"; - value: Uint8Array; -} -/** SnapshotStoreItem contains metadata about a snapshotted store. */ -export interface SnapshotStoreItemAmino { - name: string; -} -export interface SnapshotStoreItemAminoMsg { - type: "cosmos-sdk/SnapshotStoreItem"; - value: SnapshotStoreItemAmino; -} -/** SnapshotStoreItem contains metadata about a snapshotted store. */ -export interface SnapshotStoreItemSDKType { - name: string; -} -/** SnapshotIAVLItem is an exported IAVL node. */ -export interface SnapshotIAVLItem { - key: Uint8Array; - value: Uint8Array; - /** version is block height */ - version: Long; - /** height is depth of the tree. */ - height: number; -} -export interface SnapshotIAVLItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotIAVLItem"; - value: Uint8Array; -} -/** SnapshotIAVLItem is an exported IAVL node. */ -export interface SnapshotIAVLItemAmino { - key: Uint8Array; - value: Uint8Array; - /** version is block height */ - version: string; - /** height is depth of the tree. */ - height: number; -} -export interface SnapshotIAVLItemAminoMsg { - type: "cosmos-sdk/SnapshotIAVLItem"; - value: SnapshotIAVLItemAmino; -} -/** SnapshotIAVLItem is an exported IAVL node. */ -export interface SnapshotIAVLItemSDKType { - key: Uint8Array; - value: Uint8Array; - version: Long; - height: number; -} -/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ -export interface SnapshotExtensionMeta { - name: string; - format: number; -} -export interface SnapshotExtensionMetaProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta"; - value: Uint8Array; -} -/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ -export interface SnapshotExtensionMetaAmino { - name: string; - format: number; -} -export interface SnapshotExtensionMetaAminoMsg { - type: "cosmos-sdk/SnapshotExtensionMeta"; - value: SnapshotExtensionMetaAmino; -} -/** SnapshotExtensionMeta contains metadata about an external snapshotter. */ -export interface SnapshotExtensionMetaSDKType { - name: string; - format: number; -} -/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ -export interface SnapshotExtensionPayload { - payload: Uint8Array; -} -export interface SnapshotExtensionPayloadProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload"; - value: Uint8Array; -} -/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ -export interface SnapshotExtensionPayloadAmino { - payload: Uint8Array; -} -export interface SnapshotExtensionPayloadAminoMsg { - type: "cosmos-sdk/SnapshotExtensionPayload"; - value: SnapshotExtensionPayloadAmino; -} -/** SnapshotExtensionPayload contains payloads of an external snapshotter. */ -export interface SnapshotExtensionPayloadSDKType { - payload: Uint8Array; -} -/** SnapshotKVItem is an exported Key/Value Pair */ -export interface SnapshotKVItem { - key: Uint8Array; - value: Uint8Array; -} -export interface SnapshotKVItemProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotKVItem"; - value: Uint8Array; -} -/** SnapshotKVItem is an exported Key/Value Pair */ -export interface SnapshotKVItemAmino { - key: Uint8Array; - value: Uint8Array; -} -export interface SnapshotKVItemAminoMsg { - type: "cosmos-sdk/SnapshotKVItem"; - value: SnapshotKVItemAmino; -} -/** SnapshotKVItem is an exported Key/Value Pair */ -export interface SnapshotKVItemSDKType { - key: Uint8Array; - value: Uint8Array; -} -/** SnapshotSchema is an exported schema of smt store */ -export interface SnapshotSchema { - keys: Uint8Array[]; -} -export interface SnapshotSchemaProtoMsg { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotSchema"; - value: Uint8Array; -} -/** SnapshotSchema is an exported schema of smt store */ -export interface SnapshotSchemaAmino { - keys: Uint8Array[]; -} -export interface SnapshotSchemaAminoMsg { - type: "cosmos-sdk/SnapshotSchema"; - value: SnapshotSchemaAmino; -} -/** SnapshotSchema is an exported schema of smt store */ -export interface SnapshotSchemaSDKType { - keys: Uint8Array[]; -} -function createBaseSnapshot(): Snapshot { - return { - height: Long.UZERO, - format: 0, - chunks: 0, - hash: new Uint8Array(), - metadata: Metadata.fromPartial({}) - }; -} -export const Snapshot = { - typeUrl: "/cosmos.base.snapshots.v1beta1.Snapshot", - aminoType: "cosmos-sdk/Snapshot", - encode(message: Snapshot, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).uint64(message.height); - } - if (message.format !== 0) { - writer.uint32(16).uint32(message.format); - } - if (message.chunks !== 0) { - writer.uint32(24).uint32(message.chunks); - } - if (message.hash.length !== 0) { - writer.uint32(34).bytes(message.hash); - } - if (message.metadata !== undefined) { - Metadata.encode(message.metadata, writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Snapshot { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshot(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = (reader.uint64() as Long); - break; - case 2: - message.format = reader.uint32(); - break; - case 3: - message.chunks = reader.uint32(); - break; - case 4: - message.hash = reader.bytes(); - break; - case 5: - message.metadata = Metadata.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Snapshot { - const obj = createBaseSnapshot(); - if (isSet(object.height)) obj.height = Long.fromValue(object.height); - if (isSet(object.format)) obj.format = Number(object.format); - if (isSet(object.chunks)) obj.chunks = Number(object.chunks); - if (isSet(object.hash)) obj.hash = bytesFromBase64(object.hash); - if (isSet(object.metadata)) obj.metadata = Metadata.fromJSON(object.metadata); - return obj; - }, - toJSON(message: Snapshot): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.UZERO).toString()); - message.format !== undefined && (obj.format = Math.round(message.format)); - message.chunks !== undefined && (obj.chunks = Math.round(message.chunks)); - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - message.metadata !== undefined && (obj.metadata = message.metadata ? Metadata.toJSON(message.metadata) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Snapshot { - const message = createBaseSnapshot(); - if (object.height !== undefined && object.height !== null) { - message.height = Long.fromValue(object.height); - } - message.format = object.format ?? 0; - message.chunks = object.chunks ?? 0; - message.hash = object.hash ?? new Uint8Array(); - if (object.metadata !== undefined && object.metadata !== null) { - message.metadata = Metadata.fromPartial(object.metadata); - } - return message; - }, - fromSDK(object: SnapshotSDKType): Snapshot { - return { - height: object?.height, - format: object?.format, - chunks: object?.chunks, - hash: object?.hash, - metadata: object.metadata ? Metadata.fromSDK(object.metadata) : undefined - }; - }, - toSDK(message: Snapshot): SnapshotSDKType { - const obj: any = {}; - obj.height = message.height; - obj.format = message.format; - obj.chunks = message.chunks; - obj.hash = message.hash; - message.metadata !== undefined && (obj.metadata = message.metadata ? Metadata.toSDK(message.metadata) : undefined); - return obj; - }, - fromAmino(object: SnapshotAmino): Snapshot { - return { - height: Long.fromString(object.height), - format: object.format, - chunks: object.chunks, - hash: object.hash, - metadata: object?.metadata ? Metadata.fromAmino(object.metadata) : undefined - }; - }, - toAmino(message: Snapshot): SnapshotAmino { - const obj: any = {}; - obj.height = message.height ? message.height.toString() : undefined; - obj.format = message.format; - obj.chunks = message.chunks; - obj.hash = message.hash; - obj.metadata = message.metadata ? Metadata.toAmino(message.metadata) : undefined; - return obj; - }, - fromAminoMsg(object: SnapshotAminoMsg): Snapshot { - return Snapshot.fromAmino(object.value); - }, - toAminoMsg(message: Snapshot): SnapshotAminoMsg { - return { - type: "cosmos-sdk/Snapshot", - value: Snapshot.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotProtoMsg): Snapshot { - return Snapshot.decode(message.value); - }, - toProto(message: Snapshot): Uint8Array { - return Snapshot.encode(message).finish(); - }, - toProtoMsg(message: Snapshot): SnapshotProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.Snapshot", - value: Snapshot.encode(message).finish() - }; - } -}; -function createBaseMetadata(): Metadata { - return { - chunkHashes: [] - }; -} -export const Metadata = { - typeUrl: "/cosmos.base.snapshots.v1beta1.Metadata", - aminoType: "cosmos-sdk/Metadata", - encode(message: Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.chunkHashes) { - writer.uint32(10).bytes(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Metadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.chunkHashes.push(reader.bytes()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Metadata { - const obj = createBaseMetadata(); - if (Array.isArray(object?.chunkHashes)) obj.chunkHashes = object.chunkHashes.map((e: any) => bytesFromBase64(e)); - return obj; - }, - toJSON(message: Metadata): unknown { - const obj: any = {}; - if (message.chunkHashes) { - obj.chunkHashes = message.chunkHashes.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.chunkHashes = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Metadata { - const message = createBaseMetadata(); - message.chunkHashes = object.chunkHashes?.map(e => e) || []; - return message; - }, - fromSDK(object: MetadataSDKType): Metadata { - return { - chunkHashes: Array.isArray(object?.chunk_hashes) ? object.chunk_hashes.map((e: any) => e) : [] - }; - }, - toSDK(message: Metadata): MetadataSDKType { - const obj: any = {}; - if (message.chunkHashes) { - obj.chunk_hashes = message.chunkHashes.map(e => e); - } else { - obj.chunk_hashes = []; - } - return obj; - }, - fromAmino(object: MetadataAmino): Metadata { - return { - chunkHashes: Array.isArray(object?.chunk_hashes) ? object.chunk_hashes.map((e: any) => e) : [] - }; - }, - toAmino(message: Metadata): MetadataAmino { - const obj: any = {}; - if (message.chunkHashes) { - obj.chunk_hashes = message.chunkHashes.map(e => e); - } else { - obj.chunk_hashes = []; - } - return obj; - }, - fromAminoMsg(object: MetadataAminoMsg): Metadata { - return Metadata.fromAmino(object.value); - }, - toAminoMsg(message: Metadata): MetadataAminoMsg { - return { - type: "cosmos-sdk/Metadata", - value: Metadata.toAmino(message) - }; - }, - fromProtoMsg(message: MetadataProtoMsg): Metadata { - return Metadata.decode(message.value); - }, - toProto(message: Metadata): Uint8Array { - return Metadata.encode(message).finish(); - }, - toProtoMsg(message: Metadata): MetadataProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.Metadata", - value: Metadata.encode(message).finish() - }; - } -}; -function createBaseSnapshotItem(): SnapshotItem { - return { - store: undefined, - iavl: undefined, - extension: undefined, - extensionPayload: undefined, - kv: undefined, - schema: undefined - }; -} -export const SnapshotItem = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotItem", - aminoType: "cosmos-sdk/SnapshotItem", - encode(message: SnapshotItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.store !== undefined) { - SnapshotStoreItem.encode(message.store, writer.uint32(10).fork()).ldelim(); - } - if (message.iavl !== undefined) { - SnapshotIAVLItem.encode(message.iavl, writer.uint32(18).fork()).ldelim(); - } - if (message.extension !== undefined) { - SnapshotExtensionMeta.encode(message.extension, writer.uint32(26).fork()).ldelim(); - } - if (message.extensionPayload !== undefined) { - SnapshotExtensionPayload.encode(message.extensionPayload, writer.uint32(34).fork()).ldelim(); - } - if (message.kv !== undefined) { - SnapshotKVItem.encode(message.kv, writer.uint32(42).fork()).ldelim(); - } - if (message.schema !== undefined) { - SnapshotSchema.encode(message.schema, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotItem { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotItem(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.store = SnapshotStoreItem.decode(reader, reader.uint32()); - break; - case 2: - message.iavl = SnapshotIAVLItem.decode(reader, reader.uint32()); - break; - case 3: - message.extension = SnapshotExtensionMeta.decode(reader, reader.uint32()); - break; - case 4: - message.extensionPayload = SnapshotExtensionPayload.decode(reader, reader.uint32()); - break; - case 5: - message.kv = SnapshotKVItem.decode(reader, reader.uint32()); - break; - case 6: - message.schema = SnapshotSchema.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotItem { - const obj = createBaseSnapshotItem(); - if (isSet(object.store)) obj.store = SnapshotStoreItem.fromJSON(object.store); - if (isSet(object.iavl)) obj.iavl = SnapshotIAVLItem.fromJSON(object.iavl); - if (isSet(object.extension)) obj.extension = SnapshotExtensionMeta.fromJSON(object.extension); - if (isSet(object.extensionPayload)) obj.extensionPayload = SnapshotExtensionPayload.fromJSON(object.extensionPayload); - if (isSet(object.kv)) obj.kv = SnapshotKVItem.fromJSON(object.kv); - if (isSet(object.schema)) obj.schema = SnapshotSchema.fromJSON(object.schema); - return obj; - }, - toJSON(message: SnapshotItem): unknown { - const obj: any = {}; - message.store !== undefined && (obj.store = message.store ? SnapshotStoreItem.toJSON(message.store) : undefined); - message.iavl !== undefined && (obj.iavl = message.iavl ? SnapshotIAVLItem.toJSON(message.iavl) : undefined); - message.extension !== undefined && (obj.extension = message.extension ? SnapshotExtensionMeta.toJSON(message.extension) : undefined); - message.extensionPayload !== undefined && (obj.extensionPayload = message.extensionPayload ? SnapshotExtensionPayload.toJSON(message.extensionPayload) : undefined); - message.kv !== undefined && (obj.kv = message.kv ? SnapshotKVItem.toJSON(message.kv) : undefined); - message.schema !== undefined && (obj.schema = message.schema ? SnapshotSchema.toJSON(message.schema) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): SnapshotItem { - const message = createBaseSnapshotItem(); - if (object.store !== undefined && object.store !== null) { - message.store = SnapshotStoreItem.fromPartial(object.store); - } - if (object.iavl !== undefined && object.iavl !== null) { - message.iavl = SnapshotIAVLItem.fromPartial(object.iavl); - } - if (object.extension !== undefined && object.extension !== null) { - message.extension = SnapshotExtensionMeta.fromPartial(object.extension); - } - if (object.extensionPayload !== undefined && object.extensionPayload !== null) { - message.extensionPayload = SnapshotExtensionPayload.fromPartial(object.extensionPayload); - } - if (object.kv !== undefined && object.kv !== null) { - message.kv = SnapshotKVItem.fromPartial(object.kv); - } - if (object.schema !== undefined && object.schema !== null) { - message.schema = SnapshotSchema.fromPartial(object.schema); - } - return message; - }, - fromSDK(object: SnapshotItemSDKType): SnapshotItem { - return { - store: object.store ? SnapshotStoreItem.fromSDK(object.store) : undefined, - iavl: object.iavl ? SnapshotIAVLItem.fromSDK(object.iavl) : undefined, - extension: object.extension ? SnapshotExtensionMeta.fromSDK(object.extension) : undefined, - extensionPayload: object.extension_payload ? SnapshotExtensionPayload.fromSDK(object.extension_payload) : undefined, - kv: object.kv ? SnapshotKVItem.fromSDK(object.kv) : undefined, - schema: object.schema ? SnapshotSchema.fromSDK(object.schema) : undefined - }; - }, - toSDK(message: SnapshotItem): SnapshotItemSDKType { - const obj: any = {}; - message.store !== undefined && (obj.store = message.store ? SnapshotStoreItem.toSDK(message.store) : undefined); - message.iavl !== undefined && (obj.iavl = message.iavl ? SnapshotIAVLItem.toSDK(message.iavl) : undefined); - message.extension !== undefined && (obj.extension = message.extension ? SnapshotExtensionMeta.toSDK(message.extension) : undefined); - message.extensionPayload !== undefined && (obj.extension_payload = message.extensionPayload ? SnapshotExtensionPayload.toSDK(message.extensionPayload) : undefined); - message.kv !== undefined && (obj.kv = message.kv ? SnapshotKVItem.toSDK(message.kv) : undefined); - message.schema !== undefined && (obj.schema = message.schema ? SnapshotSchema.toSDK(message.schema) : undefined); - return obj; - }, - fromAmino(object: SnapshotItemAmino): SnapshotItem { - return { - store: object?.store ? SnapshotStoreItem.fromAmino(object.store) : undefined, - iavl: object?.iavl ? SnapshotIAVLItem.fromAmino(object.iavl) : undefined, - extension: object?.extension ? SnapshotExtensionMeta.fromAmino(object.extension) : undefined, - extensionPayload: object?.extension_payload ? SnapshotExtensionPayload.fromAmino(object.extension_payload) : undefined, - kv: object?.kv ? SnapshotKVItem.fromAmino(object.kv) : undefined, - schema: object?.schema ? SnapshotSchema.fromAmino(object.schema) : undefined - }; - }, - toAmino(message: SnapshotItem): SnapshotItemAmino { - const obj: any = {}; - obj.store = message.store ? SnapshotStoreItem.toAmino(message.store) : undefined; - obj.iavl = message.iavl ? SnapshotIAVLItem.toAmino(message.iavl) : undefined; - obj.extension = message.extension ? SnapshotExtensionMeta.toAmino(message.extension) : undefined; - obj.extension_payload = message.extensionPayload ? SnapshotExtensionPayload.toAmino(message.extensionPayload) : undefined; - obj.kv = message.kv ? SnapshotKVItem.toAmino(message.kv) : undefined; - obj.schema = message.schema ? SnapshotSchema.toAmino(message.schema) : undefined; - return obj; - }, - fromAminoMsg(object: SnapshotItemAminoMsg): SnapshotItem { - return SnapshotItem.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotItem): SnapshotItemAminoMsg { - return { - type: "cosmos-sdk/SnapshotItem", - value: SnapshotItem.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotItemProtoMsg): SnapshotItem { - return SnapshotItem.decode(message.value); - }, - toProto(message: SnapshotItem): Uint8Array { - return SnapshotItem.encode(message).finish(); - }, - toProtoMsg(message: SnapshotItem): SnapshotItemProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotItem", - value: SnapshotItem.encode(message).finish() - }; - } -}; -function createBaseSnapshotStoreItem(): SnapshotStoreItem { - return { - name: "" - }; -} -export const SnapshotStoreItem = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotStoreItem", - aminoType: "cosmos-sdk/SnapshotStoreItem", - encode(message: SnapshotStoreItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotStoreItem { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotStoreItem(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotStoreItem { - const obj = createBaseSnapshotStoreItem(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: SnapshotStoreItem): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): SnapshotStoreItem { - const message = createBaseSnapshotStoreItem(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: SnapshotStoreItemSDKType): SnapshotStoreItem { - return { - name: object?.name - }; - }, - toSDK(message: SnapshotStoreItem): SnapshotStoreItemSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: SnapshotStoreItemAmino): SnapshotStoreItem { - return { - name: object.name - }; - }, - toAmino(message: SnapshotStoreItem): SnapshotStoreItemAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: SnapshotStoreItemAminoMsg): SnapshotStoreItem { - return SnapshotStoreItem.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotStoreItem): SnapshotStoreItemAminoMsg { - return { - type: "cosmos-sdk/SnapshotStoreItem", - value: SnapshotStoreItem.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotStoreItemProtoMsg): SnapshotStoreItem { - return SnapshotStoreItem.decode(message.value); - }, - toProto(message: SnapshotStoreItem): Uint8Array { - return SnapshotStoreItem.encode(message).finish(); - }, - toProtoMsg(message: SnapshotStoreItem): SnapshotStoreItemProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotStoreItem", - value: SnapshotStoreItem.encode(message).finish() - }; - } -}; -function createBaseSnapshotIAVLItem(): SnapshotIAVLItem { - return { - key: new Uint8Array(), - value: new Uint8Array(), - version: Long.ZERO, - height: 0 - }; -} -export const SnapshotIAVLItem = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotIAVLItem", - aminoType: "cosmos-sdk/SnapshotIAVLItem", - encode(message: SnapshotIAVLItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - if (!message.version.isZero()) { - writer.uint32(24).int64(message.version); - } - if (message.height !== 0) { - writer.uint32(32).int32(message.height); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotIAVLItem { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotIAVLItem(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.value = reader.bytes(); - break; - case 3: - message.version = (reader.int64() as Long); - break; - case 4: - message.height = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotIAVLItem { - const obj = createBaseSnapshotIAVLItem(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - if (isSet(object.value)) obj.value = bytesFromBase64(object.value); - if (isSet(object.version)) obj.version = Long.fromValue(object.version); - if (isSet(object.height)) obj.height = Number(object.height); - return obj; - }, - toJSON(message: SnapshotIAVLItem): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - message.version !== undefined && (obj.version = (message.version || Long.ZERO).toString()); - message.height !== undefined && (obj.height = Math.round(message.height)); - return obj; - }, - fromPartial(object: DeepPartial): SnapshotIAVLItem { - const message = createBaseSnapshotIAVLItem(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - if (object.version !== undefined && object.version !== null) { - message.version = Long.fromValue(object.version); - } - message.height = object.height ?? 0; - return message; - }, - fromSDK(object: SnapshotIAVLItemSDKType): SnapshotIAVLItem { - return { - key: object?.key, - value: object?.value, - version: object?.version, - height: object?.height - }; - }, - toSDK(message: SnapshotIAVLItem): SnapshotIAVLItemSDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - obj.version = message.version; - obj.height = message.height; - return obj; - }, - fromAmino(object: SnapshotIAVLItemAmino): SnapshotIAVLItem { - return { - key: object.key, - value: object.value, - version: Long.fromString(object.version), - height: object.height - }; - }, - toAmino(message: SnapshotIAVLItem): SnapshotIAVLItemAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - obj.version = message.version ? message.version.toString() : undefined; - obj.height = message.height; - return obj; - }, - fromAminoMsg(object: SnapshotIAVLItemAminoMsg): SnapshotIAVLItem { - return SnapshotIAVLItem.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotIAVLItem): SnapshotIAVLItemAminoMsg { - return { - type: "cosmos-sdk/SnapshotIAVLItem", - value: SnapshotIAVLItem.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotIAVLItemProtoMsg): SnapshotIAVLItem { - return SnapshotIAVLItem.decode(message.value); - }, - toProto(message: SnapshotIAVLItem): Uint8Array { - return SnapshotIAVLItem.encode(message).finish(); - }, - toProtoMsg(message: SnapshotIAVLItem): SnapshotIAVLItemProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotIAVLItem", - value: SnapshotIAVLItem.encode(message).finish() - }; - } -}; -function createBaseSnapshotExtensionMeta(): SnapshotExtensionMeta { - return { - name: "", - format: 0 - }; -} -export const SnapshotExtensionMeta = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta", - aminoType: "cosmos-sdk/SnapshotExtensionMeta", - encode(message: SnapshotExtensionMeta, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.format !== 0) { - writer.uint32(16).uint32(message.format); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionMeta { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotExtensionMeta(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.format = reader.uint32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotExtensionMeta { - const obj = createBaseSnapshotExtensionMeta(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.format)) obj.format = Number(object.format); - return obj; - }, - toJSON(message: SnapshotExtensionMeta): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.format !== undefined && (obj.format = Math.round(message.format)); - return obj; - }, - fromPartial(object: DeepPartial): SnapshotExtensionMeta { - const message = createBaseSnapshotExtensionMeta(); - message.name = object.name ?? ""; - message.format = object.format ?? 0; - return message; - }, - fromSDK(object: SnapshotExtensionMetaSDKType): SnapshotExtensionMeta { - return { - name: object?.name, - format: object?.format - }; - }, - toSDK(message: SnapshotExtensionMeta): SnapshotExtensionMetaSDKType { - const obj: any = {}; - obj.name = message.name; - obj.format = message.format; - return obj; - }, - fromAmino(object: SnapshotExtensionMetaAmino): SnapshotExtensionMeta { - return { - name: object.name, - format: object.format - }; - }, - toAmino(message: SnapshotExtensionMeta): SnapshotExtensionMetaAmino { - const obj: any = {}; - obj.name = message.name; - obj.format = message.format; - return obj; - }, - fromAminoMsg(object: SnapshotExtensionMetaAminoMsg): SnapshotExtensionMeta { - return SnapshotExtensionMeta.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotExtensionMeta): SnapshotExtensionMetaAminoMsg { - return { - type: "cosmos-sdk/SnapshotExtensionMeta", - value: SnapshotExtensionMeta.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotExtensionMetaProtoMsg): SnapshotExtensionMeta { - return SnapshotExtensionMeta.decode(message.value); - }, - toProto(message: SnapshotExtensionMeta): Uint8Array { - return SnapshotExtensionMeta.encode(message).finish(); - }, - toProtoMsg(message: SnapshotExtensionMeta): SnapshotExtensionMetaProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionMeta", - value: SnapshotExtensionMeta.encode(message).finish() - }; - } -}; -function createBaseSnapshotExtensionPayload(): SnapshotExtensionPayload { - return { - payload: new Uint8Array() - }; -} -export const SnapshotExtensionPayload = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload", - aminoType: "cosmos-sdk/SnapshotExtensionPayload", - encode(message: SnapshotExtensionPayload, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.payload.length !== 0) { - writer.uint32(10).bytes(message.payload); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionPayload { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotExtensionPayload(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.payload = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotExtensionPayload { - const obj = createBaseSnapshotExtensionPayload(); - if (isSet(object.payload)) obj.payload = bytesFromBase64(object.payload); - return obj; - }, - toJSON(message: SnapshotExtensionPayload): unknown { - const obj: any = {}; - message.payload !== undefined && (obj.payload = base64FromBytes(message.payload !== undefined ? message.payload : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): SnapshotExtensionPayload { - const message = createBaseSnapshotExtensionPayload(); - message.payload = object.payload ?? new Uint8Array(); - return message; - }, - fromSDK(object: SnapshotExtensionPayloadSDKType): SnapshotExtensionPayload { - return { - payload: object?.payload - }; - }, - toSDK(message: SnapshotExtensionPayload): SnapshotExtensionPayloadSDKType { - const obj: any = {}; - obj.payload = message.payload; - return obj; - }, - fromAmino(object: SnapshotExtensionPayloadAmino): SnapshotExtensionPayload { - return { - payload: object.payload - }; - }, - toAmino(message: SnapshotExtensionPayload): SnapshotExtensionPayloadAmino { - const obj: any = {}; - obj.payload = message.payload; - return obj; - }, - fromAminoMsg(object: SnapshotExtensionPayloadAminoMsg): SnapshotExtensionPayload { - return SnapshotExtensionPayload.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotExtensionPayload): SnapshotExtensionPayloadAminoMsg { - return { - type: "cosmos-sdk/SnapshotExtensionPayload", - value: SnapshotExtensionPayload.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotExtensionPayloadProtoMsg): SnapshotExtensionPayload { - return SnapshotExtensionPayload.decode(message.value); - }, - toProto(message: SnapshotExtensionPayload): Uint8Array { - return SnapshotExtensionPayload.encode(message).finish(); - }, - toProtoMsg(message: SnapshotExtensionPayload): SnapshotExtensionPayloadProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotExtensionPayload", - value: SnapshotExtensionPayload.encode(message).finish() - }; - } -}; -function createBaseSnapshotKVItem(): SnapshotKVItem { - return { - key: new Uint8Array(), - value: new Uint8Array() - }; -} -export const SnapshotKVItem = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotKVItem", - aminoType: "cosmos-sdk/SnapshotKVItem", - encode(message: SnapshotKVItem, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotKVItem { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotKVItem(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.value = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotKVItem { - const obj = createBaseSnapshotKVItem(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - if (isSet(object.value)) obj.value = bytesFromBase64(object.value); - return obj; - }, - toJSON(message: SnapshotKVItem): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): SnapshotKVItem { - const message = createBaseSnapshotKVItem(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - return message; - }, - fromSDK(object: SnapshotKVItemSDKType): SnapshotKVItem { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: SnapshotKVItem): SnapshotKVItemSDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: SnapshotKVItemAmino): SnapshotKVItem { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: SnapshotKVItem): SnapshotKVItemAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: SnapshotKVItemAminoMsg): SnapshotKVItem { - return SnapshotKVItem.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotKVItem): SnapshotKVItemAminoMsg { - return { - type: "cosmos-sdk/SnapshotKVItem", - value: SnapshotKVItem.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotKVItemProtoMsg): SnapshotKVItem { - return SnapshotKVItem.decode(message.value); - }, - toProto(message: SnapshotKVItem): Uint8Array { - return SnapshotKVItem.encode(message).finish(); - }, - toProtoMsg(message: SnapshotKVItem): SnapshotKVItemProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotKVItem", - value: SnapshotKVItem.encode(message).finish() - }; - } -}; -function createBaseSnapshotSchema(): SnapshotSchema { - return { - keys: [] - }; -} -export const SnapshotSchema = { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotSchema", - aminoType: "cosmos-sdk/SnapshotSchema", - encode(message: SnapshotSchema, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.keys) { - writer.uint32(10).bytes(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotSchema { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSnapshotSchema(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.keys.push(reader.bytes()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SnapshotSchema { - const obj = createBaseSnapshotSchema(); - if (Array.isArray(object?.keys)) obj.keys = object.keys.map((e: any) => bytesFromBase64(e)); - return obj; - }, - toJSON(message: SnapshotSchema): unknown { - const obj: any = {}; - if (message.keys) { - obj.keys = message.keys.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.keys = []; - } - return obj; - }, - fromPartial(object: DeepPartial): SnapshotSchema { - const message = createBaseSnapshotSchema(); - message.keys = object.keys?.map(e => e) || []; - return message; - }, - fromSDK(object: SnapshotSchemaSDKType): SnapshotSchema { - return { - keys: Array.isArray(object?.keys) ? object.keys.map((e: any) => e) : [] - }; - }, - toSDK(message: SnapshotSchema): SnapshotSchemaSDKType { - const obj: any = {}; - if (message.keys) { - obj.keys = message.keys.map(e => e); - } else { - obj.keys = []; - } - return obj; - }, - fromAmino(object: SnapshotSchemaAmino): SnapshotSchema { - return { - keys: Array.isArray(object?.keys) ? object.keys.map((e: any) => e) : [] - }; - }, - toAmino(message: SnapshotSchema): SnapshotSchemaAmino { - const obj: any = {}; - if (message.keys) { - obj.keys = message.keys.map(e => e); - } else { - obj.keys = []; - } - return obj; - }, - fromAminoMsg(object: SnapshotSchemaAminoMsg): SnapshotSchema { - return SnapshotSchema.fromAmino(object.value); - }, - toAminoMsg(message: SnapshotSchema): SnapshotSchemaAminoMsg { - return { - type: "cosmos-sdk/SnapshotSchema", - value: SnapshotSchema.toAmino(message) - }; - }, - fromProtoMsg(message: SnapshotSchemaProtoMsg): SnapshotSchema { - return SnapshotSchema.decode(message.value); - }, - toProto(message: SnapshotSchema): Uint8Array { - return SnapshotSchema.encode(message).finish(); - }, - toProtoMsg(message: SnapshotSchema): SnapshotSchemaProtoMsg { - return { - typeUrl: "/cosmos.base.snapshots.v1beta1.SnapshotSchema", - value: SnapshotSchema.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/store/v1beta1/commit_info.ts b/quicksilverjs/src/codegen/cosmos/base/store/v1beta1/commit_info.ts deleted file mode 100644 index 55093389e..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +++ /dev/null @@ -1,423 +0,0 @@ -import { Long, isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.base.store.v1beta1"; -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfo { - version: Long; - storeInfos: StoreInfo[]; -} -export interface CommitInfoProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.CommitInfo"; - value: Uint8Array; -} -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfoAmino { - version: string; - store_infos: StoreInfoAmino[]; -} -export interface CommitInfoAminoMsg { - type: "cosmos-sdk/CommitInfo"; - value: CommitInfoAmino; -} -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfoSDKType { - version: Long; - store_infos: StoreInfoSDKType[]; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfo { - name: string; - commitId: CommitID; -} -export interface StoreInfoProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.StoreInfo"; - value: Uint8Array; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfoAmino { - name: string; - commit_id?: CommitIDAmino; -} -export interface StoreInfoAminoMsg { - type: "cosmos-sdk/StoreInfo"; - value: StoreInfoAmino; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfoSDKType { - name: string; - commit_id: CommitIDSDKType; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitID { - version: Long; - hash: Uint8Array; -} -export interface CommitIDProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.CommitID"; - value: Uint8Array; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitIDAmino { - version: string; - hash: Uint8Array; -} -export interface CommitIDAminoMsg { - type: "cosmos-sdk/CommitID"; - value: CommitIDAmino; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitIDSDKType { - version: Long; - hash: Uint8Array; -} -function createBaseCommitInfo(): CommitInfo { - return { - version: Long.ZERO, - storeInfos: [] - }; -} -export const CommitInfo = { - typeUrl: "/cosmos.base.store.v1beta1.CommitInfo", - aminoType: "cosmos-sdk/CommitInfo", - encode(message: CommitInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.version.isZero()) { - writer.uint32(8).int64(message.version); - } - for (const v of message.storeInfos) { - StoreInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CommitInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommitInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.version = (reader.int64() as Long); - break; - case 2: - message.storeInfos.push(StoreInfo.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CommitInfo { - const obj = createBaseCommitInfo(); - if (isSet(object.version)) obj.version = Long.fromValue(object.version); - if (Array.isArray(object?.storeInfos)) obj.storeInfos = object.storeInfos.map((e: any) => StoreInfo.fromJSON(e)); - return obj; - }, - toJSON(message: CommitInfo): unknown { - const obj: any = {}; - message.version !== undefined && (obj.version = (message.version || Long.ZERO).toString()); - if (message.storeInfos) { - obj.storeInfos = message.storeInfos.map(e => e ? StoreInfo.toJSON(e) : undefined); - } else { - obj.storeInfos = []; - } - return obj; - }, - fromPartial(object: DeepPartial): CommitInfo { - const message = createBaseCommitInfo(); - if (object.version !== undefined && object.version !== null) { - message.version = Long.fromValue(object.version); - } - message.storeInfos = object.storeInfos?.map(e => StoreInfo.fromPartial(e)) || []; - return message; - }, - fromSDK(object: CommitInfoSDKType): CommitInfo { - return { - version: object?.version, - storeInfos: Array.isArray(object?.store_infos) ? object.store_infos.map((e: any) => StoreInfo.fromSDK(e)) : [] - }; - }, - toSDK(message: CommitInfo): CommitInfoSDKType { - const obj: any = {}; - obj.version = message.version; - if (message.storeInfos) { - obj.store_infos = message.storeInfos.map(e => e ? StoreInfo.toSDK(e) : undefined); - } else { - obj.store_infos = []; - } - return obj; - }, - fromAmino(object: CommitInfoAmino): CommitInfo { - return { - version: Long.fromString(object.version), - storeInfos: Array.isArray(object?.store_infos) ? object.store_infos.map((e: any) => StoreInfo.fromAmino(e)) : [] - }; - }, - toAmino(message: CommitInfo): CommitInfoAmino { - const obj: any = {}; - obj.version = message.version ? message.version.toString() : undefined; - if (message.storeInfos) { - obj.store_infos = message.storeInfos.map(e => e ? StoreInfo.toAmino(e) : undefined); - } else { - obj.store_infos = []; - } - return obj; - }, - fromAminoMsg(object: CommitInfoAminoMsg): CommitInfo { - return CommitInfo.fromAmino(object.value); - }, - toAminoMsg(message: CommitInfo): CommitInfoAminoMsg { - return { - type: "cosmos-sdk/CommitInfo", - value: CommitInfo.toAmino(message) - }; - }, - fromProtoMsg(message: CommitInfoProtoMsg): CommitInfo { - return CommitInfo.decode(message.value); - }, - toProto(message: CommitInfo): Uint8Array { - return CommitInfo.encode(message).finish(); - }, - toProtoMsg(message: CommitInfo): CommitInfoProtoMsg { - return { - typeUrl: "/cosmos.base.store.v1beta1.CommitInfo", - value: CommitInfo.encode(message).finish() - }; - } -}; -function createBaseStoreInfo(): StoreInfo { - return { - name: "", - commitId: CommitID.fromPartial({}) - }; -} -export const StoreInfo = { - typeUrl: "/cosmos.base.store.v1beta1.StoreInfo", - aminoType: "cosmos-sdk/StoreInfo", - encode(message: StoreInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.commitId !== undefined) { - CommitID.encode(message.commitId, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): StoreInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStoreInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.commitId = CommitID.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): StoreInfo { - const obj = createBaseStoreInfo(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.commitId)) obj.commitId = CommitID.fromJSON(object.commitId); - return obj; - }, - toJSON(message: StoreInfo): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.commitId !== undefined && (obj.commitId = message.commitId ? CommitID.toJSON(message.commitId) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): StoreInfo { - const message = createBaseStoreInfo(); - message.name = object.name ?? ""; - if (object.commitId !== undefined && object.commitId !== null) { - message.commitId = CommitID.fromPartial(object.commitId); - } - return message; - }, - fromSDK(object: StoreInfoSDKType): StoreInfo { - return { - name: object?.name, - commitId: object.commit_id ? CommitID.fromSDK(object.commit_id) : undefined - }; - }, - toSDK(message: StoreInfo): StoreInfoSDKType { - const obj: any = {}; - obj.name = message.name; - message.commitId !== undefined && (obj.commit_id = message.commitId ? CommitID.toSDK(message.commitId) : undefined); - return obj; - }, - fromAmino(object: StoreInfoAmino): StoreInfo { - return { - name: object.name, - commitId: object?.commit_id ? CommitID.fromAmino(object.commit_id) : undefined - }; - }, - toAmino(message: StoreInfo): StoreInfoAmino { - const obj: any = {}; - obj.name = message.name; - obj.commit_id = message.commitId ? CommitID.toAmino(message.commitId) : undefined; - return obj; - }, - fromAminoMsg(object: StoreInfoAminoMsg): StoreInfo { - return StoreInfo.fromAmino(object.value); - }, - toAminoMsg(message: StoreInfo): StoreInfoAminoMsg { - return { - type: "cosmos-sdk/StoreInfo", - value: StoreInfo.toAmino(message) - }; - }, - fromProtoMsg(message: StoreInfoProtoMsg): StoreInfo { - return StoreInfo.decode(message.value); - }, - toProto(message: StoreInfo): Uint8Array { - return StoreInfo.encode(message).finish(); - }, - toProtoMsg(message: StoreInfo): StoreInfoProtoMsg { - return { - typeUrl: "/cosmos.base.store.v1beta1.StoreInfo", - value: StoreInfo.encode(message).finish() - }; - } -}; -function createBaseCommitID(): CommitID { - return { - version: Long.ZERO, - hash: new Uint8Array() - }; -} -export const CommitID = { - typeUrl: "/cosmos.base.store.v1beta1.CommitID", - aminoType: "cosmos-sdk/CommitID", - encode(message: CommitID, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.version.isZero()) { - writer.uint32(8).int64(message.version); - } - if (message.hash.length !== 0) { - writer.uint32(18).bytes(message.hash); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CommitID { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommitID(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.version = (reader.int64() as Long); - break; - case 2: - message.hash = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CommitID { - const obj = createBaseCommitID(); - if (isSet(object.version)) obj.version = Long.fromValue(object.version); - if (isSet(object.hash)) obj.hash = bytesFromBase64(object.hash); - return obj; - }, - toJSON(message: CommitID): unknown { - const obj: any = {}; - message.version !== undefined && (obj.version = (message.version || Long.ZERO).toString()); - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): CommitID { - const message = createBaseCommitID(); - if (object.version !== undefined && object.version !== null) { - message.version = Long.fromValue(object.version); - } - message.hash = object.hash ?? new Uint8Array(); - return message; - }, - fromSDK(object: CommitIDSDKType): CommitID { - return { - version: object?.version, - hash: object?.hash - }; - }, - toSDK(message: CommitID): CommitIDSDKType { - const obj: any = {}; - obj.version = message.version; - obj.hash = message.hash; - return obj; - }, - fromAmino(object: CommitIDAmino): CommitID { - return { - version: Long.fromString(object.version), - hash: object.hash - }; - }, - toAmino(message: CommitID): CommitIDAmino { - const obj: any = {}; - obj.version = message.version ? message.version.toString() : undefined; - obj.hash = message.hash; - return obj; - }, - fromAminoMsg(object: CommitIDAminoMsg): CommitID { - return CommitID.fromAmino(object.value); - }, - toAminoMsg(message: CommitID): CommitIDAminoMsg { - return { - type: "cosmos-sdk/CommitID", - value: CommitID.toAmino(message) - }; - }, - fromProtoMsg(message: CommitIDProtoMsg): CommitID { - return CommitID.decode(message.value); - }, - toProto(message: CommitID): Uint8Array { - return CommitID.encode(message).finish(); - }, - toProtoMsg(message: CommitID): CommitIDProtoMsg { - return { - typeUrl: "/cosmos.base.store.v1beta1.CommitID", - value: CommitID.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/store/v1beta1/listening.ts b/quicksilverjs/src/codegen/cosmos/base/store/v1beta1/listening.ts deleted file mode 100644 index 398b50f9e..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/store/v1beta1/listening.ts +++ /dev/null @@ -1,184 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../../helpers"; -export const protobufPackage = "cosmos.base.store.v1beta1"; -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPair { - /** the store key for the KVStore this pair originates from */ - storeKey: string; - /** true indicates a delete operation, false indicates a set operation */ - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -export interface StoreKVPairProtoMsg { - typeUrl: "/cosmos.base.store.v1beta1.StoreKVPair"; - value: Uint8Array; -} -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPairAmino { - /** the store key for the KVStore this pair originates from */ - store_key: string; - /** true indicates a delete operation, false indicates a set operation */ - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -export interface StoreKVPairAminoMsg { - type: "cosmos-sdk/StoreKVPair"; - value: StoreKVPairAmino; -} -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPairSDKType { - store_key: string; - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -function createBaseStoreKVPair(): StoreKVPair { - return { - storeKey: "", - delete: false, - key: new Uint8Array(), - value: new Uint8Array() - }; -} -export const StoreKVPair = { - typeUrl: "/cosmos.base.store.v1beta1.StoreKVPair", - aminoType: "cosmos-sdk/StoreKVPair", - encode(message: StoreKVPair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.storeKey !== "") { - writer.uint32(10).string(message.storeKey); - } - if (message.delete === true) { - writer.uint32(16).bool(message.delete); - } - if (message.key.length !== 0) { - writer.uint32(26).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(34).bytes(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): StoreKVPair { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStoreKVPair(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.storeKey = reader.string(); - break; - case 2: - message.delete = reader.bool(); - break; - case 3: - message.key = reader.bytes(); - break; - case 4: - message.value = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): StoreKVPair { - const obj = createBaseStoreKVPair(); - if (isSet(object.storeKey)) obj.storeKey = String(object.storeKey); - if (isSet(object.delete)) obj.delete = Boolean(object.delete); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - if (isSet(object.value)) obj.value = bytesFromBase64(object.value); - return obj; - }, - toJSON(message: StoreKVPair): unknown { - const obj: any = {}; - message.storeKey !== undefined && (obj.storeKey = message.storeKey); - message.delete !== undefined && (obj.delete = message.delete); - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): StoreKVPair { - const message = createBaseStoreKVPair(); - message.storeKey = object.storeKey ?? ""; - message.delete = object.delete ?? false; - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - return message; - }, - fromSDK(object: StoreKVPairSDKType): StoreKVPair { - return { - storeKey: object?.store_key, - delete: object?.delete, - key: object?.key, - value: object?.value - }; - }, - toSDK(message: StoreKVPair): StoreKVPairSDKType { - const obj: any = {}; - obj.store_key = message.storeKey; - obj.delete = message.delete; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: StoreKVPairAmino): StoreKVPair { - return { - storeKey: object.store_key, - delete: object.delete, - key: object.key, - value: object.value - }; - }, - toAmino(message: StoreKVPair): StoreKVPairAmino { - const obj: any = {}; - obj.store_key = message.storeKey; - obj.delete = message.delete; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: StoreKVPairAminoMsg): StoreKVPair { - return StoreKVPair.fromAmino(object.value); - }, - toAminoMsg(message: StoreKVPair): StoreKVPairAminoMsg { - return { - type: "cosmos-sdk/StoreKVPair", - value: StoreKVPair.toAmino(message) - }; - }, - fromProtoMsg(message: StoreKVPairProtoMsg): StoreKVPair { - return StoreKVPair.decode(message.value); - }, - toProto(message: StoreKVPair): Uint8Array { - return StoreKVPair.encode(message).finish(); - }, - toProtoMsg(message: StoreKVPair): StoreKVPairProtoMsg { - return { - typeUrl: "/cosmos.base.store.v1beta1.StoreKVPair", - value: StoreKVPair.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts deleted file mode 100644 index 7cba2ccb8..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../query/v1beta1/pagination"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BlockID, BlockIDSDKType } from "../../../../tendermint/types/types"; -import { Block, BlockSDKType } from "../../../../tendermint/types/block"; -import { NodeInfo, NodeInfoSDKType } from "../../../../tendermint/p2p/types"; -import { setPaginationParams } from "../../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { GetNodeInfoRequest, GetNodeInfoRequestSDKType, GetNodeInfoResponse, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingRequestSDKType, GetSyncingResponse, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockRequestSDKType, GetLatestBlockResponse, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightRequestSDKType, GetBlockByHeightResponse, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetRequestSDKType, GetLatestValidatorSetResponse, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightRequestSDKType, GetValidatorSetByHeightResponse, GetValidatorSetByHeightResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.getNodeInfo = this.getNodeInfo.bind(this); - this.getSyncing = this.getSyncing.bind(this); - this.getLatestBlock = this.getLatestBlock.bind(this); - this.getBlockByHeight = this.getBlockByHeight.bind(this); - this.getLatestValidatorSet = this.getLatestValidatorSet.bind(this); - this.getValidatorSetByHeight = this.getValidatorSetByHeight.bind(this); - } - /* GetNodeInfo queries the current node info. */ - async getNodeInfo(_params: GetNodeInfoRequest = {}): Promise { - const endpoint = `cosmos/base/tendermint/v1beta1/node_info`; - return await this.req.get(endpoint); - } - /* GetSyncing queries node syncing. */ - async getSyncing(_params: GetSyncingRequest = {}): Promise { - const endpoint = `cosmos/base/tendermint/v1beta1/syncing`; - return await this.req.get(endpoint); - } - /* GetLatestBlock returns the latest block. */ - async getLatestBlock(_params: GetLatestBlockRequest = {}): Promise { - const endpoint = `cosmos/base/tendermint/v1beta1/blocks/latest`; - return await this.req.get(endpoint); - } - /* GetBlockByHeight queries block for given height. */ - async getBlockByHeight(params: GetBlockByHeightRequest): Promise { - const endpoint = `cosmos/base/tendermint/v1beta1/blocks/${params.height}`; - return await this.req.get(endpoint); - } - /* GetLatestValidatorSet queries latest validator-set. */ - async getLatestValidatorSet(params: GetLatestValidatorSetRequest = { - pagination: PageRequest.fromPartial({}) - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/base/tendermint/v1beta1/validatorsets/latest`; - return await this.req.get(endpoint, options); - } - /* GetValidatorSetByHeight queries validator-set at a given height. */ - async getValidatorSetByHeight(params: GetValidatorSetByHeightRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/base/tendermint/v1beta1/validatorsets/${params.height}`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts b/quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts deleted file mode 100644 index 1efb1efd5..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../query/v1beta1/pagination"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BlockID, BlockIDSDKType } from "../../../../tendermint/types/types"; -import { Block, BlockSDKType } from "../../../../tendermint/types/block"; -import { NodeInfo, NodeInfoSDKType } from "../../../../tendermint/p2p/types"; -import * as fm from "../../../../grpc-gateway"; -import { GetNodeInfoRequest, GetNodeInfoRequestSDKType, GetNodeInfoResponse, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingRequestSDKType, GetSyncingResponse, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockRequestSDKType, GetLatestBlockResponse, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightRequestSDKType, GetBlockByHeightResponse, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetRequestSDKType, GetLatestValidatorSetResponse, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightRequestSDKType, GetValidatorSetByHeightResponse, GetValidatorSetByHeightResponseSDKType } from "./query"; -export class Service { - /** GetNodeInfo queries the current node info. */ - static getNodeInfo(request: GetNodeInfoRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/base/tendermint/v1beta1/node_info?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** GetSyncing queries node syncing. */ - static getSyncing(request: GetSyncingRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/base/tendermint/v1beta1/syncing?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** GetLatestBlock returns the latest block. */ - static getLatestBlock(request: GetLatestBlockRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/base/tendermint/v1beta1/blocks/latest?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** GetBlockByHeight queries block for given height. */ - static getBlockByHeight(request: GetBlockByHeightRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/base/tendermint/v1beta1/blocks/${request["height"]}?${fm.renderURLSearchParams({ - ...request - }, ["height"])}`, { - ...initRequest, - method: "GET" - }); - } - /** GetLatestValidatorSet queries latest validator-set. */ - static getLatestValidatorSet(request: GetLatestValidatorSetRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/base/tendermint/v1beta1/validatorsets/latest?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** GetValidatorSetByHeight queries validator-set at a given height. */ - static getValidatorSetByHeight(request: GetValidatorSetByHeightRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/base/tendermint/v1beta1/validatorsets/${request["height"]}?${fm.renderURLSearchParams({ - ...request - }, ["height"])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class ServiceClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** GetNodeInfo queries the current node info. */ - async getNodeInfo(req: GetNodeInfoRequest, headers?: HeadersInit): Promise { - return Service.getNodeInfo(req, { - headers, - pathPrefix: this.url - }); - } - /** GetSyncing queries node syncing. */ - async getSyncing(req: GetSyncingRequest, headers?: HeadersInit): Promise { - return Service.getSyncing(req, { - headers, - pathPrefix: this.url - }); - } - /** GetLatestBlock returns the latest block. */ - async getLatestBlock(req: GetLatestBlockRequest, headers?: HeadersInit): Promise { - return Service.getLatestBlock(req, { - headers, - pathPrefix: this.url - }); - } - /** GetBlockByHeight queries block for given height. */ - async getBlockByHeight(req: GetBlockByHeightRequest, headers?: HeadersInit): Promise { - return Service.getBlockByHeight(req, { - headers, - pathPrefix: this.url - }); - } - /** GetLatestValidatorSet queries latest validator-set. */ - async getLatestValidatorSet(req: GetLatestValidatorSetRequest, headers?: HeadersInit): Promise { - return Service.getLatestValidatorSet(req, { - headers, - pathPrefix: this.url - }); - } - /** GetValidatorSetByHeight queries validator-set at a given height. */ - async getValidatorSetByHeight(req: GetValidatorSetByHeightRequest, headers?: HeadersInit): Promise { - return Service.getValidatorSetByHeight(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.ts deleted file mode 100644 index eaf344cd1..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +++ /dev/null @@ -1,1985 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../query/v1beta1/pagination"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BlockID, BlockIDAmino, BlockIDSDKType } from "../../../../tendermint/types/types"; -import { Block, BlockAmino, BlockSDKType } from "../../../../tendermint/types/block"; -import { NodeInfo, NodeInfoAmino, NodeInfoSDKType } from "../../../../tendermint/p2p/types"; -import { Long, isSet, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.base.tendermint.v1beta1"; -/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightRequest { - height: Long; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface GetValidatorSetByHeightRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest"; - value: Uint8Array; -} -/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightRequestAmino { - height: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface GetValidatorSetByHeightRequestAminoMsg { - type: "cosmos-sdk/GetValidatorSetByHeightRequest"; - value: GetValidatorSetByHeightRequestAmino; -} -/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightRequestSDKType { - height: Long; - pagination: PageRequestSDKType; -} -/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightResponse { - blockHeight: Long; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface GetValidatorSetByHeightResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse"; - value: Uint8Array; -} -/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightResponseAmino { - block_height: string; - validators: ValidatorAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface GetValidatorSetByHeightResponseAminoMsg { - type: "cosmos-sdk/GetValidatorSetByHeightResponse"; - value: GetValidatorSetByHeightResponseAmino; -} -/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightResponseSDKType { - block_height: Long; - validators: ValidatorSDKType[]; - pagination: PageResponseSDKType; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetRequest { - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface GetLatestValidatorSetRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest"; - value: Uint8Array; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetRequestAmino { - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface GetLatestValidatorSetRequestAminoMsg { - type: "cosmos-sdk/GetLatestValidatorSetRequest"; - value: GetLatestValidatorSetRequestAmino; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetRequestSDKType { - pagination: PageRequestSDKType; -} -/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetResponse { - blockHeight: Long; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface GetLatestValidatorSetResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse"; - value: Uint8Array; -} -/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetResponseAmino { - block_height: string; - validators: ValidatorAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface GetLatestValidatorSetResponseAminoMsg { - type: "cosmos-sdk/GetLatestValidatorSetResponse"; - value: GetLatestValidatorSetResponseAmino; -} -/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetResponseSDKType { - block_height: Long; - validators: ValidatorSDKType[]; - pagination: PageResponseSDKType; -} -/** Validator is the type for the validator-set. */ -export interface Validator { - address: string; - pubKey: Any; - votingPower: Long; - proposerPriority: Long; -} -export interface ValidatorProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Validator"; - value: Uint8Array; -} -/** Validator is the type for the validator-set. */ -export interface ValidatorAmino { - address: string; - pub_key?: AnyAmino; - voting_power: string; - proposer_priority: string; -} -export interface ValidatorAminoMsg { - type: "cosmos-sdk/Validator"; - value: ValidatorAmino; -} -/** Validator is the type for the validator-set. */ -export interface ValidatorSDKType { - address: string; - pub_key: AnySDKType; - voting_power: Long; - proposer_priority: Long; -} -/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightRequest { - height: Long; -} -export interface GetBlockByHeightRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest"; - value: Uint8Array; -} -/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightRequestAmino { - height: string; -} -export interface GetBlockByHeightRequestAminoMsg { - type: "cosmos-sdk/GetBlockByHeightRequest"; - value: GetBlockByHeightRequestAmino; -} -/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightRequestSDKType { - height: Long; -} -/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightResponse { - blockId: BlockID; - block: Block; -} -export interface GetBlockByHeightResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse"; - value: Uint8Array; -} -/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightResponseAmino { - block_id?: BlockIDAmino; - block?: BlockAmino; -} -export interface GetBlockByHeightResponseAminoMsg { - type: "cosmos-sdk/GetBlockByHeightResponse"; - value: GetBlockByHeightResponseAmino; -} -/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightResponseSDKType { - block_id: BlockIDSDKType; - block: BlockSDKType; -} -/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockRequest {} -export interface GetLatestBlockRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest"; - value: Uint8Array; -} -/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockRequestAmino {} -export interface GetLatestBlockRequestAminoMsg { - type: "cosmos-sdk/GetLatestBlockRequest"; - value: GetLatestBlockRequestAmino; -} -/** GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockRequestSDKType {} -/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockResponse { - blockId: BlockID; - block: Block; -} -export interface GetLatestBlockResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse"; - value: Uint8Array; -} -/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockResponseAmino { - block_id?: BlockIDAmino; - block?: BlockAmino; -} -export interface GetLatestBlockResponseAminoMsg { - type: "cosmos-sdk/GetLatestBlockResponse"; - value: GetLatestBlockResponseAmino; -} -/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockResponseSDKType { - block_id: BlockIDSDKType; - block: BlockSDKType; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequest {} -export interface GetSyncingRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest"; - value: Uint8Array; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequestAmino {} -export interface GetSyncingRequestAminoMsg { - type: "cosmos-sdk/GetSyncingRequest"; - value: GetSyncingRequestAmino; -} -/** GetSyncingRequest is the request type for the Query/GetSyncing RPC method. */ -export interface GetSyncingRequestSDKType {} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponse { - syncing: boolean; -} -export interface GetSyncingResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse"; - value: Uint8Array; -} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponseAmino { - syncing: boolean; -} -export interface GetSyncingResponseAminoMsg { - type: "cosmos-sdk/GetSyncingResponse"; - value: GetSyncingResponseAmino; -} -/** GetSyncingResponse is the response type for the Query/GetSyncing RPC method. */ -export interface GetSyncingResponseSDKType { - syncing: boolean; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequest {} -export interface GetNodeInfoRequestProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest"; - value: Uint8Array; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequestAmino {} -export interface GetNodeInfoRequestAminoMsg { - type: "cosmos-sdk/GetNodeInfoRequest"; - value: GetNodeInfoRequestAmino; -} -/** GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoRequestSDKType {} -/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoResponse { - nodeInfo: NodeInfo; - applicationVersion: VersionInfo; -} -export interface GetNodeInfoResponseProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse"; - value: Uint8Array; -} -/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoResponseAmino { - node_info?: NodeInfoAmino; - application_version?: VersionInfoAmino; -} -export interface GetNodeInfoResponseAminoMsg { - type: "cosmos-sdk/GetNodeInfoResponse"; - value: GetNodeInfoResponseAmino; -} -/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoResponseSDKType { - node_info: NodeInfoSDKType; - application_version: VersionInfoSDKType; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfo { - name: string; - appName: string; - version: string; - gitCommit: string; - buildTags: string; - goVersion: string; - buildDeps: Module[]; - /** Since: cosmos-sdk 0.43 */ - cosmosSdkVersion: string; -} -export interface VersionInfoProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo"; - value: Uint8Array; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfoAmino { - name: string; - app_name: string; - version: string; - git_commit: string; - build_tags: string; - go_version: string; - build_deps: ModuleAmino[]; - /** Since: cosmos-sdk 0.43 */ - cosmos_sdk_version: string; -} -export interface VersionInfoAminoMsg { - type: "cosmos-sdk/VersionInfo"; - value: VersionInfoAmino; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfoSDKType { - name: string; - app_name: string; - version: string; - git_commit: string; - build_tags: string; - go_version: string; - build_deps: ModuleSDKType[]; - cosmos_sdk_version: string; -} -/** Module is the type for VersionInfo */ -export interface Module { - /** module path */ - path: string; - /** module version */ - version: string; - /** checksum */ - sum: string; -} -export interface ModuleProtoMsg { - typeUrl: "/cosmos.base.tendermint.v1beta1.Module"; - value: Uint8Array; -} -/** Module is the type for VersionInfo */ -export interface ModuleAmino { - /** module path */ - path: string; - /** module version */ - version: string; - /** checksum */ - sum: string; -} -export interface ModuleAminoMsg { - type: "cosmos-sdk/Module"; - value: ModuleAmino; -} -/** Module is the type for VersionInfo */ -export interface ModuleSDKType { - path: string; - version: string; - sum: string; -} -function createBaseGetValidatorSetByHeightRequest(): GetValidatorSetByHeightRequest { - return { - height: Long.ZERO, - pagination: PageRequest.fromPartial({}) - }; -} -export const GetValidatorSetByHeightRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest", - aminoType: "cosmos-sdk/GetValidatorSetByHeightRequest", - encode(message: GetValidatorSetByHeightRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetValidatorSetByHeightRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetValidatorSetByHeightRequest { - const obj = createBaseGetValidatorSetByHeightRequest(); - if (isSet(object.height)) obj.height = Long.fromValue(object.height); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: GetValidatorSetByHeightRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetValidatorSetByHeightRequest { - const message = createBaseGetValidatorSetByHeightRequest(); - if (object.height !== undefined && object.height !== null) { - message.height = Long.fromValue(object.height); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: GetValidatorSetByHeightRequestSDKType): GetValidatorSetByHeightRequest { - return { - height: object?.height, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestSDKType { - const obj: any = {}; - obj.height = message.height; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: GetValidatorSetByHeightRequestAmino): GetValidatorSetByHeightRequest { - return { - height: Long.fromString(object.height), - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAmino { - const obj: any = {}; - obj.height = message.height ? message.height.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: GetValidatorSetByHeightRequestAminoMsg): GetValidatorSetByHeightRequest { - return GetValidatorSetByHeightRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestAminoMsg { - return { - type: "cosmos-sdk/GetValidatorSetByHeightRequest", - value: GetValidatorSetByHeightRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetValidatorSetByHeightRequestProtoMsg): GetValidatorSetByHeightRequest { - return GetValidatorSetByHeightRequest.decode(message.value); - }, - toProto(message: GetValidatorSetByHeightRequest): Uint8Array { - return GetValidatorSetByHeightRequest.encode(message).finish(); - }, - toProtoMsg(message: GetValidatorSetByHeightRequest): GetValidatorSetByHeightRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightRequest", - value: GetValidatorSetByHeightRequest.encode(message).finish() - }; - } -}; -function createBaseGetValidatorSetByHeightResponse(): GetValidatorSetByHeightResponse { - return { - blockHeight: Long.ZERO, - validators: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const GetValidatorSetByHeightResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse", - aminoType: "cosmos-sdk/GetValidatorSetByHeightResponse", - encode(message: GetValidatorSetByHeightResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.blockHeight.isZero()) { - writer.uint32(8).int64(message.blockHeight); - } - for (const v of message.validators) { - Validator.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetValidatorSetByHeightResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.blockHeight = (reader.int64() as Long); - break; - case 2: - message.validators.push(Validator.decode(reader, reader.uint32())); - break; - case 3: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetValidatorSetByHeightResponse { - const obj = createBaseGetValidatorSetByHeightResponse(); - if (isSet(object.blockHeight)) obj.blockHeight = Long.fromValue(object.blockHeight); - if (Array.isArray(object?.validators)) obj.validators = object.validators.map((e: any) => Validator.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: GetValidatorSetByHeightResponse): unknown { - const obj: any = {}; - message.blockHeight !== undefined && (obj.blockHeight = (message.blockHeight || Long.ZERO).toString()); - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetValidatorSetByHeightResponse { - const message = createBaseGetValidatorSetByHeightResponse(); - if (object.blockHeight !== undefined && object.blockHeight !== null) { - message.blockHeight = Long.fromValue(object.blockHeight); - } - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: GetValidatorSetByHeightResponseSDKType): GetValidatorSetByHeightResponse { - return { - blockHeight: object?.block_height, - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseSDKType { - const obj: any = {}; - obj.block_height = message.blockHeight; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toSDK(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: GetValidatorSetByHeightResponseAmino): GetValidatorSetByHeightResponse { - return { - blockHeight: Long.fromString(object.block_height), - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAmino { - const obj: any = {}; - obj.block_height = message.blockHeight ? message.blockHeight.toString() : undefined; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toAmino(e) : undefined); - } else { - obj.validators = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: GetValidatorSetByHeightResponseAminoMsg): GetValidatorSetByHeightResponse { - return GetValidatorSetByHeightResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseAminoMsg { - return { - type: "cosmos-sdk/GetValidatorSetByHeightResponse", - value: GetValidatorSetByHeightResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetValidatorSetByHeightResponseProtoMsg): GetValidatorSetByHeightResponse { - return GetValidatorSetByHeightResponse.decode(message.value); - }, - toProto(message: GetValidatorSetByHeightResponse): Uint8Array { - return GetValidatorSetByHeightResponse.encode(message).finish(); - }, - toProtoMsg(message: GetValidatorSetByHeightResponse): GetValidatorSetByHeightResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetValidatorSetByHeightResponse", - value: GetValidatorSetByHeightResponse.encode(message).finish() - }; - } -}; -function createBaseGetLatestValidatorSetRequest(): GetLatestValidatorSetRequest { - return { - pagination: PageRequest.fromPartial({}) - }; -} -export const GetLatestValidatorSetRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest", - aminoType: "cosmos-sdk/GetLatestValidatorSetRequest", - encode(message: GetLatestValidatorSetRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetLatestValidatorSetRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetLatestValidatorSetRequest { - const obj = createBaseGetLatestValidatorSetRequest(); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: GetLatestValidatorSetRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetLatestValidatorSetRequest { - const message = createBaseGetLatestValidatorSetRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: GetLatestValidatorSetRequestSDKType): GetLatestValidatorSetRequest { - return { - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestSDKType { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: GetLatestValidatorSetRequestAmino): GetLatestValidatorSetRequest { - return { - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: GetLatestValidatorSetRequestAminoMsg): GetLatestValidatorSetRequest { - return GetLatestValidatorSetRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestAminoMsg { - return { - type: "cosmos-sdk/GetLatestValidatorSetRequest", - value: GetLatestValidatorSetRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetLatestValidatorSetRequestProtoMsg): GetLatestValidatorSetRequest { - return GetLatestValidatorSetRequest.decode(message.value); - }, - toProto(message: GetLatestValidatorSetRequest): Uint8Array { - return GetLatestValidatorSetRequest.encode(message).finish(); - }, - toProtoMsg(message: GetLatestValidatorSetRequest): GetLatestValidatorSetRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetRequest", - value: GetLatestValidatorSetRequest.encode(message).finish() - }; - } -}; -function createBaseGetLatestValidatorSetResponse(): GetLatestValidatorSetResponse { - return { - blockHeight: Long.ZERO, - validators: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const GetLatestValidatorSetResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse", - aminoType: "cosmos-sdk/GetLatestValidatorSetResponse", - encode(message: GetLatestValidatorSetResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.blockHeight.isZero()) { - writer.uint32(8).int64(message.blockHeight); - } - for (const v of message.validators) { - Validator.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetLatestValidatorSetResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.blockHeight = (reader.int64() as Long); - break; - case 2: - message.validators.push(Validator.decode(reader, reader.uint32())); - break; - case 3: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetLatestValidatorSetResponse { - const obj = createBaseGetLatestValidatorSetResponse(); - if (isSet(object.blockHeight)) obj.blockHeight = Long.fromValue(object.blockHeight); - if (Array.isArray(object?.validators)) obj.validators = object.validators.map((e: any) => Validator.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: GetLatestValidatorSetResponse): unknown { - const obj: any = {}; - message.blockHeight !== undefined && (obj.blockHeight = (message.blockHeight || Long.ZERO).toString()); - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetLatestValidatorSetResponse { - const message = createBaseGetLatestValidatorSetResponse(); - if (object.blockHeight !== undefined && object.blockHeight !== null) { - message.blockHeight = Long.fromValue(object.blockHeight); - } - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: GetLatestValidatorSetResponseSDKType): GetLatestValidatorSetResponse { - return { - blockHeight: object?.block_height, - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseSDKType { - const obj: any = {}; - obj.block_height = message.blockHeight; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toSDK(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: GetLatestValidatorSetResponseAmino): GetLatestValidatorSetResponse { - return { - blockHeight: Long.fromString(object.block_height), - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAmino { - const obj: any = {}; - obj.block_height = message.blockHeight ? message.blockHeight.toString() : undefined; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toAmino(e) : undefined); - } else { - obj.validators = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: GetLatestValidatorSetResponseAminoMsg): GetLatestValidatorSetResponse { - return GetLatestValidatorSetResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseAminoMsg { - return { - type: "cosmos-sdk/GetLatestValidatorSetResponse", - value: GetLatestValidatorSetResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetLatestValidatorSetResponseProtoMsg): GetLatestValidatorSetResponse { - return GetLatestValidatorSetResponse.decode(message.value); - }, - toProto(message: GetLatestValidatorSetResponse): Uint8Array { - return GetLatestValidatorSetResponse.encode(message).finish(); - }, - toProtoMsg(message: GetLatestValidatorSetResponse): GetLatestValidatorSetResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestValidatorSetResponse", - value: GetLatestValidatorSetResponse.encode(message).finish() - }; - } -}; -function createBaseValidator(): Validator { - return { - address: "", - pubKey: Any.fromPartial({}), - votingPower: Long.ZERO, - proposerPriority: Long.ZERO - }; -} -export const Validator = { - typeUrl: "/cosmos.base.tendermint.v1beta1.Validator", - aminoType: "cosmos-sdk/Validator", - encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.pubKey !== undefined) { - Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); - } - if (!message.votingPower.isZero()) { - writer.uint32(24).int64(message.votingPower); - } - if (!message.proposerPriority.isZero()) { - writer.uint32(32).int64(message.proposerPriority); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Validator { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidator(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.pubKey = Any.decode(reader, reader.uint32()); - break; - case 3: - message.votingPower = (reader.int64() as Long); - break; - case 4: - message.proposerPriority = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Validator { - const obj = createBaseValidator(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.pubKey)) obj.pubKey = Any.fromJSON(object.pubKey); - if (isSet(object.votingPower)) obj.votingPower = Long.fromValue(object.votingPower); - if (isSet(object.proposerPriority)) obj.proposerPriority = Long.fromValue(object.proposerPriority); - return obj; - }, - toJSON(message: Validator): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pubKey !== undefined && (obj.pubKey = message.pubKey ? Any.toJSON(message.pubKey) : undefined); - message.votingPower !== undefined && (obj.votingPower = (message.votingPower || Long.ZERO).toString()); - message.proposerPriority !== undefined && (obj.proposerPriority = (message.proposerPriority || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): Validator { - const message = createBaseValidator(); - message.address = object.address ?? ""; - if (object.pubKey !== undefined && object.pubKey !== null) { - message.pubKey = Any.fromPartial(object.pubKey); - } - if (object.votingPower !== undefined && object.votingPower !== null) { - message.votingPower = Long.fromValue(object.votingPower); - } - if (object.proposerPriority !== undefined && object.proposerPriority !== null) { - message.proposerPriority = Long.fromValue(object.proposerPriority); - } - return message; - }, - fromSDK(object: ValidatorSDKType): Validator { - return { - address: object?.address, - pubKey: object.pub_key ? Any.fromSDK(object.pub_key) : undefined, - votingPower: object?.voting_power, - proposerPriority: object?.proposer_priority - }; - }, - toSDK(message: Validator): ValidatorSDKType { - const obj: any = {}; - obj.address = message.address; - message.pubKey !== undefined && (obj.pub_key = message.pubKey ? Any.toSDK(message.pubKey) : undefined); - obj.voting_power = message.votingPower; - obj.proposer_priority = message.proposerPriority; - return obj; - }, - fromAmino(object: ValidatorAmino): Validator { - return { - address: object.address, - pubKey: object?.pub_key ? Any.fromAmino(object.pub_key) : undefined, - votingPower: Long.fromString(object.voting_power), - proposerPriority: Long.fromString(object.proposer_priority) - }; - }, - toAmino(message: Validator): ValidatorAmino { - const obj: any = {}; - obj.address = message.address; - obj.pub_key = message.pubKey ? Any.toAmino(message.pubKey) : undefined; - obj.voting_power = message.votingPower ? message.votingPower.toString() : undefined; - obj.proposer_priority = message.proposerPriority ? message.proposerPriority.toString() : undefined; - return obj; - }, - fromAminoMsg(object: ValidatorAminoMsg): Validator { - return Validator.fromAmino(object.value); - }, - toAminoMsg(message: Validator): ValidatorAminoMsg { - return { - type: "cosmos-sdk/Validator", - value: Validator.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorProtoMsg): Validator { - return Validator.decode(message.value); - }, - toProto(message: Validator): Uint8Array { - return Validator.encode(message).finish(); - }, - toProtoMsg(message: Validator): ValidatorProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.Validator", - value: Validator.encode(message).finish() - }; - } -}; -function createBaseGetBlockByHeightRequest(): GetBlockByHeightRequest { - return { - height: Long.ZERO - }; -} -export const GetBlockByHeightRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest", - aminoType: "cosmos-sdk/GetBlockByHeightRequest", - encode(message: GetBlockByHeightRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetBlockByHeightRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetBlockByHeightRequest { - const obj = createBaseGetBlockByHeightRequest(); - if (isSet(object.height)) obj.height = Long.fromValue(object.height); - return obj; - }, - toJSON(message: GetBlockByHeightRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): GetBlockByHeightRequest { - const message = createBaseGetBlockByHeightRequest(); - if (object.height !== undefined && object.height !== null) { - message.height = Long.fromValue(object.height); - } - return message; - }, - fromSDK(object: GetBlockByHeightRequestSDKType): GetBlockByHeightRequest { - return { - height: object?.height - }; - }, - toSDK(message: GetBlockByHeightRequest): GetBlockByHeightRequestSDKType { - const obj: any = {}; - obj.height = message.height; - return obj; - }, - fromAmino(object: GetBlockByHeightRequestAmino): GetBlockByHeightRequest { - return { - height: Long.fromString(object.height) - }; - }, - toAmino(message: GetBlockByHeightRequest): GetBlockByHeightRequestAmino { - const obj: any = {}; - obj.height = message.height ? message.height.toString() : undefined; - return obj; - }, - fromAminoMsg(object: GetBlockByHeightRequestAminoMsg): GetBlockByHeightRequest { - return GetBlockByHeightRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestAminoMsg { - return { - type: "cosmos-sdk/GetBlockByHeightRequest", - value: GetBlockByHeightRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetBlockByHeightRequestProtoMsg): GetBlockByHeightRequest { - return GetBlockByHeightRequest.decode(message.value); - }, - toProto(message: GetBlockByHeightRequest): Uint8Array { - return GetBlockByHeightRequest.encode(message).finish(); - }, - toProtoMsg(message: GetBlockByHeightRequest): GetBlockByHeightRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightRequest", - value: GetBlockByHeightRequest.encode(message).finish() - }; - } -}; -function createBaseGetBlockByHeightResponse(): GetBlockByHeightResponse { - return { - blockId: BlockID.fromPartial({}), - block: Block.fromPartial({}) - }; -} -export const GetBlockByHeightResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse", - aminoType: "cosmos-sdk/GetBlockByHeightResponse", - encode(message: GetBlockByHeightResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); - } - if (message.block !== undefined) { - Block.encode(message.block, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetBlockByHeightResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.blockId = BlockID.decode(reader, reader.uint32()); - break; - case 2: - message.block = Block.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetBlockByHeightResponse { - const obj = createBaseGetBlockByHeightResponse(); - if (isSet(object.blockId)) obj.blockId = BlockID.fromJSON(object.blockId); - if (isSet(object.block)) obj.block = Block.fromJSON(object.block); - return obj; - }, - toJSON(message: GetBlockByHeightResponse): unknown { - const obj: any = {}; - message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined); - message.block !== undefined && (obj.block = message.block ? Block.toJSON(message.block) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetBlockByHeightResponse { - const message = createBaseGetBlockByHeightResponse(); - if (object.blockId !== undefined && object.blockId !== null) { - message.blockId = BlockID.fromPartial(object.blockId); - } - if (object.block !== undefined && object.block !== null) { - message.block = Block.fromPartial(object.block); - } - return message; - }, - fromSDK(object: GetBlockByHeightResponseSDKType): GetBlockByHeightResponse { - return { - blockId: object.block_id ? BlockID.fromSDK(object.block_id) : undefined, - block: object.block ? Block.fromSDK(object.block) : undefined - }; - }, - toSDK(message: GetBlockByHeightResponse): GetBlockByHeightResponseSDKType { - const obj: any = {}; - message.blockId !== undefined && (obj.block_id = message.blockId ? BlockID.toSDK(message.blockId) : undefined); - message.block !== undefined && (obj.block = message.block ? Block.toSDK(message.block) : undefined); - return obj; - }, - fromAmino(object: GetBlockByHeightResponseAmino): GetBlockByHeightResponse { - return { - blockId: object?.block_id ? BlockID.fromAmino(object.block_id) : undefined, - block: object?.block ? Block.fromAmino(object.block) : undefined - }; - }, - toAmino(message: GetBlockByHeightResponse): GetBlockByHeightResponseAmino { - const obj: any = {}; - obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined; - obj.block = message.block ? Block.toAmino(message.block) : undefined; - return obj; - }, - fromAminoMsg(object: GetBlockByHeightResponseAminoMsg): GetBlockByHeightResponse { - return GetBlockByHeightResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseAminoMsg { - return { - type: "cosmos-sdk/GetBlockByHeightResponse", - value: GetBlockByHeightResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetBlockByHeightResponseProtoMsg): GetBlockByHeightResponse { - return GetBlockByHeightResponse.decode(message.value); - }, - toProto(message: GetBlockByHeightResponse): Uint8Array { - return GetBlockByHeightResponse.encode(message).finish(); - }, - toProtoMsg(message: GetBlockByHeightResponse): GetBlockByHeightResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetBlockByHeightResponse", - value: GetBlockByHeightResponse.encode(message).finish() - }; - } -}; -function createBaseGetLatestBlockRequest(): GetLatestBlockRequest { - return {}; -} -export const GetLatestBlockRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest", - aminoType: "cosmos-sdk/GetLatestBlockRequest", - encode(_: GetLatestBlockRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetLatestBlockRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetLatestBlockRequest { - const obj = createBaseGetLatestBlockRequest(); - return obj; - }, - toJSON(_: GetLatestBlockRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): GetLatestBlockRequest { - const message = createBaseGetLatestBlockRequest(); - return message; - }, - fromSDK(_: GetLatestBlockRequestSDKType): GetLatestBlockRequest { - return {}; - }, - toSDK(_: GetLatestBlockRequest): GetLatestBlockRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: GetLatestBlockRequestAmino): GetLatestBlockRequest { - return {}; - }, - toAmino(_: GetLatestBlockRequest): GetLatestBlockRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetLatestBlockRequestAminoMsg): GetLatestBlockRequest { - return GetLatestBlockRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestAminoMsg { - return { - type: "cosmos-sdk/GetLatestBlockRequest", - value: GetLatestBlockRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetLatestBlockRequestProtoMsg): GetLatestBlockRequest { - return GetLatestBlockRequest.decode(message.value); - }, - toProto(message: GetLatestBlockRequest): Uint8Array { - return GetLatestBlockRequest.encode(message).finish(); - }, - toProtoMsg(message: GetLatestBlockRequest): GetLatestBlockRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockRequest", - value: GetLatestBlockRequest.encode(message).finish() - }; - } -}; -function createBaseGetLatestBlockResponse(): GetLatestBlockResponse { - return { - blockId: BlockID.fromPartial({}), - block: Block.fromPartial({}) - }; -} -export const GetLatestBlockResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse", - aminoType: "cosmos-sdk/GetLatestBlockResponse", - encode(message: GetLatestBlockResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(10).fork()).ldelim(); - } - if (message.block !== undefined) { - Block.encode(message.block, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetLatestBlockResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.blockId = BlockID.decode(reader, reader.uint32()); - break; - case 2: - message.block = Block.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetLatestBlockResponse { - const obj = createBaseGetLatestBlockResponse(); - if (isSet(object.blockId)) obj.blockId = BlockID.fromJSON(object.blockId); - if (isSet(object.block)) obj.block = Block.fromJSON(object.block); - return obj; - }, - toJSON(message: GetLatestBlockResponse): unknown { - const obj: any = {}; - message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined); - message.block !== undefined && (obj.block = message.block ? Block.toJSON(message.block) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetLatestBlockResponse { - const message = createBaseGetLatestBlockResponse(); - if (object.blockId !== undefined && object.blockId !== null) { - message.blockId = BlockID.fromPartial(object.blockId); - } - if (object.block !== undefined && object.block !== null) { - message.block = Block.fromPartial(object.block); - } - return message; - }, - fromSDK(object: GetLatestBlockResponseSDKType): GetLatestBlockResponse { - return { - blockId: object.block_id ? BlockID.fromSDK(object.block_id) : undefined, - block: object.block ? Block.fromSDK(object.block) : undefined - }; - }, - toSDK(message: GetLatestBlockResponse): GetLatestBlockResponseSDKType { - const obj: any = {}; - message.blockId !== undefined && (obj.block_id = message.blockId ? BlockID.toSDK(message.blockId) : undefined); - message.block !== undefined && (obj.block = message.block ? Block.toSDK(message.block) : undefined); - return obj; - }, - fromAmino(object: GetLatestBlockResponseAmino): GetLatestBlockResponse { - return { - blockId: object?.block_id ? BlockID.fromAmino(object.block_id) : undefined, - block: object?.block ? Block.fromAmino(object.block) : undefined - }; - }, - toAmino(message: GetLatestBlockResponse): GetLatestBlockResponseAmino { - const obj: any = {}; - obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined; - obj.block = message.block ? Block.toAmino(message.block) : undefined; - return obj; - }, - fromAminoMsg(object: GetLatestBlockResponseAminoMsg): GetLatestBlockResponse { - return GetLatestBlockResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseAminoMsg { - return { - type: "cosmos-sdk/GetLatestBlockResponse", - value: GetLatestBlockResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetLatestBlockResponseProtoMsg): GetLatestBlockResponse { - return GetLatestBlockResponse.decode(message.value); - }, - toProto(message: GetLatestBlockResponse): Uint8Array { - return GetLatestBlockResponse.encode(message).finish(); - }, - toProtoMsg(message: GetLatestBlockResponse): GetLatestBlockResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetLatestBlockResponse", - value: GetLatestBlockResponse.encode(message).finish() - }; - } -}; -function createBaseGetSyncingRequest(): GetSyncingRequest { - return {}; -} -export const GetSyncingRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest", - aminoType: "cosmos-sdk/GetSyncingRequest", - encode(_: GetSyncingRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetSyncingRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetSyncingRequest { - const obj = createBaseGetSyncingRequest(); - return obj; - }, - toJSON(_: GetSyncingRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): GetSyncingRequest { - const message = createBaseGetSyncingRequest(); - return message; - }, - fromSDK(_: GetSyncingRequestSDKType): GetSyncingRequest { - return {}; - }, - toSDK(_: GetSyncingRequest): GetSyncingRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: GetSyncingRequestAmino): GetSyncingRequest { - return {}; - }, - toAmino(_: GetSyncingRequest): GetSyncingRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetSyncingRequestAminoMsg): GetSyncingRequest { - return GetSyncingRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetSyncingRequest): GetSyncingRequestAminoMsg { - return { - type: "cosmos-sdk/GetSyncingRequest", - value: GetSyncingRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetSyncingRequestProtoMsg): GetSyncingRequest { - return GetSyncingRequest.decode(message.value); - }, - toProto(message: GetSyncingRequest): Uint8Array { - return GetSyncingRequest.encode(message).finish(); - }, - toProtoMsg(message: GetSyncingRequest): GetSyncingRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingRequest", - value: GetSyncingRequest.encode(message).finish() - }; - } -}; -function createBaseGetSyncingResponse(): GetSyncingResponse { - return { - syncing: false - }; -} -export const GetSyncingResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse", - aminoType: "cosmos-sdk/GetSyncingResponse", - encode(message: GetSyncingResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.syncing === true) { - writer.uint32(8).bool(message.syncing); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetSyncingResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.syncing = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetSyncingResponse { - const obj = createBaseGetSyncingResponse(); - if (isSet(object.syncing)) obj.syncing = Boolean(object.syncing); - return obj; - }, - toJSON(message: GetSyncingResponse): unknown { - const obj: any = {}; - message.syncing !== undefined && (obj.syncing = message.syncing); - return obj; - }, - fromPartial(object: DeepPartial): GetSyncingResponse { - const message = createBaseGetSyncingResponse(); - message.syncing = object.syncing ?? false; - return message; - }, - fromSDK(object: GetSyncingResponseSDKType): GetSyncingResponse { - return { - syncing: object?.syncing - }; - }, - toSDK(message: GetSyncingResponse): GetSyncingResponseSDKType { - const obj: any = {}; - obj.syncing = message.syncing; - return obj; - }, - fromAmino(object: GetSyncingResponseAmino): GetSyncingResponse { - return { - syncing: object.syncing - }; - }, - toAmino(message: GetSyncingResponse): GetSyncingResponseAmino { - const obj: any = {}; - obj.syncing = message.syncing; - return obj; - }, - fromAminoMsg(object: GetSyncingResponseAminoMsg): GetSyncingResponse { - return GetSyncingResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetSyncingResponse): GetSyncingResponseAminoMsg { - return { - type: "cosmos-sdk/GetSyncingResponse", - value: GetSyncingResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetSyncingResponseProtoMsg): GetSyncingResponse { - return GetSyncingResponse.decode(message.value); - }, - toProto(message: GetSyncingResponse): Uint8Array { - return GetSyncingResponse.encode(message).finish(); - }, - toProtoMsg(message: GetSyncingResponse): GetSyncingResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetSyncingResponse", - value: GetSyncingResponse.encode(message).finish() - }; - } -}; -function createBaseGetNodeInfoRequest(): GetNodeInfoRequest { - return {}; -} -export const GetNodeInfoRequest = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest", - aminoType: "cosmos-sdk/GetNodeInfoRequest", - encode(_: GetNodeInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetNodeInfoRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetNodeInfoRequest { - const obj = createBaseGetNodeInfoRequest(); - return obj; - }, - toJSON(_: GetNodeInfoRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): GetNodeInfoRequest { - const message = createBaseGetNodeInfoRequest(); - return message; - }, - fromSDK(_: GetNodeInfoRequestSDKType): GetNodeInfoRequest { - return {}; - }, - toSDK(_: GetNodeInfoRequest): GetNodeInfoRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: GetNodeInfoRequestAmino): GetNodeInfoRequest { - return {}; - }, - toAmino(_: GetNodeInfoRequest): GetNodeInfoRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetNodeInfoRequestAminoMsg): GetNodeInfoRequest { - return GetNodeInfoRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestAminoMsg { - return { - type: "cosmos-sdk/GetNodeInfoRequest", - value: GetNodeInfoRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetNodeInfoRequestProtoMsg): GetNodeInfoRequest { - return GetNodeInfoRequest.decode(message.value); - }, - toProto(message: GetNodeInfoRequest): Uint8Array { - return GetNodeInfoRequest.encode(message).finish(); - }, - toProtoMsg(message: GetNodeInfoRequest): GetNodeInfoRequestProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoRequest", - value: GetNodeInfoRequest.encode(message).finish() - }; - } -}; -function createBaseGetNodeInfoResponse(): GetNodeInfoResponse { - return { - nodeInfo: NodeInfo.fromPartial({}), - applicationVersion: VersionInfo.fromPartial({}) - }; -} -export const GetNodeInfoResponse = { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse", - aminoType: "cosmos-sdk/GetNodeInfoResponse", - encode(message: GetNodeInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nodeInfo !== undefined) { - NodeInfo.encode(message.nodeInfo, writer.uint32(10).fork()).ldelim(); - } - if (message.applicationVersion !== undefined) { - VersionInfo.encode(message.applicationVersion, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetNodeInfoResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.nodeInfo = NodeInfo.decode(reader, reader.uint32()); - break; - case 2: - message.applicationVersion = VersionInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetNodeInfoResponse { - const obj = createBaseGetNodeInfoResponse(); - if (isSet(object.nodeInfo)) obj.nodeInfo = NodeInfo.fromJSON(object.nodeInfo); - if (isSet(object.applicationVersion)) obj.applicationVersion = VersionInfo.fromJSON(object.applicationVersion); - return obj; - }, - toJSON(message: GetNodeInfoResponse): unknown { - const obj: any = {}; - message.nodeInfo !== undefined && (obj.nodeInfo = message.nodeInfo ? NodeInfo.toJSON(message.nodeInfo) : undefined); - message.applicationVersion !== undefined && (obj.applicationVersion = message.applicationVersion ? VersionInfo.toJSON(message.applicationVersion) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetNodeInfoResponse { - const message = createBaseGetNodeInfoResponse(); - if (object.nodeInfo !== undefined && object.nodeInfo !== null) { - message.nodeInfo = NodeInfo.fromPartial(object.nodeInfo); - } - if (object.applicationVersion !== undefined && object.applicationVersion !== null) { - message.applicationVersion = VersionInfo.fromPartial(object.applicationVersion); - } - return message; - }, - fromSDK(object: GetNodeInfoResponseSDKType): GetNodeInfoResponse { - return { - nodeInfo: object.node_info ? NodeInfo.fromSDK(object.node_info) : undefined, - applicationVersion: object.application_version ? VersionInfo.fromSDK(object.application_version) : undefined - }; - }, - toSDK(message: GetNodeInfoResponse): GetNodeInfoResponseSDKType { - const obj: any = {}; - message.nodeInfo !== undefined && (obj.node_info = message.nodeInfo ? NodeInfo.toSDK(message.nodeInfo) : undefined); - message.applicationVersion !== undefined && (obj.application_version = message.applicationVersion ? VersionInfo.toSDK(message.applicationVersion) : undefined); - return obj; - }, - fromAmino(object: GetNodeInfoResponseAmino): GetNodeInfoResponse { - return { - nodeInfo: object?.node_info ? NodeInfo.fromAmino(object.node_info) : undefined, - applicationVersion: object?.application_version ? VersionInfo.fromAmino(object.application_version) : undefined - }; - }, - toAmino(message: GetNodeInfoResponse): GetNodeInfoResponseAmino { - const obj: any = {}; - obj.node_info = message.nodeInfo ? NodeInfo.toAmino(message.nodeInfo) : undefined; - obj.application_version = message.applicationVersion ? VersionInfo.toAmino(message.applicationVersion) : undefined; - return obj; - }, - fromAminoMsg(object: GetNodeInfoResponseAminoMsg): GetNodeInfoResponse { - return GetNodeInfoResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseAminoMsg { - return { - type: "cosmos-sdk/GetNodeInfoResponse", - value: GetNodeInfoResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetNodeInfoResponseProtoMsg): GetNodeInfoResponse { - return GetNodeInfoResponse.decode(message.value); - }, - toProto(message: GetNodeInfoResponse): Uint8Array { - return GetNodeInfoResponse.encode(message).finish(); - }, - toProtoMsg(message: GetNodeInfoResponse): GetNodeInfoResponseProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.GetNodeInfoResponse", - value: GetNodeInfoResponse.encode(message).finish() - }; - } -}; -function createBaseVersionInfo(): VersionInfo { - return { - name: "", - appName: "", - version: "", - gitCommit: "", - buildTags: "", - goVersion: "", - buildDeps: [], - cosmosSdkVersion: "" - }; -} -export const VersionInfo = { - typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo", - aminoType: "cosmos-sdk/VersionInfo", - encode(message: VersionInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.appName !== "") { - writer.uint32(18).string(message.appName); - } - if (message.version !== "") { - writer.uint32(26).string(message.version); - } - if (message.gitCommit !== "") { - writer.uint32(34).string(message.gitCommit); - } - if (message.buildTags !== "") { - writer.uint32(42).string(message.buildTags); - } - if (message.goVersion !== "") { - writer.uint32(50).string(message.goVersion); - } - for (const v of message.buildDeps) { - Module.encode(v!, writer.uint32(58).fork()).ldelim(); - } - if (message.cosmosSdkVersion !== "") { - writer.uint32(66).string(message.cosmosSdkVersion); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): VersionInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVersionInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.appName = reader.string(); - break; - case 3: - message.version = reader.string(); - break; - case 4: - message.gitCommit = reader.string(); - break; - case 5: - message.buildTags = reader.string(); - break; - case 6: - message.goVersion = reader.string(); - break; - case 7: - message.buildDeps.push(Module.decode(reader, reader.uint32())); - break; - case 8: - message.cosmosSdkVersion = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): VersionInfo { - const obj = createBaseVersionInfo(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.appName)) obj.appName = String(object.appName); - if (isSet(object.version)) obj.version = String(object.version); - if (isSet(object.gitCommit)) obj.gitCommit = String(object.gitCommit); - if (isSet(object.buildTags)) obj.buildTags = String(object.buildTags); - if (isSet(object.goVersion)) obj.goVersion = String(object.goVersion); - if (Array.isArray(object?.buildDeps)) obj.buildDeps = object.buildDeps.map((e: any) => Module.fromJSON(e)); - if (isSet(object.cosmosSdkVersion)) obj.cosmosSdkVersion = String(object.cosmosSdkVersion); - return obj; - }, - toJSON(message: VersionInfo): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.appName !== undefined && (obj.appName = message.appName); - message.version !== undefined && (obj.version = message.version); - message.gitCommit !== undefined && (obj.gitCommit = message.gitCommit); - message.buildTags !== undefined && (obj.buildTags = message.buildTags); - message.goVersion !== undefined && (obj.goVersion = message.goVersion); - if (message.buildDeps) { - obj.buildDeps = message.buildDeps.map(e => e ? Module.toJSON(e) : undefined); - } else { - obj.buildDeps = []; - } - message.cosmosSdkVersion !== undefined && (obj.cosmosSdkVersion = message.cosmosSdkVersion); - return obj; - }, - fromPartial(object: DeepPartial): VersionInfo { - const message = createBaseVersionInfo(); - message.name = object.name ?? ""; - message.appName = object.appName ?? ""; - message.version = object.version ?? ""; - message.gitCommit = object.gitCommit ?? ""; - message.buildTags = object.buildTags ?? ""; - message.goVersion = object.goVersion ?? ""; - message.buildDeps = object.buildDeps?.map(e => Module.fromPartial(e)) || []; - message.cosmosSdkVersion = object.cosmosSdkVersion ?? ""; - return message; - }, - fromSDK(object: VersionInfoSDKType): VersionInfo { - return { - name: object?.name, - appName: object?.app_name, - version: object?.version, - gitCommit: object?.git_commit, - buildTags: object?.build_tags, - goVersion: object?.go_version, - buildDeps: Array.isArray(object?.build_deps) ? object.build_deps.map((e: any) => Module.fromSDK(e)) : [], - cosmosSdkVersion: object?.cosmos_sdk_version - }; - }, - toSDK(message: VersionInfo): VersionInfoSDKType { - const obj: any = {}; - obj.name = message.name; - obj.app_name = message.appName; - obj.version = message.version; - obj.git_commit = message.gitCommit; - obj.build_tags = message.buildTags; - obj.go_version = message.goVersion; - if (message.buildDeps) { - obj.build_deps = message.buildDeps.map(e => e ? Module.toSDK(e) : undefined); - } else { - obj.build_deps = []; - } - obj.cosmos_sdk_version = message.cosmosSdkVersion; - return obj; - }, - fromAmino(object: VersionInfoAmino): VersionInfo { - return { - name: object.name, - appName: object.app_name, - version: object.version, - gitCommit: object.git_commit, - buildTags: object.build_tags, - goVersion: object.go_version, - buildDeps: Array.isArray(object?.build_deps) ? object.build_deps.map((e: any) => Module.fromAmino(e)) : [], - cosmosSdkVersion: object.cosmos_sdk_version - }; - }, - toAmino(message: VersionInfo): VersionInfoAmino { - const obj: any = {}; - obj.name = message.name; - obj.app_name = message.appName; - obj.version = message.version; - obj.git_commit = message.gitCommit; - obj.build_tags = message.buildTags; - obj.go_version = message.goVersion; - if (message.buildDeps) { - obj.build_deps = message.buildDeps.map(e => e ? Module.toAmino(e) : undefined); - } else { - obj.build_deps = []; - } - obj.cosmos_sdk_version = message.cosmosSdkVersion; - return obj; - }, - fromAminoMsg(object: VersionInfoAminoMsg): VersionInfo { - return VersionInfo.fromAmino(object.value); - }, - toAminoMsg(message: VersionInfo): VersionInfoAminoMsg { - return { - type: "cosmos-sdk/VersionInfo", - value: VersionInfo.toAmino(message) - }; - }, - fromProtoMsg(message: VersionInfoProtoMsg): VersionInfo { - return VersionInfo.decode(message.value); - }, - toProto(message: VersionInfo): Uint8Array { - return VersionInfo.encode(message).finish(); - }, - toProtoMsg(message: VersionInfo): VersionInfoProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.VersionInfo", - value: VersionInfo.encode(message).finish() - }; - } -}; -function createBaseModule(): Module { - return { - path: "", - version: "", - sum: "" - }; -} -export const Module = { - typeUrl: "/cosmos.base.tendermint.v1beta1.Module", - aminoType: "cosmos-sdk/Module", - encode(message: Module, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path !== "") { - writer.uint32(10).string(message.path); - } - if (message.version !== "") { - writer.uint32(18).string(message.version); - } - if (message.sum !== "") { - writer.uint32(26).string(message.sum); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Module { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModule(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.path = reader.string(); - break; - case 2: - message.version = reader.string(); - break; - case 3: - message.sum = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Module { - const obj = createBaseModule(); - if (isSet(object.path)) obj.path = String(object.path); - if (isSet(object.version)) obj.version = String(object.version); - if (isSet(object.sum)) obj.sum = String(object.sum); - return obj; - }, - toJSON(message: Module): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = message.path); - message.version !== undefined && (obj.version = message.version); - message.sum !== undefined && (obj.sum = message.sum); - return obj; - }, - fromPartial(object: DeepPartial): Module { - const message = createBaseModule(); - message.path = object.path ?? ""; - message.version = object.version ?? ""; - message.sum = object.sum ?? ""; - return message; - }, - fromSDK(object: ModuleSDKType): Module { - return { - path: object?.path, - version: object?.version, - sum: object?.sum - }; - }, - toSDK(message: Module): ModuleSDKType { - const obj: any = {}; - obj.path = message.path; - obj.version = message.version; - obj.sum = message.sum; - return obj; - }, - fromAmino(object: ModuleAmino): Module { - return { - path: object.path, - version: object.version, - sum: object.sum - }; - }, - toAmino(message: Module): ModuleAmino { - const obj: any = {}; - obj.path = message.path; - obj.version = message.version; - obj.sum = message.sum; - return obj; - }, - fromAminoMsg(object: ModuleAminoMsg): Module { - return Module.fromAmino(object.value); - }, - toAminoMsg(message: Module): ModuleAminoMsg { - return { - type: "cosmos-sdk/Module", - value: Module.toAmino(message) - }; - }, - fromProtoMsg(message: ModuleProtoMsg): Module { - return Module.decode(message.value); - }, - toProto(message: Module): Uint8Array { - return Module.encode(message).finish(); - }, - toProtoMsg(message: Module): ModuleProtoMsg { - return { - typeUrl: "/cosmos.base.tendermint.v1beta1.Module", - value: Module.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/base/v1beta1/coin.ts b/quicksilverjs/src/codegen/cosmos/base/v1beta1/coin.ts deleted file mode 100644 index dbf86c48b..000000000 --- a/quicksilverjs/src/codegen/cosmos/base/v1beta1/coin.ts +++ /dev/null @@ -1,499 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.base.v1beta1"; -/** - * Coin defines a token with a denomination and an amount. - * - * NOTE: The amount field is an Int which implements the custom method - * signatures required by gogoproto. - */ -export interface Coin { - denom: string; - amount: string; -} -export interface CoinProtoMsg { - typeUrl: "/cosmos.base.v1beta1.Coin"; - value: Uint8Array; -} -/** - * Coin defines a token with a denomination and an amount. - * - * NOTE: The amount field is an Int which implements the custom method - * signatures required by gogoproto. - */ -export interface CoinAmino { - denom: string; - amount: string; -} -export interface CoinAminoMsg { - type: "cosmos-sdk/Coin"; - value: CoinAmino; -} -/** - * Coin defines a token with a denomination and an amount. - * - * NOTE: The amount field is an Int which implements the custom method - * signatures required by gogoproto. - */ -export interface CoinSDKType { - denom: string; - amount: string; -} -/** - * DecCoin defines a token with a denomination and a decimal amount. - * - * NOTE: The amount field is an Dec which implements the custom method - * signatures required by gogoproto. - */ -export interface DecCoin { - denom: string; - amount: string; -} -export interface DecCoinProtoMsg { - typeUrl: "/cosmos.base.v1beta1.DecCoin"; - value: Uint8Array; -} -/** - * DecCoin defines a token with a denomination and a decimal amount. - * - * NOTE: The amount field is an Dec which implements the custom method - * signatures required by gogoproto. - */ -export interface DecCoinAmino { - denom: string; - amount: string; -} -export interface DecCoinAminoMsg { - type: "cosmos-sdk/DecCoin"; - value: DecCoinAmino; -} -/** - * DecCoin defines a token with a denomination and a decimal amount. - * - * NOTE: The amount field is an Dec which implements the custom method - * signatures required by gogoproto. - */ -export interface DecCoinSDKType { - denom: string; - amount: string; -} -/** IntProto defines a Protobuf wrapper around an Int object. */ -export interface IntProto { - int: string; -} -export interface IntProtoProtoMsg { - typeUrl: "/cosmos.base.v1beta1.IntProto"; - value: Uint8Array; -} -/** IntProto defines a Protobuf wrapper around an Int object. */ -export interface IntProtoAmino { - int: string; -} -export interface IntProtoAminoMsg { - type: "cosmos-sdk/IntProto"; - value: IntProtoAmino; -} -/** IntProto defines a Protobuf wrapper around an Int object. */ -export interface IntProtoSDKType { - int: string; -} -/** DecProto defines a Protobuf wrapper around a Dec object. */ -export interface DecProto { - dec: string; -} -export interface DecProtoProtoMsg { - typeUrl: "/cosmos.base.v1beta1.DecProto"; - value: Uint8Array; -} -/** DecProto defines a Protobuf wrapper around a Dec object. */ -export interface DecProtoAmino { - dec: string; -} -export interface DecProtoAminoMsg { - type: "cosmos-sdk/DecProto"; - value: DecProtoAmino; -} -/** DecProto defines a Protobuf wrapper around a Dec object. */ -export interface DecProtoSDKType { - dec: string; -} -function createBaseCoin(): Coin { - return { - denom: "", - amount: "" - }; -} -export const Coin = { - typeUrl: "/cosmos.base.v1beta1.Coin", - aminoType: "cosmos-sdk/Coin", - encode(message: Coin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - if (message.amount !== "") { - writer.uint32(18).string(message.amount); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Coin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCoin(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - case 2: - message.amount = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Coin { - const obj = createBaseCoin(); - if (isSet(object.denom)) obj.denom = String(object.denom); - if (isSet(object.amount)) obj.amount = String(object.amount); - return obj; - }, - toJSON(message: Coin): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.amount !== undefined && (obj.amount = message.amount); - return obj; - }, - fromPartial(object: DeepPartial): Coin { - const message = createBaseCoin(); - message.denom = object.denom ?? ""; - message.amount = object.amount ?? ""; - return message; - }, - fromSDK(object: CoinSDKType): Coin { - return { - denom: object?.denom, - amount: object?.amount - }; - }, - toSDK(message: Coin): CoinSDKType { - const obj: any = {}; - obj.denom = message.denom; - obj.amount = message.amount; - return obj; - }, - fromAmino(object: CoinAmino): Coin { - return { - denom: object.denom, - amount: object.amount - }; - }, - toAmino(message: Coin): CoinAmino { - const obj: any = {}; - obj.denom = message.denom; - obj.amount = message.amount; - return obj; - }, - fromAminoMsg(object: CoinAminoMsg): Coin { - return Coin.fromAmino(object.value); - }, - toAminoMsg(message: Coin): CoinAminoMsg { - return { - type: "cosmos-sdk/Coin", - value: Coin.toAmino(message) - }; - }, - fromProtoMsg(message: CoinProtoMsg): Coin { - return Coin.decode(message.value); - }, - toProto(message: Coin): Uint8Array { - return Coin.encode(message).finish(); - }, - toProtoMsg(message: Coin): CoinProtoMsg { - return { - typeUrl: "/cosmos.base.v1beta1.Coin", - value: Coin.encode(message).finish() - }; - } -}; -function createBaseDecCoin(): DecCoin { - return { - denom: "", - amount: "" - }; -} -export const DecCoin = { - typeUrl: "/cosmos.base.v1beta1.DecCoin", - aminoType: "cosmos-sdk/DecCoin", - encode(message: DecCoin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.denom !== "") { - writer.uint32(10).string(message.denom); - } - if (message.amount !== "") { - writer.uint32(18).string(message.amount); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DecCoin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDecCoin(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.denom = reader.string(); - break; - case 2: - message.amount = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DecCoin { - const obj = createBaseDecCoin(); - if (isSet(object.denom)) obj.denom = String(object.denom); - if (isSet(object.amount)) obj.amount = String(object.amount); - return obj; - }, - toJSON(message: DecCoin): unknown { - const obj: any = {}; - message.denom !== undefined && (obj.denom = message.denom); - message.amount !== undefined && (obj.amount = message.amount); - return obj; - }, - fromPartial(object: DeepPartial): DecCoin { - const message = createBaseDecCoin(); - message.denom = object.denom ?? ""; - message.amount = object.amount ?? ""; - return message; - }, - fromSDK(object: DecCoinSDKType): DecCoin { - return { - denom: object?.denom, - amount: object?.amount - }; - }, - toSDK(message: DecCoin): DecCoinSDKType { - const obj: any = {}; - obj.denom = message.denom; - obj.amount = message.amount; - return obj; - }, - fromAmino(object: DecCoinAmino): DecCoin { - return { - denom: object.denom, - amount: object.amount - }; - }, - toAmino(message: DecCoin): DecCoinAmino { - const obj: any = {}; - obj.denom = message.denom; - obj.amount = message.amount; - return obj; - }, - fromAminoMsg(object: DecCoinAminoMsg): DecCoin { - return DecCoin.fromAmino(object.value); - }, - toAminoMsg(message: DecCoin): DecCoinAminoMsg { - return { - type: "cosmos-sdk/DecCoin", - value: DecCoin.toAmino(message) - }; - }, - fromProtoMsg(message: DecCoinProtoMsg): DecCoin { - return DecCoin.decode(message.value); - }, - toProto(message: DecCoin): Uint8Array { - return DecCoin.encode(message).finish(); - }, - toProtoMsg(message: DecCoin): DecCoinProtoMsg { - return { - typeUrl: "/cosmos.base.v1beta1.DecCoin", - value: DecCoin.encode(message).finish() - }; - } -}; -function createBaseIntProto(): IntProto { - return { - int: "" - }; -} -export const IntProto = { - typeUrl: "/cosmos.base.v1beta1.IntProto", - aminoType: "cosmos-sdk/IntProto", - encode(message: IntProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.int !== "") { - writer.uint32(10).string(message.int); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): IntProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseIntProto(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.int = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): IntProto { - const obj = createBaseIntProto(); - if (isSet(object.int)) obj.int = String(object.int); - return obj; - }, - toJSON(message: IntProto): unknown { - const obj: any = {}; - message.int !== undefined && (obj.int = message.int); - return obj; - }, - fromPartial(object: DeepPartial): IntProto { - const message = createBaseIntProto(); - message.int = object.int ?? ""; - return message; - }, - fromSDK(object: IntProtoSDKType): IntProto { - return { - int: object?.int - }; - }, - toSDK(message: IntProto): IntProtoSDKType { - const obj: any = {}; - obj.int = message.int; - return obj; - }, - fromAmino(object: IntProtoAmino): IntProto { - return { - int: object.int - }; - }, - toAmino(message: IntProto): IntProtoAmino { - const obj: any = {}; - obj.int = message.int; - return obj; - }, - fromAminoMsg(object: IntProtoAminoMsg): IntProto { - return IntProto.fromAmino(object.value); - }, - toAminoMsg(message: IntProto): IntProtoAminoMsg { - return { - type: "cosmos-sdk/IntProto", - value: IntProto.toAmino(message) - }; - }, - fromProtoMsg(message: IntProtoProtoMsg): IntProto { - return IntProto.decode(message.value); - }, - toProto(message: IntProto): Uint8Array { - return IntProto.encode(message).finish(); - }, - toProtoMsg(message: IntProto): IntProtoProtoMsg { - return { - typeUrl: "/cosmos.base.v1beta1.IntProto", - value: IntProto.encode(message).finish() - }; - } -}; -function createBaseDecProto(): DecProto { - return { - dec: "" - }; -} -export const DecProto = { - typeUrl: "/cosmos.base.v1beta1.DecProto", - aminoType: "cosmos-sdk/DecProto", - encode(message: DecProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.dec !== "") { - writer.uint32(10).string(message.dec); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DecProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDecProto(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.dec = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DecProto { - const obj = createBaseDecProto(); - if (isSet(object.dec)) obj.dec = String(object.dec); - return obj; - }, - toJSON(message: DecProto): unknown { - const obj: any = {}; - message.dec !== undefined && (obj.dec = message.dec); - return obj; - }, - fromPartial(object: DeepPartial): DecProto { - const message = createBaseDecProto(); - message.dec = object.dec ?? ""; - return message; - }, - fromSDK(object: DecProtoSDKType): DecProto { - return { - dec: object?.dec - }; - }, - toSDK(message: DecProto): DecProtoSDKType { - const obj: any = {}; - obj.dec = message.dec; - return obj; - }, - fromAmino(object: DecProtoAmino): DecProto { - return { - dec: object.dec - }; - }, - toAmino(message: DecProto): DecProtoAmino { - const obj: any = {}; - obj.dec = message.dec; - return obj; - }, - fromAminoMsg(object: DecProtoAminoMsg): DecProto { - return DecProto.fromAmino(object.value); - }, - toAminoMsg(message: DecProto): DecProtoAminoMsg { - return { - type: "cosmos-sdk/DecProto", - value: DecProto.toAmino(message) - }; - }, - fromProtoMsg(message: DecProtoProtoMsg): DecProto { - return DecProto.decode(message.value); - }, - toProto(message: DecProto): Uint8Array { - return DecProto.encode(message).finish(); - }, - toProtoMsg(message: DecProto): DecProtoProtoMsg { - return { - typeUrl: "/cosmos.base.v1beta1.DecProto", - value: DecProto.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/bundle.ts b/quicksilverjs/src/codegen/cosmos/bundle.ts deleted file mode 100644 index 8db634a9f..000000000 --- a/quicksilverjs/src/codegen/cosmos/bundle.ts +++ /dev/null @@ -1,500 +0,0 @@ -import * as _2 from "./app/v1alpha1/config"; -import * as _3 from "./app/v1alpha1/module"; -import * as _4 from "./app/v1alpha1/query"; -import * as _5 from "./auth/v1beta1/auth"; -import * as _6 from "./auth/v1beta1/genesis"; -import * as _7 from "./auth/v1beta1/query"; -import * as _8 from "./authz/v1beta1/authz"; -import * as _9 from "./authz/v1beta1/genesis"; -import * as _10 from "./authz/v1beta1/query"; -import * as _11 from "./authz/v1beta1/tx"; -import * as _12 from "./bank/v1beta1/authz"; -import * as _13 from "./bank/v1beta1/bank"; -import * as _14 from "./bank/v1beta1/genesis"; -import * as _15 from "./bank/v1beta1/query"; -import * as _16 from "./bank/v1beta1/tx"; -import * as _17 from "./base/abci/v1beta1/abci"; -import * as _18 from "./base/kv/v1beta1/kv"; -import * as _19 from "./base/query/v1beta1/pagination"; -import * as _20 from "./base/reflection/v1beta1/reflection"; -import * as _21 from "./base/reflection/v2alpha1/reflection"; -import * as _22 from "./base/snapshots/v1beta1/snapshot"; -import * as _23 from "./base/store/v1beta1/commit_info"; -import * as _24 from "./base/store/v1beta1/listening"; -import * as _25 from "./base/tendermint/v1beta1/query"; -import * as _26 from "./base/v1beta1/coin"; -import * as _27 from "./capability/v1beta1/capability"; -import * as _28 from "./capability/v1beta1/genesis"; -import * as _29 from "./crisis/v1beta1/genesis"; -import * as _30 from "./crisis/v1beta1/tx"; -import * as _31 from "./crypto/ed25519/keys"; -import * as _32 from "./crypto/hd/v1/hd"; -import * as _33 from "./crypto/keyring/v1/record"; -import * as _34 from "./crypto/multisig/keys"; -import * as _35 from "./crypto/secp256k1/keys"; -import * as _36 from "./crypto/secp256r1/keys"; -import * as _37 from "./distribution/v1beta1/distribution"; -import * as _38 from "./distribution/v1beta1/genesis"; -import * as _39 from "./distribution/v1beta1/query"; -import * as _40 from "./distribution/v1beta1/tx"; -import * as _41 from "./evidence/v1beta1/evidence"; -import * as _42 from "./evidence/v1beta1/genesis"; -import * as _43 from "./evidence/v1beta1/query"; -import * as _44 from "./evidence/v1beta1/tx"; -import * as _45 from "./feegrant/v1beta1/feegrant"; -import * as _46 from "./feegrant/v1beta1/genesis"; -import * as _47 from "./feegrant/v1beta1/query"; -import * as _48 from "./feegrant/v1beta1/tx"; -import * as _49 from "./genutil/v1beta1/genesis"; -import * as _50 from "./gov/v1/genesis"; -import * as _51 from "./gov/v1/gov"; -import * as _52 from "./gov/v1/query"; -import * as _53 from "./gov/v1/tx"; -import * as _54 from "./gov/v1beta1/genesis"; -import * as _55 from "./gov/v1beta1/gov"; -import * as _56 from "./gov/v1beta1/query"; -import * as _57 from "./gov/v1beta1/tx"; -import * as _58 from "./group/v1/events"; -import * as _59 from "./group/v1/genesis"; -import * as _60 from "./group/v1/query"; -import * as _61 from "./group/v1/tx"; -import * as _62 from "./group/v1/types"; -import * as _63 from "./mint/v1beta1/genesis"; -import * as _64 from "./mint/v1beta1/mint"; -import * as _65 from "./mint/v1beta1/query"; -import * as _66 from "./msg/v1/msg"; -import * as _67 from "./nft/v1beta1/event"; -import * as _68 from "./nft/v1beta1/genesis"; -import * as _69 from "./nft/v1beta1/nft"; -import * as _70 from "./nft/v1beta1/query"; -import * as _71 from "./nft/v1beta1/tx"; -import * as _72 from "./orm/module/v1alpha1/module"; -import * as _73 from "./orm/v1/orm"; -import * as _74 from "./orm/v1alpha1/schema"; -import * as _75 from "./params/v1beta1/params"; -import * as _76 from "./params/v1beta1/query"; -import * as _77 from "./slashing/v1beta1/genesis"; -import * as _78 from "./slashing/v1beta1/query"; -import * as _79 from "./slashing/v1beta1/slashing"; -import * as _80 from "./slashing/v1beta1/tx"; -import * as _81 from "./staking/v1beta1/authz"; -import * as _82 from "./staking/v1beta1/genesis"; -import * as _83 from "./staking/v1beta1/query"; -import * as _84 from "./staking/v1beta1/staking"; -import * as _85 from "./staking/v1beta1/tx"; -import * as _86 from "./tx/signing/v1beta1/signing"; -import * as _87 from "./tx/v1beta1/service"; -import * as _88 from "./tx/v1beta1/tx"; -import * as _89 from "./upgrade/v1beta1/query"; -import * as _90 from "./upgrade/v1beta1/tx"; -import * as _91 from "./upgrade/v1beta1/upgrade"; -import * as _92 from "./vesting/v1beta1/tx"; -import * as _93 from "./vesting/v1beta1/vesting"; -import * as _222 from "./authz/v1beta1/tx.amino"; -import * as _223 from "./bank/v1beta1/tx.amino"; -import * as _224 from "./crisis/v1beta1/tx.amino"; -import * as _225 from "./distribution/v1beta1/tx.amino"; -import * as _226 from "./evidence/v1beta1/tx.amino"; -import * as _227 from "./feegrant/v1beta1/tx.amino"; -import * as _228 from "./gov/v1/tx.amino"; -import * as _229 from "./gov/v1beta1/tx.amino"; -import * as _230 from "./group/v1/tx.amino"; -import * as _231 from "./nft/v1beta1/tx.amino"; -import * as _232 from "./slashing/v1beta1/tx.amino"; -import * as _233 from "./staking/v1beta1/tx.amino"; -import * as _234 from "./upgrade/v1beta1/tx.amino"; -import * as _235 from "./vesting/v1beta1/tx.amino"; -import * as _236 from "./authz/v1beta1/tx.registry"; -import * as _237 from "./bank/v1beta1/tx.registry"; -import * as _238 from "./crisis/v1beta1/tx.registry"; -import * as _239 from "./distribution/v1beta1/tx.registry"; -import * as _240 from "./evidence/v1beta1/tx.registry"; -import * as _241 from "./feegrant/v1beta1/tx.registry"; -import * as _242 from "./gov/v1/tx.registry"; -import * as _243 from "./gov/v1beta1/tx.registry"; -import * as _244 from "./group/v1/tx.registry"; -import * as _245 from "./nft/v1beta1/tx.registry"; -import * as _246 from "./slashing/v1beta1/tx.registry"; -import * as _247 from "./staking/v1beta1/tx.registry"; -import * as _248 from "./upgrade/v1beta1/tx.registry"; -import * as _249 from "./vesting/v1beta1/tx.registry"; -import * as _250 from "./auth/v1beta1/query.lcd"; -import * as _251 from "./authz/v1beta1/query.lcd"; -import * as _252 from "./bank/v1beta1/query.lcd"; -import * as _253 from "./base/tendermint/v1beta1/query.lcd"; -import * as _254 from "./distribution/v1beta1/query.lcd"; -import * as _255 from "./evidence/v1beta1/query.lcd"; -import * as _256 from "./feegrant/v1beta1/query.lcd"; -import * as _257 from "./gov/v1/query.lcd"; -import * as _258 from "./gov/v1beta1/query.lcd"; -import * as _259 from "./group/v1/query.lcd"; -import * as _260 from "./mint/v1beta1/query.lcd"; -import * as _261 from "./nft/v1beta1/query.lcd"; -import * as _262 from "./params/v1beta1/query.lcd"; -import * as _263 from "./slashing/v1beta1/query.lcd"; -import * as _264 from "./staking/v1beta1/query.lcd"; -import * as _265 from "./tx/v1beta1/service.lcd"; -import * as _266 from "./upgrade/v1beta1/query.lcd"; -import * as _267 from "./app/v1alpha1/query.rpc.Query"; -import * as _268 from "./auth/v1beta1/query.rpc.Query"; -import * as _269 from "./authz/v1beta1/query.rpc.Query"; -import * as _270 from "./bank/v1beta1/query.rpc.Query"; -import * as _271 from "./base/tendermint/v1beta1/query.rpc.Service"; -import * as _272 from "./distribution/v1beta1/query.rpc.Query"; -import * as _273 from "./evidence/v1beta1/query.rpc.Query"; -import * as _274 from "./feegrant/v1beta1/query.rpc.Query"; -import * as _275 from "./gov/v1/query.rpc.Query"; -import * as _276 from "./gov/v1beta1/query.rpc.Query"; -import * as _277 from "./group/v1/query.rpc.Query"; -import * as _278 from "./mint/v1beta1/query.rpc.Query"; -import * as _279 from "./nft/v1beta1/query.rpc.Query"; -import * as _280 from "./params/v1beta1/query.rpc.Query"; -import * as _281 from "./slashing/v1beta1/query.rpc.Query"; -import * as _282 from "./staking/v1beta1/query.rpc.Query"; -import * as _283 from "./tx/v1beta1/service.rpc.Service"; -import * as _284 from "./upgrade/v1beta1/query.rpc.Query"; -import * as _285 from "./authz/v1beta1/tx.rpc.msg"; -import * as _286 from "./bank/v1beta1/tx.rpc.msg"; -import * as _287 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _288 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _289 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _290 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _291 from "./gov/v1/tx.rpc.msg"; -import * as _292 from "./gov/v1beta1/tx.rpc.msg"; -import * as _293 from "./group/v1/tx.rpc.msg"; -import * as _294 from "./nft/v1beta1/tx.rpc.msg"; -import * as _295 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _296 from "./staking/v1beta1/tx.rpc.msg"; -import * as _297 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _298 from "./vesting/v1beta1/tx.rpc.msg"; -import * as _354 from "./lcd"; -import * as _355 from "./rpc.query"; -import * as _356 from "./rpc.tx"; -export namespace cosmos { - export namespace app { - export const v1alpha1 = { - ..._2, - ..._3, - ..._4, - ..._267 - }; - } - export namespace auth { - export const v1beta1 = { - ..._5, - ..._6, - ..._7, - ..._250, - ..._268 - }; - } - export namespace authz { - export const v1beta1 = { - ..._8, - ..._9, - ..._10, - ..._11, - ..._222, - ..._236, - ..._251, - ..._269, - ..._285 - }; - } - export namespace bank { - export const v1beta1 = { - ..._12, - ..._13, - ..._14, - ..._15, - ..._16, - ..._223, - ..._237, - ..._252, - ..._270, - ..._286 - }; - } - export namespace base { - export namespace abci { - export const v1beta1 = { - ..._17 - }; - } - export namespace kv { - export const v1beta1 = { - ..._18 - }; - } - export namespace query { - export const v1beta1 = { - ..._19 - }; - } - export namespace reflection { - export const v1beta1 = { - ..._20 - }; - export const v2alpha1 = { - ..._21 - }; - } - export namespace snapshots { - export const v1beta1 = { - ..._22 - }; - } - export namespace store { - export const v1beta1 = { - ..._23, - ..._24 - }; - } - export namespace tendermint { - export const v1beta1 = { - ..._25, - ..._253, - ..._271 - }; - } - export const v1beta1 = { - ..._26 - }; - } - export namespace capability { - export const v1beta1 = { - ..._27, - ..._28 - }; - } - export namespace crisis { - export const v1beta1 = { - ..._29, - ..._30, - ..._224, - ..._238, - ..._287 - }; - } - export namespace crypto { - export const ed25519 = { - ..._31 - }; - export namespace hd { - export const v1 = { - ..._32 - }; - } - export namespace keyring { - export const v1 = { - ..._33 - }; - } - export const multisig = { - ..._34 - }; - export const secp256k1 = { - ..._35 - }; - export const secp256r1 = { - ..._36 - }; - } - export namespace distribution { - export const v1beta1 = { - ..._37, - ..._38, - ..._39, - ..._40, - ..._225, - ..._239, - ..._254, - ..._272, - ..._288 - }; - } - export namespace evidence { - export const v1beta1 = { - ..._41, - ..._42, - ..._43, - ..._44, - ..._226, - ..._240, - ..._255, - ..._273, - ..._289 - }; - } - export namespace feegrant { - export const v1beta1 = { - ..._45, - ..._46, - ..._47, - ..._48, - ..._227, - ..._241, - ..._256, - ..._274, - ..._290 - }; - } - export namespace genutil { - export const v1beta1 = { - ..._49 - }; - } - export namespace gov { - export const v1 = { - ..._50, - ..._51, - ..._52, - ..._53, - ..._228, - ..._242, - ..._257, - ..._275, - ..._291 - }; - export const v1beta1 = { - ..._54, - ..._55, - ..._56, - ..._57, - ..._229, - ..._243, - ..._258, - ..._276, - ..._292 - }; - } - export namespace group { - export const v1 = { - ..._58, - ..._59, - ..._60, - ..._61, - ..._62, - ..._230, - ..._244, - ..._259, - ..._277, - ..._293 - }; - } - export namespace mint { - export const v1beta1 = { - ..._63, - ..._64, - ..._65, - ..._260, - ..._278 - }; - } - export namespace msg { - export const v1 = { - ..._66 - }; - } - export namespace nft { - export const v1beta1 = { - ..._67, - ..._68, - ..._69, - ..._70, - ..._71, - ..._231, - ..._245, - ..._261, - ..._279, - ..._294 - }; - } - export namespace orm { - export namespace module { - export const v1alpha1 = { - ..._72 - }; - } - export const v1 = { - ..._73 - }; - export const v1alpha1 = { - ..._74 - }; - } - export namespace params { - export const v1beta1 = { - ..._75, - ..._76, - ..._262, - ..._280 - }; - } - export namespace slashing { - export const v1beta1 = { - ..._77, - ..._78, - ..._79, - ..._80, - ..._232, - ..._246, - ..._263, - ..._281, - ..._295 - }; - } - export namespace staking { - export const v1beta1 = { - ..._81, - ..._82, - ..._83, - ..._84, - ..._85, - ..._233, - ..._247, - ..._264, - ..._282, - ..._296 - }; - } - export namespace tx { - export namespace signing { - export const v1beta1 = { - ..._86 - }; - } - export const v1beta1 = { - ..._87, - ..._88, - ..._265, - ..._283 - }; - } - export namespace upgrade { - export const v1beta1 = { - ..._89, - ..._90, - ..._91, - ..._234, - ..._248, - ..._266, - ..._284, - ..._297 - }; - } - export namespace vesting { - export const v1beta1 = { - ..._92, - ..._93, - ..._235, - ..._249, - ..._298 - }; - } - export const ClientFactory = { - ..._354, - ..._355, - ..._356 - }; -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/capability/v1beta1/capability.ts b/quicksilverjs/src/codegen/cosmos/capability/v1beta1/capability.ts deleted file mode 100644 index 466701718..000000000 --- a/quicksilverjs/src/codegen/cosmos/capability/v1beta1/capability.ts +++ /dev/null @@ -1,385 +0,0 @@ -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.capability.v1beta1"; -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface Capability { - index: Long; -} -export interface CapabilityProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.Capability"; - value: Uint8Array; -} -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface CapabilityAmino { - index: string; -} -export interface CapabilityAminoMsg { - type: "cosmos-sdk/Capability"; - value: CapabilityAmino; -} -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface CapabilitySDKType { - index: Long; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface Owner { - module: string; - name: string; -} -export interface OwnerProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.Owner"; - value: Uint8Array; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface OwnerAmino { - module: string; - name: string; -} -export interface OwnerAminoMsg { - type: "cosmos-sdk/Owner"; - value: OwnerAmino; -} -/** - * Owner defines a single capability owner. An owner is defined by the name of - * capability and the module name. - */ -export interface OwnerSDKType { - module: string; - name: string; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwners { - owners: Owner[]; -} -export interface CapabilityOwnersProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.CapabilityOwners"; - value: Uint8Array; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwnersAmino { - owners: OwnerAmino[]; -} -export interface CapabilityOwnersAminoMsg { - type: "cosmos-sdk/CapabilityOwners"; - value: CapabilityOwnersAmino; -} -/** - * CapabilityOwners defines a set of owners of a single Capability. The set of - * owners must be unique. - */ -export interface CapabilityOwnersSDKType { - owners: OwnerSDKType[]; -} -function createBaseCapability(): Capability { - return { - index: Long.UZERO - }; -} -export const Capability = { - typeUrl: "/cosmos.capability.v1beta1.Capability", - aminoType: "cosmos-sdk/Capability", - encode(message: Capability, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.index.isZero()) { - writer.uint32(8).uint64(message.index); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Capability { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCapability(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.index = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Capability { - const obj = createBaseCapability(); - if (isSet(object.index)) obj.index = Long.fromValue(object.index); - return obj; - }, - toJSON(message: Capability): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): Capability { - const message = createBaseCapability(); - if (object.index !== undefined && object.index !== null) { - message.index = Long.fromValue(object.index); - } - return message; - }, - fromSDK(object: CapabilitySDKType): Capability { - return { - index: object?.index - }; - }, - toSDK(message: Capability): CapabilitySDKType { - const obj: any = {}; - obj.index = message.index; - return obj; - }, - fromAmino(object: CapabilityAmino): Capability { - return { - index: Long.fromString(object.index) - }; - }, - toAmino(message: Capability): CapabilityAmino { - const obj: any = {}; - obj.index = message.index ? message.index.toString() : undefined; - return obj; - }, - fromAminoMsg(object: CapabilityAminoMsg): Capability { - return Capability.fromAmino(object.value); - }, - toAminoMsg(message: Capability): CapabilityAminoMsg { - return { - type: "cosmos-sdk/Capability", - value: Capability.toAmino(message) - }; - }, - fromProtoMsg(message: CapabilityProtoMsg): Capability { - return Capability.decode(message.value); - }, - toProto(message: Capability): Uint8Array { - return Capability.encode(message).finish(); - }, - toProtoMsg(message: Capability): CapabilityProtoMsg { - return { - typeUrl: "/cosmos.capability.v1beta1.Capability", - value: Capability.encode(message).finish() - }; - } -}; -function createBaseOwner(): Owner { - return { - module: "", - name: "" - }; -} -export const Owner = { - typeUrl: "/cosmos.capability.v1beta1.Owner", - aminoType: "cosmos-sdk/Owner", - encode(message: Owner, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.module !== "") { - writer.uint32(10).string(message.module); - } - if (message.name !== "") { - writer.uint32(18).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Owner { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOwner(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.module = reader.string(); - break; - case 2: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Owner { - const obj = createBaseOwner(); - if (isSet(object.module)) obj.module = String(object.module); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: Owner): unknown { - const obj: any = {}; - message.module !== undefined && (obj.module = message.module); - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): Owner { - const message = createBaseOwner(); - message.module = object.module ?? ""; - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: OwnerSDKType): Owner { - return { - module: object?.module, - name: object?.name - }; - }, - toSDK(message: Owner): OwnerSDKType { - const obj: any = {}; - obj.module = message.module; - obj.name = message.name; - return obj; - }, - fromAmino(object: OwnerAmino): Owner { - return { - module: object.module, - name: object.name - }; - }, - toAmino(message: Owner): OwnerAmino { - const obj: any = {}; - obj.module = message.module; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: OwnerAminoMsg): Owner { - return Owner.fromAmino(object.value); - }, - toAminoMsg(message: Owner): OwnerAminoMsg { - return { - type: "cosmos-sdk/Owner", - value: Owner.toAmino(message) - }; - }, - fromProtoMsg(message: OwnerProtoMsg): Owner { - return Owner.decode(message.value); - }, - toProto(message: Owner): Uint8Array { - return Owner.encode(message).finish(); - }, - toProtoMsg(message: Owner): OwnerProtoMsg { - return { - typeUrl: "/cosmos.capability.v1beta1.Owner", - value: Owner.encode(message).finish() - }; - } -}; -function createBaseCapabilityOwners(): CapabilityOwners { - return { - owners: [] - }; -} -export const CapabilityOwners = { - typeUrl: "/cosmos.capability.v1beta1.CapabilityOwners", - aminoType: "cosmos-sdk/CapabilityOwners", - encode(message: CapabilityOwners, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.owners) { - Owner.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CapabilityOwners { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCapabilityOwners(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.owners.push(Owner.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CapabilityOwners { - const obj = createBaseCapabilityOwners(); - if (Array.isArray(object?.owners)) obj.owners = object.owners.map((e: any) => Owner.fromJSON(e)); - return obj; - }, - toJSON(message: CapabilityOwners): unknown { - const obj: any = {}; - if (message.owners) { - obj.owners = message.owners.map(e => e ? Owner.toJSON(e) : undefined); - } else { - obj.owners = []; - } - return obj; - }, - fromPartial(object: DeepPartial): CapabilityOwners { - const message = createBaseCapabilityOwners(); - message.owners = object.owners?.map(e => Owner.fromPartial(e)) || []; - return message; - }, - fromSDK(object: CapabilityOwnersSDKType): CapabilityOwners { - return { - owners: Array.isArray(object?.owners) ? object.owners.map((e: any) => Owner.fromSDK(e)) : [] - }; - }, - toSDK(message: CapabilityOwners): CapabilityOwnersSDKType { - const obj: any = {}; - if (message.owners) { - obj.owners = message.owners.map(e => e ? Owner.toSDK(e) : undefined); - } else { - obj.owners = []; - } - return obj; - }, - fromAmino(object: CapabilityOwnersAmino): CapabilityOwners { - return { - owners: Array.isArray(object?.owners) ? object.owners.map((e: any) => Owner.fromAmino(e)) : [] - }; - }, - toAmino(message: CapabilityOwners): CapabilityOwnersAmino { - const obj: any = {}; - if (message.owners) { - obj.owners = message.owners.map(e => e ? Owner.toAmino(e) : undefined); - } else { - obj.owners = []; - } - return obj; - }, - fromAminoMsg(object: CapabilityOwnersAminoMsg): CapabilityOwners { - return CapabilityOwners.fromAmino(object.value); - }, - toAminoMsg(message: CapabilityOwners): CapabilityOwnersAminoMsg { - return { - type: "cosmos-sdk/CapabilityOwners", - value: CapabilityOwners.toAmino(message) - }; - }, - fromProtoMsg(message: CapabilityOwnersProtoMsg): CapabilityOwners { - return CapabilityOwners.decode(message.value); - }, - toProto(message: CapabilityOwners): Uint8Array { - return CapabilityOwners.encode(message).finish(); - }, - toProtoMsg(message: CapabilityOwners): CapabilityOwnersProtoMsg { - return { - typeUrl: "/cosmos.capability.v1beta1.CapabilityOwners", - value: CapabilityOwners.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/capability/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/capability/v1beta1/genesis.ts deleted file mode 100644 index 16949c54b..000000000 --- a/quicksilverjs/src/codegen/cosmos/capability/v1beta1/genesis.ts +++ /dev/null @@ -1,286 +0,0 @@ -import { CapabilityOwners, CapabilityOwnersAmino, CapabilityOwnersSDKType } from "./capability"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.capability.v1beta1"; -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwners { - /** index is the index of the capability owner. */ - index: Long; - /** index_owners are the owners at the given index. */ - indexOwners: CapabilityOwners; -} -export interface GenesisOwnersProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.GenesisOwners"; - value: Uint8Array; -} -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwnersAmino { - /** index is the index of the capability owner. */ - index: string; - /** index_owners are the owners at the given index. */ - index_owners?: CapabilityOwnersAmino; -} -export interface GenesisOwnersAminoMsg { - type: "cosmos-sdk/GenesisOwners"; - value: GenesisOwnersAmino; -} -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwnersSDKType { - index: Long; - index_owners: CapabilityOwnersSDKType; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisState { - /** index is the capability global index. */ - index: Long; - /** - * owners represents a map from index to owners of the capability index - * index key is string to allow amino marshalling. - */ - owners: GenesisOwners[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.capability.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisStateAmino { - /** index is the capability global index. */ - index: string; - /** - * owners represents a map from index to owners of the capability index - * index key is string to allow amino marshalling. - */ - owners: GenesisOwnersAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisStateSDKType { - index: Long; - owners: GenesisOwnersSDKType[]; -} -function createBaseGenesisOwners(): GenesisOwners { - return { - index: Long.UZERO, - indexOwners: CapabilityOwners.fromPartial({}) - }; -} -export const GenesisOwners = { - typeUrl: "/cosmos.capability.v1beta1.GenesisOwners", - aminoType: "cosmos-sdk/GenesisOwners", - encode(message: GenesisOwners, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.index.isZero()) { - writer.uint32(8).uint64(message.index); - } - if (message.indexOwners !== undefined) { - CapabilityOwners.encode(message.indexOwners, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisOwners { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisOwners(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.index = (reader.uint64() as Long); - break; - case 2: - message.indexOwners = CapabilityOwners.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisOwners { - const obj = createBaseGenesisOwners(); - if (isSet(object.index)) obj.index = Long.fromValue(object.index); - if (isSet(object.indexOwners)) obj.indexOwners = CapabilityOwners.fromJSON(object.indexOwners); - return obj; - }, - toJSON(message: GenesisOwners): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || Long.UZERO).toString()); - message.indexOwners !== undefined && (obj.indexOwners = message.indexOwners ? CapabilityOwners.toJSON(message.indexOwners) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GenesisOwners { - const message = createBaseGenesisOwners(); - if (object.index !== undefined && object.index !== null) { - message.index = Long.fromValue(object.index); - } - if (object.indexOwners !== undefined && object.indexOwners !== null) { - message.indexOwners = CapabilityOwners.fromPartial(object.indexOwners); - } - return message; - }, - fromSDK(object: GenesisOwnersSDKType): GenesisOwners { - return { - index: object?.index, - indexOwners: object.index_owners ? CapabilityOwners.fromSDK(object.index_owners) : undefined - }; - }, - toSDK(message: GenesisOwners): GenesisOwnersSDKType { - const obj: any = {}; - obj.index = message.index; - message.indexOwners !== undefined && (obj.index_owners = message.indexOwners ? CapabilityOwners.toSDK(message.indexOwners) : undefined); - return obj; - }, - fromAmino(object: GenesisOwnersAmino): GenesisOwners { - return { - index: Long.fromString(object.index), - indexOwners: object?.index_owners ? CapabilityOwners.fromAmino(object.index_owners) : undefined - }; - }, - toAmino(message: GenesisOwners): GenesisOwnersAmino { - const obj: any = {}; - obj.index = message.index ? message.index.toString() : undefined; - obj.index_owners = message.indexOwners ? CapabilityOwners.toAmino(message.indexOwners) : undefined; - return obj; - }, - fromAminoMsg(object: GenesisOwnersAminoMsg): GenesisOwners { - return GenesisOwners.fromAmino(object.value); - }, - toAminoMsg(message: GenesisOwners): GenesisOwnersAminoMsg { - return { - type: "cosmos-sdk/GenesisOwners", - value: GenesisOwners.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisOwnersProtoMsg): GenesisOwners { - return GenesisOwners.decode(message.value); - }, - toProto(message: GenesisOwners): Uint8Array { - return GenesisOwners.encode(message).finish(); - }, - toProtoMsg(message: GenesisOwners): GenesisOwnersProtoMsg { - return { - typeUrl: "/cosmos.capability.v1beta1.GenesisOwners", - value: GenesisOwners.encode(message).finish() - }; - } -}; -function createBaseGenesisState(): GenesisState { - return { - index: Long.UZERO, - owners: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.capability.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.index.isZero()) { - writer.uint32(8).uint64(message.index); - } - for (const v of message.owners) { - GenesisOwners.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.index = (reader.uint64() as Long); - break; - case 2: - message.owners.push(GenesisOwners.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.index)) obj.index = Long.fromValue(object.index); - if (Array.isArray(object?.owners)) obj.owners = object.owners.map((e: any) => GenesisOwners.fromJSON(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || Long.UZERO).toString()); - if (message.owners) { - obj.owners = message.owners.map(e => e ? GenesisOwners.toJSON(e) : undefined); - } else { - obj.owners = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.index !== undefined && object.index !== null) { - message.index = Long.fromValue(object.index); - } - message.owners = object.owners?.map(e => GenesisOwners.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - index: object?.index, - owners: Array.isArray(object?.owners) ? object.owners.map((e: any) => GenesisOwners.fromSDK(e)) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - obj.index = message.index; - if (message.owners) { - obj.owners = message.owners.map(e => e ? GenesisOwners.toSDK(e) : undefined); - } else { - obj.owners = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - index: Long.fromString(object.index), - owners: Array.isArray(object?.owners) ? object.owners.map((e: any) => GenesisOwners.fromAmino(e)) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.index = message.index ? message.index.toString() : undefined; - if (message.owners) { - obj.owners = message.owners.map(e => e ? GenesisOwners.toAmino(e) : undefined); - } else { - obj.owners = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.capability.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/client.ts b/quicksilverjs/src/codegen/cosmos/client.ts deleted file mode 100644 index d71646865..000000000 --- a/quicksilverjs/src/codegen/cosmos/client.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; -import { AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -import * as cosmosAuthzV1beta1TxRegistry from "./authz/v1beta1/tx.registry"; -import * as cosmosBankV1beta1TxRegistry from "./bank/v1beta1/tx.registry"; -import * as cosmosCrisisV1beta1TxRegistry from "./crisis/v1beta1/tx.registry"; -import * as cosmosDistributionV1beta1TxRegistry from "./distribution/v1beta1/tx.registry"; -import * as cosmosEvidenceV1beta1TxRegistry from "./evidence/v1beta1/tx.registry"; -import * as cosmosFeegrantV1beta1TxRegistry from "./feegrant/v1beta1/tx.registry"; -import * as cosmosGovV1TxRegistry from "./gov/v1/tx.registry"; -import * as cosmosGovV1beta1TxRegistry from "./gov/v1beta1/tx.registry"; -import * as cosmosGroupV1TxRegistry from "./group/v1/tx.registry"; -import * as cosmosNftV1beta1TxRegistry from "./nft/v1beta1/tx.registry"; -import * as cosmosSlashingV1beta1TxRegistry from "./slashing/v1beta1/tx.registry"; -import * as cosmosStakingV1beta1TxRegistry from "./staking/v1beta1/tx.registry"; -import * as cosmosUpgradeV1beta1TxRegistry from "./upgrade/v1beta1/tx.registry"; -import * as cosmosVestingV1beta1TxRegistry from "./vesting/v1beta1/tx.registry"; -import * as cosmosAuthzV1beta1TxAmino from "./authz/v1beta1/tx.amino"; -import * as cosmosBankV1beta1TxAmino from "./bank/v1beta1/tx.amino"; -import * as cosmosCrisisV1beta1TxAmino from "./crisis/v1beta1/tx.amino"; -import * as cosmosDistributionV1beta1TxAmino from "./distribution/v1beta1/tx.amino"; -import * as cosmosEvidenceV1beta1TxAmino from "./evidence/v1beta1/tx.amino"; -import * as cosmosFeegrantV1beta1TxAmino from "./feegrant/v1beta1/tx.amino"; -import * as cosmosGovV1TxAmino from "./gov/v1/tx.amino"; -import * as cosmosGovV1beta1TxAmino from "./gov/v1beta1/tx.amino"; -import * as cosmosGroupV1TxAmino from "./group/v1/tx.amino"; -import * as cosmosNftV1beta1TxAmino from "./nft/v1beta1/tx.amino"; -import * as cosmosSlashingV1beta1TxAmino from "./slashing/v1beta1/tx.amino"; -import * as cosmosStakingV1beta1TxAmino from "./staking/v1beta1/tx.amino"; -import * as cosmosUpgradeV1beta1TxAmino from "./upgrade/v1beta1/tx.amino"; -import * as cosmosVestingV1beta1TxAmino from "./vesting/v1beta1/tx.amino"; -export const cosmosAminoConverters = { - ...cosmosAuthzV1beta1TxAmino.AminoConverter, - ...cosmosBankV1beta1TxAmino.AminoConverter, - ...cosmosCrisisV1beta1TxAmino.AminoConverter, - ...cosmosDistributionV1beta1TxAmino.AminoConverter, - ...cosmosEvidenceV1beta1TxAmino.AminoConverter, - ...cosmosFeegrantV1beta1TxAmino.AminoConverter, - ...cosmosGovV1TxAmino.AminoConverter, - ...cosmosGovV1beta1TxAmino.AminoConverter, - ...cosmosGroupV1TxAmino.AminoConverter, - ...cosmosNftV1beta1TxAmino.AminoConverter, - ...cosmosSlashingV1beta1TxAmino.AminoConverter, - ...cosmosStakingV1beta1TxAmino.AminoConverter, - ...cosmosUpgradeV1beta1TxAmino.AminoConverter, - ...cosmosVestingV1beta1TxAmino.AminoConverter -}; -export const cosmosProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...cosmosAuthzV1beta1TxRegistry.registry, ...cosmosBankV1beta1TxRegistry.registry, ...cosmosCrisisV1beta1TxRegistry.registry, ...cosmosDistributionV1beta1TxRegistry.registry, ...cosmosEvidenceV1beta1TxRegistry.registry, ...cosmosFeegrantV1beta1TxRegistry.registry, ...cosmosGovV1TxRegistry.registry, ...cosmosGovV1beta1TxRegistry.registry, ...cosmosGroupV1TxRegistry.registry, ...cosmosNftV1beta1TxRegistry.registry, ...cosmosSlashingV1beta1TxRegistry.registry, ...cosmosStakingV1beta1TxRegistry.registry, ...cosmosUpgradeV1beta1TxRegistry.registry, ...cosmosVestingV1beta1TxRegistry.registry]; -export const getSigningCosmosClientOptions = (): { - registry: Registry; - aminoTypes: AminoTypes; -} => { - const registry = new Registry([...cosmosProtoRegistry]); - const aminoTypes = new AminoTypes({ - ...cosmosAminoConverters - }); - return { - registry, - aminoTypes - }; -}; -export const getSigningCosmosClient = async ({ - rpcEndpoint, - signer -}: { - rpcEndpoint: string | HttpEndpoint; - signer: OfflineSigner; -}) => { - const { - registry, - aminoTypes - } = getSigningCosmosClientOptions(); - const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { - registry: (registry as any), - aminoTypes - }); - return client; -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/genesis.ts deleted file mode 100644 index 11badd3b0..000000000 --- a/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/genesis.ts +++ /dev/null @@ -1,122 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.crisis.v1beta1"; -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisState { - /** - * constant_fee is the fee used to verify the invariant in the crisis - * module. - */ - constantFee: Coin; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisStateAmino { - /** - * constant_fee is the fee used to verify the invariant in the crisis - * module. - */ - constant_fee?: CoinAmino; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisStateSDKType { - constant_fee: CoinSDKType; -} -function createBaseGenesisState(): GenesisState { - return { - constantFee: Coin.fromPartial({}) - }; -} -export const GenesisState = { - typeUrl: "/cosmos.crisis.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.constantFee !== undefined) { - Coin.encode(message.constantFee, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 3: - message.constantFee = Coin.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.constantFee)) obj.constantFee = Coin.fromJSON(object.constantFee); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.constantFee !== undefined && (obj.constantFee = message.constantFee ? Coin.toJSON(message.constantFee) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.constantFee !== undefined && object.constantFee !== null) { - message.constantFee = Coin.fromPartial(object.constantFee); - } - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - constantFee: object.constant_fee ? Coin.fromSDK(object.constant_fee) : undefined - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - message.constantFee !== undefined && (obj.constant_fee = message.constantFee ? Coin.toSDK(message.constantFee) : undefined); - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - constantFee: object?.constant_fee ? Coin.fromAmino(object.constant_fee) : undefined - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.constant_fee = message.constantFee ? Coin.toAmino(message.constantFee) : undefined; - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.crisis.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts deleted file mode 100644 index 5fb627a75..000000000 --- a/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgVerifyInvariant, MsgVerifyInvariantSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.crisis.v1beta1.MsgVerifyInvariant": { - aminoType: "cosmos-sdk/MsgVerifyInvariant", - toAmino: MsgVerifyInvariant.toAmino, - fromAmino: MsgVerifyInvariant.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts deleted file mode 100644 index 77f206ab5..000000000 --- a/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgVerifyInvariant, MsgVerifyInvariantSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.crisis.v1beta1.MsgVerifyInvariant", MsgVerifyInvariant]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - verifyInvariant(value: MsgVerifyInvariant) { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value: MsgVerifyInvariant.encode(value).finish() - }; - } - }, - withTypeUrl: { - verifyInvariant(value: MsgVerifyInvariant) { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value - }; - } - }, - toJSON: { - verifyInvariant(value: MsgVerifyInvariant) { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value: MsgVerifyInvariant.toJSON(value) - }; - } - }, - fromJSON: { - verifyInvariant(value: any) { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value: MsgVerifyInvariant.fromJSON(value) - }; - } - }, - fromPartial: { - verifyInvariant(value: MsgVerifyInvariant) { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value: MsgVerifyInvariant.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index b9b49d61c..000000000 --- a/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,12 +0,0 @@ -import * as fm from "../../../grpc-gateway"; -import { MsgVerifyInvariant, MsgVerifyInvariantSDKType, MsgVerifyInvariantResponse, MsgVerifyInvariantResponseSDKType } from "./tx"; -export class Msg { - /** VerifyInvariant defines a method to verify a particular invariance. */ - static verifyInvariant(request: MsgVerifyInvariant, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.crisis.v1beta1/verifyInvariant`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.ts deleted file mode 100644 index 7aaea4273..000000000 --- a/quicksilverjs/src/codegen/cosmos/crisis/v1beta1/tx.ts +++ /dev/null @@ -1,230 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.crisis.v1beta1"; -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariant { - sender: string; - invariantModuleName: string; - invariantRoute: string; -} -export interface MsgVerifyInvariantProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant"; - value: Uint8Array; -} -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariantAmino { - sender: string; - invariant_module_name: string; - invariant_route: string; -} -export interface MsgVerifyInvariantAminoMsg { - type: "cosmos-sdk/MsgVerifyInvariant"; - value: MsgVerifyInvariantAmino; -} -/** MsgVerifyInvariant represents a message to verify a particular invariance. */ -export interface MsgVerifyInvariantSDKType { - sender: string; - invariant_module_name: string; - invariant_route: string; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponse {} -export interface MsgVerifyInvariantResponseProtoMsg { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse"; - value: Uint8Array; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponseAmino {} -export interface MsgVerifyInvariantResponseAminoMsg { - type: "cosmos-sdk/MsgVerifyInvariantResponse"; - value: MsgVerifyInvariantResponseAmino; -} -/** MsgVerifyInvariantResponse defines the Msg/VerifyInvariant response type. */ -export interface MsgVerifyInvariantResponseSDKType {} -function createBaseMsgVerifyInvariant(): MsgVerifyInvariant { - return { - sender: "", - invariantModuleName: "", - invariantRoute: "" - }; -} -export const MsgVerifyInvariant = { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - aminoType: "cosmos-sdk/MsgVerifyInvariant", - encode(message: MsgVerifyInvariant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - if (message.invariantModuleName !== "") { - writer.uint32(18).string(message.invariantModuleName); - } - if (message.invariantRoute !== "") { - writer.uint32(26).string(message.invariantRoute); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariant { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVerifyInvariant(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - case 2: - message.invariantModuleName = reader.string(); - break; - case 3: - message.invariantRoute = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgVerifyInvariant { - const obj = createBaseMsgVerifyInvariant(); - if (isSet(object.sender)) obj.sender = String(object.sender); - if (isSet(object.invariantModuleName)) obj.invariantModuleName = String(object.invariantModuleName); - if (isSet(object.invariantRoute)) obj.invariantRoute = String(object.invariantRoute); - return obj; - }, - toJSON(message: MsgVerifyInvariant): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.invariantModuleName !== undefined && (obj.invariantModuleName = message.invariantModuleName); - message.invariantRoute !== undefined && (obj.invariantRoute = message.invariantRoute); - return obj; - }, - fromPartial(object: DeepPartial): MsgVerifyInvariant { - const message = createBaseMsgVerifyInvariant(); - message.sender = object.sender ?? ""; - message.invariantModuleName = object.invariantModuleName ?? ""; - message.invariantRoute = object.invariantRoute ?? ""; - return message; - }, - fromSDK(object: MsgVerifyInvariantSDKType): MsgVerifyInvariant { - return { - sender: object?.sender, - invariantModuleName: object?.invariant_module_name, - invariantRoute: object?.invariant_route - }; - }, - toSDK(message: MsgVerifyInvariant): MsgVerifyInvariantSDKType { - const obj: any = {}; - obj.sender = message.sender; - obj.invariant_module_name = message.invariantModuleName; - obj.invariant_route = message.invariantRoute; - return obj; - }, - fromAmino(object: MsgVerifyInvariantAmino): MsgVerifyInvariant { - return { - sender: object.sender, - invariantModuleName: object.invariant_module_name, - invariantRoute: object.invariant_route - }; - }, - toAmino(message: MsgVerifyInvariant): MsgVerifyInvariantAmino { - const obj: any = {}; - obj.sender = message.sender; - obj.invariant_module_name = message.invariantModuleName; - obj.invariant_route = message.invariantRoute; - return obj; - }, - fromAminoMsg(object: MsgVerifyInvariantAminoMsg): MsgVerifyInvariant { - return MsgVerifyInvariant.fromAmino(object.value); - }, - toAminoMsg(message: MsgVerifyInvariant): MsgVerifyInvariantAminoMsg { - return { - type: "cosmos-sdk/MsgVerifyInvariant", - value: MsgVerifyInvariant.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVerifyInvariantProtoMsg): MsgVerifyInvariant { - return MsgVerifyInvariant.decode(message.value); - }, - toProto(message: MsgVerifyInvariant): Uint8Array { - return MsgVerifyInvariant.encode(message).finish(); - }, - toProtoMsg(message: MsgVerifyInvariant): MsgVerifyInvariantProtoMsg { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariant", - value: MsgVerifyInvariant.encode(message).finish() - }; - } -}; -function createBaseMsgVerifyInvariantResponse(): MsgVerifyInvariantResponse { - return {}; -} -export const MsgVerifyInvariantResponse = { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse", - aminoType: "cosmos-sdk/MsgVerifyInvariantResponse", - encode(_: MsgVerifyInvariantResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVerifyInvariantResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgVerifyInvariantResponse { - const obj = createBaseMsgVerifyInvariantResponse(); - return obj; - }, - toJSON(_: MsgVerifyInvariantResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgVerifyInvariantResponse { - const message = createBaseMsgVerifyInvariantResponse(); - return message; - }, - fromSDK(_: MsgVerifyInvariantResponseSDKType): MsgVerifyInvariantResponse { - return {}; - }, - toSDK(_: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgVerifyInvariantResponseAmino): MsgVerifyInvariantResponse { - return {}; - }, - toAmino(_: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgVerifyInvariantResponseAminoMsg): MsgVerifyInvariantResponse { - return MsgVerifyInvariantResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseAminoMsg { - return { - type: "cosmos-sdk/MsgVerifyInvariantResponse", - value: MsgVerifyInvariantResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVerifyInvariantResponseProtoMsg): MsgVerifyInvariantResponse { - return MsgVerifyInvariantResponse.decode(message.value); - }, - toProto(message: MsgVerifyInvariantResponse): Uint8Array { - return MsgVerifyInvariantResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgVerifyInvariantResponse): MsgVerifyInvariantResponseProtoMsg { - return { - typeUrl: "/cosmos.crisis.v1beta1.MsgVerifyInvariantResponse", - value: MsgVerifyInvariantResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crypto/ed25519/keys.ts b/quicksilverjs/src/codegen/cosmos/crypto/ed25519/keys.ts deleted file mode 100644 index 46861a87b..000000000 --- a/quicksilverjs/src/codegen/cosmos/crypto/ed25519/keys.ts +++ /dev/null @@ -1,246 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.crypto.ed25519"; -/** - * PubKey is an ed25519 public key for handling Tendermint keys in SDK. - * It's needed for Any serialization and SDK compatibility. - * It must not be used in a non Tendermint key context because it doesn't implement - * ADR-28. Nevertheless, you will like to use ed25519 in app user level - * then you must create a new proto message and follow ADR-28 for Address construction. - */ -export interface PubKey { - key: Uint8Array; -} -export interface PubKeyProtoMsg { - typeUrl: "/cosmos.crypto.ed25519.PubKey"; - value: Uint8Array; -} -/** - * PubKey is an ed25519 public key for handling Tendermint keys in SDK. - * It's needed for Any serialization and SDK compatibility. - * It must not be used in a non Tendermint key context because it doesn't implement - * ADR-28. Nevertheless, you will like to use ed25519 in app user level - * then you must create a new proto message and follow ADR-28 for Address construction. - */ -export interface PubKeyAmino { - key: Uint8Array; -} -export interface PubKeyAminoMsg { - type: "cosmos-sdk/PubKey"; - value: PubKeyAmino; -} -/** - * PubKey is an ed25519 public key for handling Tendermint keys in SDK. - * It's needed for Any serialization and SDK compatibility. - * It must not be used in a non Tendermint key context because it doesn't implement - * ADR-28. Nevertheless, you will like to use ed25519 in app user level - * then you must create a new proto message and follow ADR-28 for Address construction. - */ -export interface PubKeySDKType { - key: Uint8Array; -} -/** - * Deprecated: PrivKey defines a ed25519 private key. - * NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. - */ -export interface PrivKey { - key: Uint8Array; -} -export interface PrivKeyProtoMsg { - typeUrl: "/cosmos.crypto.ed25519.PrivKey"; - value: Uint8Array; -} -/** - * Deprecated: PrivKey defines a ed25519 private key. - * NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. - */ -export interface PrivKeyAmino { - key: Uint8Array; -} -export interface PrivKeyAminoMsg { - type: "cosmos-sdk/PrivKey"; - value: PrivKeyAmino; -} -/** - * Deprecated: PrivKey defines a ed25519 private key. - * NOTE: ed25519 keys must not be used in SDK apps except in a tendermint validator context. - */ -export interface PrivKeySDKType { - key: Uint8Array; -} -function createBasePubKey(): PubKey { - return { - key: new Uint8Array() - }; -} -export const PubKey = { - typeUrl: "/cosmos.crypto.ed25519.PubKey", - aminoType: "cosmos-sdk/PubKey", - encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePubKey(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PubKey { - const obj = createBasePubKey(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - return obj; - }, - toJSON(message: PubKey): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): PubKey { - const message = createBasePubKey(); - message.key = object.key ?? new Uint8Array(); - return message; - }, - fromSDK(object: PubKeySDKType): PubKey { - return { - key: object?.key - }; - }, - toSDK(message: PubKey): PubKeySDKType { - const obj: any = {}; - obj.key = message.key; - return obj; - }, - fromAmino(object: PubKeyAmino): PubKey { - return { - key: object.key - }; - }, - toAmino(message: PubKey): PubKeyAmino { - const obj: any = {}; - obj.key = message.key; - return obj; - }, - fromAminoMsg(object: PubKeyAminoMsg): PubKey { - return PubKey.fromAmino(object.value); - }, - toAminoMsg(message: PubKey): PubKeyAminoMsg { - return { - type: "cosmos-sdk/PubKey", - value: PubKey.toAmino(message) - }; - }, - fromProtoMsg(message: PubKeyProtoMsg): PubKey { - return PubKey.decode(message.value); - }, - toProto(message: PubKey): Uint8Array { - return PubKey.encode(message).finish(); - }, - toProtoMsg(message: PubKey): PubKeyProtoMsg { - return { - typeUrl: "/cosmos.crypto.ed25519.PubKey", - value: PubKey.encode(message).finish() - }; - } -}; -function createBasePrivKey(): PrivKey { - return { - key: new Uint8Array() - }; -} -export const PrivKey = { - typeUrl: "/cosmos.crypto.ed25519.PrivKey", - aminoType: "cosmos-sdk/PrivKey", - encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePrivKey(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PrivKey { - const obj = createBasePrivKey(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - return obj; - }, - toJSON(message: PrivKey): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): PrivKey { - const message = createBasePrivKey(); - message.key = object.key ?? new Uint8Array(); - return message; - }, - fromSDK(object: PrivKeySDKType): PrivKey { - return { - key: object?.key - }; - }, - toSDK(message: PrivKey): PrivKeySDKType { - const obj: any = {}; - obj.key = message.key; - return obj; - }, - fromAmino(object: PrivKeyAmino): PrivKey { - return { - key: object.key - }; - }, - toAmino(message: PrivKey): PrivKeyAmino { - const obj: any = {}; - obj.key = message.key; - return obj; - }, - fromAminoMsg(object: PrivKeyAminoMsg): PrivKey { - return PrivKey.fromAmino(object.value); - }, - toAminoMsg(message: PrivKey): PrivKeyAminoMsg { - return { - type: "cosmos-sdk/PrivKey", - value: PrivKey.toAmino(message) - }; - }, - fromProtoMsg(message: PrivKeyProtoMsg): PrivKey { - return PrivKey.decode(message.value); - }, - toProto(message: PrivKey): Uint8Array { - return PrivKey.encode(message).finish(); - }, - toProtoMsg(message: PrivKey): PrivKeyProtoMsg { - return { - typeUrl: "/cosmos.crypto.ed25519.PrivKey", - value: PrivKey.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crypto/hd/v1/hd.ts b/quicksilverjs/src/codegen/cosmos/crypto/hd/v1/hd.ts deleted file mode 100644 index a68f618af..000000000 --- a/quicksilverjs/src/codegen/cosmos/crypto/hd/v1/hd.ts +++ /dev/null @@ -1,195 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../../helpers"; -export const protobufPackage = "cosmos.crypto.hd.v1"; -/** BIP44Params is used as path field in ledger item in Record. */ -export interface BIP44Params { - /** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */ - purpose: number; - /** coin_type is a constant that improves privacy */ - coinType: number; - /** account splits the key space into independent user identities */ - account: number; - /** - * change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal - * chain. - */ - change: boolean; - /** address_index is used as child index in BIP32 derivation */ - addressIndex: number; -} -export interface BIP44ParamsProtoMsg { - typeUrl: "/cosmos.crypto.hd.v1.BIP44Params"; - value: Uint8Array; -} -/** BIP44Params is used as path field in ledger item in Record. */ -export interface BIP44ParamsAmino { - /** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */ - purpose: number; - /** coin_type is a constant that improves privacy */ - coin_type: number; - /** account splits the key space into independent user identities */ - account: number; - /** - * change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal - * chain. - */ - change: boolean; - /** address_index is used as child index in BIP32 derivation */ - address_index: number; -} -export interface BIP44ParamsAminoMsg { - type: "cosmos-sdk/BIP44Params"; - value: BIP44ParamsAmino; -} -/** BIP44Params is used as path field in ledger item in Record. */ -export interface BIP44ParamsSDKType { - purpose: number; - coin_type: number; - account: number; - change: boolean; - address_index: number; -} -function createBaseBIP44Params(): BIP44Params { - return { - purpose: 0, - coinType: 0, - account: 0, - change: false, - addressIndex: 0 - }; -} -export const BIP44Params = { - typeUrl: "/cosmos.crypto.hd.v1.BIP44Params", - aminoType: "cosmos-sdk/BIP44Params", - encode(message: BIP44Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.purpose !== 0) { - writer.uint32(8).uint32(message.purpose); - } - if (message.coinType !== 0) { - writer.uint32(16).uint32(message.coinType); - } - if (message.account !== 0) { - writer.uint32(24).uint32(message.account); - } - if (message.change === true) { - writer.uint32(32).bool(message.change); - } - if (message.addressIndex !== 0) { - writer.uint32(40).uint32(message.addressIndex); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BIP44Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBIP44Params(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.purpose = reader.uint32(); - break; - case 2: - message.coinType = reader.uint32(); - break; - case 3: - message.account = reader.uint32(); - break; - case 4: - message.change = reader.bool(); - break; - case 5: - message.addressIndex = reader.uint32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BIP44Params { - const obj = createBaseBIP44Params(); - if (isSet(object.purpose)) obj.purpose = Number(object.purpose); - if (isSet(object.coinType)) obj.coinType = Number(object.coinType); - if (isSet(object.account)) obj.account = Number(object.account); - if (isSet(object.change)) obj.change = Boolean(object.change); - if (isSet(object.addressIndex)) obj.addressIndex = Number(object.addressIndex); - return obj; - }, - toJSON(message: BIP44Params): unknown { - const obj: any = {}; - message.purpose !== undefined && (obj.purpose = Math.round(message.purpose)); - message.coinType !== undefined && (obj.coinType = Math.round(message.coinType)); - message.account !== undefined && (obj.account = Math.round(message.account)); - message.change !== undefined && (obj.change = message.change); - message.addressIndex !== undefined && (obj.addressIndex = Math.round(message.addressIndex)); - return obj; - }, - fromPartial(object: DeepPartial): BIP44Params { - const message = createBaseBIP44Params(); - message.purpose = object.purpose ?? 0; - message.coinType = object.coinType ?? 0; - message.account = object.account ?? 0; - message.change = object.change ?? false; - message.addressIndex = object.addressIndex ?? 0; - return message; - }, - fromSDK(object: BIP44ParamsSDKType): BIP44Params { - return { - purpose: object?.purpose, - coinType: object?.coin_type, - account: object?.account, - change: object?.change, - addressIndex: object?.address_index - }; - }, - toSDK(message: BIP44Params): BIP44ParamsSDKType { - const obj: any = {}; - obj.purpose = message.purpose; - obj.coin_type = message.coinType; - obj.account = message.account; - obj.change = message.change; - obj.address_index = message.addressIndex; - return obj; - }, - fromAmino(object: BIP44ParamsAmino): BIP44Params { - return { - purpose: object.purpose, - coinType: object.coin_type, - account: object.account, - change: object.change, - addressIndex: object.address_index - }; - }, - toAmino(message: BIP44Params): BIP44ParamsAmino { - const obj: any = {}; - obj.purpose = message.purpose; - obj.coin_type = message.coinType; - obj.account = message.account; - obj.change = message.change; - obj.address_index = message.addressIndex; - return obj; - }, - fromAminoMsg(object: BIP44ParamsAminoMsg): BIP44Params { - return BIP44Params.fromAmino(object.value); - }, - toAminoMsg(message: BIP44Params): BIP44ParamsAminoMsg { - return { - type: "cosmos-sdk/BIP44Params", - value: BIP44Params.toAmino(message) - }; - }, - fromProtoMsg(message: BIP44ParamsProtoMsg): BIP44Params { - return BIP44Params.decode(message.value); - }, - toProto(message: BIP44Params): Uint8Array { - return BIP44Params.encode(message).finish(); - }, - toProtoMsg(message: BIP44Params): BIP44ParamsProtoMsg { - return { - typeUrl: "/cosmos.crypto.hd.v1.BIP44Params", - value: BIP44Params.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crypto/keyring/v1/record.ts b/quicksilverjs/src/codegen/cosmos/crypto/keyring/v1/record.ts deleted file mode 100644 index 80ed212b2..000000000 --- a/quicksilverjs/src/codegen/cosmos/crypto/keyring/v1/record.ts +++ /dev/null @@ -1,636 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { BIP44Params, BIP44ParamsAmino, BIP44ParamsSDKType } from "../../hd/v1/hd"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../../helpers"; -export const protobufPackage = "cosmos.crypto.keyring.v1"; -/** Record is used for representing a key in the keyring. */ -export interface Record { - /** name represents a name of Record */ - name: string; - /** pub_key represents a public key in any format */ - pubKey: Any; - /** local stores the public information about a locally stored key */ - local?: Record_Local; - /** ledger stores the public information about a Ledger key */ - ledger?: Record_Ledger; - /** Multi does not store any information. */ - multi?: Record_Multi; - /** Offline does not store any information. */ - offline?: Record_Offline; -} -export interface RecordProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Record"; - value: Uint8Array; -} -/** Record is used for representing a key in the keyring. */ -export interface RecordAmino { - /** name represents a name of Record */ - name: string; - /** pub_key represents a public key in any format */ - pub_key?: AnyAmino; - /** local stores the public information about a locally stored key */ - local?: Record_LocalAmino; - /** ledger stores the public information about a Ledger key */ - ledger?: Record_LedgerAmino; - /** Multi does not store any information. */ - multi?: Record_MultiAmino; - /** Offline does not store any information. */ - offline?: Record_OfflineAmino; -} -export interface RecordAminoMsg { - type: "cosmos-sdk/Record"; - value: RecordAmino; -} -/** Record is used for representing a key in the keyring. */ -export interface RecordSDKType { - name: string; - pub_key: AnySDKType; - local?: Record_LocalSDKType; - ledger?: Record_LedgerSDKType; - multi?: Record_MultiSDKType; - offline?: Record_OfflineSDKType; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ -export interface Record_Local { - privKey: Any; - privKeyType: string; -} -export interface Record_LocalProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Local"; - value: Uint8Array; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ -export interface Record_LocalAmino { - priv_key?: AnyAmino; - priv_key_type: string; -} -export interface Record_LocalAminoMsg { - type: "cosmos-sdk/Local"; - value: Record_LocalAmino; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ -export interface Record_LocalSDKType { - priv_key: AnySDKType; - priv_key_type: string; -} -/** Ledger item */ -export interface Record_Ledger { - path: BIP44Params; -} -export interface Record_LedgerProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Ledger"; - value: Uint8Array; -} -/** Ledger item */ -export interface Record_LedgerAmino { - path?: BIP44ParamsAmino; -} -export interface Record_LedgerAminoMsg { - type: "cosmos-sdk/Ledger"; - value: Record_LedgerAmino; -} -/** Ledger item */ -export interface Record_LedgerSDKType { - path: BIP44ParamsSDKType; -} -/** Multi item */ -export interface Record_Multi {} -export interface Record_MultiProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Multi"; - value: Uint8Array; -} -/** Multi item */ -export interface Record_MultiAmino {} -export interface Record_MultiAminoMsg { - type: "cosmos-sdk/Multi"; - value: Record_MultiAmino; -} -/** Multi item */ -export interface Record_MultiSDKType {} -/** Offline item */ -export interface Record_Offline {} -export interface Record_OfflineProtoMsg { - typeUrl: "/cosmos.crypto.keyring.v1.Offline"; - value: Uint8Array; -} -/** Offline item */ -export interface Record_OfflineAmino {} -export interface Record_OfflineAminoMsg { - type: "cosmos-sdk/Offline"; - value: Record_OfflineAmino; -} -/** Offline item */ -export interface Record_OfflineSDKType {} -function createBaseRecord(): Record { - return { - name: "", - pubKey: Any.fromPartial({}), - local: undefined, - ledger: undefined, - multi: undefined, - offline: undefined - }; -} -export const Record = { - typeUrl: "/cosmos.crypto.keyring.v1.Record", - aminoType: "cosmos-sdk/Record", - encode(message: Record, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.pubKey !== undefined) { - Any.encode(message.pubKey, writer.uint32(18).fork()).ldelim(); - } - if (message.local !== undefined) { - Record_Local.encode(message.local, writer.uint32(26).fork()).ldelim(); - } - if (message.ledger !== undefined) { - Record_Ledger.encode(message.ledger, writer.uint32(34).fork()).ldelim(); - } - if (message.multi !== undefined) { - Record_Multi.encode(message.multi, writer.uint32(42).fork()).ldelim(); - } - if (message.offline !== undefined) { - Record_Offline.encode(message.offline, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Record { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRecord(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.pubKey = Any.decode(reader, reader.uint32()); - break; - case 3: - message.local = Record_Local.decode(reader, reader.uint32()); - break; - case 4: - message.ledger = Record_Ledger.decode(reader, reader.uint32()); - break; - case 5: - message.multi = Record_Multi.decode(reader, reader.uint32()); - break; - case 6: - message.offline = Record_Offline.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Record { - const obj = createBaseRecord(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.pubKey)) obj.pubKey = Any.fromJSON(object.pubKey); - if (isSet(object.local)) obj.local = Record_Local.fromJSON(object.local); - if (isSet(object.ledger)) obj.ledger = Record_Ledger.fromJSON(object.ledger); - if (isSet(object.multi)) obj.multi = Record_Multi.fromJSON(object.multi); - if (isSet(object.offline)) obj.offline = Record_Offline.fromJSON(object.offline); - return obj; - }, - toJSON(message: Record): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.pubKey !== undefined && (obj.pubKey = message.pubKey ? Any.toJSON(message.pubKey) : undefined); - message.local !== undefined && (obj.local = message.local ? Record_Local.toJSON(message.local) : undefined); - message.ledger !== undefined && (obj.ledger = message.ledger ? Record_Ledger.toJSON(message.ledger) : undefined); - message.multi !== undefined && (obj.multi = message.multi ? Record_Multi.toJSON(message.multi) : undefined); - message.offline !== undefined && (obj.offline = message.offline ? Record_Offline.toJSON(message.offline) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Record { - const message = createBaseRecord(); - message.name = object.name ?? ""; - if (object.pubKey !== undefined && object.pubKey !== null) { - message.pubKey = Any.fromPartial(object.pubKey); - } - if (object.local !== undefined && object.local !== null) { - message.local = Record_Local.fromPartial(object.local); - } - if (object.ledger !== undefined && object.ledger !== null) { - message.ledger = Record_Ledger.fromPartial(object.ledger); - } - if (object.multi !== undefined && object.multi !== null) { - message.multi = Record_Multi.fromPartial(object.multi); - } - if (object.offline !== undefined && object.offline !== null) { - message.offline = Record_Offline.fromPartial(object.offline); - } - return message; - }, - fromSDK(object: RecordSDKType): Record { - return { - name: object?.name, - pubKey: object.pub_key ? Any.fromSDK(object.pub_key) : undefined, - local: object.local ? Record_Local.fromSDK(object.local) : undefined, - ledger: object.ledger ? Record_Ledger.fromSDK(object.ledger) : undefined, - multi: object.multi ? Record_Multi.fromSDK(object.multi) : undefined, - offline: object.offline ? Record_Offline.fromSDK(object.offline) : undefined - }; - }, - toSDK(message: Record): RecordSDKType { - const obj: any = {}; - obj.name = message.name; - message.pubKey !== undefined && (obj.pub_key = message.pubKey ? Any.toSDK(message.pubKey) : undefined); - message.local !== undefined && (obj.local = message.local ? Record_Local.toSDK(message.local) : undefined); - message.ledger !== undefined && (obj.ledger = message.ledger ? Record_Ledger.toSDK(message.ledger) : undefined); - message.multi !== undefined && (obj.multi = message.multi ? Record_Multi.toSDK(message.multi) : undefined); - message.offline !== undefined && (obj.offline = message.offline ? Record_Offline.toSDK(message.offline) : undefined); - return obj; - }, - fromAmino(object: RecordAmino): Record { - return { - name: object.name, - pubKey: object?.pub_key ? Any.fromAmino(object.pub_key) : undefined, - local: object?.local ? Record_Local.fromAmino(object.local) : undefined, - ledger: object?.ledger ? Record_Ledger.fromAmino(object.ledger) : undefined, - multi: object?.multi ? Record_Multi.fromAmino(object.multi) : undefined, - offline: object?.offline ? Record_Offline.fromAmino(object.offline) : undefined - }; - }, - toAmino(message: Record): RecordAmino { - const obj: any = {}; - obj.name = message.name; - obj.pub_key = message.pubKey ? Any.toAmino(message.pubKey) : undefined; - obj.local = message.local ? Record_Local.toAmino(message.local) : undefined; - obj.ledger = message.ledger ? Record_Ledger.toAmino(message.ledger) : undefined; - obj.multi = message.multi ? Record_Multi.toAmino(message.multi) : undefined; - obj.offline = message.offline ? Record_Offline.toAmino(message.offline) : undefined; - return obj; - }, - fromAminoMsg(object: RecordAminoMsg): Record { - return Record.fromAmino(object.value); - }, - toAminoMsg(message: Record): RecordAminoMsg { - return { - type: "cosmos-sdk/Record", - value: Record.toAmino(message) - }; - }, - fromProtoMsg(message: RecordProtoMsg): Record { - return Record.decode(message.value); - }, - toProto(message: Record): Uint8Array { - return Record.encode(message).finish(); - }, - toProtoMsg(message: Record): RecordProtoMsg { - return { - typeUrl: "/cosmos.crypto.keyring.v1.Record", - value: Record.encode(message).finish() - }; - } -}; -function createBaseRecord_Local(): Record_Local { - return { - privKey: Any.fromPartial({}), - privKeyType: "" - }; -} -export const Record_Local = { - typeUrl: "/cosmos.crypto.keyring.v1.Local", - aminoType: "cosmos-sdk/Local", - encode(message: Record_Local, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.privKey !== undefined) { - Any.encode(message.privKey, writer.uint32(10).fork()).ldelim(); - } - if (message.privKeyType !== "") { - writer.uint32(18).string(message.privKeyType); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Local { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRecord_Local(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.privKey = Any.decode(reader, reader.uint32()); - break; - case 2: - message.privKeyType = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Record_Local { - const obj = createBaseRecord_Local(); - if (isSet(object.privKey)) obj.privKey = Any.fromJSON(object.privKey); - if (isSet(object.privKeyType)) obj.privKeyType = String(object.privKeyType); - return obj; - }, - toJSON(message: Record_Local): unknown { - const obj: any = {}; - message.privKey !== undefined && (obj.privKey = message.privKey ? Any.toJSON(message.privKey) : undefined); - message.privKeyType !== undefined && (obj.privKeyType = message.privKeyType); - return obj; - }, - fromPartial(object: DeepPartial): Record_Local { - const message = createBaseRecord_Local(); - if (object.privKey !== undefined && object.privKey !== null) { - message.privKey = Any.fromPartial(object.privKey); - } - message.privKeyType = object.privKeyType ?? ""; - return message; - }, - fromSDK(object: Record_LocalSDKType): Record_Local { - return { - privKey: object.priv_key ? Any.fromSDK(object.priv_key) : undefined, - privKeyType: object?.priv_key_type - }; - }, - toSDK(message: Record_Local): Record_LocalSDKType { - const obj: any = {}; - message.privKey !== undefined && (obj.priv_key = message.privKey ? Any.toSDK(message.privKey) : undefined); - obj.priv_key_type = message.privKeyType; - return obj; - }, - fromAmino(object: Record_LocalAmino): Record_Local { - return { - privKey: object?.priv_key ? Any.fromAmino(object.priv_key) : undefined, - privKeyType: object.priv_key_type - }; - }, - toAmino(message: Record_Local): Record_LocalAmino { - const obj: any = {}; - obj.priv_key = message.privKey ? Any.toAmino(message.privKey) : undefined; - obj.priv_key_type = message.privKeyType; - return obj; - }, - fromAminoMsg(object: Record_LocalAminoMsg): Record_Local { - return Record_Local.fromAmino(object.value); - }, - toAminoMsg(message: Record_Local): Record_LocalAminoMsg { - return { - type: "cosmos-sdk/Local", - value: Record_Local.toAmino(message) - }; - }, - fromProtoMsg(message: Record_LocalProtoMsg): Record_Local { - return Record_Local.decode(message.value); - }, - toProto(message: Record_Local): Uint8Array { - return Record_Local.encode(message).finish(); - }, - toProtoMsg(message: Record_Local): Record_LocalProtoMsg { - return { - typeUrl: "/cosmos.crypto.keyring.v1.Local", - value: Record_Local.encode(message).finish() - }; - } -}; -function createBaseRecord_Ledger(): Record_Ledger { - return { - path: BIP44Params.fromPartial({}) - }; -} -export const Record_Ledger = { - typeUrl: "/cosmos.crypto.keyring.v1.Ledger", - aminoType: "cosmos-sdk/Ledger", - encode(message: Record_Ledger, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.path !== undefined) { - BIP44Params.encode(message.path, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Ledger { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRecord_Ledger(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.path = BIP44Params.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Record_Ledger { - const obj = createBaseRecord_Ledger(); - if (isSet(object.path)) obj.path = BIP44Params.fromJSON(object.path); - return obj; - }, - toJSON(message: Record_Ledger): unknown { - const obj: any = {}; - message.path !== undefined && (obj.path = message.path ? BIP44Params.toJSON(message.path) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Record_Ledger { - const message = createBaseRecord_Ledger(); - if (object.path !== undefined && object.path !== null) { - message.path = BIP44Params.fromPartial(object.path); - } - return message; - }, - fromSDK(object: Record_LedgerSDKType): Record_Ledger { - return { - path: object.path ? BIP44Params.fromSDK(object.path) : undefined - }; - }, - toSDK(message: Record_Ledger): Record_LedgerSDKType { - const obj: any = {}; - message.path !== undefined && (obj.path = message.path ? BIP44Params.toSDK(message.path) : undefined); - return obj; - }, - fromAmino(object: Record_LedgerAmino): Record_Ledger { - return { - path: object?.path ? BIP44Params.fromAmino(object.path) : undefined - }; - }, - toAmino(message: Record_Ledger): Record_LedgerAmino { - const obj: any = {}; - obj.path = message.path ? BIP44Params.toAmino(message.path) : undefined; - return obj; - }, - fromAminoMsg(object: Record_LedgerAminoMsg): Record_Ledger { - return Record_Ledger.fromAmino(object.value); - }, - toAminoMsg(message: Record_Ledger): Record_LedgerAminoMsg { - return { - type: "cosmos-sdk/Ledger", - value: Record_Ledger.toAmino(message) - }; - }, - fromProtoMsg(message: Record_LedgerProtoMsg): Record_Ledger { - return Record_Ledger.decode(message.value); - }, - toProto(message: Record_Ledger): Uint8Array { - return Record_Ledger.encode(message).finish(); - }, - toProtoMsg(message: Record_Ledger): Record_LedgerProtoMsg { - return { - typeUrl: "/cosmos.crypto.keyring.v1.Ledger", - value: Record_Ledger.encode(message).finish() - }; - } -}; -function createBaseRecord_Multi(): Record_Multi { - return {}; -} -export const Record_Multi = { - typeUrl: "/cosmos.crypto.keyring.v1.Multi", - aminoType: "cosmos-sdk/Multi", - encode(_: Record_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Multi { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRecord_Multi(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): Record_Multi { - const obj = createBaseRecord_Multi(); - return obj; - }, - toJSON(_: Record_Multi): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): Record_Multi { - const message = createBaseRecord_Multi(); - return message; - }, - fromSDK(_: Record_MultiSDKType): Record_Multi { - return {}; - }, - toSDK(_: Record_Multi): Record_MultiSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: Record_MultiAmino): Record_Multi { - return {}; - }, - toAmino(_: Record_Multi): Record_MultiAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: Record_MultiAminoMsg): Record_Multi { - return Record_Multi.fromAmino(object.value); - }, - toAminoMsg(message: Record_Multi): Record_MultiAminoMsg { - return { - type: "cosmos-sdk/Multi", - value: Record_Multi.toAmino(message) - }; - }, - fromProtoMsg(message: Record_MultiProtoMsg): Record_Multi { - return Record_Multi.decode(message.value); - }, - toProto(message: Record_Multi): Uint8Array { - return Record_Multi.encode(message).finish(); - }, - toProtoMsg(message: Record_Multi): Record_MultiProtoMsg { - return { - typeUrl: "/cosmos.crypto.keyring.v1.Multi", - value: Record_Multi.encode(message).finish() - }; - } -}; -function createBaseRecord_Offline(): Record_Offline { - return {}; -} -export const Record_Offline = { - typeUrl: "/cosmos.crypto.keyring.v1.Offline", - aminoType: "cosmos-sdk/Offline", - encode(_: Record_Offline, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Offline { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRecord_Offline(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): Record_Offline { - const obj = createBaseRecord_Offline(); - return obj; - }, - toJSON(_: Record_Offline): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): Record_Offline { - const message = createBaseRecord_Offline(); - return message; - }, - fromSDK(_: Record_OfflineSDKType): Record_Offline { - return {}; - }, - toSDK(_: Record_Offline): Record_OfflineSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: Record_OfflineAmino): Record_Offline { - return {}; - }, - toAmino(_: Record_Offline): Record_OfflineAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: Record_OfflineAminoMsg): Record_Offline { - return Record_Offline.fromAmino(object.value); - }, - toAminoMsg(message: Record_Offline): Record_OfflineAminoMsg { - return { - type: "cosmos-sdk/Offline", - value: Record_Offline.toAmino(message) - }; - }, - fromProtoMsg(message: Record_OfflineProtoMsg): Record_Offline { - return Record_Offline.decode(message.value); - }, - toProto(message: Record_Offline): Uint8Array { - return Record_Offline.encode(message).finish(); - }, - toProtoMsg(message: Record_Offline): Record_OfflineProtoMsg { - return { - typeUrl: "/cosmos.crypto.keyring.v1.Offline", - value: Record_Offline.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crypto/multisig/keys.ts b/quicksilverjs/src/codegen/cosmos/crypto/multisig/keys.ts deleted file mode 100644 index 46691afb7..000000000 --- a/quicksilverjs/src/codegen/cosmos/crypto/multisig/keys.ts +++ /dev/null @@ -1,153 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.crypto.multisig"; -/** - * LegacyAminoPubKey specifies a public key type - * which nests multiple public keys and a threshold, - * it uses legacy amino address rules. - */ -export interface LegacyAminoPubKey { - threshold: number; - publicKeys: Any[]; -} -export interface LegacyAminoPubKeyProtoMsg { - typeUrl: "/cosmos.crypto.multisig.LegacyAminoPubKey"; - value: Uint8Array; -} -/** - * LegacyAminoPubKey specifies a public key type - * which nests multiple public keys and a threshold, - * it uses legacy amino address rules. - */ -export interface LegacyAminoPubKeyAmino { - threshold: number; - public_keys: AnyAmino[]; -} -export interface LegacyAminoPubKeyAminoMsg { - type: "cosmos-sdk/LegacyAminoPubKey"; - value: LegacyAminoPubKeyAmino; -} -/** - * LegacyAminoPubKey specifies a public key type - * which nests multiple public keys and a threshold, - * it uses legacy amino address rules. - */ -export interface LegacyAminoPubKeySDKType { - threshold: number; - public_keys: AnySDKType[]; -} -function createBaseLegacyAminoPubKey(): LegacyAminoPubKey { - return { - threshold: 0, - publicKeys: [] - }; -} -export const LegacyAminoPubKey = { - typeUrl: "/cosmos.crypto.multisig.LegacyAminoPubKey", - aminoType: "cosmos-sdk/LegacyAminoPubKey", - encode(message: LegacyAminoPubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.threshold !== 0) { - writer.uint32(8).uint32(message.threshold); - } - for (const v of message.publicKeys) { - Any.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LegacyAminoPubKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLegacyAminoPubKey(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.threshold = reader.uint32(); - break; - case 2: - message.publicKeys.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LegacyAminoPubKey { - const obj = createBaseLegacyAminoPubKey(); - if (isSet(object.threshold)) obj.threshold = Number(object.threshold); - if (Array.isArray(object?.publicKeys)) obj.publicKeys = object.publicKeys.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: LegacyAminoPubKey): unknown { - const obj: any = {}; - message.threshold !== undefined && (obj.threshold = Math.round(message.threshold)); - if (message.publicKeys) { - obj.publicKeys = message.publicKeys.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.publicKeys = []; - } - return obj; - }, - fromPartial(object: DeepPartial): LegacyAminoPubKey { - const message = createBaseLegacyAminoPubKey(); - message.threshold = object.threshold ?? 0; - message.publicKeys = object.publicKeys?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: LegacyAminoPubKeySDKType): LegacyAminoPubKey { - return { - threshold: object?.threshold, - publicKeys: Array.isArray(object?.public_keys) ? object.public_keys.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: LegacyAminoPubKey): LegacyAminoPubKeySDKType { - const obj: any = {}; - obj.threshold = message.threshold; - if (message.publicKeys) { - obj.public_keys = message.publicKeys.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.public_keys = []; - } - return obj; - }, - fromAmino(object: LegacyAminoPubKeyAmino): LegacyAminoPubKey { - return { - threshold: object.threshold, - publicKeys: Array.isArray(object?.public_keys) ? object.public_keys.map((e: any) => Any.fromAmino(e)) : [] - }; - }, - toAmino(message: LegacyAminoPubKey): LegacyAminoPubKeyAmino { - const obj: any = {}; - obj.threshold = message.threshold; - if (message.publicKeys) { - obj.public_keys = message.publicKeys.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.public_keys = []; - } - return obj; - }, - fromAminoMsg(object: LegacyAminoPubKeyAminoMsg): LegacyAminoPubKey { - return LegacyAminoPubKey.fromAmino(object.value); - }, - toAminoMsg(message: LegacyAminoPubKey): LegacyAminoPubKeyAminoMsg { - return { - type: "cosmos-sdk/LegacyAminoPubKey", - value: LegacyAminoPubKey.toAmino(message) - }; - }, - fromProtoMsg(message: LegacyAminoPubKeyProtoMsg): LegacyAminoPubKey { - return LegacyAminoPubKey.decode(message.value); - }, - toProto(message: LegacyAminoPubKey): Uint8Array { - return LegacyAminoPubKey.encode(message).finish(); - }, - toProtoMsg(message: LegacyAminoPubKey): LegacyAminoPubKeyProtoMsg { - return { - typeUrl: "/cosmos.crypto.multisig.LegacyAminoPubKey", - value: LegacyAminoPubKey.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts b/quicksilverjs/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts deleted file mode 100644 index 1e6c94b44..000000000 --- a/quicksilverjs/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +++ /dev/null @@ -1,275 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { bytesFromBase64, base64FromBytes, DeepPartial, isSet } from "../../../../helpers"; -export const protobufPackage = "cosmos.crypto.multisig.v1beta1"; -/** - * MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. - * See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers - * signed and with which modes. - */ -export interface MultiSignature { - signatures: Uint8Array[]; -} -export interface MultiSignatureProtoMsg { - typeUrl: "/cosmos.crypto.multisig.v1beta1.MultiSignature"; - value: Uint8Array; -} -/** - * MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. - * See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers - * signed and with which modes. - */ -export interface MultiSignatureAmino { - signatures: Uint8Array[]; -} -export interface MultiSignatureAminoMsg { - type: "cosmos-sdk/MultiSignature"; - value: MultiSignatureAmino; -} -/** - * MultiSignature wraps the signatures from a multisig.LegacyAminoPubKey. - * See cosmos.tx.v1betata1.ModeInfo.Multi for how to specify which signers - * signed and with which modes. - */ -export interface MultiSignatureSDKType { - signatures: Uint8Array[]; -} -/** - * CompactBitArray is an implementation of a space efficient bit array. - * This is used to ensure that the encoded data takes up a minimal amount of - * space after proto encoding. - * This is not thread safe, and is not intended for concurrent usage. - */ -export interface CompactBitArray { - extraBitsStored: number; - elems: Uint8Array; -} -export interface CompactBitArrayProtoMsg { - typeUrl: "/cosmos.crypto.multisig.v1beta1.CompactBitArray"; - value: Uint8Array; -} -/** - * CompactBitArray is an implementation of a space efficient bit array. - * This is used to ensure that the encoded data takes up a minimal amount of - * space after proto encoding. - * This is not thread safe, and is not intended for concurrent usage. - */ -export interface CompactBitArrayAmino { - extra_bits_stored: number; - elems: Uint8Array; -} -export interface CompactBitArrayAminoMsg { - type: "cosmos-sdk/CompactBitArray"; - value: CompactBitArrayAmino; -} -/** - * CompactBitArray is an implementation of a space efficient bit array. - * This is used to ensure that the encoded data takes up a minimal amount of - * space after proto encoding. - * This is not thread safe, and is not intended for concurrent usage. - */ -export interface CompactBitArraySDKType { - extra_bits_stored: number; - elems: Uint8Array; -} -function createBaseMultiSignature(): MultiSignature { - return { - signatures: [] - }; -} -export const MultiSignature = { - typeUrl: "/cosmos.crypto.multisig.v1beta1.MultiSignature", - aminoType: "cosmos-sdk/MultiSignature", - encode(message: MultiSignature, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.signatures) { - writer.uint32(10).bytes(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MultiSignature { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMultiSignature(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.signatures.push(reader.bytes()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MultiSignature { - const obj = createBaseMultiSignature(); - if (Array.isArray(object?.signatures)) obj.signatures = object.signatures.map((e: any) => bytesFromBase64(e)); - return obj; - }, - toJSON(message: MultiSignature): unknown { - const obj: any = {}; - if (message.signatures) { - obj.signatures = message.signatures.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.signatures = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MultiSignature { - const message = createBaseMultiSignature(); - message.signatures = object.signatures?.map(e => e) || []; - return message; - }, - fromSDK(object: MultiSignatureSDKType): MultiSignature { - return { - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => e) : [] - }; - }, - toSDK(message: MultiSignature): MultiSignatureSDKType { - const obj: any = {}; - if (message.signatures) { - obj.signatures = message.signatures.map(e => e); - } else { - obj.signatures = []; - } - return obj; - }, - fromAmino(object: MultiSignatureAmino): MultiSignature { - return { - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => e) : [] - }; - }, - toAmino(message: MultiSignature): MultiSignatureAmino { - const obj: any = {}; - if (message.signatures) { - obj.signatures = message.signatures.map(e => e); - } else { - obj.signatures = []; - } - return obj; - }, - fromAminoMsg(object: MultiSignatureAminoMsg): MultiSignature { - return MultiSignature.fromAmino(object.value); - }, - toAminoMsg(message: MultiSignature): MultiSignatureAminoMsg { - return { - type: "cosmos-sdk/MultiSignature", - value: MultiSignature.toAmino(message) - }; - }, - fromProtoMsg(message: MultiSignatureProtoMsg): MultiSignature { - return MultiSignature.decode(message.value); - }, - toProto(message: MultiSignature): Uint8Array { - return MultiSignature.encode(message).finish(); - }, - toProtoMsg(message: MultiSignature): MultiSignatureProtoMsg { - return { - typeUrl: "/cosmos.crypto.multisig.v1beta1.MultiSignature", - value: MultiSignature.encode(message).finish() - }; - } -}; -function createBaseCompactBitArray(): CompactBitArray { - return { - extraBitsStored: 0, - elems: new Uint8Array() - }; -} -export const CompactBitArray = { - typeUrl: "/cosmos.crypto.multisig.v1beta1.CompactBitArray", - aminoType: "cosmos-sdk/CompactBitArray", - encode(message: CompactBitArray, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.extraBitsStored !== 0) { - writer.uint32(8).uint32(message.extraBitsStored); - } - if (message.elems.length !== 0) { - writer.uint32(18).bytes(message.elems); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CompactBitArray { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCompactBitArray(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.extraBitsStored = reader.uint32(); - break; - case 2: - message.elems = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CompactBitArray { - const obj = createBaseCompactBitArray(); - if (isSet(object.extraBitsStored)) obj.extraBitsStored = Number(object.extraBitsStored); - if (isSet(object.elems)) obj.elems = bytesFromBase64(object.elems); - return obj; - }, - toJSON(message: CompactBitArray): unknown { - const obj: any = {}; - message.extraBitsStored !== undefined && (obj.extraBitsStored = Math.round(message.extraBitsStored)); - message.elems !== undefined && (obj.elems = base64FromBytes(message.elems !== undefined ? message.elems : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): CompactBitArray { - const message = createBaseCompactBitArray(); - message.extraBitsStored = object.extraBitsStored ?? 0; - message.elems = object.elems ?? new Uint8Array(); - return message; - }, - fromSDK(object: CompactBitArraySDKType): CompactBitArray { - return { - extraBitsStored: object?.extra_bits_stored, - elems: object?.elems - }; - }, - toSDK(message: CompactBitArray): CompactBitArraySDKType { - const obj: any = {}; - obj.extra_bits_stored = message.extraBitsStored; - obj.elems = message.elems; - return obj; - }, - fromAmino(object: CompactBitArrayAmino): CompactBitArray { - return { - extraBitsStored: object.extra_bits_stored, - elems: object.elems - }; - }, - toAmino(message: CompactBitArray): CompactBitArrayAmino { - const obj: any = {}; - obj.extra_bits_stored = message.extraBitsStored; - obj.elems = message.elems; - return obj; - }, - fromAminoMsg(object: CompactBitArrayAminoMsg): CompactBitArray { - return CompactBitArray.fromAmino(object.value); - }, - toAminoMsg(message: CompactBitArray): CompactBitArrayAminoMsg { - return { - type: "cosmos-sdk/CompactBitArray", - value: CompactBitArray.toAmino(message) - }; - }, - fromProtoMsg(message: CompactBitArrayProtoMsg): CompactBitArray { - return CompactBitArray.decode(message.value); - }, - toProto(message: CompactBitArray): Uint8Array { - return CompactBitArray.encode(message).finish(); - }, - toProtoMsg(message: CompactBitArray): CompactBitArrayProtoMsg { - return { - typeUrl: "/cosmos.crypto.multisig.v1beta1.CompactBitArray", - value: CompactBitArray.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crypto/secp256k1/keys.ts b/quicksilverjs/src/codegen/cosmos/crypto/secp256k1/keys.ts deleted file mode 100644 index af48af9fb..000000000 --- a/quicksilverjs/src/codegen/cosmos/crypto/secp256k1/keys.ts +++ /dev/null @@ -1,237 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.crypto.secp256k1"; -/** - * PubKey defines a secp256k1 public key - * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte - * if the y-coordinate is the lexicographically largest of the two associated with - * the x-coordinate. Otherwise the first byte is a 0x03. - * This prefix is followed with the x-coordinate. - */ -export interface PubKey { - key: Uint8Array; -} -export interface PubKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256k1.PubKey"; - value: Uint8Array; -} -/** - * PubKey defines a secp256k1 public key - * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte - * if the y-coordinate is the lexicographically largest of the two associated with - * the x-coordinate. Otherwise the first byte is a 0x03. - * This prefix is followed with the x-coordinate. - */ -export interface PubKeyAmino { - key: Uint8Array; -} -export interface PubKeyAminoMsg { - type: "cosmos-sdk/PubKey"; - value: PubKeyAmino; -} -/** - * PubKey defines a secp256k1 public key - * Key is the compressed form of the pubkey. The first byte depends is a 0x02 byte - * if the y-coordinate is the lexicographically largest of the two associated with - * the x-coordinate. Otherwise the first byte is a 0x03. - * This prefix is followed with the x-coordinate. - */ -export interface PubKeySDKType { - key: Uint8Array; -} -/** PrivKey defines a secp256k1 private key. */ -export interface PrivKey { - key: Uint8Array; -} -export interface PrivKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256k1.PrivKey"; - value: Uint8Array; -} -/** PrivKey defines a secp256k1 private key. */ -export interface PrivKeyAmino { - key: Uint8Array; -} -export interface PrivKeyAminoMsg { - type: "cosmos-sdk/PrivKey"; - value: PrivKeyAmino; -} -/** PrivKey defines a secp256k1 private key. */ -export interface PrivKeySDKType { - key: Uint8Array; -} -function createBasePubKey(): PubKey { - return { - key: new Uint8Array() - }; -} -export const PubKey = { - typeUrl: "/cosmos.crypto.secp256k1.PubKey", - aminoType: "cosmos-sdk/PubKey", - encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePubKey(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PubKey { - const obj = createBasePubKey(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - return obj; - }, - toJSON(message: PubKey): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): PubKey { - const message = createBasePubKey(); - message.key = object.key ?? new Uint8Array(); - return message; - }, - fromSDK(object: PubKeySDKType): PubKey { - return { - key: object?.key - }; - }, - toSDK(message: PubKey): PubKeySDKType { - const obj: any = {}; - obj.key = message.key; - return obj; - }, - fromAmino(object: PubKeyAmino): PubKey { - return { - key: object.key - }; - }, - toAmino(message: PubKey): PubKeyAmino { - const obj: any = {}; - obj.key = message.key; - return obj; - }, - fromAminoMsg(object: PubKeyAminoMsg): PubKey { - return PubKey.fromAmino(object.value); - }, - toAminoMsg(message: PubKey): PubKeyAminoMsg { - return { - type: "cosmos-sdk/PubKey", - value: PubKey.toAmino(message) - }; - }, - fromProtoMsg(message: PubKeyProtoMsg): PubKey { - return PubKey.decode(message.value); - }, - toProto(message: PubKey): Uint8Array { - return PubKey.encode(message).finish(); - }, - toProtoMsg(message: PubKey): PubKeyProtoMsg { - return { - typeUrl: "/cosmos.crypto.secp256k1.PubKey", - value: PubKey.encode(message).finish() - }; - } -}; -function createBasePrivKey(): PrivKey { - return { - key: new Uint8Array() - }; -} -export const PrivKey = { - typeUrl: "/cosmos.crypto.secp256k1.PrivKey", - aminoType: "cosmos-sdk/PrivKey", - encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePrivKey(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PrivKey { - const obj = createBasePrivKey(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - return obj; - }, - toJSON(message: PrivKey): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): PrivKey { - const message = createBasePrivKey(); - message.key = object.key ?? new Uint8Array(); - return message; - }, - fromSDK(object: PrivKeySDKType): PrivKey { - return { - key: object?.key - }; - }, - toSDK(message: PrivKey): PrivKeySDKType { - const obj: any = {}; - obj.key = message.key; - return obj; - }, - fromAmino(object: PrivKeyAmino): PrivKey { - return { - key: object.key - }; - }, - toAmino(message: PrivKey): PrivKeyAmino { - const obj: any = {}; - obj.key = message.key; - return obj; - }, - fromAminoMsg(object: PrivKeyAminoMsg): PrivKey { - return PrivKey.fromAmino(object.value); - }, - toAminoMsg(message: PrivKey): PrivKeyAminoMsg { - return { - type: "cosmos-sdk/PrivKey", - value: PrivKey.toAmino(message) - }; - }, - fromProtoMsg(message: PrivKeyProtoMsg): PrivKey { - return PrivKey.decode(message.value); - }, - toProto(message: PrivKey): Uint8Array { - return PrivKey.encode(message).finish(); - }, - toProtoMsg(message: PrivKey): PrivKeyProtoMsg { - return { - typeUrl: "/cosmos.crypto.secp256k1.PrivKey", - value: PrivKey.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/crypto/secp256r1/keys.ts b/quicksilverjs/src/codegen/cosmos/crypto/secp256r1/keys.ts deleted file mode 100644 index 43333453d..000000000 --- a/quicksilverjs/src/codegen/cosmos/crypto/secp256r1/keys.ts +++ /dev/null @@ -1,229 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.crypto.secp256r1"; -/** PubKey defines a secp256r1 ECDSA public key. */ -export interface PubKey { - /** - * Point on secp256r1 curve in a compressed representation as specified in section - * 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998 - */ - key: Uint8Array; -} -export interface PubKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256r1.PubKey"; - value: Uint8Array; -} -/** PubKey defines a secp256r1 ECDSA public key. */ -export interface PubKeyAmino { - /** - * Point on secp256r1 curve in a compressed representation as specified in section - * 4.3.6 of ANSI X9.62: https://webstore.ansi.org/standards/ascx9/ansix9621998 - */ - key: Uint8Array; -} -export interface PubKeyAminoMsg { - type: "cosmos-sdk/PubKey"; - value: PubKeyAmino; -} -/** PubKey defines a secp256r1 ECDSA public key. */ -export interface PubKeySDKType { - key: Uint8Array; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ -export interface PrivKey { - /** secret number serialized using big-endian encoding */ - secret: Uint8Array; -} -export interface PrivKeyProtoMsg { - typeUrl: "/cosmos.crypto.secp256r1.PrivKey"; - value: Uint8Array; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ -export interface PrivKeyAmino { - /** secret number serialized using big-endian encoding */ - secret: Uint8Array; -} -export interface PrivKeyAminoMsg { - type: "cosmos-sdk/PrivKey"; - value: PrivKeyAmino; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ -export interface PrivKeySDKType { - secret: Uint8Array; -} -function createBasePubKey(): PubKey { - return { - key: new Uint8Array() - }; -} -export const PubKey = { - typeUrl: "/cosmos.crypto.secp256r1.PubKey", - aminoType: "cosmos-sdk/PubKey", - encode(message: PubKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePubKey(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PubKey { - const obj = createBasePubKey(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - return obj; - }, - toJSON(message: PubKey): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): PubKey { - const message = createBasePubKey(); - message.key = object.key ?? new Uint8Array(); - return message; - }, - fromSDK(object: PubKeySDKType): PubKey { - return { - key: object?.key - }; - }, - toSDK(message: PubKey): PubKeySDKType { - const obj: any = {}; - obj.key = message.key; - return obj; - }, - fromAmino(object: PubKeyAmino): PubKey { - return { - key: object.key - }; - }, - toAmino(message: PubKey): PubKeyAmino { - const obj: any = {}; - obj.key = message.key; - return obj; - }, - fromAminoMsg(object: PubKeyAminoMsg): PubKey { - return PubKey.fromAmino(object.value); - }, - toAminoMsg(message: PubKey): PubKeyAminoMsg { - return { - type: "cosmos-sdk/PubKey", - value: PubKey.toAmino(message) - }; - }, - fromProtoMsg(message: PubKeyProtoMsg): PubKey { - return PubKey.decode(message.value); - }, - toProto(message: PubKey): Uint8Array { - return PubKey.encode(message).finish(); - }, - toProtoMsg(message: PubKey): PubKeyProtoMsg { - return { - typeUrl: "/cosmos.crypto.secp256r1.PubKey", - value: PubKey.encode(message).finish() - }; - } -}; -function createBasePrivKey(): PrivKey { - return { - secret: new Uint8Array() - }; -} -export const PrivKey = { - typeUrl: "/cosmos.crypto.secp256r1.PrivKey", - aminoType: "cosmos-sdk/PrivKey", - encode(message: PrivKey, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.secret.length !== 0) { - writer.uint32(10).bytes(message.secret); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePrivKey(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.secret = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PrivKey { - const obj = createBasePrivKey(); - if (isSet(object.secret)) obj.secret = bytesFromBase64(object.secret); - return obj; - }, - toJSON(message: PrivKey): unknown { - const obj: any = {}; - message.secret !== undefined && (obj.secret = base64FromBytes(message.secret !== undefined ? message.secret : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): PrivKey { - const message = createBasePrivKey(); - message.secret = object.secret ?? new Uint8Array(); - return message; - }, - fromSDK(object: PrivKeySDKType): PrivKey { - return { - secret: object?.secret - }; - }, - toSDK(message: PrivKey): PrivKeySDKType { - const obj: any = {}; - obj.secret = message.secret; - return obj; - }, - fromAmino(object: PrivKeyAmino): PrivKey { - return { - secret: object.secret - }; - }, - toAmino(message: PrivKey): PrivKeyAmino { - const obj: any = {}; - obj.secret = message.secret; - return obj; - }, - fromAminoMsg(object: PrivKeyAminoMsg): PrivKey { - return PrivKey.fromAmino(object.value); - }, - toAminoMsg(message: PrivKey): PrivKeyAminoMsg { - return { - type: "cosmos-sdk/PrivKey", - value: PrivKey.toAmino(message) - }; - }, - fromProtoMsg(message: PrivKeyProtoMsg): PrivKey { - return PrivKey.decode(message.value); - }, - toProto(message: PrivKey): Uint8Array { - return PrivKey.encode(message).finish(); - }, - toProtoMsg(message: PrivKey): PrivKeyProtoMsg { - return { - typeUrl: "/cosmos.crypto.secp256r1.PrivKey", - value: PrivKey.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/distribution.ts b/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/distribution.ts deleted file mode 100644 index e367ed858..000000000 --- a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/distribution.ts +++ /dev/null @@ -1,1811 +0,0 @@ -import { DecCoin, DecCoinAmino, DecCoinSDKType, Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.distribution.v1beta1"; -/** Params defines the set of params for the distribution module. */ -export interface Params { - communityTax: string; - baseProposerReward: string; - bonusProposerReward: string; - withdrawAddrEnabled: boolean; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the set of params for the distribution module. */ -export interface ParamsAmino { - community_tax: string; - base_proposer_reward: string; - bonus_proposer_reward: string; - withdraw_addr_enabled: boolean; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the set of params for the distribution module. */ -export interface ParamsSDKType { - community_tax: string; - base_proposer_reward: string; - bonus_proposer_reward: string; - withdraw_addr_enabled: boolean; -} -/** - * ValidatorHistoricalRewards represents historical rewards for a validator. - * Height is implicit within the store key. - * Cumulative reward ratio is the sum from the zeroeth period - * until this period of rewards / tokens, per the spec. - * The reference count indicates the number of objects - * which might need to reference this historical entry at any point. - * ReferenceCount = - * number of outstanding delegations which ended the associated period (and - * might need to read that record) - * + number of slashes which ended the associated period (and might need to - * read that record) - * + one per validator for the zeroeth period, set on initialization - */ -export interface ValidatorHistoricalRewards { - cumulativeRewardRatio: DecCoin[]; - referenceCount: number; -} -export interface ValidatorHistoricalRewardsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards"; - value: Uint8Array; -} -/** - * ValidatorHistoricalRewards represents historical rewards for a validator. - * Height is implicit within the store key. - * Cumulative reward ratio is the sum from the zeroeth period - * until this period of rewards / tokens, per the spec. - * The reference count indicates the number of objects - * which might need to reference this historical entry at any point. - * ReferenceCount = - * number of outstanding delegations which ended the associated period (and - * might need to read that record) - * + number of slashes which ended the associated period (and might need to - * read that record) - * + one per validator for the zeroeth period, set on initialization - */ -export interface ValidatorHistoricalRewardsAmino { - cumulative_reward_ratio: DecCoinAmino[]; - reference_count: number; -} -export interface ValidatorHistoricalRewardsAminoMsg { - type: "cosmos-sdk/ValidatorHistoricalRewards"; - value: ValidatorHistoricalRewardsAmino; -} -/** - * ValidatorHistoricalRewards represents historical rewards for a validator. - * Height is implicit within the store key. - * Cumulative reward ratio is the sum from the zeroeth period - * until this period of rewards / tokens, per the spec. - * The reference count indicates the number of objects - * which might need to reference this historical entry at any point. - * ReferenceCount = - * number of outstanding delegations which ended the associated period (and - * might need to read that record) - * + number of slashes which ended the associated period (and might need to - * read that record) - * + one per validator for the zeroeth period, set on initialization - */ -export interface ValidatorHistoricalRewardsSDKType { - cumulative_reward_ratio: DecCoinSDKType[]; - reference_count: number; -} -/** - * ValidatorCurrentRewards represents current rewards and current - * period for a validator kept as a running counter and incremented - * each block as long as the validator's tokens remain constant. - */ -export interface ValidatorCurrentRewards { - rewards: DecCoin[]; - period: Long; -} -export interface ValidatorCurrentRewardsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards"; - value: Uint8Array; -} -/** - * ValidatorCurrentRewards represents current rewards and current - * period for a validator kept as a running counter and incremented - * each block as long as the validator's tokens remain constant. - */ -export interface ValidatorCurrentRewardsAmino { - rewards: DecCoinAmino[]; - period: string; -} -export interface ValidatorCurrentRewardsAminoMsg { - type: "cosmos-sdk/ValidatorCurrentRewards"; - value: ValidatorCurrentRewardsAmino; -} -/** - * ValidatorCurrentRewards represents current rewards and current - * period for a validator kept as a running counter and incremented - * each block as long as the validator's tokens remain constant. - */ -export interface ValidatorCurrentRewardsSDKType { - rewards: DecCoinSDKType[]; - period: Long; -} -/** - * ValidatorAccumulatedCommission represents accumulated commission - * for a validator kept as a running counter, can be withdrawn at any time. - */ -export interface ValidatorAccumulatedCommission { - commission: DecCoin[]; -} -export interface ValidatorAccumulatedCommissionProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission"; - value: Uint8Array; -} -/** - * ValidatorAccumulatedCommission represents accumulated commission - * for a validator kept as a running counter, can be withdrawn at any time. - */ -export interface ValidatorAccumulatedCommissionAmino { - commission: DecCoinAmino[]; -} -export interface ValidatorAccumulatedCommissionAminoMsg { - type: "cosmos-sdk/ValidatorAccumulatedCommission"; - value: ValidatorAccumulatedCommissionAmino; -} -/** - * ValidatorAccumulatedCommission represents accumulated commission - * for a validator kept as a running counter, can be withdrawn at any time. - */ -export interface ValidatorAccumulatedCommissionSDKType { - commission: DecCoinSDKType[]; -} -/** - * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards - * for a validator inexpensive to track, allows simple sanity checks. - */ -export interface ValidatorOutstandingRewards { - rewards: DecCoin[]; -} -export interface ValidatorOutstandingRewardsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards"; - value: Uint8Array; -} -/** - * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards - * for a validator inexpensive to track, allows simple sanity checks. - */ -export interface ValidatorOutstandingRewardsAmino { - rewards: DecCoinAmino[]; -} -export interface ValidatorOutstandingRewardsAminoMsg { - type: "cosmos-sdk/ValidatorOutstandingRewards"; - value: ValidatorOutstandingRewardsAmino; -} -/** - * ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards - * for a validator inexpensive to track, allows simple sanity checks. - */ -export interface ValidatorOutstandingRewardsSDKType { - rewards: DecCoinSDKType[]; -} -/** - * ValidatorSlashEvent represents a validator slash event. - * Height is implicit within the store key. - * This is needed to calculate appropriate amount of staking tokens - * for delegations which are withdrawn after a slash has occurred. - */ -export interface ValidatorSlashEvent { - validatorPeriod: Long; - fraction: string; -} -export interface ValidatorSlashEventProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent"; - value: Uint8Array; -} -/** - * ValidatorSlashEvent represents a validator slash event. - * Height is implicit within the store key. - * This is needed to calculate appropriate amount of staking tokens - * for delegations which are withdrawn after a slash has occurred. - */ -export interface ValidatorSlashEventAmino { - validator_period: string; - fraction: string; -} -export interface ValidatorSlashEventAminoMsg { - type: "cosmos-sdk/ValidatorSlashEvent"; - value: ValidatorSlashEventAmino; -} -/** - * ValidatorSlashEvent represents a validator slash event. - * Height is implicit within the store key. - * This is needed to calculate appropriate amount of staking tokens - * for delegations which are withdrawn after a slash has occurred. - */ -export interface ValidatorSlashEventSDKType { - validator_period: Long; - fraction: string; -} -/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ -export interface ValidatorSlashEvents { - validatorSlashEvents: ValidatorSlashEvent[]; -} -export interface ValidatorSlashEventsProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents"; - value: Uint8Array; -} -/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ -export interface ValidatorSlashEventsAmino { - validator_slash_events: ValidatorSlashEventAmino[]; -} -export interface ValidatorSlashEventsAminoMsg { - type: "cosmos-sdk/ValidatorSlashEvents"; - value: ValidatorSlashEventsAmino; -} -/** ValidatorSlashEvents is a collection of ValidatorSlashEvent messages. */ -export interface ValidatorSlashEventsSDKType { - validator_slash_events: ValidatorSlashEventSDKType[]; -} -/** FeePool is the global fee pool for distribution. */ -export interface FeePool { - communityPool: DecCoin[]; -} -export interface FeePoolProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.FeePool"; - value: Uint8Array; -} -/** FeePool is the global fee pool for distribution. */ -export interface FeePoolAmino { - community_pool: DecCoinAmino[]; -} -export interface FeePoolAminoMsg { - type: "cosmos-sdk/FeePool"; - value: FeePoolAmino; -} -/** FeePool is the global fee pool for distribution. */ -export interface FeePoolSDKType { - community_pool: DecCoinSDKType[]; -} -/** - * CommunityPoolSpendProposal details a proposal for use of community funds, - * together with how many coins are proposed to be spent, and to which - * recipient account. - */ -export interface CommunityPoolSpendProposal { - title: string; - description: string; - recipient: string; - amount: Coin[]; -} -export interface CommunityPoolSpendProposalProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal"; - value: Uint8Array; -} -/** - * CommunityPoolSpendProposal details a proposal for use of community funds, - * together with how many coins are proposed to be spent, and to which - * recipient account. - */ -export interface CommunityPoolSpendProposalAmino { - title: string; - description: string; - recipient: string; - amount: CoinAmino[]; -} -export interface CommunityPoolSpendProposalAminoMsg { - type: "cosmos-sdk/CommunityPoolSpendProposal"; - value: CommunityPoolSpendProposalAmino; -} -/** - * CommunityPoolSpendProposal details a proposal for use of community funds, - * together with how many coins are proposed to be spent, and to which - * recipient account. - */ -export interface CommunityPoolSpendProposalSDKType { - title: string; - description: string; - recipient: string; - amount: CoinSDKType[]; -} -/** - * DelegatorStartingInfo represents the starting info for a delegator reward - * period. It tracks the previous validator period, the delegation's amount of - * staking token, and the creation height (to check later on if any slashes have - * occurred). NOTE: Even though validators are slashed to whole staking tokens, - * the delegators within the validator may be left with less than a full token, - * thus sdk.Dec is used. - */ -export interface DelegatorStartingInfo { - previousPeriod: Long; - stake: string; - height: Long; -} -export interface DelegatorStartingInfoProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo"; - value: Uint8Array; -} -/** - * DelegatorStartingInfo represents the starting info for a delegator reward - * period. It tracks the previous validator period, the delegation's amount of - * staking token, and the creation height (to check later on if any slashes have - * occurred). NOTE: Even though validators are slashed to whole staking tokens, - * the delegators within the validator may be left with less than a full token, - * thus sdk.Dec is used. - */ -export interface DelegatorStartingInfoAmino { - previous_period: string; - stake: string; - height: string; -} -export interface DelegatorStartingInfoAminoMsg { - type: "cosmos-sdk/DelegatorStartingInfo"; - value: DelegatorStartingInfoAmino; -} -/** - * DelegatorStartingInfo represents the starting info for a delegator reward - * period. It tracks the previous validator period, the delegation's amount of - * staking token, and the creation height (to check later on if any slashes have - * occurred). NOTE: Even though validators are slashed to whole staking tokens, - * the delegators within the validator may be left with less than a full token, - * thus sdk.Dec is used. - */ -export interface DelegatorStartingInfoSDKType { - previous_period: Long; - stake: string; - height: Long; -} -/** - * DelegationDelegatorReward represents the properties - * of a delegator's delegation reward. - */ -export interface DelegationDelegatorReward { - validatorAddress: string; - reward: DecCoin[]; -} -export interface DelegationDelegatorRewardProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward"; - value: Uint8Array; -} -/** - * DelegationDelegatorReward represents the properties - * of a delegator's delegation reward. - */ -export interface DelegationDelegatorRewardAmino { - validator_address: string; - reward: DecCoinAmino[]; -} -export interface DelegationDelegatorRewardAminoMsg { - type: "cosmos-sdk/DelegationDelegatorReward"; - value: DelegationDelegatorRewardAmino; -} -/** - * DelegationDelegatorReward represents the properties - * of a delegator's delegation reward. - */ -export interface DelegationDelegatorRewardSDKType { - validator_address: string; - reward: DecCoinSDKType[]; -} -/** - * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal - * with a deposit - */ -export interface CommunityPoolSpendProposalWithDeposit { - title: string; - description: string; - recipient: string; - amount: string; - deposit: string; -} -export interface CommunityPoolSpendProposalWithDepositProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit"; - value: Uint8Array; -} -/** - * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal - * with a deposit - */ -export interface CommunityPoolSpendProposalWithDepositAmino { - title: string; - description: string; - recipient: string; - amount: string; - deposit: string; -} -export interface CommunityPoolSpendProposalWithDepositAminoMsg { - type: "cosmos-sdk/CommunityPoolSpendProposalWithDeposit"; - value: CommunityPoolSpendProposalWithDepositAmino; -} -/** - * CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal - * with a deposit - */ -export interface CommunityPoolSpendProposalWithDepositSDKType { - title: string; - description: string; - recipient: string; - amount: string; - deposit: string; -} -function createBaseParams(): Params { - return { - communityTax: "", - baseProposerReward: "", - bonusProposerReward: "", - withdrawAddrEnabled: false - }; -} -export const Params = { - typeUrl: "/cosmos.distribution.v1beta1.Params", - aminoType: "cosmos-sdk/Params", - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.communityTax !== "") { - writer.uint32(10).string(message.communityTax); - } - if (message.baseProposerReward !== "") { - writer.uint32(18).string(message.baseProposerReward); - } - if (message.bonusProposerReward !== "") { - writer.uint32(26).string(message.bonusProposerReward); - } - if (message.withdrawAddrEnabled === true) { - writer.uint32(32).bool(message.withdrawAddrEnabled); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.communityTax = reader.string(); - break; - case 2: - message.baseProposerReward = reader.string(); - break; - case 3: - message.bonusProposerReward = reader.string(); - break; - case 4: - message.withdrawAddrEnabled = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Params { - const obj = createBaseParams(); - if (isSet(object.communityTax)) obj.communityTax = String(object.communityTax); - if (isSet(object.baseProposerReward)) obj.baseProposerReward = String(object.baseProposerReward); - if (isSet(object.bonusProposerReward)) obj.bonusProposerReward = String(object.bonusProposerReward); - if (isSet(object.withdrawAddrEnabled)) obj.withdrawAddrEnabled = Boolean(object.withdrawAddrEnabled); - return obj; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.communityTax !== undefined && (obj.communityTax = message.communityTax); - message.baseProposerReward !== undefined && (obj.baseProposerReward = message.baseProposerReward); - message.bonusProposerReward !== undefined && (obj.bonusProposerReward = message.bonusProposerReward); - message.withdrawAddrEnabled !== undefined && (obj.withdrawAddrEnabled = message.withdrawAddrEnabled); - return obj; - }, - fromPartial(object: DeepPartial): Params { - const message = createBaseParams(); - message.communityTax = object.communityTax ?? ""; - message.baseProposerReward = object.baseProposerReward ?? ""; - message.bonusProposerReward = object.bonusProposerReward ?? ""; - message.withdrawAddrEnabled = object.withdrawAddrEnabled ?? false; - return message; - }, - fromSDK(object: ParamsSDKType): Params { - return { - communityTax: object?.community_tax, - baseProposerReward: object?.base_proposer_reward, - bonusProposerReward: object?.bonus_proposer_reward, - withdrawAddrEnabled: object?.withdraw_addr_enabled - }; - }, - toSDK(message: Params): ParamsSDKType { - const obj: any = {}; - obj.community_tax = message.communityTax; - obj.base_proposer_reward = message.baseProposerReward; - obj.bonus_proposer_reward = message.bonusProposerReward; - obj.withdraw_addr_enabled = message.withdrawAddrEnabled; - return obj; - }, - fromAmino(object: ParamsAmino): Params { - return { - communityTax: object.community_tax, - baseProposerReward: object.base_proposer_reward, - bonusProposerReward: object.bonus_proposer_reward, - withdrawAddrEnabled: object.withdraw_addr_enabled - }; - }, - toAmino(message: Params): ParamsAmino { - const obj: any = {}; - obj.community_tax = message.communityTax; - obj.base_proposer_reward = message.baseProposerReward; - obj.bonus_proposer_reward = message.bonusProposerReward; - obj.withdraw_addr_enabled = message.withdrawAddrEnabled; - return obj; - }, - fromAminoMsg(object: ParamsAminoMsg): Params { - return Params.fromAmino(object.value); - }, - toAminoMsg(message: Params): ParamsAminoMsg { - return { - type: "cosmos-sdk/Params", - value: Params.toAmino(message) - }; - }, - fromProtoMsg(message: ParamsProtoMsg): Params { - return Params.decode(message.value); - }, - toProto(message: Params): Uint8Array { - return Params.encode(message).finish(); - }, - toProtoMsg(message: Params): ParamsProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.Params", - value: Params.encode(message).finish() - }; - } -}; -function createBaseValidatorHistoricalRewards(): ValidatorHistoricalRewards { - return { - cumulativeRewardRatio: [], - referenceCount: 0 - }; -} -export const ValidatorHistoricalRewards = { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards", - aminoType: "cosmos-sdk/ValidatorHistoricalRewards", - encode(message: ValidatorHistoricalRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.cumulativeRewardRatio) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.referenceCount !== 0) { - writer.uint32(16).uint32(message.referenceCount); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorHistoricalRewards(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.cumulativeRewardRatio.push(DecCoin.decode(reader, reader.uint32())); - break; - case 2: - message.referenceCount = reader.uint32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorHistoricalRewards { - const obj = createBaseValidatorHistoricalRewards(); - if (Array.isArray(object?.cumulativeRewardRatio)) obj.cumulativeRewardRatio = object.cumulativeRewardRatio.map((e: any) => DecCoin.fromJSON(e)); - if (isSet(object.referenceCount)) obj.referenceCount = Number(object.referenceCount); - return obj; - }, - toJSON(message: ValidatorHistoricalRewards): unknown { - const obj: any = {}; - if (message.cumulativeRewardRatio) { - obj.cumulativeRewardRatio = message.cumulativeRewardRatio.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.cumulativeRewardRatio = []; - } - message.referenceCount !== undefined && (obj.referenceCount = Math.round(message.referenceCount)); - return obj; - }, - fromPartial(object: DeepPartial): ValidatorHistoricalRewards { - const message = createBaseValidatorHistoricalRewards(); - message.cumulativeRewardRatio = object.cumulativeRewardRatio?.map(e => DecCoin.fromPartial(e)) || []; - message.referenceCount = object.referenceCount ?? 0; - return message; - }, - fromSDK(object: ValidatorHistoricalRewardsSDKType): ValidatorHistoricalRewards { - return { - cumulativeRewardRatio: Array.isArray(object?.cumulative_reward_ratio) ? object.cumulative_reward_ratio.map((e: any) => DecCoin.fromSDK(e)) : [], - referenceCount: object?.reference_count - }; - }, - toSDK(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsSDKType { - const obj: any = {}; - if (message.cumulativeRewardRatio) { - obj.cumulative_reward_ratio = message.cumulativeRewardRatio.map(e => e ? DecCoin.toSDK(e) : undefined); - } else { - obj.cumulative_reward_ratio = []; - } - obj.reference_count = message.referenceCount; - return obj; - }, - fromAmino(object: ValidatorHistoricalRewardsAmino): ValidatorHistoricalRewards { - return { - cumulativeRewardRatio: Array.isArray(object?.cumulative_reward_ratio) ? object.cumulative_reward_ratio.map((e: any) => DecCoin.fromAmino(e)) : [], - referenceCount: object.reference_count - }; - }, - toAmino(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsAmino { - const obj: any = {}; - if (message.cumulativeRewardRatio) { - obj.cumulative_reward_ratio = message.cumulativeRewardRatio.map(e => e ? DecCoin.toAmino(e) : undefined); - } else { - obj.cumulative_reward_ratio = []; - } - obj.reference_count = message.referenceCount; - return obj; - }, - fromAminoMsg(object: ValidatorHistoricalRewardsAminoMsg): ValidatorHistoricalRewards { - return ValidatorHistoricalRewards.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsAminoMsg { - return { - type: "cosmos-sdk/ValidatorHistoricalRewards", - value: ValidatorHistoricalRewards.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorHistoricalRewardsProtoMsg): ValidatorHistoricalRewards { - return ValidatorHistoricalRewards.decode(message.value); - }, - toProto(message: ValidatorHistoricalRewards): Uint8Array { - return ValidatorHistoricalRewards.encode(message).finish(); - }, - toProtoMsg(message: ValidatorHistoricalRewards): ValidatorHistoricalRewardsProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewards", - value: ValidatorHistoricalRewards.encode(message).finish() - }; - } -}; -function createBaseValidatorCurrentRewards(): ValidatorCurrentRewards { - return { - rewards: [], - period: Long.UZERO - }; -} -export const ValidatorCurrentRewards = { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards", - aminoType: "cosmos-sdk/ValidatorCurrentRewards", - encode(message: ValidatorCurrentRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rewards) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (!message.period.isZero()) { - writer.uint32(16).uint64(message.period); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorCurrentRewards(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rewards.push(DecCoin.decode(reader, reader.uint32())); - break; - case 2: - message.period = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorCurrentRewards { - const obj = createBaseValidatorCurrentRewards(); - if (Array.isArray(object?.rewards)) obj.rewards = object.rewards.map((e: any) => DecCoin.fromJSON(e)); - if (isSet(object.period)) obj.period = Long.fromValue(object.period); - return obj; - }, - toJSON(message: ValidatorCurrentRewards): unknown { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.rewards = []; - } - message.period !== undefined && (obj.period = (message.period || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): ValidatorCurrentRewards { - const message = createBaseValidatorCurrentRewards(); - message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; - if (object.period !== undefined && object.period !== null) { - message.period = Long.fromValue(object.period); - } - return message; - }, - fromSDK(object: ValidatorCurrentRewardsSDKType): ValidatorCurrentRewards { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DecCoin.fromSDK(e)) : [], - period: object?.period - }; - }, - toSDK(message: ValidatorCurrentRewards): ValidatorCurrentRewardsSDKType { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toSDK(e) : undefined); - } else { - obj.rewards = []; - } - obj.period = message.period; - return obj; - }, - fromAmino(object: ValidatorCurrentRewardsAmino): ValidatorCurrentRewards { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DecCoin.fromAmino(e)) : [], - period: Long.fromString(object.period) - }; - }, - toAmino(message: ValidatorCurrentRewards): ValidatorCurrentRewardsAmino { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toAmino(e) : undefined); - } else { - obj.rewards = []; - } - obj.period = message.period ? message.period.toString() : undefined; - return obj; - }, - fromAminoMsg(object: ValidatorCurrentRewardsAminoMsg): ValidatorCurrentRewards { - return ValidatorCurrentRewards.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorCurrentRewards): ValidatorCurrentRewardsAminoMsg { - return { - type: "cosmos-sdk/ValidatorCurrentRewards", - value: ValidatorCurrentRewards.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorCurrentRewardsProtoMsg): ValidatorCurrentRewards { - return ValidatorCurrentRewards.decode(message.value); - }, - toProto(message: ValidatorCurrentRewards): Uint8Array { - return ValidatorCurrentRewards.encode(message).finish(); - }, - toProtoMsg(message: ValidatorCurrentRewards): ValidatorCurrentRewardsProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewards", - value: ValidatorCurrentRewards.encode(message).finish() - }; - } -}; -function createBaseValidatorAccumulatedCommission(): ValidatorAccumulatedCommission { - return { - commission: [] - }; -} -export const ValidatorAccumulatedCommission = { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission", - aminoType: "cosmos-sdk/ValidatorAccumulatedCommission", - encode(message: ValidatorAccumulatedCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.commission) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorAccumulatedCommission(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.commission.push(DecCoin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorAccumulatedCommission { - const obj = createBaseValidatorAccumulatedCommission(); - if (Array.isArray(object?.commission)) obj.commission = object.commission.map((e: any) => DecCoin.fromJSON(e)); - return obj; - }, - toJSON(message: ValidatorAccumulatedCommission): unknown { - const obj: any = {}; - if (message.commission) { - obj.commission = message.commission.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.commission = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ValidatorAccumulatedCommission { - const message = createBaseValidatorAccumulatedCommission(); - message.commission = object.commission?.map(e => DecCoin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ValidatorAccumulatedCommissionSDKType): ValidatorAccumulatedCommission { - return { - commission: Array.isArray(object?.commission) ? object.commission.map((e: any) => DecCoin.fromSDK(e)) : [] - }; - }, - toSDK(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionSDKType { - const obj: any = {}; - if (message.commission) { - obj.commission = message.commission.map(e => e ? DecCoin.toSDK(e) : undefined); - } else { - obj.commission = []; - } - return obj; - }, - fromAmino(object: ValidatorAccumulatedCommissionAmino): ValidatorAccumulatedCommission { - return { - commission: Array.isArray(object?.commission) ? object.commission.map((e: any) => DecCoin.fromAmino(e)) : [] - }; - }, - toAmino(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionAmino { - const obj: any = {}; - if (message.commission) { - obj.commission = message.commission.map(e => e ? DecCoin.toAmino(e) : undefined); - } else { - obj.commission = []; - } - return obj; - }, - fromAminoMsg(object: ValidatorAccumulatedCommissionAminoMsg): ValidatorAccumulatedCommission { - return ValidatorAccumulatedCommission.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionAminoMsg { - return { - type: "cosmos-sdk/ValidatorAccumulatedCommission", - value: ValidatorAccumulatedCommission.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorAccumulatedCommissionProtoMsg): ValidatorAccumulatedCommission { - return ValidatorAccumulatedCommission.decode(message.value); - }, - toProto(message: ValidatorAccumulatedCommission): Uint8Array { - return ValidatorAccumulatedCommission.encode(message).finish(); - }, - toProtoMsg(message: ValidatorAccumulatedCommission): ValidatorAccumulatedCommissionProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommission", - value: ValidatorAccumulatedCommission.encode(message).finish() - }; - } -}; -function createBaseValidatorOutstandingRewards(): ValidatorOutstandingRewards { - return { - rewards: [] - }; -} -export const ValidatorOutstandingRewards = { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards", - aminoType: "cosmos-sdk/ValidatorOutstandingRewards", - encode(message: ValidatorOutstandingRewards, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rewards) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorOutstandingRewards(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rewards.push(DecCoin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorOutstandingRewards { - const obj = createBaseValidatorOutstandingRewards(); - if (Array.isArray(object?.rewards)) obj.rewards = object.rewards.map((e: any) => DecCoin.fromJSON(e)); - return obj; - }, - toJSON(message: ValidatorOutstandingRewards): unknown { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.rewards = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ValidatorOutstandingRewards { - const message = createBaseValidatorOutstandingRewards(); - message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ValidatorOutstandingRewardsSDKType): ValidatorOutstandingRewards { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DecCoin.fromSDK(e)) : [] - }; - }, - toSDK(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsSDKType { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toSDK(e) : undefined); - } else { - obj.rewards = []; - } - return obj; - }, - fromAmino(object: ValidatorOutstandingRewardsAmino): ValidatorOutstandingRewards { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DecCoin.fromAmino(e)) : [] - }; - }, - toAmino(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsAmino { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toAmino(e) : undefined); - } else { - obj.rewards = []; - } - return obj; - }, - fromAminoMsg(object: ValidatorOutstandingRewardsAminoMsg): ValidatorOutstandingRewards { - return ValidatorOutstandingRewards.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsAminoMsg { - return { - type: "cosmos-sdk/ValidatorOutstandingRewards", - value: ValidatorOutstandingRewards.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorOutstandingRewardsProtoMsg): ValidatorOutstandingRewards { - return ValidatorOutstandingRewards.decode(message.value); - }, - toProto(message: ValidatorOutstandingRewards): Uint8Array { - return ValidatorOutstandingRewards.encode(message).finish(); - }, - toProtoMsg(message: ValidatorOutstandingRewards): ValidatorOutstandingRewardsProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewards", - value: ValidatorOutstandingRewards.encode(message).finish() - }; - } -}; -function createBaseValidatorSlashEvent(): ValidatorSlashEvent { - return { - validatorPeriod: Long.UZERO, - fraction: "" - }; -} -export const ValidatorSlashEvent = { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent", - aminoType: "cosmos-sdk/ValidatorSlashEvent", - encode(message: ValidatorSlashEvent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.validatorPeriod.isZero()) { - writer.uint32(8).uint64(message.validatorPeriod); - } - if (message.fraction !== "") { - writer.uint32(18).string(message.fraction); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorSlashEvent(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorPeriod = (reader.uint64() as Long); - break; - case 2: - message.fraction = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorSlashEvent { - const obj = createBaseValidatorSlashEvent(); - if (isSet(object.validatorPeriod)) obj.validatorPeriod = Long.fromValue(object.validatorPeriod); - if (isSet(object.fraction)) obj.fraction = String(object.fraction); - return obj; - }, - toJSON(message: ValidatorSlashEvent): unknown { - const obj: any = {}; - message.validatorPeriod !== undefined && (obj.validatorPeriod = (message.validatorPeriod || Long.UZERO).toString()); - message.fraction !== undefined && (obj.fraction = message.fraction); - return obj; - }, - fromPartial(object: DeepPartial): ValidatorSlashEvent { - const message = createBaseValidatorSlashEvent(); - if (object.validatorPeriod !== undefined && object.validatorPeriod !== null) { - message.validatorPeriod = Long.fromValue(object.validatorPeriod); - } - message.fraction = object.fraction ?? ""; - return message; - }, - fromSDK(object: ValidatorSlashEventSDKType): ValidatorSlashEvent { - return { - validatorPeriod: object?.validator_period, - fraction: object?.fraction - }; - }, - toSDK(message: ValidatorSlashEvent): ValidatorSlashEventSDKType { - const obj: any = {}; - obj.validator_period = message.validatorPeriod; - obj.fraction = message.fraction; - return obj; - }, - fromAmino(object: ValidatorSlashEventAmino): ValidatorSlashEvent { - return { - validatorPeriod: Long.fromString(object.validator_period), - fraction: object.fraction - }; - }, - toAmino(message: ValidatorSlashEvent): ValidatorSlashEventAmino { - const obj: any = {}; - obj.validator_period = message.validatorPeriod ? message.validatorPeriod.toString() : undefined; - obj.fraction = message.fraction; - return obj; - }, - fromAminoMsg(object: ValidatorSlashEventAminoMsg): ValidatorSlashEvent { - return ValidatorSlashEvent.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorSlashEvent): ValidatorSlashEventAminoMsg { - return { - type: "cosmos-sdk/ValidatorSlashEvent", - value: ValidatorSlashEvent.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorSlashEventProtoMsg): ValidatorSlashEvent { - return ValidatorSlashEvent.decode(message.value); - }, - toProto(message: ValidatorSlashEvent): Uint8Array { - return ValidatorSlashEvent.encode(message).finish(); - }, - toProtoMsg(message: ValidatorSlashEvent): ValidatorSlashEventProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvent", - value: ValidatorSlashEvent.encode(message).finish() - }; - } -}; -function createBaseValidatorSlashEvents(): ValidatorSlashEvents { - return { - validatorSlashEvents: [] - }; -} -export const ValidatorSlashEvents = { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents", - aminoType: "cosmos-sdk/ValidatorSlashEvents", - encode(message: ValidatorSlashEvents, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.validatorSlashEvents) { - ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorSlashEvents(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorSlashEvents.push(ValidatorSlashEvent.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorSlashEvents { - const obj = createBaseValidatorSlashEvents(); - if (Array.isArray(object?.validatorSlashEvents)) obj.validatorSlashEvents = object.validatorSlashEvents.map((e: any) => ValidatorSlashEvent.fromJSON(e)); - return obj; - }, - toJSON(message: ValidatorSlashEvents): unknown { - const obj: any = {}; - if (message.validatorSlashEvents) { - obj.validatorSlashEvents = message.validatorSlashEvents.map(e => e ? ValidatorSlashEvent.toJSON(e) : undefined); - } else { - obj.validatorSlashEvents = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ValidatorSlashEvents { - const message = createBaseValidatorSlashEvents(); - message.validatorSlashEvents = object.validatorSlashEvents?.map(e => ValidatorSlashEvent.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ValidatorSlashEventsSDKType): ValidatorSlashEvents { - return { - validatorSlashEvents: Array.isArray(object?.validator_slash_events) ? object.validator_slash_events.map((e: any) => ValidatorSlashEvent.fromSDK(e)) : [] - }; - }, - toSDK(message: ValidatorSlashEvents): ValidatorSlashEventsSDKType { - const obj: any = {}; - if (message.validatorSlashEvents) { - obj.validator_slash_events = message.validatorSlashEvents.map(e => e ? ValidatorSlashEvent.toSDK(e) : undefined); - } else { - obj.validator_slash_events = []; - } - return obj; - }, - fromAmino(object: ValidatorSlashEventsAmino): ValidatorSlashEvents { - return { - validatorSlashEvents: Array.isArray(object?.validator_slash_events) ? object.validator_slash_events.map((e: any) => ValidatorSlashEvent.fromAmino(e)) : [] - }; - }, - toAmino(message: ValidatorSlashEvents): ValidatorSlashEventsAmino { - const obj: any = {}; - if (message.validatorSlashEvents) { - obj.validator_slash_events = message.validatorSlashEvents.map(e => e ? ValidatorSlashEvent.toAmino(e) : undefined); - } else { - obj.validator_slash_events = []; - } - return obj; - }, - fromAminoMsg(object: ValidatorSlashEventsAminoMsg): ValidatorSlashEvents { - return ValidatorSlashEvents.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorSlashEvents): ValidatorSlashEventsAminoMsg { - return { - type: "cosmos-sdk/ValidatorSlashEvents", - value: ValidatorSlashEvents.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorSlashEventsProtoMsg): ValidatorSlashEvents { - return ValidatorSlashEvents.decode(message.value); - }, - toProto(message: ValidatorSlashEvents): Uint8Array { - return ValidatorSlashEvents.encode(message).finish(); - }, - toProtoMsg(message: ValidatorSlashEvents): ValidatorSlashEventsProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEvents", - value: ValidatorSlashEvents.encode(message).finish() - }; - } -}; -function createBaseFeePool(): FeePool { - return { - communityPool: [] - }; -} -export const FeePool = { - typeUrl: "/cosmos.distribution.v1beta1.FeePool", - aminoType: "cosmos-sdk/FeePool", - encode(message: FeePool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.communityPool) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): FeePool { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFeePool(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.communityPool.push(DecCoin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): FeePool { - const obj = createBaseFeePool(); - if (Array.isArray(object?.communityPool)) obj.communityPool = object.communityPool.map((e: any) => DecCoin.fromJSON(e)); - return obj; - }, - toJSON(message: FeePool): unknown { - const obj: any = {}; - if (message.communityPool) { - obj.communityPool = message.communityPool.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.communityPool = []; - } - return obj; - }, - fromPartial(object: DeepPartial): FeePool { - const message = createBaseFeePool(); - message.communityPool = object.communityPool?.map(e => DecCoin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: FeePoolSDKType): FeePool { - return { - communityPool: Array.isArray(object?.community_pool) ? object.community_pool.map((e: any) => DecCoin.fromSDK(e)) : [] - }; - }, - toSDK(message: FeePool): FeePoolSDKType { - const obj: any = {}; - if (message.communityPool) { - obj.community_pool = message.communityPool.map(e => e ? DecCoin.toSDK(e) : undefined); - } else { - obj.community_pool = []; - } - return obj; - }, - fromAmino(object: FeePoolAmino): FeePool { - return { - communityPool: Array.isArray(object?.community_pool) ? object.community_pool.map((e: any) => DecCoin.fromAmino(e)) : [] - }; - }, - toAmino(message: FeePool): FeePoolAmino { - const obj: any = {}; - if (message.communityPool) { - obj.community_pool = message.communityPool.map(e => e ? DecCoin.toAmino(e) : undefined); - } else { - obj.community_pool = []; - } - return obj; - }, - fromAminoMsg(object: FeePoolAminoMsg): FeePool { - return FeePool.fromAmino(object.value); - }, - toAminoMsg(message: FeePool): FeePoolAminoMsg { - return { - type: "cosmos-sdk/FeePool", - value: FeePool.toAmino(message) - }; - }, - fromProtoMsg(message: FeePoolProtoMsg): FeePool { - return FeePool.decode(message.value); - }, - toProto(message: FeePool): Uint8Array { - return FeePool.encode(message).finish(); - }, - toProtoMsg(message: FeePool): FeePoolProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.FeePool", - value: FeePool.encode(message).finish() - }; - } -}; -function createBaseCommunityPoolSpendProposal(): CommunityPoolSpendProposal { - return { - title: "", - description: "", - recipient: "", - amount: [] - }; -} -export const CommunityPoolSpendProposal = { - typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal", - aminoType: "cosmos-sdk/CommunityPoolSpendProposal", - encode(message: CommunityPoolSpendProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.recipient !== "") { - writer.uint32(26).string(message.recipient); - } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommunityPoolSpendProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.recipient = reader.string(); - break; - case 4: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CommunityPoolSpendProposal { - const obj = createBaseCommunityPoolSpendProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.recipient)) obj.recipient = String(object.recipient); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: CommunityPoolSpendProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.recipient !== undefined && (obj.recipient = message.recipient); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromPartial(object: DeepPartial): CommunityPoolSpendProposal { - const message = createBaseCommunityPoolSpendProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.recipient = object.recipient ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: CommunityPoolSpendProposalSDKType): CommunityPoolSpendProposal { - return { - title: object?.title, - description: object?.description, - recipient: object?.recipient, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.recipient = message.recipient; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAmino(object: CommunityPoolSpendProposalAmino): CommunityPoolSpendProposal { - return { - title: object.title, - description: object.description, - recipient: object.recipient, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.recipient = message.recipient; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAminoMsg(object: CommunityPoolSpendProposalAminoMsg): CommunityPoolSpendProposal { - return CommunityPoolSpendProposal.fromAmino(object.value); - }, - toAminoMsg(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalAminoMsg { - return { - type: "cosmos-sdk/CommunityPoolSpendProposal", - value: CommunityPoolSpendProposal.toAmino(message) - }; - }, - fromProtoMsg(message: CommunityPoolSpendProposalProtoMsg): CommunityPoolSpendProposal { - return CommunityPoolSpendProposal.decode(message.value); - }, - toProto(message: CommunityPoolSpendProposal): Uint8Array { - return CommunityPoolSpendProposal.encode(message).finish(); - }, - toProtoMsg(message: CommunityPoolSpendProposal): CommunityPoolSpendProposalProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposal", - value: CommunityPoolSpendProposal.encode(message).finish() - }; - } -}; -function createBaseDelegatorStartingInfo(): DelegatorStartingInfo { - return { - previousPeriod: Long.UZERO, - stake: "", - height: Long.UZERO - }; -} -export const DelegatorStartingInfo = { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo", - aminoType: "cosmos-sdk/DelegatorStartingInfo", - encode(message: DelegatorStartingInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.previousPeriod.isZero()) { - writer.uint32(8).uint64(message.previousPeriod); - } - if (message.stake !== "") { - writer.uint32(18).string(message.stake); - } - if (!message.height.isZero()) { - writer.uint32(24).uint64(message.height); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegatorStartingInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.previousPeriod = (reader.uint64() as Long); - break; - case 2: - message.stake = reader.string(); - break; - case 3: - message.height = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DelegatorStartingInfo { - const obj = createBaseDelegatorStartingInfo(); - if (isSet(object.previousPeriod)) obj.previousPeriod = Long.fromValue(object.previousPeriod); - if (isSet(object.stake)) obj.stake = String(object.stake); - if (isSet(object.height)) obj.height = Long.fromValue(object.height); - return obj; - }, - toJSON(message: DelegatorStartingInfo): unknown { - const obj: any = {}; - message.previousPeriod !== undefined && (obj.previousPeriod = (message.previousPeriod || Long.UZERO).toString()); - message.stake !== undefined && (obj.stake = message.stake); - message.height !== undefined && (obj.height = (message.height || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): DelegatorStartingInfo { - const message = createBaseDelegatorStartingInfo(); - if (object.previousPeriod !== undefined && object.previousPeriod !== null) { - message.previousPeriod = Long.fromValue(object.previousPeriod); - } - message.stake = object.stake ?? ""; - if (object.height !== undefined && object.height !== null) { - message.height = Long.fromValue(object.height); - } - return message; - }, - fromSDK(object: DelegatorStartingInfoSDKType): DelegatorStartingInfo { - return { - previousPeriod: object?.previous_period, - stake: object?.stake, - height: object?.height - }; - }, - toSDK(message: DelegatorStartingInfo): DelegatorStartingInfoSDKType { - const obj: any = {}; - obj.previous_period = message.previousPeriod; - obj.stake = message.stake; - obj.height = message.height; - return obj; - }, - fromAmino(object: DelegatorStartingInfoAmino): DelegatorStartingInfo { - return { - previousPeriod: Long.fromString(object.previous_period), - stake: object.stake, - height: Long.fromString(object.height) - }; - }, - toAmino(message: DelegatorStartingInfo): DelegatorStartingInfoAmino { - const obj: any = {}; - obj.previous_period = message.previousPeriod ? message.previousPeriod.toString() : undefined; - obj.stake = message.stake; - obj.height = message.height ? message.height.toString() : undefined; - return obj; - }, - fromAminoMsg(object: DelegatorStartingInfoAminoMsg): DelegatorStartingInfo { - return DelegatorStartingInfo.fromAmino(object.value); - }, - toAminoMsg(message: DelegatorStartingInfo): DelegatorStartingInfoAminoMsg { - return { - type: "cosmos-sdk/DelegatorStartingInfo", - value: DelegatorStartingInfo.toAmino(message) - }; - }, - fromProtoMsg(message: DelegatorStartingInfoProtoMsg): DelegatorStartingInfo { - return DelegatorStartingInfo.decode(message.value); - }, - toProto(message: DelegatorStartingInfo): Uint8Array { - return DelegatorStartingInfo.encode(message).finish(); - }, - toProtoMsg(message: DelegatorStartingInfo): DelegatorStartingInfoProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfo", - value: DelegatorStartingInfo.encode(message).finish() - }; - } -}; -function createBaseDelegationDelegatorReward(): DelegationDelegatorReward { - return { - validatorAddress: "", - reward: [] - }; -} -export const DelegationDelegatorReward = { - typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward", - aminoType: "cosmos-sdk/DelegationDelegatorReward", - encode(message: DelegationDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - for (const v of message.reward) { - DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegationDelegatorReward(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - case 2: - message.reward.push(DecCoin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DelegationDelegatorReward { - const obj = createBaseDelegationDelegatorReward(); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (Array.isArray(object?.reward)) obj.reward = object.reward.map((e: any) => DecCoin.fromJSON(e)); - return obj; - }, - toJSON(message: DelegationDelegatorReward): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - if (message.reward) { - obj.reward = message.reward.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.reward = []; - } - return obj; - }, - fromPartial(object: DeepPartial): DelegationDelegatorReward { - const message = createBaseDelegationDelegatorReward(); - message.validatorAddress = object.validatorAddress ?? ""; - message.reward = object.reward?.map(e => DecCoin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: DelegationDelegatorRewardSDKType): DelegationDelegatorReward { - return { - validatorAddress: object?.validator_address, - reward: Array.isArray(object?.reward) ? object.reward.map((e: any) => DecCoin.fromSDK(e)) : [] - }; - }, - toSDK(message: DelegationDelegatorReward): DelegationDelegatorRewardSDKType { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - if (message.reward) { - obj.reward = message.reward.map(e => e ? DecCoin.toSDK(e) : undefined); - } else { - obj.reward = []; - } - return obj; - }, - fromAmino(object: DelegationDelegatorRewardAmino): DelegationDelegatorReward { - return { - validatorAddress: object.validator_address, - reward: Array.isArray(object?.reward) ? object.reward.map((e: any) => DecCoin.fromAmino(e)) : [] - }; - }, - toAmino(message: DelegationDelegatorReward): DelegationDelegatorRewardAmino { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - if (message.reward) { - obj.reward = message.reward.map(e => e ? DecCoin.toAmino(e) : undefined); - } else { - obj.reward = []; - } - return obj; - }, - fromAminoMsg(object: DelegationDelegatorRewardAminoMsg): DelegationDelegatorReward { - return DelegationDelegatorReward.fromAmino(object.value); - }, - toAminoMsg(message: DelegationDelegatorReward): DelegationDelegatorRewardAminoMsg { - return { - type: "cosmos-sdk/DelegationDelegatorReward", - value: DelegationDelegatorReward.toAmino(message) - }; - }, - fromProtoMsg(message: DelegationDelegatorRewardProtoMsg): DelegationDelegatorReward { - return DelegationDelegatorReward.decode(message.value); - }, - toProto(message: DelegationDelegatorReward): Uint8Array { - return DelegationDelegatorReward.encode(message).finish(); - }, - toProtoMsg(message: DelegationDelegatorReward): DelegationDelegatorRewardProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.DelegationDelegatorReward", - value: DelegationDelegatorReward.encode(message).finish() - }; - } -}; -function createBaseCommunityPoolSpendProposalWithDeposit(): CommunityPoolSpendProposalWithDeposit { - return { - title: "", - description: "", - recipient: "", - amount: "", - deposit: "" - }; -} -export const CommunityPoolSpendProposalWithDeposit = { - typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit", - aminoType: "cosmos-sdk/CommunityPoolSpendProposalWithDeposit", - encode(message: CommunityPoolSpendProposalWithDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.recipient !== "") { - writer.uint32(26).string(message.recipient); - } - if (message.amount !== "") { - writer.uint32(34).string(message.amount); - } - if (message.deposit !== "") { - writer.uint32(42).string(message.deposit); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommunityPoolSpendProposalWithDeposit(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.recipient = reader.string(); - break; - case 4: - message.amount = reader.string(); - break; - case 5: - message.deposit = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CommunityPoolSpendProposalWithDeposit { - const obj = createBaseCommunityPoolSpendProposalWithDeposit(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.recipient)) obj.recipient = String(object.recipient); - if (isSet(object.amount)) obj.amount = String(object.amount); - if (isSet(object.deposit)) obj.deposit = String(object.deposit); - return obj; - }, - toJSON(message: CommunityPoolSpendProposalWithDeposit): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.recipient !== undefined && (obj.recipient = message.recipient); - message.amount !== undefined && (obj.amount = message.amount); - message.deposit !== undefined && (obj.deposit = message.deposit); - return obj; - }, - fromPartial(object: DeepPartial): CommunityPoolSpendProposalWithDeposit { - const message = createBaseCommunityPoolSpendProposalWithDeposit(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.recipient = object.recipient ?? ""; - message.amount = object.amount ?? ""; - message.deposit = object.deposit ?? ""; - return message; - }, - fromSDK(object: CommunityPoolSpendProposalWithDepositSDKType): CommunityPoolSpendProposalWithDeposit { - return { - title: object?.title, - description: object?.description, - recipient: object?.recipient, - amount: object?.amount, - deposit: object?.deposit - }; - }, - toSDK(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.recipient = message.recipient; - obj.amount = message.amount; - obj.deposit = message.deposit; - return obj; - }, - fromAmino(object: CommunityPoolSpendProposalWithDepositAmino): CommunityPoolSpendProposalWithDeposit { - return { - title: object.title, - description: object.description, - recipient: object.recipient, - amount: object.amount, - deposit: object.deposit - }; - }, - toAmino(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.recipient = message.recipient; - obj.amount = message.amount; - obj.deposit = message.deposit; - return obj; - }, - fromAminoMsg(object: CommunityPoolSpendProposalWithDepositAminoMsg): CommunityPoolSpendProposalWithDeposit { - return CommunityPoolSpendProposalWithDeposit.fromAmino(object.value); - }, - toAminoMsg(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositAminoMsg { - return { - type: "cosmos-sdk/CommunityPoolSpendProposalWithDeposit", - value: CommunityPoolSpendProposalWithDeposit.toAmino(message) - }; - }, - fromProtoMsg(message: CommunityPoolSpendProposalWithDepositProtoMsg): CommunityPoolSpendProposalWithDeposit { - return CommunityPoolSpendProposalWithDeposit.decode(message.value); - }, - toProto(message: CommunityPoolSpendProposalWithDeposit): Uint8Array { - return CommunityPoolSpendProposalWithDeposit.encode(message).finish(); - }, - toProtoMsg(message: CommunityPoolSpendProposalWithDeposit): CommunityPoolSpendProposalWithDepositProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit", - value: CommunityPoolSpendProposalWithDeposit.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/genesis.ts deleted file mode 100644 index 27b158ef6..000000000 --- a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/genesis.ts +++ /dev/null @@ -1,1411 +0,0 @@ -import { DecCoin, DecCoinAmino, DecCoinSDKType } from "../../base/v1beta1/coin"; -import { ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionAmino, ValidatorAccumulatedCommissionSDKType, ValidatorHistoricalRewards, ValidatorHistoricalRewardsAmino, ValidatorHistoricalRewardsSDKType, ValidatorCurrentRewards, ValidatorCurrentRewardsAmino, ValidatorCurrentRewardsSDKType, DelegatorStartingInfo, DelegatorStartingInfoAmino, DelegatorStartingInfoSDKType, ValidatorSlashEvent, ValidatorSlashEventAmino, ValidatorSlashEventSDKType, Params, ParamsAmino, ParamsSDKType, FeePool, FeePoolAmino, FeePoolSDKType } from "./distribution"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.distribution.v1beta1"; -/** - * DelegatorWithdrawInfo is the address for where distributions rewards are - * withdrawn to by default this struct is only used at genesis to feed in - * default withdraw addresses. - */ -export interface DelegatorWithdrawInfo { - /** delegator_address is the address of the delegator. */ - delegatorAddress: string; - /** withdraw_address is the address to withdraw the delegation rewards to. */ - withdrawAddress: string; -} -export interface DelegatorWithdrawInfoProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorWithdrawInfo"; - value: Uint8Array; -} -/** - * DelegatorWithdrawInfo is the address for where distributions rewards are - * withdrawn to by default this struct is only used at genesis to feed in - * default withdraw addresses. - */ -export interface DelegatorWithdrawInfoAmino { - /** delegator_address is the address of the delegator. */ - delegator_address: string; - /** withdraw_address is the address to withdraw the delegation rewards to. */ - withdraw_address: string; -} -export interface DelegatorWithdrawInfoAminoMsg { - type: "cosmos-sdk/DelegatorWithdrawInfo"; - value: DelegatorWithdrawInfoAmino; -} -/** - * DelegatorWithdrawInfo is the address for where distributions rewards are - * withdrawn to by default this struct is only used at genesis to feed in - * default withdraw addresses. - */ -export interface DelegatorWithdrawInfoSDKType { - delegator_address: string; - withdraw_address: string; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ -export interface ValidatorOutstandingRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** outstanding_rewards represents the oustanding rewards of a validator. */ - outstandingRewards: DecCoin[]; -} -export interface ValidatorOutstandingRewardsRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord"; - value: Uint8Array; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ -export interface ValidatorOutstandingRewardsRecordAmino { - /** validator_address is the address of the validator. */ - validator_address: string; - /** outstanding_rewards represents the oustanding rewards of a validator. */ - outstanding_rewards: DecCoinAmino[]; -} -export interface ValidatorOutstandingRewardsRecordAminoMsg { - type: "cosmos-sdk/ValidatorOutstandingRewardsRecord"; - value: ValidatorOutstandingRewardsRecordAmino; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ -export interface ValidatorOutstandingRewardsRecordSDKType { - validator_address: string; - outstanding_rewards: DecCoinSDKType[]; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ -export interface ValidatorAccumulatedCommissionRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** accumulated is the accumulated commission of a validator. */ - accumulated: ValidatorAccumulatedCommission; -} -export interface ValidatorAccumulatedCommissionRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord"; - value: Uint8Array; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ -export interface ValidatorAccumulatedCommissionRecordAmino { - /** validator_address is the address of the validator. */ - validator_address: string; - /** accumulated is the accumulated commission of a validator. */ - accumulated?: ValidatorAccumulatedCommissionAmino; -} -export interface ValidatorAccumulatedCommissionRecordAminoMsg { - type: "cosmos-sdk/ValidatorAccumulatedCommissionRecord"; - value: ValidatorAccumulatedCommissionRecordAmino; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ -export interface ValidatorAccumulatedCommissionRecordSDKType { - validator_address: string; - accumulated: ValidatorAccumulatedCommissionSDKType; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ -export interface ValidatorHistoricalRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** period defines the period the historical rewards apply to. */ - period: Long; - /** rewards defines the historical rewards of a validator. */ - rewards: ValidatorHistoricalRewards; -} -export interface ValidatorHistoricalRewardsRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord"; - value: Uint8Array; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ -export interface ValidatorHistoricalRewardsRecordAmino { - /** validator_address is the address of the validator. */ - validator_address: string; - /** period defines the period the historical rewards apply to. */ - period: string; - /** rewards defines the historical rewards of a validator. */ - rewards?: ValidatorHistoricalRewardsAmino; -} -export interface ValidatorHistoricalRewardsRecordAminoMsg { - type: "cosmos-sdk/ValidatorHistoricalRewardsRecord"; - value: ValidatorHistoricalRewardsRecordAmino; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ -export interface ValidatorHistoricalRewardsRecordSDKType { - validator_address: string; - period: Long; - rewards: ValidatorHistoricalRewardsSDKType; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ -export interface ValidatorCurrentRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** rewards defines the current rewards of a validator. */ - rewards: ValidatorCurrentRewards; -} -export interface ValidatorCurrentRewardsRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord"; - value: Uint8Array; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ -export interface ValidatorCurrentRewardsRecordAmino { - /** validator_address is the address of the validator. */ - validator_address: string; - /** rewards defines the current rewards of a validator. */ - rewards?: ValidatorCurrentRewardsAmino; -} -export interface ValidatorCurrentRewardsRecordAminoMsg { - type: "cosmos-sdk/ValidatorCurrentRewardsRecord"; - value: ValidatorCurrentRewardsRecordAmino; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ -export interface ValidatorCurrentRewardsRecordSDKType { - validator_address: string; - rewards: ValidatorCurrentRewardsSDKType; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ -export interface DelegatorStartingInfoRecord { - /** delegator_address is the address of the delegator. */ - delegatorAddress: string; - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** starting_info defines the starting info of a delegator. */ - startingInfo: DelegatorStartingInfo; -} -export interface DelegatorStartingInfoRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfoRecord"; - value: Uint8Array; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ -export interface DelegatorStartingInfoRecordAmino { - /** delegator_address is the address of the delegator. */ - delegator_address: string; - /** validator_address is the address of the validator. */ - validator_address: string; - /** starting_info defines the starting info of a delegator. */ - starting_info?: DelegatorStartingInfoAmino; -} -export interface DelegatorStartingInfoRecordAminoMsg { - type: "cosmos-sdk/DelegatorStartingInfoRecord"; - value: DelegatorStartingInfoRecordAmino; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ -export interface DelegatorStartingInfoRecordSDKType { - delegator_address: string; - validator_address: string; - starting_info: DelegatorStartingInfoSDKType; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ -export interface ValidatorSlashEventRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** height defines the block height at which the slash event occured. */ - height: Long; - /** period is the period of the slash event. */ - period: Long; - /** validator_slash_event describes the slash event. */ - validatorSlashEvent: ValidatorSlashEvent; -} -export interface ValidatorSlashEventRecordProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEventRecord"; - value: Uint8Array; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ -export interface ValidatorSlashEventRecordAmino { - /** validator_address is the address of the validator. */ - validator_address: string; - /** height defines the block height at which the slash event occured. */ - height: string; - /** period is the period of the slash event. */ - period: string; - /** validator_slash_event describes the slash event. */ - validator_slash_event?: ValidatorSlashEventAmino; -} -export interface ValidatorSlashEventRecordAminoMsg { - type: "cosmos-sdk/ValidatorSlashEventRecord"; - value: ValidatorSlashEventRecordAmino; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ -export interface ValidatorSlashEventRecordSDKType { - validator_address: string; - height: Long; - period: Long; - validator_slash_event: ValidatorSlashEventSDKType; -} -/** GenesisState defines the distribution module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params: Params; - /** fee_pool defines the fee pool at genesis. */ - feePool: FeePool; - /** fee_pool defines the delegator withdraw infos at genesis. */ - delegatorWithdrawInfos: DelegatorWithdrawInfo[]; - /** fee_pool defines the previous proposer at genesis. */ - previousProposer: string; - /** fee_pool defines the outstanding rewards of all validators at genesis. */ - outstandingRewards: ValidatorOutstandingRewardsRecord[]; - /** fee_pool defines the accumulated commisions of all validators at genesis. */ - validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[]; - /** fee_pool defines the historical rewards of all validators at genesis. */ - validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[]; - /** fee_pool defines the current rewards of all validators at genesis. */ - validatorCurrentRewards: ValidatorCurrentRewardsRecord[]; - /** fee_pool defines the delegator starting infos at genesis. */ - delegatorStartingInfos: DelegatorStartingInfoRecord[]; - /** fee_pool defines the validator slash events at genesis. */ - validatorSlashEvents: ValidatorSlashEventRecord[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the distribution module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of the module. */ - params?: ParamsAmino; - /** fee_pool defines the fee pool at genesis. */ - fee_pool?: FeePoolAmino; - /** fee_pool defines the delegator withdraw infos at genesis. */ - delegator_withdraw_infos: DelegatorWithdrawInfoAmino[]; - /** fee_pool defines the previous proposer at genesis. */ - previous_proposer: string; - /** fee_pool defines the outstanding rewards of all validators at genesis. */ - outstanding_rewards: ValidatorOutstandingRewardsRecordAmino[]; - /** fee_pool defines the accumulated commisions of all validators at genesis. */ - validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordAmino[]; - /** fee_pool defines the historical rewards of all validators at genesis. */ - validator_historical_rewards: ValidatorHistoricalRewardsRecordAmino[]; - /** fee_pool defines the current rewards of all validators at genesis. */ - validator_current_rewards: ValidatorCurrentRewardsRecordAmino[]; - /** fee_pool defines the delegator starting infos at genesis. */ - delegator_starting_infos: DelegatorStartingInfoRecordAmino[]; - /** fee_pool defines the validator slash events at genesis. */ - validator_slash_events: ValidatorSlashEventRecordAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the distribution module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - fee_pool: FeePoolSDKType; - delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[]; - previous_proposer: string; - outstanding_rewards: ValidatorOutstandingRewardsRecordSDKType[]; - validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordSDKType[]; - validator_historical_rewards: ValidatorHistoricalRewardsRecordSDKType[]; - validator_current_rewards: ValidatorCurrentRewardsRecordSDKType[]; - delegator_starting_infos: DelegatorStartingInfoRecordSDKType[]; - validator_slash_events: ValidatorSlashEventRecordSDKType[]; -} -function createBaseDelegatorWithdrawInfo(): DelegatorWithdrawInfo { - return { - delegatorAddress: "", - withdrawAddress: "" - }; -} -export const DelegatorWithdrawInfo = { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorWithdrawInfo", - aminoType: "cosmos-sdk/DelegatorWithdrawInfo", - encode(message: DelegatorWithdrawInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.withdrawAddress !== "") { - writer.uint32(18).string(message.withdrawAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorWithdrawInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegatorWithdrawInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.withdrawAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DelegatorWithdrawInfo { - const obj = createBaseDelegatorWithdrawInfo(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.withdrawAddress)) obj.withdrawAddress = String(object.withdrawAddress); - return obj; - }, - toJSON(message: DelegatorWithdrawInfo): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress); - return obj; - }, - fromPartial(object: DeepPartial): DelegatorWithdrawInfo { - const message = createBaseDelegatorWithdrawInfo(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.withdrawAddress = object.withdrawAddress ?? ""; - return message; - }, - fromSDK(object: DelegatorWithdrawInfoSDKType): DelegatorWithdrawInfo { - return { - delegatorAddress: object?.delegator_address, - withdrawAddress: object?.withdraw_address - }; - }, - toSDK(message: DelegatorWithdrawInfo): DelegatorWithdrawInfoSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.withdraw_address = message.withdrawAddress; - return obj; - }, - fromAmino(object: DelegatorWithdrawInfoAmino): DelegatorWithdrawInfo { - return { - delegatorAddress: object.delegator_address, - withdrawAddress: object.withdraw_address - }; - }, - toAmino(message: DelegatorWithdrawInfo): DelegatorWithdrawInfoAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.withdraw_address = message.withdrawAddress; - return obj; - }, - fromAminoMsg(object: DelegatorWithdrawInfoAminoMsg): DelegatorWithdrawInfo { - return DelegatorWithdrawInfo.fromAmino(object.value); - }, - toAminoMsg(message: DelegatorWithdrawInfo): DelegatorWithdrawInfoAminoMsg { - return { - type: "cosmos-sdk/DelegatorWithdrawInfo", - value: DelegatorWithdrawInfo.toAmino(message) - }; - }, - fromProtoMsg(message: DelegatorWithdrawInfoProtoMsg): DelegatorWithdrawInfo { - return DelegatorWithdrawInfo.decode(message.value); - }, - toProto(message: DelegatorWithdrawInfo): Uint8Array { - return DelegatorWithdrawInfo.encode(message).finish(); - }, - toProtoMsg(message: DelegatorWithdrawInfo): DelegatorWithdrawInfoProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorWithdrawInfo", - value: DelegatorWithdrawInfo.encode(message).finish() - }; - } -}; -function createBaseValidatorOutstandingRewardsRecord(): ValidatorOutstandingRewardsRecord { - return { - validatorAddress: "", - outstandingRewards: [] - }; -} -export const ValidatorOutstandingRewardsRecord = { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord", - aminoType: "cosmos-sdk/ValidatorOutstandingRewardsRecord", - encode(message: ValidatorOutstandingRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - for (const v of message.outstandingRewards) { - DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewardsRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorOutstandingRewardsRecord(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - case 2: - message.outstandingRewards.push(DecCoin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorOutstandingRewardsRecord { - const obj = createBaseValidatorOutstandingRewardsRecord(); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (Array.isArray(object?.outstandingRewards)) obj.outstandingRewards = object.outstandingRewards.map((e: any) => DecCoin.fromJSON(e)); - return obj; - }, - toJSON(message: ValidatorOutstandingRewardsRecord): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - if (message.outstandingRewards) { - obj.outstandingRewards = message.outstandingRewards.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.outstandingRewards = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ValidatorOutstandingRewardsRecord { - const message = createBaseValidatorOutstandingRewardsRecord(); - message.validatorAddress = object.validatorAddress ?? ""; - message.outstandingRewards = object.outstandingRewards?.map(e => DecCoin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ValidatorOutstandingRewardsRecordSDKType): ValidatorOutstandingRewardsRecord { - return { - validatorAddress: object?.validator_address, - outstandingRewards: Array.isArray(object?.outstanding_rewards) ? object.outstanding_rewards.map((e: any) => DecCoin.fromSDK(e)) : [] - }; - }, - toSDK(message: ValidatorOutstandingRewardsRecord): ValidatorOutstandingRewardsRecordSDKType { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - if (message.outstandingRewards) { - obj.outstanding_rewards = message.outstandingRewards.map(e => e ? DecCoin.toSDK(e) : undefined); - } else { - obj.outstanding_rewards = []; - } - return obj; - }, - fromAmino(object: ValidatorOutstandingRewardsRecordAmino): ValidatorOutstandingRewardsRecord { - return { - validatorAddress: object.validator_address, - outstandingRewards: Array.isArray(object?.outstanding_rewards) ? object.outstanding_rewards.map((e: any) => DecCoin.fromAmino(e)) : [] - }; - }, - toAmino(message: ValidatorOutstandingRewardsRecord): ValidatorOutstandingRewardsRecordAmino { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - if (message.outstandingRewards) { - obj.outstanding_rewards = message.outstandingRewards.map(e => e ? DecCoin.toAmino(e) : undefined); - } else { - obj.outstanding_rewards = []; - } - return obj; - }, - fromAminoMsg(object: ValidatorOutstandingRewardsRecordAminoMsg): ValidatorOutstandingRewardsRecord { - return ValidatorOutstandingRewardsRecord.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorOutstandingRewardsRecord): ValidatorOutstandingRewardsRecordAminoMsg { - return { - type: "cosmos-sdk/ValidatorOutstandingRewardsRecord", - value: ValidatorOutstandingRewardsRecord.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorOutstandingRewardsRecordProtoMsg): ValidatorOutstandingRewardsRecord { - return ValidatorOutstandingRewardsRecord.decode(message.value); - }, - toProto(message: ValidatorOutstandingRewardsRecord): Uint8Array { - return ValidatorOutstandingRewardsRecord.encode(message).finish(); - }, - toProtoMsg(message: ValidatorOutstandingRewardsRecord): ValidatorOutstandingRewardsRecordProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord", - value: ValidatorOutstandingRewardsRecord.encode(message).finish() - }; - } -}; -function createBaseValidatorAccumulatedCommissionRecord(): ValidatorAccumulatedCommissionRecord { - return { - validatorAddress: "", - accumulated: ValidatorAccumulatedCommission.fromPartial({}) - }; -} -export const ValidatorAccumulatedCommissionRecord = { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord", - aminoType: "cosmos-sdk/ValidatorAccumulatedCommissionRecord", - encode(message: ValidatorAccumulatedCommissionRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - if (message.accumulated !== undefined) { - ValidatorAccumulatedCommission.encode(message.accumulated, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommissionRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorAccumulatedCommissionRecord(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - case 2: - message.accumulated = ValidatorAccumulatedCommission.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorAccumulatedCommissionRecord { - const obj = createBaseValidatorAccumulatedCommissionRecord(); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (isSet(object.accumulated)) obj.accumulated = ValidatorAccumulatedCommission.fromJSON(object.accumulated); - return obj; - }, - toJSON(message: ValidatorAccumulatedCommissionRecord): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.accumulated !== undefined && (obj.accumulated = message.accumulated ? ValidatorAccumulatedCommission.toJSON(message.accumulated) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ValidatorAccumulatedCommissionRecord { - const message = createBaseValidatorAccumulatedCommissionRecord(); - message.validatorAddress = object.validatorAddress ?? ""; - if (object.accumulated !== undefined && object.accumulated !== null) { - message.accumulated = ValidatorAccumulatedCommission.fromPartial(object.accumulated); - } - return message; - }, - fromSDK(object: ValidatorAccumulatedCommissionRecordSDKType): ValidatorAccumulatedCommissionRecord { - return { - validatorAddress: object?.validator_address, - accumulated: object.accumulated ? ValidatorAccumulatedCommission.fromSDK(object.accumulated) : undefined - }; - }, - toSDK(message: ValidatorAccumulatedCommissionRecord): ValidatorAccumulatedCommissionRecordSDKType { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - message.accumulated !== undefined && (obj.accumulated = message.accumulated ? ValidatorAccumulatedCommission.toSDK(message.accumulated) : undefined); - return obj; - }, - fromAmino(object: ValidatorAccumulatedCommissionRecordAmino): ValidatorAccumulatedCommissionRecord { - return { - validatorAddress: object.validator_address, - accumulated: object?.accumulated ? ValidatorAccumulatedCommission.fromAmino(object.accumulated) : undefined - }; - }, - toAmino(message: ValidatorAccumulatedCommissionRecord): ValidatorAccumulatedCommissionRecordAmino { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - obj.accumulated = message.accumulated ? ValidatorAccumulatedCommission.toAmino(message.accumulated) : undefined; - return obj; - }, - fromAminoMsg(object: ValidatorAccumulatedCommissionRecordAminoMsg): ValidatorAccumulatedCommissionRecord { - return ValidatorAccumulatedCommissionRecord.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorAccumulatedCommissionRecord): ValidatorAccumulatedCommissionRecordAminoMsg { - return { - type: "cosmos-sdk/ValidatorAccumulatedCommissionRecord", - value: ValidatorAccumulatedCommissionRecord.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorAccumulatedCommissionRecordProtoMsg): ValidatorAccumulatedCommissionRecord { - return ValidatorAccumulatedCommissionRecord.decode(message.value); - }, - toProto(message: ValidatorAccumulatedCommissionRecord): Uint8Array { - return ValidatorAccumulatedCommissionRecord.encode(message).finish(); - }, - toProtoMsg(message: ValidatorAccumulatedCommissionRecord): ValidatorAccumulatedCommissionRecordProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord", - value: ValidatorAccumulatedCommissionRecord.encode(message).finish() - }; - } -}; -function createBaseValidatorHistoricalRewardsRecord(): ValidatorHistoricalRewardsRecord { - return { - validatorAddress: "", - period: Long.UZERO, - rewards: ValidatorHistoricalRewards.fromPartial({}) - }; -} -export const ValidatorHistoricalRewardsRecord = { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord", - aminoType: "cosmos-sdk/ValidatorHistoricalRewardsRecord", - encode(message: ValidatorHistoricalRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - if (!message.period.isZero()) { - writer.uint32(16).uint64(message.period); - } - if (message.rewards !== undefined) { - ValidatorHistoricalRewards.encode(message.rewards, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewardsRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorHistoricalRewardsRecord(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - case 2: - message.period = (reader.uint64() as Long); - break; - case 3: - message.rewards = ValidatorHistoricalRewards.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorHistoricalRewardsRecord { - const obj = createBaseValidatorHistoricalRewardsRecord(); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (isSet(object.period)) obj.period = Long.fromValue(object.period); - if (isSet(object.rewards)) obj.rewards = ValidatorHistoricalRewards.fromJSON(object.rewards); - return obj; - }, - toJSON(message: ValidatorHistoricalRewardsRecord): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.period !== undefined && (obj.period = (message.period || Long.UZERO).toString()); - message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorHistoricalRewards.toJSON(message.rewards) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ValidatorHistoricalRewardsRecord { - const message = createBaseValidatorHistoricalRewardsRecord(); - message.validatorAddress = object.validatorAddress ?? ""; - if (object.period !== undefined && object.period !== null) { - message.period = Long.fromValue(object.period); - } - if (object.rewards !== undefined && object.rewards !== null) { - message.rewards = ValidatorHistoricalRewards.fromPartial(object.rewards); - } - return message; - }, - fromSDK(object: ValidatorHistoricalRewardsRecordSDKType): ValidatorHistoricalRewardsRecord { - return { - validatorAddress: object?.validator_address, - period: object?.period, - rewards: object.rewards ? ValidatorHistoricalRewards.fromSDK(object.rewards) : undefined - }; - }, - toSDK(message: ValidatorHistoricalRewardsRecord): ValidatorHistoricalRewardsRecordSDKType { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - obj.period = message.period; - message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorHistoricalRewards.toSDK(message.rewards) : undefined); - return obj; - }, - fromAmino(object: ValidatorHistoricalRewardsRecordAmino): ValidatorHistoricalRewardsRecord { - return { - validatorAddress: object.validator_address, - period: Long.fromString(object.period), - rewards: object?.rewards ? ValidatorHistoricalRewards.fromAmino(object.rewards) : undefined - }; - }, - toAmino(message: ValidatorHistoricalRewardsRecord): ValidatorHistoricalRewardsRecordAmino { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - obj.period = message.period ? message.period.toString() : undefined; - obj.rewards = message.rewards ? ValidatorHistoricalRewards.toAmino(message.rewards) : undefined; - return obj; - }, - fromAminoMsg(object: ValidatorHistoricalRewardsRecordAminoMsg): ValidatorHistoricalRewardsRecord { - return ValidatorHistoricalRewardsRecord.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorHistoricalRewardsRecord): ValidatorHistoricalRewardsRecordAminoMsg { - return { - type: "cosmos-sdk/ValidatorHistoricalRewardsRecord", - value: ValidatorHistoricalRewardsRecord.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorHistoricalRewardsRecordProtoMsg): ValidatorHistoricalRewardsRecord { - return ValidatorHistoricalRewardsRecord.decode(message.value); - }, - toProto(message: ValidatorHistoricalRewardsRecord): Uint8Array { - return ValidatorHistoricalRewardsRecord.encode(message).finish(); - }, - toProtoMsg(message: ValidatorHistoricalRewardsRecord): ValidatorHistoricalRewardsRecordProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord", - value: ValidatorHistoricalRewardsRecord.encode(message).finish() - }; - } -}; -function createBaseValidatorCurrentRewardsRecord(): ValidatorCurrentRewardsRecord { - return { - validatorAddress: "", - rewards: ValidatorCurrentRewards.fromPartial({}) - }; -} -export const ValidatorCurrentRewardsRecord = { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord", - aminoType: "cosmos-sdk/ValidatorCurrentRewardsRecord", - encode(message: ValidatorCurrentRewardsRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - if (message.rewards !== undefined) { - ValidatorCurrentRewards.encode(message.rewards, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewardsRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorCurrentRewardsRecord(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - case 2: - message.rewards = ValidatorCurrentRewards.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorCurrentRewardsRecord { - const obj = createBaseValidatorCurrentRewardsRecord(); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (isSet(object.rewards)) obj.rewards = ValidatorCurrentRewards.fromJSON(object.rewards); - return obj; - }, - toJSON(message: ValidatorCurrentRewardsRecord): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorCurrentRewards.toJSON(message.rewards) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ValidatorCurrentRewardsRecord { - const message = createBaseValidatorCurrentRewardsRecord(); - message.validatorAddress = object.validatorAddress ?? ""; - if (object.rewards !== undefined && object.rewards !== null) { - message.rewards = ValidatorCurrentRewards.fromPartial(object.rewards); - } - return message; - }, - fromSDK(object: ValidatorCurrentRewardsRecordSDKType): ValidatorCurrentRewardsRecord { - return { - validatorAddress: object?.validator_address, - rewards: object.rewards ? ValidatorCurrentRewards.fromSDK(object.rewards) : undefined - }; - }, - toSDK(message: ValidatorCurrentRewardsRecord): ValidatorCurrentRewardsRecordSDKType { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorCurrentRewards.toSDK(message.rewards) : undefined); - return obj; - }, - fromAmino(object: ValidatorCurrentRewardsRecordAmino): ValidatorCurrentRewardsRecord { - return { - validatorAddress: object.validator_address, - rewards: object?.rewards ? ValidatorCurrentRewards.fromAmino(object.rewards) : undefined - }; - }, - toAmino(message: ValidatorCurrentRewardsRecord): ValidatorCurrentRewardsRecordAmino { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - obj.rewards = message.rewards ? ValidatorCurrentRewards.toAmino(message.rewards) : undefined; - return obj; - }, - fromAminoMsg(object: ValidatorCurrentRewardsRecordAminoMsg): ValidatorCurrentRewardsRecord { - return ValidatorCurrentRewardsRecord.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorCurrentRewardsRecord): ValidatorCurrentRewardsRecordAminoMsg { - return { - type: "cosmos-sdk/ValidatorCurrentRewardsRecord", - value: ValidatorCurrentRewardsRecord.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorCurrentRewardsRecordProtoMsg): ValidatorCurrentRewardsRecord { - return ValidatorCurrentRewardsRecord.decode(message.value); - }, - toProto(message: ValidatorCurrentRewardsRecord): Uint8Array { - return ValidatorCurrentRewardsRecord.encode(message).finish(); - }, - toProtoMsg(message: ValidatorCurrentRewardsRecord): ValidatorCurrentRewardsRecordProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord", - value: ValidatorCurrentRewardsRecord.encode(message).finish() - }; - } -}; -function createBaseDelegatorStartingInfoRecord(): DelegatorStartingInfoRecord { - return { - delegatorAddress: "", - validatorAddress: "", - startingInfo: DelegatorStartingInfo.fromPartial({}) - }; -} -export const DelegatorStartingInfoRecord = { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfoRecord", - aminoType: "cosmos-sdk/DelegatorStartingInfoRecord", - encode(message: DelegatorStartingInfoRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - if (message.startingInfo !== undefined) { - DelegatorStartingInfo.encode(message.startingInfo, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfoRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegatorStartingInfoRecord(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.validatorAddress = reader.string(); - break; - case 3: - message.startingInfo = DelegatorStartingInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DelegatorStartingInfoRecord { - const obj = createBaseDelegatorStartingInfoRecord(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (isSet(object.startingInfo)) obj.startingInfo = DelegatorStartingInfo.fromJSON(object.startingInfo); - return obj; - }, - toJSON(message: DelegatorStartingInfoRecord): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.startingInfo !== undefined && (obj.startingInfo = message.startingInfo ? DelegatorStartingInfo.toJSON(message.startingInfo) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): DelegatorStartingInfoRecord { - const message = createBaseDelegatorStartingInfoRecord(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - if (object.startingInfo !== undefined && object.startingInfo !== null) { - message.startingInfo = DelegatorStartingInfo.fromPartial(object.startingInfo); - } - return message; - }, - fromSDK(object: DelegatorStartingInfoRecordSDKType): DelegatorStartingInfoRecord { - return { - delegatorAddress: object?.delegator_address, - validatorAddress: object?.validator_address, - startingInfo: object.starting_info ? DelegatorStartingInfo.fromSDK(object.starting_info) : undefined - }; - }, - toSDK(message: DelegatorStartingInfoRecord): DelegatorStartingInfoRecordSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - message.startingInfo !== undefined && (obj.starting_info = message.startingInfo ? DelegatorStartingInfo.toSDK(message.startingInfo) : undefined); - return obj; - }, - fromAmino(object: DelegatorStartingInfoRecordAmino): DelegatorStartingInfoRecord { - return { - delegatorAddress: object.delegator_address, - validatorAddress: object.validator_address, - startingInfo: object?.starting_info ? DelegatorStartingInfo.fromAmino(object.starting_info) : undefined - }; - }, - toAmino(message: DelegatorStartingInfoRecord): DelegatorStartingInfoRecordAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - obj.starting_info = message.startingInfo ? DelegatorStartingInfo.toAmino(message.startingInfo) : undefined; - return obj; - }, - fromAminoMsg(object: DelegatorStartingInfoRecordAminoMsg): DelegatorStartingInfoRecord { - return DelegatorStartingInfoRecord.fromAmino(object.value); - }, - toAminoMsg(message: DelegatorStartingInfoRecord): DelegatorStartingInfoRecordAminoMsg { - return { - type: "cosmos-sdk/DelegatorStartingInfoRecord", - value: DelegatorStartingInfoRecord.toAmino(message) - }; - }, - fromProtoMsg(message: DelegatorStartingInfoRecordProtoMsg): DelegatorStartingInfoRecord { - return DelegatorStartingInfoRecord.decode(message.value); - }, - toProto(message: DelegatorStartingInfoRecord): Uint8Array { - return DelegatorStartingInfoRecord.encode(message).finish(); - }, - toProtoMsg(message: DelegatorStartingInfoRecord): DelegatorStartingInfoRecordProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.DelegatorStartingInfoRecord", - value: DelegatorStartingInfoRecord.encode(message).finish() - }; - } -}; -function createBaseValidatorSlashEventRecord(): ValidatorSlashEventRecord { - return { - validatorAddress: "", - height: Long.UZERO, - period: Long.UZERO, - validatorSlashEvent: ValidatorSlashEvent.fromPartial({}) - }; -} -export const ValidatorSlashEventRecord = { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEventRecord", - aminoType: "cosmos-sdk/ValidatorSlashEventRecord", - encode(message: ValidatorSlashEventRecord, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - if (!message.height.isZero()) { - writer.uint32(16).uint64(message.height); - } - if (!message.period.isZero()) { - writer.uint32(24).uint64(message.period); - } - if (message.validatorSlashEvent !== undefined) { - ValidatorSlashEvent.encode(message.validatorSlashEvent, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEventRecord { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorSlashEventRecord(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - case 2: - message.height = (reader.uint64() as Long); - break; - case 3: - message.period = (reader.uint64() as Long); - break; - case 4: - message.validatorSlashEvent = ValidatorSlashEvent.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorSlashEventRecord { - const obj = createBaseValidatorSlashEventRecord(); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (isSet(object.height)) obj.height = Long.fromValue(object.height); - if (isSet(object.period)) obj.period = Long.fromValue(object.period); - if (isSet(object.validatorSlashEvent)) obj.validatorSlashEvent = ValidatorSlashEvent.fromJSON(object.validatorSlashEvent); - return obj; - }, - toJSON(message: ValidatorSlashEventRecord): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.height !== undefined && (obj.height = (message.height || Long.UZERO).toString()); - message.period !== undefined && (obj.period = (message.period || Long.UZERO).toString()); - message.validatorSlashEvent !== undefined && (obj.validatorSlashEvent = message.validatorSlashEvent ? ValidatorSlashEvent.toJSON(message.validatorSlashEvent) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ValidatorSlashEventRecord { - const message = createBaseValidatorSlashEventRecord(); - message.validatorAddress = object.validatorAddress ?? ""; - if (object.height !== undefined && object.height !== null) { - message.height = Long.fromValue(object.height); - } - if (object.period !== undefined && object.period !== null) { - message.period = Long.fromValue(object.period); - } - if (object.validatorSlashEvent !== undefined && object.validatorSlashEvent !== null) { - message.validatorSlashEvent = ValidatorSlashEvent.fromPartial(object.validatorSlashEvent); - } - return message; - }, - fromSDK(object: ValidatorSlashEventRecordSDKType): ValidatorSlashEventRecord { - return { - validatorAddress: object?.validator_address, - height: object?.height, - period: object?.period, - validatorSlashEvent: object.validator_slash_event ? ValidatorSlashEvent.fromSDK(object.validator_slash_event) : undefined - }; - }, - toSDK(message: ValidatorSlashEventRecord): ValidatorSlashEventRecordSDKType { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - obj.height = message.height; - obj.period = message.period; - message.validatorSlashEvent !== undefined && (obj.validator_slash_event = message.validatorSlashEvent ? ValidatorSlashEvent.toSDK(message.validatorSlashEvent) : undefined); - return obj; - }, - fromAmino(object: ValidatorSlashEventRecordAmino): ValidatorSlashEventRecord { - return { - validatorAddress: object.validator_address, - height: Long.fromString(object.height), - period: Long.fromString(object.period), - validatorSlashEvent: object?.validator_slash_event ? ValidatorSlashEvent.fromAmino(object.validator_slash_event) : undefined - }; - }, - toAmino(message: ValidatorSlashEventRecord): ValidatorSlashEventRecordAmino { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - obj.height = message.height ? message.height.toString() : undefined; - obj.period = message.period ? message.period.toString() : undefined; - obj.validator_slash_event = message.validatorSlashEvent ? ValidatorSlashEvent.toAmino(message.validatorSlashEvent) : undefined; - return obj; - }, - fromAminoMsg(object: ValidatorSlashEventRecordAminoMsg): ValidatorSlashEventRecord { - return ValidatorSlashEventRecord.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorSlashEventRecord): ValidatorSlashEventRecordAminoMsg { - return { - type: "cosmos-sdk/ValidatorSlashEventRecord", - value: ValidatorSlashEventRecord.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorSlashEventRecordProtoMsg): ValidatorSlashEventRecord { - return ValidatorSlashEventRecord.decode(message.value); - }, - toProto(message: ValidatorSlashEventRecord): Uint8Array { - return ValidatorSlashEventRecord.encode(message).finish(); - }, - toProtoMsg(message: ValidatorSlashEventRecord): ValidatorSlashEventRecordProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.ValidatorSlashEventRecord", - value: ValidatorSlashEventRecord.encode(message).finish() - }; - } -}; -function createBaseGenesisState(): GenesisState { - return { - params: Params.fromPartial({}), - feePool: FeePool.fromPartial({}), - delegatorWithdrawInfos: [], - previousProposer: "", - outstandingRewards: [], - validatorAccumulatedCommissions: [], - validatorHistoricalRewards: [], - validatorCurrentRewards: [], - delegatorStartingInfos: [], - validatorSlashEvents: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.distribution.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - if (message.feePool !== undefined) { - FeePool.encode(message.feePool, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.delegatorWithdrawInfos) { - DelegatorWithdrawInfo.encode(v!, writer.uint32(26).fork()).ldelim(); - } - if (message.previousProposer !== "") { - writer.uint32(34).string(message.previousProposer); - } - for (const v of message.outstandingRewards) { - ValidatorOutstandingRewardsRecord.encode(v!, writer.uint32(42).fork()).ldelim(); - } - for (const v of message.validatorAccumulatedCommissions) { - ValidatorAccumulatedCommissionRecord.encode(v!, writer.uint32(50).fork()).ldelim(); - } - for (const v of message.validatorHistoricalRewards) { - ValidatorHistoricalRewardsRecord.encode(v!, writer.uint32(58).fork()).ldelim(); - } - for (const v of message.validatorCurrentRewards) { - ValidatorCurrentRewardsRecord.encode(v!, writer.uint32(66).fork()).ldelim(); - } - for (const v of message.delegatorStartingInfos) { - DelegatorStartingInfoRecord.encode(v!, writer.uint32(74).fork()).ldelim(); - } - for (const v of message.validatorSlashEvents) { - ValidatorSlashEventRecord.encode(v!, writer.uint32(82).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - case 2: - message.feePool = FeePool.decode(reader, reader.uint32()); - break; - case 3: - message.delegatorWithdrawInfos.push(DelegatorWithdrawInfo.decode(reader, reader.uint32())); - break; - case 4: - message.previousProposer = reader.string(); - break; - case 5: - message.outstandingRewards.push(ValidatorOutstandingRewardsRecord.decode(reader, reader.uint32())); - break; - case 6: - message.validatorAccumulatedCommissions.push(ValidatorAccumulatedCommissionRecord.decode(reader, reader.uint32())); - break; - case 7: - message.validatorHistoricalRewards.push(ValidatorHistoricalRewardsRecord.decode(reader, reader.uint32())); - break; - case 8: - message.validatorCurrentRewards.push(ValidatorCurrentRewardsRecord.decode(reader, reader.uint32())); - break; - case 9: - message.delegatorStartingInfos.push(DelegatorStartingInfoRecord.decode(reader, reader.uint32())); - break; - case 10: - message.validatorSlashEvents.push(ValidatorSlashEventRecord.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - if (isSet(object.feePool)) obj.feePool = FeePool.fromJSON(object.feePool); - if (Array.isArray(object?.delegatorWithdrawInfos)) obj.delegatorWithdrawInfos = object.delegatorWithdrawInfos.map((e: any) => DelegatorWithdrawInfo.fromJSON(e)); - if (isSet(object.previousProposer)) obj.previousProposer = String(object.previousProposer); - if (Array.isArray(object?.outstandingRewards)) obj.outstandingRewards = object.outstandingRewards.map((e: any) => ValidatorOutstandingRewardsRecord.fromJSON(e)); - if (Array.isArray(object?.validatorAccumulatedCommissions)) obj.validatorAccumulatedCommissions = object.validatorAccumulatedCommissions.map((e: any) => ValidatorAccumulatedCommissionRecord.fromJSON(e)); - if (Array.isArray(object?.validatorHistoricalRewards)) obj.validatorHistoricalRewards = object.validatorHistoricalRewards.map((e: any) => ValidatorHistoricalRewardsRecord.fromJSON(e)); - if (Array.isArray(object?.validatorCurrentRewards)) obj.validatorCurrentRewards = object.validatorCurrentRewards.map((e: any) => ValidatorCurrentRewardsRecord.fromJSON(e)); - if (Array.isArray(object?.delegatorStartingInfos)) obj.delegatorStartingInfos = object.delegatorStartingInfos.map((e: any) => DelegatorStartingInfoRecord.fromJSON(e)); - if (Array.isArray(object?.validatorSlashEvents)) obj.validatorSlashEvents = object.validatorSlashEvents.map((e: any) => ValidatorSlashEventRecord.fromJSON(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - message.feePool !== undefined && (obj.feePool = message.feePool ? FeePool.toJSON(message.feePool) : undefined); - if (message.delegatorWithdrawInfos) { - obj.delegatorWithdrawInfos = message.delegatorWithdrawInfos.map(e => e ? DelegatorWithdrawInfo.toJSON(e) : undefined); - } else { - obj.delegatorWithdrawInfos = []; - } - message.previousProposer !== undefined && (obj.previousProposer = message.previousProposer); - if (message.outstandingRewards) { - obj.outstandingRewards = message.outstandingRewards.map(e => e ? ValidatorOutstandingRewardsRecord.toJSON(e) : undefined); - } else { - obj.outstandingRewards = []; - } - if (message.validatorAccumulatedCommissions) { - obj.validatorAccumulatedCommissions = message.validatorAccumulatedCommissions.map(e => e ? ValidatorAccumulatedCommissionRecord.toJSON(e) : undefined); - } else { - obj.validatorAccumulatedCommissions = []; - } - if (message.validatorHistoricalRewards) { - obj.validatorHistoricalRewards = message.validatorHistoricalRewards.map(e => e ? ValidatorHistoricalRewardsRecord.toJSON(e) : undefined); - } else { - obj.validatorHistoricalRewards = []; - } - if (message.validatorCurrentRewards) { - obj.validatorCurrentRewards = message.validatorCurrentRewards.map(e => e ? ValidatorCurrentRewardsRecord.toJSON(e) : undefined); - } else { - obj.validatorCurrentRewards = []; - } - if (message.delegatorStartingInfos) { - obj.delegatorStartingInfos = message.delegatorStartingInfos.map(e => e ? DelegatorStartingInfoRecord.toJSON(e) : undefined); - } else { - obj.delegatorStartingInfos = []; - } - if (message.validatorSlashEvents) { - obj.validatorSlashEvents = message.validatorSlashEvents.map(e => e ? ValidatorSlashEventRecord.toJSON(e) : undefined); - } else { - obj.validatorSlashEvents = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - if (object.feePool !== undefined && object.feePool !== null) { - message.feePool = FeePool.fromPartial(object.feePool); - } - message.delegatorWithdrawInfos = object.delegatorWithdrawInfos?.map(e => DelegatorWithdrawInfo.fromPartial(e)) || []; - message.previousProposer = object.previousProposer ?? ""; - message.outstandingRewards = object.outstandingRewards?.map(e => ValidatorOutstandingRewardsRecord.fromPartial(e)) || []; - message.validatorAccumulatedCommissions = object.validatorAccumulatedCommissions?.map(e => ValidatorAccumulatedCommissionRecord.fromPartial(e)) || []; - message.validatorHistoricalRewards = object.validatorHistoricalRewards?.map(e => ValidatorHistoricalRewardsRecord.fromPartial(e)) || []; - message.validatorCurrentRewards = object.validatorCurrentRewards?.map(e => ValidatorCurrentRewardsRecord.fromPartial(e)) || []; - message.delegatorStartingInfos = object.delegatorStartingInfos?.map(e => DelegatorStartingInfoRecord.fromPartial(e)) || []; - message.validatorSlashEvents = object.validatorSlashEvents?.map(e => ValidatorSlashEventRecord.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - params: object.params ? Params.fromSDK(object.params) : undefined, - feePool: object.fee_pool ? FeePool.fromSDK(object.fee_pool) : undefined, - delegatorWithdrawInfos: Array.isArray(object?.delegator_withdraw_infos) ? object.delegator_withdraw_infos.map((e: any) => DelegatorWithdrawInfo.fromSDK(e)) : [], - previousProposer: object?.previous_proposer, - outstandingRewards: Array.isArray(object?.outstanding_rewards) ? object.outstanding_rewards.map((e: any) => ValidatorOutstandingRewardsRecord.fromSDK(e)) : [], - validatorAccumulatedCommissions: Array.isArray(object?.validator_accumulated_commissions) ? object.validator_accumulated_commissions.map((e: any) => ValidatorAccumulatedCommissionRecord.fromSDK(e)) : [], - validatorHistoricalRewards: Array.isArray(object?.validator_historical_rewards) ? object.validator_historical_rewards.map((e: any) => ValidatorHistoricalRewardsRecord.fromSDK(e)) : [], - validatorCurrentRewards: Array.isArray(object?.validator_current_rewards) ? object.validator_current_rewards.map((e: any) => ValidatorCurrentRewardsRecord.fromSDK(e)) : [], - delegatorStartingInfos: Array.isArray(object?.delegator_starting_infos) ? object.delegator_starting_infos.map((e: any) => DelegatorStartingInfoRecord.fromSDK(e)) : [], - validatorSlashEvents: Array.isArray(object?.validator_slash_events) ? object.validator_slash_events.map((e: any) => ValidatorSlashEventRecord.fromSDK(e)) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - message.feePool !== undefined && (obj.fee_pool = message.feePool ? FeePool.toSDK(message.feePool) : undefined); - if (message.delegatorWithdrawInfos) { - obj.delegator_withdraw_infos = message.delegatorWithdrawInfos.map(e => e ? DelegatorWithdrawInfo.toSDK(e) : undefined); - } else { - obj.delegator_withdraw_infos = []; - } - obj.previous_proposer = message.previousProposer; - if (message.outstandingRewards) { - obj.outstanding_rewards = message.outstandingRewards.map(e => e ? ValidatorOutstandingRewardsRecord.toSDK(e) : undefined); - } else { - obj.outstanding_rewards = []; - } - if (message.validatorAccumulatedCommissions) { - obj.validator_accumulated_commissions = message.validatorAccumulatedCommissions.map(e => e ? ValidatorAccumulatedCommissionRecord.toSDK(e) : undefined); - } else { - obj.validator_accumulated_commissions = []; - } - if (message.validatorHistoricalRewards) { - obj.validator_historical_rewards = message.validatorHistoricalRewards.map(e => e ? ValidatorHistoricalRewardsRecord.toSDK(e) : undefined); - } else { - obj.validator_historical_rewards = []; - } - if (message.validatorCurrentRewards) { - obj.validator_current_rewards = message.validatorCurrentRewards.map(e => e ? ValidatorCurrentRewardsRecord.toSDK(e) : undefined); - } else { - obj.validator_current_rewards = []; - } - if (message.delegatorStartingInfos) { - obj.delegator_starting_infos = message.delegatorStartingInfos.map(e => e ? DelegatorStartingInfoRecord.toSDK(e) : undefined); - } else { - obj.delegator_starting_infos = []; - } - if (message.validatorSlashEvents) { - obj.validator_slash_events = message.validatorSlashEvents.map(e => e ? ValidatorSlashEventRecord.toSDK(e) : undefined); - } else { - obj.validator_slash_events = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined, - feePool: object?.fee_pool ? FeePool.fromAmino(object.fee_pool) : undefined, - delegatorWithdrawInfos: Array.isArray(object?.delegator_withdraw_infos) ? object.delegator_withdraw_infos.map((e: any) => DelegatorWithdrawInfo.fromAmino(e)) : [], - previousProposer: object.previous_proposer, - outstandingRewards: Array.isArray(object?.outstanding_rewards) ? object.outstanding_rewards.map((e: any) => ValidatorOutstandingRewardsRecord.fromAmino(e)) : [], - validatorAccumulatedCommissions: Array.isArray(object?.validator_accumulated_commissions) ? object.validator_accumulated_commissions.map((e: any) => ValidatorAccumulatedCommissionRecord.fromAmino(e)) : [], - validatorHistoricalRewards: Array.isArray(object?.validator_historical_rewards) ? object.validator_historical_rewards.map((e: any) => ValidatorHistoricalRewardsRecord.fromAmino(e)) : [], - validatorCurrentRewards: Array.isArray(object?.validator_current_rewards) ? object.validator_current_rewards.map((e: any) => ValidatorCurrentRewardsRecord.fromAmino(e)) : [], - delegatorStartingInfos: Array.isArray(object?.delegator_starting_infos) ? object.delegator_starting_infos.map((e: any) => DelegatorStartingInfoRecord.fromAmino(e)) : [], - validatorSlashEvents: Array.isArray(object?.validator_slash_events) ? object.validator_slash_events.map((e: any) => ValidatorSlashEventRecord.fromAmino(e)) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - obj.fee_pool = message.feePool ? FeePool.toAmino(message.feePool) : undefined; - if (message.delegatorWithdrawInfos) { - obj.delegator_withdraw_infos = message.delegatorWithdrawInfos.map(e => e ? DelegatorWithdrawInfo.toAmino(e) : undefined); - } else { - obj.delegator_withdraw_infos = []; - } - obj.previous_proposer = message.previousProposer; - if (message.outstandingRewards) { - obj.outstanding_rewards = message.outstandingRewards.map(e => e ? ValidatorOutstandingRewardsRecord.toAmino(e) : undefined); - } else { - obj.outstanding_rewards = []; - } - if (message.validatorAccumulatedCommissions) { - obj.validator_accumulated_commissions = message.validatorAccumulatedCommissions.map(e => e ? ValidatorAccumulatedCommissionRecord.toAmino(e) : undefined); - } else { - obj.validator_accumulated_commissions = []; - } - if (message.validatorHistoricalRewards) { - obj.validator_historical_rewards = message.validatorHistoricalRewards.map(e => e ? ValidatorHistoricalRewardsRecord.toAmino(e) : undefined); - } else { - obj.validator_historical_rewards = []; - } - if (message.validatorCurrentRewards) { - obj.validator_current_rewards = message.validatorCurrentRewards.map(e => e ? ValidatorCurrentRewardsRecord.toAmino(e) : undefined); - } else { - obj.validator_current_rewards = []; - } - if (message.delegatorStartingInfos) { - obj.delegator_starting_infos = message.delegatorStartingInfos.map(e => e ? DelegatorStartingInfoRecord.toAmino(e) : undefined); - } else { - obj.delegator_starting_infos = []; - } - if (message.validatorSlashEvents) { - obj.validator_slash_events = message.validatorSlashEvents.map(e => e ? ValidatorSlashEventRecord.toAmino(e) : undefined); - } else { - obj.validator_slash_events = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts deleted file mode 100644 index 84b52b176..000000000 --- a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardSDKType } from "./distribution"; -import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsRequestSDKType, QueryValidatorOutstandingRewardsResponse, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionRequestSDKType, QueryValidatorCommissionResponse, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesRequestSDKType, QueryValidatorSlashesResponse, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsRequestSDKType, QueryDelegationRewardsResponse, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsRequestSDKType, QueryDelegationTotalRewardsResponse, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsRequestSDKType, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressRequestSDKType, QueryDelegatorWithdrawAddressResponse, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolRequestSDKType, QueryCommunityPoolResponse, QueryCommunityPoolResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.params = this.params.bind(this); - this.validatorOutstandingRewards = this.validatorOutstandingRewards.bind(this); - this.validatorCommission = this.validatorCommission.bind(this); - this.validatorSlashes = this.validatorSlashes.bind(this); - this.delegationRewards = this.delegationRewards.bind(this); - this.delegationTotalRewards = this.delegationTotalRewards.bind(this); - this.delegatorValidators = this.delegatorValidators.bind(this); - this.delegatorWithdrawAddress = this.delegatorWithdrawAddress.bind(this); - this.communityPool = this.communityPool.bind(this); - } - /* Params queries params of the distribution module. */ - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/distribution/v1beta1/params`; - return await this.req.get(endpoint); - } - /* ValidatorOutstandingRewards queries rewards of a validator address. */ - async validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/outstanding_rewards`; - return await this.req.get(endpoint); - } - /* ValidatorCommission queries accumulated commission for a validator. */ - async validatorCommission(params: QueryValidatorCommissionRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/commission`; - return await this.req.get(endpoint); - } - /* ValidatorSlashes queries slash events of a validator. */ - async validatorSlashes(params: QueryValidatorSlashesRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.startingHeight !== "undefined") { - options.params.starting_height = params.startingHeight; - } - if (typeof params?.endingHeight !== "undefined") { - options.params.ending_height = params.endingHeight; - } - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/distribution/v1beta1/validators/${params.validatorAddress}/slashes`; - return await this.req.get(endpoint, options); - } - /* DelegationRewards queries the total rewards accrued by a delegation. */ - async delegationRewards(params: QueryDelegationRewardsRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/rewards/${params.validatorAddress}`; - return await this.req.get(endpoint); - } - /* DelegationTotalRewards queries the total rewards accrued by a each - validator. */ - async delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/rewards`; - return await this.req.get(endpoint); - } - /* DelegatorValidators queries the validators of a delegator. */ - async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/validators`; - return await this.req.get(endpoint); - } - /* DelegatorWithdrawAddress queries withdraw address of a delegator. */ - async delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise { - const endpoint = `cosmos/distribution/v1beta1/delegators/${params.delegatorAddress}/withdraw_address`; - return await this.req.get(endpoint); - } - /* CommunityPool queries the community pool coins. */ - async communityPool(_params: QueryCommunityPoolRequest = {}): Promise { - const endpoint = `cosmos/distribution/v1beta1/community_pool`; - return await this.req.get(endpoint); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts deleted file mode 100644 index fb122e2a7..000000000 --- a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,163 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardSDKType } from "./distribution"; -import { DecCoin, DecCoinSDKType } from "../../base/v1beta1/coin"; -import * as fm from "../../../grpc-gateway"; -import { QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsRequestSDKType, QueryValidatorOutstandingRewardsResponse, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionRequestSDKType, QueryValidatorCommissionResponse, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesRequestSDKType, QueryValidatorSlashesResponse, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsRequestSDKType, QueryDelegationRewardsResponse, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsRequestSDKType, QueryDelegationTotalRewardsResponse, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsRequestSDKType, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressRequestSDKType, QueryDelegatorWithdrawAddressResponse, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolRequestSDKType, QueryCommunityPoolResponse, QueryCommunityPoolResponseSDKType } from "./query"; -export class Query { - /** Params queries params of the distribution module. */ - static params(request: QueryParamsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/distribution/v1beta1/params?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** ValidatorOutstandingRewards queries rewards of a validator address. */ - static validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/distribution/v1beta1/validators/${request["validator_address"]}/outstanding_rewards?${fm.renderURLSearchParams({ - ...request - }, ["validator_address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** ValidatorCommission queries accumulated commission for a validator. */ - static validatorCommission(request: QueryValidatorCommissionRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/distribution/v1beta1/validators/${request["validator_address"]}/commission?${fm.renderURLSearchParams({ - ...request - }, ["validator_address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** ValidatorSlashes queries slash events of a validator. */ - static validatorSlashes(request: QueryValidatorSlashesRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/distribution/v1beta1/validators/${request["validator_address"]}/slashes?${fm.renderURLSearchParams({ - ...request - }, ["validator_address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** DelegationRewards queries the total rewards accrued by a delegation. */ - static delegationRewards(request: QueryDelegationRewardsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/distribution/v1beta1/delegators/${request["delegator_address"]}/rewards/${request["validator_address"]}?${fm.renderURLSearchParams({ - ...request - }, ["delegator_address", "validator_address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * DelegationTotalRewards queries the total rewards accrued by a each - * validator. - */ - static delegationTotalRewards(request: QueryDelegationTotalRewardsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/distribution/v1beta1/delegators/${request["delegator_address"]}/rewards?${fm.renderURLSearchParams({ - ...request - }, ["delegator_address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** DelegatorValidators queries the validators of a delegator. */ - static delegatorValidators(request: QueryDelegatorValidatorsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/distribution/v1beta1/delegators/${request["delegator_address"]}/validators?${fm.renderURLSearchParams({ - ...request - }, ["delegator_address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** DelegatorWithdrawAddress queries withdraw address of a delegator. */ - static delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/distribution/v1beta1/delegators/${request["delegator_address"]}/withdraw_address?${fm.renderURLSearchParams({ - ...request - }, ["delegator_address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** CommunityPool queries the community pool coins. */ - static communityPool(request: QueryCommunityPoolRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/distribution/v1beta1/community_pool?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Params queries params of the distribution module. */ - async params(req: QueryParamsRequest, headers?: HeadersInit): Promise { - return Query.params(req, { - headers, - pathPrefix: this.url - }); - } - /** ValidatorOutstandingRewards queries rewards of a validator address. */ - async validatorOutstandingRewards(req: QueryValidatorOutstandingRewardsRequest, headers?: HeadersInit): Promise { - return Query.validatorOutstandingRewards(req, { - headers, - pathPrefix: this.url - }); - } - /** ValidatorCommission queries accumulated commission for a validator. */ - async validatorCommission(req: QueryValidatorCommissionRequest, headers?: HeadersInit): Promise { - return Query.validatorCommission(req, { - headers, - pathPrefix: this.url - }); - } - /** ValidatorSlashes queries slash events of a validator. */ - async validatorSlashes(req: QueryValidatorSlashesRequest, headers?: HeadersInit): Promise { - return Query.validatorSlashes(req, { - headers, - pathPrefix: this.url - }); - } - /** DelegationRewards queries the total rewards accrued by a delegation. */ - async delegationRewards(req: QueryDelegationRewardsRequest, headers?: HeadersInit): Promise { - return Query.delegationRewards(req, { - headers, - pathPrefix: this.url - }); - } - /** - * DelegationTotalRewards queries the total rewards accrued by a each - * validator. - */ - async delegationTotalRewards(req: QueryDelegationTotalRewardsRequest, headers?: HeadersInit): Promise { - return Query.delegationTotalRewards(req, { - headers, - pathPrefix: this.url - }); - } - /** DelegatorValidators queries the validators of a delegator. */ - async delegatorValidators(req: QueryDelegatorValidatorsRequest, headers?: HeadersInit): Promise { - return Query.delegatorValidators(req, { - headers, - pathPrefix: this.url - }); - } - /** DelegatorWithdrawAddress queries withdraw address of a delegator. */ - async delegatorWithdrawAddress(req: QueryDelegatorWithdrawAddressRequest, headers?: HeadersInit): Promise { - return Query.delegatorWithdrawAddress(req, { - headers, - pathPrefix: this.url - }); - } - /** CommunityPool queries the community pool coins. */ - async communityPool(req: QueryCommunityPoolRequest, headers?: HeadersInit): Promise { - return Query.communityPool(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.ts deleted file mode 100644 index 1ffc63ad5..000000000 --- a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/query.ts +++ /dev/null @@ -1,2278 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsAmino, ParamsSDKType, ValidatorOutstandingRewards, ValidatorOutstandingRewardsAmino, ValidatorOutstandingRewardsSDKType, ValidatorAccumulatedCommission, ValidatorAccumulatedCommissionAmino, ValidatorAccumulatedCommissionSDKType, ValidatorSlashEvent, ValidatorSlashEventAmino, ValidatorSlashEventSDKType, DelegationDelegatorReward, DelegationDelegatorRewardAmino, DelegationDelegatorRewardSDKType } from "./distribution"; -import { DecCoin, DecCoinAmino, DecCoinSDKType } from "../../base/v1beta1/coin"; -import { Long, DeepPartial, isSet } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.distribution.v1beta1"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest {} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino {} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType {} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -export interface QueryValidatorOutstandingRewardsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest"; - value: Uint8Array; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsRequestAmino { - /** validator_address defines the validator address to query for. */ - validator_address: string; -} -export interface QueryValidatorOutstandingRewardsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorOutstandingRewardsRequest"; - value: QueryValidatorOutstandingRewardsRequestAmino; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsRequestSDKType { - validator_address: string; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsResponse { - rewards: ValidatorOutstandingRewards; -} -export interface QueryValidatorOutstandingRewardsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse"; - value: Uint8Array; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsResponseAmino { - rewards?: ValidatorOutstandingRewardsAmino; -} -export interface QueryValidatorOutstandingRewardsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorOutstandingRewardsResponse"; - value: QueryValidatorOutstandingRewardsResponseAmino; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsResponseSDKType { - rewards: ValidatorOutstandingRewardsSDKType; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -export interface QueryValidatorCommissionRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionRequest"; - value: Uint8Array; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionRequestAmino { - /** validator_address defines the validator address to query for. */ - validator_address: string; -} -export interface QueryValidatorCommissionRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorCommissionRequest"; - value: QueryValidatorCommissionRequestAmino; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionRequestSDKType { - validator_address: string; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionResponse { - /** commission defines the commision the validator received. */ - commission: ValidatorAccumulatedCommission; -} -export interface QueryValidatorCommissionResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse"; - value: Uint8Array; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionResponseAmino { - /** commission defines the commision the validator received. */ - commission?: ValidatorAccumulatedCommissionAmino; -} -export interface QueryValidatorCommissionResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorCommissionResponse"; - value: QueryValidatorCommissionResponseAmino; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionResponseSDKType { - commission: ValidatorAccumulatedCommissionSDKType; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ -export interface QueryValidatorSlashesRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; - /** starting_height defines the optional starting height to query the slashes. */ - startingHeight: Long; - /** starting_height defines the optional ending height to query the slashes. */ - endingHeight: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryValidatorSlashesRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesRequest"; - value: Uint8Array; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ -export interface QueryValidatorSlashesRequestAmino { - /** validator_address defines the validator address to query for. */ - validator_address: string; - /** starting_height defines the optional starting height to query the slashes. */ - starting_height: string; - /** starting_height defines the optional ending height to query the slashes. */ - ending_height: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryValidatorSlashesRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorSlashesRequest"; - value: QueryValidatorSlashesRequestAmino; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ -export interface QueryValidatorSlashesRequestSDKType { - validator_address: string; - starting_height: Long; - ending_height: Long; - pagination: PageRequestSDKType; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ -export interface QueryValidatorSlashesResponse { - /** slashes defines the slashes the validator received. */ - slashes: ValidatorSlashEvent[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryValidatorSlashesResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse"; - value: Uint8Array; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ -export interface QueryValidatorSlashesResponseAmino { - /** slashes defines the slashes the validator received. */ - slashes: ValidatorSlashEventAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryValidatorSlashesResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorSlashesResponse"; - value: QueryValidatorSlashesResponseAmino; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ -export interface QueryValidatorSlashesResponseSDKType { - slashes: ValidatorSlashEventSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -export interface QueryDelegationRewardsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsRequest"; - value: Uint8Array; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address: string; - /** validator_address defines the validator address to query for. */ - validator_address: string; -} -export interface QueryDelegationRewardsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegationRewardsRequest"; - value: QueryDelegationRewardsRequestAmino; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsRequestSDKType { - delegator_address: string; - validator_address: string; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsResponse { - /** rewards defines the rewards accrued by a delegation. */ - rewards: DecCoin[]; -} -export interface QueryDelegationRewardsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse"; - value: Uint8Array; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsResponseAmino { - /** rewards defines the rewards accrued by a delegation. */ - rewards: DecCoinAmino[]; -} -export interface QueryDelegationRewardsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegationRewardsResponse"; - value: QueryDelegationRewardsResponseAmino; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsResponseSDKType { - rewards: DecCoinSDKType[]; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -export interface QueryDelegationTotalRewardsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest"; - value: Uint8Array; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address: string; -} -export interface QueryDelegationTotalRewardsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegationTotalRewardsRequest"; - value: QueryDelegationTotalRewardsRequestAmino; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsResponse { - /** rewards defines all the rewards accrued by a delegator. */ - rewards: DelegationDelegatorReward[]; - /** total defines the sum of all the rewards. */ - total: DecCoin[]; -} -export interface QueryDelegationTotalRewardsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse"; - value: Uint8Array; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsResponseAmino { - /** rewards defines all the rewards accrued by a delegator. */ - rewards: DelegationDelegatorRewardAmino[]; - /** total defines the sum of all the rewards. */ - total: DecCoinAmino[]; -} -export interface QueryDelegationTotalRewardsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegationTotalRewardsResponse"; - value: QueryDelegationTotalRewardsResponseAmino; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsResponseSDKType { - rewards: DelegationDelegatorRewardSDKType[]; - total: DecCoinSDKType[]; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -export interface QueryDelegatorValidatorsRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address: string; -} -export interface QueryDelegatorValidatorsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsRequest"; - value: QueryDelegatorValidatorsRequestAmino; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponse { - /** validators defines the validators a delegator is delegating for. */ - validators: string[]; -} -export interface QueryDelegatorValidatorsResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseAmino { - /** validators defines the validators a delegator is delegating for. */ - validators: string[]; -} -export interface QueryDelegatorValidatorsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsResponse"; - value: QueryDelegatorValidatorsResponseAmino; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseSDKType { - validators: string[]; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -export interface QueryDelegatorWithdrawAddressRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressRequestAmino { - /** delegator_address defines the delegator address to query for. */ - delegator_address: string; -} -export interface QueryDelegatorWithdrawAddressRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorWithdrawAddressRequest"; - value: QueryDelegatorWithdrawAddressRequestAmino; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressResponse { - /** withdraw_address defines the delegator address to query for. */ - withdrawAddress: string; -} -export interface QueryDelegatorWithdrawAddressResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressResponseAmino { - /** withdraw_address defines the delegator address to query for. */ - withdraw_address: string; -} -export interface QueryDelegatorWithdrawAddressResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorWithdrawAddressResponse"; - value: QueryDelegatorWithdrawAddressResponseAmino; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressResponseSDKType { - withdraw_address: string; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ -export interface QueryCommunityPoolRequest {} -export interface QueryCommunityPoolRequestProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolRequest"; - value: Uint8Array; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ -export interface QueryCommunityPoolRequestAmino {} -export interface QueryCommunityPoolRequestAminoMsg { - type: "cosmos-sdk/QueryCommunityPoolRequest"; - value: QueryCommunityPoolRequestAmino; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ -export interface QueryCommunityPoolRequestSDKType {} -/** - * QueryCommunityPoolResponse is the response type for the Query/CommunityPool - * RPC method. - */ -export interface QueryCommunityPoolResponse { - /** pool defines community pool's coins. */ - pool: DecCoin[]; -} -export interface QueryCommunityPoolResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolResponse"; - value: Uint8Array; -} -/** - * QueryCommunityPoolResponse is the response type for the Query/CommunityPool - * RPC method. - */ -export interface QueryCommunityPoolResponseAmino { - /** pool defines community pool's coins. */ - pool: DecCoinAmino[]; -} -export interface QueryCommunityPoolResponseAminoMsg { - type: "cosmos-sdk/QueryCommunityPoolResponse"; - value: QueryCommunityPoolResponseAmino; -} -/** - * QueryCommunityPoolResponse is the response type for the Query/CommunityPool - * RPC method. - */ -export interface QueryCommunityPoolResponseSDKType { - pool: DecCoinSDKType[]; -} -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} -export const QueryParamsRequest = { - typeUrl: "/cosmos.distribution.v1beta1.QueryParamsRequest", - aminoType: "cosmos-sdk/QueryParamsRequest", - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryParamsRequest { - const obj = createBaseQueryParamsRequest(); - return obj; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - }, - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest { - return {}; - }, - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest { - return {}; - }, - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest { - return QueryParamsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryParamsRequest", - value: QueryParamsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest { - return QueryParamsRequest.decode(message.value); - }, - toProto(message: QueryParamsRequest): Uint8Array { - return QueryParamsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryParamsRequest", - value: QueryParamsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: Params.fromPartial({}) - }; -} -export const QueryParamsResponse = { - typeUrl: "/cosmos.distribution.v1beta1.QueryParamsResponse", - aminoType: "cosmos-sdk/QueryParamsResponse", - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsResponse { - const obj = createBaseQueryParamsResponse(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - return obj; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - return message; - }, - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse { - return { - params: object.params ? Params.fromSDK(object.params) : undefined - }; - }, - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - return obj; - }, - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined - }; - }, - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - return obj; - }, - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse { - return QueryParamsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryParamsResponse", - value: QueryParamsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse { - return QueryParamsResponse.decode(message.value); - }, - toProto(message: QueryParamsResponse): Uint8Array { - return QueryParamsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryParamsResponse", - value: QueryParamsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorOutstandingRewardsRequest(): QueryValidatorOutstandingRewardsRequest { - return { - validatorAddress: "" - }; -} -export const QueryValidatorOutstandingRewardsRequest = { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest", - aminoType: "cosmos-sdk/QueryValidatorOutstandingRewardsRequest", - encode(message: QueryValidatorOutstandingRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorOutstandingRewardsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorOutstandingRewardsRequest { - const obj = createBaseQueryValidatorOutstandingRewardsRequest(); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - return obj; - }, - toJSON(message: QueryValidatorOutstandingRewardsRequest): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorOutstandingRewardsRequest { - const message = createBaseQueryValidatorOutstandingRewardsRequest(); - message.validatorAddress = object.validatorAddress ?? ""; - return message; - }, - fromSDK(object: QueryValidatorOutstandingRewardsRequestSDKType): QueryValidatorOutstandingRewardsRequest { - return { - validatorAddress: object?.validator_address - }; - }, - toSDK(message: QueryValidatorOutstandingRewardsRequest): QueryValidatorOutstandingRewardsRequestSDKType { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAmino(object: QueryValidatorOutstandingRewardsRequestAmino): QueryValidatorOutstandingRewardsRequest { - return { - validatorAddress: object.validator_address - }; - }, - toAmino(message: QueryValidatorOutstandingRewardsRequest): QueryValidatorOutstandingRewardsRequestAmino { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAminoMsg(object: QueryValidatorOutstandingRewardsRequestAminoMsg): QueryValidatorOutstandingRewardsRequest { - return QueryValidatorOutstandingRewardsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorOutstandingRewardsRequest): QueryValidatorOutstandingRewardsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorOutstandingRewardsRequest", - value: QueryValidatorOutstandingRewardsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorOutstandingRewardsRequestProtoMsg): QueryValidatorOutstandingRewardsRequest { - return QueryValidatorOutstandingRewardsRequest.decode(message.value); - }, - toProto(message: QueryValidatorOutstandingRewardsRequest): Uint8Array { - return QueryValidatorOutstandingRewardsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorOutstandingRewardsRequest): QueryValidatorOutstandingRewardsRequestProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest", - value: QueryValidatorOutstandingRewardsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorOutstandingRewardsResponse(): QueryValidatorOutstandingRewardsResponse { - return { - rewards: ValidatorOutstandingRewards.fromPartial({}) - }; -} -export const QueryValidatorOutstandingRewardsResponse = { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse", - aminoType: "cosmos-sdk/QueryValidatorOutstandingRewardsResponse", - encode(message: QueryValidatorOutstandingRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.rewards !== undefined) { - ValidatorOutstandingRewards.encode(message.rewards, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorOutstandingRewardsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rewards = ValidatorOutstandingRewards.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorOutstandingRewardsResponse { - const obj = createBaseQueryValidatorOutstandingRewardsResponse(); - if (isSet(object.rewards)) obj.rewards = ValidatorOutstandingRewards.fromJSON(object.rewards); - return obj; - }, - toJSON(message: QueryValidatorOutstandingRewardsResponse): unknown { - const obj: any = {}; - message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorOutstandingRewards.toJSON(message.rewards) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorOutstandingRewardsResponse { - const message = createBaseQueryValidatorOutstandingRewardsResponse(); - if (object.rewards !== undefined && object.rewards !== null) { - message.rewards = ValidatorOutstandingRewards.fromPartial(object.rewards); - } - return message; - }, - fromSDK(object: QueryValidatorOutstandingRewardsResponseSDKType): QueryValidatorOutstandingRewardsResponse { - return { - rewards: object.rewards ? ValidatorOutstandingRewards.fromSDK(object.rewards) : undefined - }; - }, - toSDK(message: QueryValidatorOutstandingRewardsResponse): QueryValidatorOutstandingRewardsResponseSDKType { - const obj: any = {}; - message.rewards !== undefined && (obj.rewards = message.rewards ? ValidatorOutstandingRewards.toSDK(message.rewards) : undefined); - return obj; - }, - fromAmino(object: QueryValidatorOutstandingRewardsResponseAmino): QueryValidatorOutstandingRewardsResponse { - return { - rewards: object?.rewards ? ValidatorOutstandingRewards.fromAmino(object.rewards) : undefined - }; - }, - toAmino(message: QueryValidatorOutstandingRewardsResponse): QueryValidatorOutstandingRewardsResponseAmino { - const obj: any = {}; - obj.rewards = message.rewards ? ValidatorOutstandingRewards.toAmino(message.rewards) : undefined; - return obj; - }, - fromAminoMsg(object: QueryValidatorOutstandingRewardsResponseAminoMsg): QueryValidatorOutstandingRewardsResponse { - return QueryValidatorOutstandingRewardsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorOutstandingRewardsResponse): QueryValidatorOutstandingRewardsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorOutstandingRewardsResponse", - value: QueryValidatorOutstandingRewardsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorOutstandingRewardsResponseProtoMsg): QueryValidatorOutstandingRewardsResponse { - return QueryValidatorOutstandingRewardsResponse.decode(message.value); - }, - toProto(message: QueryValidatorOutstandingRewardsResponse): Uint8Array { - return QueryValidatorOutstandingRewardsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorOutstandingRewardsResponse): QueryValidatorOutstandingRewardsResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse", - value: QueryValidatorOutstandingRewardsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorCommissionRequest(): QueryValidatorCommissionRequest { - return { - validatorAddress: "" - }; -} -export const QueryValidatorCommissionRequest = { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionRequest", - aminoType: "cosmos-sdk/QueryValidatorCommissionRequest", - encode(message: QueryValidatorCommissionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorCommissionRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorCommissionRequest { - const obj = createBaseQueryValidatorCommissionRequest(); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - return obj; - }, - toJSON(message: QueryValidatorCommissionRequest): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorCommissionRequest { - const message = createBaseQueryValidatorCommissionRequest(); - message.validatorAddress = object.validatorAddress ?? ""; - return message; - }, - fromSDK(object: QueryValidatorCommissionRequestSDKType): QueryValidatorCommissionRequest { - return { - validatorAddress: object?.validator_address - }; - }, - toSDK(message: QueryValidatorCommissionRequest): QueryValidatorCommissionRequestSDKType { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAmino(object: QueryValidatorCommissionRequestAmino): QueryValidatorCommissionRequest { - return { - validatorAddress: object.validator_address - }; - }, - toAmino(message: QueryValidatorCommissionRequest): QueryValidatorCommissionRequestAmino { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAminoMsg(object: QueryValidatorCommissionRequestAminoMsg): QueryValidatorCommissionRequest { - return QueryValidatorCommissionRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorCommissionRequest): QueryValidatorCommissionRequestAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorCommissionRequest", - value: QueryValidatorCommissionRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorCommissionRequestProtoMsg): QueryValidatorCommissionRequest { - return QueryValidatorCommissionRequest.decode(message.value); - }, - toProto(message: QueryValidatorCommissionRequest): Uint8Array { - return QueryValidatorCommissionRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorCommissionRequest): QueryValidatorCommissionRequestProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionRequest", - value: QueryValidatorCommissionRequest.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorCommissionResponse(): QueryValidatorCommissionResponse { - return { - commission: ValidatorAccumulatedCommission.fromPartial({}) - }; -} -export const QueryValidatorCommissionResponse = { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse", - aminoType: "cosmos-sdk/QueryValidatorCommissionResponse", - encode(message: QueryValidatorCommissionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.commission !== undefined) { - ValidatorAccumulatedCommission.encode(message.commission, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorCommissionResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.commission = ValidatorAccumulatedCommission.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorCommissionResponse { - const obj = createBaseQueryValidatorCommissionResponse(); - if (isSet(object.commission)) obj.commission = ValidatorAccumulatedCommission.fromJSON(object.commission); - return obj; - }, - toJSON(message: QueryValidatorCommissionResponse): unknown { - const obj: any = {}; - message.commission !== undefined && (obj.commission = message.commission ? ValidatorAccumulatedCommission.toJSON(message.commission) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorCommissionResponse { - const message = createBaseQueryValidatorCommissionResponse(); - if (object.commission !== undefined && object.commission !== null) { - message.commission = ValidatorAccumulatedCommission.fromPartial(object.commission); - } - return message; - }, - fromSDK(object: QueryValidatorCommissionResponseSDKType): QueryValidatorCommissionResponse { - return { - commission: object.commission ? ValidatorAccumulatedCommission.fromSDK(object.commission) : undefined - }; - }, - toSDK(message: QueryValidatorCommissionResponse): QueryValidatorCommissionResponseSDKType { - const obj: any = {}; - message.commission !== undefined && (obj.commission = message.commission ? ValidatorAccumulatedCommission.toSDK(message.commission) : undefined); - return obj; - }, - fromAmino(object: QueryValidatorCommissionResponseAmino): QueryValidatorCommissionResponse { - return { - commission: object?.commission ? ValidatorAccumulatedCommission.fromAmino(object.commission) : undefined - }; - }, - toAmino(message: QueryValidatorCommissionResponse): QueryValidatorCommissionResponseAmino { - const obj: any = {}; - obj.commission = message.commission ? ValidatorAccumulatedCommission.toAmino(message.commission) : undefined; - return obj; - }, - fromAminoMsg(object: QueryValidatorCommissionResponseAminoMsg): QueryValidatorCommissionResponse { - return QueryValidatorCommissionResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorCommissionResponse): QueryValidatorCommissionResponseAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorCommissionResponse", - value: QueryValidatorCommissionResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorCommissionResponseProtoMsg): QueryValidatorCommissionResponse { - return QueryValidatorCommissionResponse.decode(message.value); - }, - toProto(message: QueryValidatorCommissionResponse): Uint8Array { - return QueryValidatorCommissionResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorCommissionResponse): QueryValidatorCommissionResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorCommissionResponse", - value: QueryValidatorCommissionResponse.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorSlashesRequest(): QueryValidatorSlashesRequest { - return { - validatorAddress: "", - startingHeight: Long.UZERO, - endingHeight: Long.UZERO, - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryValidatorSlashesRequest = { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesRequest", - aminoType: "cosmos-sdk/QueryValidatorSlashesRequest", - encode(message: QueryValidatorSlashesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - if (!message.startingHeight.isZero()) { - writer.uint32(16).uint64(message.startingHeight); - } - if (!message.endingHeight.isZero()) { - writer.uint32(24).uint64(message.endingHeight); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorSlashesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - case 2: - message.startingHeight = (reader.uint64() as Long); - break; - case 3: - message.endingHeight = (reader.uint64() as Long); - break; - case 4: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorSlashesRequest { - const obj = createBaseQueryValidatorSlashesRequest(); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (isSet(object.startingHeight)) obj.startingHeight = Long.fromValue(object.startingHeight); - if (isSet(object.endingHeight)) obj.endingHeight = Long.fromValue(object.endingHeight); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryValidatorSlashesRequest): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.startingHeight !== undefined && (obj.startingHeight = (message.startingHeight || Long.UZERO).toString()); - message.endingHeight !== undefined && (obj.endingHeight = (message.endingHeight || Long.UZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorSlashesRequest { - const message = createBaseQueryValidatorSlashesRequest(); - message.validatorAddress = object.validatorAddress ?? ""; - if (object.startingHeight !== undefined && object.startingHeight !== null) { - message.startingHeight = Long.fromValue(object.startingHeight); - } - if (object.endingHeight !== undefined && object.endingHeight !== null) { - message.endingHeight = Long.fromValue(object.endingHeight); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryValidatorSlashesRequestSDKType): QueryValidatorSlashesRequest { - return { - validatorAddress: object?.validator_address, - startingHeight: object?.starting_height, - endingHeight: object?.ending_height, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryValidatorSlashesRequest): QueryValidatorSlashesRequestSDKType { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - obj.starting_height = message.startingHeight; - obj.ending_height = message.endingHeight; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryValidatorSlashesRequestAmino): QueryValidatorSlashesRequest { - return { - validatorAddress: object.validator_address, - startingHeight: Long.fromString(object.starting_height), - endingHeight: Long.fromString(object.ending_height), - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryValidatorSlashesRequest): QueryValidatorSlashesRequestAmino { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - obj.starting_height = message.startingHeight ? message.startingHeight.toString() : undefined; - obj.ending_height = message.endingHeight ? message.endingHeight.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryValidatorSlashesRequestAminoMsg): QueryValidatorSlashesRequest { - return QueryValidatorSlashesRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorSlashesRequest): QueryValidatorSlashesRequestAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorSlashesRequest", - value: QueryValidatorSlashesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorSlashesRequestProtoMsg): QueryValidatorSlashesRequest { - return QueryValidatorSlashesRequest.decode(message.value); - }, - toProto(message: QueryValidatorSlashesRequest): Uint8Array { - return QueryValidatorSlashesRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorSlashesRequest): QueryValidatorSlashesRequestProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesRequest", - value: QueryValidatorSlashesRequest.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorSlashesResponse(): QueryValidatorSlashesResponse { - return { - slashes: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryValidatorSlashesResponse = { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse", - aminoType: "cosmos-sdk/QueryValidatorSlashesResponse", - encode(message: QueryValidatorSlashesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.slashes) { - ValidatorSlashEvent.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorSlashesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.slashes.push(ValidatorSlashEvent.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorSlashesResponse { - const obj = createBaseQueryValidatorSlashesResponse(); - if (Array.isArray(object?.slashes)) obj.slashes = object.slashes.map((e: any) => ValidatorSlashEvent.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryValidatorSlashesResponse): unknown { - const obj: any = {}; - if (message.slashes) { - obj.slashes = message.slashes.map(e => e ? ValidatorSlashEvent.toJSON(e) : undefined); - } else { - obj.slashes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorSlashesResponse { - const message = createBaseQueryValidatorSlashesResponse(); - message.slashes = object.slashes?.map(e => ValidatorSlashEvent.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryValidatorSlashesResponseSDKType): QueryValidatorSlashesResponse { - return { - slashes: Array.isArray(object?.slashes) ? object.slashes.map((e: any) => ValidatorSlashEvent.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryValidatorSlashesResponse): QueryValidatorSlashesResponseSDKType { - const obj: any = {}; - if (message.slashes) { - obj.slashes = message.slashes.map(e => e ? ValidatorSlashEvent.toSDK(e) : undefined); - } else { - obj.slashes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryValidatorSlashesResponseAmino): QueryValidatorSlashesResponse { - return { - slashes: Array.isArray(object?.slashes) ? object.slashes.map((e: any) => ValidatorSlashEvent.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryValidatorSlashesResponse): QueryValidatorSlashesResponseAmino { - const obj: any = {}; - if (message.slashes) { - obj.slashes = message.slashes.map(e => e ? ValidatorSlashEvent.toAmino(e) : undefined); - } else { - obj.slashes = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryValidatorSlashesResponseAminoMsg): QueryValidatorSlashesResponse { - return QueryValidatorSlashesResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorSlashesResponse): QueryValidatorSlashesResponseAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorSlashesResponse", - value: QueryValidatorSlashesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorSlashesResponseProtoMsg): QueryValidatorSlashesResponse { - return QueryValidatorSlashesResponse.decode(message.value); - }, - toProto(message: QueryValidatorSlashesResponse): Uint8Array { - return QueryValidatorSlashesResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorSlashesResponse): QueryValidatorSlashesResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryValidatorSlashesResponse", - value: QueryValidatorSlashesResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDelegationRewardsRequest(): QueryDelegationRewardsRequest { - return { - delegatorAddress: "", - validatorAddress: "" - }; -} -export const QueryDelegationRewardsRequest = { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsRequest", - aminoType: "cosmos-sdk/QueryDelegationRewardsRequest", - encode(message: QueryDelegationRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationRewardsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.validatorAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegationRewardsRequest { - const obj = createBaseQueryDelegationRewardsRequest(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - return obj; - }, - toJSON(message: QueryDelegationRewardsRequest): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegationRewardsRequest { - const message = createBaseQueryDelegationRewardsRequest(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - return message; - }, - fromSDK(object: QueryDelegationRewardsRequestSDKType): QueryDelegationRewardsRequest { - return { - delegatorAddress: object?.delegator_address, - validatorAddress: object?.validator_address - }; - }, - toSDK(message: QueryDelegationRewardsRequest): QueryDelegationRewardsRequestSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAmino(object: QueryDelegationRewardsRequestAmino): QueryDelegationRewardsRequest { - return { - delegatorAddress: object.delegator_address, - validatorAddress: object.validator_address - }; - }, - toAmino(message: QueryDelegationRewardsRequest): QueryDelegationRewardsRequestAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAminoMsg(object: QueryDelegationRewardsRequestAminoMsg): QueryDelegationRewardsRequest { - return QueryDelegationRewardsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegationRewardsRequest): QueryDelegationRewardsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDelegationRewardsRequest", - value: QueryDelegationRewardsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegationRewardsRequestProtoMsg): QueryDelegationRewardsRequest { - return QueryDelegationRewardsRequest.decode(message.value); - }, - toProto(message: QueryDelegationRewardsRequest): Uint8Array { - return QueryDelegationRewardsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegationRewardsRequest): QueryDelegationRewardsRequestProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsRequest", - value: QueryDelegationRewardsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDelegationRewardsResponse(): QueryDelegationRewardsResponse { - return { - rewards: [] - }; -} -export const QueryDelegationRewardsResponse = { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse", - aminoType: "cosmos-sdk/QueryDelegationRewardsResponse", - encode(message: QueryDelegationRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rewards) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationRewardsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rewards.push(DecCoin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegationRewardsResponse { - const obj = createBaseQueryDelegationRewardsResponse(); - if (Array.isArray(object?.rewards)) obj.rewards = object.rewards.map((e: any) => DecCoin.fromJSON(e)); - return obj; - }, - toJSON(message: QueryDelegationRewardsResponse): unknown { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.rewards = []; - } - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegationRewardsResponse { - const message = createBaseQueryDelegationRewardsResponse(); - message.rewards = object.rewards?.map(e => DecCoin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: QueryDelegationRewardsResponseSDKType): QueryDelegationRewardsResponse { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DecCoin.fromSDK(e)) : [] - }; - }, - toSDK(message: QueryDelegationRewardsResponse): QueryDelegationRewardsResponseSDKType { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toSDK(e) : undefined); - } else { - obj.rewards = []; - } - return obj; - }, - fromAmino(object: QueryDelegationRewardsResponseAmino): QueryDelegationRewardsResponse { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DecCoin.fromAmino(e)) : [] - }; - }, - toAmino(message: QueryDelegationRewardsResponse): QueryDelegationRewardsResponseAmino { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DecCoin.toAmino(e) : undefined); - } else { - obj.rewards = []; - } - return obj; - }, - fromAminoMsg(object: QueryDelegationRewardsResponseAminoMsg): QueryDelegationRewardsResponse { - return QueryDelegationRewardsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegationRewardsResponse): QueryDelegationRewardsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDelegationRewardsResponse", - value: QueryDelegationRewardsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegationRewardsResponseProtoMsg): QueryDelegationRewardsResponse { - return QueryDelegationRewardsResponse.decode(message.value); - }, - toProto(message: QueryDelegationRewardsResponse): Uint8Array { - return QueryDelegationRewardsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegationRewardsResponse): QueryDelegationRewardsResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationRewardsResponse", - value: QueryDelegationRewardsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDelegationTotalRewardsRequest(): QueryDelegationTotalRewardsRequest { - return { - delegatorAddress: "" - }; -} -export const QueryDelegationTotalRewardsRequest = { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest", - aminoType: "cosmos-sdk/QueryDelegationTotalRewardsRequest", - encode(message: QueryDelegationTotalRewardsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationTotalRewardsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegationTotalRewardsRequest { - const obj = createBaseQueryDelegationTotalRewardsRequest(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - return obj; - }, - toJSON(message: QueryDelegationTotalRewardsRequest): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegationTotalRewardsRequest { - const message = createBaseQueryDelegationTotalRewardsRequest(); - message.delegatorAddress = object.delegatorAddress ?? ""; - return message; - }, - fromSDK(object: QueryDelegationTotalRewardsRequestSDKType): QueryDelegationTotalRewardsRequest { - return { - delegatorAddress: object?.delegator_address - }; - }, - toSDK(message: QueryDelegationTotalRewardsRequest): QueryDelegationTotalRewardsRequestSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - return obj; - }, - fromAmino(object: QueryDelegationTotalRewardsRequestAmino): QueryDelegationTotalRewardsRequest { - return { - delegatorAddress: object.delegator_address - }; - }, - toAmino(message: QueryDelegationTotalRewardsRequest): QueryDelegationTotalRewardsRequestAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - return obj; - }, - fromAminoMsg(object: QueryDelegationTotalRewardsRequestAminoMsg): QueryDelegationTotalRewardsRequest { - return QueryDelegationTotalRewardsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegationTotalRewardsRequest): QueryDelegationTotalRewardsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDelegationTotalRewardsRequest", - value: QueryDelegationTotalRewardsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegationTotalRewardsRequestProtoMsg): QueryDelegationTotalRewardsRequest { - return QueryDelegationTotalRewardsRequest.decode(message.value); - }, - toProto(message: QueryDelegationTotalRewardsRequest): Uint8Array { - return QueryDelegationTotalRewardsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegationTotalRewardsRequest): QueryDelegationTotalRewardsRequestProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest", - value: QueryDelegationTotalRewardsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDelegationTotalRewardsResponse(): QueryDelegationTotalRewardsResponse { - return { - rewards: [], - total: [] - }; -} -export const QueryDelegationTotalRewardsResponse = { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse", - aminoType: "cosmos-sdk/QueryDelegationTotalRewardsResponse", - encode(message: QueryDelegationTotalRewardsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rewards) { - DelegationDelegatorReward.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.total) { - DecCoin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationTotalRewardsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rewards.push(DelegationDelegatorReward.decode(reader, reader.uint32())); - break; - case 2: - message.total.push(DecCoin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegationTotalRewardsResponse { - const obj = createBaseQueryDelegationTotalRewardsResponse(); - if (Array.isArray(object?.rewards)) obj.rewards = object.rewards.map((e: any) => DelegationDelegatorReward.fromJSON(e)); - if (Array.isArray(object?.total)) obj.total = object.total.map((e: any) => DecCoin.fromJSON(e)); - return obj; - }, - toJSON(message: QueryDelegationTotalRewardsResponse): unknown { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DelegationDelegatorReward.toJSON(e) : undefined); - } else { - obj.rewards = []; - } - if (message.total) { - obj.total = message.total.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.total = []; - } - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegationTotalRewardsResponse { - const message = createBaseQueryDelegationTotalRewardsResponse(); - message.rewards = object.rewards?.map(e => DelegationDelegatorReward.fromPartial(e)) || []; - message.total = object.total?.map(e => DecCoin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: QueryDelegationTotalRewardsResponseSDKType): QueryDelegationTotalRewardsResponse { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DelegationDelegatorReward.fromSDK(e)) : [], - total: Array.isArray(object?.total) ? object.total.map((e: any) => DecCoin.fromSDK(e)) : [] - }; - }, - toSDK(message: QueryDelegationTotalRewardsResponse): QueryDelegationTotalRewardsResponseSDKType { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DelegationDelegatorReward.toSDK(e) : undefined); - } else { - obj.rewards = []; - } - if (message.total) { - obj.total = message.total.map(e => e ? DecCoin.toSDK(e) : undefined); - } else { - obj.total = []; - } - return obj; - }, - fromAmino(object: QueryDelegationTotalRewardsResponseAmino): QueryDelegationTotalRewardsResponse { - return { - rewards: Array.isArray(object?.rewards) ? object.rewards.map((e: any) => DelegationDelegatorReward.fromAmino(e)) : [], - total: Array.isArray(object?.total) ? object.total.map((e: any) => DecCoin.fromAmino(e)) : [] - }; - }, - toAmino(message: QueryDelegationTotalRewardsResponse): QueryDelegationTotalRewardsResponseAmino { - const obj: any = {}; - if (message.rewards) { - obj.rewards = message.rewards.map(e => e ? DelegationDelegatorReward.toAmino(e) : undefined); - } else { - obj.rewards = []; - } - if (message.total) { - obj.total = message.total.map(e => e ? DecCoin.toAmino(e) : undefined); - } else { - obj.total = []; - } - return obj; - }, - fromAminoMsg(object: QueryDelegationTotalRewardsResponseAminoMsg): QueryDelegationTotalRewardsResponse { - return QueryDelegationTotalRewardsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegationTotalRewardsResponse): QueryDelegationTotalRewardsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDelegationTotalRewardsResponse", - value: QueryDelegationTotalRewardsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegationTotalRewardsResponseProtoMsg): QueryDelegationTotalRewardsResponse { - return QueryDelegationTotalRewardsResponse.decode(message.value); - }, - toProto(message: QueryDelegationTotalRewardsResponse): Uint8Array { - return QueryDelegationTotalRewardsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegationTotalRewardsResponse): QueryDelegationTotalRewardsResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse", - value: QueryDelegationTotalRewardsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { - return { - delegatorAddress: "" - }; -} -export const QueryDelegatorValidatorsRequest = { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest", - aminoType: "cosmos-sdk/QueryDelegatorValidatorsRequest", - encode(message: QueryDelegatorValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorValidatorsRequest { - const obj = createBaseQueryDelegatorValidatorsRequest(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - return obj; - }, - toJSON(message: QueryDelegatorValidatorsRequest): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorValidatorsRequest { - const message = createBaseQueryDelegatorValidatorsRequest(); - message.delegatorAddress = object.delegatorAddress ?? ""; - return message; - }, - fromSDK(object: QueryDelegatorValidatorsRequestSDKType): QueryDelegatorValidatorsRequest { - return { - delegatorAddress: object?.delegator_address - }; - }, - toSDK(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - return obj; - }, - fromAmino(object: QueryDelegatorValidatorsRequestAmino): QueryDelegatorValidatorsRequest { - return { - delegatorAddress: object.delegator_address - }; - }, - toAmino(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - return obj; - }, - fromAminoMsg(object: QueryDelegatorValidatorsRequestAminoMsg): QueryDelegatorValidatorsRequest { - return QueryDelegatorValidatorsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorValidatorsRequest", - value: QueryDelegatorValidatorsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorValidatorsRequestProtoMsg): QueryDelegatorValidatorsRequest { - return QueryDelegatorValidatorsRequest.decode(message.value); - }, - toProto(message: QueryDelegatorValidatorsRequest): Uint8Array { - return QueryDelegatorValidatorsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest", - value: QueryDelegatorValidatorsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { - return { - validators: [] - }; -} -export const QueryDelegatorValidatorsResponse = { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse", - aminoType: "cosmos-sdk/QueryDelegatorValidatorsResponse", - encode(message: QueryDelegatorValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.validators) { - writer.uint32(10).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validators.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorValidatorsResponse { - const obj = createBaseQueryDelegatorValidatorsResponse(); - if (Array.isArray(object?.validators)) obj.validators = object.validators.map((e: any) => String(e)); - return obj; - }, - toJSON(message: QueryDelegatorValidatorsResponse): unknown { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e); - } else { - obj.validators = []; - } - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorValidatorsResponse { - const message = createBaseQueryDelegatorValidatorsResponse(); - message.validators = object.validators?.map(e => e) || []; - return message; - }, - fromSDK(object: QueryDelegatorValidatorsResponseSDKType): QueryDelegatorValidatorsResponse { - return { - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => e) : [] - }; - }, - toSDK(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseSDKType { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e); - } else { - obj.validators = []; - } - return obj; - }, - fromAmino(object: QueryDelegatorValidatorsResponseAmino): QueryDelegatorValidatorsResponse { - return { - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => e) : [] - }; - }, - toAmino(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAmino { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e); - } else { - obj.validators = []; - } - return obj; - }, - fromAminoMsg(object: QueryDelegatorValidatorsResponseAminoMsg): QueryDelegatorValidatorsResponse { - return QueryDelegatorValidatorsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorValidatorsResponse", - value: QueryDelegatorValidatorsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorValidatorsResponseProtoMsg): QueryDelegatorValidatorsResponse { - return QueryDelegatorValidatorsResponse.decode(message.value); - }, - toProto(message: QueryDelegatorValidatorsResponse): Uint8Array { - return QueryDelegatorValidatorsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse", - value: QueryDelegatorValidatorsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorWithdrawAddressRequest(): QueryDelegatorWithdrawAddressRequest { - return { - delegatorAddress: "" - }; -} -export const QueryDelegatorWithdrawAddressRequest = { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest", - aminoType: "cosmos-sdk/QueryDelegatorWithdrawAddressRequest", - encode(message: QueryDelegatorWithdrawAddressRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorWithdrawAddressRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorWithdrawAddressRequest { - const obj = createBaseQueryDelegatorWithdrawAddressRequest(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - return obj; - }, - toJSON(message: QueryDelegatorWithdrawAddressRequest): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorWithdrawAddressRequest { - const message = createBaseQueryDelegatorWithdrawAddressRequest(); - message.delegatorAddress = object.delegatorAddress ?? ""; - return message; - }, - fromSDK(object: QueryDelegatorWithdrawAddressRequestSDKType): QueryDelegatorWithdrawAddressRequest { - return { - delegatorAddress: object?.delegator_address - }; - }, - toSDK(message: QueryDelegatorWithdrawAddressRequest): QueryDelegatorWithdrawAddressRequestSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - return obj; - }, - fromAmino(object: QueryDelegatorWithdrawAddressRequestAmino): QueryDelegatorWithdrawAddressRequest { - return { - delegatorAddress: object.delegator_address - }; - }, - toAmino(message: QueryDelegatorWithdrawAddressRequest): QueryDelegatorWithdrawAddressRequestAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - return obj; - }, - fromAminoMsg(object: QueryDelegatorWithdrawAddressRequestAminoMsg): QueryDelegatorWithdrawAddressRequest { - return QueryDelegatorWithdrawAddressRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorWithdrawAddressRequest): QueryDelegatorWithdrawAddressRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorWithdrawAddressRequest", - value: QueryDelegatorWithdrawAddressRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorWithdrawAddressRequestProtoMsg): QueryDelegatorWithdrawAddressRequest { - return QueryDelegatorWithdrawAddressRequest.decode(message.value); - }, - toProto(message: QueryDelegatorWithdrawAddressRequest): Uint8Array { - return QueryDelegatorWithdrawAddressRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorWithdrawAddressRequest): QueryDelegatorWithdrawAddressRequestProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest", - value: QueryDelegatorWithdrawAddressRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorWithdrawAddressResponse(): QueryDelegatorWithdrawAddressResponse { - return { - withdrawAddress: "" - }; -} -export const QueryDelegatorWithdrawAddressResponse = { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse", - aminoType: "cosmos-sdk/QueryDelegatorWithdrawAddressResponse", - encode(message: QueryDelegatorWithdrawAddressResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.withdrawAddress !== "") { - writer.uint32(10).string(message.withdrawAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorWithdrawAddressResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.withdrawAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorWithdrawAddressResponse { - const obj = createBaseQueryDelegatorWithdrawAddressResponse(); - if (isSet(object.withdrawAddress)) obj.withdrawAddress = String(object.withdrawAddress); - return obj; - }, - toJSON(message: QueryDelegatorWithdrawAddressResponse): unknown { - const obj: any = {}; - message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorWithdrawAddressResponse { - const message = createBaseQueryDelegatorWithdrawAddressResponse(); - message.withdrawAddress = object.withdrawAddress ?? ""; - return message; - }, - fromSDK(object: QueryDelegatorWithdrawAddressResponseSDKType): QueryDelegatorWithdrawAddressResponse { - return { - withdrawAddress: object?.withdraw_address - }; - }, - toSDK(message: QueryDelegatorWithdrawAddressResponse): QueryDelegatorWithdrawAddressResponseSDKType { - const obj: any = {}; - obj.withdraw_address = message.withdrawAddress; - return obj; - }, - fromAmino(object: QueryDelegatorWithdrawAddressResponseAmino): QueryDelegatorWithdrawAddressResponse { - return { - withdrawAddress: object.withdraw_address - }; - }, - toAmino(message: QueryDelegatorWithdrawAddressResponse): QueryDelegatorWithdrawAddressResponseAmino { - const obj: any = {}; - obj.withdraw_address = message.withdrawAddress; - return obj; - }, - fromAminoMsg(object: QueryDelegatorWithdrawAddressResponseAminoMsg): QueryDelegatorWithdrawAddressResponse { - return QueryDelegatorWithdrawAddressResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorWithdrawAddressResponse): QueryDelegatorWithdrawAddressResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorWithdrawAddressResponse", - value: QueryDelegatorWithdrawAddressResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorWithdrawAddressResponseProtoMsg): QueryDelegatorWithdrawAddressResponse { - return QueryDelegatorWithdrawAddressResponse.decode(message.value); - }, - toProto(message: QueryDelegatorWithdrawAddressResponse): Uint8Array { - return QueryDelegatorWithdrawAddressResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorWithdrawAddressResponse): QueryDelegatorWithdrawAddressResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse", - value: QueryDelegatorWithdrawAddressResponse.encode(message).finish() - }; - } -}; -function createBaseQueryCommunityPoolRequest(): QueryCommunityPoolRequest { - return {}; -} -export const QueryCommunityPoolRequest = { - typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolRequest", - aminoType: "cosmos-sdk/QueryCommunityPoolRequest", - encode(_: QueryCommunityPoolRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCommunityPoolRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryCommunityPoolRequest { - const obj = createBaseQueryCommunityPoolRequest(); - return obj; - }, - toJSON(_: QueryCommunityPoolRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryCommunityPoolRequest { - const message = createBaseQueryCommunityPoolRequest(); - return message; - }, - fromSDK(_: QueryCommunityPoolRequestSDKType): QueryCommunityPoolRequest { - return {}; - }, - toSDK(_: QueryCommunityPoolRequest): QueryCommunityPoolRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryCommunityPoolRequestAmino): QueryCommunityPoolRequest { - return {}; - }, - toAmino(_: QueryCommunityPoolRequest): QueryCommunityPoolRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryCommunityPoolRequestAminoMsg): QueryCommunityPoolRequest { - return QueryCommunityPoolRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryCommunityPoolRequest): QueryCommunityPoolRequestAminoMsg { - return { - type: "cosmos-sdk/QueryCommunityPoolRequest", - value: QueryCommunityPoolRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryCommunityPoolRequestProtoMsg): QueryCommunityPoolRequest { - return QueryCommunityPoolRequest.decode(message.value); - }, - toProto(message: QueryCommunityPoolRequest): Uint8Array { - return QueryCommunityPoolRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryCommunityPoolRequest): QueryCommunityPoolRequestProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolRequest", - value: QueryCommunityPoolRequest.encode(message).finish() - }; - } -}; -function createBaseQueryCommunityPoolResponse(): QueryCommunityPoolResponse { - return { - pool: [] - }; -} -export const QueryCommunityPoolResponse = { - typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolResponse", - aminoType: "cosmos-sdk/QueryCommunityPoolResponse", - encode(message: QueryCommunityPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.pool) { - DecCoin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCommunityPoolResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pool.push(DecCoin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryCommunityPoolResponse { - const obj = createBaseQueryCommunityPoolResponse(); - if (Array.isArray(object?.pool)) obj.pool = object.pool.map((e: any) => DecCoin.fromJSON(e)); - return obj; - }, - toJSON(message: QueryCommunityPoolResponse): unknown { - const obj: any = {}; - if (message.pool) { - obj.pool = message.pool.map(e => e ? DecCoin.toJSON(e) : undefined); - } else { - obj.pool = []; - } - return obj; - }, - fromPartial(object: DeepPartial): QueryCommunityPoolResponse { - const message = createBaseQueryCommunityPoolResponse(); - message.pool = object.pool?.map(e => DecCoin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: QueryCommunityPoolResponseSDKType): QueryCommunityPoolResponse { - return { - pool: Array.isArray(object?.pool) ? object.pool.map((e: any) => DecCoin.fromSDK(e)) : [] - }; - }, - toSDK(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseSDKType { - const obj: any = {}; - if (message.pool) { - obj.pool = message.pool.map(e => e ? DecCoin.toSDK(e) : undefined); - } else { - obj.pool = []; - } - return obj; - }, - fromAmino(object: QueryCommunityPoolResponseAmino): QueryCommunityPoolResponse { - return { - pool: Array.isArray(object?.pool) ? object.pool.map((e: any) => DecCoin.fromAmino(e)) : [] - }; - }, - toAmino(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseAmino { - const obj: any = {}; - if (message.pool) { - obj.pool = message.pool.map(e => e ? DecCoin.toAmino(e) : undefined); - } else { - obj.pool = []; - } - return obj; - }, - fromAminoMsg(object: QueryCommunityPoolResponseAminoMsg): QueryCommunityPoolResponse { - return QueryCommunityPoolResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseAminoMsg { - return { - type: "cosmos-sdk/QueryCommunityPoolResponse", - value: QueryCommunityPoolResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryCommunityPoolResponseProtoMsg): QueryCommunityPoolResponse { - return QueryCommunityPoolResponse.decode(message.value); - }, - toProto(message: QueryCommunityPoolResponse): Uint8Array { - return QueryCommunityPoolResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryCommunityPoolResponse): QueryCommunityPoolResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.QueryCommunityPoolResponse", - value: QueryCommunityPoolResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts deleted file mode 100644 index f63c12e94..000000000 --- a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { MsgSetWithdrawAddress, MsgSetWithdrawAddressSDKType, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardSDKType, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionSDKType, MsgFundCommunityPool, MsgFundCommunityPoolSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress": { - aminoType: "cosmos-sdk/MsgModifyWithdrawAddress", - toAmino: MsgSetWithdrawAddress.toAmino, - fromAmino: MsgSetWithdrawAddress.fromAmino - }, - "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward": { - aminoType: "cosmos-sdk/MsgWithdrawDelegationReward", - toAmino: MsgWithdrawDelegatorReward.toAmino, - fromAmino: MsgWithdrawDelegatorReward.fromAmino - }, - "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission": { - aminoType: "cosmos-sdk/MsgWithdrawValidatorCommission", - toAmino: MsgWithdrawValidatorCommission.toAmino, - fromAmino: MsgWithdrawValidatorCommission.fromAmino - }, - "/cosmos.distribution.v1beta1.MsgFundCommunityPool": { - aminoType: "cosmos-sdk/MsgFundCommunityPool", - toAmino: MsgFundCommunityPool.toAmino, - fromAmino: MsgFundCommunityPool.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts deleted file mode 100644 index 6241519ba..000000000 --- a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +++ /dev/null @@ -1,141 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSetWithdrawAddress, MsgSetWithdrawAddressSDKType, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardSDKType, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionSDKType, MsgFundCommunityPool, MsgFundCommunityPoolSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", MsgSetWithdrawAddress], ["/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", MsgWithdrawDelegatorReward], ["/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", MsgWithdrawValidatorCommission], ["/cosmos.distribution.v1beta1.MsgFundCommunityPool", MsgFundCommunityPool]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - setWithdrawAddress(value: MsgSetWithdrawAddress) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - value: MsgSetWithdrawAddress.encode(value).finish() - }; - }, - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - value: MsgWithdrawDelegatorReward.encode(value).finish() - }; - }, - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - value: MsgWithdrawValidatorCommission.encode(value).finish() - }; - }, - fundCommunityPool(value: MsgFundCommunityPool) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - value: MsgFundCommunityPool.encode(value).finish() - }; - } - }, - withTypeUrl: { - setWithdrawAddress(value: MsgSetWithdrawAddress) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - value - }; - }, - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - value - }; - }, - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - value - }; - }, - fundCommunityPool(value: MsgFundCommunityPool) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - value - }; - } - }, - toJSON: { - setWithdrawAddress(value: MsgSetWithdrawAddress) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - value: MsgSetWithdrawAddress.toJSON(value) - }; - }, - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - value: MsgWithdrawDelegatorReward.toJSON(value) - }; - }, - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - value: MsgWithdrawValidatorCommission.toJSON(value) - }; - }, - fundCommunityPool(value: MsgFundCommunityPool) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - value: MsgFundCommunityPool.toJSON(value) - }; - } - }, - fromJSON: { - setWithdrawAddress(value: any) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - value: MsgSetWithdrawAddress.fromJSON(value) - }; - }, - withdrawDelegatorReward(value: any) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - value: MsgWithdrawDelegatorReward.fromJSON(value) - }; - }, - withdrawValidatorCommission(value: any) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - value: MsgWithdrawValidatorCommission.fromJSON(value) - }; - }, - fundCommunityPool(value: any) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - value: MsgFundCommunityPool.fromJSON(value) - }; - } - }, - fromPartial: { - setWithdrawAddress(value: MsgSetWithdrawAddress) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - value: MsgSetWithdrawAddress.fromPartial(value) - }; - }, - withdrawDelegatorReward(value: MsgWithdrawDelegatorReward) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - value: MsgWithdrawDelegatorReward.fromPartial(value) - }; - }, - withdrawValidatorCommission(value: MsgWithdrawValidatorCommission) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - value: MsgWithdrawValidatorCommission.fromPartial(value) - }; - }, - fundCommunityPool(value: MsgFundCommunityPool) { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - value: MsgFundCommunityPool.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 3b7bfc913..000000000 --- a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as fm from "../../../grpc-gateway"; -import { MsgSetWithdrawAddress, MsgSetWithdrawAddressSDKType, MsgSetWithdrawAddressResponse, MsgSetWithdrawAddressResponseSDKType, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardSDKType, MsgWithdrawDelegatorRewardResponse, MsgWithdrawDelegatorRewardResponseSDKType, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionSDKType, MsgWithdrawValidatorCommissionResponse, MsgWithdrawValidatorCommissionResponseSDKType, MsgFundCommunityPool, MsgFundCommunityPoolSDKType, MsgFundCommunityPoolResponse, MsgFundCommunityPoolResponseSDKType } from "./tx"; -export class Msg { - /** - * SetWithdrawAddress defines a method to change the withdraw address - * for a delegator (or validator self-delegation). - */ - static setWithdrawAddress(request: MsgSetWithdrawAddress, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.distribution.v1beta1/setWithdrawAddress`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * WithdrawDelegatorReward defines a method to withdraw rewards of delegator - * from a single validator. - */ - static withdrawDelegatorReward(request: MsgWithdrawDelegatorReward, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.distribution.v1beta1/withdrawDelegatorReward`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * WithdrawValidatorCommission defines a method to withdraw the - * full commission to the validator address. - */ - static withdrawValidatorCommission(request: MsgWithdrawValidatorCommission, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.distribution.v1beta1/withdrawValidatorCommission`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * FundCommunityPool defines a method to allow an account to directly - * fund the community pool. - */ - static fundCommunityPool(request: MsgFundCommunityPool, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.distribution.v1beta1/fundCommunityPool`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.ts deleted file mode 100644 index d6e282a51..000000000 --- a/quicksilverjs/src/codegen/cosmos/distribution/v1beta1/tx.ts +++ /dev/null @@ -1,945 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.distribution.v1beta1"; -/** - * MsgSetWithdrawAddress sets the withdraw address for - * a delegator (or validator self-delegation). - */ -export interface MsgSetWithdrawAddress { - delegatorAddress: string; - withdrawAddress: string; -} -export interface MsgSetWithdrawAddressProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress"; - value: Uint8Array; -} -/** - * MsgSetWithdrawAddress sets the withdraw address for - * a delegator (or validator self-delegation). - */ -export interface MsgSetWithdrawAddressAmino { - delegator_address: string; - withdraw_address: string; -} -export interface MsgSetWithdrawAddressAminoMsg { - type: "cosmos-sdk/MsgModifyWithdrawAddress"; - value: MsgSetWithdrawAddressAmino; -} -/** - * MsgSetWithdrawAddress sets the withdraw address for - * a delegator (or validator self-delegation). - */ -export interface MsgSetWithdrawAddressSDKType { - delegator_address: string; - withdraw_address: string; -} -/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ -export interface MsgSetWithdrawAddressResponse {} -export interface MsgSetWithdrawAddressResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse"; - value: Uint8Array; -} -/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ -export interface MsgSetWithdrawAddressResponseAmino {} -export interface MsgSetWithdrawAddressResponseAminoMsg { - type: "cosmos-sdk/MsgSetWithdrawAddressResponse"; - value: MsgSetWithdrawAddressResponseAmino; -} -/** MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type. */ -export interface MsgSetWithdrawAddressResponseSDKType {} -/** - * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator - * from a single validator. - */ -export interface MsgWithdrawDelegatorReward { - delegatorAddress: string; - validatorAddress: string; -} -export interface MsgWithdrawDelegatorRewardProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward"; - value: Uint8Array; -} -/** - * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator - * from a single validator. - */ -export interface MsgWithdrawDelegatorRewardAmino { - delegator_address: string; - validator_address: string; -} -export interface MsgWithdrawDelegatorRewardAminoMsg { - type: "cosmos-sdk/MsgWithdrawDelegationReward"; - value: MsgWithdrawDelegatorRewardAmino; -} -/** - * MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator - * from a single validator. - */ -export interface MsgWithdrawDelegatorRewardSDKType { - delegator_address: string; - validator_address: string; -} -/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ -export interface MsgWithdrawDelegatorRewardResponse { - amount: Coin[]; -} -export interface MsgWithdrawDelegatorRewardResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse"; - value: Uint8Array; -} -/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ -export interface MsgWithdrawDelegatorRewardResponseAmino { - amount: CoinAmino[]; -} -export interface MsgWithdrawDelegatorRewardResponseAminoMsg { - type: "cosmos-sdk/MsgWithdrawDelegatorRewardResponse"; - value: MsgWithdrawDelegatorRewardResponseAmino; -} -/** MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type. */ -export interface MsgWithdrawDelegatorRewardResponseSDKType { - amount: CoinSDKType[]; -} -/** - * MsgWithdrawValidatorCommission withdraws the full commission to the validator - * address. - */ -export interface MsgWithdrawValidatorCommission { - validatorAddress: string; -} -export interface MsgWithdrawValidatorCommissionProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission"; - value: Uint8Array; -} -/** - * MsgWithdrawValidatorCommission withdraws the full commission to the validator - * address. - */ -export interface MsgWithdrawValidatorCommissionAmino { - validator_address: string; -} -export interface MsgWithdrawValidatorCommissionAminoMsg { - type: "cosmos-sdk/MsgWithdrawValidatorCommission"; - value: MsgWithdrawValidatorCommissionAmino; -} -/** - * MsgWithdrawValidatorCommission withdraws the full commission to the validator - * address. - */ -export interface MsgWithdrawValidatorCommissionSDKType { - validator_address: string; -} -/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ -export interface MsgWithdrawValidatorCommissionResponse { - amount: Coin[]; -} -export interface MsgWithdrawValidatorCommissionResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse"; - value: Uint8Array; -} -/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ -export interface MsgWithdrawValidatorCommissionResponseAmino { - amount: CoinAmino[]; -} -export interface MsgWithdrawValidatorCommissionResponseAminoMsg { - type: "cosmos-sdk/MsgWithdrawValidatorCommissionResponse"; - value: MsgWithdrawValidatorCommissionResponseAmino; -} -/** MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type. */ -export interface MsgWithdrawValidatorCommissionResponseSDKType { - amount: CoinSDKType[]; -} -/** - * MsgFundCommunityPool allows an account to directly - * fund the community pool. - */ -export interface MsgFundCommunityPool { - amount: Coin[]; - depositor: string; -} -export interface MsgFundCommunityPoolProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool"; - value: Uint8Array; -} -/** - * MsgFundCommunityPool allows an account to directly - * fund the community pool. - */ -export interface MsgFundCommunityPoolAmino { - amount: CoinAmino[]; - depositor: string; -} -export interface MsgFundCommunityPoolAminoMsg { - type: "cosmos-sdk/MsgFundCommunityPool"; - value: MsgFundCommunityPoolAmino; -} -/** - * MsgFundCommunityPool allows an account to directly - * fund the community pool. - */ -export interface MsgFundCommunityPoolSDKType { - amount: CoinSDKType[]; - depositor: string; -} -/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ -export interface MsgFundCommunityPoolResponse {} -export interface MsgFundCommunityPoolResponseProtoMsg { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse"; - value: Uint8Array; -} -/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ -export interface MsgFundCommunityPoolResponseAmino {} -export interface MsgFundCommunityPoolResponseAminoMsg { - type: "cosmos-sdk/MsgFundCommunityPoolResponse"; - value: MsgFundCommunityPoolResponseAmino; -} -/** MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type. */ -export interface MsgFundCommunityPoolResponseSDKType {} -function createBaseMsgSetWithdrawAddress(): MsgSetWithdrawAddress { - return { - delegatorAddress: "", - withdrawAddress: "" - }; -} -export const MsgSetWithdrawAddress = { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - aminoType: "cosmos-sdk/MsgModifyWithdrawAddress", - encode(message: MsgSetWithdrawAddress, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.withdrawAddress !== "") { - writer.uint32(18).string(message.withdrawAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSetWithdrawAddress(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.withdrawAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSetWithdrawAddress { - const obj = createBaseMsgSetWithdrawAddress(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.withdrawAddress)) obj.withdrawAddress = String(object.withdrawAddress); - return obj; - }, - toJSON(message: MsgSetWithdrawAddress): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.withdrawAddress !== undefined && (obj.withdrawAddress = message.withdrawAddress); - return obj; - }, - fromPartial(object: DeepPartial): MsgSetWithdrawAddress { - const message = createBaseMsgSetWithdrawAddress(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.withdrawAddress = object.withdrawAddress ?? ""; - return message; - }, - fromSDK(object: MsgSetWithdrawAddressSDKType): MsgSetWithdrawAddress { - return { - delegatorAddress: object?.delegator_address, - withdrawAddress: object?.withdraw_address - }; - }, - toSDK(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.withdraw_address = message.withdrawAddress; - return obj; - }, - fromAmino(object: MsgSetWithdrawAddressAmino): MsgSetWithdrawAddress { - return { - delegatorAddress: object.delegator_address, - withdrawAddress: object.withdraw_address - }; - }, - toAmino(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.withdraw_address = message.withdrawAddress; - return obj; - }, - fromAminoMsg(object: MsgSetWithdrawAddressAminoMsg): MsgSetWithdrawAddress { - return MsgSetWithdrawAddress.fromAmino(object.value); - }, - toAminoMsg(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressAminoMsg { - return { - type: "cosmos-sdk/MsgModifyWithdrawAddress", - value: MsgSetWithdrawAddress.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSetWithdrawAddressProtoMsg): MsgSetWithdrawAddress { - return MsgSetWithdrawAddress.decode(message.value); - }, - toProto(message: MsgSetWithdrawAddress): Uint8Array { - return MsgSetWithdrawAddress.encode(message).finish(); - }, - toProtoMsg(message: MsgSetWithdrawAddress): MsgSetWithdrawAddressProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", - value: MsgSetWithdrawAddress.encode(message).finish() - }; - } -}; -function createBaseMsgSetWithdrawAddressResponse(): MsgSetWithdrawAddressResponse { - return {}; -} -export const MsgSetWithdrawAddressResponse = { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse", - aminoType: "cosmos-sdk/MsgSetWithdrawAddressResponse", - encode(_: MsgSetWithdrawAddressResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSetWithdrawAddressResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgSetWithdrawAddressResponse { - const obj = createBaseMsgSetWithdrawAddressResponse(); - return obj; - }, - toJSON(_: MsgSetWithdrawAddressResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgSetWithdrawAddressResponse { - const message = createBaseMsgSetWithdrawAddressResponse(); - return message; - }, - fromSDK(_: MsgSetWithdrawAddressResponseSDKType): MsgSetWithdrawAddressResponse { - return {}; - }, - toSDK(_: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgSetWithdrawAddressResponseAmino): MsgSetWithdrawAddressResponse { - return {}; - }, - toAmino(_: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgSetWithdrawAddressResponseAminoMsg): MsgSetWithdrawAddressResponse { - return MsgSetWithdrawAddressResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseAminoMsg { - return { - type: "cosmos-sdk/MsgSetWithdrawAddressResponse", - value: MsgSetWithdrawAddressResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSetWithdrawAddressResponseProtoMsg): MsgSetWithdrawAddressResponse { - return MsgSetWithdrawAddressResponse.decode(message.value); - }, - toProto(message: MsgSetWithdrawAddressResponse): Uint8Array { - return MsgSetWithdrawAddressResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgSetWithdrawAddressResponse): MsgSetWithdrawAddressResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse", - value: MsgSetWithdrawAddressResponse.encode(message).finish() - }; - } -}; -function createBaseMsgWithdrawDelegatorReward(): MsgWithdrawDelegatorReward { - return { - delegatorAddress: "", - validatorAddress: "" - }; -} -export const MsgWithdrawDelegatorReward = { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - aminoType: "cosmos-sdk/MsgWithdrawDelegationReward", - encode(message: MsgWithdrawDelegatorReward, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawDelegatorReward(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.validatorAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgWithdrawDelegatorReward { - const obj = createBaseMsgWithdrawDelegatorReward(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - return obj; - }, - toJSON(message: MsgWithdrawDelegatorReward): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, - fromPartial(object: DeepPartial): MsgWithdrawDelegatorReward { - const message = createBaseMsgWithdrawDelegatorReward(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - return message; - }, - fromSDK(object: MsgWithdrawDelegatorRewardSDKType): MsgWithdrawDelegatorReward { - return { - delegatorAddress: object?.delegator_address, - validatorAddress: object?.validator_address - }; - }, - toSDK(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAmino(object: MsgWithdrawDelegatorRewardAmino): MsgWithdrawDelegatorReward { - return { - delegatorAddress: object.delegator_address, - validatorAddress: object.validator_address - }; - }, - toAmino(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAminoMsg(object: MsgWithdrawDelegatorRewardAminoMsg): MsgWithdrawDelegatorReward { - return MsgWithdrawDelegatorReward.fromAmino(object.value); - }, - toAminoMsg(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardAminoMsg { - return { - type: "cosmos-sdk/MsgWithdrawDelegationReward", - value: MsgWithdrawDelegatorReward.toAmino(message) - }; - }, - fromProtoMsg(message: MsgWithdrawDelegatorRewardProtoMsg): MsgWithdrawDelegatorReward { - return MsgWithdrawDelegatorReward.decode(message.value); - }, - toProto(message: MsgWithdrawDelegatorReward): Uint8Array { - return MsgWithdrawDelegatorReward.encode(message).finish(); - }, - toProtoMsg(message: MsgWithdrawDelegatorReward): MsgWithdrawDelegatorRewardProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", - value: MsgWithdrawDelegatorReward.encode(message).finish() - }; - } -}; -function createBaseMsgWithdrawDelegatorRewardResponse(): MsgWithdrawDelegatorRewardResponse { - return { - amount: [] - }; -} -export const MsgWithdrawDelegatorRewardResponse = { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse", - aminoType: "cosmos-sdk/MsgWithdrawDelegatorRewardResponse", - encode(message: MsgWithdrawDelegatorRewardResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawDelegatorRewardResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgWithdrawDelegatorRewardResponse { - const obj = createBaseMsgWithdrawDelegatorRewardResponse(); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: MsgWithdrawDelegatorRewardResponse): unknown { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgWithdrawDelegatorRewardResponse { - const message = createBaseMsgWithdrawDelegatorRewardResponse(); - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgWithdrawDelegatorRewardResponseSDKType): MsgWithdrawDelegatorRewardResponse { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseSDKType { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAmino(object: MsgWithdrawDelegatorRewardResponseAmino): MsgWithdrawDelegatorRewardResponse { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseAmino { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAminoMsg(object: MsgWithdrawDelegatorRewardResponseAminoMsg): MsgWithdrawDelegatorRewardResponse { - return MsgWithdrawDelegatorRewardResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseAminoMsg { - return { - type: "cosmos-sdk/MsgWithdrawDelegatorRewardResponse", - value: MsgWithdrawDelegatorRewardResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgWithdrawDelegatorRewardResponseProtoMsg): MsgWithdrawDelegatorRewardResponse { - return MsgWithdrawDelegatorRewardResponse.decode(message.value); - }, - toProto(message: MsgWithdrawDelegatorRewardResponse): Uint8Array { - return MsgWithdrawDelegatorRewardResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgWithdrawDelegatorRewardResponse): MsgWithdrawDelegatorRewardResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse", - value: MsgWithdrawDelegatorRewardResponse.encode(message).finish() - }; - } -}; -function createBaseMsgWithdrawValidatorCommission(): MsgWithdrawValidatorCommission { - return { - validatorAddress: "" - }; -} -export const MsgWithdrawValidatorCommission = { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - aminoType: "cosmos-sdk/MsgWithdrawValidatorCommission", - encode(message: MsgWithdrawValidatorCommission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddress !== "") { - writer.uint32(10).string(message.validatorAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawValidatorCommission(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgWithdrawValidatorCommission { - const obj = createBaseMsgWithdrawValidatorCommission(); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - return obj; - }, - toJSON(message: MsgWithdrawValidatorCommission): unknown { - const obj: any = {}; - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, - fromPartial(object: DeepPartial): MsgWithdrawValidatorCommission { - const message = createBaseMsgWithdrawValidatorCommission(); - message.validatorAddress = object.validatorAddress ?? ""; - return message; - }, - fromSDK(object: MsgWithdrawValidatorCommissionSDKType): MsgWithdrawValidatorCommission { - return { - validatorAddress: object?.validator_address - }; - }, - toSDK(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionSDKType { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAmino(object: MsgWithdrawValidatorCommissionAmino): MsgWithdrawValidatorCommission { - return { - validatorAddress: object.validator_address - }; - }, - toAmino(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionAmino { - const obj: any = {}; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAminoMsg(object: MsgWithdrawValidatorCommissionAminoMsg): MsgWithdrawValidatorCommission { - return MsgWithdrawValidatorCommission.fromAmino(object.value); - }, - toAminoMsg(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionAminoMsg { - return { - type: "cosmos-sdk/MsgWithdrawValidatorCommission", - value: MsgWithdrawValidatorCommission.toAmino(message) - }; - }, - fromProtoMsg(message: MsgWithdrawValidatorCommissionProtoMsg): MsgWithdrawValidatorCommission { - return MsgWithdrawValidatorCommission.decode(message.value); - }, - toProto(message: MsgWithdrawValidatorCommission): Uint8Array { - return MsgWithdrawValidatorCommission.encode(message).finish(); - }, - toProtoMsg(message: MsgWithdrawValidatorCommission): MsgWithdrawValidatorCommissionProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", - value: MsgWithdrawValidatorCommission.encode(message).finish() - }; - } -}; -function createBaseMsgWithdrawValidatorCommissionResponse(): MsgWithdrawValidatorCommissionResponse { - return { - amount: [] - }; -} -export const MsgWithdrawValidatorCommissionResponse = { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse", - aminoType: "cosmos-sdk/MsgWithdrawValidatorCommissionResponse", - encode(message: MsgWithdrawValidatorCommissionResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawValidatorCommissionResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgWithdrawValidatorCommissionResponse { - const obj = createBaseMsgWithdrawValidatorCommissionResponse(); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: MsgWithdrawValidatorCommissionResponse): unknown { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgWithdrawValidatorCommissionResponse { - const message = createBaseMsgWithdrawValidatorCommissionResponse(); - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgWithdrawValidatorCommissionResponseSDKType): MsgWithdrawValidatorCommissionResponse { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseSDKType { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAmino(object: MsgWithdrawValidatorCommissionResponseAmino): MsgWithdrawValidatorCommissionResponse { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseAmino { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAminoMsg(object: MsgWithdrawValidatorCommissionResponseAminoMsg): MsgWithdrawValidatorCommissionResponse { - return MsgWithdrawValidatorCommissionResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseAminoMsg { - return { - type: "cosmos-sdk/MsgWithdrawValidatorCommissionResponse", - value: MsgWithdrawValidatorCommissionResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgWithdrawValidatorCommissionResponseProtoMsg): MsgWithdrawValidatorCommissionResponse { - return MsgWithdrawValidatorCommissionResponse.decode(message.value); - }, - toProto(message: MsgWithdrawValidatorCommissionResponse): Uint8Array { - return MsgWithdrawValidatorCommissionResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgWithdrawValidatorCommissionResponse): MsgWithdrawValidatorCommissionResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse", - value: MsgWithdrawValidatorCommissionResponse.encode(message).finish() - }; - } -}; -function createBaseMsgFundCommunityPool(): MsgFundCommunityPool { - return { - amount: [], - depositor: "" - }; -} -export const MsgFundCommunityPool = { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - aminoType: "cosmos-sdk/MsgFundCommunityPool", - encode(message: MsgFundCommunityPool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgFundCommunityPool(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - case 2: - message.depositor = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgFundCommunityPool { - const obj = createBaseMsgFundCommunityPool(); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.depositor)) obj.depositor = String(object.depositor); - return obj; - }, - toJSON(message: MsgFundCommunityPool): unknown { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - message.depositor !== undefined && (obj.depositor = message.depositor); - return obj; - }, - fromPartial(object: DeepPartial): MsgFundCommunityPool { - const message = createBaseMsgFundCommunityPool(); - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - message.depositor = object.depositor ?? ""; - return message; - }, - fromSDK(object: MsgFundCommunityPoolSDKType): MsgFundCommunityPool { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [], - depositor: object?.depositor - }; - }, - toSDK(message: MsgFundCommunityPool): MsgFundCommunityPoolSDKType { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - obj.depositor = message.depositor; - return obj; - }, - fromAmino(object: MsgFundCommunityPoolAmino): MsgFundCommunityPool { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [], - depositor: object.depositor - }; - }, - toAmino(message: MsgFundCommunityPool): MsgFundCommunityPoolAmino { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - obj.depositor = message.depositor; - return obj; - }, - fromAminoMsg(object: MsgFundCommunityPoolAminoMsg): MsgFundCommunityPool { - return MsgFundCommunityPool.fromAmino(object.value); - }, - toAminoMsg(message: MsgFundCommunityPool): MsgFundCommunityPoolAminoMsg { - return { - type: "cosmos-sdk/MsgFundCommunityPool", - value: MsgFundCommunityPool.toAmino(message) - }; - }, - fromProtoMsg(message: MsgFundCommunityPoolProtoMsg): MsgFundCommunityPool { - return MsgFundCommunityPool.decode(message.value); - }, - toProto(message: MsgFundCommunityPool): Uint8Array { - return MsgFundCommunityPool.encode(message).finish(); - }, - toProtoMsg(message: MsgFundCommunityPool): MsgFundCommunityPoolProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool", - value: MsgFundCommunityPool.encode(message).finish() - }; - } -}; -function createBaseMsgFundCommunityPoolResponse(): MsgFundCommunityPoolResponse { - return {}; -} -export const MsgFundCommunityPoolResponse = { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse", - aminoType: "cosmos-sdk/MsgFundCommunityPoolResponse", - encode(_: MsgFundCommunityPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgFundCommunityPoolResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgFundCommunityPoolResponse { - const obj = createBaseMsgFundCommunityPoolResponse(); - return obj; - }, - toJSON(_: MsgFundCommunityPoolResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgFundCommunityPoolResponse { - const message = createBaseMsgFundCommunityPoolResponse(); - return message; - }, - fromSDK(_: MsgFundCommunityPoolResponseSDKType): MsgFundCommunityPoolResponse { - return {}; - }, - toSDK(_: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgFundCommunityPoolResponseAmino): MsgFundCommunityPoolResponse { - return {}; - }, - toAmino(_: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgFundCommunityPoolResponseAminoMsg): MsgFundCommunityPoolResponse { - return MsgFundCommunityPoolResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseAminoMsg { - return { - type: "cosmos-sdk/MsgFundCommunityPoolResponse", - value: MsgFundCommunityPoolResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgFundCommunityPoolResponseProtoMsg): MsgFundCommunityPoolResponse { - return MsgFundCommunityPoolResponse.decode(message.value); - }, - toProto(message: MsgFundCommunityPoolResponse): Uint8Array { - return MsgFundCommunityPoolResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgFundCommunityPoolResponse): MsgFundCommunityPoolResponseProtoMsg { - return { - typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse", - value: MsgFundCommunityPoolResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/evidence.ts b/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/evidence.ts deleted file mode 100644 index ba9a57faa..000000000 --- a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/evidence.ts +++ /dev/null @@ -1,176 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Long, toTimestamp, fromTimestamp, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.evidence.v1beta1"; -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface Equivocation { - height: Long; - time: Date; - power: Long; - consensusAddress: string; -} -export interface EquivocationProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.Equivocation"; - value: Uint8Array; -} -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface EquivocationAmino { - height: string; - time?: Date; - power: string; - consensus_address: string; -} -export interface EquivocationAminoMsg { - type: "cosmos-sdk/Equivocation"; - value: EquivocationAmino; -} -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface EquivocationSDKType { - height: Long; - time: Date; - power: Long; - consensus_address: string; -} -function createBaseEquivocation(): Equivocation { - return { - height: Long.ZERO, - time: new Date(), - power: Long.ZERO, - consensusAddress: "" - }; -} -export const Equivocation = { - typeUrl: "/cosmos.evidence.v1beta1.Equivocation", - aminoType: "cosmos-sdk/Equivocation", - encode(message: Equivocation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - if (message.time !== undefined) { - Timestamp.encode(toTimestamp(message.time), writer.uint32(18).fork()).ldelim(); - } - if (!message.power.isZero()) { - writer.uint32(24).int64(message.power); - } - if (message.consensusAddress !== "") { - writer.uint32(34).string(message.consensusAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Equivocation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEquivocation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - case 2: - message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 3: - message.power = (reader.int64() as Long); - break; - case 4: - message.consensusAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Equivocation { - const obj = createBaseEquivocation(); - if (isSet(object.height)) obj.height = Long.fromValue(object.height); - if (isSet(object.time)) obj.time = new Date(object.time); - if (isSet(object.power)) obj.power = Long.fromValue(object.power); - if (isSet(object.consensusAddress)) obj.consensusAddress = String(object.consensusAddress); - return obj; - }, - toJSON(message: Equivocation): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - message.time !== undefined && (obj.time = message.time.toISOString()); - message.power !== undefined && (obj.power = (message.power || Long.ZERO).toString()); - message.consensusAddress !== undefined && (obj.consensusAddress = message.consensusAddress); - return obj; - }, - fromPartial(object: DeepPartial): Equivocation { - const message = createBaseEquivocation(); - if (object.height !== undefined && object.height !== null) { - message.height = Long.fromValue(object.height); - } - message.time = object.time ?? undefined; - if (object.power !== undefined && object.power !== null) { - message.power = Long.fromValue(object.power); - } - message.consensusAddress = object.consensusAddress ?? ""; - return message; - }, - fromSDK(object: EquivocationSDKType): Equivocation { - return { - height: object?.height, - time: object.time ?? undefined, - power: object?.power, - consensusAddress: object?.consensus_address - }; - }, - toSDK(message: Equivocation): EquivocationSDKType { - const obj: any = {}; - obj.height = message.height; - message.time !== undefined && (obj.time = message.time ?? undefined); - obj.power = message.power; - obj.consensus_address = message.consensusAddress; - return obj; - }, - fromAmino(object: EquivocationAmino): Equivocation { - return { - height: Long.fromString(object.height), - time: object.time, - power: Long.fromString(object.power), - consensusAddress: object.consensus_address - }; - }, - toAmino(message: Equivocation): EquivocationAmino { - const obj: any = {}; - obj.height = message.height ? message.height.toString() : undefined; - obj.time = message.time; - obj.power = message.power ? message.power.toString() : undefined; - obj.consensus_address = message.consensusAddress; - return obj; - }, - fromAminoMsg(object: EquivocationAminoMsg): Equivocation { - return Equivocation.fromAmino(object.value); - }, - toAminoMsg(message: Equivocation): EquivocationAminoMsg { - return { - type: "cosmos-sdk/Equivocation", - value: Equivocation.toAmino(message) - }; - }, - fromProtoMsg(message: EquivocationProtoMsg): Equivocation { - return Equivocation.decode(message.value); - }, - toProto(message: Equivocation): Uint8Array { - return Equivocation.encode(message).finish(); - }, - toProtoMsg(message: Equivocation): EquivocationProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.Equivocation", - value: Equivocation.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/genesis.ts deleted file mode 100644 index e652e6136..000000000 --- a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/genesis.ts +++ /dev/null @@ -1,126 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.evidence.v1beta1"; -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisState { - /** evidence defines all the evidence at genesis. */ - evidence: Any[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisStateAmino { - /** evidence defines all the evidence at genesis. */ - evidence: AnyAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the evidence module's genesis state. */ -export interface GenesisStateSDKType { - evidence: AnySDKType[]; -} -function createBaseGenesisState(): GenesisState { - return { - evidence: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.evidence.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.evidence) { - Any.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.evidence.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (Array.isArray(object?.evidence)) obj.evidence = object.evidence.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - if (message.evidence) { - obj.evidence = message.evidence.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.evidence = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - message.evidence = object.evidence?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - evidence: Array.isArray(object?.evidence) ? object.evidence.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - if (message.evidence) { - obj.evidence = message.evidence.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.evidence = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - evidence: Array.isArray(object?.evidence) ? object.evidence.map((e: any) => Any.fromAmino(e)) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - if (message.evidence) { - obj.evidence = message.evidence.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.evidence = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts deleted file mode 100644 index bbdd8151f..000000000 --- a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryEvidenceRequest, QueryEvidenceRequestSDKType, QueryEvidenceResponse, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceRequestSDKType, QueryAllEvidenceResponse, QueryAllEvidenceResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.evidence = this.evidence.bind(this); - this.allEvidence = this.allEvidence.bind(this); - } - /* Evidence queries evidence based on evidence hash. */ - async evidence(params: QueryEvidenceRequest): Promise { - const endpoint = `cosmos/evidence/v1beta1/evidence/${params.evidenceHash}`; - return await this.req.get(endpoint); - } - /* AllEvidence queries all evidence. */ - async allEvidence(params: QueryAllEvidenceRequest = { - pagination: PageRequest.fromPartial({}) - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/evidence/v1beta1/evidence`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts deleted file mode 100644 index b306e0da3..000000000 --- a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as fm from "../../../grpc-gateway"; -import { QueryEvidenceRequest, QueryEvidenceRequestSDKType, QueryEvidenceResponse, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceRequestSDKType, QueryAllEvidenceResponse, QueryAllEvidenceResponseSDKType } from "./query"; -export class Query { - /** Evidence queries evidence based on evidence hash. */ - static evidence(request: QueryEvidenceRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/evidence/v1beta1/evidence/${request["evidence_hash"]}?${fm.renderURLSearchParams({ - ...request - }, ["evidence_hash"])}`, { - ...initRequest, - method: "GET" - }); - } - /** AllEvidence queries all evidence. */ - static allEvidence(request: QueryAllEvidenceRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/evidence/v1beta1/evidence?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Evidence queries evidence based on evidence hash. */ - async evidence(req: QueryEvidenceRequest, headers?: HeadersInit): Promise { - return Query.evidence(req, { - headers, - pathPrefix: this.url - }); - } - /** AllEvidence queries all evidence. */ - async allEvidence(req: QueryAllEvidenceRequest, headers?: HeadersInit): Promise { - return Query.allEvidence(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.ts deleted file mode 100644 index 7769cc642..000000000 --- a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/query.ts +++ /dev/null @@ -1,500 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.evidence.v1beta1"; -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequest { - /** evidence_hash defines the hash of the requested evidence. */ - evidenceHash: Uint8Array; -} -export interface QueryEvidenceRequestProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceRequest"; - value: Uint8Array; -} -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequestAmino { - /** evidence_hash defines the hash of the requested evidence. */ - evidence_hash: Uint8Array; -} -export interface QueryEvidenceRequestAminoMsg { - type: "cosmos-sdk/QueryEvidenceRequest"; - value: QueryEvidenceRequestAmino; -} -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequestSDKType { - evidence_hash: Uint8Array; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponse { - /** evidence returns the requested evidence. */ - evidence: Any; -} -export interface QueryEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceResponse"; - value: Uint8Array; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponseAmino { - /** evidence returns the requested evidence. */ - evidence?: AnyAmino; -} -export interface QueryEvidenceResponseAminoMsg { - type: "cosmos-sdk/QueryEvidenceResponse"; - value: QueryEvidenceResponseAmino; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponseSDKType { - evidence: AnySDKType; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllEvidenceRequestProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceRequest"; - value: Uint8Array; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllEvidenceRequestAminoMsg { - type: "cosmos-sdk/QueryAllEvidenceRequest"; - value: QueryAllEvidenceRequestAmino; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponse { - /** evidence returns all evidences. */ - evidence: Any[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryAllEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceResponse"; - value: Uint8Array; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponseAmino { - /** evidence returns all evidences. */ - evidence: AnyAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllEvidenceResponseAminoMsg { - type: "cosmos-sdk/QueryAllEvidenceResponse"; - value: QueryAllEvidenceResponseAmino; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponseSDKType { - evidence: AnySDKType[]; - pagination: PageResponseSDKType; -} -function createBaseQueryEvidenceRequest(): QueryEvidenceRequest { - return { - evidenceHash: new Uint8Array() - }; -} -export const QueryEvidenceRequest = { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceRequest", - aminoType: "cosmos-sdk/QueryEvidenceRequest", - encode(message: QueryEvidenceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.evidenceHash.length !== 0) { - writer.uint32(10).bytes(message.evidenceHash); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryEvidenceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.evidenceHash = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryEvidenceRequest { - const obj = createBaseQueryEvidenceRequest(); - if (isSet(object.evidenceHash)) obj.evidenceHash = bytesFromBase64(object.evidenceHash); - return obj; - }, - toJSON(message: QueryEvidenceRequest): unknown { - const obj: any = {}; - message.evidenceHash !== undefined && (obj.evidenceHash = base64FromBytes(message.evidenceHash !== undefined ? message.evidenceHash : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): QueryEvidenceRequest { - const message = createBaseQueryEvidenceRequest(); - message.evidenceHash = object.evidenceHash ?? new Uint8Array(); - return message; - }, - fromSDK(object: QueryEvidenceRequestSDKType): QueryEvidenceRequest { - return { - evidenceHash: object?.evidence_hash - }; - }, - toSDK(message: QueryEvidenceRequest): QueryEvidenceRequestSDKType { - const obj: any = {}; - obj.evidence_hash = message.evidenceHash; - return obj; - }, - fromAmino(object: QueryEvidenceRequestAmino): QueryEvidenceRequest { - return { - evidenceHash: object.evidence_hash - }; - }, - toAmino(message: QueryEvidenceRequest): QueryEvidenceRequestAmino { - const obj: any = {}; - obj.evidence_hash = message.evidenceHash; - return obj; - }, - fromAminoMsg(object: QueryEvidenceRequestAminoMsg): QueryEvidenceRequest { - return QueryEvidenceRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryEvidenceRequest): QueryEvidenceRequestAminoMsg { - return { - type: "cosmos-sdk/QueryEvidenceRequest", - value: QueryEvidenceRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryEvidenceRequestProtoMsg): QueryEvidenceRequest { - return QueryEvidenceRequest.decode(message.value); - }, - toProto(message: QueryEvidenceRequest): Uint8Array { - return QueryEvidenceRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryEvidenceRequest): QueryEvidenceRequestProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceRequest", - value: QueryEvidenceRequest.encode(message).finish() - }; - } -}; -function createBaseQueryEvidenceResponse(): QueryEvidenceResponse { - return { - evidence: Any.fromPartial({}) - }; -} -export const QueryEvidenceResponse = { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceResponse", - aminoType: "cosmos-sdk/QueryEvidenceResponse", - encode(message: QueryEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.evidence !== undefined) { - Any.encode(message.evidence, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryEvidenceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.evidence = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryEvidenceResponse { - const obj = createBaseQueryEvidenceResponse(); - if (isSet(object.evidence)) obj.evidence = Any.fromJSON(object.evidence); - return obj; - }, - toJSON(message: QueryEvidenceResponse): unknown { - const obj: any = {}; - message.evidence !== undefined && (obj.evidence = message.evidence ? Any.toJSON(message.evidence) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryEvidenceResponse { - const message = createBaseQueryEvidenceResponse(); - if (object.evidence !== undefined && object.evidence !== null) { - message.evidence = Any.fromPartial(object.evidence); - } - return message; - }, - fromSDK(object: QueryEvidenceResponseSDKType): QueryEvidenceResponse { - return { - evidence: object.evidence ? Any.fromSDK(object.evidence) : undefined - }; - }, - toSDK(message: QueryEvidenceResponse): QueryEvidenceResponseSDKType { - const obj: any = {}; - message.evidence !== undefined && (obj.evidence = message.evidence ? Any.toSDK(message.evidence) : undefined); - return obj; - }, - fromAmino(object: QueryEvidenceResponseAmino): QueryEvidenceResponse { - return { - evidence: object?.evidence ? Any.fromAmino(object.evidence) : undefined - }; - }, - toAmino(message: QueryEvidenceResponse): QueryEvidenceResponseAmino { - const obj: any = {}; - obj.evidence = message.evidence ? Any.toAmino(message.evidence) : undefined; - return obj; - }, - fromAminoMsg(object: QueryEvidenceResponseAminoMsg): QueryEvidenceResponse { - return QueryEvidenceResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryEvidenceResponse): QueryEvidenceResponseAminoMsg { - return { - type: "cosmos-sdk/QueryEvidenceResponse", - value: QueryEvidenceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryEvidenceResponseProtoMsg): QueryEvidenceResponse { - return QueryEvidenceResponse.decode(message.value); - }, - toProto(message: QueryEvidenceResponse): Uint8Array { - return QueryEvidenceResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryEvidenceResponse): QueryEvidenceResponseProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.QueryEvidenceResponse", - value: QueryEvidenceResponse.encode(message).finish() - }; - } -}; -function createBaseQueryAllEvidenceRequest(): QueryAllEvidenceRequest { - return { - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryAllEvidenceRequest = { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceRequest", - aminoType: "cosmos-sdk/QueryAllEvidenceRequest", - encode(message: QueryAllEvidenceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllEvidenceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllEvidenceRequest { - const obj = createBaseQueryAllEvidenceRequest(); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAllEvidenceRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllEvidenceRequest { - const message = createBaseQueryAllEvidenceRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAllEvidenceRequestSDKType): QueryAllEvidenceRequest { - return { - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestSDKType { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAllEvidenceRequestAmino): QueryAllEvidenceRequest { - return { - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllEvidenceRequestAminoMsg): QueryAllEvidenceRequest { - return QueryAllEvidenceRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestAminoMsg { - return { - type: "cosmos-sdk/QueryAllEvidenceRequest", - value: QueryAllEvidenceRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllEvidenceRequestProtoMsg): QueryAllEvidenceRequest { - return QueryAllEvidenceRequest.decode(message.value); - }, - toProto(message: QueryAllEvidenceRequest): Uint8Array { - return QueryAllEvidenceRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAllEvidenceRequest): QueryAllEvidenceRequestProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceRequest", - value: QueryAllEvidenceRequest.encode(message).finish() - }; - } -}; -function createBaseQueryAllEvidenceResponse(): QueryAllEvidenceResponse { - return { - evidence: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryAllEvidenceResponse = { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceResponse", - aminoType: "cosmos-sdk/QueryAllEvidenceResponse", - encode(message: QueryAllEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.evidence) { - Any.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllEvidenceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.evidence.push(Any.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllEvidenceResponse { - const obj = createBaseQueryAllEvidenceResponse(); - if (Array.isArray(object?.evidence)) obj.evidence = object.evidence.map((e: any) => Any.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAllEvidenceResponse): unknown { - const obj: any = {}; - if (message.evidence) { - obj.evidence = message.evidence.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.evidence = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllEvidenceResponse { - const message = createBaseQueryAllEvidenceResponse(); - message.evidence = object.evidence?.map(e => Any.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAllEvidenceResponseSDKType): QueryAllEvidenceResponse { - return { - evidence: Array.isArray(object?.evidence) ? object.evidence.map((e: any) => Any.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseSDKType { - const obj: any = {}; - if (message.evidence) { - obj.evidence = message.evidence.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.evidence = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAllEvidenceResponseAmino): QueryAllEvidenceResponse { - return { - evidence: Array.isArray(object?.evidence) ? object.evidence.map((e: any) => Any.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseAmino { - const obj: any = {}; - if (message.evidence) { - obj.evidence = message.evidence.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.evidence = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllEvidenceResponseAminoMsg): QueryAllEvidenceResponse { - return QueryAllEvidenceResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseAminoMsg { - return { - type: "cosmos-sdk/QueryAllEvidenceResponse", - value: QueryAllEvidenceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllEvidenceResponseProtoMsg): QueryAllEvidenceResponse { - return QueryAllEvidenceResponse.decode(message.value); - }, - toProto(message: QueryAllEvidenceResponse): Uint8Array { - return QueryAllEvidenceResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAllEvidenceResponse): QueryAllEvidenceResponseProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.QueryAllEvidenceResponse", - value: QueryAllEvidenceResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts deleted file mode 100644 index 5d4b94f4f..000000000 --- a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { MsgSubmitEvidence, MsgSubmitEvidenceSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.evidence.v1beta1.MsgSubmitEvidence": { - aminoType: "cosmos-sdk/MsgSubmitEvidence", - toAmino: MsgSubmitEvidence.toAmino, - fromAmino: MsgSubmitEvidence.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts deleted file mode 100644 index 1bf0a3d4d..000000000 --- a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSubmitEvidence, MsgSubmitEvidenceSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.evidence.v1beta1.MsgSubmitEvidence", MsgSubmitEvidence]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - submitEvidence(value: MsgSubmitEvidence) { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value: MsgSubmitEvidence.encode(value).finish() - }; - } - }, - withTypeUrl: { - submitEvidence(value: MsgSubmitEvidence) { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value - }; - } - }, - toJSON: { - submitEvidence(value: MsgSubmitEvidence) { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value: MsgSubmitEvidence.toJSON(value) - }; - } - }, - fromJSON: { - submitEvidence(value: any) { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value: MsgSubmitEvidence.fromJSON(value) - }; - } - }, - fromPartial: { - submitEvidence(value: MsgSubmitEvidence) { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value: MsgSubmitEvidence.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 596c60d5d..000000000 --- a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as fm from "../../../grpc-gateway"; -import { MsgSubmitEvidence, MsgSubmitEvidenceSDKType, MsgSubmitEvidenceResponse, MsgSubmitEvidenceResponseSDKType } from "./tx"; -export class Msg { - /** - * SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or - * counterfactual signing. - */ - static submitEvidence(request: MsgSubmitEvidence, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.evidence.v1beta1/submitEvidence`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.ts deleted file mode 100644 index 984e5ec03..000000000 --- a/quicksilverjs/src/codegen/cosmos/evidence/v1beta1/tx.ts +++ /dev/null @@ -1,267 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers"; -export const protobufPackage = "cosmos.evidence.v1beta1"; -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidence { - submitter: string; - evidence: Any | undefined; -} -export interface MsgSubmitEvidenceProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence"; - value: Uint8Array; -} -export type MsgSubmitEvidenceEncoded = Omit & { - evidence?: AnyProtoMsg | undefined; -}; -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidenceAmino { - submitter: string; - evidence?: AnyAmino; -} -export interface MsgSubmitEvidenceAminoMsg { - type: "cosmos-sdk/MsgSubmitEvidence"; - value: MsgSubmitEvidenceAmino; -} -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidenceSDKType { - submitter: string; - evidence: AnySDKType | undefined; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponse { - /** hash defines the hash of the evidence. */ - hash: Uint8Array; -} -export interface MsgSubmitEvidenceResponseProtoMsg { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse"; - value: Uint8Array; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponseAmino { - /** hash defines the hash of the evidence. */ - hash: Uint8Array; -} -export interface MsgSubmitEvidenceResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitEvidenceResponse"; - value: MsgSubmitEvidenceResponseAmino; -} -/** MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. */ -export interface MsgSubmitEvidenceResponseSDKType { - hash: Uint8Array; -} -function createBaseMsgSubmitEvidence(): MsgSubmitEvidence { - return { - submitter: "", - evidence: Any.fromPartial({}) - }; -} -export const MsgSubmitEvidence = { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - aminoType: "cosmos-sdk/MsgSubmitEvidence", - encode(message: MsgSubmitEvidence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.submitter !== "") { - writer.uint32(10).string(message.submitter); - } - if (message.evidence !== undefined) { - Any.encode((message.evidence as Any), writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidence { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitEvidence(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.submitter = reader.string(); - break; - case 2: - message.evidence = (Evidence_InterfaceDecoder(reader) as Any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSubmitEvidence { - const obj = createBaseMsgSubmitEvidence(); - if (isSet(object.submitter)) obj.submitter = String(object.submitter); - if (isSet(object.evidence)) obj.evidence = Any.fromJSON(object.evidence); - return obj; - }, - toJSON(message: MsgSubmitEvidence): unknown { - const obj: any = {}; - message.submitter !== undefined && (obj.submitter = message.submitter); - message.evidence !== undefined && (obj.evidence = message.evidence ? Any.toJSON(message.evidence) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgSubmitEvidence { - const message = createBaseMsgSubmitEvidence(); - message.submitter = object.submitter ?? ""; - if (object.evidence !== undefined && object.evidence !== null) { - message.evidence = Any.fromPartial(object.evidence); - } - return message; - }, - fromSDK(object: MsgSubmitEvidenceSDKType): MsgSubmitEvidence { - return { - submitter: object?.submitter, - evidence: object.evidence ? Any.fromSDK(object.evidence) : undefined - }; - }, - toSDK(message: MsgSubmitEvidence): MsgSubmitEvidenceSDKType { - const obj: any = {}; - obj.submitter = message.submitter; - message.evidence !== undefined && (obj.evidence = message.evidence ? Any.toSDK(message.evidence) : undefined); - return obj; - }, - fromAmino(object: MsgSubmitEvidenceAmino): MsgSubmitEvidence { - return { - submitter: object.submitter, - evidence: object?.evidence ? Evidence_FromAmino(object.evidence) : undefined - }; - }, - toAmino(message: MsgSubmitEvidence): MsgSubmitEvidenceAmino { - const obj: any = {}; - obj.submitter = message.submitter; - obj.evidence = message.evidence ? Evidence_ToAmino((message.evidence as Any)) : undefined; - return obj; - }, - fromAminoMsg(object: MsgSubmitEvidenceAminoMsg): MsgSubmitEvidence { - return MsgSubmitEvidence.fromAmino(object.value); - }, - toAminoMsg(message: MsgSubmitEvidence): MsgSubmitEvidenceAminoMsg { - return { - type: "cosmos-sdk/MsgSubmitEvidence", - value: MsgSubmitEvidence.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSubmitEvidenceProtoMsg): MsgSubmitEvidence { - return MsgSubmitEvidence.decode(message.value); - }, - toProto(message: MsgSubmitEvidence): Uint8Array { - return MsgSubmitEvidence.encode(message).finish(); - }, - toProtoMsg(message: MsgSubmitEvidence): MsgSubmitEvidenceProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidence", - value: MsgSubmitEvidence.encode(message).finish() - }; - } -}; -function createBaseMsgSubmitEvidenceResponse(): MsgSubmitEvidenceResponse { - return { - hash: new Uint8Array() - }; -} -export const MsgSubmitEvidenceResponse = { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse", - aminoType: "cosmos-sdk/MsgSubmitEvidenceResponse", - encode(message: MsgSubmitEvidenceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash.length !== 0) { - writer.uint32(34).bytes(message.hash); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitEvidenceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 4: - message.hash = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSubmitEvidenceResponse { - const obj = createBaseMsgSubmitEvidenceResponse(); - if (isSet(object.hash)) obj.hash = bytesFromBase64(object.hash); - return obj; - }, - toJSON(message: MsgSubmitEvidenceResponse): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = base64FromBytes(message.hash !== undefined ? message.hash : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): MsgSubmitEvidenceResponse { - const message = createBaseMsgSubmitEvidenceResponse(); - message.hash = object.hash ?? new Uint8Array(); - return message; - }, - fromSDK(object: MsgSubmitEvidenceResponseSDKType): MsgSubmitEvidenceResponse { - return { - hash: object?.hash - }; - }, - toSDK(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseSDKType { - const obj: any = {}; - obj.hash = message.hash; - return obj; - }, - fromAmino(object: MsgSubmitEvidenceResponseAmino): MsgSubmitEvidenceResponse { - return { - hash: object.hash - }; - }, - toAmino(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseAmino { - const obj: any = {}; - obj.hash = message.hash; - return obj; - }, - fromAminoMsg(object: MsgSubmitEvidenceResponseAminoMsg): MsgSubmitEvidenceResponse { - return MsgSubmitEvidenceResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseAminoMsg { - return { - type: "cosmos-sdk/MsgSubmitEvidenceResponse", - value: MsgSubmitEvidenceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSubmitEvidenceResponseProtoMsg): MsgSubmitEvidenceResponse { - return MsgSubmitEvidenceResponse.decode(message.value); - }, - toProto(message: MsgSubmitEvidenceResponse): Uint8Array { - return MsgSubmitEvidenceResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgSubmitEvidenceResponse): MsgSubmitEvidenceResponseProtoMsg { - return { - typeUrl: "/cosmos.evidence.v1beta1.MsgSubmitEvidenceResponse", - value: MsgSubmitEvidenceResponse.encode(message).finish() - }; - } -}; -export const Evidence_InterfaceDecoder = (input: _m0.Reader | Uint8Array): Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - default: - return data; - } -}; -export const Evidence_FromAmino = (content: AnyAmino) => { - return Any.fromAmino(content); -}; -export const Evidence_ToAmino = (content: Any) => { - return Any.toAmino(content); -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts b/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts deleted file mode 100644 index eb8152a7b..000000000 --- a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +++ /dev/null @@ -1,763 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { toTimestamp, fromTimestamp, isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.feegrant.v1beta1"; -/** - * BasicAllowance implements Allowance with a one-time grant of tokens - * that optionally expires. The grantee can use up to SpendLimit to cover fees. - */ -export interface BasicAllowance { - /** - * spend_limit specifies the maximum amount of tokens that can be spent - * by this allowance and will be updated as tokens are spent. If it is - * empty, there is no spend limit and any amount of coins can be spent. - */ - spendLimit: Coin[]; - /** expiration specifies an optional time when this allowance expires */ - expiration: Date; -} -export interface BasicAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance"; - value: Uint8Array; -} -/** - * BasicAllowance implements Allowance with a one-time grant of tokens - * that optionally expires. The grantee can use up to SpendLimit to cover fees. - */ -export interface BasicAllowanceAmino { - /** - * spend_limit specifies the maximum amount of tokens that can be spent - * by this allowance and will be updated as tokens are spent. If it is - * empty, there is no spend limit and any amount of coins can be spent. - */ - spend_limit: CoinAmino[]; - /** expiration specifies an optional time when this allowance expires */ - expiration?: Date; -} -export interface BasicAllowanceAminoMsg { - type: "cosmos-sdk/BasicAllowance"; - value: BasicAllowanceAmino; -} -/** - * BasicAllowance implements Allowance with a one-time grant of tokens - * that optionally expires. The grantee can use up to SpendLimit to cover fees. - */ -export interface BasicAllowanceSDKType { - spend_limit: CoinSDKType[]; - expiration: Date; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ -export interface PeriodicAllowance { - /** basic specifies a struct of `BasicAllowance` */ - basic: BasicAllowance; - /** - * period specifies the time duration in which period_spend_limit coins can - * be spent before that allowance is reset - */ - period: Duration; - /** - * period_spend_limit specifies the maximum number of coins that can be spent - * in the period - */ - periodSpendLimit: Coin[]; - /** period_can_spend is the number of coins left to be spent before the period_reset time */ - periodCanSpend: Coin[]; - /** - * period_reset is the time at which this period resets and a new one begins, - * it is calculated from the start time of the first transaction after the - * last period ended - */ - periodReset: Date; -} -export interface PeriodicAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.PeriodicAllowance"; - value: Uint8Array; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ -export interface PeriodicAllowanceAmino { - /** basic specifies a struct of `BasicAllowance` */ - basic?: BasicAllowanceAmino; - /** - * period specifies the time duration in which period_spend_limit coins can - * be spent before that allowance is reset - */ - period?: DurationAmino; - /** - * period_spend_limit specifies the maximum number of coins that can be spent - * in the period - */ - period_spend_limit: CoinAmino[]; - /** period_can_spend is the number of coins left to be spent before the period_reset time */ - period_can_spend: CoinAmino[]; - /** - * period_reset is the time at which this period resets and a new one begins, - * it is calculated from the start time of the first transaction after the - * last period ended - */ - period_reset?: Date; -} -export interface PeriodicAllowanceAminoMsg { - type: "cosmos-sdk/PeriodicAllowance"; - value: PeriodicAllowanceAmino; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ -export interface PeriodicAllowanceSDKType { - basic: BasicAllowanceSDKType; - period: DurationSDKType; - period_spend_limit: CoinSDKType[]; - period_can_spend: CoinSDKType[]; - period_reset: Date; -} -/** AllowedMsgAllowance creates allowance only for specified message types. */ -export interface AllowedMsgAllowance { - /** allowance can be any of basic and periodic fee allowance. */ - allowance: BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any | undefined; - /** allowed_messages are the messages for which the grantee has the access. */ - allowedMessages: string[]; -} -export interface AllowedMsgAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance"; - value: Uint8Array; -} -export type AllowedMsgAllowanceEncoded = Omit & { - /** allowance can be any of basic and periodic fee allowance. */allowance?: BasicAllowanceProtoMsg | PeriodicAllowanceProtoMsg | AllowedMsgAllowanceProtoMsg | AnyProtoMsg | undefined; -}; -/** AllowedMsgAllowance creates allowance only for specified message types. */ -export interface AllowedMsgAllowanceAmino { - /** allowance can be any of basic and periodic fee allowance. */ - allowance?: AnyAmino; - /** allowed_messages are the messages for which the grantee has the access. */ - allowed_messages: string[]; -} -export interface AllowedMsgAllowanceAminoMsg { - type: "cosmos-sdk/AllowedMsgAllowance"; - value: AllowedMsgAllowanceAmino; -} -/** AllowedMsgAllowance creates allowance only for specified message types. */ -export interface AllowedMsgAllowanceSDKType { - allowance: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined; - allowed_messages: string[]; -} -/** Grant is stored in the KVStore to record a grant with full context */ -export interface Grant { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any | undefined; -} -export interface GrantProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.Grant"; - value: Uint8Array; -} -export type GrantEncoded = Omit & { - /** allowance can be any of basic, periodic, allowed fee allowance. */allowance?: BasicAllowanceProtoMsg | PeriodicAllowanceProtoMsg | AllowedMsgAllowanceProtoMsg | AnyProtoMsg | undefined; -}; -/** Grant is stored in the KVStore to record a grant with full context */ -export interface GrantAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance?: AnyAmino; -} -export interface GrantAminoMsg { - type: "cosmos-sdk/Grant"; - value: GrantAmino; -} -/** Grant is stored in the KVStore to record a grant with full context */ -export interface GrantSDKType { - granter: string; - grantee: string; - allowance: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined; -} -function createBaseBasicAllowance(): BasicAllowance { - return { - spendLimit: [], - expiration: new Date() - }; -} -export const BasicAllowance = { - typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance", - aminoType: "cosmos-sdk/BasicAllowance", - encode(message: BasicAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.spendLimit) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.expiration !== undefined) { - Timestamp.encode(toTimestamp(message.expiration), writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BasicAllowance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBasicAllowance(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.spendLimit.push(Coin.decode(reader, reader.uint32())); - break; - case 2: - message.expiration = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BasicAllowance { - const obj = createBaseBasicAllowance(); - if (Array.isArray(object?.spendLimit)) obj.spendLimit = object.spendLimit.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.expiration)) obj.expiration = new Date(object.expiration); - return obj; - }, - toJSON(message: BasicAllowance): unknown { - const obj: any = {}; - if (message.spendLimit) { - obj.spendLimit = message.spendLimit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.spendLimit = []; - } - message.expiration !== undefined && (obj.expiration = message.expiration.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): BasicAllowance { - const message = createBaseBasicAllowance(); - message.spendLimit = object.spendLimit?.map(e => Coin.fromPartial(e)) || []; - message.expiration = object.expiration ?? undefined; - return message; - }, - fromSDK(object: BasicAllowanceSDKType): BasicAllowance { - return { - spendLimit: Array.isArray(object?.spend_limit) ? object.spend_limit.map((e: any) => Coin.fromSDK(e)) : [], - expiration: object.expiration ?? undefined - }; - }, - toSDK(message: BasicAllowance): BasicAllowanceSDKType { - const obj: any = {}; - if (message.spendLimit) { - obj.spend_limit = message.spendLimit.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.spend_limit = []; - } - message.expiration !== undefined && (obj.expiration = message.expiration ?? undefined); - return obj; - }, - fromAmino(object: BasicAllowanceAmino): BasicAllowance { - return { - spendLimit: Array.isArray(object?.spend_limit) ? object.spend_limit.map((e: any) => Coin.fromAmino(e)) : [], - expiration: object.expiration - }; - }, - toAmino(message: BasicAllowance): BasicAllowanceAmino { - const obj: any = {}; - if (message.spendLimit) { - obj.spend_limit = message.spendLimit.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.spend_limit = []; - } - obj.expiration = message.expiration; - return obj; - }, - fromAminoMsg(object: BasicAllowanceAminoMsg): BasicAllowance { - return BasicAllowance.fromAmino(object.value); - }, - toAminoMsg(message: BasicAllowance): BasicAllowanceAminoMsg { - return { - type: "cosmos-sdk/BasicAllowance", - value: BasicAllowance.toAmino(message) - }; - }, - fromProtoMsg(message: BasicAllowanceProtoMsg): BasicAllowance { - return BasicAllowance.decode(message.value); - }, - toProto(message: BasicAllowance): Uint8Array { - return BasicAllowance.encode(message).finish(); - }, - toProtoMsg(message: BasicAllowance): BasicAllowanceProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance", - value: BasicAllowance.encode(message).finish() - }; - } -}; -function createBasePeriodicAllowance(): PeriodicAllowance { - return { - basic: BasicAllowance.fromPartial({}), - period: Duration.fromPartial({}), - periodSpendLimit: [], - periodCanSpend: [], - periodReset: new Date() - }; -} -export const PeriodicAllowance = { - typeUrl: "/cosmos.feegrant.v1beta1.PeriodicAllowance", - aminoType: "cosmos-sdk/PeriodicAllowance", - encode(message: PeriodicAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.basic !== undefined) { - BasicAllowance.encode(message.basic, writer.uint32(10).fork()).ldelim(); - } - if (message.period !== undefined) { - Duration.encode(message.period, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.periodSpendLimit) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.periodCanSpend) { - Coin.encode(v!, writer.uint32(34).fork()).ldelim(); - } - if (message.periodReset !== undefined) { - Timestamp.encode(toTimestamp(message.periodReset), writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicAllowance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePeriodicAllowance(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.basic = BasicAllowance.decode(reader, reader.uint32()); - break; - case 2: - message.period = Duration.decode(reader, reader.uint32()); - break; - case 3: - message.periodSpendLimit.push(Coin.decode(reader, reader.uint32())); - break; - case 4: - message.periodCanSpend.push(Coin.decode(reader, reader.uint32())); - break; - case 5: - message.periodReset = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PeriodicAllowance { - const obj = createBasePeriodicAllowance(); - if (isSet(object.basic)) obj.basic = BasicAllowance.fromJSON(object.basic); - if (isSet(object.period)) obj.period = Duration.fromJSON(object.period); - if (Array.isArray(object?.periodSpendLimit)) obj.periodSpendLimit = object.periodSpendLimit.map((e: any) => Coin.fromJSON(e)); - if (Array.isArray(object?.periodCanSpend)) obj.periodCanSpend = object.periodCanSpend.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.periodReset)) obj.periodReset = new Date(object.periodReset); - return obj; - }, - toJSON(message: PeriodicAllowance): unknown { - const obj: any = {}; - message.basic !== undefined && (obj.basic = message.basic ? BasicAllowance.toJSON(message.basic) : undefined); - message.period !== undefined && (obj.period = message.period ? Duration.toJSON(message.period) : undefined); - if (message.periodSpendLimit) { - obj.periodSpendLimit = message.periodSpendLimit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.periodSpendLimit = []; - } - if (message.periodCanSpend) { - obj.periodCanSpend = message.periodCanSpend.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.periodCanSpend = []; - } - message.periodReset !== undefined && (obj.periodReset = message.periodReset.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): PeriodicAllowance { - const message = createBasePeriodicAllowance(); - if (object.basic !== undefined && object.basic !== null) { - message.basic = BasicAllowance.fromPartial(object.basic); - } - if (object.period !== undefined && object.period !== null) { - message.period = Duration.fromPartial(object.period); - } - message.periodSpendLimit = object.periodSpendLimit?.map(e => Coin.fromPartial(e)) || []; - message.periodCanSpend = object.periodCanSpend?.map(e => Coin.fromPartial(e)) || []; - message.periodReset = object.periodReset ?? undefined; - return message; - }, - fromSDK(object: PeriodicAllowanceSDKType): PeriodicAllowance { - return { - basic: object.basic ? BasicAllowance.fromSDK(object.basic) : undefined, - period: object.period ? Duration.fromSDK(object.period) : undefined, - periodSpendLimit: Array.isArray(object?.period_spend_limit) ? object.period_spend_limit.map((e: any) => Coin.fromSDK(e)) : [], - periodCanSpend: Array.isArray(object?.period_can_spend) ? object.period_can_spend.map((e: any) => Coin.fromSDK(e)) : [], - periodReset: object.period_reset ?? undefined - }; - }, - toSDK(message: PeriodicAllowance): PeriodicAllowanceSDKType { - const obj: any = {}; - message.basic !== undefined && (obj.basic = message.basic ? BasicAllowance.toSDK(message.basic) : undefined); - message.period !== undefined && (obj.period = message.period ? Duration.toSDK(message.period) : undefined); - if (message.periodSpendLimit) { - obj.period_spend_limit = message.periodSpendLimit.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.period_spend_limit = []; - } - if (message.periodCanSpend) { - obj.period_can_spend = message.periodCanSpend.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.period_can_spend = []; - } - message.periodReset !== undefined && (obj.period_reset = message.periodReset ?? undefined); - return obj; - }, - fromAmino(object: PeriodicAllowanceAmino): PeriodicAllowance { - return { - basic: object?.basic ? BasicAllowance.fromAmino(object.basic) : undefined, - period: object?.period ? Duration.fromAmino(object.period) : undefined, - periodSpendLimit: Array.isArray(object?.period_spend_limit) ? object.period_spend_limit.map((e: any) => Coin.fromAmino(e)) : [], - periodCanSpend: Array.isArray(object?.period_can_spend) ? object.period_can_spend.map((e: any) => Coin.fromAmino(e)) : [], - periodReset: object.period_reset - }; - }, - toAmino(message: PeriodicAllowance): PeriodicAllowanceAmino { - const obj: any = {}; - obj.basic = message.basic ? BasicAllowance.toAmino(message.basic) : undefined; - obj.period = message.period ? Duration.toAmino(message.period) : undefined; - if (message.periodSpendLimit) { - obj.period_spend_limit = message.periodSpendLimit.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.period_spend_limit = []; - } - if (message.periodCanSpend) { - obj.period_can_spend = message.periodCanSpend.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.period_can_spend = []; - } - obj.period_reset = message.periodReset; - return obj; - }, - fromAminoMsg(object: PeriodicAllowanceAminoMsg): PeriodicAllowance { - return PeriodicAllowance.fromAmino(object.value); - }, - toAminoMsg(message: PeriodicAllowance): PeriodicAllowanceAminoMsg { - return { - type: "cosmos-sdk/PeriodicAllowance", - value: PeriodicAllowance.toAmino(message) - }; - }, - fromProtoMsg(message: PeriodicAllowanceProtoMsg): PeriodicAllowance { - return PeriodicAllowance.decode(message.value); - }, - toProto(message: PeriodicAllowance): Uint8Array { - return PeriodicAllowance.encode(message).finish(); - }, - toProtoMsg(message: PeriodicAllowance): PeriodicAllowanceProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.PeriodicAllowance", - value: PeriodicAllowance.encode(message).finish() - }; - } -}; -function createBaseAllowedMsgAllowance(): AllowedMsgAllowance { - return { - allowance: Any.fromPartial({}), - allowedMessages: [] - }; -} -export const AllowedMsgAllowance = { - typeUrl: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance", - aminoType: "cosmos-sdk/AllowedMsgAllowance", - encode(message: AllowedMsgAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.allowance !== undefined) { - Any.encode((message.allowance as Any), writer.uint32(10).fork()).ldelim(); - } - for (const v of message.allowedMessages) { - writer.uint32(18).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AllowedMsgAllowance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAllowedMsgAllowance(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.allowance = (FeeAllowanceI_InterfaceDecoder(reader) as Any); - break; - case 2: - message.allowedMessages.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AllowedMsgAllowance { - const obj = createBaseAllowedMsgAllowance(); - if (isSet(object.allowance)) obj.allowance = Any.fromJSON(object.allowance); - if (Array.isArray(object?.allowedMessages)) obj.allowedMessages = object.allowedMessages.map((e: any) => String(e)); - return obj; - }, - toJSON(message: AllowedMsgAllowance): unknown { - const obj: any = {}; - message.allowance !== undefined && (obj.allowance = message.allowance ? Any.toJSON(message.allowance) : undefined); - if (message.allowedMessages) { - obj.allowedMessages = message.allowedMessages.map(e => e); - } else { - obj.allowedMessages = []; - } - return obj; - }, - fromPartial(object: DeepPartial): AllowedMsgAllowance { - const message = createBaseAllowedMsgAllowance(); - if (object.allowance !== undefined && object.allowance !== null) { - message.allowance = Any.fromPartial(object.allowance); - } - message.allowedMessages = object.allowedMessages?.map(e => e) || []; - return message; - }, - fromSDK(object: AllowedMsgAllowanceSDKType): AllowedMsgAllowance { - return { - allowance: object.allowance ? Any.fromSDK(object.allowance) : undefined, - allowedMessages: Array.isArray(object?.allowed_messages) ? object.allowed_messages.map((e: any) => e) : [] - }; - }, - toSDK(message: AllowedMsgAllowance): AllowedMsgAllowanceSDKType { - const obj: any = {}; - message.allowance !== undefined && (obj.allowance = message.allowance ? Any.toSDK(message.allowance) : undefined); - if (message.allowedMessages) { - obj.allowed_messages = message.allowedMessages.map(e => e); - } else { - obj.allowed_messages = []; - } - return obj; - }, - fromAmino(object: AllowedMsgAllowanceAmino): AllowedMsgAllowance { - return { - allowance: object?.allowance ? FeeAllowanceI_FromAmino(object.allowance) : undefined, - allowedMessages: Array.isArray(object?.allowed_messages) ? object.allowed_messages.map((e: any) => e) : [] - }; - }, - toAmino(message: AllowedMsgAllowance): AllowedMsgAllowanceAmino { - const obj: any = {}; - obj.allowance = message.allowance ? FeeAllowanceI_ToAmino((message.allowance as Any)) : undefined; - if (message.allowedMessages) { - obj.allowed_messages = message.allowedMessages.map(e => e); - } else { - obj.allowed_messages = []; - } - return obj; - }, - fromAminoMsg(object: AllowedMsgAllowanceAminoMsg): AllowedMsgAllowance { - return AllowedMsgAllowance.fromAmino(object.value); - }, - toAminoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceAminoMsg { - return { - type: "cosmos-sdk/AllowedMsgAllowance", - value: AllowedMsgAllowance.toAmino(message) - }; - }, - fromProtoMsg(message: AllowedMsgAllowanceProtoMsg): AllowedMsgAllowance { - return AllowedMsgAllowance.decode(message.value); - }, - toProto(message: AllowedMsgAllowance): Uint8Array { - return AllowedMsgAllowance.encode(message).finish(); - }, - toProtoMsg(message: AllowedMsgAllowance): AllowedMsgAllowanceProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance", - value: AllowedMsgAllowance.encode(message).finish() - }; - } -}; -function createBaseGrant(): Grant { - return { - granter: "", - grantee: "", - allowance: Any.fromPartial({}) - }; -} -export const Grant = { - typeUrl: "/cosmos.feegrant.v1beta1.Grant", - aminoType: "cosmos-sdk/Grant", - encode(message: Grant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - if (message.allowance !== undefined) { - Any.encode((message.allowance as Any), writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Grant { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGrant(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - case 2: - message.grantee = reader.string(); - break; - case 3: - message.allowance = (FeeAllowanceI_InterfaceDecoder(reader) as Any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Grant { - const obj = createBaseGrant(); - if (isSet(object.granter)) obj.granter = String(object.granter); - if (isSet(object.grantee)) obj.grantee = String(object.grantee); - if (isSet(object.allowance)) obj.allowance = Any.fromJSON(object.allowance); - return obj; - }, - toJSON(message: Grant): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.allowance !== undefined && (obj.allowance = message.allowance ? Any.toJSON(message.allowance) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Grant { - const message = createBaseGrant(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - if (object.allowance !== undefined && object.allowance !== null) { - message.allowance = Any.fromPartial(object.allowance); - } - return message; - }, - fromSDK(object: GrantSDKType): Grant { - return { - granter: object?.granter, - grantee: object?.grantee, - allowance: object.allowance ? Any.fromSDK(object.allowance) : undefined - }; - }, - toSDK(message: Grant): GrantSDKType { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - message.allowance !== undefined && (obj.allowance = message.allowance ? Any.toSDK(message.allowance) : undefined); - return obj; - }, - fromAmino(object: GrantAmino): Grant { - return { - granter: object.granter, - grantee: object.grantee, - allowance: object?.allowance ? FeeAllowanceI_FromAmino(object.allowance) : undefined - }; - }, - toAmino(message: Grant): GrantAmino { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - obj.allowance = message.allowance ? FeeAllowanceI_ToAmino((message.allowance as Any)) : undefined; - return obj; - }, - fromAminoMsg(object: GrantAminoMsg): Grant { - return Grant.fromAmino(object.value); - }, - toAminoMsg(message: Grant): GrantAminoMsg { - return { - type: "cosmos-sdk/Grant", - value: Grant.toAmino(message) - }; - }, - fromProtoMsg(message: GrantProtoMsg): Grant { - return Grant.decode(message.value); - }, - toProto(message: Grant): Uint8Array { - return Grant.encode(message).finish(); - }, - toProtoMsg(message: Grant): GrantProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.Grant", - value: Grant.encode(message).finish() - }; - } -}; -export const FeeAllowanceI_InterfaceDecoder = (input: _m0.Reader | Uint8Array): BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - case "/cosmos.feegrant.v1beta1.BasicAllowance": - return BasicAllowance.decode(data.value); - case "/cosmos.feegrant.v1beta1.PeriodicAllowance": - return PeriodicAllowance.decode(data.value); - case "/cosmos.feegrant.v1beta1.AllowedMsgAllowance": - return AllowedMsgAllowance.decode(data.value); - default: - return data; - } -}; -export const FeeAllowanceI_FromAmino = (content: AnyAmino) => { - switch (content.type) { - case "cosmos-sdk/BasicAllowance": - return Any.fromPartial({ - typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance", - value: BasicAllowance.encode(BasicAllowance.fromPartial(BasicAllowance.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/PeriodicAllowance": - return Any.fromPartial({ - typeUrl: "/cosmos.feegrant.v1beta1.PeriodicAllowance", - value: PeriodicAllowance.encode(PeriodicAllowance.fromPartial(PeriodicAllowance.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/AllowedMsgAllowance": - return Any.fromPartial({ - typeUrl: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance", - value: AllowedMsgAllowance.encode(AllowedMsgAllowance.fromPartial(AllowedMsgAllowance.fromAmino(content.value))).finish() - }); - default: - return Any.fromAmino(content); - } -}; -export const FeeAllowanceI_ToAmino = (content: Any) => { - switch (content.typeUrl) { - case "/cosmos.feegrant.v1beta1.BasicAllowance": - return { - type: "cosmos-sdk/BasicAllowance", - value: BasicAllowance.toAmino(BasicAllowance.decode(content.value)) - }; - case "/cosmos.feegrant.v1beta1.PeriodicAllowance": - return { - type: "cosmos-sdk/PeriodicAllowance", - value: PeriodicAllowance.toAmino(PeriodicAllowance.decode(content.value)) - }; - case "/cosmos.feegrant.v1beta1.AllowedMsgAllowance": - return { - type: "cosmos-sdk/AllowedMsgAllowance", - value: AllowedMsgAllowance.toAmino(AllowedMsgAllowance.decode(content.value)) - }; - default: - return Any.toAmino(content); - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/genesis.ts deleted file mode 100644 index 2040fcf1b..000000000 --- a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { Grant, GrantAmino, GrantSDKType } from "./feegrant"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.feegrant.v1beta1"; -/** GenesisState contains a set of fee allowances, persisted from the store */ -export interface GenesisState { - allowances: Grant[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState contains a set of fee allowances, persisted from the store */ -export interface GenesisStateAmino { - allowances: GrantAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState contains a set of fee allowances, persisted from the store */ -export interface GenesisStateSDKType { - allowances: GrantSDKType[]; -} -function createBaseGenesisState(): GenesisState { - return { - allowances: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.feegrant.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.allowances) { - Grant.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.allowances.push(Grant.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (Array.isArray(object?.allowances)) obj.allowances = object.allowances.map((e: any) => Grant.fromJSON(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toJSON(e) : undefined); - } else { - obj.allowances = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - allowances: Array.isArray(object?.allowances) ? object.allowances.map((e: any) => Grant.fromSDK(e)) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toSDK(e) : undefined); - } else { - obj.allowances = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - allowances: Array.isArray(object?.allowances) ? object.allowances.map((e: any) => Grant.fromAmino(e)) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toAmino(e) : undefined); - } else { - obj.allowances = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts deleted file mode 100644 index 8d80143e5..000000000 --- a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantSDKType } from "./feegrant"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryAllowanceRequest, QueryAllowanceRequestSDKType, QueryAllowanceResponse, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesRequestSDKType, QueryAllowancesResponse, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterRequestSDKType, QueryAllowancesByGranterResponse, QueryAllowancesByGranterResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.allowance = this.allowance.bind(this); - this.allowances = this.allowances.bind(this); - this.allowancesByGranter = this.allowancesByGranter.bind(this); - } - /* Allowance returns fee granted to the grantee by the granter. */ - async allowance(params: QueryAllowanceRequest): Promise { - const endpoint = `cosmos/feegrant/v1beta1/allowance/${params.granter}/${params.grantee}`; - return await this.req.get(endpoint); - } - /* Allowances returns all the grants for address. */ - async allowances(params: QueryAllowancesRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/feegrant/v1beta1/allowances/${params.grantee}`; - return await this.req.get(endpoint, options); - } - /* AllowancesByGranter returns all the grants given by an address - Since v0.46 */ - async allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/feegrant/v1beta1/issued/${params.granter}`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 287c1f590..000000000 --- a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantSDKType } from "./feegrant"; -import * as fm from "../../../grpc-gateway"; -import { QueryAllowanceRequest, QueryAllowanceRequestSDKType, QueryAllowanceResponse, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesRequestSDKType, QueryAllowancesResponse, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterRequestSDKType, QueryAllowancesByGranterResponse, QueryAllowancesByGranterResponseSDKType } from "./query"; -export class Query { - /** Allowance returns fee granted to the grantee by the granter. */ - static allowance(request: QueryAllowanceRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/feegrant/v1beta1/allowance/${request["granter"]}/${request["grantee"]}?${fm.renderURLSearchParams({ - ...request - }, ["granter", "grantee"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Allowances returns all the grants for address. */ - static allowances(request: QueryAllowancesRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/feegrant/v1beta1/allowances/${request["grantee"]}?${fm.renderURLSearchParams({ - ...request - }, ["grantee"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * AllowancesByGranter returns all the grants given by an address - * Since v0.46 - */ - static allowancesByGranter(request: QueryAllowancesByGranterRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/feegrant/v1beta1/issued/${request["granter"]}?${fm.renderURLSearchParams({ - ...request - }, ["granter"])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Allowance returns fee granted to the grantee by the granter. */ - async allowance(req: QueryAllowanceRequest, headers?: HeadersInit): Promise { - return Query.allowance(req, { - headers, - pathPrefix: this.url - }); - } - /** Allowances returns all the grants for address. */ - async allowances(req: QueryAllowancesRequest, headers?: HeadersInit): Promise { - return Query.allowances(req, { - headers, - pathPrefix: this.url - }); - } - /** - * AllowancesByGranter returns all the grants given by an address - * Since v0.46 - */ - async allowancesByGranter(req: QueryAllowancesByGranterRequest, headers?: HeadersInit): Promise { - return Query.allowancesByGranter(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.ts deleted file mode 100644 index 232af8fef..000000000 --- a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/query.ts +++ /dev/null @@ -1,790 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantAmino, GrantSDKType } from "./feegrant"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.feegrant.v1beta1"; -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ -export interface QueryAllowanceRequest { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; -} -export interface QueryAllowanceRequestProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceRequest"; - value: Uint8Array; -} -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ -export interface QueryAllowanceRequestAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; -} -export interface QueryAllowanceRequestAminoMsg { - type: "cosmos-sdk/QueryAllowanceRequest"; - value: QueryAllowanceRequestAmino; -} -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ -export interface QueryAllowanceRequestSDKType { - granter: string; - grantee: string; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ -export interface QueryAllowanceResponse { - /** allowance is a allowance granted for grantee by granter. */ - allowance: Grant; -} -export interface QueryAllowanceResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceResponse"; - value: Uint8Array; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ -export interface QueryAllowanceResponseAmino { - /** allowance is a allowance granted for grantee by granter. */ - allowance?: GrantAmino; -} -export interface QueryAllowanceResponseAminoMsg { - type: "cosmos-sdk/QueryAllowanceResponse"; - value: QueryAllowanceResponseAmino; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ -export interface QueryAllowanceResponseSDKType { - allowance: GrantSDKType; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ -export interface QueryAllowancesRequest { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllowancesRequestProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesRequest"; - value: Uint8Array; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ -export interface QueryAllowancesRequestAmino { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllowancesRequestAminoMsg { - type: "cosmos-sdk/QueryAllowancesRequest"; - value: QueryAllowancesRequestAmino; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ -export interface QueryAllowancesRequestSDKType { - grantee: string; - pagination: PageRequestSDKType; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ -export interface QueryAllowancesResponse { - /** allowances are allowance's granted for grantee by granter. */ - allowances: Grant[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface QueryAllowancesResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesResponse"; - value: Uint8Array; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ -export interface QueryAllowancesResponseAmino { - /** allowances are allowance's granted for grantee by granter. */ - allowances: GrantAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllowancesResponseAminoMsg { - type: "cosmos-sdk/QueryAllowancesResponse"; - value: QueryAllowancesResponseAmino; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ -export interface QueryAllowancesResponseSDKType { - allowances: GrantSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterRequest { - granter: string; - /** pagination defines an pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllowancesByGranterRequestProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest"; - value: Uint8Array; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterRequestAmino { - granter: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllowancesByGranterRequestAminoMsg { - type: "cosmos-sdk/QueryAllowancesByGranterRequest"; - value: QueryAllowancesByGranterRequestAmino; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterRequestSDKType { - granter: string; - pagination: PageRequestSDKType; -} -/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterResponse { - /** allowances that have been issued by the granter. */ - allowances: Grant[]; - /** pagination defines an pagination for the response. */ - pagination: PageResponse; -} -export interface QueryAllowancesByGranterResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse"; - value: Uint8Array; -} -/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterResponseAmino { - /** allowances that have been issued by the granter. */ - allowances: GrantAmino[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllowancesByGranterResponseAminoMsg { - type: "cosmos-sdk/QueryAllowancesByGranterResponse"; - value: QueryAllowancesByGranterResponseAmino; -} -/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterResponseSDKType { - allowances: GrantSDKType[]; - pagination: PageResponseSDKType; -} -function createBaseQueryAllowanceRequest(): QueryAllowanceRequest { - return { - granter: "", - grantee: "" - }; -} -export const QueryAllowanceRequest = { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceRequest", - aminoType: "cosmos-sdk/QueryAllowanceRequest", - encode(message: QueryAllowanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowanceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - case 2: - message.grantee = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllowanceRequest { - const obj = createBaseQueryAllowanceRequest(); - if (isSet(object.granter)) obj.granter = String(object.granter); - if (isSet(object.grantee)) obj.grantee = String(object.grantee); - return obj; - }, - toJSON(message: QueryAllowanceRequest): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllowanceRequest { - const message = createBaseQueryAllowanceRequest(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - return message; - }, - fromSDK(object: QueryAllowanceRequestSDKType): QueryAllowanceRequest { - return { - granter: object?.granter, - grantee: object?.grantee - }; - }, - toSDK(message: QueryAllowanceRequest): QueryAllowanceRequestSDKType { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - return obj; - }, - fromAmino(object: QueryAllowanceRequestAmino): QueryAllowanceRequest { - return { - granter: object.granter, - grantee: object.grantee - }; - }, - toAmino(message: QueryAllowanceRequest): QueryAllowanceRequestAmino { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - return obj; - }, - fromAminoMsg(object: QueryAllowanceRequestAminoMsg): QueryAllowanceRequest { - return QueryAllowanceRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllowanceRequest): QueryAllowanceRequestAminoMsg { - return { - type: "cosmos-sdk/QueryAllowanceRequest", - value: QueryAllowanceRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllowanceRequestProtoMsg): QueryAllowanceRequest { - return QueryAllowanceRequest.decode(message.value); - }, - toProto(message: QueryAllowanceRequest): Uint8Array { - return QueryAllowanceRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAllowanceRequest): QueryAllowanceRequestProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceRequest", - value: QueryAllowanceRequest.encode(message).finish() - }; - } -}; -function createBaseQueryAllowanceResponse(): QueryAllowanceResponse { - return { - allowance: Grant.fromPartial({}) - }; -} -export const QueryAllowanceResponse = { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceResponse", - aminoType: "cosmos-sdk/QueryAllowanceResponse", - encode(message: QueryAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.allowance !== undefined) { - Grant.encode(message.allowance, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowanceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.allowance = Grant.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllowanceResponse { - const obj = createBaseQueryAllowanceResponse(); - if (isSet(object.allowance)) obj.allowance = Grant.fromJSON(object.allowance); - return obj; - }, - toJSON(message: QueryAllowanceResponse): unknown { - const obj: any = {}; - message.allowance !== undefined && (obj.allowance = message.allowance ? Grant.toJSON(message.allowance) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllowanceResponse { - const message = createBaseQueryAllowanceResponse(); - if (object.allowance !== undefined && object.allowance !== null) { - message.allowance = Grant.fromPartial(object.allowance); - } - return message; - }, - fromSDK(object: QueryAllowanceResponseSDKType): QueryAllowanceResponse { - return { - allowance: object.allowance ? Grant.fromSDK(object.allowance) : undefined - }; - }, - toSDK(message: QueryAllowanceResponse): QueryAllowanceResponseSDKType { - const obj: any = {}; - message.allowance !== undefined && (obj.allowance = message.allowance ? Grant.toSDK(message.allowance) : undefined); - return obj; - }, - fromAmino(object: QueryAllowanceResponseAmino): QueryAllowanceResponse { - return { - allowance: object?.allowance ? Grant.fromAmino(object.allowance) : undefined - }; - }, - toAmino(message: QueryAllowanceResponse): QueryAllowanceResponseAmino { - const obj: any = {}; - obj.allowance = message.allowance ? Grant.toAmino(message.allowance) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllowanceResponseAminoMsg): QueryAllowanceResponse { - return QueryAllowanceResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllowanceResponse): QueryAllowanceResponseAminoMsg { - return { - type: "cosmos-sdk/QueryAllowanceResponse", - value: QueryAllowanceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllowanceResponseProtoMsg): QueryAllowanceResponse { - return QueryAllowanceResponse.decode(message.value); - }, - toProto(message: QueryAllowanceResponse): Uint8Array { - return QueryAllowanceResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAllowanceResponse): QueryAllowanceResponseProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowanceResponse", - value: QueryAllowanceResponse.encode(message).finish() - }; - } -}; -function createBaseQueryAllowancesRequest(): QueryAllowancesRequest { - return { - grantee: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryAllowancesRequest = { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesRequest", - aminoType: "cosmos-sdk/QueryAllowancesRequest", - encode(message: QueryAllowancesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.grantee !== "") { - writer.uint32(10).string(message.grantee); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowancesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.grantee = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllowancesRequest { - const obj = createBaseQueryAllowancesRequest(); - if (isSet(object.grantee)) obj.grantee = String(object.grantee); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAllowancesRequest): unknown { - const obj: any = {}; - message.grantee !== undefined && (obj.grantee = message.grantee); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllowancesRequest { - const message = createBaseQueryAllowancesRequest(); - message.grantee = object.grantee ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAllowancesRequestSDKType): QueryAllowancesRequest { - return { - grantee: object?.grantee, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAllowancesRequest): QueryAllowancesRequestSDKType { - const obj: any = {}; - obj.grantee = message.grantee; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAllowancesRequestAmino): QueryAllowancesRequest { - return { - grantee: object.grantee, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAllowancesRequest): QueryAllowancesRequestAmino { - const obj: any = {}; - obj.grantee = message.grantee; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllowancesRequestAminoMsg): QueryAllowancesRequest { - return QueryAllowancesRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllowancesRequest): QueryAllowancesRequestAminoMsg { - return { - type: "cosmos-sdk/QueryAllowancesRequest", - value: QueryAllowancesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllowancesRequestProtoMsg): QueryAllowancesRequest { - return QueryAllowancesRequest.decode(message.value); - }, - toProto(message: QueryAllowancesRequest): Uint8Array { - return QueryAllowancesRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAllowancesRequest): QueryAllowancesRequestProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesRequest", - value: QueryAllowancesRequest.encode(message).finish() - }; - } -}; -function createBaseQueryAllowancesResponse(): QueryAllowancesResponse { - return { - allowances: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryAllowancesResponse = { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesResponse", - aminoType: "cosmos-sdk/QueryAllowancesResponse", - encode(message: QueryAllowancesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.allowances) { - Grant.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowancesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.allowances.push(Grant.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllowancesResponse { - const obj = createBaseQueryAllowancesResponse(); - if (Array.isArray(object?.allowances)) obj.allowances = object.allowances.map((e: any) => Grant.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAllowancesResponse): unknown { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toJSON(e) : undefined); - } else { - obj.allowances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllowancesResponse { - const message = createBaseQueryAllowancesResponse(); - message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAllowancesResponseSDKType): QueryAllowancesResponse { - return { - allowances: Array.isArray(object?.allowances) ? object.allowances.map((e: any) => Grant.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAllowancesResponse): QueryAllowancesResponseSDKType { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toSDK(e) : undefined); - } else { - obj.allowances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAllowancesResponseAmino): QueryAllowancesResponse { - return { - allowances: Array.isArray(object?.allowances) ? object.allowances.map((e: any) => Grant.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAllowancesResponse): QueryAllowancesResponseAmino { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toAmino(e) : undefined); - } else { - obj.allowances = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllowancesResponseAminoMsg): QueryAllowancesResponse { - return QueryAllowancesResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllowancesResponse): QueryAllowancesResponseAminoMsg { - return { - type: "cosmos-sdk/QueryAllowancesResponse", - value: QueryAllowancesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllowancesResponseProtoMsg): QueryAllowancesResponse { - return QueryAllowancesResponse.decode(message.value); - }, - toProto(message: QueryAllowancesResponse): Uint8Array { - return QueryAllowancesResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAllowancesResponse): QueryAllowancesResponseProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesResponse", - value: QueryAllowancesResponse.encode(message).finish() - }; - } -}; -function createBaseQueryAllowancesByGranterRequest(): QueryAllowancesByGranterRequest { - return { - granter: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryAllowancesByGranterRequest = { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest", - aminoType: "cosmos-sdk/QueryAllowancesByGranterRequest", - encode(message: QueryAllowancesByGranterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowancesByGranterRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllowancesByGranterRequest { - const obj = createBaseQueryAllowancesByGranterRequest(); - if (isSet(object.granter)) obj.granter = String(object.granter); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAllowancesByGranterRequest): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllowancesByGranterRequest { - const message = createBaseQueryAllowancesByGranterRequest(); - message.granter = object.granter ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAllowancesByGranterRequestSDKType): QueryAllowancesByGranterRequest { - return { - granter: object?.granter, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestSDKType { - const obj: any = {}; - obj.granter = message.granter; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAllowancesByGranterRequestAmino): QueryAllowancesByGranterRequest { - return { - granter: object.granter, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestAmino { - const obj: any = {}; - obj.granter = message.granter; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllowancesByGranterRequestAminoMsg): QueryAllowancesByGranterRequest { - return QueryAllowancesByGranterRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestAminoMsg { - return { - type: "cosmos-sdk/QueryAllowancesByGranterRequest", - value: QueryAllowancesByGranterRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllowancesByGranterRequestProtoMsg): QueryAllowancesByGranterRequest { - return QueryAllowancesByGranterRequest.decode(message.value); - }, - toProto(message: QueryAllowancesByGranterRequest): Uint8Array { - return QueryAllowancesByGranterRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAllowancesByGranterRequest): QueryAllowancesByGranterRequestProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterRequest", - value: QueryAllowancesByGranterRequest.encode(message).finish() - }; - } -}; -function createBaseQueryAllowancesByGranterResponse(): QueryAllowancesByGranterResponse { - return { - allowances: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryAllowancesByGranterResponse = { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse", - aminoType: "cosmos-sdk/QueryAllowancesByGranterResponse", - encode(message: QueryAllowancesByGranterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.allowances) { - Grant.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllowancesByGranterResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.allowances.push(Grant.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllowancesByGranterResponse { - const obj = createBaseQueryAllowancesByGranterResponse(); - if (Array.isArray(object?.allowances)) obj.allowances = object.allowances.map((e: any) => Grant.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAllowancesByGranterResponse): unknown { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toJSON(e) : undefined); - } else { - obj.allowances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllowancesByGranterResponse { - const message = createBaseQueryAllowancesByGranterResponse(); - message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAllowancesByGranterResponseSDKType): QueryAllowancesByGranterResponse { - return { - allowances: Array.isArray(object?.allowances) ? object.allowances.map((e: any) => Grant.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseSDKType { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toSDK(e) : undefined); - } else { - obj.allowances = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAllowancesByGranterResponseAmino): QueryAllowancesByGranterResponse { - return { - allowances: Array.isArray(object?.allowances) ? object.allowances.map((e: any) => Grant.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseAmino { - const obj: any = {}; - if (message.allowances) { - obj.allowances = message.allowances.map(e => e ? Grant.toAmino(e) : undefined); - } else { - obj.allowances = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllowancesByGranterResponseAminoMsg): QueryAllowancesByGranterResponse { - return QueryAllowancesByGranterResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseAminoMsg { - return { - type: "cosmos-sdk/QueryAllowancesByGranterResponse", - value: QueryAllowancesByGranterResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllowancesByGranterResponseProtoMsg): QueryAllowancesByGranterResponse { - return QueryAllowancesByGranterResponse.decode(message.value); - }, - toProto(message: QueryAllowancesByGranterResponse): Uint8Array { - return QueryAllowancesByGranterResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAllowancesByGranterResponse): QueryAllowancesByGranterResponseProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.QueryAllowancesByGranterResponse", - value: QueryAllowancesByGranterResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts deleted file mode 100644 index 69515c535..000000000 --- a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BasicAllowance, BasicAllowanceSDKType, PeriodicAllowance, PeriodicAllowanceSDKType, AllowedMsgAllowance, AllowedMsgAllowanceSDKType } from "./feegrant"; -import { MsgGrantAllowance, MsgGrantAllowanceSDKType, MsgRevokeAllowance, MsgRevokeAllowanceSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.feegrant.v1beta1.MsgGrantAllowance": { - aminoType: "cosmos-sdk/MsgGrantAllowance", - toAmino: MsgGrantAllowance.toAmino, - fromAmino: MsgGrantAllowance.fromAmino - }, - "/cosmos.feegrant.v1beta1.MsgRevokeAllowance": { - aminoType: "cosmos-sdk/MsgRevokeAllowance", - toAmino: MsgRevokeAllowance.toAmino, - fromAmino: MsgRevokeAllowance.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts deleted file mode 100644 index d0d7f1a43..000000000 --- a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BasicAllowance, BasicAllowanceSDKType, PeriodicAllowance, PeriodicAllowanceSDKType, AllowedMsgAllowance, AllowedMsgAllowanceSDKType } from "./feegrant"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgGrantAllowance, MsgGrantAllowanceSDKType, MsgRevokeAllowance, MsgRevokeAllowanceSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.feegrant.v1beta1.MsgGrantAllowance", MsgGrantAllowance], ["/cosmos.feegrant.v1beta1.MsgRevokeAllowance", MsgRevokeAllowance]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - grantAllowance(value: MsgGrantAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value: MsgGrantAllowance.encode(value).finish() - }; - }, - revokeAllowance(value: MsgRevokeAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value: MsgRevokeAllowance.encode(value).finish() - }; - } - }, - withTypeUrl: { - grantAllowance(value: MsgGrantAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value - }; - }, - revokeAllowance(value: MsgRevokeAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value - }; - } - }, - toJSON: { - grantAllowance(value: MsgGrantAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value: MsgGrantAllowance.toJSON(value) - }; - }, - revokeAllowance(value: MsgRevokeAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value: MsgRevokeAllowance.toJSON(value) - }; - } - }, - fromJSON: { - grantAllowance(value: any) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value: MsgGrantAllowance.fromJSON(value) - }; - }, - revokeAllowance(value: any) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value: MsgRevokeAllowance.fromJSON(value) - }; - } - }, - fromPartial: { - grantAllowance(value: MsgGrantAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value: MsgGrantAllowance.fromPartial(value) - }; - }, - revokeAllowance(value: MsgRevokeAllowance) { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value: MsgRevokeAllowance.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index d4f0e75df..000000000 --- a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BasicAllowance, BasicAllowanceSDKType, PeriodicAllowance, PeriodicAllowanceSDKType, AllowedMsgAllowance, AllowedMsgAllowanceSDKType } from "./feegrant"; -import * as fm from "../../../grpc-gateway"; -import { MsgGrantAllowance, MsgGrantAllowanceSDKType, MsgGrantAllowanceResponse, MsgGrantAllowanceResponseSDKType, MsgRevokeAllowance, MsgRevokeAllowanceSDKType, MsgRevokeAllowanceResponse, MsgRevokeAllowanceResponseSDKType } from "./tx"; -export class Msg { - /** - * GrantAllowance grants fee allowance to the grantee on the granter's - * account with the provided expiration time. - */ - static grantAllowance(request: MsgGrantAllowance, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.feegrant.v1beta1/grantAllowance`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * RevokeAllowance revokes any fee allowance of granter's account that - * has been granted to the grantee. - */ - static revokeAllowance(request: MsgRevokeAllowance, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.feegrant.v1beta1/revokeAllowance`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.ts deleted file mode 100644 index 0a95ed870..000000000 --- a/quicksilverjs/src/codegen/cosmos/feegrant/v1beta1/tx.ts +++ /dev/null @@ -1,522 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { BasicAllowance, BasicAllowanceProtoMsg, BasicAllowanceSDKType, PeriodicAllowance, PeriodicAllowanceProtoMsg, PeriodicAllowanceSDKType, AllowedMsgAllowance, AllowedMsgAllowanceProtoMsg, AllowedMsgAllowanceSDKType } from "./feegrant"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.feegrant.v1beta1"; -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ -export interface MsgGrantAllowance { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance: BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any | undefined; -} -export interface MsgGrantAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance"; - value: Uint8Array; -} -export type MsgGrantAllowanceEncoded = Omit & { - /** allowance can be any of basic, periodic, allowed fee allowance. */allowance?: BasicAllowanceProtoMsg | PeriodicAllowanceProtoMsg | AllowedMsgAllowanceProtoMsg | AnyProtoMsg | undefined; -}; -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ -export interface MsgGrantAllowanceAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; - /** allowance can be any of basic, periodic, allowed fee allowance. */ - allowance?: AnyAmino; -} -export interface MsgGrantAllowanceAminoMsg { - type: "cosmos-sdk/MsgGrantAllowance"; - value: MsgGrantAllowanceAmino; -} -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ -export interface MsgGrantAllowanceSDKType { - granter: string; - grantee: string; - allowance: BasicAllowanceSDKType | PeriodicAllowanceSDKType | AllowedMsgAllowanceSDKType | AnySDKType | undefined; -} -/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ -export interface MsgGrantAllowanceResponse {} -export interface MsgGrantAllowanceResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse"; - value: Uint8Array; -} -/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ -export interface MsgGrantAllowanceResponseAmino {} -export interface MsgGrantAllowanceResponseAminoMsg { - type: "cosmos-sdk/MsgGrantAllowanceResponse"; - value: MsgGrantAllowanceResponseAmino; -} -/** MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type. */ -export interface MsgGrantAllowanceResponseSDKType {} -/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ -export interface MsgRevokeAllowance { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; -} -export interface MsgRevokeAllowanceProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance"; - value: Uint8Array; -} -/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ -export interface MsgRevokeAllowanceAmino { - /** granter is the address of the user granting an allowance of their funds. */ - granter: string; - /** grantee is the address of the user being granted an allowance of another user's funds. */ - grantee: string; -} -export interface MsgRevokeAllowanceAminoMsg { - type: "cosmos-sdk/MsgRevokeAllowance"; - value: MsgRevokeAllowanceAmino; -} -/** MsgRevokeAllowance removes any existing Allowance from Granter to Grantee. */ -export interface MsgRevokeAllowanceSDKType { - granter: string; - grantee: string; -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ -export interface MsgRevokeAllowanceResponse {} -export interface MsgRevokeAllowanceResponseProtoMsg { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse"; - value: Uint8Array; -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ -export interface MsgRevokeAllowanceResponseAmino {} -export interface MsgRevokeAllowanceResponseAminoMsg { - type: "cosmos-sdk/MsgRevokeAllowanceResponse"; - value: MsgRevokeAllowanceResponseAmino; -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ -export interface MsgRevokeAllowanceResponseSDKType {} -function createBaseMsgGrantAllowance(): MsgGrantAllowance { - return { - granter: "", - grantee: "", - allowance: Any.fromPartial({}) - }; -} -export const MsgGrantAllowance = { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - aminoType: "cosmos-sdk/MsgGrantAllowance", - encode(message: MsgGrantAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - if (message.allowance !== undefined) { - Any.encode((message.allowance as Any), writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgGrantAllowance(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - case 2: - message.grantee = reader.string(); - break; - case 3: - message.allowance = (FeeAllowanceI_InterfaceDecoder(reader) as Any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgGrantAllowance { - const obj = createBaseMsgGrantAllowance(); - if (isSet(object.granter)) obj.granter = String(object.granter); - if (isSet(object.grantee)) obj.grantee = String(object.grantee); - if (isSet(object.allowance)) obj.allowance = Any.fromJSON(object.allowance); - return obj; - }, - toJSON(message: MsgGrantAllowance): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - message.allowance !== undefined && (obj.allowance = message.allowance ? Any.toJSON(message.allowance) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgGrantAllowance { - const message = createBaseMsgGrantAllowance(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - if (object.allowance !== undefined && object.allowance !== null) { - message.allowance = Any.fromPartial(object.allowance); - } - return message; - }, - fromSDK(object: MsgGrantAllowanceSDKType): MsgGrantAllowance { - return { - granter: object?.granter, - grantee: object?.grantee, - allowance: object.allowance ? Any.fromSDK(object.allowance) : undefined - }; - }, - toSDK(message: MsgGrantAllowance): MsgGrantAllowanceSDKType { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - message.allowance !== undefined && (obj.allowance = message.allowance ? Any.toSDK(message.allowance) : undefined); - return obj; - }, - fromAmino(object: MsgGrantAllowanceAmino): MsgGrantAllowance { - return { - granter: object.granter, - grantee: object.grantee, - allowance: object?.allowance ? FeeAllowanceI_FromAmino(object.allowance) : undefined - }; - }, - toAmino(message: MsgGrantAllowance): MsgGrantAllowanceAmino { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - obj.allowance = message.allowance ? FeeAllowanceI_ToAmino((message.allowance as Any)) : undefined; - return obj; - }, - fromAminoMsg(object: MsgGrantAllowanceAminoMsg): MsgGrantAllowance { - return MsgGrantAllowance.fromAmino(object.value); - }, - toAminoMsg(message: MsgGrantAllowance): MsgGrantAllowanceAminoMsg { - return { - type: "cosmos-sdk/MsgGrantAllowance", - value: MsgGrantAllowance.toAmino(message) - }; - }, - fromProtoMsg(message: MsgGrantAllowanceProtoMsg): MsgGrantAllowance { - return MsgGrantAllowance.decode(message.value); - }, - toProto(message: MsgGrantAllowance): Uint8Array { - return MsgGrantAllowance.encode(message).finish(); - }, - toProtoMsg(message: MsgGrantAllowance): MsgGrantAllowanceProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance", - value: MsgGrantAllowance.encode(message).finish() - }; - } -}; -function createBaseMsgGrantAllowanceResponse(): MsgGrantAllowanceResponse { - return {}; -} -export const MsgGrantAllowanceResponse = { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse", - aminoType: "cosmos-sdk/MsgGrantAllowanceResponse", - encode(_: MsgGrantAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgGrantAllowanceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgGrantAllowanceResponse { - const obj = createBaseMsgGrantAllowanceResponse(); - return obj; - }, - toJSON(_: MsgGrantAllowanceResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgGrantAllowanceResponse { - const message = createBaseMsgGrantAllowanceResponse(); - return message; - }, - fromSDK(_: MsgGrantAllowanceResponseSDKType): MsgGrantAllowanceResponse { - return {}; - }, - toSDK(_: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgGrantAllowanceResponseAmino): MsgGrantAllowanceResponse { - return {}; - }, - toAmino(_: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgGrantAllowanceResponseAminoMsg): MsgGrantAllowanceResponse { - return MsgGrantAllowanceResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseAminoMsg { - return { - type: "cosmos-sdk/MsgGrantAllowanceResponse", - value: MsgGrantAllowanceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgGrantAllowanceResponseProtoMsg): MsgGrantAllowanceResponse { - return MsgGrantAllowanceResponse.decode(message.value); - }, - toProto(message: MsgGrantAllowanceResponse): Uint8Array { - return MsgGrantAllowanceResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgGrantAllowanceResponse): MsgGrantAllowanceResponseProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowanceResponse", - value: MsgGrantAllowanceResponse.encode(message).finish() - }; - } -}; -function createBaseMsgRevokeAllowance(): MsgRevokeAllowance { - return { - granter: "", - grantee: "" - }; -} -export const MsgRevokeAllowance = { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - aminoType: "cosmos-sdk/MsgRevokeAllowance", - encode(message: MsgRevokeAllowance, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.granter !== "") { - writer.uint32(10).string(message.granter); - } - if (message.grantee !== "") { - writer.uint32(18).string(message.grantee); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowance { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgRevokeAllowance(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.granter = reader.string(); - break; - case 2: - message.grantee = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgRevokeAllowance { - const obj = createBaseMsgRevokeAllowance(); - if (isSet(object.granter)) obj.granter = String(object.granter); - if (isSet(object.grantee)) obj.grantee = String(object.grantee); - return obj; - }, - toJSON(message: MsgRevokeAllowance): unknown { - const obj: any = {}; - message.granter !== undefined && (obj.granter = message.granter); - message.grantee !== undefined && (obj.grantee = message.grantee); - return obj; - }, - fromPartial(object: DeepPartial): MsgRevokeAllowance { - const message = createBaseMsgRevokeAllowance(); - message.granter = object.granter ?? ""; - message.grantee = object.grantee ?? ""; - return message; - }, - fromSDK(object: MsgRevokeAllowanceSDKType): MsgRevokeAllowance { - return { - granter: object?.granter, - grantee: object?.grantee - }; - }, - toSDK(message: MsgRevokeAllowance): MsgRevokeAllowanceSDKType { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - return obj; - }, - fromAmino(object: MsgRevokeAllowanceAmino): MsgRevokeAllowance { - return { - granter: object.granter, - grantee: object.grantee - }; - }, - toAmino(message: MsgRevokeAllowance): MsgRevokeAllowanceAmino { - const obj: any = {}; - obj.granter = message.granter; - obj.grantee = message.grantee; - return obj; - }, - fromAminoMsg(object: MsgRevokeAllowanceAminoMsg): MsgRevokeAllowance { - return MsgRevokeAllowance.fromAmino(object.value); - }, - toAminoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceAminoMsg { - return { - type: "cosmos-sdk/MsgRevokeAllowance", - value: MsgRevokeAllowance.toAmino(message) - }; - }, - fromProtoMsg(message: MsgRevokeAllowanceProtoMsg): MsgRevokeAllowance { - return MsgRevokeAllowance.decode(message.value); - }, - toProto(message: MsgRevokeAllowance): Uint8Array { - return MsgRevokeAllowance.encode(message).finish(); - }, - toProtoMsg(message: MsgRevokeAllowance): MsgRevokeAllowanceProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance", - value: MsgRevokeAllowance.encode(message).finish() - }; - } -}; -function createBaseMsgRevokeAllowanceResponse(): MsgRevokeAllowanceResponse { - return {}; -} -export const MsgRevokeAllowanceResponse = { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse", - aminoType: "cosmos-sdk/MsgRevokeAllowanceResponse", - encode(_: MsgRevokeAllowanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgRevokeAllowanceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgRevokeAllowanceResponse { - const obj = createBaseMsgRevokeAllowanceResponse(); - return obj; - }, - toJSON(_: MsgRevokeAllowanceResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgRevokeAllowanceResponse { - const message = createBaseMsgRevokeAllowanceResponse(); - return message; - }, - fromSDK(_: MsgRevokeAllowanceResponseSDKType): MsgRevokeAllowanceResponse { - return {}; - }, - toSDK(_: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgRevokeAllowanceResponseAmino): MsgRevokeAllowanceResponse { - return {}; - }, - toAmino(_: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgRevokeAllowanceResponseAminoMsg): MsgRevokeAllowanceResponse { - return MsgRevokeAllowanceResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseAminoMsg { - return { - type: "cosmos-sdk/MsgRevokeAllowanceResponse", - value: MsgRevokeAllowanceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgRevokeAllowanceResponseProtoMsg): MsgRevokeAllowanceResponse { - return MsgRevokeAllowanceResponse.decode(message.value); - }, - toProto(message: MsgRevokeAllowanceResponse): Uint8Array { - return MsgRevokeAllowanceResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgRevokeAllowanceResponse): MsgRevokeAllowanceResponseProtoMsg { - return { - typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowanceResponse", - value: MsgRevokeAllowanceResponse.encode(message).finish() - }; - } -}; -export const FeeAllowanceI_InterfaceDecoder = (input: _m0.Reader | Uint8Array): BasicAllowance | PeriodicAllowance | AllowedMsgAllowance | Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - case "/cosmos.feegrant.v1beta1.BasicAllowance": - return BasicAllowance.decode(data.value); - case "/cosmos.feegrant.v1beta1.PeriodicAllowance": - return PeriodicAllowance.decode(data.value); - case "/cosmos.feegrant.v1beta1.AllowedMsgAllowance": - return AllowedMsgAllowance.decode(data.value); - default: - return data; - } -}; -export const FeeAllowanceI_FromAmino = (content: AnyAmino) => { - switch (content.type) { - case "cosmos-sdk/BasicAllowance": - return Any.fromPartial({ - typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance", - value: BasicAllowance.encode(BasicAllowance.fromPartial(BasicAllowance.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/PeriodicAllowance": - return Any.fromPartial({ - typeUrl: "/cosmos.feegrant.v1beta1.PeriodicAllowance", - value: PeriodicAllowance.encode(PeriodicAllowance.fromPartial(PeriodicAllowance.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/AllowedMsgAllowance": - return Any.fromPartial({ - typeUrl: "/cosmos.feegrant.v1beta1.AllowedMsgAllowance", - value: AllowedMsgAllowance.encode(AllowedMsgAllowance.fromPartial(AllowedMsgAllowance.fromAmino(content.value))).finish() - }); - default: - return Any.fromAmino(content); - } -}; -export const FeeAllowanceI_ToAmino = (content: Any) => { - switch (content.typeUrl) { - case "/cosmos.feegrant.v1beta1.BasicAllowance": - return { - type: "cosmos-sdk/BasicAllowance", - value: BasicAllowance.toAmino(BasicAllowance.decode(content.value)) - }; - case "/cosmos.feegrant.v1beta1.PeriodicAllowance": - return { - type: "cosmos-sdk/PeriodicAllowance", - value: PeriodicAllowance.toAmino(PeriodicAllowance.decode(content.value)) - }; - case "/cosmos.feegrant.v1beta1.AllowedMsgAllowance": - return { - type: "cosmos-sdk/AllowedMsgAllowance", - value: AllowedMsgAllowance.toAmino(AllowedMsgAllowance.decode(content.value)) - }; - default: - return Any.toAmino(content); - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/genutil/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/genutil/v1beta1/genesis.ts deleted file mode 100644 index d02ff935a..000000000 --- a/quicksilverjs/src/codegen/cosmos/genutil/v1beta1/genesis.ts +++ /dev/null @@ -1,125 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { bytesFromBase64, base64FromBytes, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.genutil.v1beta1"; -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisState { - /** gen_txs defines the genesis transactions. */ - genTxs: Uint8Array[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.genutil.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisStateAmino { - /** gen_txs defines the genesis transactions. */ - gen_txs: Uint8Array[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the raw genesis transaction in JSON. */ -export interface GenesisStateSDKType { - gen_txs: Uint8Array[]; -} -function createBaseGenesisState(): GenesisState { - return { - genTxs: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.genutil.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.genTxs) { - writer.uint32(10).bytes(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.genTxs.push(reader.bytes()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (Array.isArray(object?.genTxs)) obj.genTxs = object.genTxs.map((e: any) => bytesFromBase64(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - if (message.genTxs) { - obj.genTxs = message.genTxs.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.genTxs = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - message.genTxs = object.genTxs?.map(e => e) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - genTxs: Array.isArray(object?.gen_txs) ? object.gen_txs.map((e: any) => e) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - if (message.genTxs) { - obj.gen_txs = message.genTxs.map(e => e); - } else { - obj.gen_txs = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - genTxs: Array.isArray(object?.gen_txs) ? object.gen_txs.map((e: any) => e) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - if (message.genTxs) { - obj.gen_txs = message.genTxs.map(e => e); - } else { - obj.gen_txs = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.genutil.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1/genesis.ts b/quicksilverjs/src/codegen/cosmos/gov/v1/genesis.ts deleted file mode 100644 index bdafcc71f..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1/genesis.ts +++ /dev/null @@ -1,272 +0,0 @@ -import { Deposit, DepositAmino, DepositSDKType, Vote, VoteAmino, VoteSDKType, Proposal, ProposalAmino, ProposalSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType } from "./gov"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.gov.v1"; -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisState { - /** starting_proposal_id is the ID of the starting proposal. */ - startingProposalId: Long; - /** deposits defines all the deposits present at genesis. */ - deposits: Deposit[]; - /** votes defines all the votes present at genesis. */ - votes: Vote[]; - /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; - /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams; - /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams; - /** params defines all the paramaters of related to tally. */ - tallyParams: TallyParams; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.gov.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateAmino { - /** starting_proposal_id is the ID of the starting proposal. */ - starting_proposal_id: string; - /** deposits defines all the deposits present at genesis. */ - deposits: DepositAmino[]; - /** votes defines all the votes present at genesis. */ - votes: VoteAmino[]; - /** proposals defines all the proposals present at genesis. */ - proposals: ProposalAmino[]; - /** params defines all the paramaters of related to deposit. */ - deposit_params?: DepositParamsAmino; - /** params defines all the paramaters of related to voting. */ - voting_params?: VotingParamsAmino; - /** params defines all the paramaters of related to tally. */ - tally_params?: TallyParamsAmino; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/v1/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateSDKType { - starting_proposal_id: Long; - deposits: DepositSDKType[]; - votes: VoteSDKType[]; - proposals: ProposalSDKType[]; - deposit_params: DepositParamsSDKType; - voting_params: VotingParamsSDKType; - tally_params: TallyParamsSDKType; -} -function createBaseGenesisState(): GenesisState { - return { - startingProposalId: Long.UZERO, - deposits: [], - votes: [], - proposals: [], - depositParams: DepositParams.fromPartial({}), - votingParams: VotingParams.fromPartial({}), - tallyParams: TallyParams.fromPartial({}) - }; -} -export const GenesisState = { - typeUrl: "/cosmos.gov.v1.GenesisState", - aminoType: "cosmos-sdk/v1/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.startingProposalId.isZero()) { - writer.uint32(8).uint64(message.startingProposalId); - } - for (const v of message.deposits) { - Deposit.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(34).fork()).ldelim(); - } - if (message.depositParams !== undefined) { - DepositParams.encode(message.depositParams, writer.uint32(42).fork()).ldelim(); - } - if (message.votingParams !== undefined) { - VotingParams.encode(message.votingParams, writer.uint32(50).fork()).ldelim(); - } - if (message.tallyParams !== undefined) { - TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.startingProposalId = (reader.uint64() as Long); - break; - case 2: - message.deposits.push(Deposit.decode(reader, reader.uint32())); - break; - case 3: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - case 4: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - case 5: - message.depositParams = DepositParams.decode(reader, reader.uint32()); - break; - case 6: - message.votingParams = VotingParams.decode(reader, reader.uint32()); - break; - case 7: - message.tallyParams = TallyParams.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.startingProposalId)) obj.startingProposalId = Long.fromValue(object.startingProposalId); - if (Array.isArray(object?.deposits)) obj.deposits = object.deposits.map((e: any) => Deposit.fromJSON(e)); - if (Array.isArray(object?.votes)) obj.votes = object.votes.map((e: any) => Vote.fromJSON(e)); - if (Array.isArray(object?.proposals)) obj.proposals = object.proposals.map((e: any) => Proposal.fromJSON(e)); - if (isSet(object.depositParams)) obj.depositParams = DepositParams.fromJSON(object.depositParams); - if (isSet(object.votingParams)) obj.votingParams = VotingParams.fromJSON(object.votingParams); - if (isSet(object.tallyParams)) obj.tallyParams = TallyParams.fromJSON(object.tallyParams); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.startingProposalId !== undefined && (obj.startingProposalId = (message.startingProposalId || Long.UZERO).toString()); - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toJSON(e) : undefined); - } else { - obj.deposits = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - message.depositParams !== undefined && (obj.depositParams = message.depositParams ? DepositParams.toJSON(message.depositParams) : undefined); - message.votingParams !== undefined && (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined); - message.tallyParams !== undefined && (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.startingProposalId !== undefined && object.startingProposalId !== null) { - message.startingProposalId = Long.fromValue(object.startingProposalId); - } - message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - if (object.depositParams !== undefined && object.depositParams !== null) { - message.depositParams = DepositParams.fromPartial(object.depositParams); - } - if (object.votingParams !== undefined && object.votingParams !== null) { - message.votingParams = VotingParams.fromPartial(object.votingParams); - } - if (object.tallyParams !== undefined && object.tallyParams !== null) { - message.tallyParams = TallyParams.fromPartial(object.tallyParams); - } - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - startingProposalId: object?.starting_proposal_id, - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromSDK(e)) : [], - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromSDK(e)) : [], - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromSDK(e)) : [], - depositParams: object.deposit_params ? DepositParams.fromSDK(object.deposit_params) : undefined, - votingParams: object.voting_params ? VotingParams.fromSDK(object.voting_params) : undefined, - tallyParams: object.tally_params ? TallyParams.fromSDK(object.tally_params) : undefined - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - obj.starting_proposal_id = message.startingProposalId; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toSDK(e) : undefined); - } else { - obj.deposits = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toSDK(e) : undefined); - } else { - obj.votes = []; - } - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toSDK(e) : undefined); - } else { - obj.proposals = []; - } - message.depositParams !== undefined && (obj.deposit_params = message.depositParams ? DepositParams.toSDK(message.depositParams) : undefined); - message.votingParams !== undefined && (obj.voting_params = message.votingParams ? VotingParams.toSDK(message.votingParams) : undefined); - message.tallyParams !== undefined && (obj.tally_params = message.tallyParams ? TallyParams.toSDK(message.tallyParams) : undefined); - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - startingProposalId: Long.fromString(object.starting_proposal_id), - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromAmino(e)) : [], - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromAmino(e)) : [], - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromAmino(e)) : [], - depositParams: object?.deposit_params ? DepositParams.fromAmino(object.deposit_params) : undefined, - votingParams: object?.voting_params ? VotingParams.fromAmino(object.voting_params) : undefined, - tallyParams: object?.tally_params ? TallyParams.fromAmino(object.tally_params) : undefined - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.starting_proposal_id = message.startingProposalId ? message.startingProposalId.toString() : undefined; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toAmino(e) : undefined); - } else { - obj.deposits = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toAmino(e) : undefined); - } else { - obj.votes = []; - } - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toAmino(e) : undefined); - } else { - obj.proposals = []; - } - obj.deposit_params = message.depositParams ? DepositParams.toAmino(message.depositParams) : undefined; - obj.voting_params = message.votingParams ? VotingParams.toAmino(message.votingParams) : undefined; - obj.tally_params = message.tallyParams ? TallyParams.toAmino(message.tallyParams) : undefined; - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/v1/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1/gov.ts b/quicksilverjs/src/codegen/cosmos/gov/v1/gov.ts deleted file mode 100644 index 72df641c5..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1/gov.ts +++ /dev/null @@ -1,1496 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Long, isSet, DeepPartial, toTimestamp, fromTimestamp } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.gov.v1"; -/** VoteOption enumerates the valid vote options for a given governance proposal. */ -export enum VoteOption { - /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1, -} -export const VoteOptionSDKType = VoteOption; -export const VoteOptionAmino = VoteOption; -export function voteOptionFromJSON(object: any): VoteOption { - switch (object) { - case 0: - case "VOTE_OPTION_UNSPECIFIED": - return VoteOption.VOTE_OPTION_UNSPECIFIED; - case 1: - case "VOTE_OPTION_YES": - return VoteOption.VOTE_OPTION_YES; - case 2: - case "VOTE_OPTION_ABSTAIN": - return VoteOption.VOTE_OPTION_ABSTAIN; - case 3: - case "VOTE_OPTION_NO": - return VoteOption.VOTE_OPTION_NO; - case 4: - case "VOTE_OPTION_NO_WITH_VETO": - return VoteOption.VOTE_OPTION_NO_WITH_VETO; - case -1: - case "UNRECOGNIZED": - default: - return VoteOption.UNRECOGNIZED; - } -} -export function voteOptionToJSON(object: VoteOption): string { - switch (object) { - case VoteOption.VOTE_OPTION_UNSPECIFIED: - return "VOTE_OPTION_UNSPECIFIED"; - case VoteOption.VOTE_OPTION_YES: - return "VOTE_OPTION_YES"; - case VoteOption.VOTE_OPTION_ABSTAIN: - return "VOTE_OPTION_ABSTAIN"; - case VoteOption.VOTE_OPTION_NO: - return "VOTE_OPTION_NO"; - case VoteOption.VOTE_OPTION_NO_WITH_VETO: - return "VOTE_OPTION_NO_WITH_VETO"; - case VoteOption.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ProposalStatus enumerates the valid statuses of a proposal. */ -export enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */ - PROPOSAL_STATUS_UNSPECIFIED = 0, - /** - * PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - * period. - */ - PROPOSAL_STATUS_DEPOSIT_PERIOD = 1, - /** - * PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - * period. - */ - PROPOSAL_STATUS_VOTING_PERIOD = 2, - /** - * PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - * passed. - */ - PROPOSAL_STATUS_PASSED = 3, - /** - * PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - * been rejected. - */ - PROPOSAL_STATUS_REJECTED = 4, - /** - * PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - * failed. - */ - PROPOSAL_STATUS_FAILED = 5, - UNRECOGNIZED = -1, -} -export const ProposalStatusSDKType = ProposalStatus; -export const ProposalStatusAmino = ProposalStatus; -export function proposalStatusFromJSON(object: any): ProposalStatus { - switch (object) { - case 0: - case "PROPOSAL_STATUS_UNSPECIFIED": - return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; - case 1: - case "PROPOSAL_STATUS_DEPOSIT_PERIOD": - return ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD; - case 2: - case "PROPOSAL_STATUS_VOTING_PERIOD": - return ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD; - case 3: - case "PROPOSAL_STATUS_PASSED": - return ProposalStatus.PROPOSAL_STATUS_PASSED; - case 4: - case "PROPOSAL_STATUS_REJECTED": - return ProposalStatus.PROPOSAL_STATUS_REJECTED; - case 5: - case "PROPOSAL_STATUS_FAILED": - return ProposalStatus.PROPOSAL_STATUS_FAILED; - case -1: - case "UNRECOGNIZED": - default: - return ProposalStatus.UNRECOGNIZED; - } -} -export function proposalStatusToJSON(object: ProposalStatus): string { - switch (object) { - case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: - return "PROPOSAL_STATUS_UNSPECIFIED"; - case ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD: - return "PROPOSAL_STATUS_DEPOSIT_PERIOD"; - case ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD: - return "PROPOSAL_STATUS_VOTING_PERIOD"; - case ProposalStatus.PROPOSAL_STATUS_PASSED: - return "PROPOSAL_STATUS_PASSED"; - case ProposalStatus.PROPOSAL_STATUS_REJECTED: - return "PROPOSAL_STATUS_REJECTED"; - case ProposalStatus.PROPOSAL_STATUS_FAILED: - return "PROPOSAL_STATUS_FAILED"; - case ProposalStatus.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** WeightedVoteOption defines a unit of vote for vote split. */ -export interface WeightedVoteOption { - option: VoteOption; - weight: string; -} -export interface WeightedVoteOptionProtoMsg { - typeUrl: "/cosmos.gov.v1.WeightedVoteOption"; - value: Uint8Array; -} -/** WeightedVoteOption defines a unit of vote for vote split. */ -export interface WeightedVoteOptionAmino { - option: VoteOption; - weight: string; -} -export interface WeightedVoteOptionAminoMsg { - type: "cosmos-sdk/v1/WeightedVoteOption"; - value: WeightedVoteOptionAmino; -} -/** WeightedVoteOption defines a unit of vote for vote split. */ -export interface WeightedVoteOptionSDKType { - option: VoteOption; - weight: string; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface Deposit { - proposalId: Long; - depositor: string; - amount: Coin[]; -} -export interface DepositProtoMsg { - typeUrl: "/cosmos.gov.v1.Deposit"; - value: Uint8Array; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositAmino { - proposal_id: string; - depositor: string; - amount: CoinAmino[]; -} -export interface DepositAminoMsg { - type: "cosmos-sdk/v1/Deposit"; - value: DepositAmino; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositSDKType { - proposal_id: Long; - depositor: string; - amount: CoinSDKType[]; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface Proposal { - id: Long; - messages: Any[]; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - finalTallyResult: TallyResult; - submitTime: Date; - depositEndTime: Date; - totalDeposit: Coin[]; - votingStartTime: Date; - votingEndTime: Date; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata: string; -} -export interface ProposalProtoMsg { - typeUrl: "/cosmos.gov.v1.Proposal"; - value: Uint8Array; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalAmino { - id: string; - messages: AnyAmino[]; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - final_tally_result?: TallyResultAmino; - submit_time?: Date; - deposit_end_time?: Date; - total_deposit: CoinAmino[]; - voting_start_time?: Date; - voting_end_time?: Date; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata: string; -} -export interface ProposalAminoMsg { - type: "cosmos-sdk/v1/Proposal"; - value: ProposalAmino; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalSDKType { - id: Long; - messages: AnySDKType[]; - status: ProposalStatus; - final_tally_result: TallyResultSDKType; - submit_time: Date; - deposit_end_time: Date; - total_deposit: CoinSDKType[]; - voting_start_time: Date; - voting_end_time: Date; - metadata: string; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResult { - yesCount: string; - abstainCount: string; - noCount: string; - noWithVetoCount: string; -} -export interface TallyResultProtoMsg { - typeUrl: "/cosmos.gov.v1.TallyResult"; - value: Uint8Array; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultAmino { - yes_count: string; - abstain_count: string; - no_count: string; - no_with_veto_count: string; -} -export interface TallyResultAminoMsg { - type: "cosmos-sdk/v1/TallyResult"; - value: TallyResultAmino; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultSDKType { - yes_count: string; - abstain_count: string; - no_count: string; - no_with_veto_count: string; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface Vote { - proposalId: Long; - voter: string; - options: WeightedVoteOption[]; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; -} -export interface VoteProtoMsg { - typeUrl: "/cosmos.gov.v1.Vote"; - value: Uint8Array; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteAmino { - proposal_id: string; - voter: string; - options: WeightedVoteOptionAmino[]; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; -} -export interface VoteAminoMsg { - type: "cosmos-sdk/v1/Vote"; - value: VoteAmino; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteSDKType { - proposal_id: Long; - voter: string; - options: WeightedVoteOptionSDKType[]; - metadata: string; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParams { - /** Minimum deposit for a proposal to enter voting period. */ - minDeposit: Coin[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - maxDepositPeriod: Duration; -} -export interface DepositParamsProtoMsg { - typeUrl: "/cosmos.gov.v1.DepositParams"; - value: Uint8Array; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsAmino { - /** Minimum deposit for a proposal to enter voting period. */ - min_deposit: CoinAmino[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - max_deposit_period?: DurationAmino; -} -export interface DepositParamsAminoMsg { - type: "cosmos-sdk/v1/DepositParams"; - value: DepositParamsAmino; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsSDKType { - min_deposit: CoinSDKType[]; - max_deposit_period: DurationSDKType; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod: Duration; -} -export interface VotingParamsProtoMsg { - typeUrl: "/cosmos.gov.v1.VotingParams"; - value: Uint8Array; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsAmino { - /** Length of the voting period. */ - voting_period?: DurationAmino; -} -export interface VotingParamsAminoMsg { - type: "cosmos-sdk/v1/VotingParams"; - value: VotingParamsAmino; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsSDKType { - voting_period: DurationSDKType; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParams { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: string; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: string; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - vetoThreshold: string; -} -export interface TallyParamsProtoMsg { - typeUrl: "/cosmos.gov.v1.TallyParams"; - value: Uint8Array; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsAmino { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: string; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: string; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - veto_threshold: string; -} -export interface TallyParamsAminoMsg { - type: "cosmos-sdk/v1/TallyParams"; - value: TallyParamsAmino; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsSDKType { - quorum: string; - threshold: string; - veto_threshold: string; -} -function createBaseWeightedVoteOption(): WeightedVoteOption { - return { - option: 0, - weight: "" - }; -} -export const WeightedVoteOption = { - typeUrl: "/cosmos.gov.v1.WeightedVoteOption", - aminoType: "cosmos-sdk/v1/WeightedVoteOption", - encode(message: WeightedVoteOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.option !== 0) { - writer.uint32(8).int32(message.option); - } - if (message.weight !== "") { - writer.uint32(18).string(message.weight); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseWeightedVoteOption(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.option = (reader.int32() as any); - break; - case 2: - message.weight = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): WeightedVoteOption { - const obj = createBaseWeightedVoteOption(); - if (isSet(object.option)) obj.option = voteOptionFromJSON(object.option); - if (isSet(object.weight)) obj.weight = String(object.weight); - return obj; - }, - toJSON(message: WeightedVoteOption): unknown { - const obj: any = {}; - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - message.weight !== undefined && (obj.weight = message.weight); - return obj; - }, - fromPartial(object: DeepPartial): WeightedVoteOption { - const message = createBaseWeightedVoteOption(); - message.option = object.option ?? 0; - message.weight = object.weight ?? ""; - return message; - }, - fromSDK(object: WeightedVoteOptionSDKType): WeightedVoteOption { - return { - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - weight: object?.weight - }; - }, - toSDK(message: WeightedVoteOption): WeightedVoteOptionSDKType { - const obj: any = {}; - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - obj.weight = message.weight; - return obj; - }, - fromAmino(object: WeightedVoteOptionAmino): WeightedVoteOption { - return { - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - weight: object.weight - }; - }, - toAmino(message: WeightedVoteOption): WeightedVoteOptionAmino { - const obj: any = {}; - obj.option = message.option; - obj.weight = message.weight; - return obj; - }, - fromAminoMsg(object: WeightedVoteOptionAminoMsg): WeightedVoteOption { - return WeightedVoteOption.fromAmino(object.value); - }, - toAminoMsg(message: WeightedVoteOption): WeightedVoteOptionAminoMsg { - return { - type: "cosmos-sdk/v1/WeightedVoteOption", - value: WeightedVoteOption.toAmino(message) - }; - }, - fromProtoMsg(message: WeightedVoteOptionProtoMsg): WeightedVoteOption { - return WeightedVoteOption.decode(message.value); - }, - toProto(message: WeightedVoteOption): Uint8Array { - return WeightedVoteOption.encode(message).finish(); - }, - toProtoMsg(message: WeightedVoteOption): WeightedVoteOptionProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.WeightedVoteOption", - value: WeightedVoteOption.encode(message).finish() - }; - } -}; -function createBaseDeposit(): Deposit { - return { - proposalId: Long.UZERO, - depositor: "", - amount: [] - }; -} -export const Deposit = { - typeUrl: "/cosmos.gov.v1.Deposit", - aminoType: "cosmos-sdk/v1/Deposit", - encode(message: Deposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Deposit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeposit(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.depositor = reader.string(); - break; - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Deposit { - const obj = createBaseDeposit(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.depositor)) obj.depositor = String(object.depositor); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: Deposit): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Deposit { - const message = createBaseDeposit(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.depositor = object.depositor ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: DepositSDKType): Deposit { - return { - proposalId: object?.proposal_id, - depositor: object?.depositor, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: Deposit): DepositSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.depositor = message.depositor; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAmino(object: DepositAmino): Deposit { - return { - proposalId: Long.fromString(object.proposal_id), - depositor: object.depositor, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: Deposit): DepositAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.depositor = message.depositor; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAminoMsg(object: DepositAminoMsg): Deposit { - return Deposit.fromAmino(object.value); - }, - toAminoMsg(message: Deposit): DepositAminoMsg { - return { - type: "cosmos-sdk/v1/Deposit", - value: Deposit.toAmino(message) - }; - }, - fromProtoMsg(message: DepositProtoMsg): Deposit { - return Deposit.decode(message.value); - }, - toProto(message: Deposit): Uint8Array { - return Deposit.encode(message).finish(); - }, - toProtoMsg(message: Deposit): DepositProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.Deposit", - value: Deposit.encode(message).finish() - }; - } -}; -function createBaseProposal(): Proposal { - return { - id: Long.UZERO, - messages: [], - status: 0, - finalTallyResult: TallyResult.fromPartial({}), - submitTime: new Date(), - depositEndTime: new Date(), - totalDeposit: [], - votingStartTime: new Date(), - votingEndTime: new Date(), - metadata: "" - }; -} -export const Proposal = { - typeUrl: "/cosmos.gov.v1.Proposal", - aminoType: "cosmos-sdk/v1/Proposal", - encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.id.isZero()) { - writer.uint32(8).uint64(message.id); - } - for (const v of message.messages) { - Any.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.status !== 0) { - writer.uint32(24).int32(message.status); - } - if (message.finalTallyResult !== undefined) { - TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); - } - if (message.submitTime !== undefined) { - Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); - } - if (message.depositEndTime !== undefined) { - Timestamp.encode(toTimestamp(message.depositEndTime), writer.uint32(50).fork()).ldelim(); - } - for (const v of message.totalDeposit) { - Coin.encode(v!, writer.uint32(58).fork()).ldelim(); - } - if (message.votingStartTime !== undefined) { - Timestamp.encode(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); - } - if (message.votingEndTime !== undefined) { - Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); - } - if (message.metadata !== "") { - writer.uint32(82).string(message.metadata); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = (reader.uint64() as Long); - break; - case 2: - message.messages.push(Any.decode(reader, reader.uint32())); - break; - case 3: - message.status = (reader.int32() as any); - break; - case 4: - message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); - break; - case 5: - message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 6: - message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 7: - message.totalDeposit.push(Coin.decode(reader, reader.uint32())); - break; - case 8: - message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 9: - message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 10: - message.metadata = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Proposal { - const obj = createBaseProposal(); - if (isSet(object.id)) obj.id = Long.fromValue(object.id); - if (Array.isArray(object?.messages)) obj.messages = object.messages.map((e: any) => Any.fromJSON(e)); - if (isSet(object.status)) obj.status = proposalStatusFromJSON(object.status); - if (isSet(object.finalTallyResult)) obj.finalTallyResult = TallyResult.fromJSON(object.finalTallyResult); - if (isSet(object.submitTime)) obj.submitTime = new Date(object.submitTime); - if (isSet(object.depositEndTime)) obj.depositEndTime = new Date(object.depositEndTime); - if (Array.isArray(object?.totalDeposit)) obj.totalDeposit = object.totalDeposit.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.votingStartTime)) obj.votingStartTime = new Date(object.votingStartTime); - if (isSet(object.votingEndTime)) obj.votingEndTime = new Date(object.votingEndTime); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - return obj; - }, - toJSON(message: Proposal): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || Long.UZERO).toString()); - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.messages = []; - } - message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); - message.finalTallyResult !== undefined && (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined); - message.submitTime !== undefined && (obj.submitTime = message.submitTime.toISOString()); - message.depositEndTime !== undefined && (obj.depositEndTime = message.depositEndTime.toISOString()); - if (message.totalDeposit) { - obj.totalDeposit = message.totalDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.totalDeposit = []; - } - message.votingStartTime !== undefined && (obj.votingStartTime = message.votingStartTime.toISOString()); - message.votingEndTime !== undefined && (obj.votingEndTime = message.votingEndTime.toISOString()); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: DeepPartial): Proposal { - const message = createBaseProposal(); - if (object.id !== undefined && object.id !== null) { - message.id = Long.fromValue(object.id); - } - message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; - message.status = object.status ?? 0; - if (object.finalTallyResult !== undefined && object.finalTallyResult !== null) { - message.finalTallyResult = TallyResult.fromPartial(object.finalTallyResult); - } - message.submitTime = object.submitTime ?? undefined; - message.depositEndTime = object.depositEndTime ?? undefined; - message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; - message.votingStartTime = object.votingStartTime ?? undefined; - message.votingEndTime = object.votingEndTime ?? undefined; - message.metadata = object.metadata ?? ""; - return message; - }, - fromSDK(object: ProposalSDKType): Proposal { - return { - id: object?.id, - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromSDK(e)) : [], - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : -1, - finalTallyResult: object.final_tally_result ? TallyResult.fromSDK(object.final_tally_result) : undefined, - submitTime: object.submit_time ?? undefined, - depositEndTime: object.deposit_end_time ?? undefined, - totalDeposit: Array.isArray(object?.total_deposit) ? object.total_deposit.map((e: any) => Coin.fromSDK(e)) : [], - votingStartTime: object.voting_start_time ?? undefined, - votingEndTime: object.voting_end_time ?? undefined, - metadata: object?.metadata - }; - }, - toSDK(message: Proposal): ProposalSDKType { - const obj: any = {}; - obj.id = message.id; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.messages = []; - } - message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); - message.finalTallyResult !== undefined && (obj.final_tally_result = message.finalTallyResult ? TallyResult.toSDK(message.finalTallyResult) : undefined); - message.submitTime !== undefined && (obj.submit_time = message.submitTime ?? undefined); - message.depositEndTime !== undefined && (obj.deposit_end_time = message.depositEndTime ?? undefined); - if (message.totalDeposit) { - obj.total_deposit = message.totalDeposit.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.total_deposit = []; - } - message.votingStartTime !== undefined && (obj.voting_start_time = message.votingStartTime ?? undefined); - message.votingEndTime !== undefined && (obj.voting_end_time = message.votingEndTime ?? undefined); - obj.metadata = message.metadata; - return obj; - }, - fromAmino(object: ProposalAmino): Proposal { - return { - id: Long.fromString(object.id), - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromAmino(e)) : [], - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : -1, - finalTallyResult: object?.final_tally_result ? TallyResult.fromAmino(object.final_tally_result) : undefined, - submitTime: object.submit_time, - depositEndTime: object.deposit_end_time, - totalDeposit: Array.isArray(object?.total_deposit) ? object.total_deposit.map((e: any) => Coin.fromAmino(e)) : [], - votingStartTime: object.voting_start_time, - votingEndTime: object.voting_end_time, - metadata: object.metadata - }; - }, - toAmino(message: Proposal): ProposalAmino { - const obj: any = {}; - obj.id = message.id ? message.id.toString() : undefined; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.messages = []; - } - obj.status = message.status; - obj.final_tally_result = message.finalTallyResult ? TallyResult.toAmino(message.finalTallyResult) : undefined; - obj.submit_time = message.submitTime; - obj.deposit_end_time = message.depositEndTime; - if (message.totalDeposit) { - obj.total_deposit = message.totalDeposit.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.total_deposit = []; - } - obj.voting_start_time = message.votingStartTime; - obj.voting_end_time = message.votingEndTime; - obj.metadata = message.metadata; - return obj; - }, - fromAminoMsg(object: ProposalAminoMsg): Proposal { - return Proposal.fromAmino(object.value); - }, - toAminoMsg(message: Proposal): ProposalAminoMsg { - return { - type: "cosmos-sdk/v1/Proposal", - value: Proposal.toAmino(message) - }; - }, - fromProtoMsg(message: ProposalProtoMsg): Proposal { - return Proposal.decode(message.value); - }, - toProto(message: Proposal): Uint8Array { - return Proposal.encode(message).finish(); - }, - toProtoMsg(message: Proposal): ProposalProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.Proposal", - value: Proposal.encode(message).finish() - }; - } -}; -function createBaseTallyResult(): TallyResult { - return { - yesCount: "", - abstainCount: "", - noCount: "", - noWithVetoCount: "" - }; -} -export const TallyResult = { - typeUrl: "/cosmos.gov.v1.TallyResult", - aminoType: "cosmos-sdk/v1/TallyResult", - encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.yesCount !== "") { - writer.uint32(10).string(message.yesCount); - } - if (message.abstainCount !== "") { - writer.uint32(18).string(message.abstainCount); - } - if (message.noCount !== "") { - writer.uint32(26).string(message.noCount); - } - if (message.noWithVetoCount !== "") { - writer.uint32(34).string(message.noWithVetoCount); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTallyResult(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.yesCount = reader.string(); - break; - case 2: - message.abstainCount = reader.string(); - break; - case 3: - message.noCount = reader.string(); - break; - case 4: - message.noWithVetoCount = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TallyResult { - const obj = createBaseTallyResult(); - if (isSet(object.yesCount)) obj.yesCount = String(object.yesCount); - if (isSet(object.abstainCount)) obj.abstainCount = String(object.abstainCount); - if (isSet(object.noCount)) obj.noCount = String(object.noCount); - if (isSet(object.noWithVetoCount)) obj.noWithVetoCount = String(object.noWithVetoCount); - return obj; - }, - toJSON(message: TallyResult): unknown { - const obj: any = {}; - message.yesCount !== undefined && (obj.yesCount = message.yesCount); - message.abstainCount !== undefined && (obj.abstainCount = message.abstainCount); - message.noCount !== undefined && (obj.noCount = message.noCount); - message.noWithVetoCount !== undefined && (obj.noWithVetoCount = message.noWithVetoCount); - return obj; - }, - fromPartial(object: DeepPartial): TallyResult { - const message = createBaseTallyResult(); - message.yesCount = object.yesCount ?? ""; - message.abstainCount = object.abstainCount ?? ""; - message.noCount = object.noCount ?? ""; - message.noWithVetoCount = object.noWithVetoCount ?? ""; - return message; - }, - fromSDK(object: TallyResultSDKType): TallyResult { - return { - yesCount: object?.yes_count, - abstainCount: object?.abstain_count, - noCount: object?.no_count, - noWithVetoCount: object?.no_with_veto_count - }; - }, - toSDK(message: TallyResult): TallyResultSDKType { - const obj: any = {}; - obj.yes_count = message.yesCount; - obj.abstain_count = message.abstainCount; - obj.no_count = message.noCount; - obj.no_with_veto_count = message.noWithVetoCount; - return obj; - }, - fromAmino(object: TallyResultAmino): TallyResult { - return { - yesCount: object.yes_count, - abstainCount: object.abstain_count, - noCount: object.no_count, - noWithVetoCount: object.no_with_veto_count - }; - }, - toAmino(message: TallyResult): TallyResultAmino { - const obj: any = {}; - obj.yes_count = message.yesCount; - obj.abstain_count = message.abstainCount; - obj.no_count = message.noCount; - obj.no_with_veto_count = message.noWithVetoCount; - return obj; - }, - fromAminoMsg(object: TallyResultAminoMsg): TallyResult { - return TallyResult.fromAmino(object.value); - }, - toAminoMsg(message: TallyResult): TallyResultAminoMsg { - return { - type: "cosmos-sdk/v1/TallyResult", - value: TallyResult.toAmino(message) - }; - }, - fromProtoMsg(message: TallyResultProtoMsg): TallyResult { - return TallyResult.decode(message.value); - }, - toProto(message: TallyResult): Uint8Array { - return TallyResult.encode(message).finish(); - }, - toProtoMsg(message: TallyResult): TallyResultProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.TallyResult", - value: TallyResult.encode(message).finish() - }; - } -}; -function createBaseVote(): Vote { - return { - proposalId: Long.UZERO, - voter: "", - options: [], - metadata: "" - }; -} -export const Vote = { - typeUrl: "/cosmos.gov.v1.Vote", - aminoType: "cosmos-sdk/v1/Vote", - encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - for (const v of message.options) { - WeightedVoteOption.encode(v!, writer.uint32(34).fork()).ldelim(); - } - if (message.metadata !== "") { - writer.uint32(42).string(message.metadata); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Vote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVote(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.voter = reader.string(); - break; - case 4: - message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); - break; - case 5: - message.metadata = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Vote { - const obj = createBaseVote(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.voter)) obj.voter = String(object.voter); - if (Array.isArray(object?.options)) obj.options = object.options.map((e: any) => WeightedVoteOption.fromJSON(e)); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - return obj; - }, - toJSON(message: Vote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.voter !== undefined && (obj.voter = message.voter); - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toJSON(e) : undefined); - } else { - obj.options = []; - } - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: DeepPartial): Vote { - const message = createBaseVote(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.voter = object.voter ?? ""; - message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; - message.metadata = object.metadata ?? ""; - return message; - }, - fromSDK(object: VoteSDKType): Vote { - return { - proposalId: object?.proposal_id, - voter: object?.voter, - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromSDK(e)) : [], - metadata: object?.metadata - }; - }, - toSDK(message: Vote): VoteSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.voter = message.voter; - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toSDK(e) : undefined); - } else { - obj.options = []; - } - obj.metadata = message.metadata; - return obj; - }, - fromAmino(object: VoteAmino): Vote { - return { - proposalId: Long.fromString(object.proposal_id), - voter: object.voter, - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromAmino(e)) : [], - metadata: object.metadata - }; - }, - toAmino(message: Vote): VoteAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.voter = message.voter; - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toAmino(e) : undefined); - } else { - obj.options = []; - } - obj.metadata = message.metadata; - return obj; - }, - fromAminoMsg(object: VoteAminoMsg): Vote { - return Vote.fromAmino(object.value); - }, - toAminoMsg(message: Vote): VoteAminoMsg { - return { - type: "cosmos-sdk/v1/Vote", - value: Vote.toAmino(message) - }; - }, - fromProtoMsg(message: VoteProtoMsg): Vote { - return Vote.decode(message.value); - }, - toProto(message: Vote): Uint8Array { - return Vote.encode(message).finish(); - }, - toProtoMsg(message: Vote): VoteProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.Vote", - value: Vote.encode(message).finish() - }; - } -}; -function createBaseDepositParams(): DepositParams { - return { - minDeposit: [], - maxDepositPeriod: Duration.fromPartial({}) - }; -} -export const DepositParams = { - typeUrl: "/cosmos.gov.v1.DepositParams", - aminoType: "cosmos-sdk/v1/DepositParams", - encode(message: DepositParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.minDeposit) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.maxDepositPeriod !== undefined) { - Duration.encode(message.maxDepositPeriod, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDepositParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.minDeposit.push(Coin.decode(reader, reader.uint32())); - break; - case 2: - message.maxDepositPeriod = Duration.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DepositParams { - const obj = createBaseDepositParams(); - if (Array.isArray(object?.minDeposit)) obj.minDeposit = object.minDeposit.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.maxDepositPeriod)) obj.maxDepositPeriod = Duration.fromJSON(object.maxDepositPeriod); - return obj; - }, - toJSON(message: DepositParams): unknown { - const obj: any = {}; - if (message.minDeposit) { - obj.minDeposit = message.minDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.minDeposit = []; - } - message.maxDepositPeriod !== undefined && (obj.maxDepositPeriod = message.maxDepositPeriod ? Duration.toJSON(message.maxDepositPeriod) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): DepositParams { - const message = createBaseDepositParams(); - message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; - if (object.maxDepositPeriod !== undefined && object.maxDepositPeriod !== null) { - message.maxDepositPeriod = Duration.fromPartial(object.maxDepositPeriod); - } - return message; - }, - fromSDK(object: DepositParamsSDKType): DepositParams { - return { - minDeposit: Array.isArray(object?.min_deposit) ? object.min_deposit.map((e: any) => Coin.fromSDK(e)) : [], - maxDepositPeriod: object.max_deposit_period ? Duration.fromSDK(object.max_deposit_period) : undefined - }; - }, - toSDK(message: DepositParams): DepositParamsSDKType { - const obj: any = {}; - if (message.minDeposit) { - obj.min_deposit = message.minDeposit.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.min_deposit = []; - } - message.maxDepositPeriod !== undefined && (obj.max_deposit_period = message.maxDepositPeriod ? Duration.toSDK(message.maxDepositPeriod) : undefined); - return obj; - }, - fromAmino(object: DepositParamsAmino): DepositParams { - return { - minDeposit: Array.isArray(object?.min_deposit) ? object.min_deposit.map((e: any) => Coin.fromAmino(e)) : [], - maxDepositPeriod: object?.max_deposit_period ? Duration.fromAmino(object.max_deposit_period) : undefined - }; - }, - toAmino(message: DepositParams): DepositParamsAmino { - const obj: any = {}; - if (message.minDeposit) { - obj.min_deposit = message.minDeposit.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.min_deposit = []; - } - obj.max_deposit_period = message.maxDepositPeriod ? Duration.toAmino(message.maxDepositPeriod) : undefined; - return obj; - }, - fromAminoMsg(object: DepositParamsAminoMsg): DepositParams { - return DepositParams.fromAmino(object.value); - }, - toAminoMsg(message: DepositParams): DepositParamsAminoMsg { - return { - type: "cosmos-sdk/v1/DepositParams", - value: DepositParams.toAmino(message) - }; - }, - fromProtoMsg(message: DepositParamsProtoMsg): DepositParams { - return DepositParams.decode(message.value); - }, - toProto(message: DepositParams): Uint8Array { - return DepositParams.encode(message).finish(); - }, - toProtoMsg(message: DepositParams): DepositParamsProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.DepositParams", - value: DepositParams.encode(message).finish() - }; - } -}; -function createBaseVotingParams(): VotingParams { - return { - votingPeriod: Duration.fromPartial({}) - }; -} -export const VotingParams = { - typeUrl: "/cosmos.gov.v1.VotingParams", - aminoType: "cosmos-sdk/v1/VotingParams", - encode(message: VotingParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.votingPeriod !== undefined) { - Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVotingParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.votingPeriod = Duration.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): VotingParams { - const obj = createBaseVotingParams(); - if (isSet(object.votingPeriod)) obj.votingPeriod = Duration.fromJSON(object.votingPeriod); - return obj; - }, - toJSON(message: VotingParams): unknown { - const obj: any = {}; - message.votingPeriod !== undefined && (obj.votingPeriod = message.votingPeriod ? Duration.toJSON(message.votingPeriod) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): VotingParams { - const message = createBaseVotingParams(); - if (object.votingPeriod !== undefined && object.votingPeriod !== null) { - message.votingPeriod = Duration.fromPartial(object.votingPeriod); - } - return message; - }, - fromSDK(object: VotingParamsSDKType): VotingParams { - return { - votingPeriod: object.voting_period ? Duration.fromSDK(object.voting_period) : undefined - }; - }, - toSDK(message: VotingParams): VotingParamsSDKType { - const obj: any = {}; - message.votingPeriod !== undefined && (obj.voting_period = message.votingPeriod ? Duration.toSDK(message.votingPeriod) : undefined); - return obj; - }, - fromAmino(object: VotingParamsAmino): VotingParams { - return { - votingPeriod: object?.voting_period ? Duration.fromAmino(object.voting_period) : undefined - }; - }, - toAmino(message: VotingParams): VotingParamsAmino { - const obj: any = {}; - obj.voting_period = message.votingPeriod ? Duration.toAmino(message.votingPeriod) : undefined; - return obj; - }, - fromAminoMsg(object: VotingParamsAminoMsg): VotingParams { - return VotingParams.fromAmino(object.value); - }, - toAminoMsg(message: VotingParams): VotingParamsAminoMsg { - return { - type: "cosmos-sdk/v1/VotingParams", - value: VotingParams.toAmino(message) - }; - }, - fromProtoMsg(message: VotingParamsProtoMsg): VotingParams { - return VotingParams.decode(message.value); - }, - toProto(message: VotingParams): Uint8Array { - return VotingParams.encode(message).finish(); - }, - toProtoMsg(message: VotingParams): VotingParamsProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.VotingParams", - value: VotingParams.encode(message).finish() - }; - } -}; -function createBaseTallyParams(): TallyParams { - return { - quorum: "", - threshold: "", - vetoThreshold: "" - }; -} -export const TallyParams = { - typeUrl: "/cosmos.gov.v1.TallyParams", - aminoType: "cosmos-sdk/v1/TallyParams", - encode(message: TallyParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.quorum !== "") { - writer.uint32(10).string(message.quorum); - } - if (message.threshold !== "") { - writer.uint32(18).string(message.threshold); - } - if (message.vetoThreshold !== "") { - writer.uint32(26).string(message.vetoThreshold); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTallyParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.quorum = reader.string(); - break; - case 2: - message.threshold = reader.string(); - break; - case 3: - message.vetoThreshold = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TallyParams { - const obj = createBaseTallyParams(); - if (isSet(object.quorum)) obj.quorum = String(object.quorum); - if (isSet(object.threshold)) obj.threshold = String(object.threshold); - if (isSet(object.vetoThreshold)) obj.vetoThreshold = String(object.vetoThreshold); - return obj; - }, - toJSON(message: TallyParams): unknown { - const obj: any = {}; - message.quorum !== undefined && (obj.quorum = message.quorum); - message.threshold !== undefined && (obj.threshold = message.threshold); - message.vetoThreshold !== undefined && (obj.vetoThreshold = message.vetoThreshold); - return obj; - }, - fromPartial(object: DeepPartial): TallyParams { - const message = createBaseTallyParams(); - message.quorum = object.quorum ?? ""; - message.threshold = object.threshold ?? ""; - message.vetoThreshold = object.vetoThreshold ?? ""; - return message; - }, - fromSDK(object: TallyParamsSDKType): TallyParams { - return { - quorum: object?.quorum, - threshold: object?.threshold, - vetoThreshold: object?.veto_threshold - }; - }, - toSDK(message: TallyParams): TallyParamsSDKType { - const obj: any = {}; - obj.quorum = message.quorum; - obj.threshold = message.threshold; - obj.veto_threshold = message.vetoThreshold; - return obj; - }, - fromAmino(object: TallyParamsAmino): TallyParams { - return { - quorum: object.quorum, - threshold: object.threshold, - vetoThreshold: object.veto_threshold - }; - }, - toAmino(message: TallyParams): TallyParamsAmino { - const obj: any = {}; - obj.quorum = message.quorum; - obj.threshold = message.threshold; - obj.veto_threshold = message.vetoThreshold; - return obj; - }, - fromAminoMsg(object: TallyParamsAminoMsg): TallyParams { - return TallyParams.fromAmino(object.value); - }, - toAminoMsg(message: TallyParams): TallyParamsAminoMsg { - return { - type: "cosmos-sdk/v1/TallyParams", - value: TallyParams.toAmino(message) - }; - }, - fromProtoMsg(message: TallyParamsProtoMsg): TallyParams { - return TallyParams.decode(message.value); - }, - toProto(message: TallyParams): Uint8Array { - return TallyParams.encode(message).finish(); - }, - toProtoMsg(message: TallyParams): TallyParamsProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.TallyParams", - value: TallyParams.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/gov/v1/query.lcd.ts deleted file mode 100644 index 8f181b6c6..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1/query.lcd.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryProposalRequest, QueryProposalRequestSDKType, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsRequestSDKType, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteRequestSDKType, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesRequestSDKType, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositRequestSDKType, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsRequestSDKType, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultRequestSDKType, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.proposal = this.proposal.bind(this); - this.proposals = this.proposals.bind(this); - this.vote = this.vote.bind(this); - this.votes = this.votes.bind(this); - this.params = this.params.bind(this); - this.deposit = this.deposit.bind(this); - this.deposits = this.deposits.bind(this); - this.tallyResult = this.tallyResult.bind(this); - } - /* Proposal queries proposal details based on ProposalID. */ - async proposal(params: QueryProposalRequest): Promise { - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}`; - return await this.req.get(endpoint); - } - /* Proposals queries all proposals based on given status. */ - async proposals(params: QueryProposalsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalStatus !== "undefined") { - options.params.proposal_status = params.proposalStatus; - } - if (typeof params?.voter !== "undefined") { - options.params.voter = params.voter; - } - if (typeof params?.depositor !== "undefined") { - options.params.depositor = params.depositor; - } - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/gov/v1/proposals`; - return await this.req.get(endpoint, options); - } - /* Vote queries voted information based on proposalID, voterAddr. */ - async vote(params: QueryVoteRequest): Promise { - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/votes/${params.voter}`; - return await this.req.get(endpoint); - } - /* Votes queries votes of a given proposal. */ - async votes(params: QueryVotesRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/votes`; - return await this.req.get(endpoint, options); - } - /* Params queries all parameters of the gov module. */ - async params(params: QueryParamsRequest): Promise { - const endpoint = `cosmos/gov/v1/params/${params.paramsType}`; - return await this.req.get(endpoint); - } - /* Deposit queries single deposit information based proposalID, depositAddr. */ - async deposit(params: QueryDepositRequest): Promise { - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/deposits/${params.depositor}`; - return await this.req.get(endpoint); - } - /* Deposits queries all deposits of a single proposal. */ - async deposits(params: QueryDepositsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/deposits`; - return await this.req.get(endpoint, options); - } - /* TallyResult queries the tally of a proposal vote. */ - async tallyResult(params: QueryTallyResultRequest): Promise { - const endpoint = `cosmos/gov/v1/proposals/${params.proposalId}/tally`; - return await this.req.get(endpoint); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/gov/v1/query.rpc.Query.ts deleted file mode 100644 index 21e92759d..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import * as fm from "../../../grpc-gateway"; -import { QueryProposalRequest, QueryProposalRequestSDKType, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsRequestSDKType, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteRequestSDKType, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesRequestSDKType, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositRequestSDKType, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsRequestSDKType, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultRequestSDKType, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -export class Query { - /** Proposal queries proposal details based on ProposalID. */ - static proposal(request: QueryProposalRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1/proposals/${request["proposal_id"]}?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Proposals queries all proposals based on given status. */ - static proposals(request: QueryProposalsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1/proposals?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** Vote queries voted information based on proposalID, voterAddr. */ - static vote(request: QueryVoteRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1/proposals/${request["proposal_id"]}/votes/${request["voter"]}?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id", "voter"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Votes queries votes of a given proposal. */ - static votes(request: QueryVotesRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1/proposals/${request["proposal_id"]}/votes?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Params queries all parameters of the gov module. */ - static params(request: QueryParamsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1/params/${request["params_type"]}?${fm.renderURLSearchParams({ - ...request - }, ["params_type"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Deposit queries single deposit information based proposalID, depositAddr. */ - static deposit(request: QueryDepositRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1/proposals/${request["proposal_id"]}/deposits/${request["depositor"]}?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id", "depositor"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Deposits queries all deposits of a single proposal. */ - static deposits(request: QueryDepositsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1/proposals/${request["proposal_id"]}/deposits?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** TallyResult queries the tally of a proposal vote. */ - static tallyResult(request: QueryTallyResultRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1/proposals/${request["proposal_id"]}/tally?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id"])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Proposal queries proposal details based on ProposalID. */ - async proposal(req: QueryProposalRequest, headers?: HeadersInit): Promise { - return Query.proposal(req, { - headers, - pathPrefix: this.url - }); - } - /** Proposals queries all proposals based on given status. */ - async proposals(req: QueryProposalsRequest, headers?: HeadersInit): Promise { - return Query.proposals(req, { - headers, - pathPrefix: this.url - }); - } - /** Vote queries voted information based on proposalID, voterAddr. */ - async vote(req: QueryVoteRequest, headers?: HeadersInit): Promise { - return Query.vote(req, { - headers, - pathPrefix: this.url - }); - } - /** Votes queries votes of a given proposal. */ - async votes(req: QueryVotesRequest, headers?: HeadersInit): Promise { - return Query.votes(req, { - headers, - pathPrefix: this.url - }); - } - /** Params queries all parameters of the gov module. */ - async params(req: QueryParamsRequest, headers?: HeadersInit): Promise { - return Query.params(req, { - headers, - pathPrefix: this.url - }); - } - /** Deposit queries single deposit information based proposalID, depositAddr. */ - async deposit(req: QueryDepositRequest, headers?: HeadersInit): Promise { - return Query.deposit(req, { - headers, - pathPrefix: this.url - }); - } - /** Deposits queries all deposits of a single proposal. */ - async deposits(req: QueryDepositsRequest, headers?: HeadersInit): Promise { - return Query.deposits(req, { - headers, - pathPrefix: this.url - }); - } - /** TallyResult queries the tally of a proposal vote. */ - async tallyResult(req: QueryTallyResultRequest, headers?: HeadersInit): Promise { - return Query.tallyResult(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1/query.ts b/quicksilverjs/src/codegen/cosmos/gov/v1/query.ts deleted file mode 100644 index f3fa2802a..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1/query.ts +++ /dev/null @@ -1,2076 +0,0 @@ -import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType, Deposit, DepositAmino, DepositSDKType, TallyResult, TallyResultAmino, TallyResultSDKType, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.gov.v1"; -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -export interface QueryProposalRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalRequest"; - value: Uint8Array; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; -} -export interface QueryProposalRequestAminoMsg { - type: "cosmos-sdk/v1/QueryProposalRequest"; - value: QueryProposalRequestAmino; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponse { - proposal: Proposal; -} -export interface QueryProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalResponse"; - value: Uint8Array; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseAmino { - proposal?: ProposalAmino; -} -export interface QueryProposalResponseAminoMsg { - type: "cosmos-sdk/v1/QueryProposalResponse"; - value: QueryProposalResponseAmino; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseSDKType { - proposal: ProposalSDKType; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequest { - /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryProposalsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalsRequest"; - value: Uint8Array; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestAmino { - /** proposal_status defines the status of the proposals. */ - proposal_status: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryProposalsRequestAminoMsg { - type: "cosmos-sdk/v1/QueryProposalsRequest"; - value: QueryProposalsRequestAmino; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestSDKType { - proposal_status: ProposalStatus; - voter: string; - depositor: string; - pagination: PageRequestSDKType; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponse { - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryProposalsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryProposalsResponse"; - value: Uint8Array; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseAmino { - proposals: ProposalAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryProposalsResponseAminoMsg { - type: "cosmos-sdk/v1/QueryProposalsResponse"; - value: QueryProposalsResponseAmino; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** voter defines the oter address for the proposals. */ - voter: string; -} -export interface QueryVoteRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVoteRequest"; - value: Uint8Array; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** voter defines the oter address for the proposals. */ - voter: string; -} -export interface QueryVoteRequestAminoMsg { - type: "cosmos-sdk/v1/QueryVoteRequest"; - value: QueryVoteRequestAmino; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote: Vote; -} -export interface QueryVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVoteResponse"; - value: Uint8Array; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseAmino { - /** vote defined the queried vote. */ - vote?: VoteAmino; -} -export interface QueryVoteResponseAminoMsg { - type: "cosmos-sdk/v1/QueryVoteResponse"; - value: QueryVoteResponseAmino; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseSDKType { - vote: VoteSDKType; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryVotesRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVotesRequest"; - value: Uint8Array; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryVotesRequestAminoMsg { - type: "cosmos-sdk/v1/QueryVotesRequest"; - value: QueryVotesRequestAmino; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestSDKType { - proposal_id: Long; - pagination: PageRequestSDKType; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponse { - /** votes defined the queried votes. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryVotesResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryVotesResponse"; - value: Uint8Array; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseAmino { - /** votes defined the queried votes. */ - votes: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryVotesResponseAminoMsg { - type: "cosmos-sdk/v1/QueryVotesResponse"; - value: QueryVotesResponseAmino; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseSDKType { - votes: VoteSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - paramsType: string; -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - params_type: string; -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/v1/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { - params_type: string; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** voting_params defines the parameters related to voting. */ - votingParams: VotingParams; - /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams; - /** tally_params defines the parameters related to tally. */ - tallyParams: TallyParams; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** voting_params defines the parameters related to voting. */ - voting_params?: VotingParamsAmino; - /** deposit_params defines the parameters related to deposit. */ - deposit_params?: DepositParamsAmino; - /** tally_params defines the parameters related to tally. */ - tally_params?: TallyParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/v1/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - voting_params: VotingParamsSDKType; - deposit_params: DepositParamsSDKType; - tally_params: TallyParamsSDKType; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -export interface QueryDepositRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositRequest"; - value: Uint8Array; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -export interface QueryDepositRequestAminoMsg { - type: "cosmos-sdk/v1/QueryDepositRequest"; - value: QueryDepositRequestAmino; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestSDKType { - proposal_id: Long; - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit: Deposit; -} -export interface QueryDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositResponse"; - value: Uint8Array; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseAmino { - /** deposit defines the requested deposit. */ - deposit?: DepositAmino; -} -export interface QueryDepositResponseAminoMsg { - type: "cosmos-sdk/v1/QueryDepositResponse"; - value: QueryDepositResponseAmino; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseSDKType { - deposit: DepositSDKType; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDepositsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositsRequest"; - value: Uint8Array; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDepositsRequestAminoMsg { - type: "cosmos-sdk/v1/QueryDepositsRequest"; - value: QueryDepositsRequestAmino; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestSDKType { - proposal_id: Long; - pagination: PageRequestSDKType; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponse { - deposits: Deposit[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDepositsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryDepositsResponse"; - value: Uint8Array; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseAmino { - deposits: DepositAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDepositsResponseAminoMsg { - type: "cosmos-sdk/v1/QueryDepositsResponse"; - value: QueryDepositsResponseAmino; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -export interface QueryTallyResultRequestProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryTallyResultRequest"; - value: Uint8Array; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; -} -export interface QueryTallyResultRequestAminoMsg { - type: "cosmos-sdk/v1/QueryTallyResultRequest"; - value: QueryTallyResultRequestAmino; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally: TallyResult; -} -export interface QueryTallyResultResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.QueryTallyResultResponse"; - value: Uint8Array; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseAmino { - /** tally defines the requested tally. */ - tally?: TallyResultAmino; -} -export interface QueryTallyResultResponseAminoMsg { - type: "cosmos-sdk/v1/QueryTallyResultResponse"; - value: QueryTallyResultResponseAmino; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseSDKType { - tally: TallyResultSDKType; -} -function createBaseQueryProposalRequest(): QueryProposalRequest { - return { - proposalId: Long.UZERO - }; -} -export const QueryProposalRequest = { - typeUrl: "/cosmos.gov.v1.QueryProposalRequest", - aminoType: "cosmos-sdk/v1/QueryProposalRequest", - encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalRequest { - const obj = createBaseQueryProposalRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalRequest { - const message = createBaseQueryProposalRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: QueryProposalRequestSDKType): QueryProposalRequest { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: QueryProposalRequest): QueryProposalRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: QueryProposalRequest): QueryProposalRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest { - return QueryProposalRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg { - return { - type: "cosmos-sdk/v1/QueryProposalRequest", - value: QueryProposalRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest { - return QueryProposalRequest.decode(message.value); - }, - toProto(message: QueryProposalRequest): Uint8Array { - return QueryProposalRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryProposalRequest", - value: QueryProposalRequest.encode(message).finish() - }; - } -}; -function createBaseQueryProposalResponse(): QueryProposalResponse { - return { - proposal: Proposal.fromPartial({}) - }; -} -export const QueryProposalResponse = { - typeUrl: "/cosmos.gov.v1.QueryProposalResponse", - aminoType: "cosmos-sdk/v1/QueryProposalResponse", - encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.proposal !== undefined) { - Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposal = Proposal.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalResponse { - const obj = createBaseQueryProposalResponse(); - if (isSet(object.proposal)) obj.proposal = Proposal.fromJSON(object.proposal); - return obj; - }, - toJSON(message: QueryProposalResponse): unknown { - const obj: any = {}; - message.proposal !== undefined && (obj.proposal = message.proposal ? Proposal.toJSON(message.proposal) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalResponse { - const message = createBaseQueryProposalResponse(); - if (object.proposal !== undefined && object.proposal !== null) { - message.proposal = Proposal.fromPartial(object.proposal); - } - return message; - }, - fromSDK(object: QueryProposalResponseSDKType): QueryProposalResponse { - return { - proposal: object.proposal ? Proposal.fromSDK(object.proposal) : undefined - }; - }, - toSDK(message: QueryProposalResponse): QueryProposalResponseSDKType { - const obj: any = {}; - message.proposal !== undefined && (obj.proposal = message.proposal ? Proposal.toSDK(message.proposal) : undefined); - return obj; - }, - fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse { - return { - proposal: object?.proposal ? Proposal.fromAmino(object.proposal) : undefined - }; - }, - toAmino(message: QueryProposalResponse): QueryProposalResponseAmino { - const obj: any = {}; - obj.proposal = message.proposal ? Proposal.toAmino(message.proposal) : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse { - return QueryProposalResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg { - return { - type: "cosmos-sdk/v1/QueryProposalResponse", - value: QueryProposalResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse { - return QueryProposalResponse.decode(message.value); - }, - toProto(message: QueryProposalResponse): Uint8Array { - return QueryProposalResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryProposalResponse", - value: QueryProposalResponse.encode(message).finish() - }; - } -}; -function createBaseQueryProposalsRequest(): QueryProposalsRequest { - return { - proposalStatus: 0, - voter: "", - depositor: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryProposalsRequest = { - typeUrl: "/cosmos.gov.v1.QueryProposalsRequest", - aminoType: "cosmos-sdk/v1/QueryProposalsRequest", - encode(message: QueryProposalsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.proposalStatus !== 0) { - writer.uint32(8).int32(message.proposalStatus); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - if (message.depositor !== "") { - writer.uint32(26).string(message.depositor); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalStatus = (reader.int32() as any); - break; - case 2: - message.voter = reader.string(); - break; - case 3: - message.depositor = reader.string(); - break; - case 4: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalsRequest { - const obj = createBaseQueryProposalsRequest(); - if (isSet(object.proposalStatus)) obj.proposalStatus = proposalStatusFromJSON(object.proposalStatus); - if (isSet(object.voter)) obj.voter = String(object.voter); - if (isSet(object.depositor)) obj.depositor = String(object.depositor); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryProposalsRequest): unknown { - const obj: any = {}; - message.proposalStatus !== undefined && (obj.proposalStatus = proposalStatusToJSON(message.proposalStatus)); - message.voter !== undefined && (obj.voter = message.voter); - message.depositor !== undefined && (obj.depositor = message.depositor); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalsRequest { - const message = createBaseQueryProposalsRequest(); - message.proposalStatus = object.proposalStatus ?? 0; - message.voter = object.voter ?? ""; - message.depositor = object.depositor ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryProposalsRequestSDKType): QueryProposalsRequest { - return { - proposalStatus: isSet(object.proposal_status) ? proposalStatusFromJSON(object.proposal_status) : -1, - voter: object?.voter, - depositor: object?.depositor, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryProposalsRequest): QueryProposalsRequestSDKType { - const obj: any = {}; - message.proposalStatus !== undefined && (obj.proposal_status = proposalStatusToJSON(message.proposalStatus)); - obj.voter = message.voter; - obj.depositor = message.depositor; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryProposalsRequestAmino): QueryProposalsRequest { - return { - proposalStatus: isSet(object.proposal_status) ? proposalStatusFromJSON(object.proposal_status) : -1, - voter: object.voter, - depositor: object.depositor, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryProposalsRequest): QueryProposalsRequestAmino { - const obj: any = {}; - obj.proposal_status = message.proposalStatus; - obj.voter = message.voter; - obj.depositor = message.depositor; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalsRequestAminoMsg): QueryProposalsRequest { - return QueryProposalsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalsRequest): QueryProposalsRequestAminoMsg { - return { - type: "cosmos-sdk/v1/QueryProposalsRequest", - value: QueryProposalsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalsRequestProtoMsg): QueryProposalsRequest { - return QueryProposalsRequest.decode(message.value); - }, - toProto(message: QueryProposalsRequest): Uint8Array { - return QueryProposalsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalsRequest): QueryProposalsRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryProposalsRequest", - value: QueryProposalsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryProposalsResponse(): QueryProposalsResponse { - return { - proposals: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryProposalsResponse = { - typeUrl: "/cosmos.gov.v1.QueryProposalsResponse", - aminoType: "cosmos-sdk/v1/QueryProposalsResponse", - encode(message: QueryProposalsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalsResponse { - const obj = createBaseQueryProposalsResponse(); - if (Array.isArray(object?.proposals)) obj.proposals = object.proposals.map((e: any) => Proposal.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryProposalsResponse): unknown { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalsResponse { - const message = createBaseQueryProposalsResponse(); - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryProposalsResponseSDKType): QueryProposalsResponse { - return { - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryProposalsResponse): QueryProposalsResponseSDKType { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toSDK(e) : undefined); - } else { - obj.proposals = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryProposalsResponseAmino): QueryProposalsResponse { - return { - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryProposalsResponse): QueryProposalsResponseAmino { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toAmino(e) : undefined); - } else { - obj.proposals = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalsResponseAminoMsg): QueryProposalsResponse { - return QueryProposalsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalsResponse): QueryProposalsResponseAminoMsg { - return { - type: "cosmos-sdk/v1/QueryProposalsResponse", - value: QueryProposalsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalsResponseProtoMsg): QueryProposalsResponse { - return QueryProposalsResponse.decode(message.value); - }, - toProto(message: QueryProposalsResponse): Uint8Array { - return QueryProposalsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalsResponse): QueryProposalsResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryProposalsResponse", - value: QueryProposalsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryVoteRequest(): QueryVoteRequest { - return { - proposalId: Long.UZERO, - voter: "" - }; -} -export const QueryVoteRequest = { - typeUrl: "/cosmos.gov.v1.QueryVoteRequest", - aminoType: "cosmos-sdk/v1/QueryVoteRequest", - encode(message: QueryVoteRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.voter = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVoteRequest { - const obj = createBaseQueryVoteRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.voter)) obj.voter = String(object.voter); - return obj; - }, - toJSON(message: QueryVoteRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.voter !== undefined && (obj.voter = message.voter); - return obj; - }, - fromPartial(object: DeepPartial): QueryVoteRequest { - const message = createBaseQueryVoteRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.voter = object.voter ?? ""; - return message; - }, - fromSDK(object: QueryVoteRequestSDKType): QueryVoteRequest { - return { - proposalId: object?.proposal_id, - voter: object?.voter - }; - }, - toSDK(message: QueryVoteRequest): QueryVoteRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.voter = message.voter; - return obj; - }, - fromAmino(object: QueryVoteRequestAmino): QueryVoteRequest { - return { - proposalId: Long.fromString(object.proposal_id), - voter: object.voter - }; - }, - toAmino(message: QueryVoteRequest): QueryVoteRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.voter = message.voter; - return obj; - }, - fromAminoMsg(object: QueryVoteRequestAminoMsg): QueryVoteRequest { - return QueryVoteRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryVoteRequest): QueryVoteRequestAminoMsg { - return { - type: "cosmos-sdk/v1/QueryVoteRequest", - value: QueryVoteRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVoteRequestProtoMsg): QueryVoteRequest { - return QueryVoteRequest.decode(message.value); - }, - toProto(message: QueryVoteRequest): Uint8Array { - return QueryVoteRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryVoteRequest): QueryVoteRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryVoteRequest", - value: QueryVoteRequest.encode(message).finish() - }; - } -}; -function createBaseQueryVoteResponse(): QueryVoteResponse { - return { - vote: Vote.fromPartial({}) - }; -} -export const QueryVoteResponse = { - typeUrl: "/cosmos.gov.v1.QueryVoteResponse", - aminoType: "cosmos-sdk/v1/QueryVoteResponse", - encode(message: QueryVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.vote !== undefined) { - Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.vote = Vote.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVoteResponse { - const obj = createBaseQueryVoteResponse(); - if (isSet(object.vote)) obj.vote = Vote.fromJSON(object.vote); - return obj; - }, - toJSON(message: QueryVoteResponse): unknown { - const obj: any = {}; - message.vote !== undefined && (obj.vote = message.vote ? Vote.toJSON(message.vote) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryVoteResponse { - const message = createBaseQueryVoteResponse(); - if (object.vote !== undefined && object.vote !== null) { - message.vote = Vote.fromPartial(object.vote); - } - return message; - }, - fromSDK(object: QueryVoteResponseSDKType): QueryVoteResponse { - return { - vote: object.vote ? Vote.fromSDK(object.vote) : undefined - }; - }, - toSDK(message: QueryVoteResponse): QueryVoteResponseSDKType { - const obj: any = {}; - message.vote !== undefined && (obj.vote = message.vote ? Vote.toSDK(message.vote) : undefined); - return obj; - }, - fromAmino(object: QueryVoteResponseAmino): QueryVoteResponse { - return { - vote: object?.vote ? Vote.fromAmino(object.vote) : undefined - }; - }, - toAmino(message: QueryVoteResponse): QueryVoteResponseAmino { - const obj: any = {}; - obj.vote = message.vote ? Vote.toAmino(message.vote) : undefined; - return obj; - }, - fromAminoMsg(object: QueryVoteResponseAminoMsg): QueryVoteResponse { - return QueryVoteResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryVoteResponse): QueryVoteResponseAminoMsg { - return { - type: "cosmos-sdk/v1/QueryVoteResponse", - value: QueryVoteResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVoteResponseProtoMsg): QueryVoteResponse { - return QueryVoteResponse.decode(message.value); - }, - toProto(message: QueryVoteResponse): Uint8Array { - return QueryVoteResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryVoteResponse): QueryVoteResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryVoteResponse", - value: QueryVoteResponse.encode(message).finish() - }; - } -}; -function createBaseQueryVotesRequest(): QueryVotesRequest { - return { - proposalId: Long.UZERO, - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryVotesRequest = { - typeUrl: "/cosmos.gov.v1.QueryVotesRequest", - aminoType: "cosmos-sdk/v1/QueryVotesRequest", - encode(message: QueryVotesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVotesRequest { - const obj = createBaseQueryVotesRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryVotesRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryVotesRequest { - const message = createBaseQueryVotesRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryVotesRequestSDKType): QueryVotesRequest { - return { - proposalId: object?.proposal_id, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryVotesRequest): QueryVotesRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryVotesRequestAmino): QueryVotesRequest { - return { - proposalId: Long.fromString(object.proposal_id), - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryVotesRequest): QueryVotesRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryVotesRequestAminoMsg): QueryVotesRequest { - return QueryVotesRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryVotesRequest): QueryVotesRequestAminoMsg { - return { - type: "cosmos-sdk/v1/QueryVotesRequest", - value: QueryVotesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVotesRequestProtoMsg): QueryVotesRequest { - return QueryVotesRequest.decode(message.value); - }, - toProto(message: QueryVotesRequest): Uint8Array { - return QueryVotesRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryVotesRequest): QueryVotesRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryVotesRequest", - value: QueryVotesRequest.encode(message).finish() - }; - } -}; -function createBaseQueryVotesResponse(): QueryVotesResponse { - return { - votes: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryVotesResponse = { - typeUrl: "/cosmos.gov.v1.QueryVotesResponse", - aminoType: "cosmos-sdk/v1/QueryVotesResponse", - encode(message: QueryVotesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVotesResponse { - const obj = createBaseQueryVotesResponse(); - if (Array.isArray(object?.votes)) obj.votes = object.votes.map((e: any) => Vote.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryVotesResponse): unknown { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryVotesResponse { - const message = createBaseQueryVotesResponse(); - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryVotesResponseSDKType): QueryVotesResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryVotesResponse): QueryVotesResponseSDKType { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toSDK(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryVotesResponseAmino): QueryVotesResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryVotesResponse): QueryVotesResponseAmino { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toAmino(e) : undefined); - } else { - obj.votes = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryVotesResponseAminoMsg): QueryVotesResponse { - return QueryVotesResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryVotesResponse): QueryVotesResponseAminoMsg { - return { - type: "cosmos-sdk/v1/QueryVotesResponse", - value: QueryVotesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVotesResponseProtoMsg): QueryVotesResponse { - return QueryVotesResponse.decode(message.value); - }, - toProto(message: QueryVotesResponse): Uint8Array { - return QueryVotesResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryVotesResponse): QueryVotesResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryVotesResponse", - value: QueryVotesResponse.encode(message).finish() - }; - } -}; -function createBaseQueryParamsRequest(): QueryParamsRequest { - return { - paramsType: "" - }; -} -export const QueryParamsRequest = { - typeUrl: "/cosmos.gov.v1.QueryParamsRequest", - aminoType: "cosmos-sdk/v1/QueryParamsRequest", - encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.paramsType !== "") { - writer.uint32(10).string(message.paramsType); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.paramsType = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsRequest { - const obj = createBaseQueryParamsRequest(); - if (isSet(object.paramsType)) obj.paramsType = String(object.paramsType); - return obj; - }, - toJSON(message: QueryParamsRequest): unknown { - const obj: any = {}; - message.paramsType !== undefined && (obj.paramsType = message.paramsType); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - message.paramsType = object.paramsType ?? ""; - return message; - }, - fromSDK(object: QueryParamsRequestSDKType): QueryParamsRequest { - return { - paramsType: object?.params_type - }; - }, - toSDK(message: QueryParamsRequest): QueryParamsRequestSDKType { - const obj: any = {}; - obj.params_type = message.paramsType; - return obj; - }, - fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest { - return { - paramsType: object.params_type - }; - }, - toAmino(message: QueryParamsRequest): QueryParamsRequestAmino { - const obj: any = {}; - obj.params_type = message.paramsType; - return obj; - }, - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest { - return QueryParamsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg { - return { - type: "cosmos-sdk/v1/QueryParamsRequest", - value: QueryParamsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest { - return QueryParamsRequest.decode(message.value); - }, - toProto(message: QueryParamsRequest): Uint8Array { - return QueryParamsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryParamsRequest", - value: QueryParamsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - votingParams: VotingParams.fromPartial({}), - depositParams: DepositParams.fromPartial({}), - tallyParams: TallyParams.fromPartial({}) - }; -} -export const QueryParamsResponse = { - typeUrl: "/cosmos.gov.v1.QueryParamsResponse", - aminoType: "cosmos-sdk/v1/QueryParamsResponse", - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.votingParams !== undefined) { - VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim(); - } - if (message.depositParams !== undefined) { - DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim(); - } - if (message.tallyParams !== undefined) { - TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.votingParams = VotingParams.decode(reader, reader.uint32()); - break; - case 2: - message.depositParams = DepositParams.decode(reader, reader.uint32()); - break; - case 3: - message.tallyParams = TallyParams.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsResponse { - const obj = createBaseQueryParamsResponse(); - if (isSet(object.votingParams)) obj.votingParams = VotingParams.fromJSON(object.votingParams); - if (isSet(object.depositParams)) obj.depositParams = DepositParams.fromJSON(object.depositParams); - if (isSet(object.tallyParams)) obj.tallyParams = TallyParams.fromJSON(object.tallyParams); - return obj; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.votingParams !== undefined && (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined); - message.depositParams !== undefined && (obj.depositParams = message.depositParams ? DepositParams.toJSON(message.depositParams) : undefined); - message.tallyParams !== undefined && (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - if (object.votingParams !== undefined && object.votingParams !== null) { - message.votingParams = VotingParams.fromPartial(object.votingParams); - } - if (object.depositParams !== undefined && object.depositParams !== null) { - message.depositParams = DepositParams.fromPartial(object.depositParams); - } - if (object.tallyParams !== undefined && object.tallyParams !== null) { - message.tallyParams = TallyParams.fromPartial(object.tallyParams); - } - return message; - }, - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse { - return { - votingParams: object.voting_params ? VotingParams.fromSDK(object.voting_params) : undefined, - depositParams: object.deposit_params ? DepositParams.fromSDK(object.deposit_params) : undefined, - tallyParams: object.tally_params ? TallyParams.fromSDK(object.tally_params) : undefined - }; - }, - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType { - const obj: any = {}; - message.votingParams !== undefined && (obj.voting_params = message.votingParams ? VotingParams.toSDK(message.votingParams) : undefined); - message.depositParams !== undefined && (obj.deposit_params = message.depositParams ? DepositParams.toSDK(message.depositParams) : undefined); - message.tallyParams !== undefined && (obj.tally_params = message.tallyParams ? TallyParams.toSDK(message.tallyParams) : undefined); - return obj; - }, - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse { - return { - votingParams: object?.voting_params ? VotingParams.fromAmino(object.voting_params) : undefined, - depositParams: object?.deposit_params ? DepositParams.fromAmino(object.deposit_params) : undefined, - tallyParams: object?.tally_params ? TallyParams.fromAmino(object.tally_params) : undefined - }; - }, - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino { - const obj: any = {}; - obj.voting_params = message.votingParams ? VotingParams.toAmino(message.votingParams) : undefined; - obj.deposit_params = message.depositParams ? DepositParams.toAmino(message.depositParams) : undefined; - obj.tally_params = message.tallyParams ? TallyParams.toAmino(message.tallyParams) : undefined; - return obj; - }, - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse { - return QueryParamsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg { - return { - type: "cosmos-sdk/v1/QueryParamsResponse", - value: QueryParamsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse { - return QueryParamsResponse.decode(message.value); - }, - toProto(message: QueryParamsResponse): Uint8Array { - return QueryParamsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryParamsResponse", - value: QueryParamsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDepositRequest(): QueryDepositRequest { - return { - proposalId: Long.UZERO, - depositor: "" - }; -} -export const QueryDepositRequest = { - typeUrl: "/cosmos.gov.v1.QueryDepositRequest", - aminoType: "cosmos-sdk/v1/QueryDepositRequest", - encode(message: QueryDepositRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.depositor = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDepositRequest { - const obj = createBaseQueryDepositRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.depositor)) obj.depositor = String(object.depositor); - return obj; - }, - toJSON(message: QueryDepositRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - return obj; - }, - fromPartial(object: DeepPartial): QueryDepositRequest { - const message = createBaseQueryDepositRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.depositor = object.depositor ?? ""; - return message; - }, - fromSDK(object: QueryDepositRequestSDKType): QueryDepositRequest { - return { - proposalId: object?.proposal_id, - depositor: object?.depositor - }; - }, - toSDK(message: QueryDepositRequest): QueryDepositRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.depositor = message.depositor; - return obj; - }, - fromAmino(object: QueryDepositRequestAmino): QueryDepositRequest { - return { - proposalId: Long.fromString(object.proposal_id), - depositor: object.depositor - }; - }, - toAmino(message: QueryDepositRequest): QueryDepositRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.depositor = message.depositor; - return obj; - }, - fromAminoMsg(object: QueryDepositRequestAminoMsg): QueryDepositRequest { - return QueryDepositRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDepositRequest): QueryDepositRequestAminoMsg { - return { - type: "cosmos-sdk/v1/QueryDepositRequest", - value: QueryDepositRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDepositRequestProtoMsg): QueryDepositRequest { - return QueryDepositRequest.decode(message.value); - }, - toProto(message: QueryDepositRequest): Uint8Array { - return QueryDepositRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDepositRequest): QueryDepositRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryDepositRequest", - value: QueryDepositRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDepositResponse(): QueryDepositResponse { - return { - deposit: Deposit.fromPartial({}) - }; -} -export const QueryDepositResponse = { - typeUrl: "/cosmos.gov.v1.QueryDepositResponse", - aminoType: "cosmos-sdk/v1/QueryDepositResponse", - encode(message: QueryDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.deposit !== undefined) { - Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.deposit = Deposit.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDepositResponse { - const obj = createBaseQueryDepositResponse(); - if (isSet(object.deposit)) obj.deposit = Deposit.fromJSON(object.deposit); - return obj; - }, - toJSON(message: QueryDepositResponse): unknown { - const obj: any = {}; - message.deposit !== undefined && (obj.deposit = message.deposit ? Deposit.toJSON(message.deposit) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDepositResponse { - const message = createBaseQueryDepositResponse(); - if (object.deposit !== undefined && object.deposit !== null) { - message.deposit = Deposit.fromPartial(object.deposit); - } - return message; - }, - fromSDK(object: QueryDepositResponseSDKType): QueryDepositResponse { - return { - deposit: object.deposit ? Deposit.fromSDK(object.deposit) : undefined - }; - }, - toSDK(message: QueryDepositResponse): QueryDepositResponseSDKType { - const obj: any = {}; - message.deposit !== undefined && (obj.deposit = message.deposit ? Deposit.toSDK(message.deposit) : undefined); - return obj; - }, - fromAmino(object: QueryDepositResponseAmino): QueryDepositResponse { - return { - deposit: object?.deposit ? Deposit.fromAmino(object.deposit) : undefined - }; - }, - toAmino(message: QueryDepositResponse): QueryDepositResponseAmino { - const obj: any = {}; - obj.deposit = message.deposit ? Deposit.toAmino(message.deposit) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDepositResponseAminoMsg): QueryDepositResponse { - return QueryDepositResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDepositResponse): QueryDepositResponseAminoMsg { - return { - type: "cosmos-sdk/v1/QueryDepositResponse", - value: QueryDepositResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDepositResponseProtoMsg): QueryDepositResponse { - return QueryDepositResponse.decode(message.value); - }, - toProto(message: QueryDepositResponse): Uint8Array { - return QueryDepositResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDepositResponse): QueryDepositResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryDepositResponse", - value: QueryDepositResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDepositsRequest(): QueryDepositsRequest { - return { - proposalId: Long.UZERO, - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryDepositsRequest = { - typeUrl: "/cosmos.gov.v1.QueryDepositsRequest", - aminoType: "cosmos-sdk/v1/QueryDepositsRequest", - encode(message: QueryDepositsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDepositsRequest { - const obj = createBaseQueryDepositsRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDepositsRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDepositsRequest { - const message = createBaseQueryDepositsRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDepositsRequestSDKType): QueryDepositsRequest { - return { - proposalId: object?.proposal_id, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDepositsRequest): QueryDepositsRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDepositsRequestAmino): QueryDepositsRequest { - return { - proposalId: Long.fromString(object.proposal_id), - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDepositsRequest): QueryDepositsRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDepositsRequestAminoMsg): QueryDepositsRequest { - return QueryDepositsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDepositsRequest): QueryDepositsRequestAminoMsg { - return { - type: "cosmos-sdk/v1/QueryDepositsRequest", - value: QueryDepositsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDepositsRequestProtoMsg): QueryDepositsRequest { - return QueryDepositsRequest.decode(message.value); - }, - toProto(message: QueryDepositsRequest): Uint8Array { - return QueryDepositsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDepositsRequest): QueryDepositsRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryDepositsRequest", - value: QueryDepositsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDepositsResponse(): QueryDepositsResponse { - return { - deposits: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryDepositsResponse = { - typeUrl: "/cosmos.gov.v1.QueryDepositsResponse", - aminoType: "cosmos-sdk/v1/QueryDepositsResponse", - encode(message: QueryDepositsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.deposits) { - Deposit.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.deposits.push(Deposit.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDepositsResponse { - const obj = createBaseQueryDepositsResponse(); - if (Array.isArray(object?.deposits)) obj.deposits = object.deposits.map((e: any) => Deposit.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDepositsResponse): unknown { - const obj: any = {}; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toJSON(e) : undefined); - } else { - obj.deposits = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDepositsResponse { - const message = createBaseQueryDepositsResponse(); - message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDepositsResponseSDKType): QueryDepositsResponse { - return { - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDepositsResponse): QueryDepositsResponseSDKType { - const obj: any = {}; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toSDK(e) : undefined); - } else { - obj.deposits = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDepositsResponseAmino): QueryDepositsResponse { - return { - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDepositsResponse): QueryDepositsResponseAmino { - const obj: any = {}; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toAmino(e) : undefined); - } else { - obj.deposits = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDepositsResponseAminoMsg): QueryDepositsResponse { - return QueryDepositsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDepositsResponse): QueryDepositsResponseAminoMsg { - return { - type: "cosmos-sdk/v1/QueryDepositsResponse", - value: QueryDepositsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDepositsResponseProtoMsg): QueryDepositsResponse { - return QueryDepositsResponse.decode(message.value); - }, - toProto(message: QueryDepositsResponse): Uint8Array { - return QueryDepositsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDepositsResponse): QueryDepositsResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryDepositsResponse", - value: QueryDepositsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { - return { - proposalId: Long.UZERO - }; -} -export const QueryTallyResultRequest = { - typeUrl: "/cosmos.gov.v1.QueryTallyResultRequest", - aminoType: "cosmos-sdk/v1/QueryTallyResultRequest", - encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryTallyResultRequest { - const obj = createBaseQueryTallyResultRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryTallyResultRequest { - const message = createBaseQueryTallyResultRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: QueryTallyResultRequestSDKType): QueryTallyResultRequest { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: QueryTallyResultRequest): QueryTallyResultRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest { - return QueryTallyResultRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg { - return { - type: "cosmos-sdk/v1/QueryTallyResultRequest", - value: QueryTallyResultRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest { - return QueryTallyResultRequest.decode(message.value); - }, - toProto(message: QueryTallyResultRequest): Uint8Array { - return QueryTallyResultRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryTallyResultRequest", - value: QueryTallyResultRequest.encode(message).finish() - }; - } -}; -function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { - return { - tally: TallyResult.fromPartial({}) - }; -} -export const QueryTallyResultResponse = { - typeUrl: "/cosmos.gov.v1.QueryTallyResultResponse", - aminoType: "cosmos-sdk/v1/QueryTallyResultResponse", - encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tally !== undefined) { - TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.tally = TallyResult.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryTallyResultResponse { - const obj = createBaseQueryTallyResultResponse(); - if (isSet(object.tally)) obj.tally = TallyResult.fromJSON(object.tally); - return obj; - }, - toJSON(message: QueryTallyResultResponse): unknown { - const obj: any = {}; - message.tally !== undefined && (obj.tally = message.tally ? TallyResult.toJSON(message.tally) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryTallyResultResponse { - const message = createBaseQueryTallyResultResponse(); - if (object.tally !== undefined && object.tally !== null) { - message.tally = TallyResult.fromPartial(object.tally); - } - return message; - }, - fromSDK(object: QueryTallyResultResponseSDKType): QueryTallyResultResponse { - return { - tally: object.tally ? TallyResult.fromSDK(object.tally) : undefined - }; - }, - toSDK(message: QueryTallyResultResponse): QueryTallyResultResponseSDKType { - const obj: any = {}; - message.tally !== undefined && (obj.tally = message.tally ? TallyResult.toSDK(message.tally) : undefined); - return obj; - }, - fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse { - return { - tally: object?.tally ? TallyResult.fromAmino(object.tally) : undefined - }; - }, - toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino { - const obj: any = {}; - obj.tally = message.tally ? TallyResult.toAmino(message.tally) : undefined; - return obj; - }, - fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse { - return QueryTallyResultResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg { - return { - type: "cosmos-sdk/v1/QueryTallyResultResponse", - value: QueryTallyResultResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse { - return QueryTallyResultResponse.decode(message.value); - }, - toProto(message: QueryTallyResultResponse): Uint8Array { - return QueryTallyResultResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.QueryTallyResultResponse", - value: QueryTallyResultResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/gov/v1/tx.amino.ts deleted file mode 100644 index 33a7b3f9c..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1/tx.amino.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; -import { TextProposal, TextProposalSDKType } from "../v1beta1/gov"; -import { ClientUpdateProposal, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; -import { MsgSubmitProposal, MsgSubmitProposalSDKType, MsgExecLegacyContent, MsgExecLegacyContentSDKType, MsgVote, MsgVoteSDKType, MsgVoteWeighted, MsgVoteWeightedSDKType, MsgDeposit, MsgDepositSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.gov.v1.MsgSubmitProposal": { - aminoType: "cosmos-sdk/v1/MsgSubmitProposal", - toAmino: MsgSubmitProposal.toAmino, - fromAmino: MsgSubmitProposal.fromAmino - }, - "/cosmos.gov.v1.MsgExecLegacyContent": { - aminoType: "cosmos-sdk/v1/MsgExecLegacyContent", - toAmino: MsgExecLegacyContent.toAmino, - fromAmino: MsgExecLegacyContent.fromAmino - }, - "/cosmos.gov.v1.MsgVote": { - aminoType: "cosmos-sdk/v1/MsgVote", - toAmino: MsgVote.toAmino, - fromAmino: MsgVote.fromAmino - }, - "/cosmos.gov.v1.MsgVoteWeighted": { - aminoType: "cosmos-sdk/v1/MsgVoteWeighted", - toAmino: MsgVoteWeighted.toAmino, - fromAmino: MsgVoteWeighted.fromAmino - }, - "/cosmos.gov.v1.MsgDeposit": { - aminoType: "cosmos-sdk/v1/MsgDeposit", - toAmino: MsgDeposit.toAmino, - fromAmino: MsgDeposit.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/gov/v1/tx.registry.ts deleted file mode 100644 index edf94db32..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1/tx.registry.ts +++ /dev/null @@ -1,175 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; -import { TextProposal, TextProposalSDKType } from "../v1beta1/gov"; -import { ClientUpdateProposal, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSubmitProposal, MsgSubmitProposalSDKType, MsgExecLegacyContent, MsgExecLegacyContentSDKType, MsgVote, MsgVoteSDKType, MsgVoteWeighted, MsgVoteWeightedSDKType, MsgDeposit, MsgDepositSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.gov.v1.MsgSubmitProposal", MsgSubmitProposal], ["/cosmos.gov.v1.MsgExecLegacyContent", MsgExecLegacyContent], ["/cosmos.gov.v1.MsgVote", MsgVote], ["/cosmos.gov.v1.MsgVoteWeighted", MsgVoteWeighted], ["/cosmos.gov.v1.MsgDeposit", MsgDeposit]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - value: MsgSubmitProposal.encode(value).finish() - }; - }, - execLegacyContent(value: MsgExecLegacyContent) { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - value: MsgExecLegacyContent.encode(value).finish() - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1.MsgVote", - value: MsgVote.encode(value).finish() - }; - }, - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - value: MsgVoteWeighted.encode(value).finish() - }; - }, - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - value: MsgDeposit.encode(value).finish() - }; - } - }, - withTypeUrl: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - value - }; - }, - execLegacyContent(value: MsgExecLegacyContent) { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - value - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1.MsgVote", - value - }; - }, - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - value - }; - }, - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - value - }; - } - }, - toJSON: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - value: MsgSubmitProposal.toJSON(value) - }; - }, - execLegacyContent(value: MsgExecLegacyContent) { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - value: MsgExecLegacyContent.toJSON(value) - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1.MsgVote", - value: MsgVote.toJSON(value) - }; - }, - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - value: MsgVoteWeighted.toJSON(value) - }; - }, - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - value: MsgDeposit.toJSON(value) - }; - } - }, - fromJSON: { - submitProposal(value: any) { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - value: MsgSubmitProposal.fromJSON(value) - }; - }, - execLegacyContent(value: any) { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - value: MsgExecLegacyContent.fromJSON(value) - }; - }, - vote(value: any) { - return { - typeUrl: "/cosmos.gov.v1.MsgVote", - value: MsgVote.fromJSON(value) - }; - }, - voteWeighted(value: any) { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - value: MsgVoteWeighted.fromJSON(value) - }; - }, - deposit(value: any) { - return { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - value: MsgDeposit.fromJSON(value) - }; - } - }, - fromPartial: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - value: MsgSubmitProposal.fromPartial(value) - }; - }, - execLegacyContent(value: MsgExecLegacyContent) { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - value: MsgExecLegacyContent.fromPartial(value) - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1.MsgVote", - value: MsgVote.fromPartial(value) - }; - }, - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - value: MsgVoteWeighted.fromPartial(value) - }; - }, - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - value: MsgDeposit.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts deleted file mode 100644 index a44aacdbc..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; -import { TextProposal, TextProposalSDKType } from "../v1beta1/gov"; -import { ClientUpdateProposal, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; -import * as fm from "../../../grpc-gateway"; -import { MsgSubmitProposal, MsgSubmitProposalSDKType, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgExecLegacyContent, MsgExecLegacyContentSDKType, MsgExecLegacyContentResponse, MsgExecLegacyContentResponseSDKType, MsgVote, MsgVoteSDKType, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedSDKType, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositSDKType, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; -export class Msg { - /** SubmitProposal defines a method to create new proposal given a content. */ - static submitProposal(request: MsgSubmitProposal, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.gov.v1/submitProposal`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal - * to execute a legacy content-based proposal. - */ - static execLegacyContent(request: MsgExecLegacyContent, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.gov.v1/execLegacyContent`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** Vote defines a method to add a vote on a specific proposal. */ - static vote(request: MsgVote, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.gov.v1/vote`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** VoteWeighted defines a method to add a weighted vote on a specific proposal. */ - static voteWeighted(request: MsgVoteWeighted, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.gov.v1/voteWeighted`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** Deposit defines a method to add deposit on a specific proposal. */ - static deposit(request: MsgDeposit, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.gov.v1/deposit`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1/tx.ts b/quicksilverjs/src/codegen/cosmos/gov/v1/tx.ts deleted file mode 100644 index 43eaaaa20..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1/tx.ts +++ /dev/null @@ -1,1344 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionAmino, WeightedVoteOptionSDKType, voteOptionFromJSON, voteOptionToJSON } from "./gov"; -import { TextProposal, TextProposalProtoMsg, TextProposalSDKType } from "../v1beta1/gov"; -import { ClientUpdateProposal, ClientUpdateProposalProtoMsg, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalProtoMsg, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.gov.v1"; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposal { - messages: (TextProposal | ClientUpdateProposal | UpgradeProposal | Any)[] | Any[]; - initialDeposit: Coin[]; - proposer: string; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata: string; -} -export interface MsgSubmitProposalProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal"; - value: Uint8Array; -} -export type MsgSubmitProposalEncoded = Omit & { - messages: (TextProposalProtoMsg | ClientUpdateProposalProtoMsg | UpgradeProposalProtoMsg | AnyProtoMsg)[]; -}; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalAmino { - messages: AnyAmino[]; - initial_deposit: CoinAmino[]; - proposer: string; - /** metadata is any arbitrary metadata attached to the proposal. */ - metadata: string; -} -export interface MsgSubmitProposalAminoMsg { - type: "cosmos-sdk/v1/MsgSubmitProposal"; - value: MsgSubmitProposalAmino; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalSDKType { - messages: (TextProposalSDKType | ClientUpdateProposalSDKType | UpgradeProposalSDKType | AnySDKType)[]; - initial_deposit: CoinSDKType[]; - proposer: string; - metadata: string; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponse { - proposalId: Long; -} -export interface MsgSubmitProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposalResponse"; - value: Uint8Array; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseAmino { - proposal_id: string; -} -export interface MsgSubmitProposalResponseAminoMsg { - type: "cosmos-sdk/v1/MsgSubmitProposalResponse"; - value: MsgSubmitProposalResponseAmino; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseSDKType { - proposal_id: Long; -} -/** - * MsgExecLegacyContent is used to wrap the legacy content field into a message. - * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - */ -export interface MsgExecLegacyContent { - /** content is the proposal's content. */ - content: TextProposal | ClientUpdateProposal | UpgradeProposal | Any | undefined; - /** authority must be the gov module address. */ - authority: string; -} -export interface MsgExecLegacyContentProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent"; - value: Uint8Array; -} -export type MsgExecLegacyContentEncoded = Omit & { - /** content is the proposal's content. */content?: TextProposalProtoMsg | ClientUpdateProposalProtoMsg | UpgradeProposalProtoMsg | AnyProtoMsg | undefined; -}; -/** - * MsgExecLegacyContent is used to wrap the legacy content field into a message. - * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - */ -export interface MsgExecLegacyContentAmino { - /** content is the proposal's content. */ - content?: AnyAmino; - /** authority must be the gov module address. */ - authority: string; -} -export interface MsgExecLegacyContentAminoMsg { - type: "cosmos-sdk/v1/MsgExecLegacyContent"; - value: MsgExecLegacyContentAmino; -} -/** - * MsgExecLegacyContent is used to wrap the legacy content field into a message. - * This ensures backwards compatibility with v1beta1.MsgSubmitProposal. - */ -export interface MsgExecLegacyContentSDKType { - content: TextProposalSDKType | ClientUpdateProposalSDKType | UpgradeProposalSDKType | AnySDKType | undefined; - authority: string; -} -/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ -export interface MsgExecLegacyContentResponse {} -export interface MsgExecLegacyContentResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContentResponse"; - value: Uint8Array; -} -/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ -export interface MsgExecLegacyContentResponseAmino {} -export interface MsgExecLegacyContentResponseAminoMsg { - type: "cosmos-sdk/v1/MsgExecLegacyContentResponse"; - value: MsgExecLegacyContentResponseAmino; -} -/** MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. */ -export interface MsgExecLegacyContentResponseSDKType {} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVote { - proposalId: Long; - voter: string; - option: VoteOption; - metadata: string; -} -export interface MsgVoteProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVote"; - value: Uint8Array; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteAmino { - proposal_id: string; - voter: string; - option: VoteOption; - metadata: string; -} -export interface MsgVoteAminoMsg { - type: "cosmos-sdk/v1/MsgVote"; - value: MsgVoteAmino; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOption; - metadata: string; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponse {} -export interface MsgVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVoteResponse"; - value: Uint8Array; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseAmino {} -export interface MsgVoteResponseAminoMsg { - type: "cosmos-sdk/v1/MsgVoteResponse"; - value: MsgVoteResponseAmino; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseSDKType {} -/** MsgVoteWeighted defines a message to cast a vote. */ -export interface MsgVoteWeighted { - proposalId: Long; - voter: string; - options: WeightedVoteOption[]; - metadata: string; -} -export interface MsgVoteWeightedProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted"; - value: Uint8Array; -} -/** MsgVoteWeighted defines a message to cast a vote. */ -export interface MsgVoteWeightedAmino { - proposal_id: string; - voter: string; - options: WeightedVoteOptionAmino[]; - metadata: string; -} -export interface MsgVoteWeightedAminoMsg { - type: "cosmos-sdk/v1/MsgVoteWeighted"; - value: MsgVoteWeightedAmino; -} -/** MsgVoteWeighted defines a message to cast a vote. */ -export interface MsgVoteWeightedSDKType { - proposal_id: Long; - voter: string; - options: WeightedVoteOptionSDKType[]; - metadata: string; -} -/** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ -export interface MsgVoteWeightedResponse {} -export interface MsgVoteWeightedResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgVoteWeightedResponse"; - value: Uint8Array; -} -/** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ -export interface MsgVoteWeightedResponseAmino {} -export interface MsgVoteWeightedResponseAminoMsg { - type: "cosmos-sdk/v1/MsgVoteWeightedResponse"; - value: MsgVoteWeightedResponseAmino; -} -/** MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. */ -export interface MsgVoteWeightedResponseSDKType {} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDeposit { - proposalId: Long; - depositor: string; - amount: Coin[]; -} -export interface MsgDepositProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgDeposit"; - value: Uint8Array; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositAmino { - proposal_id: string; - depositor: string; - amount: CoinAmino[]; -} -export interface MsgDepositAminoMsg { - type: "cosmos-sdk/v1/MsgDeposit"; - value: MsgDepositAmino; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositSDKType { - proposal_id: Long; - depositor: string; - amount: CoinSDKType[]; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponse {} -export interface MsgDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1.MsgDepositResponse"; - value: Uint8Array; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseAmino {} -export interface MsgDepositResponseAminoMsg { - type: "cosmos-sdk/v1/MsgDepositResponse"; - value: MsgDepositResponseAmino; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseSDKType {} -function createBaseMsgSubmitProposal(): MsgSubmitProposal { - return { - messages: [], - initialDeposit: [], - proposer: "", - metadata: "" - }; -} -export const MsgSubmitProposal = { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - aminoType: "cosmos-sdk/v1/MsgSubmitProposal", - encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.messages) { - Any.encode((v! as Any), writer.uint32(10).fork()).ldelim(); - } - for (const v of message.initialDeposit) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.proposer !== "") { - writer.uint32(26).string(message.proposer); - } - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.messages.push((ProposalContentI_InterfaceDecoder(reader) as Any)); - break; - case 2: - message.initialDeposit.push(Coin.decode(reader, reader.uint32())); - break; - case 3: - message.proposer = reader.string(); - break; - case 4: - message.metadata = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSubmitProposal { - const obj = createBaseMsgSubmitProposal(); - if (Array.isArray(object?.messages)) obj.messages = object.messages.map((e: any) => Any.fromJSON(e)); - if (Array.isArray(object?.initialDeposit)) obj.initialDeposit = object.initialDeposit.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.proposer)) obj.proposer = String(object.proposer); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - return obj; - }, - toJSON(message: MsgSubmitProposal): unknown { - const obj: any = {}; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.messages = []; - } - if (message.initialDeposit) { - obj.initialDeposit = message.initialDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.initialDeposit = []; - } - message.proposer !== undefined && (obj.proposer = message.proposer); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: DeepPartial): MsgSubmitProposal { - const message = createBaseMsgSubmitProposal(); - message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; - message.initialDeposit = object.initialDeposit?.map(e => Coin.fromPartial(e)) || []; - message.proposer = object.proposer ?? ""; - message.metadata = object.metadata ?? ""; - return message; - }, - fromSDK(object: MsgSubmitProposalSDKType): MsgSubmitProposal { - return { - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromSDK(e)) : [], - initialDeposit: Array.isArray(object?.initial_deposit) ? object.initial_deposit.map((e: any) => Coin.fromSDK(e)) : [], - proposer: object?.proposer, - metadata: object?.metadata - }; - }, - toSDK(message: MsgSubmitProposal): MsgSubmitProposalSDKType { - const obj: any = {}; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.messages = []; - } - if (message.initialDeposit) { - obj.initial_deposit = message.initialDeposit.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.initial_deposit = []; - } - obj.proposer = message.proposer; - obj.metadata = message.metadata; - return obj; - }, - fromAmino(object: MsgSubmitProposalAmino): MsgSubmitProposal { - return { - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => ProposalContentI_FromAmino(e)) : [], - initialDeposit: Array.isArray(object?.initial_deposit) ? object.initial_deposit.map((e: any) => Coin.fromAmino(e)) : [], - proposer: object.proposer, - metadata: object.metadata - }; - }, - toAmino(message: MsgSubmitProposal): MsgSubmitProposalAmino { - const obj: any = {}; - if (message.messages) { - obj.messages = message.messages.map(e => e ? ProposalContentI_ToAmino((e as Any)) : undefined); - } else { - obj.messages = []; - } - if (message.initialDeposit) { - obj.initial_deposit = message.initialDeposit.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.initial_deposit = []; - } - obj.proposer = message.proposer; - obj.metadata = message.metadata; - return obj; - }, - fromAminoMsg(object: MsgSubmitProposalAminoMsg): MsgSubmitProposal { - return MsgSubmitProposal.fromAmino(object.value); - }, - toAminoMsg(message: MsgSubmitProposal): MsgSubmitProposalAminoMsg { - return { - type: "cosmos-sdk/v1/MsgSubmitProposal", - value: MsgSubmitProposal.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal { - return MsgSubmitProposal.decode(message.value); - }, - toProto(message: MsgSubmitProposal): Uint8Array { - return MsgSubmitProposal.encode(message).finish(); - }, - toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposal", - value: MsgSubmitProposal.encode(message).finish() - }; - } -}; -function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { - return { - proposalId: Long.UZERO - }; -} -export const MsgSubmitProposalResponse = { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposalResponse", - aminoType: "cosmos-sdk/v1/MsgSubmitProposalResponse", - encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposalResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSubmitProposalResponse { - const obj = createBaseMsgSubmitProposalResponse(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): MsgSubmitProposalResponse { - const message = createBaseMsgSubmitProposalResponse(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: MsgSubmitProposalResponseSDKType): MsgSubmitProposalResponse { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: MsgSubmitProposalResponseAmino): MsgSubmitProposalResponse { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: MsgSubmitProposalResponseAminoMsg): MsgSubmitProposalResponse { - return MsgSubmitProposalResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAminoMsg { - return { - type: "cosmos-sdk/v1/MsgSubmitProposalResponse", - value: MsgSubmitProposalResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse { - return MsgSubmitProposalResponse.decode(message.value); - }, - toProto(message: MsgSubmitProposalResponse): Uint8Array { - return MsgSubmitProposalResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.MsgSubmitProposalResponse", - value: MsgSubmitProposalResponse.encode(message).finish() - }; - } -}; -function createBaseMsgExecLegacyContent(): MsgExecLegacyContent { - return { - content: Any.fromPartial({}), - authority: "" - }; -} -export const MsgExecLegacyContent = { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - aminoType: "cosmos-sdk/v1/MsgExecLegacyContent", - encode(message: MsgExecLegacyContent, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.content !== undefined) { - Any.encode((message.content as Any), writer.uint32(10).fork()).ldelim(); - } - if (message.authority !== "") { - writer.uint32(18).string(message.authority); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContent { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecLegacyContent(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.content = (ProposalContentI_InterfaceDecoder(reader) as Any); - break; - case 2: - message.authority = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgExecLegacyContent { - const obj = createBaseMsgExecLegacyContent(); - if (isSet(object.content)) obj.content = Any.fromJSON(object.content); - if (isSet(object.authority)) obj.authority = String(object.authority); - return obj; - }, - toJSON(message: MsgExecLegacyContent): unknown { - const obj: any = {}; - message.content !== undefined && (obj.content = message.content ? Any.toJSON(message.content) : undefined); - message.authority !== undefined && (obj.authority = message.authority); - return obj; - }, - fromPartial(object: DeepPartial): MsgExecLegacyContent { - const message = createBaseMsgExecLegacyContent(); - if (object.content !== undefined && object.content !== null) { - message.content = Any.fromPartial(object.content); - } - message.authority = object.authority ?? ""; - return message; - }, - fromSDK(object: MsgExecLegacyContentSDKType): MsgExecLegacyContent { - return { - content: object.content ? Any.fromSDK(object.content) : undefined, - authority: object?.authority - }; - }, - toSDK(message: MsgExecLegacyContent): MsgExecLegacyContentSDKType { - const obj: any = {}; - message.content !== undefined && (obj.content = message.content ? Any.toSDK(message.content) : undefined); - obj.authority = message.authority; - return obj; - }, - fromAmino(object: MsgExecLegacyContentAmino): MsgExecLegacyContent { - return { - content: object?.content ? ProposalContentI_FromAmino(object.content) : undefined, - authority: object.authority - }; - }, - toAmino(message: MsgExecLegacyContent): MsgExecLegacyContentAmino { - const obj: any = {}; - obj.content = message.content ? ProposalContentI_ToAmino((message.content as Any)) : undefined; - obj.authority = message.authority; - return obj; - }, - fromAminoMsg(object: MsgExecLegacyContentAminoMsg): MsgExecLegacyContent { - return MsgExecLegacyContent.fromAmino(object.value); - }, - toAminoMsg(message: MsgExecLegacyContent): MsgExecLegacyContentAminoMsg { - return { - type: "cosmos-sdk/v1/MsgExecLegacyContent", - value: MsgExecLegacyContent.toAmino(message) - }; - }, - fromProtoMsg(message: MsgExecLegacyContentProtoMsg): MsgExecLegacyContent { - return MsgExecLegacyContent.decode(message.value); - }, - toProto(message: MsgExecLegacyContent): Uint8Array { - return MsgExecLegacyContent.encode(message).finish(); - }, - toProtoMsg(message: MsgExecLegacyContent): MsgExecLegacyContentProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent", - value: MsgExecLegacyContent.encode(message).finish() - }; - } -}; -function createBaseMsgExecLegacyContentResponse(): MsgExecLegacyContentResponse { - return {}; -} -export const MsgExecLegacyContentResponse = { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContentResponse", - aminoType: "cosmos-sdk/v1/MsgExecLegacyContentResponse", - encode(_: MsgExecLegacyContentResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecLegacyContentResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgExecLegacyContentResponse { - const obj = createBaseMsgExecLegacyContentResponse(); - return obj; - }, - toJSON(_: MsgExecLegacyContentResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgExecLegacyContentResponse { - const message = createBaseMsgExecLegacyContentResponse(); - return message; - }, - fromSDK(_: MsgExecLegacyContentResponseSDKType): MsgExecLegacyContentResponse { - return {}; - }, - toSDK(_: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgExecLegacyContentResponseAmino): MsgExecLegacyContentResponse { - return {}; - }, - toAmino(_: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgExecLegacyContentResponseAminoMsg): MsgExecLegacyContentResponse { - return MsgExecLegacyContentResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseAminoMsg { - return { - type: "cosmos-sdk/v1/MsgExecLegacyContentResponse", - value: MsgExecLegacyContentResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgExecLegacyContentResponseProtoMsg): MsgExecLegacyContentResponse { - return MsgExecLegacyContentResponse.decode(message.value); - }, - toProto(message: MsgExecLegacyContentResponse): Uint8Array { - return MsgExecLegacyContentResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgExecLegacyContentResponse): MsgExecLegacyContentResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.MsgExecLegacyContentResponse", - value: MsgExecLegacyContentResponse.encode(message).finish() - }; - } -}; -function createBaseMsgVote(): MsgVote { - return { - proposalId: Long.UZERO, - voter: "", - option: 0, - metadata: "" - }; -} -export const MsgVote = { - typeUrl: "/cosmos.gov.v1.MsgVote", - aminoType: "cosmos-sdk/v1/MsgVote", - encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - if (message.option !== 0) { - writer.uint32(24).int32(message.option); - } - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVote(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.voter = reader.string(); - break; - case 3: - message.option = (reader.int32() as any); - break; - case 4: - message.metadata = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgVote { - const obj = createBaseMsgVote(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.voter)) obj.voter = String(object.voter); - if (isSet(object.option)) obj.option = voteOptionFromJSON(object.option); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - return obj; - }, - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.voter !== undefined && (obj.voter = message.voter); - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: DeepPartial): MsgVote { - const message = createBaseMsgVote(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.voter = object.voter ?? ""; - message.option = object.option ?? 0; - message.metadata = object.metadata ?? ""; - return message; - }, - fromSDK(object: MsgVoteSDKType): MsgVote { - return { - proposalId: object?.proposal_id, - voter: object?.voter, - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - metadata: object?.metadata - }; - }, - toSDK(message: MsgVote): MsgVoteSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.voter = message.voter; - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - obj.metadata = message.metadata; - return obj; - }, - fromAmino(object: MsgVoteAmino): MsgVote { - return { - proposalId: Long.fromString(object.proposal_id), - voter: object.voter, - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - metadata: object.metadata - }; - }, - toAmino(message: MsgVote): MsgVoteAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.voter = message.voter; - obj.option = message.option; - obj.metadata = message.metadata; - return obj; - }, - fromAminoMsg(object: MsgVoteAminoMsg): MsgVote { - return MsgVote.fromAmino(object.value); - }, - toAminoMsg(message: MsgVote): MsgVoteAminoMsg { - return { - type: "cosmos-sdk/v1/MsgVote", - value: MsgVote.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVoteProtoMsg): MsgVote { - return MsgVote.decode(message.value); - }, - toProto(message: MsgVote): Uint8Array { - return MsgVote.encode(message).finish(); - }, - toProtoMsg(message: MsgVote): MsgVoteProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.MsgVote", - value: MsgVote.encode(message).finish() - }; - } -}; -function createBaseMsgVoteResponse(): MsgVoteResponse { - return {}; -} -export const MsgVoteResponse = { - typeUrl: "/cosmos.gov.v1.MsgVoteResponse", - aminoType: "cosmos-sdk/v1/MsgVoteResponse", - encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgVoteResponse { - const obj = createBaseMsgVoteResponse(); - return obj; - }, - toJSON(_: MsgVoteResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgVoteResponse { - const message = createBaseMsgVoteResponse(); - return message; - }, - fromSDK(_: MsgVoteResponseSDKType): MsgVoteResponse { - return {}; - }, - toSDK(_: MsgVoteResponse): MsgVoteResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgVoteResponseAmino): MsgVoteResponse { - return {}; - }, - toAmino(_: MsgVoteResponse): MsgVoteResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgVoteResponseAminoMsg): MsgVoteResponse { - return MsgVoteResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgVoteResponse): MsgVoteResponseAminoMsg { - return { - type: "cosmos-sdk/v1/MsgVoteResponse", - value: MsgVoteResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse { - return MsgVoteResponse.decode(message.value); - }, - toProto(message: MsgVoteResponse): Uint8Array { - return MsgVoteResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteResponse", - value: MsgVoteResponse.encode(message).finish() - }; - } -}; -function createBaseMsgVoteWeighted(): MsgVoteWeighted { - return { - proposalId: Long.UZERO, - voter: "", - options: [], - metadata: "" - }; -} -export const MsgVoteWeighted = { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - aminoType: "cosmos-sdk/v1/MsgVoteWeighted", - encode(message: MsgVoteWeighted, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - for (const v of message.options) { - WeightedVoteOption.encode(v!, writer.uint32(26).fork()).ldelim(); - } - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteWeighted(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.voter = reader.string(); - break; - case 3: - message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); - break; - case 4: - message.metadata = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgVoteWeighted { - const obj = createBaseMsgVoteWeighted(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.voter)) obj.voter = String(object.voter); - if (Array.isArray(object?.options)) obj.options = object.options.map((e: any) => WeightedVoteOption.fromJSON(e)); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - return obj; - }, - toJSON(message: MsgVoteWeighted): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.voter !== undefined && (obj.voter = message.voter); - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toJSON(e) : undefined); - } else { - obj.options = []; - } - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: DeepPartial): MsgVoteWeighted { - const message = createBaseMsgVoteWeighted(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.voter = object.voter ?? ""; - message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; - message.metadata = object.metadata ?? ""; - return message; - }, - fromSDK(object: MsgVoteWeightedSDKType): MsgVoteWeighted { - return { - proposalId: object?.proposal_id, - voter: object?.voter, - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromSDK(e)) : [], - metadata: object?.metadata - }; - }, - toSDK(message: MsgVoteWeighted): MsgVoteWeightedSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.voter = message.voter; - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toSDK(e) : undefined); - } else { - obj.options = []; - } - obj.metadata = message.metadata; - return obj; - }, - fromAmino(object: MsgVoteWeightedAmino): MsgVoteWeighted { - return { - proposalId: Long.fromString(object.proposal_id), - voter: object.voter, - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromAmino(e)) : [], - metadata: object.metadata - }; - }, - toAmino(message: MsgVoteWeighted): MsgVoteWeightedAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.voter = message.voter; - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toAmino(e) : undefined); - } else { - obj.options = []; - } - obj.metadata = message.metadata; - return obj; - }, - fromAminoMsg(object: MsgVoteWeightedAminoMsg): MsgVoteWeighted { - return MsgVoteWeighted.fromAmino(object.value); - }, - toAminoMsg(message: MsgVoteWeighted): MsgVoteWeightedAminoMsg { - return { - type: "cosmos-sdk/v1/MsgVoteWeighted", - value: MsgVoteWeighted.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVoteWeightedProtoMsg): MsgVoteWeighted { - return MsgVoteWeighted.decode(message.value); - }, - toProto(message: MsgVoteWeighted): Uint8Array { - return MsgVoteWeighted.encode(message).finish(); - }, - toProtoMsg(message: MsgVoteWeighted): MsgVoteWeightedProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeighted", - value: MsgVoteWeighted.encode(message).finish() - }; - } -}; -function createBaseMsgVoteWeightedResponse(): MsgVoteWeightedResponse { - return {}; -} -export const MsgVoteWeightedResponse = { - typeUrl: "/cosmos.gov.v1.MsgVoteWeightedResponse", - aminoType: "cosmos-sdk/v1/MsgVoteWeightedResponse", - encode(_: MsgVoteWeightedResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteWeightedResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgVoteWeightedResponse { - const obj = createBaseMsgVoteWeightedResponse(); - return obj; - }, - toJSON(_: MsgVoteWeightedResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgVoteWeightedResponse { - const message = createBaseMsgVoteWeightedResponse(); - return message; - }, - fromSDK(_: MsgVoteWeightedResponseSDKType): MsgVoteWeightedResponse { - return {}; - }, - toSDK(_: MsgVoteWeightedResponse): MsgVoteWeightedResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgVoteWeightedResponseAmino): MsgVoteWeightedResponse { - return {}; - }, - toAmino(_: MsgVoteWeightedResponse): MsgVoteWeightedResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgVoteWeightedResponseAminoMsg): MsgVoteWeightedResponse { - return MsgVoteWeightedResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseAminoMsg { - return { - type: "cosmos-sdk/v1/MsgVoteWeightedResponse", - value: MsgVoteWeightedResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVoteWeightedResponseProtoMsg): MsgVoteWeightedResponse { - return MsgVoteWeightedResponse.decode(message.value); - }, - toProto(message: MsgVoteWeightedResponse): Uint8Array { - return MsgVoteWeightedResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.MsgVoteWeightedResponse", - value: MsgVoteWeightedResponse.encode(message).finish() - }; - } -}; -function createBaseMsgDeposit(): MsgDeposit { - return { - proposalId: Long.UZERO, - depositor: "", - amount: [] - }; -} -export const MsgDeposit = { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - aminoType: "cosmos-sdk/v1/MsgDeposit", - encode(message: MsgDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDeposit(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.depositor = reader.string(); - break; - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgDeposit { - const obj = createBaseMsgDeposit(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.depositor)) obj.depositor = String(object.depositor); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: MsgDeposit): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgDeposit { - const message = createBaseMsgDeposit(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.depositor = object.depositor ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgDepositSDKType): MsgDeposit { - return { - proposalId: object?.proposal_id, - depositor: object?.depositor, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgDeposit): MsgDepositSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.depositor = message.depositor; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAmino(object: MsgDepositAmino): MsgDeposit { - return { - proposalId: Long.fromString(object.proposal_id), - depositor: object.depositor, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgDeposit): MsgDepositAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.depositor = message.depositor; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAminoMsg(object: MsgDepositAminoMsg): MsgDeposit { - return MsgDeposit.fromAmino(object.value); - }, - toAminoMsg(message: MsgDeposit): MsgDepositAminoMsg { - return { - type: "cosmos-sdk/v1/MsgDeposit", - value: MsgDeposit.toAmino(message) - }; - }, - fromProtoMsg(message: MsgDepositProtoMsg): MsgDeposit { - return MsgDeposit.decode(message.value); - }, - toProto(message: MsgDeposit): Uint8Array { - return MsgDeposit.encode(message).finish(); - }, - toProtoMsg(message: MsgDeposit): MsgDepositProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.MsgDeposit", - value: MsgDeposit.encode(message).finish() - }; - } -}; -function createBaseMsgDepositResponse(): MsgDepositResponse { - return {}; -} -export const MsgDepositResponse = { - typeUrl: "/cosmos.gov.v1.MsgDepositResponse", - aminoType: "cosmos-sdk/v1/MsgDepositResponse", - encode(_: MsgDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDepositResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgDepositResponse { - const obj = createBaseMsgDepositResponse(); - return obj; - }, - toJSON(_: MsgDepositResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgDepositResponse { - const message = createBaseMsgDepositResponse(); - return message; - }, - fromSDK(_: MsgDepositResponseSDKType): MsgDepositResponse { - return {}; - }, - toSDK(_: MsgDepositResponse): MsgDepositResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgDepositResponseAmino): MsgDepositResponse { - return {}; - }, - toAmino(_: MsgDepositResponse): MsgDepositResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgDepositResponseAminoMsg): MsgDepositResponse { - return MsgDepositResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgDepositResponse): MsgDepositResponseAminoMsg { - return { - type: "cosmos-sdk/v1/MsgDepositResponse", - value: MsgDepositResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgDepositResponseProtoMsg): MsgDepositResponse { - return MsgDepositResponse.decode(message.value); - }, - toProto(message: MsgDepositResponse): Uint8Array { - return MsgDepositResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgDepositResponse): MsgDepositResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1.MsgDepositResponse", - value: MsgDepositResponse.encode(message).finish() - }; - } -}; -export const ProposalContentI_InterfaceDecoder = (input: _m0.Reader | Uint8Array): TextProposal | ClientUpdateProposal | UpgradeProposal | Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - case "/cosmos.gov.v1beta1.TextProposal": - return TextProposal.decode(data.value); - case "/ibc.core.client.v1.ClientUpdateProposal": - return ClientUpdateProposal.decode(data.value); - case "/ibc.core.client.v1.UpgradeProposal": - return UpgradeProposal.decode(data.value); - default: - return data; - } -}; -export const ProposalContentI_FromAmino = (content: AnyAmino) => { - switch (content.type) { - case "cosmos-sdk/v1/TextProposal": - return Any.fromPartial({ - typeUrl: "/cosmos.gov.v1beta1.TextProposal", - value: TextProposal.encode(TextProposal.fromPartial(TextProposal.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/ClientUpdateProposal": - return Any.fromPartial({ - typeUrl: "/ibc.core.client.v1.ClientUpdateProposal", - value: ClientUpdateProposal.encode(ClientUpdateProposal.fromPartial(ClientUpdateProposal.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/UpgradeProposal": - return Any.fromPartial({ - typeUrl: "/ibc.core.client.v1.UpgradeProposal", - value: UpgradeProposal.encode(UpgradeProposal.fromPartial(UpgradeProposal.fromAmino(content.value))).finish() - }); - default: - return Any.fromAmino(content); - } -}; -export const ProposalContentI_ToAmino = (content: Any) => { - switch (content.typeUrl) { - case "/cosmos.gov.v1beta1.TextProposal": - return { - type: "cosmos-sdk/v1/TextProposal", - value: TextProposal.toAmino(TextProposal.decode(content.value)) - }; - case "/ibc.core.client.v1.ClientUpdateProposal": - return { - type: "cosmos-sdk/ClientUpdateProposal", - value: ClientUpdateProposal.toAmino(ClientUpdateProposal.decode(content.value)) - }; - case "/ibc.core.client.v1.UpgradeProposal": - return { - type: "cosmos-sdk/UpgradeProposal", - value: UpgradeProposal.toAmino(UpgradeProposal.decode(content.value)) - }; - default: - return Any.toAmino(content); - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/gov/v1beta1/genesis.ts deleted file mode 100644 index f0953c5fd..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/genesis.ts +++ /dev/null @@ -1,272 +0,0 @@ -import { Deposit, DepositAmino, DepositSDKType, Vote, VoteAmino, VoteSDKType, Proposal, ProposalAmino, ProposalSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType } from "./gov"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.gov.v1beta1"; -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisState { - /** starting_proposal_id is the ID of the starting proposal. */ - startingProposalId: Long; - /** deposits defines all the deposits present at genesis. */ - deposits: Deposit[]; - /** votes defines all the votes present at genesis. */ - votes: Vote[]; - /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; - /** params defines all the paramaters of related to deposit. */ - depositParams: DepositParams; - /** params defines all the paramaters of related to voting. */ - votingParams: VotingParams; - /** params defines all the paramaters of related to tally. */ - tallyParams: TallyParams; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateAmino { - /** starting_proposal_id is the ID of the starting proposal. */ - starting_proposal_id: string; - /** deposits defines all the deposits present at genesis. */ - deposits: DepositAmino[]; - /** votes defines all the votes present at genesis. */ - votes: VoteAmino[]; - /** proposals defines all the proposals present at genesis. */ - proposals: ProposalAmino[]; - /** params defines all the paramaters of related to deposit. */ - deposit_params?: DepositParamsAmino; - /** params defines all the paramaters of related to voting. */ - voting_params?: VotingParamsAmino; - /** params defines all the paramaters of related to tally. */ - tally_params?: TallyParamsAmino; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateSDKType { - starting_proposal_id: Long; - deposits: DepositSDKType[]; - votes: VoteSDKType[]; - proposals: ProposalSDKType[]; - deposit_params: DepositParamsSDKType; - voting_params: VotingParamsSDKType; - tally_params: TallyParamsSDKType; -} -function createBaseGenesisState(): GenesisState { - return { - startingProposalId: Long.UZERO, - deposits: [], - votes: [], - proposals: [], - depositParams: DepositParams.fromPartial({}), - votingParams: VotingParams.fromPartial({}), - tallyParams: TallyParams.fromPartial({}) - }; -} -export const GenesisState = { - typeUrl: "/cosmos.gov.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.startingProposalId.isZero()) { - writer.uint32(8).uint64(message.startingProposalId); - } - for (const v of message.deposits) { - Deposit.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(34).fork()).ldelim(); - } - if (message.depositParams !== undefined) { - DepositParams.encode(message.depositParams, writer.uint32(42).fork()).ldelim(); - } - if (message.votingParams !== undefined) { - VotingParams.encode(message.votingParams, writer.uint32(50).fork()).ldelim(); - } - if (message.tallyParams !== undefined) { - TallyParams.encode(message.tallyParams, writer.uint32(58).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.startingProposalId = (reader.uint64() as Long); - break; - case 2: - message.deposits.push(Deposit.decode(reader, reader.uint32())); - break; - case 3: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - case 4: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - case 5: - message.depositParams = DepositParams.decode(reader, reader.uint32()); - break; - case 6: - message.votingParams = VotingParams.decode(reader, reader.uint32()); - break; - case 7: - message.tallyParams = TallyParams.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.startingProposalId)) obj.startingProposalId = Long.fromValue(object.startingProposalId); - if (Array.isArray(object?.deposits)) obj.deposits = object.deposits.map((e: any) => Deposit.fromJSON(e)); - if (Array.isArray(object?.votes)) obj.votes = object.votes.map((e: any) => Vote.fromJSON(e)); - if (Array.isArray(object?.proposals)) obj.proposals = object.proposals.map((e: any) => Proposal.fromJSON(e)); - if (isSet(object.depositParams)) obj.depositParams = DepositParams.fromJSON(object.depositParams); - if (isSet(object.votingParams)) obj.votingParams = VotingParams.fromJSON(object.votingParams); - if (isSet(object.tallyParams)) obj.tallyParams = TallyParams.fromJSON(object.tallyParams); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.startingProposalId !== undefined && (obj.startingProposalId = (message.startingProposalId || Long.UZERO).toString()); - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toJSON(e) : undefined); - } else { - obj.deposits = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - message.depositParams !== undefined && (obj.depositParams = message.depositParams ? DepositParams.toJSON(message.depositParams) : undefined); - message.votingParams !== undefined && (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined); - message.tallyParams !== undefined && (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.startingProposalId !== undefined && object.startingProposalId !== null) { - message.startingProposalId = Long.fromValue(object.startingProposalId); - } - message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - if (object.depositParams !== undefined && object.depositParams !== null) { - message.depositParams = DepositParams.fromPartial(object.depositParams); - } - if (object.votingParams !== undefined && object.votingParams !== null) { - message.votingParams = VotingParams.fromPartial(object.votingParams); - } - if (object.tallyParams !== undefined && object.tallyParams !== null) { - message.tallyParams = TallyParams.fromPartial(object.tallyParams); - } - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - startingProposalId: object?.starting_proposal_id, - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromSDK(e)) : [], - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromSDK(e)) : [], - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromSDK(e)) : [], - depositParams: object.deposit_params ? DepositParams.fromSDK(object.deposit_params) : undefined, - votingParams: object.voting_params ? VotingParams.fromSDK(object.voting_params) : undefined, - tallyParams: object.tally_params ? TallyParams.fromSDK(object.tally_params) : undefined - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - obj.starting_proposal_id = message.startingProposalId; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toSDK(e) : undefined); - } else { - obj.deposits = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toSDK(e) : undefined); - } else { - obj.votes = []; - } - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toSDK(e) : undefined); - } else { - obj.proposals = []; - } - message.depositParams !== undefined && (obj.deposit_params = message.depositParams ? DepositParams.toSDK(message.depositParams) : undefined); - message.votingParams !== undefined && (obj.voting_params = message.votingParams ? VotingParams.toSDK(message.votingParams) : undefined); - message.tallyParams !== undefined && (obj.tally_params = message.tallyParams ? TallyParams.toSDK(message.tallyParams) : undefined); - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - startingProposalId: Long.fromString(object.starting_proposal_id), - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromAmino(e)) : [], - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromAmino(e)) : [], - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromAmino(e)) : [], - depositParams: object?.deposit_params ? DepositParams.fromAmino(object.deposit_params) : undefined, - votingParams: object?.voting_params ? VotingParams.fromAmino(object.voting_params) : undefined, - tallyParams: object?.tally_params ? TallyParams.fromAmino(object.tally_params) : undefined - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.starting_proposal_id = message.startingProposalId ? message.startingProposalId.toString() : undefined; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toAmino(e) : undefined); - } else { - obj.deposits = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toAmino(e) : undefined); - } else { - obj.votes = []; - } - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toAmino(e) : undefined); - } else { - obj.proposals = []; - } - obj.deposit_params = message.depositParams ? DepositParams.toAmino(message.depositParams) : undefined; - obj.voting_params = message.votingParams ? VotingParams.toAmino(message.votingParams) : undefined; - obj.tally_params = message.tallyParams ? TallyParams.toAmino(message.tallyParams) : undefined; - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/gov.ts b/quicksilverjs/src/codegen/cosmos/gov/v1beta1/gov.ts deleted file mode 100644 index 834604e22..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/gov.ts +++ /dev/null @@ -1,1686 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { ClientUpdateProposal, ClientUpdateProposalProtoMsg, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalProtoMsg, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; -import { Long, isSet, DeepPartial, toTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.gov.v1beta1"; -/** VoteOption enumerates the valid vote options for a given governance proposal. */ -export enum VoteOption { - /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1, -} -export const VoteOptionSDKType = VoteOption; -export const VoteOptionAmino = VoteOption; -export function voteOptionFromJSON(object: any): VoteOption { - switch (object) { - case 0: - case "VOTE_OPTION_UNSPECIFIED": - return VoteOption.VOTE_OPTION_UNSPECIFIED; - case 1: - case "VOTE_OPTION_YES": - return VoteOption.VOTE_OPTION_YES; - case 2: - case "VOTE_OPTION_ABSTAIN": - return VoteOption.VOTE_OPTION_ABSTAIN; - case 3: - case "VOTE_OPTION_NO": - return VoteOption.VOTE_OPTION_NO; - case 4: - case "VOTE_OPTION_NO_WITH_VETO": - return VoteOption.VOTE_OPTION_NO_WITH_VETO; - case -1: - case "UNRECOGNIZED": - default: - return VoteOption.UNRECOGNIZED; - } -} -export function voteOptionToJSON(object: VoteOption): string { - switch (object) { - case VoteOption.VOTE_OPTION_UNSPECIFIED: - return "VOTE_OPTION_UNSPECIFIED"; - case VoteOption.VOTE_OPTION_YES: - return "VOTE_OPTION_YES"; - case VoteOption.VOTE_OPTION_ABSTAIN: - return "VOTE_OPTION_ABSTAIN"; - case VoteOption.VOTE_OPTION_NO: - return "VOTE_OPTION_NO"; - case VoteOption.VOTE_OPTION_NO_WITH_VETO: - return "VOTE_OPTION_NO_WITH_VETO"; - case VoteOption.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ProposalStatus enumerates the valid statuses of a proposal. */ -export enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status. */ - PROPOSAL_STATUS_UNSPECIFIED = 0, - /** - * PROPOSAL_STATUS_DEPOSIT_PERIOD - PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit - * period. - */ - PROPOSAL_STATUS_DEPOSIT_PERIOD = 1, - /** - * PROPOSAL_STATUS_VOTING_PERIOD - PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting - * period. - */ - PROPOSAL_STATUS_VOTING_PERIOD = 2, - /** - * PROPOSAL_STATUS_PASSED - PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has - * passed. - */ - PROPOSAL_STATUS_PASSED = 3, - /** - * PROPOSAL_STATUS_REJECTED - PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has - * been rejected. - */ - PROPOSAL_STATUS_REJECTED = 4, - /** - * PROPOSAL_STATUS_FAILED - PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has - * failed. - */ - PROPOSAL_STATUS_FAILED = 5, - UNRECOGNIZED = -1, -} -export const ProposalStatusSDKType = ProposalStatus; -export const ProposalStatusAmino = ProposalStatus; -export function proposalStatusFromJSON(object: any): ProposalStatus { - switch (object) { - case 0: - case "PROPOSAL_STATUS_UNSPECIFIED": - return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; - case 1: - case "PROPOSAL_STATUS_DEPOSIT_PERIOD": - return ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD; - case 2: - case "PROPOSAL_STATUS_VOTING_PERIOD": - return ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD; - case 3: - case "PROPOSAL_STATUS_PASSED": - return ProposalStatus.PROPOSAL_STATUS_PASSED; - case 4: - case "PROPOSAL_STATUS_REJECTED": - return ProposalStatus.PROPOSAL_STATUS_REJECTED; - case 5: - case "PROPOSAL_STATUS_FAILED": - return ProposalStatus.PROPOSAL_STATUS_FAILED; - case -1: - case "UNRECOGNIZED": - default: - return ProposalStatus.UNRECOGNIZED; - } -} -export function proposalStatusToJSON(object: ProposalStatus): string { - switch (object) { - case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: - return "PROPOSAL_STATUS_UNSPECIFIED"; - case ProposalStatus.PROPOSAL_STATUS_DEPOSIT_PERIOD: - return "PROPOSAL_STATUS_DEPOSIT_PERIOD"; - case ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD: - return "PROPOSAL_STATUS_VOTING_PERIOD"; - case ProposalStatus.PROPOSAL_STATUS_PASSED: - return "PROPOSAL_STATUS_PASSED"; - case ProposalStatus.PROPOSAL_STATUS_REJECTED: - return "PROPOSAL_STATUS_REJECTED"; - case ProposalStatus.PROPOSAL_STATUS_FAILED: - return "PROPOSAL_STATUS_FAILED"; - case ProposalStatus.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ -export interface WeightedVoteOption { - option: VoteOption; - weight: string; -} -export interface WeightedVoteOptionProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.WeightedVoteOption"; - value: Uint8Array; -} -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ -export interface WeightedVoteOptionAmino { - option: VoteOption; - weight: string; -} -export interface WeightedVoteOptionAminoMsg { - type: "cosmos-sdk/WeightedVoteOption"; - value: WeightedVoteOptionAmino; -} -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ -export interface WeightedVoteOptionSDKType { - option: VoteOption; - weight: string; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ -export interface TextProposal { - title: string; - description: string; -} -export interface TextProposalProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.TextProposal"; - value: Uint8Array; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ -export interface TextProposalAmino { - title: string; - description: string; -} -export interface TextProposalAminoMsg { - type: "cosmos-sdk/TextProposal"; - value: TextProposalAmino; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ -export interface TextProposalSDKType { - title: string; - description: string; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface Deposit { - proposalId: Long; - depositor: string; - amount: Coin[]; -} -export interface DepositProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.Deposit"; - value: Uint8Array; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositAmino { - proposal_id: string; - depositor: string; - amount: CoinAmino[]; -} -export interface DepositAminoMsg { - type: "cosmos-sdk/Deposit"; - value: DepositAmino; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositSDKType { - proposal_id: Long; - depositor: string; - amount: CoinSDKType[]; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface Proposal { - proposalId: Long; - content: TextProposal | ClientUpdateProposal | UpgradeProposal | Any | undefined; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - finalTallyResult: TallyResult; - submitTime: Date; - depositEndTime: Date; - totalDeposit: Coin[]; - votingStartTime: Date; - votingEndTime: Date; -} -export interface ProposalProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.Proposal"; - value: Uint8Array; -} -export type ProposalEncoded = Omit & { - content?: TextProposalProtoMsg | ClientUpdateProposalProtoMsg | UpgradeProposalProtoMsg | AnyProtoMsg | undefined; -}; -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalAmino { - proposal_id: string; - content?: AnyAmino; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - final_tally_result?: TallyResultAmino; - submit_time?: Date; - deposit_end_time?: Date; - total_deposit: CoinAmino[]; - voting_start_time?: Date; - voting_end_time?: Date; -} -export interface ProposalAminoMsg { - type: "cosmos-sdk/Proposal"; - value: ProposalAmino; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalSDKType { - proposal_id: Long; - content: TextProposalSDKType | ClientUpdateProposalSDKType | UpgradeProposalSDKType | AnySDKType | undefined; - status: ProposalStatus; - final_tally_result: TallyResultSDKType; - submit_time: Date; - deposit_end_time: Date; - total_deposit: CoinSDKType[]; - voting_start_time: Date; - voting_end_time: Date; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResult { - yes: string; - abstain: string; - no: string; - noWithVeto: string; -} -export interface TallyResultProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.TallyResult"; - value: Uint8Array; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultAmino { - yes: string; - abstain: string; - no: string; - no_with_veto: string; -} -export interface TallyResultAminoMsg { - type: "cosmos-sdk/TallyResult"; - value: TallyResultAmino; -} -/** TallyResult defines a standard tally for a governance proposal. */ -export interface TallyResultSDKType { - yes: string; - abstain: string; - no: string; - no_with_veto: string; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface Vote { - proposalId: Long; - voter: string; - /** - * Deprecated: Prefer to use `options` instead. This field is set in queries - * if and only if `len(options) == 1` and that option has weight 1. In all - * other cases, this field will default to VOTE_OPTION_UNSPECIFIED. - */ - /** @deprecated */ - option: VoteOption; - /** Since: cosmos-sdk 0.43 */ - options: WeightedVoteOption[]; -} -export interface VoteProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.Vote"; - value: Uint8Array; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteAmino { - proposal_id: string; - voter: string; - /** - * Deprecated: Prefer to use `options` instead. This field is set in queries - * if and only if `len(options) == 1` and that option has weight 1. In all - * other cases, this field will default to VOTE_OPTION_UNSPECIFIED. - */ - /** @deprecated */ - option: VoteOption; - /** Since: cosmos-sdk 0.43 */ - options: WeightedVoteOptionAmino[]; -} -export interface VoteAminoMsg { - type: "cosmos-sdk/Vote"; - value: VoteAmino; -} -/** - * Vote defines a vote on a governance proposal. - * A Vote consists of a proposal ID, the voter, and the vote option. - */ -export interface VoteSDKType { - proposal_id: Long; - voter: string; - /** @deprecated */ - option: VoteOption; - options: WeightedVoteOptionSDKType[]; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParams { - /** Minimum deposit for a proposal to enter voting period. */ - minDeposit: Coin[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - maxDepositPeriod: Duration; -} -export interface DepositParamsProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.DepositParams"; - value: Uint8Array; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsAmino { - /** Minimum deposit for a proposal to enter voting period. */ - min_deposit: CoinAmino[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - max_deposit_period?: DurationAmino; -} -export interface DepositParamsAminoMsg { - type: "cosmos-sdk/DepositParams"; - value: DepositParamsAmino; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsSDKType { - min_deposit: CoinSDKType[]; - max_deposit_period: DurationSDKType; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod: Duration; -} -export interface VotingParamsProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.VotingParams"; - value: Uint8Array; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsAmino { - /** Length of the voting period. */ - voting_period?: DurationAmino; -} -export interface VotingParamsAminoMsg { - type: "cosmos-sdk/VotingParams"; - value: VotingParamsAmino; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsSDKType { - voting_period: DurationSDKType; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParams { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: Uint8Array; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: Uint8Array; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - vetoThreshold: Uint8Array; -} -export interface TallyParamsProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.TallyParams"; - value: Uint8Array; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsAmino { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: Uint8Array; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: Uint8Array; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - veto_threshold: Uint8Array; -} -export interface TallyParamsAminoMsg { - type: "cosmos-sdk/TallyParams"; - value: TallyParamsAmino; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsSDKType { - quorum: Uint8Array; - threshold: Uint8Array; - veto_threshold: Uint8Array; -} -function createBaseWeightedVoteOption(): WeightedVoteOption { - return { - option: 0, - weight: "" - }; -} -export const WeightedVoteOption = { - typeUrl: "/cosmos.gov.v1beta1.WeightedVoteOption", - aminoType: "cosmos-sdk/WeightedVoteOption", - encode(message: WeightedVoteOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.option !== 0) { - writer.uint32(8).int32(message.option); - } - if (message.weight !== "") { - writer.uint32(18).string(message.weight); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseWeightedVoteOption(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.option = (reader.int32() as any); - break; - case 2: - message.weight = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): WeightedVoteOption { - const obj = createBaseWeightedVoteOption(); - if (isSet(object.option)) obj.option = voteOptionFromJSON(object.option); - if (isSet(object.weight)) obj.weight = String(object.weight); - return obj; - }, - toJSON(message: WeightedVoteOption): unknown { - const obj: any = {}; - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - message.weight !== undefined && (obj.weight = message.weight); - return obj; - }, - fromPartial(object: DeepPartial): WeightedVoteOption { - const message = createBaseWeightedVoteOption(); - message.option = object.option ?? 0; - message.weight = object.weight ?? ""; - return message; - }, - fromSDK(object: WeightedVoteOptionSDKType): WeightedVoteOption { - return { - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - weight: object?.weight - }; - }, - toSDK(message: WeightedVoteOption): WeightedVoteOptionSDKType { - const obj: any = {}; - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - obj.weight = message.weight; - return obj; - }, - fromAmino(object: WeightedVoteOptionAmino): WeightedVoteOption { - return { - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - weight: object.weight - }; - }, - toAmino(message: WeightedVoteOption): WeightedVoteOptionAmino { - const obj: any = {}; - obj.option = message.option; - obj.weight = message.weight; - return obj; - }, - fromAminoMsg(object: WeightedVoteOptionAminoMsg): WeightedVoteOption { - return WeightedVoteOption.fromAmino(object.value); - }, - toAminoMsg(message: WeightedVoteOption): WeightedVoteOptionAminoMsg { - return { - type: "cosmos-sdk/WeightedVoteOption", - value: WeightedVoteOption.toAmino(message) - }; - }, - fromProtoMsg(message: WeightedVoteOptionProtoMsg): WeightedVoteOption { - return WeightedVoteOption.decode(message.value); - }, - toProto(message: WeightedVoteOption): Uint8Array { - return WeightedVoteOption.encode(message).finish(); - }, - toProtoMsg(message: WeightedVoteOption): WeightedVoteOptionProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.WeightedVoteOption", - value: WeightedVoteOption.encode(message).finish() - }; - } -}; -function createBaseTextProposal(): TextProposal { - return { - title: "", - description: "" - }; -} -export const TextProposal = { - typeUrl: "/cosmos.gov.v1beta1.TextProposal", - aminoType: "cosmos-sdk/TextProposal", - encode(message: TextProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TextProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTextProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TextProposal { - const obj = createBaseTextProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - return obj; - }, - toJSON(message: TextProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - return obj; - }, - fromPartial(object: DeepPartial): TextProposal { - const message = createBaseTextProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - return message; - }, - fromSDK(object: TextProposalSDKType): TextProposal { - return { - title: object?.title, - description: object?.description - }; - }, - toSDK(message: TextProposal): TextProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - return obj; - }, - fromAmino(object: TextProposalAmino): TextProposal { - return { - title: object.title, - description: object.description - }; - }, - toAmino(message: TextProposal): TextProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - return obj; - }, - fromAminoMsg(object: TextProposalAminoMsg): TextProposal { - return TextProposal.fromAmino(object.value); - }, - toAminoMsg(message: TextProposal): TextProposalAminoMsg { - return { - type: "cosmos-sdk/TextProposal", - value: TextProposal.toAmino(message) - }; - }, - fromProtoMsg(message: TextProposalProtoMsg): TextProposal { - return TextProposal.decode(message.value); - }, - toProto(message: TextProposal): Uint8Array { - return TextProposal.encode(message).finish(); - }, - toProtoMsg(message: TextProposal): TextProposalProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.TextProposal", - value: TextProposal.encode(message).finish() - }; - } -}; -function createBaseDeposit(): Deposit { - return { - proposalId: Long.UZERO, - depositor: "", - amount: [] - }; -} -export const Deposit = { - typeUrl: "/cosmos.gov.v1beta1.Deposit", - aminoType: "cosmos-sdk/Deposit", - encode(message: Deposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Deposit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeposit(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.depositor = reader.string(); - break; - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Deposit { - const obj = createBaseDeposit(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.depositor)) obj.depositor = String(object.depositor); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: Deposit): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Deposit { - const message = createBaseDeposit(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.depositor = object.depositor ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: DepositSDKType): Deposit { - return { - proposalId: object?.proposal_id, - depositor: object?.depositor, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: Deposit): DepositSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.depositor = message.depositor; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAmino(object: DepositAmino): Deposit { - return { - proposalId: Long.fromString(object.proposal_id), - depositor: object.depositor, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: Deposit): DepositAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.depositor = message.depositor; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAminoMsg(object: DepositAminoMsg): Deposit { - return Deposit.fromAmino(object.value); - }, - toAminoMsg(message: Deposit): DepositAminoMsg { - return { - type: "cosmos-sdk/Deposit", - value: Deposit.toAmino(message) - }; - }, - fromProtoMsg(message: DepositProtoMsg): Deposit { - return Deposit.decode(message.value); - }, - toProto(message: Deposit): Uint8Array { - return Deposit.encode(message).finish(); - }, - toProtoMsg(message: Deposit): DepositProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.Deposit", - value: Deposit.encode(message).finish() - }; - } -}; -function createBaseProposal(): Proposal { - return { - proposalId: Long.UZERO, - content: Any.fromPartial({}), - status: 0, - finalTallyResult: TallyResult.fromPartial({}), - submitTime: new Date(), - depositEndTime: new Date(), - totalDeposit: [], - votingStartTime: new Date(), - votingEndTime: new Date() - }; -} -export const Proposal = { - typeUrl: "/cosmos.gov.v1beta1.Proposal", - aminoType: "cosmos-sdk/Proposal", - encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.content !== undefined) { - Any.encode((message.content as Any), writer.uint32(18).fork()).ldelim(); - } - if (message.status !== 0) { - writer.uint32(24).int32(message.status); - } - if (message.finalTallyResult !== undefined) { - TallyResult.encode(message.finalTallyResult, writer.uint32(34).fork()).ldelim(); - } - if (message.submitTime !== undefined) { - Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); - } - if (message.depositEndTime !== undefined) { - Timestamp.encode(toTimestamp(message.depositEndTime), writer.uint32(50).fork()).ldelim(); - } - for (const v of message.totalDeposit) { - Coin.encode(v!, writer.uint32(58).fork()).ldelim(); - } - if (message.votingStartTime !== undefined) { - Timestamp.encode(toTimestamp(message.votingStartTime), writer.uint32(66).fork()).ldelim(); - } - if (message.votingEndTime !== undefined) { - Timestamp.encode(toTimestamp(message.votingEndTime), writer.uint32(74).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.content = (ProposalContentI_InterfaceDecoder(reader) as Any); - break; - case 3: - message.status = (reader.int32() as any); - break; - case 4: - message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); - break; - case 5: - message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 6: - message.depositEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 7: - message.totalDeposit.push(Coin.decode(reader, reader.uint32())); - break; - case 8: - message.votingStartTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 9: - message.votingEndTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Proposal { - const obj = createBaseProposal(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.content)) obj.content = Any.fromJSON(object.content); - if (isSet(object.status)) obj.status = proposalStatusFromJSON(object.status); - if (isSet(object.finalTallyResult)) obj.finalTallyResult = TallyResult.fromJSON(object.finalTallyResult); - if (isSet(object.submitTime)) obj.submitTime = new Date(object.submitTime); - if (isSet(object.depositEndTime)) obj.depositEndTime = new Date(object.depositEndTime); - if (Array.isArray(object?.totalDeposit)) obj.totalDeposit = object.totalDeposit.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.votingStartTime)) obj.votingStartTime = new Date(object.votingStartTime); - if (isSet(object.votingEndTime)) obj.votingEndTime = new Date(object.votingEndTime); - return obj; - }, - toJSON(message: Proposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.content !== undefined && (obj.content = message.content ? Any.toJSON(message.content) : undefined); - message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); - message.finalTallyResult !== undefined && (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined); - message.submitTime !== undefined && (obj.submitTime = message.submitTime.toISOString()); - message.depositEndTime !== undefined && (obj.depositEndTime = message.depositEndTime.toISOString()); - if (message.totalDeposit) { - obj.totalDeposit = message.totalDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.totalDeposit = []; - } - message.votingStartTime !== undefined && (obj.votingStartTime = message.votingStartTime.toISOString()); - message.votingEndTime !== undefined && (obj.votingEndTime = message.votingEndTime.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): Proposal { - const message = createBaseProposal(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - if (object.content !== undefined && object.content !== null) { - message.content = Any.fromPartial(object.content); - } - message.status = object.status ?? 0; - if (object.finalTallyResult !== undefined && object.finalTallyResult !== null) { - message.finalTallyResult = TallyResult.fromPartial(object.finalTallyResult); - } - message.submitTime = object.submitTime ?? undefined; - message.depositEndTime = object.depositEndTime ?? undefined; - message.totalDeposit = object.totalDeposit?.map(e => Coin.fromPartial(e)) || []; - message.votingStartTime = object.votingStartTime ?? undefined; - message.votingEndTime = object.votingEndTime ?? undefined; - return message; - }, - fromSDK(object: ProposalSDKType): Proposal { - return { - proposalId: object?.proposal_id, - content: object.content ? Any.fromSDK(object.content) : undefined, - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : -1, - finalTallyResult: object.final_tally_result ? TallyResult.fromSDK(object.final_tally_result) : undefined, - submitTime: object.submit_time ?? undefined, - depositEndTime: object.deposit_end_time ?? undefined, - totalDeposit: Array.isArray(object?.total_deposit) ? object.total_deposit.map((e: any) => Coin.fromSDK(e)) : [], - votingStartTime: object.voting_start_time ?? undefined, - votingEndTime: object.voting_end_time ?? undefined - }; - }, - toSDK(message: Proposal): ProposalSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - message.content !== undefined && (obj.content = message.content ? Any.toSDK(message.content) : undefined); - message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); - message.finalTallyResult !== undefined && (obj.final_tally_result = message.finalTallyResult ? TallyResult.toSDK(message.finalTallyResult) : undefined); - message.submitTime !== undefined && (obj.submit_time = message.submitTime ?? undefined); - message.depositEndTime !== undefined && (obj.deposit_end_time = message.depositEndTime ?? undefined); - if (message.totalDeposit) { - obj.total_deposit = message.totalDeposit.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.total_deposit = []; - } - message.votingStartTime !== undefined && (obj.voting_start_time = message.votingStartTime ?? undefined); - message.votingEndTime !== undefined && (obj.voting_end_time = message.votingEndTime ?? undefined); - return obj; - }, - fromAmino(object: ProposalAmino): Proposal { - return { - proposalId: Long.fromString(object.proposal_id), - content: object?.content ? ProposalContentI_FromAmino(object.content) : undefined, - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : -1, - finalTallyResult: object?.final_tally_result ? TallyResult.fromAmino(object.final_tally_result) : undefined, - submitTime: object.submit_time, - depositEndTime: object.deposit_end_time, - totalDeposit: Array.isArray(object?.total_deposit) ? object.total_deposit.map((e: any) => Coin.fromAmino(e)) : [], - votingStartTime: object.voting_start_time, - votingEndTime: object.voting_end_time - }; - }, - toAmino(message: Proposal): ProposalAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.content = message.content ? ProposalContentI_ToAmino((message.content as Any)) : undefined; - obj.status = message.status; - obj.final_tally_result = message.finalTallyResult ? TallyResult.toAmino(message.finalTallyResult) : undefined; - obj.submit_time = message.submitTime; - obj.deposit_end_time = message.depositEndTime; - if (message.totalDeposit) { - obj.total_deposit = message.totalDeposit.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.total_deposit = []; - } - obj.voting_start_time = message.votingStartTime; - obj.voting_end_time = message.votingEndTime; - return obj; - }, - fromAminoMsg(object: ProposalAminoMsg): Proposal { - return Proposal.fromAmino(object.value); - }, - toAminoMsg(message: Proposal): ProposalAminoMsg { - return { - type: "cosmos-sdk/Proposal", - value: Proposal.toAmino(message) - }; - }, - fromProtoMsg(message: ProposalProtoMsg): Proposal { - return Proposal.decode(message.value); - }, - toProto(message: Proposal): Uint8Array { - return Proposal.encode(message).finish(); - }, - toProtoMsg(message: Proposal): ProposalProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.Proposal", - value: Proposal.encode(message).finish() - }; - } -}; -function createBaseTallyResult(): TallyResult { - return { - yes: "", - abstain: "", - no: "", - noWithVeto: "" - }; -} -export const TallyResult = { - typeUrl: "/cosmos.gov.v1beta1.TallyResult", - aminoType: "cosmos-sdk/TallyResult", - encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.yes !== "") { - writer.uint32(10).string(message.yes); - } - if (message.abstain !== "") { - writer.uint32(18).string(message.abstain); - } - if (message.no !== "") { - writer.uint32(26).string(message.no); - } - if (message.noWithVeto !== "") { - writer.uint32(34).string(message.noWithVeto); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTallyResult(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.yes = reader.string(); - break; - case 2: - message.abstain = reader.string(); - break; - case 3: - message.no = reader.string(); - break; - case 4: - message.noWithVeto = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TallyResult { - const obj = createBaseTallyResult(); - if (isSet(object.yes)) obj.yes = String(object.yes); - if (isSet(object.abstain)) obj.abstain = String(object.abstain); - if (isSet(object.no)) obj.no = String(object.no); - if (isSet(object.noWithVeto)) obj.noWithVeto = String(object.noWithVeto); - return obj; - }, - toJSON(message: TallyResult): unknown { - const obj: any = {}; - message.yes !== undefined && (obj.yes = message.yes); - message.abstain !== undefined && (obj.abstain = message.abstain); - message.no !== undefined && (obj.no = message.no); - message.noWithVeto !== undefined && (obj.noWithVeto = message.noWithVeto); - return obj; - }, - fromPartial(object: DeepPartial): TallyResult { - const message = createBaseTallyResult(); - message.yes = object.yes ?? ""; - message.abstain = object.abstain ?? ""; - message.no = object.no ?? ""; - message.noWithVeto = object.noWithVeto ?? ""; - return message; - }, - fromSDK(object: TallyResultSDKType): TallyResult { - return { - yes: object?.yes, - abstain: object?.abstain, - no: object?.no, - noWithVeto: object?.no_with_veto - }; - }, - toSDK(message: TallyResult): TallyResultSDKType { - const obj: any = {}; - obj.yes = message.yes; - obj.abstain = message.abstain; - obj.no = message.no; - obj.no_with_veto = message.noWithVeto; - return obj; - }, - fromAmino(object: TallyResultAmino): TallyResult { - return { - yes: object.yes, - abstain: object.abstain, - no: object.no, - noWithVeto: object.no_with_veto - }; - }, - toAmino(message: TallyResult): TallyResultAmino { - const obj: any = {}; - obj.yes = message.yes; - obj.abstain = message.abstain; - obj.no = message.no; - obj.no_with_veto = message.noWithVeto; - return obj; - }, - fromAminoMsg(object: TallyResultAminoMsg): TallyResult { - return TallyResult.fromAmino(object.value); - }, - toAminoMsg(message: TallyResult): TallyResultAminoMsg { - return { - type: "cosmos-sdk/TallyResult", - value: TallyResult.toAmino(message) - }; - }, - fromProtoMsg(message: TallyResultProtoMsg): TallyResult { - return TallyResult.decode(message.value); - }, - toProto(message: TallyResult): Uint8Array { - return TallyResult.encode(message).finish(); - }, - toProtoMsg(message: TallyResult): TallyResultProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.TallyResult", - value: TallyResult.encode(message).finish() - }; - } -}; -function createBaseVote(): Vote { - return { - proposalId: Long.UZERO, - voter: "", - option: 0, - options: [] - }; -} -export const Vote = { - typeUrl: "/cosmos.gov.v1beta1.Vote", - aminoType: "cosmos-sdk/Vote", - encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - if (message.option !== 0) { - writer.uint32(24).int32(message.option); - } - for (const v of message.options) { - WeightedVoteOption.encode(v!, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Vote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVote(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.voter = reader.string(); - break; - case 3: - message.option = (reader.int32() as any); - break; - case 4: - message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Vote { - const obj = createBaseVote(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.voter)) obj.voter = String(object.voter); - if (isSet(object.option)) obj.option = voteOptionFromJSON(object.option); - if (Array.isArray(object?.options)) obj.options = object.options.map((e: any) => WeightedVoteOption.fromJSON(e)); - return obj; - }, - toJSON(message: Vote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.voter !== undefined && (obj.voter = message.voter); - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toJSON(e) : undefined); - } else { - obj.options = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Vote { - const message = createBaseVote(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.voter = object.voter ?? ""; - message.option = object.option ?? 0; - message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; - return message; - }, - fromSDK(object: VoteSDKType): Vote { - return { - proposalId: object?.proposal_id, - voter: object?.voter, - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromSDK(e)) : [] - }; - }, - toSDK(message: Vote): VoteSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.voter = message.voter; - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toSDK(e) : undefined); - } else { - obj.options = []; - } - return obj; - }, - fromAmino(object: VoteAmino): Vote { - return { - proposalId: Long.fromString(object.proposal_id), - voter: object.voter, - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromAmino(e)) : [] - }; - }, - toAmino(message: Vote): VoteAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.voter = message.voter; - obj.option = message.option; - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toAmino(e) : undefined); - } else { - obj.options = []; - } - return obj; - }, - fromAminoMsg(object: VoteAminoMsg): Vote { - return Vote.fromAmino(object.value); - }, - toAminoMsg(message: Vote): VoteAminoMsg { - return { - type: "cosmos-sdk/Vote", - value: Vote.toAmino(message) - }; - }, - fromProtoMsg(message: VoteProtoMsg): Vote { - return Vote.decode(message.value); - }, - toProto(message: Vote): Uint8Array { - return Vote.encode(message).finish(); - }, - toProtoMsg(message: Vote): VoteProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.Vote", - value: Vote.encode(message).finish() - }; - } -}; -function createBaseDepositParams(): DepositParams { - return { - minDeposit: [], - maxDepositPeriod: Duration.fromPartial({}) - }; -} -export const DepositParams = { - typeUrl: "/cosmos.gov.v1beta1.DepositParams", - aminoType: "cosmos-sdk/DepositParams", - encode(message: DepositParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.minDeposit) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.maxDepositPeriod !== undefined) { - Duration.encode(message.maxDepositPeriod, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDepositParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.minDeposit.push(Coin.decode(reader, reader.uint32())); - break; - case 2: - message.maxDepositPeriod = Duration.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DepositParams { - const obj = createBaseDepositParams(); - if (Array.isArray(object?.minDeposit)) obj.minDeposit = object.minDeposit.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.maxDepositPeriod)) obj.maxDepositPeriod = Duration.fromJSON(object.maxDepositPeriod); - return obj; - }, - toJSON(message: DepositParams): unknown { - const obj: any = {}; - if (message.minDeposit) { - obj.minDeposit = message.minDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.minDeposit = []; - } - message.maxDepositPeriod !== undefined && (obj.maxDepositPeriod = message.maxDepositPeriod ? Duration.toJSON(message.maxDepositPeriod) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): DepositParams { - const message = createBaseDepositParams(); - message.minDeposit = object.minDeposit?.map(e => Coin.fromPartial(e)) || []; - if (object.maxDepositPeriod !== undefined && object.maxDepositPeriod !== null) { - message.maxDepositPeriod = Duration.fromPartial(object.maxDepositPeriod); - } - return message; - }, - fromSDK(object: DepositParamsSDKType): DepositParams { - return { - minDeposit: Array.isArray(object?.min_deposit) ? object.min_deposit.map((e: any) => Coin.fromSDK(e)) : [], - maxDepositPeriod: object.max_deposit_period ? Duration.fromSDK(object.max_deposit_period) : undefined - }; - }, - toSDK(message: DepositParams): DepositParamsSDKType { - const obj: any = {}; - if (message.minDeposit) { - obj.min_deposit = message.minDeposit.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.min_deposit = []; - } - message.maxDepositPeriod !== undefined && (obj.max_deposit_period = message.maxDepositPeriod ? Duration.toSDK(message.maxDepositPeriod) : undefined); - return obj; - }, - fromAmino(object: DepositParamsAmino): DepositParams { - return { - minDeposit: Array.isArray(object?.min_deposit) ? object.min_deposit.map((e: any) => Coin.fromAmino(e)) : [], - maxDepositPeriod: object?.max_deposit_period ? Duration.fromAmino(object.max_deposit_period) : undefined - }; - }, - toAmino(message: DepositParams): DepositParamsAmino { - const obj: any = {}; - if (message.minDeposit) { - obj.min_deposit = message.minDeposit.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.min_deposit = []; - } - obj.max_deposit_period = message.maxDepositPeriod ? Duration.toAmino(message.maxDepositPeriod) : undefined; - return obj; - }, - fromAminoMsg(object: DepositParamsAminoMsg): DepositParams { - return DepositParams.fromAmino(object.value); - }, - toAminoMsg(message: DepositParams): DepositParamsAminoMsg { - return { - type: "cosmos-sdk/DepositParams", - value: DepositParams.toAmino(message) - }; - }, - fromProtoMsg(message: DepositParamsProtoMsg): DepositParams { - return DepositParams.decode(message.value); - }, - toProto(message: DepositParams): Uint8Array { - return DepositParams.encode(message).finish(); - }, - toProtoMsg(message: DepositParams): DepositParamsProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.DepositParams", - value: DepositParams.encode(message).finish() - }; - } -}; -function createBaseVotingParams(): VotingParams { - return { - votingPeriod: Duration.fromPartial({}) - }; -} -export const VotingParams = { - typeUrl: "/cosmos.gov.v1beta1.VotingParams", - aminoType: "cosmos-sdk/VotingParams", - encode(message: VotingParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.votingPeriod !== undefined) { - Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVotingParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.votingPeriod = Duration.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): VotingParams { - const obj = createBaseVotingParams(); - if (isSet(object.votingPeriod)) obj.votingPeriod = Duration.fromJSON(object.votingPeriod); - return obj; - }, - toJSON(message: VotingParams): unknown { - const obj: any = {}; - message.votingPeriod !== undefined && (obj.votingPeriod = message.votingPeriod ? Duration.toJSON(message.votingPeriod) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): VotingParams { - const message = createBaseVotingParams(); - if (object.votingPeriod !== undefined && object.votingPeriod !== null) { - message.votingPeriod = Duration.fromPartial(object.votingPeriod); - } - return message; - }, - fromSDK(object: VotingParamsSDKType): VotingParams { - return { - votingPeriod: object.voting_period ? Duration.fromSDK(object.voting_period) : undefined - }; - }, - toSDK(message: VotingParams): VotingParamsSDKType { - const obj: any = {}; - message.votingPeriod !== undefined && (obj.voting_period = message.votingPeriod ? Duration.toSDK(message.votingPeriod) : undefined); - return obj; - }, - fromAmino(object: VotingParamsAmino): VotingParams { - return { - votingPeriod: object?.voting_period ? Duration.fromAmino(object.voting_period) : undefined - }; - }, - toAmino(message: VotingParams): VotingParamsAmino { - const obj: any = {}; - obj.voting_period = message.votingPeriod ? Duration.toAmino(message.votingPeriod) : undefined; - return obj; - }, - fromAminoMsg(object: VotingParamsAminoMsg): VotingParams { - return VotingParams.fromAmino(object.value); - }, - toAminoMsg(message: VotingParams): VotingParamsAminoMsg { - return { - type: "cosmos-sdk/VotingParams", - value: VotingParams.toAmino(message) - }; - }, - fromProtoMsg(message: VotingParamsProtoMsg): VotingParams { - return VotingParams.decode(message.value); - }, - toProto(message: VotingParams): Uint8Array { - return VotingParams.encode(message).finish(); - }, - toProtoMsg(message: VotingParams): VotingParamsProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.VotingParams", - value: VotingParams.encode(message).finish() - }; - } -}; -function createBaseTallyParams(): TallyParams { - return { - quorum: new Uint8Array(), - threshold: new Uint8Array(), - vetoThreshold: new Uint8Array() - }; -} -export const TallyParams = { - typeUrl: "/cosmos.gov.v1beta1.TallyParams", - aminoType: "cosmos-sdk/TallyParams", - encode(message: TallyParams, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.quorum.length !== 0) { - writer.uint32(10).bytes(message.quorum); - } - if (message.threshold.length !== 0) { - writer.uint32(18).bytes(message.threshold); - } - if (message.vetoThreshold.length !== 0) { - writer.uint32(26).bytes(message.vetoThreshold); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTallyParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.quorum = reader.bytes(); - break; - case 2: - message.threshold = reader.bytes(); - break; - case 3: - message.vetoThreshold = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TallyParams { - const obj = createBaseTallyParams(); - if (isSet(object.quorum)) obj.quorum = bytesFromBase64(object.quorum); - if (isSet(object.threshold)) obj.threshold = bytesFromBase64(object.threshold); - if (isSet(object.vetoThreshold)) obj.vetoThreshold = bytesFromBase64(object.vetoThreshold); - return obj; - }, - toJSON(message: TallyParams): unknown { - const obj: any = {}; - message.quorum !== undefined && (obj.quorum = base64FromBytes(message.quorum !== undefined ? message.quorum : new Uint8Array())); - message.threshold !== undefined && (obj.threshold = base64FromBytes(message.threshold !== undefined ? message.threshold : new Uint8Array())); - message.vetoThreshold !== undefined && (obj.vetoThreshold = base64FromBytes(message.vetoThreshold !== undefined ? message.vetoThreshold : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): TallyParams { - const message = createBaseTallyParams(); - message.quorum = object.quorum ?? new Uint8Array(); - message.threshold = object.threshold ?? new Uint8Array(); - message.vetoThreshold = object.vetoThreshold ?? new Uint8Array(); - return message; - }, - fromSDK(object: TallyParamsSDKType): TallyParams { - return { - quorum: object?.quorum, - threshold: object?.threshold, - vetoThreshold: object?.veto_threshold - }; - }, - toSDK(message: TallyParams): TallyParamsSDKType { - const obj: any = {}; - obj.quorum = message.quorum; - obj.threshold = message.threshold; - obj.veto_threshold = message.vetoThreshold; - return obj; - }, - fromAmino(object: TallyParamsAmino): TallyParams { - return { - quorum: object.quorum, - threshold: object.threshold, - vetoThreshold: object.veto_threshold - }; - }, - toAmino(message: TallyParams): TallyParamsAmino { - const obj: any = {}; - obj.quorum = message.quorum; - obj.threshold = message.threshold; - obj.veto_threshold = message.vetoThreshold; - return obj; - }, - fromAminoMsg(object: TallyParamsAminoMsg): TallyParams { - return TallyParams.fromAmino(object.value); - }, - toAminoMsg(message: TallyParams): TallyParamsAminoMsg { - return { - type: "cosmos-sdk/TallyParams", - value: TallyParams.toAmino(message) - }; - }, - fromProtoMsg(message: TallyParamsProtoMsg): TallyParams { - return TallyParams.decode(message.value); - }, - toProto(message: TallyParams): Uint8Array { - return TallyParams.encode(message).finish(); - }, - toProtoMsg(message: TallyParams): TallyParamsProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.TallyParams", - value: TallyParams.encode(message).finish() - }; - } -}; -export const ProposalContentI_InterfaceDecoder = (input: _m0.Reader | Uint8Array): TextProposal | ClientUpdateProposal | UpgradeProposal | Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - case "/cosmos.gov.v1beta1.TextProposal": - return TextProposal.decode(data.value); - case "/ibc.core.client.v1.ClientUpdateProposal": - return ClientUpdateProposal.decode(data.value); - case "/ibc.core.client.v1.UpgradeProposal": - return UpgradeProposal.decode(data.value); - default: - return data; - } -}; -export const ProposalContentI_FromAmino = (content: AnyAmino) => { - switch (content.type) { - case "cosmos-sdk/TextProposal": - return Any.fromPartial({ - typeUrl: "/cosmos.gov.v1beta1.TextProposal", - value: TextProposal.encode(TextProposal.fromPartial(TextProposal.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/ClientUpdateProposal": - return Any.fromPartial({ - typeUrl: "/ibc.core.client.v1.ClientUpdateProposal", - value: ClientUpdateProposal.encode(ClientUpdateProposal.fromPartial(ClientUpdateProposal.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/UpgradeProposal": - return Any.fromPartial({ - typeUrl: "/ibc.core.client.v1.UpgradeProposal", - value: UpgradeProposal.encode(UpgradeProposal.fromPartial(UpgradeProposal.fromAmino(content.value))).finish() - }); - default: - return Any.fromAmino(content); - } -}; -export const ProposalContentI_ToAmino = (content: Any) => { - switch (content.typeUrl) { - case "/cosmos.gov.v1beta1.TextProposal": - return { - type: "cosmos-sdk/TextProposal", - value: TextProposal.toAmino(TextProposal.decode(content.value)) - }; - case "/ibc.core.client.v1.ClientUpdateProposal": - return { - type: "cosmos-sdk/ClientUpdateProposal", - value: ClientUpdateProposal.toAmino(ClientUpdateProposal.decode(content.value)) - }; - case "/ibc.core.client.v1.UpgradeProposal": - return { - type: "cosmos-sdk/UpgradeProposal", - value: UpgradeProposal.toAmino(UpgradeProposal.decode(content.value)) - }; - default: - return Any.toAmino(content); - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.lcd.ts deleted file mode 100644 index d1e453020..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryProposalRequest, QueryProposalRequestSDKType, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsRequestSDKType, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteRequestSDKType, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesRequestSDKType, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositRequestSDKType, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsRequestSDKType, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultRequestSDKType, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.proposal = this.proposal.bind(this); - this.proposals = this.proposals.bind(this); - this.vote = this.vote.bind(this); - this.votes = this.votes.bind(this); - this.params = this.params.bind(this); - this.deposit = this.deposit.bind(this); - this.deposits = this.deposits.bind(this); - this.tallyResult = this.tallyResult.bind(this); - } - /* Proposal queries proposal details based on ProposalID. */ - async proposal(params: QueryProposalRequest): Promise { - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}`; - return await this.req.get(endpoint); - } - /* Proposals queries all proposals based on given status. */ - async proposals(params: QueryProposalsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.proposalStatus !== "undefined") { - options.params.proposal_status = params.proposalStatus; - } - if (typeof params?.voter !== "undefined") { - options.params.voter = params.voter; - } - if (typeof params?.depositor !== "undefined") { - options.params.depositor = params.depositor; - } - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/gov/v1beta1/proposals`; - return await this.req.get(endpoint, options); - } - /* Vote queries voted information based on proposalID, voterAddr. */ - async vote(params: QueryVoteRequest): Promise { - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/votes/${params.voter}`; - return await this.req.get(endpoint); - } - /* Votes queries votes of a given proposal. */ - async votes(params: QueryVotesRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/votes`; - return await this.req.get(endpoint, options); - } - /* Params queries all parameters of the gov module. */ - async params(params: QueryParamsRequest): Promise { - const endpoint = `cosmos/gov/v1beta1/params/${params.paramsType}`; - return await this.req.get(endpoint); - } - /* Deposit queries single deposit information based proposalID, depositAddr. */ - async deposit(params: QueryDepositRequest): Promise { - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/deposits/${params.depositor}`; - return await this.req.get(endpoint); - } - /* Deposits queries all deposits of a single proposal. */ - async deposits(params: QueryDepositsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/deposits`; - return await this.req.get(endpoint, options); - } - /* TallyResult queries the tally of a proposal vote. */ - async tallyResult(params: QueryTallyResultRequest): Promise { - const endpoint = `cosmos/gov/v1beta1/proposals/${params.proposalId}/tally`; - return await this.req.get(endpoint); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts deleted file mode 100644 index efcbca95e..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, VotingParams, VotingParamsSDKType, DepositParams, DepositParamsSDKType, TallyParams, TallyParamsSDKType, Deposit, DepositSDKType, TallyResult, TallyResultSDKType } from "./gov"; -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import * as fm from "../../../grpc-gateway"; -import { QueryProposalRequest, QueryProposalRequestSDKType, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsRequestSDKType, QueryProposalsResponse, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteRequestSDKType, QueryVoteResponse, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesRequestSDKType, QueryVotesResponse, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositRequestSDKType, QueryDepositResponse, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsRequestSDKType, QueryDepositsResponse, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultRequestSDKType, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -export class Query { - /** Proposal queries proposal details based on ProposalID. */ - static proposal(request: QueryProposalRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1beta1/proposals/${request["proposal_id"]}?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Proposals queries all proposals based on given status. */ - static proposals(request: QueryProposalsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1beta1/proposals?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** Vote queries voted information based on proposalID, voterAddr. */ - static vote(request: QueryVoteRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1beta1/proposals/${request["proposal_id"]}/votes/${request["voter"]}?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id", "voter"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Votes queries votes of a given proposal. */ - static votes(request: QueryVotesRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1beta1/proposals/${request["proposal_id"]}/votes?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Params queries all parameters of the gov module. */ - static params(request: QueryParamsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1beta1/params/${request["params_type"]}?${fm.renderURLSearchParams({ - ...request - }, ["params_type"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Deposit queries single deposit information based proposalID, depositAddr. */ - static deposit(request: QueryDepositRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1beta1/proposals/${request["proposal_id"]}/deposits/${request["depositor"]}?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id", "depositor"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Deposits queries all deposits of a single proposal. */ - static deposits(request: QueryDepositsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1beta1/proposals/${request["proposal_id"]}/deposits?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** TallyResult queries the tally of a proposal vote. */ - static tallyResult(request: QueryTallyResultRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/gov/v1beta1/proposals/${request["proposal_id"]}/tally?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id"])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Proposal queries proposal details based on ProposalID. */ - async proposal(req: QueryProposalRequest, headers?: HeadersInit): Promise { - return Query.proposal(req, { - headers, - pathPrefix: this.url - }); - } - /** Proposals queries all proposals based on given status. */ - async proposals(req: QueryProposalsRequest, headers?: HeadersInit): Promise { - return Query.proposals(req, { - headers, - pathPrefix: this.url - }); - } - /** Vote queries voted information based on proposalID, voterAddr. */ - async vote(req: QueryVoteRequest, headers?: HeadersInit): Promise { - return Query.vote(req, { - headers, - pathPrefix: this.url - }); - } - /** Votes queries votes of a given proposal. */ - async votes(req: QueryVotesRequest, headers?: HeadersInit): Promise { - return Query.votes(req, { - headers, - pathPrefix: this.url - }); - } - /** Params queries all parameters of the gov module. */ - async params(req: QueryParamsRequest, headers?: HeadersInit): Promise { - return Query.params(req, { - headers, - pathPrefix: this.url - }); - } - /** Deposit queries single deposit information based proposalID, depositAddr. */ - async deposit(req: QueryDepositRequest, headers?: HeadersInit): Promise { - return Query.deposit(req, { - headers, - pathPrefix: this.url - }); - } - /** Deposits queries all deposits of a single proposal. */ - async deposits(req: QueryDepositsRequest, headers?: HeadersInit): Promise { - return Query.deposits(req, { - headers, - pathPrefix: this.url - }); - } - /** TallyResult queries the tally of a proposal vote. */ - async tallyResult(req: QueryTallyResultRequest, headers?: HeadersInit): Promise { - return Query.tallyResult(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.ts deleted file mode 100644 index 788217464..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/query.ts +++ /dev/null @@ -1,2076 +0,0 @@ -import { ProposalStatus, ProposalStatusSDKType, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, VotingParams, VotingParamsAmino, VotingParamsSDKType, DepositParams, DepositParamsAmino, DepositParamsSDKType, TallyParams, TallyParamsAmino, TallyParamsSDKType, Deposit, DepositAmino, DepositSDKType, TallyResult, TallyResultAmino, TallyResultSDKType, proposalStatusFromJSON, proposalStatusToJSON } from "./gov"; -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.gov.v1beta1"; -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -export interface QueryProposalRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalRequest"; - value: Uint8Array; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; -} -export interface QueryProposalRequestAminoMsg { - type: "cosmos-sdk/QueryProposalRequest"; - value: QueryProposalRequestAmino; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponse { - proposal: Proposal; -} -export interface QueryProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalResponse"; - value: Uint8Array; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseAmino { - proposal?: ProposalAmino; -} -export interface QueryProposalResponseAminoMsg { - type: "cosmos-sdk/QueryProposalResponse"; - value: QueryProposalResponseAmino; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseSDKType { - proposal: ProposalSDKType; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequest { - /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryProposalsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalsRequest"; - value: Uint8Array; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestAmino { - /** proposal_status defines the status of the proposals. */ - proposal_status: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryProposalsRequestAminoMsg { - type: "cosmos-sdk/QueryProposalsRequest"; - value: QueryProposalsRequestAmino; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestSDKType { - proposal_status: ProposalStatus; - voter: string; - depositor: string; - pagination: PageRequestSDKType; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponse { - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryProposalsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalsResponse"; - value: Uint8Array; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseAmino { - proposals: ProposalAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryProposalsResponseAminoMsg { - type: "cosmos-sdk/QueryProposalsResponse"; - value: QueryProposalsResponseAmino; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** voter defines the oter address for the proposals. */ - voter: string; -} -export interface QueryVoteRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVoteRequest"; - value: Uint8Array; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** voter defines the oter address for the proposals. */ - voter: string; -} -export interface QueryVoteRequestAminoMsg { - type: "cosmos-sdk/QueryVoteRequest"; - value: QueryVoteRequestAmino; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote: Vote; -} -export interface QueryVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVoteResponse"; - value: Uint8Array; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseAmino { - /** vote defined the queried vote. */ - vote?: VoteAmino; -} -export interface QueryVoteResponseAminoMsg { - type: "cosmos-sdk/QueryVoteResponse"; - value: QueryVoteResponseAmino; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseSDKType { - vote: VoteSDKType; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryVotesRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVotesRequest"; - value: Uint8Array; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryVotesRequestAminoMsg { - type: "cosmos-sdk/QueryVotesRequest"; - value: QueryVotesRequestAmino; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestSDKType { - proposal_id: Long; - pagination: PageRequestSDKType; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponse { - /** votes defined the queried votes. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryVotesResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryVotesResponse"; - value: Uint8Array; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseAmino { - /** votes defined the queried votes. */ - votes: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryVotesResponseAminoMsg { - type: "cosmos-sdk/QueryVotesResponse"; - value: QueryVotesResponseAmino; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseSDKType { - votes: VoteSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - paramsType: string; -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - params_type: string; -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { - params_type: string; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** voting_params defines the parameters related to voting. */ - votingParams: VotingParams; - /** deposit_params defines the parameters related to deposit. */ - depositParams: DepositParams; - /** tally_params defines the parameters related to tally. */ - tallyParams: TallyParams; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** voting_params defines the parameters related to voting. */ - voting_params?: VotingParamsAmino; - /** deposit_params defines the parameters related to deposit. */ - deposit_params?: DepositParamsAmino; - /** tally_params defines the parameters related to tally. */ - tally_params?: TallyParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - voting_params: VotingParamsSDKType; - deposit_params: DepositParamsSDKType; - tally_params: TallyParamsSDKType; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -export interface QueryDepositRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositRequest"; - value: Uint8Array; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -export interface QueryDepositRequestAminoMsg { - type: "cosmos-sdk/QueryDepositRequest"; - value: QueryDepositRequestAmino; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestSDKType { - proposal_id: Long; - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit: Deposit; -} -export interface QueryDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositResponse"; - value: Uint8Array; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseAmino { - /** deposit defines the requested deposit. */ - deposit?: DepositAmino; -} -export interface QueryDepositResponseAminoMsg { - type: "cosmos-sdk/QueryDepositResponse"; - value: QueryDepositResponseAmino; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseSDKType { - deposit: DepositSDKType; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDepositsRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositsRequest"; - value: Uint8Array; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDepositsRequestAminoMsg { - type: "cosmos-sdk/QueryDepositsRequest"; - value: QueryDepositsRequestAmino; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestSDKType { - proposal_id: Long; - pagination: PageRequestSDKType; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponse { - deposits: Deposit[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDepositsResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositsResponse"; - value: Uint8Array; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseAmino { - deposits: DepositAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDepositsResponseAminoMsg { - type: "cosmos-sdk/QueryDepositsResponse"; - value: QueryDepositsResponseAmino; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -export interface QueryTallyResultRequestProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultRequest"; - value: Uint8Array; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestAmino { - /** proposal_id defines the unique id of the proposal. */ - proposal_id: string; -} -export interface QueryTallyResultRequestAminoMsg { - type: "cosmos-sdk/QueryTallyResultRequest"; - value: QueryTallyResultRequestAmino; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally: TallyResult; -} -export interface QueryTallyResultResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultResponse"; - value: Uint8Array; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseAmino { - /** tally defines the requested tally. */ - tally?: TallyResultAmino; -} -export interface QueryTallyResultResponseAminoMsg { - type: "cosmos-sdk/QueryTallyResultResponse"; - value: QueryTallyResultResponseAmino; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseSDKType { - tally: TallyResultSDKType; -} -function createBaseQueryProposalRequest(): QueryProposalRequest { - return { - proposalId: Long.UZERO - }; -} -export const QueryProposalRequest = { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalRequest", - aminoType: "cosmos-sdk/QueryProposalRequest", - encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalRequest { - const obj = createBaseQueryProposalRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalRequest { - const message = createBaseQueryProposalRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: QueryProposalRequestSDKType): QueryProposalRequest { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: QueryProposalRequest): QueryProposalRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: QueryProposalRequest): QueryProposalRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest { - return QueryProposalRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg { - return { - type: "cosmos-sdk/QueryProposalRequest", - value: QueryProposalRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest { - return QueryProposalRequest.decode(message.value); - }, - toProto(message: QueryProposalRequest): Uint8Array { - return QueryProposalRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalRequest", - value: QueryProposalRequest.encode(message).finish() - }; - } -}; -function createBaseQueryProposalResponse(): QueryProposalResponse { - return { - proposal: Proposal.fromPartial({}) - }; -} -export const QueryProposalResponse = { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalResponse", - aminoType: "cosmos-sdk/QueryProposalResponse", - encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.proposal !== undefined) { - Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposal = Proposal.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalResponse { - const obj = createBaseQueryProposalResponse(); - if (isSet(object.proposal)) obj.proposal = Proposal.fromJSON(object.proposal); - return obj; - }, - toJSON(message: QueryProposalResponse): unknown { - const obj: any = {}; - message.proposal !== undefined && (obj.proposal = message.proposal ? Proposal.toJSON(message.proposal) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalResponse { - const message = createBaseQueryProposalResponse(); - if (object.proposal !== undefined && object.proposal !== null) { - message.proposal = Proposal.fromPartial(object.proposal); - } - return message; - }, - fromSDK(object: QueryProposalResponseSDKType): QueryProposalResponse { - return { - proposal: object.proposal ? Proposal.fromSDK(object.proposal) : undefined - }; - }, - toSDK(message: QueryProposalResponse): QueryProposalResponseSDKType { - const obj: any = {}; - message.proposal !== undefined && (obj.proposal = message.proposal ? Proposal.toSDK(message.proposal) : undefined); - return obj; - }, - fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse { - return { - proposal: object?.proposal ? Proposal.fromAmino(object.proposal) : undefined - }; - }, - toAmino(message: QueryProposalResponse): QueryProposalResponseAmino { - const obj: any = {}; - obj.proposal = message.proposal ? Proposal.toAmino(message.proposal) : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse { - return QueryProposalResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg { - return { - type: "cosmos-sdk/QueryProposalResponse", - value: QueryProposalResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse { - return QueryProposalResponse.decode(message.value); - }, - toProto(message: QueryProposalResponse): Uint8Array { - return QueryProposalResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalResponse", - value: QueryProposalResponse.encode(message).finish() - }; - } -}; -function createBaseQueryProposalsRequest(): QueryProposalsRequest { - return { - proposalStatus: 0, - voter: "", - depositor: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryProposalsRequest = { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalsRequest", - aminoType: "cosmos-sdk/QueryProposalsRequest", - encode(message: QueryProposalsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.proposalStatus !== 0) { - writer.uint32(8).int32(message.proposalStatus); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - if (message.depositor !== "") { - writer.uint32(26).string(message.depositor); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalStatus = (reader.int32() as any); - break; - case 2: - message.voter = reader.string(); - break; - case 3: - message.depositor = reader.string(); - break; - case 4: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalsRequest { - const obj = createBaseQueryProposalsRequest(); - if (isSet(object.proposalStatus)) obj.proposalStatus = proposalStatusFromJSON(object.proposalStatus); - if (isSet(object.voter)) obj.voter = String(object.voter); - if (isSet(object.depositor)) obj.depositor = String(object.depositor); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryProposalsRequest): unknown { - const obj: any = {}; - message.proposalStatus !== undefined && (obj.proposalStatus = proposalStatusToJSON(message.proposalStatus)); - message.voter !== undefined && (obj.voter = message.voter); - message.depositor !== undefined && (obj.depositor = message.depositor); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalsRequest { - const message = createBaseQueryProposalsRequest(); - message.proposalStatus = object.proposalStatus ?? 0; - message.voter = object.voter ?? ""; - message.depositor = object.depositor ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryProposalsRequestSDKType): QueryProposalsRequest { - return { - proposalStatus: isSet(object.proposal_status) ? proposalStatusFromJSON(object.proposal_status) : -1, - voter: object?.voter, - depositor: object?.depositor, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryProposalsRequest): QueryProposalsRequestSDKType { - const obj: any = {}; - message.proposalStatus !== undefined && (obj.proposal_status = proposalStatusToJSON(message.proposalStatus)); - obj.voter = message.voter; - obj.depositor = message.depositor; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryProposalsRequestAmino): QueryProposalsRequest { - return { - proposalStatus: isSet(object.proposal_status) ? proposalStatusFromJSON(object.proposal_status) : -1, - voter: object.voter, - depositor: object.depositor, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryProposalsRequest): QueryProposalsRequestAmino { - const obj: any = {}; - obj.proposal_status = message.proposalStatus; - obj.voter = message.voter; - obj.depositor = message.depositor; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalsRequestAminoMsg): QueryProposalsRequest { - return QueryProposalsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalsRequest): QueryProposalsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryProposalsRequest", - value: QueryProposalsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalsRequestProtoMsg): QueryProposalsRequest { - return QueryProposalsRequest.decode(message.value); - }, - toProto(message: QueryProposalsRequest): Uint8Array { - return QueryProposalsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalsRequest): QueryProposalsRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalsRequest", - value: QueryProposalsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryProposalsResponse(): QueryProposalsResponse { - return { - proposals: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryProposalsResponse = { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalsResponse", - aminoType: "cosmos-sdk/QueryProposalsResponse", - encode(message: QueryProposalsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalsResponse { - const obj = createBaseQueryProposalsResponse(); - if (Array.isArray(object?.proposals)) obj.proposals = object.proposals.map((e: any) => Proposal.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryProposalsResponse): unknown { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalsResponse { - const message = createBaseQueryProposalsResponse(); - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryProposalsResponseSDKType): QueryProposalsResponse { - return { - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryProposalsResponse): QueryProposalsResponseSDKType { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toSDK(e) : undefined); - } else { - obj.proposals = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryProposalsResponseAmino): QueryProposalsResponse { - return { - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryProposalsResponse): QueryProposalsResponseAmino { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toAmino(e) : undefined); - } else { - obj.proposals = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalsResponseAminoMsg): QueryProposalsResponse { - return QueryProposalsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalsResponse): QueryProposalsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryProposalsResponse", - value: QueryProposalsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalsResponseProtoMsg): QueryProposalsResponse { - return QueryProposalsResponse.decode(message.value); - }, - toProto(message: QueryProposalsResponse): Uint8Array { - return QueryProposalsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalsResponse): QueryProposalsResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryProposalsResponse", - value: QueryProposalsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryVoteRequest(): QueryVoteRequest { - return { - proposalId: Long.UZERO, - voter: "" - }; -} -export const QueryVoteRequest = { - typeUrl: "/cosmos.gov.v1beta1.QueryVoteRequest", - aminoType: "cosmos-sdk/QueryVoteRequest", - encode(message: QueryVoteRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.voter = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVoteRequest { - const obj = createBaseQueryVoteRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.voter)) obj.voter = String(object.voter); - return obj; - }, - toJSON(message: QueryVoteRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.voter !== undefined && (obj.voter = message.voter); - return obj; - }, - fromPartial(object: DeepPartial): QueryVoteRequest { - const message = createBaseQueryVoteRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.voter = object.voter ?? ""; - return message; - }, - fromSDK(object: QueryVoteRequestSDKType): QueryVoteRequest { - return { - proposalId: object?.proposal_id, - voter: object?.voter - }; - }, - toSDK(message: QueryVoteRequest): QueryVoteRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.voter = message.voter; - return obj; - }, - fromAmino(object: QueryVoteRequestAmino): QueryVoteRequest { - return { - proposalId: Long.fromString(object.proposal_id), - voter: object.voter - }; - }, - toAmino(message: QueryVoteRequest): QueryVoteRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.voter = message.voter; - return obj; - }, - fromAminoMsg(object: QueryVoteRequestAminoMsg): QueryVoteRequest { - return QueryVoteRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryVoteRequest): QueryVoteRequestAminoMsg { - return { - type: "cosmos-sdk/QueryVoteRequest", - value: QueryVoteRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVoteRequestProtoMsg): QueryVoteRequest { - return QueryVoteRequest.decode(message.value); - }, - toProto(message: QueryVoteRequest): Uint8Array { - return QueryVoteRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryVoteRequest): QueryVoteRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryVoteRequest", - value: QueryVoteRequest.encode(message).finish() - }; - } -}; -function createBaseQueryVoteResponse(): QueryVoteResponse { - return { - vote: Vote.fromPartial({}) - }; -} -export const QueryVoteResponse = { - typeUrl: "/cosmos.gov.v1beta1.QueryVoteResponse", - aminoType: "cosmos-sdk/QueryVoteResponse", - encode(message: QueryVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.vote !== undefined) { - Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.vote = Vote.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVoteResponse { - const obj = createBaseQueryVoteResponse(); - if (isSet(object.vote)) obj.vote = Vote.fromJSON(object.vote); - return obj; - }, - toJSON(message: QueryVoteResponse): unknown { - const obj: any = {}; - message.vote !== undefined && (obj.vote = message.vote ? Vote.toJSON(message.vote) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryVoteResponse { - const message = createBaseQueryVoteResponse(); - if (object.vote !== undefined && object.vote !== null) { - message.vote = Vote.fromPartial(object.vote); - } - return message; - }, - fromSDK(object: QueryVoteResponseSDKType): QueryVoteResponse { - return { - vote: object.vote ? Vote.fromSDK(object.vote) : undefined - }; - }, - toSDK(message: QueryVoteResponse): QueryVoteResponseSDKType { - const obj: any = {}; - message.vote !== undefined && (obj.vote = message.vote ? Vote.toSDK(message.vote) : undefined); - return obj; - }, - fromAmino(object: QueryVoteResponseAmino): QueryVoteResponse { - return { - vote: object?.vote ? Vote.fromAmino(object.vote) : undefined - }; - }, - toAmino(message: QueryVoteResponse): QueryVoteResponseAmino { - const obj: any = {}; - obj.vote = message.vote ? Vote.toAmino(message.vote) : undefined; - return obj; - }, - fromAminoMsg(object: QueryVoteResponseAminoMsg): QueryVoteResponse { - return QueryVoteResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryVoteResponse): QueryVoteResponseAminoMsg { - return { - type: "cosmos-sdk/QueryVoteResponse", - value: QueryVoteResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVoteResponseProtoMsg): QueryVoteResponse { - return QueryVoteResponse.decode(message.value); - }, - toProto(message: QueryVoteResponse): Uint8Array { - return QueryVoteResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryVoteResponse): QueryVoteResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryVoteResponse", - value: QueryVoteResponse.encode(message).finish() - }; - } -}; -function createBaseQueryVotesRequest(): QueryVotesRequest { - return { - proposalId: Long.UZERO, - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryVotesRequest = { - typeUrl: "/cosmos.gov.v1beta1.QueryVotesRequest", - aminoType: "cosmos-sdk/QueryVotesRequest", - encode(message: QueryVotesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVotesRequest { - const obj = createBaseQueryVotesRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryVotesRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryVotesRequest { - const message = createBaseQueryVotesRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryVotesRequestSDKType): QueryVotesRequest { - return { - proposalId: object?.proposal_id, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryVotesRequest): QueryVotesRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryVotesRequestAmino): QueryVotesRequest { - return { - proposalId: Long.fromString(object.proposal_id), - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryVotesRequest): QueryVotesRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryVotesRequestAminoMsg): QueryVotesRequest { - return QueryVotesRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryVotesRequest): QueryVotesRequestAminoMsg { - return { - type: "cosmos-sdk/QueryVotesRequest", - value: QueryVotesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVotesRequestProtoMsg): QueryVotesRequest { - return QueryVotesRequest.decode(message.value); - }, - toProto(message: QueryVotesRequest): Uint8Array { - return QueryVotesRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryVotesRequest): QueryVotesRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryVotesRequest", - value: QueryVotesRequest.encode(message).finish() - }; - } -}; -function createBaseQueryVotesResponse(): QueryVotesResponse { - return { - votes: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryVotesResponse = { - typeUrl: "/cosmos.gov.v1beta1.QueryVotesResponse", - aminoType: "cosmos-sdk/QueryVotesResponse", - encode(message: QueryVotesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVotesResponse { - const obj = createBaseQueryVotesResponse(); - if (Array.isArray(object?.votes)) obj.votes = object.votes.map((e: any) => Vote.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryVotesResponse): unknown { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryVotesResponse { - const message = createBaseQueryVotesResponse(); - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryVotesResponseSDKType): QueryVotesResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryVotesResponse): QueryVotesResponseSDKType { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toSDK(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryVotesResponseAmino): QueryVotesResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryVotesResponse): QueryVotesResponseAmino { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toAmino(e) : undefined); - } else { - obj.votes = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryVotesResponseAminoMsg): QueryVotesResponse { - return QueryVotesResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryVotesResponse): QueryVotesResponseAminoMsg { - return { - type: "cosmos-sdk/QueryVotesResponse", - value: QueryVotesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVotesResponseProtoMsg): QueryVotesResponse { - return QueryVotesResponse.decode(message.value); - }, - toProto(message: QueryVotesResponse): Uint8Array { - return QueryVotesResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryVotesResponse): QueryVotesResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryVotesResponse", - value: QueryVotesResponse.encode(message).finish() - }; - } -}; -function createBaseQueryParamsRequest(): QueryParamsRequest { - return { - paramsType: "" - }; -} -export const QueryParamsRequest = { - typeUrl: "/cosmos.gov.v1beta1.QueryParamsRequest", - aminoType: "cosmos-sdk/QueryParamsRequest", - encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.paramsType !== "") { - writer.uint32(10).string(message.paramsType); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.paramsType = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsRequest { - const obj = createBaseQueryParamsRequest(); - if (isSet(object.paramsType)) obj.paramsType = String(object.paramsType); - return obj; - }, - toJSON(message: QueryParamsRequest): unknown { - const obj: any = {}; - message.paramsType !== undefined && (obj.paramsType = message.paramsType); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - message.paramsType = object.paramsType ?? ""; - return message; - }, - fromSDK(object: QueryParamsRequestSDKType): QueryParamsRequest { - return { - paramsType: object?.params_type - }; - }, - toSDK(message: QueryParamsRequest): QueryParamsRequestSDKType { - const obj: any = {}; - obj.params_type = message.paramsType; - return obj; - }, - fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest { - return { - paramsType: object.params_type - }; - }, - toAmino(message: QueryParamsRequest): QueryParamsRequestAmino { - const obj: any = {}; - obj.params_type = message.paramsType; - return obj; - }, - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest { - return QueryParamsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryParamsRequest", - value: QueryParamsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest { - return QueryParamsRequest.decode(message.value); - }, - toProto(message: QueryParamsRequest): Uint8Array { - return QueryParamsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryParamsRequest", - value: QueryParamsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - votingParams: VotingParams.fromPartial({}), - depositParams: DepositParams.fromPartial({}), - tallyParams: TallyParams.fromPartial({}) - }; -} -export const QueryParamsResponse = { - typeUrl: "/cosmos.gov.v1beta1.QueryParamsResponse", - aminoType: "cosmos-sdk/QueryParamsResponse", - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.votingParams !== undefined) { - VotingParams.encode(message.votingParams, writer.uint32(10).fork()).ldelim(); - } - if (message.depositParams !== undefined) { - DepositParams.encode(message.depositParams, writer.uint32(18).fork()).ldelim(); - } - if (message.tallyParams !== undefined) { - TallyParams.encode(message.tallyParams, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.votingParams = VotingParams.decode(reader, reader.uint32()); - break; - case 2: - message.depositParams = DepositParams.decode(reader, reader.uint32()); - break; - case 3: - message.tallyParams = TallyParams.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsResponse { - const obj = createBaseQueryParamsResponse(); - if (isSet(object.votingParams)) obj.votingParams = VotingParams.fromJSON(object.votingParams); - if (isSet(object.depositParams)) obj.depositParams = DepositParams.fromJSON(object.depositParams); - if (isSet(object.tallyParams)) obj.tallyParams = TallyParams.fromJSON(object.tallyParams); - return obj; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.votingParams !== undefined && (obj.votingParams = message.votingParams ? VotingParams.toJSON(message.votingParams) : undefined); - message.depositParams !== undefined && (obj.depositParams = message.depositParams ? DepositParams.toJSON(message.depositParams) : undefined); - message.tallyParams !== undefined && (obj.tallyParams = message.tallyParams ? TallyParams.toJSON(message.tallyParams) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - if (object.votingParams !== undefined && object.votingParams !== null) { - message.votingParams = VotingParams.fromPartial(object.votingParams); - } - if (object.depositParams !== undefined && object.depositParams !== null) { - message.depositParams = DepositParams.fromPartial(object.depositParams); - } - if (object.tallyParams !== undefined && object.tallyParams !== null) { - message.tallyParams = TallyParams.fromPartial(object.tallyParams); - } - return message; - }, - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse { - return { - votingParams: object.voting_params ? VotingParams.fromSDK(object.voting_params) : undefined, - depositParams: object.deposit_params ? DepositParams.fromSDK(object.deposit_params) : undefined, - tallyParams: object.tally_params ? TallyParams.fromSDK(object.tally_params) : undefined - }; - }, - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType { - const obj: any = {}; - message.votingParams !== undefined && (obj.voting_params = message.votingParams ? VotingParams.toSDK(message.votingParams) : undefined); - message.depositParams !== undefined && (obj.deposit_params = message.depositParams ? DepositParams.toSDK(message.depositParams) : undefined); - message.tallyParams !== undefined && (obj.tally_params = message.tallyParams ? TallyParams.toSDK(message.tallyParams) : undefined); - return obj; - }, - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse { - return { - votingParams: object?.voting_params ? VotingParams.fromAmino(object.voting_params) : undefined, - depositParams: object?.deposit_params ? DepositParams.fromAmino(object.deposit_params) : undefined, - tallyParams: object?.tally_params ? TallyParams.fromAmino(object.tally_params) : undefined - }; - }, - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino { - const obj: any = {}; - obj.voting_params = message.votingParams ? VotingParams.toAmino(message.votingParams) : undefined; - obj.deposit_params = message.depositParams ? DepositParams.toAmino(message.depositParams) : undefined; - obj.tally_params = message.tallyParams ? TallyParams.toAmino(message.tallyParams) : undefined; - return obj; - }, - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse { - return QueryParamsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryParamsResponse", - value: QueryParamsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse { - return QueryParamsResponse.decode(message.value); - }, - toProto(message: QueryParamsResponse): Uint8Array { - return QueryParamsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryParamsResponse", - value: QueryParamsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDepositRequest(): QueryDepositRequest { - return { - proposalId: Long.UZERO, - depositor: "" - }; -} -export const QueryDepositRequest = { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositRequest", - aminoType: "cosmos-sdk/QueryDepositRequest", - encode(message: QueryDepositRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.depositor = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDepositRequest { - const obj = createBaseQueryDepositRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.depositor)) obj.depositor = String(object.depositor); - return obj; - }, - toJSON(message: QueryDepositRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - return obj; - }, - fromPartial(object: DeepPartial): QueryDepositRequest { - const message = createBaseQueryDepositRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.depositor = object.depositor ?? ""; - return message; - }, - fromSDK(object: QueryDepositRequestSDKType): QueryDepositRequest { - return { - proposalId: object?.proposal_id, - depositor: object?.depositor - }; - }, - toSDK(message: QueryDepositRequest): QueryDepositRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.depositor = message.depositor; - return obj; - }, - fromAmino(object: QueryDepositRequestAmino): QueryDepositRequest { - return { - proposalId: Long.fromString(object.proposal_id), - depositor: object.depositor - }; - }, - toAmino(message: QueryDepositRequest): QueryDepositRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.depositor = message.depositor; - return obj; - }, - fromAminoMsg(object: QueryDepositRequestAminoMsg): QueryDepositRequest { - return QueryDepositRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDepositRequest): QueryDepositRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDepositRequest", - value: QueryDepositRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDepositRequestProtoMsg): QueryDepositRequest { - return QueryDepositRequest.decode(message.value); - }, - toProto(message: QueryDepositRequest): Uint8Array { - return QueryDepositRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDepositRequest): QueryDepositRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositRequest", - value: QueryDepositRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDepositResponse(): QueryDepositResponse { - return { - deposit: Deposit.fromPartial({}) - }; -} -export const QueryDepositResponse = { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositResponse", - aminoType: "cosmos-sdk/QueryDepositResponse", - encode(message: QueryDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.deposit !== undefined) { - Deposit.encode(message.deposit, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.deposit = Deposit.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDepositResponse { - const obj = createBaseQueryDepositResponse(); - if (isSet(object.deposit)) obj.deposit = Deposit.fromJSON(object.deposit); - return obj; - }, - toJSON(message: QueryDepositResponse): unknown { - const obj: any = {}; - message.deposit !== undefined && (obj.deposit = message.deposit ? Deposit.toJSON(message.deposit) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDepositResponse { - const message = createBaseQueryDepositResponse(); - if (object.deposit !== undefined && object.deposit !== null) { - message.deposit = Deposit.fromPartial(object.deposit); - } - return message; - }, - fromSDK(object: QueryDepositResponseSDKType): QueryDepositResponse { - return { - deposit: object.deposit ? Deposit.fromSDK(object.deposit) : undefined - }; - }, - toSDK(message: QueryDepositResponse): QueryDepositResponseSDKType { - const obj: any = {}; - message.deposit !== undefined && (obj.deposit = message.deposit ? Deposit.toSDK(message.deposit) : undefined); - return obj; - }, - fromAmino(object: QueryDepositResponseAmino): QueryDepositResponse { - return { - deposit: object?.deposit ? Deposit.fromAmino(object.deposit) : undefined - }; - }, - toAmino(message: QueryDepositResponse): QueryDepositResponseAmino { - const obj: any = {}; - obj.deposit = message.deposit ? Deposit.toAmino(message.deposit) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDepositResponseAminoMsg): QueryDepositResponse { - return QueryDepositResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDepositResponse): QueryDepositResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDepositResponse", - value: QueryDepositResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDepositResponseProtoMsg): QueryDepositResponse { - return QueryDepositResponse.decode(message.value); - }, - toProto(message: QueryDepositResponse): Uint8Array { - return QueryDepositResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDepositResponse): QueryDepositResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositResponse", - value: QueryDepositResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDepositsRequest(): QueryDepositsRequest { - return { - proposalId: Long.UZERO, - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryDepositsRequest = { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositsRequest", - aminoType: "cosmos-sdk/QueryDepositsRequest", - encode(message: QueryDepositsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDepositsRequest { - const obj = createBaseQueryDepositsRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDepositsRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDepositsRequest { - const message = createBaseQueryDepositsRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDepositsRequestSDKType): QueryDepositsRequest { - return { - proposalId: object?.proposal_id, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDepositsRequest): QueryDepositsRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDepositsRequestAmino): QueryDepositsRequest { - return { - proposalId: Long.fromString(object.proposal_id), - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDepositsRequest): QueryDepositsRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDepositsRequestAminoMsg): QueryDepositsRequest { - return QueryDepositsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDepositsRequest): QueryDepositsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDepositsRequest", - value: QueryDepositsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDepositsRequestProtoMsg): QueryDepositsRequest { - return QueryDepositsRequest.decode(message.value); - }, - toProto(message: QueryDepositsRequest): Uint8Array { - return QueryDepositsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDepositsRequest): QueryDepositsRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositsRequest", - value: QueryDepositsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDepositsResponse(): QueryDepositsResponse { - return { - deposits: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryDepositsResponse = { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositsResponse", - aminoType: "cosmos-sdk/QueryDepositsResponse", - encode(message: QueryDepositsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.deposits) { - Deposit.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDepositsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.deposits.push(Deposit.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDepositsResponse { - const obj = createBaseQueryDepositsResponse(); - if (Array.isArray(object?.deposits)) obj.deposits = object.deposits.map((e: any) => Deposit.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDepositsResponse): unknown { - const obj: any = {}; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toJSON(e) : undefined); - } else { - obj.deposits = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDepositsResponse { - const message = createBaseQueryDepositsResponse(); - message.deposits = object.deposits?.map(e => Deposit.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDepositsResponseSDKType): QueryDepositsResponse { - return { - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDepositsResponse): QueryDepositsResponseSDKType { - const obj: any = {}; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toSDK(e) : undefined); - } else { - obj.deposits = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDepositsResponseAmino): QueryDepositsResponse { - return { - deposits: Array.isArray(object?.deposits) ? object.deposits.map((e: any) => Deposit.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDepositsResponse): QueryDepositsResponseAmino { - const obj: any = {}; - if (message.deposits) { - obj.deposits = message.deposits.map(e => e ? Deposit.toAmino(e) : undefined); - } else { - obj.deposits = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDepositsResponseAminoMsg): QueryDepositsResponse { - return QueryDepositsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDepositsResponse): QueryDepositsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDepositsResponse", - value: QueryDepositsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDepositsResponseProtoMsg): QueryDepositsResponse { - return QueryDepositsResponse.decode(message.value); - }, - toProto(message: QueryDepositsResponse): Uint8Array { - return QueryDepositsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDepositsResponse): QueryDepositsResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryDepositsResponse", - value: QueryDepositsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { - return { - proposalId: Long.UZERO - }; -} -export const QueryTallyResultRequest = { - typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultRequest", - aminoType: "cosmos-sdk/QueryTallyResultRequest", - encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryTallyResultRequest { - const obj = createBaseQueryTallyResultRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryTallyResultRequest { - const message = createBaseQueryTallyResultRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: QueryTallyResultRequestSDKType): QueryTallyResultRequest { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: QueryTallyResultRequest): QueryTallyResultRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest { - return QueryTallyResultRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg { - return { - type: "cosmos-sdk/QueryTallyResultRequest", - value: QueryTallyResultRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest { - return QueryTallyResultRequest.decode(message.value); - }, - toProto(message: QueryTallyResultRequest): Uint8Array { - return QueryTallyResultRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultRequest", - value: QueryTallyResultRequest.encode(message).finish() - }; - } -}; -function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { - return { - tally: TallyResult.fromPartial({}) - }; -} -export const QueryTallyResultResponse = { - typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultResponse", - aminoType: "cosmos-sdk/QueryTallyResultResponse", - encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tally !== undefined) { - TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.tally = TallyResult.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryTallyResultResponse { - const obj = createBaseQueryTallyResultResponse(); - if (isSet(object.tally)) obj.tally = TallyResult.fromJSON(object.tally); - return obj; - }, - toJSON(message: QueryTallyResultResponse): unknown { - const obj: any = {}; - message.tally !== undefined && (obj.tally = message.tally ? TallyResult.toJSON(message.tally) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryTallyResultResponse { - const message = createBaseQueryTallyResultResponse(); - if (object.tally !== undefined && object.tally !== null) { - message.tally = TallyResult.fromPartial(object.tally); - } - return message; - }, - fromSDK(object: QueryTallyResultResponseSDKType): QueryTallyResultResponse { - return { - tally: object.tally ? TallyResult.fromSDK(object.tally) : undefined - }; - }, - toSDK(message: QueryTallyResultResponse): QueryTallyResultResponseSDKType { - const obj: any = {}; - message.tally !== undefined && (obj.tally = message.tally ? TallyResult.toSDK(message.tally) : undefined); - return obj; - }, - fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse { - return { - tally: object?.tally ? TallyResult.fromAmino(object.tally) : undefined - }; - }, - toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino { - const obj: any = {}; - obj.tally = message.tally ? TallyResult.toAmino(message.tally) : undefined; - return obj; - }, - fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse { - return QueryTallyResultResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg { - return { - type: "cosmos-sdk/QueryTallyResultResponse", - value: QueryTallyResultResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse { - return QueryTallyResultResponse.decode(message.value); - }, - toProto(message: QueryTallyResultResponse): Uint8Array { - return QueryTallyResultResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.QueryTallyResultResponse", - value: QueryTallyResultResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.amino.ts deleted file mode 100644 index 0f6cf0b9d..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType, TextProposal, TextProposalSDKType } from "./gov"; -import { ClientUpdateProposal, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; -import { MsgSubmitProposal, MsgSubmitProposalSDKType, MsgVote, MsgVoteSDKType, MsgVoteWeighted, MsgVoteWeightedSDKType, MsgDeposit, MsgDepositSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.gov.v1beta1.MsgSubmitProposal": { - aminoType: "cosmos-sdk/MsgSubmitProposal", - toAmino: MsgSubmitProposal.toAmino, - fromAmino: MsgSubmitProposal.fromAmino - }, - "/cosmos.gov.v1beta1.MsgVote": { - aminoType: "cosmos-sdk/MsgVote", - toAmino: MsgVote.toAmino, - fromAmino: MsgVote.fromAmino - }, - "/cosmos.gov.v1beta1.MsgVoteWeighted": { - aminoType: "cosmos-sdk/MsgVoteWeighted", - toAmino: MsgVoteWeighted.toAmino, - fromAmino: MsgVoteWeighted.fromAmino - }, - "/cosmos.gov.v1beta1.MsgDeposit": { - aminoType: "cosmos-sdk/MsgDeposit", - toAmino: MsgDeposit.toAmino, - fromAmino: MsgDeposit.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.registry.ts deleted file mode 100644 index f42684a03..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +++ /dev/null @@ -1,144 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType, TextProposal, TextProposalSDKType } from "./gov"; -import { ClientUpdateProposal, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSubmitProposal, MsgSubmitProposalSDKType, MsgVote, MsgVoteSDKType, MsgVoteWeighted, MsgVoteWeightedSDKType, MsgDeposit, MsgDepositSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.gov.v1beta1.MsgSubmitProposal", MsgSubmitProposal], ["/cosmos.gov.v1beta1.MsgVote", MsgVote], ["/cosmos.gov.v1beta1.MsgVoteWeighted", MsgVoteWeighted], ["/cosmos.gov.v1beta1.MsgDeposit", MsgDeposit]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - value: MsgSubmitProposal.encode(value).finish() - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - value: MsgVote.encode(value).finish() - }; - }, - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - value: MsgVoteWeighted.encode(value).finish() - }; - }, - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - value: MsgDeposit.encode(value).finish() - }; - } - }, - withTypeUrl: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - value - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - value - }; - }, - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - value - }; - }, - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - value - }; - } - }, - toJSON: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - value: MsgSubmitProposal.toJSON(value) - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - value: MsgVote.toJSON(value) - }; - }, - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - value: MsgVoteWeighted.toJSON(value) - }; - }, - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - value: MsgDeposit.toJSON(value) - }; - } - }, - fromJSON: { - submitProposal(value: any) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - value: MsgSubmitProposal.fromJSON(value) - }; - }, - vote(value: any) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - value: MsgVote.fromJSON(value) - }; - }, - voteWeighted(value: any) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - value: MsgVoteWeighted.fromJSON(value) - }; - }, - deposit(value: any) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - value: MsgDeposit.fromJSON(value) - }; - } - }, - fromPartial: { - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - value: MsgSubmitProposal.fromPartial(value) - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - value: MsgVote.fromPartial(value) - }; - }, - voteWeighted(value: MsgVoteWeighted) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - value: MsgVoteWeighted.fromPartial(value) - }; - }, - deposit(value: MsgDeposit) { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - value: MsgDeposit.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 7729bbbf5..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionSDKType, TextProposal, TextProposalSDKType } from "./gov"; -import { ClientUpdateProposal, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; -import * as fm from "../../../grpc-gateway"; -import { MsgSubmitProposal, MsgSubmitProposalSDKType, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgVote, MsgVoteSDKType, MsgVoteResponse, MsgVoteResponseSDKType, MsgVoteWeighted, MsgVoteWeightedSDKType, MsgVoteWeightedResponse, MsgVoteWeightedResponseSDKType, MsgDeposit, MsgDepositSDKType, MsgDepositResponse, MsgDepositResponseSDKType } from "./tx"; -export class Msg { - /** SubmitProposal defines a method to create new proposal given a content. */ - static submitProposal(request: MsgSubmitProposal, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.gov.v1beta1/submitProposal`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** Vote defines a method to add a vote on a specific proposal. */ - static vote(request: MsgVote, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.gov.v1beta1/vote`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * VoteWeighted defines a method to add a weighted vote on a specific proposal. - * - * Since: cosmos-sdk 0.43 - */ - static voteWeighted(request: MsgVoteWeighted, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.gov.v1beta1/voteWeighted`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** Deposit defines a method to add deposit on a specific proposal. */ - static deposit(request: MsgDeposit, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.gov.v1beta1/deposit`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.ts deleted file mode 100644 index 4f3a53ad3..000000000 --- a/quicksilverjs/src/codegen/cosmos/gov/v1beta1/tx.ts +++ /dev/null @@ -1,1076 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, VoteOptionSDKType, WeightedVoteOption, WeightedVoteOptionAmino, WeightedVoteOptionSDKType, TextProposal, TextProposalProtoMsg, TextProposalSDKType, voteOptionFromJSON, voteOptionToJSON } from "./gov"; -import { ClientUpdateProposal, ClientUpdateProposalProtoMsg, ClientUpdateProposalSDKType, UpgradeProposal, UpgradeProposalProtoMsg, UpgradeProposalSDKType } from "../../../ibc/core/client/v1/client"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.gov.v1beta1"; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposal { - content: TextProposal | ClientUpdateProposal | UpgradeProposal | Any | undefined; - initialDeposit: Coin[]; - proposer: string; -} -export interface MsgSubmitProposalProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal"; - value: Uint8Array; -} -export type MsgSubmitProposalEncoded = Omit & { - content?: TextProposalProtoMsg | ClientUpdateProposalProtoMsg | UpgradeProposalProtoMsg | AnyProtoMsg | undefined; -}; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalAmino { - content?: AnyAmino; - initial_deposit: CoinAmino[]; - proposer: string; -} -export interface MsgSubmitProposalAminoMsg { - type: "cosmos-sdk/MsgSubmitProposal"; - value: MsgSubmitProposalAmino; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalSDKType { - content: TextProposalSDKType | ClientUpdateProposalSDKType | UpgradeProposalSDKType | AnySDKType | undefined; - initial_deposit: CoinSDKType[]; - proposer: string; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponse { - proposalId: Long; -} -export interface MsgSubmitProposalResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposalResponse"; - value: Uint8Array; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseAmino { - proposal_id: string; -} -export interface MsgSubmitProposalResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitProposalResponse"; - value: MsgSubmitProposalResponseAmino; -} -/** MsgSubmitProposalResponse defines the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseSDKType { - proposal_id: Long; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVote { - proposalId: Long; - voter: string; - option: VoteOption; -} -export interface MsgVoteProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVote"; - value: Uint8Array; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteAmino { - proposal_id: string; - voter: string; - option: VoteOption; -} -export interface MsgVoteAminoMsg { - type: "cosmos-sdk/MsgVote"; - value: MsgVoteAmino; -} -/** MsgVote defines a message to cast a vote. */ -export interface MsgVoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOption; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponse {} -export interface MsgVoteResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteResponse"; - value: Uint8Array; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseAmino {} -export interface MsgVoteResponseAminoMsg { - type: "cosmos-sdk/MsgVoteResponse"; - value: MsgVoteResponseAmino; -} -/** MsgVoteResponse defines the Msg/Vote response type. */ -export interface MsgVoteResponseSDKType {} -/** - * MsgVoteWeighted defines a message to cast a vote. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeighted { - proposalId: Long; - voter: string; - options: WeightedVoteOption[]; -} -export interface MsgVoteWeightedProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted"; - value: Uint8Array; -} -/** - * MsgVoteWeighted defines a message to cast a vote. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedAmino { - proposal_id: string; - voter: string; - options: WeightedVoteOptionAmino[]; -} -export interface MsgVoteWeightedAminoMsg { - type: "cosmos-sdk/MsgVoteWeighted"; - value: MsgVoteWeightedAmino; -} -/** - * MsgVoteWeighted defines a message to cast a vote. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedSDKType { - proposal_id: Long; - voter: string; - options: WeightedVoteOptionSDKType[]; -} -/** - * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedResponse {} -export interface MsgVoteWeightedResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeightedResponse"; - value: Uint8Array; -} -/** - * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedResponseAmino {} -export interface MsgVoteWeightedResponseAminoMsg { - type: "cosmos-sdk/MsgVoteWeightedResponse"; - value: MsgVoteWeightedResponseAmino; -} -/** - * MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. - * - * Since: cosmos-sdk 0.43 - */ -export interface MsgVoteWeightedResponseSDKType {} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDeposit { - proposalId: Long; - depositor: string; - amount: Coin[]; -} -export interface MsgDepositProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit"; - value: Uint8Array; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositAmino { - proposal_id: string; - depositor: string; - amount: CoinAmino[]; -} -export interface MsgDepositAminoMsg { - type: "cosmos-sdk/MsgDeposit"; - value: MsgDepositAmino; -} -/** MsgDeposit defines a message to submit a deposit to an existing proposal. */ -export interface MsgDepositSDKType { - proposal_id: Long; - depositor: string; - amount: CoinSDKType[]; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponse {} -export interface MsgDepositResponseProtoMsg { - typeUrl: "/cosmos.gov.v1beta1.MsgDepositResponse"; - value: Uint8Array; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseAmino {} -export interface MsgDepositResponseAminoMsg { - type: "cosmos-sdk/MsgDepositResponse"; - value: MsgDepositResponseAmino; -} -/** MsgDepositResponse defines the Msg/Deposit response type. */ -export interface MsgDepositResponseSDKType {} -function createBaseMsgSubmitProposal(): MsgSubmitProposal { - return { - content: Any.fromPartial({}), - initialDeposit: [], - proposer: "" - }; -} -export const MsgSubmitProposal = { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - aminoType: "cosmos-sdk/MsgSubmitProposal", - encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.content !== undefined) { - Any.encode((message.content as Any), writer.uint32(10).fork()).ldelim(); - } - for (const v of message.initialDeposit) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.proposer !== "") { - writer.uint32(26).string(message.proposer); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.content = (ProposalContentI_InterfaceDecoder(reader) as Any); - break; - case 2: - message.initialDeposit.push(Coin.decode(reader, reader.uint32())); - break; - case 3: - message.proposer = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSubmitProposal { - const obj = createBaseMsgSubmitProposal(); - if (isSet(object.content)) obj.content = Any.fromJSON(object.content); - if (Array.isArray(object?.initialDeposit)) obj.initialDeposit = object.initialDeposit.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.proposer)) obj.proposer = String(object.proposer); - return obj; - }, - toJSON(message: MsgSubmitProposal): unknown { - const obj: any = {}; - message.content !== undefined && (obj.content = message.content ? Any.toJSON(message.content) : undefined); - if (message.initialDeposit) { - obj.initialDeposit = message.initialDeposit.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.initialDeposit = []; - } - message.proposer !== undefined && (obj.proposer = message.proposer); - return obj; - }, - fromPartial(object: DeepPartial): MsgSubmitProposal { - const message = createBaseMsgSubmitProposal(); - if (object.content !== undefined && object.content !== null) { - message.content = Any.fromPartial(object.content); - } - message.initialDeposit = object.initialDeposit?.map(e => Coin.fromPartial(e)) || []; - message.proposer = object.proposer ?? ""; - return message; - }, - fromSDK(object: MsgSubmitProposalSDKType): MsgSubmitProposal { - return { - content: object.content ? Any.fromSDK(object.content) : undefined, - initialDeposit: Array.isArray(object?.initial_deposit) ? object.initial_deposit.map((e: any) => Coin.fromSDK(e)) : [], - proposer: object?.proposer - }; - }, - toSDK(message: MsgSubmitProposal): MsgSubmitProposalSDKType { - const obj: any = {}; - message.content !== undefined && (obj.content = message.content ? Any.toSDK(message.content) : undefined); - if (message.initialDeposit) { - obj.initial_deposit = message.initialDeposit.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.initial_deposit = []; - } - obj.proposer = message.proposer; - return obj; - }, - fromAmino(object: MsgSubmitProposalAmino): MsgSubmitProposal { - return { - content: object?.content ? ProposalContentI_FromAmino(object.content) : undefined, - initialDeposit: Array.isArray(object?.initial_deposit) ? object.initial_deposit.map((e: any) => Coin.fromAmino(e)) : [], - proposer: object.proposer - }; - }, - toAmino(message: MsgSubmitProposal): MsgSubmitProposalAmino { - const obj: any = {}; - obj.content = message.content ? ProposalContentI_ToAmino((message.content as Any)) : undefined; - if (message.initialDeposit) { - obj.initial_deposit = message.initialDeposit.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.initial_deposit = []; - } - obj.proposer = message.proposer; - return obj; - }, - fromAminoMsg(object: MsgSubmitProposalAminoMsg): MsgSubmitProposal { - return MsgSubmitProposal.fromAmino(object.value); - }, - toAminoMsg(message: MsgSubmitProposal): MsgSubmitProposalAminoMsg { - return { - type: "cosmos-sdk/MsgSubmitProposal", - value: MsgSubmitProposal.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal { - return MsgSubmitProposal.decode(message.value); - }, - toProto(message: MsgSubmitProposal): Uint8Array { - return MsgSubmitProposal.encode(message).finish(); - }, - toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposal", - value: MsgSubmitProposal.encode(message).finish() - }; - } -}; -function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { - return { - proposalId: Long.UZERO - }; -} -export const MsgSubmitProposalResponse = { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposalResponse", - aminoType: "cosmos-sdk/MsgSubmitProposalResponse", - encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposalResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSubmitProposalResponse { - const obj = createBaseMsgSubmitProposalResponse(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): MsgSubmitProposalResponse { - const message = createBaseMsgSubmitProposalResponse(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: MsgSubmitProposalResponseSDKType): MsgSubmitProposalResponse { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: MsgSubmitProposalResponseAmino): MsgSubmitProposalResponse { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: MsgSubmitProposalResponseAminoMsg): MsgSubmitProposalResponse { - return MsgSubmitProposalResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAminoMsg { - return { - type: "cosmos-sdk/MsgSubmitProposalResponse", - value: MsgSubmitProposalResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse { - return MsgSubmitProposalResponse.decode(message.value); - }, - toProto(message: MsgSubmitProposalResponse): Uint8Array { - return MsgSubmitProposalResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgSubmitProposalResponse", - value: MsgSubmitProposalResponse.encode(message).finish() - }; - } -}; -function createBaseMsgVote(): MsgVote { - return { - proposalId: Long.UZERO, - voter: "", - option: 0 - }; -} -export const MsgVote = { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - aminoType: "cosmos-sdk/MsgVote", - encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - if (message.option !== 0) { - writer.uint32(24).int32(message.option); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVote(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.voter = reader.string(); - break; - case 3: - message.option = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgVote { - const obj = createBaseMsgVote(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.voter)) obj.voter = String(object.voter); - if (isSet(object.option)) obj.option = voteOptionFromJSON(object.option); - return obj; - }, - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.voter !== undefined && (obj.voter = message.voter); - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - return obj; - }, - fromPartial(object: DeepPartial): MsgVote { - const message = createBaseMsgVote(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.voter = object.voter ?? ""; - message.option = object.option ?? 0; - return message; - }, - fromSDK(object: MsgVoteSDKType): MsgVote { - return { - proposalId: object?.proposal_id, - voter: object?.voter, - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1 - }; - }, - toSDK(message: MsgVote): MsgVoteSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.voter = message.voter; - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - return obj; - }, - fromAmino(object: MsgVoteAmino): MsgVote { - return { - proposalId: Long.fromString(object.proposal_id), - voter: object.voter, - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1 - }; - }, - toAmino(message: MsgVote): MsgVoteAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.voter = message.voter; - obj.option = message.option; - return obj; - }, - fromAminoMsg(object: MsgVoteAminoMsg): MsgVote { - return MsgVote.fromAmino(object.value); - }, - toAminoMsg(message: MsgVote): MsgVoteAminoMsg { - return { - type: "cosmos-sdk/MsgVote", - value: MsgVote.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVoteProtoMsg): MsgVote { - return MsgVote.decode(message.value); - }, - toProto(message: MsgVote): Uint8Array { - return MsgVote.encode(message).finish(); - }, - toProtoMsg(message: MsgVote): MsgVoteProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVote", - value: MsgVote.encode(message).finish() - }; - } -}; -function createBaseMsgVoteResponse(): MsgVoteResponse { - return {}; -} -export const MsgVoteResponse = { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteResponse", - aminoType: "cosmos-sdk/MsgVoteResponse", - encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgVoteResponse { - const obj = createBaseMsgVoteResponse(); - return obj; - }, - toJSON(_: MsgVoteResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgVoteResponse { - const message = createBaseMsgVoteResponse(); - return message; - }, - fromSDK(_: MsgVoteResponseSDKType): MsgVoteResponse { - return {}; - }, - toSDK(_: MsgVoteResponse): MsgVoteResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgVoteResponseAmino): MsgVoteResponse { - return {}; - }, - toAmino(_: MsgVoteResponse): MsgVoteResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgVoteResponseAminoMsg): MsgVoteResponse { - return MsgVoteResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgVoteResponse): MsgVoteResponseAminoMsg { - return { - type: "cosmos-sdk/MsgVoteResponse", - value: MsgVoteResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse { - return MsgVoteResponse.decode(message.value); - }, - toProto(message: MsgVoteResponse): Uint8Array { - return MsgVoteResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteResponse", - value: MsgVoteResponse.encode(message).finish() - }; - } -}; -function createBaseMsgVoteWeighted(): MsgVoteWeighted { - return { - proposalId: Long.UZERO, - voter: "", - options: [] - }; -} -export const MsgVoteWeighted = { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - aminoType: "cosmos-sdk/MsgVoteWeighted", - encode(message: MsgVoteWeighted, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - for (const v of message.options) { - WeightedVoteOption.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteWeighted(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.voter = reader.string(); - break; - case 3: - message.options.push(WeightedVoteOption.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgVoteWeighted { - const obj = createBaseMsgVoteWeighted(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.voter)) obj.voter = String(object.voter); - if (Array.isArray(object?.options)) obj.options = object.options.map((e: any) => WeightedVoteOption.fromJSON(e)); - return obj; - }, - toJSON(message: MsgVoteWeighted): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.voter !== undefined && (obj.voter = message.voter); - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toJSON(e) : undefined); - } else { - obj.options = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgVoteWeighted { - const message = createBaseMsgVoteWeighted(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.voter = object.voter ?? ""; - message.options = object.options?.map(e => WeightedVoteOption.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgVoteWeightedSDKType): MsgVoteWeighted { - return { - proposalId: object?.proposal_id, - voter: object?.voter, - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgVoteWeighted): MsgVoteWeightedSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.voter = message.voter; - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toSDK(e) : undefined); - } else { - obj.options = []; - } - return obj; - }, - fromAmino(object: MsgVoteWeightedAmino): MsgVoteWeighted { - return { - proposalId: Long.fromString(object.proposal_id), - voter: object.voter, - options: Array.isArray(object?.options) ? object.options.map((e: any) => WeightedVoteOption.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgVoteWeighted): MsgVoteWeightedAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.voter = message.voter; - if (message.options) { - obj.options = message.options.map(e => e ? WeightedVoteOption.toAmino(e) : undefined); - } else { - obj.options = []; - } - return obj; - }, - fromAminoMsg(object: MsgVoteWeightedAminoMsg): MsgVoteWeighted { - return MsgVoteWeighted.fromAmino(object.value); - }, - toAminoMsg(message: MsgVoteWeighted): MsgVoteWeightedAminoMsg { - return { - type: "cosmos-sdk/MsgVoteWeighted", - value: MsgVoteWeighted.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVoteWeightedProtoMsg): MsgVoteWeighted { - return MsgVoteWeighted.decode(message.value); - }, - toProto(message: MsgVoteWeighted): Uint8Array { - return MsgVoteWeighted.encode(message).finish(); - }, - toProtoMsg(message: MsgVoteWeighted): MsgVoteWeightedProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeighted", - value: MsgVoteWeighted.encode(message).finish() - }; - } -}; -function createBaseMsgVoteWeightedResponse(): MsgVoteWeightedResponse { - return {}; -} -export const MsgVoteWeightedResponse = { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeightedResponse", - aminoType: "cosmos-sdk/MsgVoteWeightedResponse", - encode(_: MsgVoteWeightedResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteWeightedResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgVoteWeightedResponse { - const obj = createBaseMsgVoteWeightedResponse(); - return obj; - }, - toJSON(_: MsgVoteWeightedResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgVoteWeightedResponse { - const message = createBaseMsgVoteWeightedResponse(); - return message; - }, - fromSDK(_: MsgVoteWeightedResponseSDKType): MsgVoteWeightedResponse { - return {}; - }, - toSDK(_: MsgVoteWeightedResponse): MsgVoteWeightedResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgVoteWeightedResponseAmino): MsgVoteWeightedResponse { - return {}; - }, - toAmino(_: MsgVoteWeightedResponse): MsgVoteWeightedResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgVoteWeightedResponseAminoMsg): MsgVoteWeightedResponse { - return MsgVoteWeightedResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseAminoMsg { - return { - type: "cosmos-sdk/MsgVoteWeightedResponse", - value: MsgVoteWeightedResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVoteWeightedResponseProtoMsg): MsgVoteWeightedResponse { - return MsgVoteWeightedResponse.decode(message.value); - }, - toProto(message: MsgVoteWeightedResponse): Uint8Array { - return MsgVoteWeightedResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgVoteWeightedResponse): MsgVoteWeightedResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgVoteWeightedResponse", - value: MsgVoteWeightedResponse.encode(message).finish() - }; - } -}; -function createBaseMsgDeposit(): MsgDeposit { - return { - proposalId: Long.UZERO, - depositor: "", - amount: [] - }; -} -export const MsgDeposit = { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - aminoType: "cosmos-sdk/MsgDeposit", - encode(message: MsgDeposit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.depositor !== "") { - writer.uint32(18).string(message.depositor); - } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDeposit(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.depositor = reader.string(); - break; - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgDeposit { - const obj = createBaseMsgDeposit(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.depositor)) obj.depositor = String(object.depositor); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: MsgDeposit): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.depositor !== undefined && (obj.depositor = message.depositor); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgDeposit { - const message = createBaseMsgDeposit(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.depositor = object.depositor ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgDepositSDKType): MsgDeposit { - return { - proposalId: object?.proposal_id, - depositor: object?.depositor, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgDeposit): MsgDepositSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.depositor = message.depositor; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAmino(object: MsgDepositAmino): MsgDeposit { - return { - proposalId: Long.fromString(object.proposal_id), - depositor: object.depositor, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgDeposit): MsgDepositAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.depositor = message.depositor; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAminoMsg(object: MsgDepositAminoMsg): MsgDeposit { - return MsgDeposit.fromAmino(object.value); - }, - toAminoMsg(message: MsgDeposit): MsgDepositAminoMsg { - return { - type: "cosmos-sdk/MsgDeposit", - value: MsgDeposit.toAmino(message) - }; - }, - fromProtoMsg(message: MsgDepositProtoMsg): MsgDeposit { - return MsgDeposit.decode(message.value); - }, - toProto(message: MsgDeposit): Uint8Array { - return MsgDeposit.encode(message).finish(); - }, - toProtoMsg(message: MsgDeposit): MsgDepositProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", - value: MsgDeposit.encode(message).finish() - }; - } -}; -function createBaseMsgDepositResponse(): MsgDepositResponse { - return {}; -} -export const MsgDepositResponse = { - typeUrl: "/cosmos.gov.v1beta1.MsgDepositResponse", - aminoType: "cosmos-sdk/MsgDepositResponse", - encode(_: MsgDepositResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDepositResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgDepositResponse { - const obj = createBaseMsgDepositResponse(); - return obj; - }, - toJSON(_: MsgDepositResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgDepositResponse { - const message = createBaseMsgDepositResponse(); - return message; - }, - fromSDK(_: MsgDepositResponseSDKType): MsgDepositResponse { - return {}; - }, - toSDK(_: MsgDepositResponse): MsgDepositResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgDepositResponseAmino): MsgDepositResponse { - return {}; - }, - toAmino(_: MsgDepositResponse): MsgDepositResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgDepositResponseAminoMsg): MsgDepositResponse { - return MsgDepositResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgDepositResponse): MsgDepositResponseAminoMsg { - return { - type: "cosmos-sdk/MsgDepositResponse", - value: MsgDepositResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgDepositResponseProtoMsg): MsgDepositResponse { - return MsgDepositResponse.decode(message.value); - }, - toProto(message: MsgDepositResponse): Uint8Array { - return MsgDepositResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgDepositResponse): MsgDepositResponseProtoMsg { - return { - typeUrl: "/cosmos.gov.v1beta1.MsgDepositResponse", - value: MsgDepositResponse.encode(message).finish() - }; - } -}; -export const ProposalContentI_InterfaceDecoder = (input: _m0.Reader | Uint8Array): TextProposal | ClientUpdateProposal | UpgradeProposal | Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - case "/cosmos.gov.v1beta1.TextProposal": - return TextProposal.decode(data.value); - case "/ibc.core.client.v1.ClientUpdateProposal": - return ClientUpdateProposal.decode(data.value); - case "/ibc.core.client.v1.UpgradeProposal": - return UpgradeProposal.decode(data.value); - default: - return data; - } -}; -export const ProposalContentI_FromAmino = (content: AnyAmino) => { - switch (content.type) { - case "cosmos-sdk/TextProposal": - return Any.fromPartial({ - typeUrl: "/cosmos.gov.v1beta1.TextProposal", - value: TextProposal.encode(TextProposal.fromPartial(TextProposal.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/ClientUpdateProposal": - return Any.fromPartial({ - typeUrl: "/ibc.core.client.v1.ClientUpdateProposal", - value: ClientUpdateProposal.encode(ClientUpdateProposal.fromPartial(ClientUpdateProposal.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/UpgradeProposal": - return Any.fromPartial({ - typeUrl: "/ibc.core.client.v1.UpgradeProposal", - value: UpgradeProposal.encode(UpgradeProposal.fromPartial(UpgradeProposal.fromAmino(content.value))).finish() - }); - default: - return Any.fromAmino(content); - } -}; -export const ProposalContentI_ToAmino = (content: Any) => { - switch (content.typeUrl) { - case "/cosmos.gov.v1beta1.TextProposal": - return { - type: "cosmos-sdk/TextProposal", - value: TextProposal.toAmino(TextProposal.decode(content.value)) - }; - case "/ibc.core.client.v1.ClientUpdateProposal": - return { - type: "cosmos-sdk/ClientUpdateProposal", - value: ClientUpdateProposal.toAmino(ClientUpdateProposal.decode(content.value)) - }; - case "/ibc.core.client.v1.UpgradeProposal": - return { - type: "cosmos-sdk/UpgradeProposal", - value: UpgradeProposal.toAmino(UpgradeProposal.decode(content.value)) - }; - default: - return Any.toAmino(content); - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/group/v1/events.ts b/quicksilverjs/src/codegen/cosmos/group/v1/events.ts deleted file mode 100644 index 526bc17c4..000000000 --- a/quicksilverjs/src/codegen/cosmos/group/v1/events.ts +++ /dev/null @@ -1,1046 +0,0 @@ -import { ProposalExecutorResult, ProposalExecutorResultSDKType, proposalExecutorResultFromJSON, proposalExecutorResultToJSON } from "./types"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.group.v1"; -/** EventCreateGroup is an event emitted when a group is created. */ -export interface EventCreateGroup { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -export interface EventCreateGroupProtoMsg { - typeUrl: "/cosmos.group.v1.EventCreateGroup"; - value: Uint8Array; -} -/** EventCreateGroup is an event emitted when a group is created. */ -export interface EventCreateGroupAmino { - /** group_id is the unique ID of the group. */ - group_id: string; -} -export interface EventCreateGroupAminoMsg { - type: "cosmos-sdk/EventCreateGroup"; - value: EventCreateGroupAmino; -} -/** EventCreateGroup is an event emitted when a group is created. */ -export interface EventCreateGroupSDKType { - group_id: Long; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ -export interface EventUpdateGroup { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -export interface EventUpdateGroupProtoMsg { - typeUrl: "/cosmos.group.v1.EventUpdateGroup"; - value: Uint8Array; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ -export interface EventUpdateGroupAmino { - /** group_id is the unique ID of the group. */ - group_id: string; -} -export interface EventUpdateGroupAminoMsg { - type: "cosmos-sdk/EventUpdateGroup"; - value: EventUpdateGroupAmino; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ -export interface EventUpdateGroupSDKType { - group_id: Long; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ -export interface EventCreateGroupPolicy { - /** address is the account address of the group policy. */ - address: string; -} -export interface EventCreateGroupPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy"; - value: Uint8Array; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ -export interface EventCreateGroupPolicyAmino { - /** address is the account address of the group policy. */ - address: string; -} -export interface EventCreateGroupPolicyAminoMsg { - type: "cosmos-sdk/EventCreateGroupPolicy"; - value: EventCreateGroupPolicyAmino; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ -export interface EventCreateGroupPolicySDKType { - address: string; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ -export interface EventUpdateGroupPolicy { - /** address is the account address of the group policy. */ - address: string; -} -export interface EventUpdateGroupPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy"; - value: Uint8Array; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ -export interface EventUpdateGroupPolicyAmino { - /** address is the account address of the group policy. */ - address: string; -} -export interface EventUpdateGroupPolicyAminoMsg { - type: "cosmos-sdk/EventUpdateGroupPolicy"; - value: EventUpdateGroupPolicyAmino; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ -export interface EventUpdateGroupPolicySDKType { - address: string; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ -export interface EventSubmitProposal { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -export interface EventSubmitProposalProtoMsg { - typeUrl: "/cosmos.group.v1.EventSubmitProposal"; - value: Uint8Array; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ -export interface EventSubmitProposalAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id: string; -} -export interface EventSubmitProposalAminoMsg { - type: "cosmos-sdk/EventSubmitProposal"; - value: EventSubmitProposalAmino; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ -export interface EventSubmitProposalSDKType { - proposal_id: Long; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ -export interface EventWithdrawProposal { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -export interface EventWithdrawProposalProtoMsg { - typeUrl: "/cosmos.group.v1.EventWithdrawProposal"; - value: Uint8Array; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ -export interface EventWithdrawProposalAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id: string; -} -export interface EventWithdrawProposalAminoMsg { - type: "cosmos-sdk/EventWithdrawProposal"; - value: EventWithdrawProposalAmino; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ -export interface EventWithdrawProposalSDKType { - proposal_id: Long; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ -export interface EventVote { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -export interface EventVoteProtoMsg { - typeUrl: "/cosmos.group.v1.EventVote"; - value: Uint8Array; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ -export interface EventVoteAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id: string; -} -export interface EventVoteAminoMsg { - type: "cosmos-sdk/EventVote"; - value: EventVoteAmino; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ -export interface EventVoteSDKType { - proposal_id: Long; -} -/** EventExec is an event emitted when a proposal is executed. */ -export interface EventExec { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; - /** result is the proposal execution result. */ - result: ProposalExecutorResult; -} -export interface EventExecProtoMsg { - typeUrl: "/cosmos.group.v1.EventExec"; - value: Uint8Array; -} -/** EventExec is an event emitted when a proposal is executed. */ -export interface EventExecAmino { - /** proposal_id is the unique ID of the proposal. */ - proposal_id: string; - /** result is the proposal execution result. */ - result: ProposalExecutorResult; -} -export interface EventExecAminoMsg { - type: "cosmos-sdk/EventExec"; - value: EventExecAmino; -} -/** EventExec is an event emitted when a proposal is executed. */ -export interface EventExecSDKType { - proposal_id: Long; - result: ProposalExecutorResult; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ -export interface EventLeaveGroup { - /** group_id is the unique ID of the group. */ - groupId: Long; - /** address is the account address of the group member. */ - address: string; -} -export interface EventLeaveGroupProtoMsg { - typeUrl: "/cosmos.group.v1.EventLeaveGroup"; - value: Uint8Array; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ -export interface EventLeaveGroupAmino { - /** group_id is the unique ID of the group. */ - group_id: string; - /** address is the account address of the group member. */ - address: string; -} -export interface EventLeaveGroupAminoMsg { - type: "cosmos-sdk/EventLeaveGroup"; - value: EventLeaveGroupAmino; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ -export interface EventLeaveGroupSDKType { - group_id: Long; - address: string; -} -function createBaseEventCreateGroup(): EventCreateGroup { - return { - groupId: Long.UZERO - }; -} -export const EventCreateGroup = { - typeUrl: "/cosmos.group.v1.EventCreateGroup", - aminoType: "cosmos-sdk/EventCreateGroup", - encode(message: EventCreateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroup { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventCreateGroup(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventCreateGroup { - const obj = createBaseEventCreateGroup(); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - return obj; - }, - toJSON(message: EventCreateGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): EventCreateGroup { - const message = createBaseEventCreateGroup(); - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - return message; - }, - fromSDK(object: EventCreateGroupSDKType): EventCreateGroup { - return { - groupId: object?.group_id - }; - }, - toSDK(message: EventCreateGroup): EventCreateGroupSDKType { - const obj: any = {}; - obj.group_id = message.groupId; - return obj; - }, - fromAmino(object: EventCreateGroupAmino): EventCreateGroup { - return { - groupId: Long.fromString(object.group_id) - }; - }, - toAmino(message: EventCreateGroup): EventCreateGroupAmino { - const obj: any = {}; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: EventCreateGroupAminoMsg): EventCreateGroup { - return EventCreateGroup.fromAmino(object.value); - }, - toAminoMsg(message: EventCreateGroup): EventCreateGroupAminoMsg { - return { - type: "cosmos-sdk/EventCreateGroup", - value: EventCreateGroup.toAmino(message) - }; - }, - fromProtoMsg(message: EventCreateGroupProtoMsg): EventCreateGroup { - return EventCreateGroup.decode(message.value); - }, - toProto(message: EventCreateGroup): Uint8Array { - return EventCreateGroup.encode(message).finish(); - }, - toProtoMsg(message: EventCreateGroup): EventCreateGroupProtoMsg { - return { - typeUrl: "/cosmos.group.v1.EventCreateGroup", - value: EventCreateGroup.encode(message).finish() - }; - } -}; -function createBaseEventUpdateGroup(): EventUpdateGroup { - return { - groupId: Long.UZERO - }; -} -export const EventUpdateGroup = { - typeUrl: "/cosmos.group.v1.EventUpdateGroup", - aminoType: "cosmos-sdk/EventUpdateGroup", - encode(message: EventUpdateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroup { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventUpdateGroup(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventUpdateGroup { - const obj = createBaseEventUpdateGroup(); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - return obj; - }, - toJSON(message: EventUpdateGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): EventUpdateGroup { - const message = createBaseEventUpdateGroup(); - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - return message; - }, - fromSDK(object: EventUpdateGroupSDKType): EventUpdateGroup { - return { - groupId: object?.group_id - }; - }, - toSDK(message: EventUpdateGroup): EventUpdateGroupSDKType { - const obj: any = {}; - obj.group_id = message.groupId; - return obj; - }, - fromAmino(object: EventUpdateGroupAmino): EventUpdateGroup { - return { - groupId: Long.fromString(object.group_id) - }; - }, - toAmino(message: EventUpdateGroup): EventUpdateGroupAmino { - const obj: any = {}; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: EventUpdateGroupAminoMsg): EventUpdateGroup { - return EventUpdateGroup.fromAmino(object.value); - }, - toAminoMsg(message: EventUpdateGroup): EventUpdateGroupAminoMsg { - return { - type: "cosmos-sdk/EventUpdateGroup", - value: EventUpdateGroup.toAmino(message) - }; - }, - fromProtoMsg(message: EventUpdateGroupProtoMsg): EventUpdateGroup { - return EventUpdateGroup.decode(message.value); - }, - toProto(message: EventUpdateGroup): Uint8Array { - return EventUpdateGroup.encode(message).finish(); - }, - toProtoMsg(message: EventUpdateGroup): EventUpdateGroupProtoMsg { - return { - typeUrl: "/cosmos.group.v1.EventUpdateGroup", - value: EventUpdateGroup.encode(message).finish() - }; - } -}; -function createBaseEventCreateGroupPolicy(): EventCreateGroupPolicy { - return { - address: "" - }; -} -export const EventCreateGroupPolicy = { - typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy", - aminoType: "cosmos-sdk/EventCreateGroupPolicy", - encode(message: EventCreateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroupPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventCreateGroupPolicy(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventCreateGroupPolicy { - const obj = createBaseEventCreateGroupPolicy(); - if (isSet(object.address)) obj.address = String(object.address); - return obj; - }, - toJSON(message: EventCreateGroupPolicy): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: DeepPartial): EventCreateGroupPolicy { - const message = createBaseEventCreateGroupPolicy(); - message.address = object.address ?? ""; - return message; - }, - fromSDK(object: EventCreateGroupPolicySDKType): EventCreateGroupPolicy { - return { - address: object?.address - }; - }, - toSDK(message: EventCreateGroupPolicy): EventCreateGroupPolicySDKType { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAmino(object: EventCreateGroupPolicyAmino): EventCreateGroupPolicy { - return { - address: object.address - }; - }, - toAmino(message: EventCreateGroupPolicy): EventCreateGroupPolicyAmino { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAminoMsg(object: EventCreateGroupPolicyAminoMsg): EventCreateGroupPolicy { - return EventCreateGroupPolicy.fromAmino(object.value); - }, - toAminoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyAminoMsg { - return { - type: "cosmos-sdk/EventCreateGroupPolicy", - value: EventCreateGroupPolicy.toAmino(message) - }; - }, - fromProtoMsg(message: EventCreateGroupPolicyProtoMsg): EventCreateGroupPolicy { - return EventCreateGroupPolicy.decode(message.value); - }, - toProto(message: EventCreateGroupPolicy): Uint8Array { - return EventCreateGroupPolicy.encode(message).finish(); - }, - toProtoMsg(message: EventCreateGroupPolicy): EventCreateGroupPolicyProtoMsg { - return { - typeUrl: "/cosmos.group.v1.EventCreateGroupPolicy", - value: EventCreateGroupPolicy.encode(message).finish() - }; - } -}; -function createBaseEventUpdateGroupPolicy(): EventUpdateGroupPolicy { - return { - address: "" - }; -} -export const EventUpdateGroupPolicy = { - typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy", - aminoType: "cosmos-sdk/EventUpdateGroupPolicy", - encode(message: EventUpdateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroupPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventUpdateGroupPolicy(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventUpdateGroupPolicy { - const obj = createBaseEventUpdateGroupPolicy(); - if (isSet(object.address)) obj.address = String(object.address); - return obj; - }, - toJSON(message: EventUpdateGroupPolicy): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: DeepPartial): EventUpdateGroupPolicy { - const message = createBaseEventUpdateGroupPolicy(); - message.address = object.address ?? ""; - return message; - }, - fromSDK(object: EventUpdateGroupPolicySDKType): EventUpdateGroupPolicy { - return { - address: object?.address - }; - }, - toSDK(message: EventUpdateGroupPolicy): EventUpdateGroupPolicySDKType { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAmino(object: EventUpdateGroupPolicyAmino): EventUpdateGroupPolicy { - return { - address: object.address - }; - }, - toAmino(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAmino { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAminoMsg(object: EventUpdateGroupPolicyAminoMsg): EventUpdateGroupPolicy { - return EventUpdateGroupPolicy.fromAmino(object.value); - }, - toAminoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyAminoMsg { - return { - type: "cosmos-sdk/EventUpdateGroupPolicy", - value: EventUpdateGroupPolicy.toAmino(message) - }; - }, - fromProtoMsg(message: EventUpdateGroupPolicyProtoMsg): EventUpdateGroupPolicy { - return EventUpdateGroupPolicy.decode(message.value); - }, - toProto(message: EventUpdateGroupPolicy): Uint8Array { - return EventUpdateGroupPolicy.encode(message).finish(); - }, - toProtoMsg(message: EventUpdateGroupPolicy): EventUpdateGroupPolicyProtoMsg { - return { - typeUrl: "/cosmos.group.v1.EventUpdateGroupPolicy", - value: EventUpdateGroupPolicy.encode(message).finish() - }; - } -}; -function createBaseEventSubmitProposal(): EventSubmitProposal { - return { - proposalId: Long.UZERO - }; -} -export const EventSubmitProposal = { - typeUrl: "/cosmos.group.v1.EventSubmitProposal", - aminoType: "cosmos-sdk/EventSubmitProposal", - encode(message: EventSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventSubmitProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventSubmitProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventSubmitProposal { - const obj = createBaseEventSubmitProposal(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: EventSubmitProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): EventSubmitProposal { - const message = createBaseEventSubmitProposal(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: EventSubmitProposalSDKType): EventSubmitProposal { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: EventSubmitProposal): EventSubmitProposalSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: EventSubmitProposalAmino): EventSubmitProposal { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: EventSubmitProposal): EventSubmitProposalAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: EventSubmitProposalAminoMsg): EventSubmitProposal { - return EventSubmitProposal.fromAmino(object.value); - }, - toAminoMsg(message: EventSubmitProposal): EventSubmitProposalAminoMsg { - return { - type: "cosmos-sdk/EventSubmitProposal", - value: EventSubmitProposal.toAmino(message) - }; - }, - fromProtoMsg(message: EventSubmitProposalProtoMsg): EventSubmitProposal { - return EventSubmitProposal.decode(message.value); - }, - toProto(message: EventSubmitProposal): Uint8Array { - return EventSubmitProposal.encode(message).finish(); - }, - toProtoMsg(message: EventSubmitProposal): EventSubmitProposalProtoMsg { - return { - typeUrl: "/cosmos.group.v1.EventSubmitProposal", - value: EventSubmitProposal.encode(message).finish() - }; - } -}; -function createBaseEventWithdrawProposal(): EventWithdrawProposal { - return { - proposalId: Long.UZERO - }; -} -export const EventWithdrawProposal = { - typeUrl: "/cosmos.group.v1.EventWithdrawProposal", - aminoType: "cosmos-sdk/EventWithdrawProposal", - encode(message: EventWithdrawProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventWithdrawProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventWithdrawProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventWithdrawProposal { - const obj = createBaseEventWithdrawProposal(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: EventWithdrawProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): EventWithdrawProposal { - const message = createBaseEventWithdrawProposal(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: EventWithdrawProposalSDKType): EventWithdrawProposal { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: EventWithdrawProposal): EventWithdrawProposalSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: EventWithdrawProposalAmino): EventWithdrawProposal { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: EventWithdrawProposal): EventWithdrawProposalAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: EventWithdrawProposalAminoMsg): EventWithdrawProposal { - return EventWithdrawProposal.fromAmino(object.value); - }, - toAminoMsg(message: EventWithdrawProposal): EventWithdrawProposalAminoMsg { - return { - type: "cosmos-sdk/EventWithdrawProposal", - value: EventWithdrawProposal.toAmino(message) - }; - }, - fromProtoMsg(message: EventWithdrawProposalProtoMsg): EventWithdrawProposal { - return EventWithdrawProposal.decode(message.value); - }, - toProto(message: EventWithdrawProposal): Uint8Array { - return EventWithdrawProposal.encode(message).finish(); - }, - toProtoMsg(message: EventWithdrawProposal): EventWithdrawProposalProtoMsg { - return { - typeUrl: "/cosmos.group.v1.EventWithdrawProposal", - value: EventWithdrawProposal.encode(message).finish() - }; - } -}; -function createBaseEventVote(): EventVote { - return { - proposalId: Long.UZERO - }; -} -export const EventVote = { - typeUrl: "/cosmos.group.v1.EventVote", - aminoType: "cosmos-sdk/EventVote", - encode(message: EventVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventVote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventVote(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventVote { - const obj = createBaseEventVote(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: EventVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): EventVote { - const message = createBaseEventVote(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: EventVoteSDKType): EventVote { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: EventVote): EventVoteSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: EventVoteAmino): EventVote { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: EventVote): EventVoteAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: EventVoteAminoMsg): EventVote { - return EventVote.fromAmino(object.value); - }, - toAminoMsg(message: EventVote): EventVoteAminoMsg { - return { - type: "cosmos-sdk/EventVote", - value: EventVote.toAmino(message) - }; - }, - fromProtoMsg(message: EventVoteProtoMsg): EventVote { - return EventVote.decode(message.value); - }, - toProto(message: EventVote): Uint8Array { - return EventVote.encode(message).finish(); - }, - toProtoMsg(message: EventVote): EventVoteProtoMsg { - return { - typeUrl: "/cosmos.group.v1.EventVote", - value: EventVote.encode(message).finish() - }; - } -}; -function createBaseEventExec(): EventExec { - return { - proposalId: Long.UZERO, - result: 0 - }; -} -export const EventExec = { - typeUrl: "/cosmos.group.v1.EventExec", - aminoType: "cosmos-sdk/EventExec", - encode(message: EventExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.result !== 0) { - writer.uint32(16).int32(message.result); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventExec { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventExec(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.result = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventExec { - const obj = createBaseEventExec(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.result)) obj.result = proposalExecutorResultFromJSON(object.result); - return obj; - }, - toJSON(message: EventExec): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.result !== undefined && (obj.result = proposalExecutorResultToJSON(message.result)); - return obj; - }, - fromPartial(object: DeepPartial): EventExec { - const message = createBaseEventExec(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.result = object.result ?? 0; - return message; - }, - fromSDK(object: EventExecSDKType): EventExec { - return { - proposalId: object?.proposal_id, - result: isSet(object.result) ? proposalExecutorResultFromJSON(object.result) : -1 - }; - }, - toSDK(message: EventExec): EventExecSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - message.result !== undefined && (obj.result = proposalExecutorResultToJSON(message.result)); - return obj; - }, - fromAmino(object: EventExecAmino): EventExec { - return { - proposalId: Long.fromString(object.proposal_id), - result: isSet(object.result) ? proposalExecutorResultFromJSON(object.result) : -1 - }; - }, - toAmino(message: EventExec): EventExecAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.result = message.result; - return obj; - }, - fromAminoMsg(object: EventExecAminoMsg): EventExec { - return EventExec.fromAmino(object.value); - }, - toAminoMsg(message: EventExec): EventExecAminoMsg { - return { - type: "cosmos-sdk/EventExec", - value: EventExec.toAmino(message) - }; - }, - fromProtoMsg(message: EventExecProtoMsg): EventExec { - return EventExec.decode(message.value); - }, - toProto(message: EventExec): Uint8Array { - return EventExec.encode(message).finish(); - }, - toProtoMsg(message: EventExec): EventExecProtoMsg { - return { - typeUrl: "/cosmos.group.v1.EventExec", - value: EventExec.encode(message).finish() - }; - } -}; -function createBaseEventLeaveGroup(): EventLeaveGroup { - return { - groupId: Long.UZERO, - address: "" - }; -} -export const EventLeaveGroup = { - typeUrl: "/cosmos.group.v1.EventLeaveGroup", - aminoType: "cosmos-sdk/EventLeaveGroup", - encode(message: EventLeaveGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventLeaveGroup { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventLeaveGroup(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - case 2: - message.address = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventLeaveGroup { - const obj = createBaseEventLeaveGroup(); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - if (isSet(object.address)) obj.address = String(object.address); - return obj; - }, - toJSON(message: EventLeaveGroup): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: DeepPartial): EventLeaveGroup { - const message = createBaseEventLeaveGroup(); - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - message.address = object.address ?? ""; - return message; - }, - fromSDK(object: EventLeaveGroupSDKType): EventLeaveGroup { - return { - groupId: object?.group_id, - address: object?.address - }; - }, - toSDK(message: EventLeaveGroup): EventLeaveGroupSDKType { - const obj: any = {}; - obj.group_id = message.groupId; - obj.address = message.address; - return obj; - }, - fromAmino(object: EventLeaveGroupAmino): EventLeaveGroup { - return { - groupId: Long.fromString(object.group_id), - address: object.address - }; - }, - toAmino(message: EventLeaveGroup): EventLeaveGroupAmino { - const obj: any = {}; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - obj.address = message.address; - return obj; - }, - fromAminoMsg(object: EventLeaveGroupAminoMsg): EventLeaveGroup { - return EventLeaveGroup.fromAmino(object.value); - }, - toAminoMsg(message: EventLeaveGroup): EventLeaveGroupAminoMsg { - return { - type: "cosmos-sdk/EventLeaveGroup", - value: EventLeaveGroup.toAmino(message) - }; - }, - fromProtoMsg(message: EventLeaveGroupProtoMsg): EventLeaveGroup { - return EventLeaveGroup.decode(message.value); - }, - toProto(message: EventLeaveGroup): Uint8Array { - return EventLeaveGroup.encode(message).finish(); - }, - toProtoMsg(message: EventLeaveGroup): EventLeaveGroupProtoMsg { - return { - typeUrl: "/cosmos.group.v1.EventLeaveGroup", - value: EventLeaveGroup.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/group/v1/genesis.ts b/quicksilverjs/src/codegen/cosmos/group/v1/genesis.ts deleted file mode 100644 index 6f026c65c..000000000 --- a/quicksilverjs/src/codegen/cosmos/group/v1/genesis.ts +++ /dev/null @@ -1,331 +0,0 @@ -import { GroupInfo, GroupInfoAmino, GroupInfoSDKType, GroupMember, GroupMemberAmino, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoAmino, GroupPolicyInfoSDKType, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType } from "./types"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.group.v1"; -/** GenesisState defines the group module's genesis state. */ -export interface GenesisState { - /** - * group_seq is the group table orm.Sequence, - * it is used to get the next group ID. - */ - groupSeq: Long; - /** groups is the list of groups info. */ - groups: GroupInfo[]; - /** group_members is the list of groups members. */ - groupMembers: GroupMember[]; - /** - * group_policy_seq is the group policy table orm.Sequence, - * it is used to generate the next group policy account address. - */ - groupPolicySeq: Long; - /** group_policies is the list of group policies info. */ - groupPolicies: GroupPolicyInfo[]; - /** - * proposal_seq is the proposal table orm.Sequence, - * it is used to get the next proposal ID. - */ - proposalSeq: Long; - /** proposals is the list of proposals. */ - proposals: Proposal[]; - /** votes is the list of votes. */ - votes: Vote[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.group.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the group module's genesis state. */ -export interface GenesisStateAmino { - /** - * group_seq is the group table orm.Sequence, - * it is used to get the next group ID. - */ - group_seq: string; - /** groups is the list of groups info. */ - groups: GroupInfoAmino[]; - /** group_members is the list of groups members. */ - group_members: GroupMemberAmino[]; - /** - * group_policy_seq is the group policy table orm.Sequence, - * it is used to generate the next group policy account address. - */ - group_policy_seq: string; - /** group_policies is the list of group policies info. */ - group_policies: GroupPolicyInfoAmino[]; - /** - * proposal_seq is the proposal table orm.Sequence, - * it is used to get the next proposal ID. - */ - proposal_seq: string; - /** proposals is the list of proposals. */ - proposals: ProposalAmino[]; - /** votes is the list of votes. */ - votes: VoteAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the group module's genesis state. */ -export interface GenesisStateSDKType { - group_seq: Long; - groups: GroupInfoSDKType[]; - group_members: GroupMemberSDKType[]; - group_policy_seq: Long; - group_policies: GroupPolicyInfoSDKType[]; - proposal_seq: Long; - proposals: ProposalSDKType[]; - votes: VoteSDKType[]; -} -function createBaseGenesisState(): GenesisState { - return { - groupSeq: Long.UZERO, - groups: [], - groupMembers: [], - groupPolicySeq: Long.UZERO, - groupPolicies: [], - proposalSeq: Long.UZERO, - proposals: [], - votes: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.group.v1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupSeq.isZero()) { - writer.uint32(8).uint64(message.groupSeq); - } - for (const v of message.groups) { - GroupInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.groupMembers) { - GroupMember.encode(v!, writer.uint32(26).fork()).ldelim(); - } - if (!message.groupPolicySeq.isZero()) { - writer.uint32(32).uint64(message.groupPolicySeq); - } - for (const v of message.groupPolicies) { - GroupPolicyInfo.encode(v!, writer.uint32(42).fork()).ldelim(); - } - if (!message.proposalSeq.isZero()) { - writer.uint32(48).uint64(message.proposalSeq); - } - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(58).fork()).ldelim(); - } - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(66).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupSeq = (reader.uint64() as Long); - break; - case 2: - message.groups.push(GroupInfo.decode(reader, reader.uint32())); - break; - case 3: - message.groupMembers.push(GroupMember.decode(reader, reader.uint32())); - break; - case 4: - message.groupPolicySeq = (reader.uint64() as Long); - break; - case 5: - message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32())); - break; - case 6: - message.proposalSeq = (reader.uint64() as Long); - break; - case 7: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - case 8: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.groupSeq)) obj.groupSeq = Long.fromValue(object.groupSeq); - if (Array.isArray(object?.groups)) obj.groups = object.groups.map((e: any) => GroupInfo.fromJSON(e)); - if (Array.isArray(object?.groupMembers)) obj.groupMembers = object.groupMembers.map((e: any) => GroupMember.fromJSON(e)); - if (isSet(object.groupPolicySeq)) obj.groupPolicySeq = Long.fromValue(object.groupPolicySeq); - if (Array.isArray(object?.groupPolicies)) obj.groupPolicies = object.groupPolicies.map((e: any) => GroupPolicyInfo.fromJSON(e)); - if (isSet(object.proposalSeq)) obj.proposalSeq = Long.fromValue(object.proposalSeq); - if (Array.isArray(object?.proposals)) obj.proposals = object.proposals.map((e: any) => Proposal.fromJSON(e)); - if (Array.isArray(object?.votes)) obj.votes = object.votes.map((e: any) => Vote.fromJSON(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.groupSeq !== undefined && (obj.groupSeq = (message.groupSeq || Long.UZERO).toString()); - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toJSON(e) : undefined); - } else { - obj.groups = []; - } - if (message.groupMembers) { - obj.groupMembers = message.groupMembers.map(e => e ? GroupMember.toJSON(e) : undefined); - } else { - obj.groupMembers = []; - } - message.groupPolicySeq !== undefined && (obj.groupPolicySeq = (message.groupPolicySeq || Long.UZERO).toString()); - if (message.groupPolicies) { - obj.groupPolicies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toJSON(e) : undefined); - } else { - obj.groupPolicies = []; - } - message.proposalSeq !== undefined && (obj.proposalSeq = (message.proposalSeq || Long.UZERO).toString()); - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.groupSeq !== undefined && object.groupSeq !== null) { - message.groupSeq = Long.fromValue(object.groupSeq); - } - message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; - message.groupMembers = object.groupMembers?.map(e => GroupMember.fromPartial(e)) || []; - if (object.groupPolicySeq !== undefined && object.groupPolicySeq !== null) { - message.groupPolicySeq = Long.fromValue(object.groupPolicySeq); - } - message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; - if (object.proposalSeq !== undefined && object.proposalSeq !== null) { - message.proposalSeq = Long.fromValue(object.proposalSeq); - } - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - groupSeq: object?.group_seq, - groups: Array.isArray(object?.groups) ? object.groups.map((e: any) => GroupInfo.fromSDK(e)) : [], - groupMembers: Array.isArray(object?.group_members) ? object.group_members.map((e: any) => GroupMember.fromSDK(e)) : [], - groupPolicySeq: object?.group_policy_seq, - groupPolicies: Array.isArray(object?.group_policies) ? object.group_policies.map((e: any) => GroupPolicyInfo.fromSDK(e)) : [], - proposalSeq: object?.proposal_seq, - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromSDK(e)) : [], - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromSDK(e)) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - obj.group_seq = message.groupSeq; - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toSDK(e) : undefined); - } else { - obj.groups = []; - } - if (message.groupMembers) { - obj.group_members = message.groupMembers.map(e => e ? GroupMember.toSDK(e) : undefined); - } else { - obj.group_members = []; - } - obj.group_policy_seq = message.groupPolicySeq; - if (message.groupPolicies) { - obj.group_policies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toSDK(e) : undefined); - } else { - obj.group_policies = []; - } - obj.proposal_seq = message.proposalSeq; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toSDK(e) : undefined); - } else { - obj.proposals = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toSDK(e) : undefined); - } else { - obj.votes = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - groupSeq: Long.fromString(object.group_seq), - groups: Array.isArray(object?.groups) ? object.groups.map((e: any) => GroupInfo.fromAmino(e)) : [], - groupMembers: Array.isArray(object?.group_members) ? object.group_members.map((e: any) => GroupMember.fromAmino(e)) : [], - groupPolicySeq: Long.fromString(object.group_policy_seq), - groupPolicies: Array.isArray(object?.group_policies) ? object.group_policies.map((e: any) => GroupPolicyInfo.fromAmino(e)) : [], - proposalSeq: Long.fromString(object.proposal_seq), - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromAmino(e)) : [], - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromAmino(e)) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.group_seq = message.groupSeq ? message.groupSeq.toString() : undefined; - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toAmino(e) : undefined); - } else { - obj.groups = []; - } - if (message.groupMembers) { - obj.group_members = message.groupMembers.map(e => e ? GroupMember.toAmino(e) : undefined); - } else { - obj.group_members = []; - } - obj.group_policy_seq = message.groupPolicySeq ? message.groupPolicySeq.toString() : undefined; - if (message.groupPolicies) { - obj.group_policies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toAmino(e) : undefined); - } else { - obj.group_policies = []; - } - obj.proposal_seq = message.proposalSeq ? message.proposalSeq.toString() : undefined; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toAmino(e) : undefined); - } else { - obj.proposals = []; - } - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toAmino(e) : undefined); - } else { - obj.votes = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.group.v1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/group/v1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/group/v1/query.lcd.ts deleted file mode 100644 index 9b79de85c..000000000 --- a/quicksilverjs/src/codegen/cosmos/group/v1/query.lcd.ts +++ /dev/null @@ -1,141 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, GroupMember, GroupMemberSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, TallyResult, TallyResultSDKType } from "./types"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryGroupInfoRequest, QueryGroupInfoRequestSDKType, QueryGroupInfoResponse, QueryGroupInfoResponseSDKType, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoRequestSDKType, QueryGroupPolicyInfoResponse, QueryGroupPolicyInfoResponseSDKType, QueryGroupMembersRequest, QueryGroupMembersRequestSDKType, QueryGroupMembersResponse, QueryGroupMembersResponseSDKType, QueryGroupsByAdminRequest, QueryGroupsByAdminRequestSDKType, QueryGroupsByAdminResponse, QueryGroupsByAdminResponseSDKType, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupRequestSDKType, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByGroupResponseSDKType, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminRequestSDKType, QueryGroupPoliciesByAdminResponse, QueryGroupPoliciesByAdminResponseSDKType, QueryProposalRequest, QueryProposalRequestSDKType, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyRequestSDKType, QueryProposalsByGroupPolicyResponse, QueryProposalsByGroupPolicyResponseSDKType, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterRequestSDKType, QueryVoteByProposalVoterResponse, QueryVoteByProposalVoterResponseSDKType, QueryVotesByProposalRequest, QueryVotesByProposalRequestSDKType, QueryVotesByProposalResponse, QueryVotesByProposalResponseSDKType, QueryVotesByVoterRequest, QueryVotesByVoterRequestSDKType, QueryVotesByVoterResponse, QueryVotesByVoterResponseSDKType, QueryGroupsByMemberRequest, QueryGroupsByMemberRequestSDKType, QueryGroupsByMemberResponse, QueryGroupsByMemberResponseSDKType, QueryTallyResultRequest, QueryTallyResultRequestSDKType, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.groupInfo = this.groupInfo.bind(this); - this.groupPolicyInfo = this.groupPolicyInfo.bind(this); - this.groupMembers = this.groupMembers.bind(this); - this.groupsByAdmin = this.groupsByAdmin.bind(this); - this.groupPoliciesByGroup = this.groupPoliciesByGroup.bind(this); - this.groupPoliciesByAdmin = this.groupPoliciesByAdmin.bind(this); - this.proposal = this.proposal.bind(this); - this.proposalsByGroupPolicy = this.proposalsByGroupPolicy.bind(this); - this.voteByProposalVoter = this.voteByProposalVoter.bind(this); - this.votesByProposal = this.votesByProposal.bind(this); - this.votesByVoter = this.votesByVoter.bind(this); - this.groupsByMember = this.groupsByMember.bind(this); - this.tallyResult = this.tallyResult.bind(this); - } - /* GroupInfo queries group info based on group id. */ - async groupInfo(params: QueryGroupInfoRequest): Promise { - const endpoint = `cosmos/group/v1/group_info/${params.groupId}`; - return await this.req.get(endpoint); - } - /* GroupPolicyInfo queries group policy info based on account address of group policy. */ - async groupPolicyInfo(params: QueryGroupPolicyInfoRequest): Promise { - const endpoint = `cosmos/group/v1/group_policy_info/${params.address}`; - return await this.req.get(endpoint); - } - /* GroupMembers queries members of a group */ - async groupMembers(params: QueryGroupMembersRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/group/v1/group_members/${params.groupId}`; - return await this.req.get(endpoint, options); - } - /* GroupsByAdmin queries groups by admin address. */ - async groupsByAdmin(params: QueryGroupsByAdminRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/group/v1/groups_by_admin/${params.admin}`; - return await this.req.get(endpoint, options); - } - /* GroupPoliciesByGroup queries group policies by group id. */ - async groupPoliciesByGroup(params: QueryGroupPoliciesByGroupRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/group/v1/group_policies_by_group/${params.groupId}`; - return await this.req.get(endpoint, options); - } - /* GroupsByAdmin queries group policies by admin address. */ - async groupPoliciesByAdmin(params: QueryGroupPoliciesByAdminRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/group/v1/group_policies_by_admin/${params.admin}`; - return await this.req.get(endpoint, options); - } - /* Proposal queries a proposal based on proposal id. */ - async proposal(params: QueryProposalRequest): Promise { - const endpoint = `cosmos/group/v1/proposal/${params.proposalId}`; - return await this.req.get(endpoint); - } - /* ProposalsByGroupPolicy queries proposals based on account address of group policy. */ - async proposalsByGroupPolicy(params: QueryProposalsByGroupPolicyRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/group/v1/proposals_by_group_policy/${params.address}`; - return await this.req.get(endpoint, options); - } - /* VoteByProposalVoter queries a vote by proposal id and voter. */ - async voteByProposalVoter(params: QueryVoteByProposalVoterRequest): Promise { - const endpoint = `cosmos/group/v1/vote_by_proposal_voter/${params.proposalId}/${params.voter}`; - return await this.req.get(endpoint); - } - /* VotesByProposal queries a vote by proposal. */ - async votesByProposal(params: QueryVotesByProposalRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/group/v1/votes_by_proposal/${params.proposalId}`; - return await this.req.get(endpoint, options); - } - /* VotesByVoter queries a vote by voter. */ - async votesByVoter(params: QueryVotesByVoterRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/group/v1/votes_by_voter/${params.voter}`; - return await this.req.get(endpoint, options); - } - /* GroupsByMember queries groups by member address. */ - async groupsByMember(params: QueryGroupsByMemberRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/group/v1/groups_by_member/${params.address}`; - return await this.req.get(endpoint, options); - } - /* TallyResult queries the tally of a proposal votes. */ - async tallyResult(params: QueryTallyResultRequest): Promise { - const endpoint = `cosmos/group/v1/proposals/${params.proposalId}/tally`; - return await this.req.get(endpoint); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/group/v1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/group/v1/query.rpc.Query.ts deleted file mode 100644 index 49ee47c7c..000000000 --- a/quicksilverjs/src/codegen/cosmos/group/v1/query.rpc.Query.ts +++ /dev/null @@ -1,220 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, GroupMember, GroupMemberSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType, TallyResult, TallyResultSDKType } from "./types"; -import * as fm from "../../../grpc-gateway"; -import { QueryGroupInfoRequest, QueryGroupInfoRequestSDKType, QueryGroupInfoResponse, QueryGroupInfoResponseSDKType, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoRequestSDKType, QueryGroupPolicyInfoResponse, QueryGroupPolicyInfoResponseSDKType, QueryGroupMembersRequest, QueryGroupMembersRequestSDKType, QueryGroupMembersResponse, QueryGroupMembersResponseSDKType, QueryGroupsByAdminRequest, QueryGroupsByAdminRequestSDKType, QueryGroupsByAdminResponse, QueryGroupsByAdminResponseSDKType, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupRequestSDKType, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByGroupResponseSDKType, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminRequestSDKType, QueryGroupPoliciesByAdminResponse, QueryGroupPoliciesByAdminResponseSDKType, QueryProposalRequest, QueryProposalRequestSDKType, QueryProposalResponse, QueryProposalResponseSDKType, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyRequestSDKType, QueryProposalsByGroupPolicyResponse, QueryProposalsByGroupPolicyResponseSDKType, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterRequestSDKType, QueryVoteByProposalVoterResponse, QueryVoteByProposalVoterResponseSDKType, QueryVotesByProposalRequest, QueryVotesByProposalRequestSDKType, QueryVotesByProposalResponse, QueryVotesByProposalResponseSDKType, QueryVotesByVoterRequest, QueryVotesByVoterRequestSDKType, QueryVotesByVoterResponse, QueryVotesByVoterResponseSDKType, QueryGroupsByMemberRequest, QueryGroupsByMemberRequestSDKType, QueryGroupsByMemberResponse, QueryGroupsByMemberResponseSDKType, QueryTallyResultRequest, QueryTallyResultRequestSDKType, QueryTallyResultResponse, QueryTallyResultResponseSDKType } from "./query"; -export class Query { - /** GroupInfo queries group info based on group id. */ - static groupInfo(request: QueryGroupInfoRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/group_info/${request["group_id"]}?${fm.renderURLSearchParams({ - ...request - }, ["group_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** GroupPolicyInfo queries group policy info based on account address of group policy. */ - static groupPolicyInfo(request: QueryGroupPolicyInfoRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/group_policy_info/${request["address"]}?${fm.renderURLSearchParams({ - ...request - }, ["address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** GroupMembers queries members of a group */ - static groupMembers(request: QueryGroupMembersRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/group_members/${request["group_id"]}?${fm.renderURLSearchParams({ - ...request - }, ["group_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** GroupsByAdmin queries groups by admin address. */ - static groupsByAdmin(request: QueryGroupsByAdminRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/groups_by_admin/${request["admin"]}?${fm.renderURLSearchParams({ - ...request - }, ["admin"])}`, { - ...initRequest, - method: "GET" - }); - } - /** GroupPoliciesByGroup queries group policies by group id. */ - static groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/group_policies_by_group/${request["group_id"]}?${fm.renderURLSearchParams({ - ...request - }, ["group_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** GroupsByAdmin queries group policies by admin address. */ - static groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/group_policies_by_admin/${request["admin"]}?${fm.renderURLSearchParams({ - ...request - }, ["admin"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Proposal queries a proposal based on proposal id. */ - static proposal(request: QueryProposalRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/proposal/${request["proposal_id"]}?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** ProposalsByGroupPolicy queries proposals based on account address of group policy. */ - static proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/proposals_by_group_policy/${request["address"]}?${fm.renderURLSearchParams({ - ...request - }, ["address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** VoteByProposalVoter queries a vote by proposal id and voter. */ - static voteByProposalVoter(request: QueryVoteByProposalVoterRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/vote_by_proposal_voter/${request["proposal_id"]}/${request["voter"]}?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id", "voter"])}`, { - ...initRequest, - method: "GET" - }); - } - /** VotesByProposal queries a vote by proposal. */ - static votesByProposal(request: QueryVotesByProposalRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/votes_by_proposal/${request["proposal_id"]}?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** VotesByVoter queries a vote by voter. */ - static votesByVoter(request: QueryVotesByVoterRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/votes_by_voter/${request["voter"]}?${fm.renderURLSearchParams({ - ...request - }, ["voter"])}`, { - ...initRequest, - method: "GET" - }); - } - /** GroupsByMember queries groups by member address. */ - static groupsByMember(request: QueryGroupsByMemberRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/groups_by_member/${request["address"]}?${fm.renderURLSearchParams({ - ...request - }, ["address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** TallyResult queries the tally of a proposal votes. */ - static tallyResult(request: QueryTallyResultRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/group/v1/proposals/${request["proposal_id"]}/tally?${fm.renderURLSearchParams({ - ...request - }, ["proposal_id"])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** GroupInfo queries group info based on group id. */ - async groupInfo(req: QueryGroupInfoRequest, headers?: HeadersInit): Promise { - return Query.groupInfo(req, { - headers, - pathPrefix: this.url - }); - } - /** GroupPolicyInfo queries group policy info based on account address of group policy. */ - async groupPolicyInfo(req: QueryGroupPolicyInfoRequest, headers?: HeadersInit): Promise { - return Query.groupPolicyInfo(req, { - headers, - pathPrefix: this.url - }); - } - /** GroupMembers queries members of a group */ - async groupMembers(req: QueryGroupMembersRequest, headers?: HeadersInit): Promise { - return Query.groupMembers(req, { - headers, - pathPrefix: this.url - }); - } - /** GroupsByAdmin queries groups by admin address. */ - async groupsByAdmin(req: QueryGroupsByAdminRequest, headers?: HeadersInit): Promise { - return Query.groupsByAdmin(req, { - headers, - pathPrefix: this.url - }); - } - /** GroupPoliciesByGroup queries group policies by group id. */ - async groupPoliciesByGroup(req: QueryGroupPoliciesByGroupRequest, headers?: HeadersInit): Promise { - return Query.groupPoliciesByGroup(req, { - headers, - pathPrefix: this.url - }); - } - /** GroupsByAdmin queries group policies by admin address. */ - async groupPoliciesByAdmin(req: QueryGroupPoliciesByAdminRequest, headers?: HeadersInit): Promise { - return Query.groupPoliciesByAdmin(req, { - headers, - pathPrefix: this.url - }); - } - /** Proposal queries a proposal based on proposal id. */ - async proposal(req: QueryProposalRequest, headers?: HeadersInit): Promise { - return Query.proposal(req, { - headers, - pathPrefix: this.url - }); - } - /** ProposalsByGroupPolicy queries proposals based on account address of group policy. */ - async proposalsByGroupPolicy(req: QueryProposalsByGroupPolicyRequest, headers?: HeadersInit): Promise { - return Query.proposalsByGroupPolicy(req, { - headers, - pathPrefix: this.url - }); - } - /** VoteByProposalVoter queries a vote by proposal id and voter. */ - async voteByProposalVoter(req: QueryVoteByProposalVoterRequest, headers?: HeadersInit): Promise { - return Query.voteByProposalVoter(req, { - headers, - pathPrefix: this.url - }); - } - /** VotesByProposal queries a vote by proposal. */ - async votesByProposal(req: QueryVotesByProposalRequest, headers?: HeadersInit): Promise { - return Query.votesByProposal(req, { - headers, - pathPrefix: this.url - }); - } - /** VotesByVoter queries a vote by voter. */ - async votesByVoter(req: QueryVotesByVoterRequest, headers?: HeadersInit): Promise { - return Query.votesByVoter(req, { - headers, - pathPrefix: this.url - }); - } - /** GroupsByMember queries groups by member address. */ - async groupsByMember(req: QueryGroupsByMemberRequest, headers?: HeadersInit): Promise { - return Query.groupsByMember(req, { - headers, - pathPrefix: this.url - }); - } - /** TallyResult queries the tally of a proposal votes. */ - async tallyResult(req: QueryTallyResultRequest, headers?: HeadersInit): Promise { - return Query.tallyResult(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/group/v1/query.ts b/quicksilverjs/src/codegen/cosmos/group/v1/query.ts deleted file mode 100644 index 2f09ab70a..000000000 --- a/quicksilverjs/src/codegen/cosmos/group/v1/query.ts +++ /dev/null @@ -1,3340 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { GroupInfo, GroupInfoAmino, GroupInfoSDKType, GroupPolicyInfo, GroupPolicyInfoAmino, GroupPolicyInfoSDKType, GroupMember, GroupMemberAmino, GroupMemberSDKType, Proposal, ProposalAmino, ProposalSDKType, Vote, VoteAmino, VoteSDKType, TallyResult, TallyResultAmino, TallyResultSDKType } from "./types"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.group.v1"; -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ -export interface QueryGroupInfoRequest { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -export interface QueryGroupInfoRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupInfoRequest"; - value: Uint8Array; -} -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ -export interface QueryGroupInfoRequestAmino { - /** group_id is the unique ID of the group. */ - group_id: string; -} -export interface QueryGroupInfoRequestAminoMsg { - type: "cosmos-sdk/QueryGroupInfoRequest"; - value: QueryGroupInfoRequestAmino; -} -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ -export interface QueryGroupInfoRequestSDKType { - group_id: Long; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ -export interface QueryGroupInfoResponse { - /** info is the GroupInfo for the group. */ - info: GroupInfo; -} -export interface QueryGroupInfoResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupInfoResponse"; - value: Uint8Array; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ -export interface QueryGroupInfoResponseAmino { - /** info is the GroupInfo for the group. */ - info?: GroupInfoAmino; -} -export interface QueryGroupInfoResponseAminoMsg { - type: "cosmos-sdk/QueryGroupInfoResponse"; - value: QueryGroupInfoResponseAmino; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ -export interface QueryGroupInfoResponseSDKType { - info: GroupInfoSDKType; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ -export interface QueryGroupPolicyInfoRequest { - /** address is the account address of the group policy. */ - address: string; -} -export interface QueryGroupPolicyInfoRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoRequest"; - value: Uint8Array; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ -export interface QueryGroupPolicyInfoRequestAmino { - /** address is the account address of the group policy. */ - address: string; -} -export interface QueryGroupPolicyInfoRequestAminoMsg { - type: "cosmos-sdk/QueryGroupPolicyInfoRequest"; - value: QueryGroupPolicyInfoRequestAmino; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ -export interface QueryGroupPolicyInfoRequestSDKType { - address: string; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ -export interface QueryGroupPolicyInfoResponse { - /** info is the GroupPolicyInfo for the group policy. */ - info: GroupPolicyInfo; -} -export interface QueryGroupPolicyInfoResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoResponse"; - value: Uint8Array; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ -export interface QueryGroupPolicyInfoResponseAmino { - /** info is the GroupPolicyInfo for the group policy. */ - info?: GroupPolicyInfoAmino; -} -export interface QueryGroupPolicyInfoResponseAminoMsg { - type: "cosmos-sdk/QueryGroupPolicyInfoResponse"; - value: QueryGroupPolicyInfoResponseAmino; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ -export interface QueryGroupPolicyInfoResponseSDKType { - info: GroupPolicyInfoSDKType; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ -export interface QueryGroupMembersRequest { - /** group_id is the unique ID of the group. */ - groupId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGroupMembersRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupMembersRequest"; - value: Uint8Array; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ -export interface QueryGroupMembersRequestAmino { - /** group_id is the unique ID of the group. */ - group_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGroupMembersRequestAminoMsg { - type: "cosmos-sdk/QueryGroupMembersRequest"; - value: QueryGroupMembersRequestAmino; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ -export interface QueryGroupMembersRequestSDKType { - group_id: Long; - pagination: PageRequestSDKType; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ -export interface QueryGroupMembersResponse { - /** members are the members of the group with given group_id. */ - members: GroupMember[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryGroupMembersResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupMembersResponse"; - value: Uint8Array; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ -export interface QueryGroupMembersResponseAmino { - /** members are the members of the group with given group_id. */ - members: GroupMemberAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGroupMembersResponseAminoMsg { - type: "cosmos-sdk/QueryGroupMembersResponse"; - value: QueryGroupMembersResponseAmino; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ -export interface QueryGroupMembersResponseSDKType { - members: GroupMemberSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ -export interface QueryGroupsByAdminRequest { - /** admin is the account address of a group's admin. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGroupsByAdminRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByAdminRequest"; - value: Uint8Array; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ -export interface QueryGroupsByAdminRequestAmino { - /** admin is the account address of a group's admin. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGroupsByAdminRequestAminoMsg { - type: "cosmos-sdk/QueryGroupsByAdminRequest"; - value: QueryGroupsByAdminRequestAmino; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ -export interface QueryGroupsByAdminRequestSDKType { - admin: string; - pagination: PageRequestSDKType; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ -export interface QueryGroupsByAdminResponse { - /** groups are the groups info with the provided admin. */ - groups: GroupInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryGroupsByAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByAdminResponse"; - value: Uint8Array; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ -export interface QueryGroupsByAdminResponseAmino { - /** groups are the groups info with the provided admin. */ - groups: GroupInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGroupsByAdminResponseAminoMsg { - type: "cosmos-sdk/QueryGroupsByAdminResponse"; - value: QueryGroupsByAdminResponseAmino; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ -export interface QueryGroupsByAdminResponseSDKType { - groups: GroupInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ -export interface QueryGroupPoliciesByGroupRequest { - /** group_id is the unique ID of the group policy's group. */ - groupId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGroupPoliciesByGroupRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupRequest"; - value: Uint8Array; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ -export interface QueryGroupPoliciesByGroupRequestAmino { - /** group_id is the unique ID of the group policy's group. */ - group_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGroupPoliciesByGroupRequestAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByGroupRequest"; - value: QueryGroupPoliciesByGroupRequestAmino; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ -export interface QueryGroupPoliciesByGroupRequestSDKType { - group_id: Long; - pagination: PageRequestSDKType; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ -export interface QueryGroupPoliciesByGroupResponse { - /** group_policies are the group policies info associated with the provided group. */ - groupPolicies: GroupPolicyInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryGroupPoliciesByGroupResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupResponse"; - value: Uint8Array; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ -export interface QueryGroupPoliciesByGroupResponseAmino { - /** group_policies are the group policies info associated with the provided group. */ - group_policies: GroupPolicyInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGroupPoliciesByGroupResponseAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByGroupResponse"; - value: QueryGroupPoliciesByGroupResponseAmino; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ -export interface QueryGroupPoliciesByGroupResponseSDKType { - group_policies: GroupPolicyInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ -export interface QueryGroupPoliciesByAdminRequest { - /** admin is the admin address of the group policy. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGroupPoliciesByAdminRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminRequest"; - value: Uint8Array; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ -export interface QueryGroupPoliciesByAdminRequestAmino { - /** admin is the admin address of the group policy. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGroupPoliciesByAdminRequestAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByAdminRequest"; - value: QueryGroupPoliciesByAdminRequestAmino; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ -export interface QueryGroupPoliciesByAdminRequestSDKType { - admin: string; - pagination: PageRequestSDKType; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ -export interface QueryGroupPoliciesByAdminResponse { - /** group_policies are the group policies info with provided admin. */ - groupPolicies: GroupPolicyInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryGroupPoliciesByAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminResponse"; - value: Uint8Array; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ -export interface QueryGroupPoliciesByAdminResponseAmino { - /** group_policies are the group policies info with provided admin. */ - group_policies: GroupPolicyInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGroupPoliciesByAdminResponseAminoMsg { - type: "cosmos-sdk/QueryGroupPoliciesByAdminResponse"; - value: QueryGroupPoliciesByAdminResponseAmino; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ -export interface QueryGroupPoliciesByAdminResponseSDKType { - group_policies: GroupPolicyInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryProposalRequest is the Query/Proposal request type. */ -export interface QueryProposalRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; -} -export interface QueryProposalRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalRequest"; - value: Uint8Array; -} -/** QueryProposalRequest is the Query/Proposal request type. */ -export interface QueryProposalRequestAmino { - /** proposal_id is the unique ID of a proposal. */ - proposal_id: string; -} -export interface QueryProposalRequestAminoMsg { - type: "cosmos-sdk/QueryProposalRequest"; - value: QueryProposalRequestAmino; -} -/** QueryProposalRequest is the Query/Proposal request type. */ -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the Query/Proposal response type. */ -export interface QueryProposalResponse { - /** proposal is the proposal info. */ - proposal: Proposal; -} -export interface QueryProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalResponse"; - value: Uint8Array; -} -/** QueryProposalResponse is the Query/Proposal response type. */ -export interface QueryProposalResponseAmino { - /** proposal is the proposal info. */ - proposal?: ProposalAmino; -} -export interface QueryProposalResponseAminoMsg { - type: "cosmos-sdk/QueryProposalResponse"; - value: QueryProposalResponseAmino; -} -/** QueryProposalResponse is the Query/Proposal response type. */ -export interface QueryProposalResponseSDKType { - proposal: ProposalSDKType; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ -export interface QueryProposalsByGroupPolicyRequest { - /** address is the account address of the group policy related to proposals. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryProposalsByGroupPolicyRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyRequest"; - value: Uint8Array; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ -export interface QueryProposalsByGroupPolicyRequestAmino { - /** address is the account address of the group policy related to proposals. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryProposalsByGroupPolicyRequestAminoMsg { - type: "cosmos-sdk/QueryProposalsByGroupPolicyRequest"; - value: QueryProposalsByGroupPolicyRequestAmino; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ -export interface QueryProposalsByGroupPolicyRequestSDKType { - address: string; - pagination: PageRequestSDKType; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ -export interface QueryProposalsByGroupPolicyResponse { - /** proposals are the proposals with given group policy. */ - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryProposalsByGroupPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyResponse"; - value: Uint8Array; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ -export interface QueryProposalsByGroupPolicyResponseAmino { - /** proposals are the proposals with given group policy. */ - proposals: ProposalAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryProposalsByGroupPolicyResponseAminoMsg { - type: "cosmos-sdk/QueryProposalsByGroupPolicyResponse"; - value: QueryProposalsByGroupPolicyResponseAmino; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ -export interface QueryProposalsByGroupPolicyResponseSDKType { - proposals: ProposalSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ -export interface QueryVoteByProposalVoterRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; - /** voter is a proposal voter account address. */ - voter: string; -} -export interface QueryVoteByProposalVoterRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterRequest"; - value: Uint8Array; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ -export interface QueryVoteByProposalVoterRequestAmino { - /** proposal_id is the unique ID of a proposal. */ - proposal_id: string; - /** voter is a proposal voter account address. */ - voter: string; -} -export interface QueryVoteByProposalVoterRequestAminoMsg { - type: "cosmos-sdk/QueryVoteByProposalVoterRequest"; - value: QueryVoteByProposalVoterRequestAmino; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ -export interface QueryVoteByProposalVoterRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ -export interface QueryVoteByProposalVoterResponse { - /** vote is the vote with given proposal_id and voter. */ - vote: Vote; -} -export interface QueryVoteByProposalVoterResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterResponse"; - value: Uint8Array; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ -export interface QueryVoteByProposalVoterResponseAmino { - /** vote is the vote with given proposal_id and voter. */ - vote?: VoteAmino; -} -export interface QueryVoteByProposalVoterResponseAminoMsg { - type: "cosmos-sdk/QueryVoteByProposalVoterResponse"; - value: QueryVoteByProposalVoterResponseAmino; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ -export interface QueryVoteByProposalVoterResponseSDKType { - vote: VoteSDKType; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ -export interface QueryVotesByProposalRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryVotesByProposalRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByProposalRequest"; - value: Uint8Array; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ -export interface QueryVotesByProposalRequestAmino { - /** proposal_id is the unique ID of a proposal. */ - proposal_id: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryVotesByProposalRequestAminoMsg { - type: "cosmos-sdk/QueryVotesByProposalRequest"; - value: QueryVotesByProposalRequestAmino; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ -export interface QueryVotesByProposalRequestSDKType { - proposal_id: Long; - pagination: PageRequestSDKType; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ -export interface QueryVotesByProposalResponse { - /** votes are the list of votes for given proposal_id. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryVotesByProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByProposalResponse"; - value: Uint8Array; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ -export interface QueryVotesByProposalResponseAmino { - /** votes are the list of votes for given proposal_id. */ - votes: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryVotesByProposalResponseAminoMsg { - type: "cosmos-sdk/QueryVotesByProposalResponse"; - value: QueryVotesByProposalResponseAmino; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ -export interface QueryVotesByProposalResponseSDKType { - votes: VoteSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ -export interface QueryVotesByVoterRequest { - /** voter is a proposal voter account address. */ - voter: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryVotesByVoterRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByVoterRequest"; - value: Uint8Array; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ -export interface QueryVotesByVoterRequestAmino { - /** voter is a proposal voter account address. */ - voter: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryVotesByVoterRequestAminoMsg { - type: "cosmos-sdk/QueryVotesByVoterRequest"; - value: QueryVotesByVoterRequestAmino; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ -export interface QueryVotesByVoterRequestSDKType { - voter: string; - pagination: PageRequestSDKType; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ -export interface QueryVotesByVoterResponse { - /** votes are the list of votes by given voter. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryVotesByVoterResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryVotesByVoterResponse"; - value: Uint8Array; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ -export interface QueryVotesByVoterResponseAmino { - /** votes are the list of votes by given voter. */ - votes: VoteAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryVotesByVoterResponseAminoMsg { - type: "cosmos-sdk/QueryVotesByVoterResponse"; - value: QueryVotesByVoterResponseAmino; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ -export interface QueryVotesByVoterResponseSDKType { - votes: VoteSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ -export interface QueryGroupsByMemberRequest { - /** address is the group member address. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryGroupsByMemberRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByMemberRequest"; - value: Uint8Array; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ -export interface QueryGroupsByMemberRequestAmino { - /** address is the group member address. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryGroupsByMemberRequestAminoMsg { - type: "cosmos-sdk/QueryGroupsByMemberRequest"; - value: QueryGroupsByMemberRequestAmino; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ -export interface QueryGroupsByMemberRequestSDKType { - address: string; - pagination: PageRequestSDKType; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ -export interface QueryGroupsByMemberResponse { - /** groups are the groups info with the provided group member. */ - groups: GroupInfo[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryGroupsByMemberResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryGroupsByMemberResponse"; - value: Uint8Array; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ -export interface QueryGroupsByMemberResponseAmino { - /** groups are the groups info with the provided group member. */ - groups: GroupInfoAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryGroupsByMemberResponseAminoMsg { - type: "cosmos-sdk/QueryGroupsByMemberResponse"; - value: QueryGroupsByMemberResponseAmino; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ -export interface QueryGroupsByMemberResponseSDKType { - groups: GroupInfoSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ -export interface QueryTallyResultRequest { - /** proposal_id is the unique id of a proposal. */ - proposalId: Long; -} -export interface QueryTallyResultRequestProtoMsg { - typeUrl: "/cosmos.group.v1.QueryTallyResultRequest"; - value: Uint8Array; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ -export interface QueryTallyResultRequestAmino { - /** proposal_id is the unique id of a proposal. */ - proposal_id: string; -} -export interface QueryTallyResultRequestAminoMsg { - type: "cosmos-sdk/QueryTallyResultRequest"; - value: QueryTallyResultRequestAmino; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally: TallyResult; -} -export interface QueryTallyResultResponseProtoMsg { - typeUrl: "/cosmos.group.v1.QueryTallyResultResponse"; - value: Uint8Array; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ -export interface QueryTallyResultResponseAmino { - /** tally defines the requested tally. */ - tally?: TallyResultAmino; -} -export interface QueryTallyResultResponseAminoMsg { - type: "cosmos-sdk/QueryTallyResultResponse"; - value: QueryTallyResultResponseAmino; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ -export interface QueryTallyResultResponseSDKType { - tally: TallyResultSDKType; -} -function createBaseQueryGroupInfoRequest(): QueryGroupInfoRequest { - return { - groupId: Long.UZERO - }; -} -export const QueryGroupInfoRequest = { - typeUrl: "/cosmos.group.v1.QueryGroupInfoRequest", - aminoType: "cosmos-sdk/QueryGroupInfoRequest", - encode(message: QueryGroupInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupInfoRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupInfoRequest { - const obj = createBaseQueryGroupInfoRequest(); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - return obj; - }, - toJSON(message: QueryGroupInfoRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupInfoRequest { - const message = createBaseQueryGroupInfoRequest(); - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - return message; - }, - fromSDK(object: QueryGroupInfoRequestSDKType): QueryGroupInfoRequest { - return { - groupId: object?.group_id - }; - }, - toSDK(message: QueryGroupInfoRequest): QueryGroupInfoRequestSDKType { - const obj: any = {}; - obj.group_id = message.groupId; - return obj; - }, - fromAmino(object: QueryGroupInfoRequestAmino): QueryGroupInfoRequest { - return { - groupId: Long.fromString(object.group_id) - }; - }, - toAmino(message: QueryGroupInfoRequest): QueryGroupInfoRequestAmino { - const obj: any = {}; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupInfoRequestAminoMsg): QueryGroupInfoRequest { - return QueryGroupInfoRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupInfoRequest): QueryGroupInfoRequestAminoMsg { - return { - type: "cosmos-sdk/QueryGroupInfoRequest", - value: QueryGroupInfoRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupInfoRequestProtoMsg): QueryGroupInfoRequest { - return QueryGroupInfoRequest.decode(message.value); - }, - toProto(message: QueryGroupInfoRequest): Uint8Array { - return QueryGroupInfoRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupInfoRequest): QueryGroupInfoRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupInfoRequest", - value: QueryGroupInfoRequest.encode(message).finish() - }; - } -}; -function createBaseQueryGroupInfoResponse(): QueryGroupInfoResponse { - return { - info: GroupInfo.fromPartial({}) - }; -} -export const QueryGroupInfoResponse = { - typeUrl: "/cosmos.group.v1.QueryGroupInfoResponse", - aminoType: "cosmos-sdk/QueryGroupInfoResponse", - encode(message: QueryGroupInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.info !== undefined) { - GroupInfo.encode(message.info, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupInfoResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.info = GroupInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupInfoResponse { - const obj = createBaseQueryGroupInfoResponse(); - if (isSet(object.info)) obj.info = GroupInfo.fromJSON(object.info); - return obj; - }, - toJSON(message: QueryGroupInfoResponse): unknown { - const obj: any = {}; - message.info !== undefined && (obj.info = message.info ? GroupInfo.toJSON(message.info) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupInfoResponse { - const message = createBaseQueryGroupInfoResponse(); - if (object.info !== undefined && object.info !== null) { - message.info = GroupInfo.fromPartial(object.info); - } - return message; - }, - fromSDK(object: QueryGroupInfoResponseSDKType): QueryGroupInfoResponse { - return { - info: object.info ? GroupInfo.fromSDK(object.info) : undefined - }; - }, - toSDK(message: QueryGroupInfoResponse): QueryGroupInfoResponseSDKType { - const obj: any = {}; - message.info !== undefined && (obj.info = message.info ? GroupInfo.toSDK(message.info) : undefined); - return obj; - }, - fromAmino(object: QueryGroupInfoResponseAmino): QueryGroupInfoResponse { - return { - info: object?.info ? GroupInfo.fromAmino(object.info) : undefined - }; - }, - toAmino(message: QueryGroupInfoResponse): QueryGroupInfoResponseAmino { - const obj: any = {}; - obj.info = message.info ? GroupInfo.toAmino(message.info) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupInfoResponseAminoMsg): QueryGroupInfoResponse { - return QueryGroupInfoResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupInfoResponse): QueryGroupInfoResponseAminoMsg { - return { - type: "cosmos-sdk/QueryGroupInfoResponse", - value: QueryGroupInfoResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupInfoResponseProtoMsg): QueryGroupInfoResponse { - return QueryGroupInfoResponse.decode(message.value); - }, - toProto(message: QueryGroupInfoResponse): Uint8Array { - return QueryGroupInfoResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupInfoResponse): QueryGroupInfoResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupInfoResponse", - value: QueryGroupInfoResponse.encode(message).finish() - }; - } -}; -function createBaseQueryGroupPolicyInfoRequest(): QueryGroupPolicyInfoRequest { - return { - address: "" - }; -} -export const QueryGroupPolicyInfoRequest = { - typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoRequest", - aminoType: "cosmos-sdk/QueryGroupPolicyInfoRequest", - encode(message: QueryGroupPolicyInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPolicyInfoRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupPolicyInfoRequest { - const obj = createBaseQueryGroupPolicyInfoRequest(); - if (isSet(object.address)) obj.address = String(object.address); - return obj; - }, - toJSON(message: QueryGroupPolicyInfoRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupPolicyInfoRequest { - const message = createBaseQueryGroupPolicyInfoRequest(); - message.address = object.address ?? ""; - return message; - }, - fromSDK(object: QueryGroupPolicyInfoRequestSDKType): QueryGroupPolicyInfoRequest { - return { - address: object?.address - }; - }, - toSDK(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestSDKType { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAmino(object: QueryGroupPolicyInfoRequestAmino): QueryGroupPolicyInfoRequest { - return { - address: object.address - }; - }, - toAmino(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestAmino { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAminoMsg(object: QueryGroupPolicyInfoRequestAminoMsg): QueryGroupPolicyInfoRequest { - return QueryGroupPolicyInfoRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestAminoMsg { - return { - type: "cosmos-sdk/QueryGroupPolicyInfoRequest", - value: QueryGroupPolicyInfoRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupPolicyInfoRequestProtoMsg): QueryGroupPolicyInfoRequest { - return QueryGroupPolicyInfoRequest.decode(message.value); - }, - toProto(message: QueryGroupPolicyInfoRequest): Uint8Array { - return QueryGroupPolicyInfoRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupPolicyInfoRequest): QueryGroupPolicyInfoRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoRequest", - value: QueryGroupPolicyInfoRequest.encode(message).finish() - }; - } -}; -function createBaseQueryGroupPolicyInfoResponse(): QueryGroupPolicyInfoResponse { - return { - info: GroupPolicyInfo.fromPartial({}) - }; -} -export const QueryGroupPolicyInfoResponse = { - typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoResponse", - aminoType: "cosmos-sdk/QueryGroupPolicyInfoResponse", - encode(message: QueryGroupPolicyInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.info !== undefined) { - GroupPolicyInfo.encode(message.info, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPolicyInfoResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.info = GroupPolicyInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupPolicyInfoResponse { - const obj = createBaseQueryGroupPolicyInfoResponse(); - if (isSet(object.info)) obj.info = GroupPolicyInfo.fromJSON(object.info); - return obj; - }, - toJSON(message: QueryGroupPolicyInfoResponse): unknown { - const obj: any = {}; - message.info !== undefined && (obj.info = message.info ? GroupPolicyInfo.toJSON(message.info) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupPolicyInfoResponse { - const message = createBaseQueryGroupPolicyInfoResponse(); - if (object.info !== undefined && object.info !== null) { - message.info = GroupPolicyInfo.fromPartial(object.info); - } - return message; - }, - fromSDK(object: QueryGroupPolicyInfoResponseSDKType): QueryGroupPolicyInfoResponse { - return { - info: object.info ? GroupPolicyInfo.fromSDK(object.info) : undefined - }; - }, - toSDK(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseSDKType { - const obj: any = {}; - message.info !== undefined && (obj.info = message.info ? GroupPolicyInfo.toSDK(message.info) : undefined); - return obj; - }, - fromAmino(object: QueryGroupPolicyInfoResponseAmino): QueryGroupPolicyInfoResponse { - return { - info: object?.info ? GroupPolicyInfo.fromAmino(object.info) : undefined - }; - }, - toAmino(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseAmino { - const obj: any = {}; - obj.info = message.info ? GroupPolicyInfo.toAmino(message.info) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupPolicyInfoResponseAminoMsg): QueryGroupPolicyInfoResponse { - return QueryGroupPolicyInfoResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseAminoMsg { - return { - type: "cosmos-sdk/QueryGroupPolicyInfoResponse", - value: QueryGroupPolicyInfoResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupPolicyInfoResponseProtoMsg): QueryGroupPolicyInfoResponse { - return QueryGroupPolicyInfoResponse.decode(message.value); - }, - toProto(message: QueryGroupPolicyInfoResponse): Uint8Array { - return QueryGroupPolicyInfoResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupPolicyInfoResponse): QueryGroupPolicyInfoResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupPolicyInfoResponse", - value: QueryGroupPolicyInfoResponse.encode(message).finish() - }; - } -}; -function createBaseQueryGroupMembersRequest(): QueryGroupMembersRequest { - return { - groupId: Long.UZERO, - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryGroupMembersRequest = { - typeUrl: "/cosmos.group.v1.QueryGroupMembersRequest", - aminoType: "cosmos-sdk/QueryGroupMembersRequest", - encode(message: QueryGroupMembersRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupMembersRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupMembersRequest { - const obj = createBaseQueryGroupMembersRequest(); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGroupMembersRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupMembersRequest { - const message = createBaseQueryGroupMembersRequest(); - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGroupMembersRequestSDKType): QueryGroupMembersRequest { - return { - groupId: object?.group_id, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGroupMembersRequest): QueryGroupMembersRequestSDKType { - const obj: any = {}; - obj.group_id = message.groupId; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGroupMembersRequestAmino): QueryGroupMembersRequest { - return { - groupId: Long.fromString(object.group_id), - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGroupMembersRequest): QueryGroupMembersRequestAmino { - const obj: any = {}; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupMembersRequestAminoMsg): QueryGroupMembersRequest { - return QueryGroupMembersRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupMembersRequest): QueryGroupMembersRequestAminoMsg { - return { - type: "cosmos-sdk/QueryGroupMembersRequest", - value: QueryGroupMembersRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupMembersRequestProtoMsg): QueryGroupMembersRequest { - return QueryGroupMembersRequest.decode(message.value); - }, - toProto(message: QueryGroupMembersRequest): Uint8Array { - return QueryGroupMembersRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupMembersRequest): QueryGroupMembersRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupMembersRequest", - value: QueryGroupMembersRequest.encode(message).finish() - }; - } -}; -function createBaseQueryGroupMembersResponse(): QueryGroupMembersResponse { - return { - members: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryGroupMembersResponse = { - typeUrl: "/cosmos.group.v1.QueryGroupMembersResponse", - aminoType: "cosmos-sdk/QueryGroupMembersResponse", - encode(message: QueryGroupMembersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.members) { - GroupMember.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupMembersResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.members.push(GroupMember.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupMembersResponse { - const obj = createBaseQueryGroupMembersResponse(); - if (Array.isArray(object?.members)) obj.members = object.members.map((e: any) => GroupMember.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGroupMembersResponse): unknown { - const obj: any = {}; - if (message.members) { - obj.members = message.members.map(e => e ? GroupMember.toJSON(e) : undefined); - } else { - obj.members = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupMembersResponse { - const message = createBaseQueryGroupMembersResponse(); - message.members = object.members?.map(e => GroupMember.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGroupMembersResponseSDKType): QueryGroupMembersResponse { - return { - members: Array.isArray(object?.members) ? object.members.map((e: any) => GroupMember.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGroupMembersResponse): QueryGroupMembersResponseSDKType { - const obj: any = {}; - if (message.members) { - obj.members = message.members.map(e => e ? GroupMember.toSDK(e) : undefined); - } else { - obj.members = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGroupMembersResponseAmino): QueryGroupMembersResponse { - return { - members: Array.isArray(object?.members) ? object.members.map((e: any) => GroupMember.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGroupMembersResponse): QueryGroupMembersResponseAmino { - const obj: any = {}; - if (message.members) { - obj.members = message.members.map(e => e ? GroupMember.toAmino(e) : undefined); - } else { - obj.members = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupMembersResponseAminoMsg): QueryGroupMembersResponse { - return QueryGroupMembersResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupMembersResponse): QueryGroupMembersResponseAminoMsg { - return { - type: "cosmos-sdk/QueryGroupMembersResponse", - value: QueryGroupMembersResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupMembersResponseProtoMsg): QueryGroupMembersResponse { - return QueryGroupMembersResponse.decode(message.value); - }, - toProto(message: QueryGroupMembersResponse): Uint8Array { - return QueryGroupMembersResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupMembersResponse): QueryGroupMembersResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupMembersResponse", - value: QueryGroupMembersResponse.encode(message).finish() - }; - } -}; -function createBaseQueryGroupsByAdminRequest(): QueryGroupsByAdminRequest { - return { - admin: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryGroupsByAdminRequest = { - typeUrl: "/cosmos.group.v1.QueryGroupsByAdminRequest", - aminoType: "cosmos-sdk/QueryGroupsByAdminRequest", - encode(message: QueryGroupsByAdminRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupsByAdminRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupsByAdminRequest { - const obj = createBaseQueryGroupsByAdminRequest(); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGroupsByAdminRequest): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupsByAdminRequest { - const message = createBaseQueryGroupsByAdminRequest(); - message.admin = object.admin ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGroupsByAdminRequestSDKType): QueryGroupsByAdminRequest { - return { - admin: object?.admin, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestSDKType { - const obj: any = {}; - obj.admin = message.admin; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGroupsByAdminRequestAmino): QueryGroupsByAdminRequest { - return { - admin: object.admin, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestAmino { - const obj: any = {}; - obj.admin = message.admin; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupsByAdminRequestAminoMsg): QueryGroupsByAdminRequest { - return QueryGroupsByAdminRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestAminoMsg { - return { - type: "cosmos-sdk/QueryGroupsByAdminRequest", - value: QueryGroupsByAdminRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupsByAdminRequestProtoMsg): QueryGroupsByAdminRequest { - return QueryGroupsByAdminRequest.decode(message.value); - }, - toProto(message: QueryGroupsByAdminRequest): Uint8Array { - return QueryGroupsByAdminRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupsByAdminRequest): QueryGroupsByAdminRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupsByAdminRequest", - value: QueryGroupsByAdminRequest.encode(message).finish() - }; - } -}; -function createBaseQueryGroupsByAdminResponse(): QueryGroupsByAdminResponse { - return { - groups: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryGroupsByAdminResponse = { - typeUrl: "/cosmos.group.v1.QueryGroupsByAdminResponse", - aminoType: "cosmos-sdk/QueryGroupsByAdminResponse", - encode(message: QueryGroupsByAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.groups) { - GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupsByAdminResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groups.push(GroupInfo.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupsByAdminResponse { - const obj = createBaseQueryGroupsByAdminResponse(); - if (Array.isArray(object?.groups)) obj.groups = object.groups.map((e: any) => GroupInfo.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGroupsByAdminResponse): unknown { - const obj: any = {}; - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toJSON(e) : undefined); - } else { - obj.groups = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupsByAdminResponse { - const message = createBaseQueryGroupsByAdminResponse(); - message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGroupsByAdminResponseSDKType): QueryGroupsByAdminResponse { - return { - groups: Array.isArray(object?.groups) ? object.groups.map((e: any) => GroupInfo.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseSDKType { - const obj: any = {}; - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toSDK(e) : undefined); - } else { - obj.groups = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGroupsByAdminResponseAmino): QueryGroupsByAdminResponse { - return { - groups: Array.isArray(object?.groups) ? object.groups.map((e: any) => GroupInfo.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseAmino { - const obj: any = {}; - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toAmino(e) : undefined); - } else { - obj.groups = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupsByAdminResponseAminoMsg): QueryGroupsByAdminResponse { - return QueryGroupsByAdminResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseAminoMsg { - return { - type: "cosmos-sdk/QueryGroupsByAdminResponse", - value: QueryGroupsByAdminResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupsByAdminResponseProtoMsg): QueryGroupsByAdminResponse { - return QueryGroupsByAdminResponse.decode(message.value); - }, - toProto(message: QueryGroupsByAdminResponse): Uint8Array { - return QueryGroupsByAdminResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupsByAdminResponse): QueryGroupsByAdminResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupsByAdminResponse", - value: QueryGroupsByAdminResponse.encode(message).finish() - }; - } -}; -function createBaseQueryGroupPoliciesByGroupRequest(): QueryGroupPoliciesByGroupRequest { - return { - groupId: Long.UZERO, - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryGroupPoliciesByGroupRequest = { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupRequest", - aminoType: "cosmos-sdk/QueryGroupPoliciesByGroupRequest", - encode(message: QueryGroupPoliciesByGroupRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPoliciesByGroupRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupPoliciesByGroupRequest { - const obj = createBaseQueryGroupPoliciesByGroupRequest(); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGroupPoliciesByGroupRequest): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupPoliciesByGroupRequest { - const message = createBaseQueryGroupPoliciesByGroupRequest(); - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGroupPoliciesByGroupRequestSDKType): QueryGroupPoliciesByGroupRequest { - return { - groupId: object?.group_id, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestSDKType { - const obj: any = {}; - obj.group_id = message.groupId; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGroupPoliciesByGroupRequestAmino): QueryGroupPoliciesByGroupRequest { - return { - groupId: Long.fromString(object.group_id), - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestAmino { - const obj: any = {}; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupPoliciesByGroupRequestAminoMsg): QueryGroupPoliciesByGroupRequest { - return QueryGroupPoliciesByGroupRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestAminoMsg { - return { - type: "cosmos-sdk/QueryGroupPoliciesByGroupRequest", - value: QueryGroupPoliciesByGroupRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupPoliciesByGroupRequestProtoMsg): QueryGroupPoliciesByGroupRequest { - return QueryGroupPoliciesByGroupRequest.decode(message.value); - }, - toProto(message: QueryGroupPoliciesByGroupRequest): Uint8Array { - return QueryGroupPoliciesByGroupRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupPoliciesByGroupRequest): QueryGroupPoliciesByGroupRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupRequest", - value: QueryGroupPoliciesByGroupRequest.encode(message).finish() - }; - } -}; -function createBaseQueryGroupPoliciesByGroupResponse(): QueryGroupPoliciesByGroupResponse { - return { - groupPolicies: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryGroupPoliciesByGroupResponse = { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupResponse", - aminoType: "cosmos-sdk/QueryGroupPoliciesByGroupResponse", - encode(message: QueryGroupPoliciesByGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.groupPolicies) { - GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPoliciesByGroupResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupPoliciesByGroupResponse { - const obj = createBaseQueryGroupPoliciesByGroupResponse(); - if (Array.isArray(object?.groupPolicies)) obj.groupPolicies = object.groupPolicies.map((e: any) => GroupPolicyInfo.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGroupPoliciesByGroupResponse): unknown { - const obj: any = {}; - if (message.groupPolicies) { - obj.groupPolicies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toJSON(e) : undefined); - } else { - obj.groupPolicies = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupPoliciesByGroupResponse { - const message = createBaseQueryGroupPoliciesByGroupResponse(); - message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGroupPoliciesByGroupResponseSDKType): QueryGroupPoliciesByGroupResponse { - return { - groupPolicies: Array.isArray(object?.group_policies) ? object.group_policies.map((e: any) => GroupPolicyInfo.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseSDKType { - const obj: any = {}; - if (message.groupPolicies) { - obj.group_policies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toSDK(e) : undefined); - } else { - obj.group_policies = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGroupPoliciesByGroupResponseAmino): QueryGroupPoliciesByGroupResponse { - return { - groupPolicies: Array.isArray(object?.group_policies) ? object.group_policies.map((e: any) => GroupPolicyInfo.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseAmino { - const obj: any = {}; - if (message.groupPolicies) { - obj.group_policies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toAmino(e) : undefined); - } else { - obj.group_policies = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupPoliciesByGroupResponseAminoMsg): QueryGroupPoliciesByGroupResponse { - return QueryGroupPoliciesByGroupResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseAminoMsg { - return { - type: "cosmos-sdk/QueryGroupPoliciesByGroupResponse", - value: QueryGroupPoliciesByGroupResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupPoliciesByGroupResponseProtoMsg): QueryGroupPoliciesByGroupResponse { - return QueryGroupPoliciesByGroupResponse.decode(message.value); - }, - toProto(message: QueryGroupPoliciesByGroupResponse): Uint8Array { - return QueryGroupPoliciesByGroupResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupPoliciesByGroupResponse): QueryGroupPoliciesByGroupResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByGroupResponse", - value: QueryGroupPoliciesByGroupResponse.encode(message).finish() - }; - } -}; -function createBaseQueryGroupPoliciesByAdminRequest(): QueryGroupPoliciesByAdminRequest { - return { - admin: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryGroupPoliciesByAdminRequest = { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminRequest", - aminoType: "cosmos-sdk/QueryGroupPoliciesByAdminRequest", - encode(message: QueryGroupPoliciesByAdminRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPoliciesByAdminRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupPoliciesByAdminRequest { - const obj = createBaseQueryGroupPoliciesByAdminRequest(); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGroupPoliciesByAdminRequest): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupPoliciesByAdminRequest { - const message = createBaseQueryGroupPoliciesByAdminRequest(); - message.admin = object.admin ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGroupPoliciesByAdminRequestSDKType): QueryGroupPoliciesByAdminRequest { - return { - admin: object?.admin, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestSDKType { - const obj: any = {}; - obj.admin = message.admin; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGroupPoliciesByAdminRequestAmino): QueryGroupPoliciesByAdminRequest { - return { - admin: object.admin, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestAmino { - const obj: any = {}; - obj.admin = message.admin; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupPoliciesByAdminRequestAminoMsg): QueryGroupPoliciesByAdminRequest { - return QueryGroupPoliciesByAdminRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestAminoMsg { - return { - type: "cosmos-sdk/QueryGroupPoliciesByAdminRequest", - value: QueryGroupPoliciesByAdminRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupPoliciesByAdminRequestProtoMsg): QueryGroupPoliciesByAdminRequest { - return QueryGroupPoliciesByAdminRequest.decode(message.value); - }, - toProto(message: QueryGroupPoliciesByAdminRequest): Uint8Array { - return QueryGroupPoliciesByAdminRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupPoliciesByAdminRequest): QueryGroupPoliciesByAdminRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminRequest", - value: QueryGroupPoliciesByAdminRequest.encode(message).finish() - }; - } -}; -function createBaseQueryGroupPoliciesByAdminResponse(): QueryGroupPoliciesByAdminResponse { - return { - groupPolicies: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryGroupPoliciesByAdminResponse = { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminResponse", - aminoType: "cosmos-sdk/QueryGroupPoliciesByAdminResponse", - encode(message: QueryGroupPoliciesByAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.groupPolicies) { - GroupPolicyInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupPoliciesByAdminResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupPolicies.push(GroupPolicyInfo.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupPoliciesByAdminResponse { - const obj = createBaseQueryGroupPoliciesByAdminResponse(); - if (Array.isArray(object?.groupPolicies)) obj.groupPolicies = object.groupPolicies.map((e: any) => GroupPolicyInfo.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGroupPoliciesByAdminResponse): unknown { - const obj: any = {}; - if (message.groupPolicies) { - obj.groupPolicies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toJSON(e) : undefined); - } else { - obj.groupPolicies = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupPoliciesByAdminResponse { - const message = createBaseQueryGroupPoliciesByAdminResponse(); - message.groupPolicies = object.groupPolicies?.map(e => GroupPolicyInfo.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGroupPoliciesByAdminResponseSDKType): QueryGroupPoliciesByAdminResponse { - return { - groupPolicies: Array.isArray(object?.group_policies) ? object.group_policies.map((e: any) => GroupPolicyInfo.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseSDKType { - const obj: any = {}; - if (message.groupPolicies) { - obj.group_policies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toSDK(e) : undefined); - } else { - obj.group_policies = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGroupPoliciesByAdminResponseAmino): QueryGroupPoliciesByAdminResponse { - return { - groupPolicies: Array.isArray(object?.group_policies) ? object.group_policies.map((e: any) => GroupPolicyInfo.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseAmino { - const obj: any = {}; - if (message.groupPolicies) { - obj.group_policies = message.groupPolicies.map(e => e ? GroupPolicyInfo.toAmino(e) : undefined); - } else { - obj.group_policies = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupPoliciesByAdminResponseAminoMsg): QueryGroupPoliciesByAdminResponse { - return QueryGroupPoliciesByAdminResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseAminoMsg { - return { - type: "cosmos-sdk/QueryGroupPoliciesByAdminResponse", - value: QueryGroupPoliciesByAdminResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupPoliciesByAdminResponseProtoMsg): QueryGroupPoliciesByAdminResponse { - return QueryGroupPoliciesByAdminResponse.decode(message.value); - }, - toProto(message: QueryGroupPoliciesByAdminResponse): Uint8Array { - return QueryGroupPoliciesByAdminResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupPoliciesByAdminResponse): QueryGroupPoliciesByAdminResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupPoliciesByAdminResponse", - value: QueryGroupPoliciesByAdminResponse.encode(message).finish() - }; - } -}; -function createBaseQueryProposalRequest(): QueryProposalRequest { - return { - proposalId: Long.UZERO - }; -} -export const QueryProposalRequest = { - typeUrl: "/cosmos.group.v1.QueryProposalRequest", - aminoType: "cosmos-sdk/QueryProposalRequest", - encode(message: QueryProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalRequest { - const obj = createBaseQueryProposalRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: QueryProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalRequest { - const message = createBaseQueryProposalRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: QueryProposalRequestSDKType): QueryProposalRequest { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: QueryProposalRequest): QueryProposalRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: QueryProposalRequestAmino): QueryProposalRequest { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: QueryProposalRequest): QueryProposalRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalRequestAminoMsg): QueryProposalRequest { - return QueryProposalRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalRequest): QueryProposalRequestAminoMsg { - return { - type: "cosmos-sdk/QueryProposalRequest", - value: QueryProposalRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalRequestProtoMsg): QueryProposalRequest { - return QueryProposalRequest.decode(message.value); - }, - toProto(message: QueryProposalRequest): Uint8Array { - return QueryProposalRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalRequest): QueryProposalRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryProposalRequest", - value: QueryProposalRequest.encode(message).finish() - }; - } -}; -function createBaseQueryProposalResponse(): QueryProposalResponse { - return { - proposal: Proposal.fromPartial({}) - }; -} -export const QueryProposalResponse = { - typeUrl: "/cosmos.group.v1.QueryProposalResponse", - aminoType: "cosmos-sdk/QueryProposalResponse", - encode(message: QueryProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.proposal !== undefined) { - Proposal.encode(message.proposal, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposal = Proposal.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalResponse { - const obj = createBaseQueryProposalResponse(); - if (isSet(object.proposal)) obj.proposal = Proposal.fromJSON(object.proposal); - return obj; - }, - toJSON(message: QueryProposalResponse): unknown { - const obj: any = {}; - message.proposal !== undefined && (obj.proposal = message.proposal ? Proposal.toJSON(message.proposal) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalResponse { - const message = createBaseQueryProposalResponse(); - if (object.proposal !== undefined && object.proposal !== null) { - message.proposal = Proposal.fromPartial(object.proposal); - } - return message; - }, - fromSDK(object: QueryProposalResponseSDKType): QueryProposalResponse { - return { - proposal: object.proposal ? Proposal.fromSDK(object.proposal) : undefined - }; - }, - toSDK(message: QueryProposalResponse): QueryProposalResponseSDKType { - const obj: any = {}; - message.proposal !== undefined && (obj.proposal = message.proposal ? Proposal.toSDK(message.proposal) : undefined); - return obj; - }, - fromAmino(object: QueryProposalResponseAmino): QueryProposalResponse { - return { - proposal: object?.proposal ? Proposal.fromAmino(object.proposal) : undefined - }; - }, - toAmino(message: QueryProposalResponse): QueryProposalResponseAmino { - const obj: any = {}; - obj.proposal = message.proposal ? Proposal.toAmino(message.proposal) : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalResponseAminoMsg): QueryProposalResponse { - return QueryProposalResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalResponse): QueryProposalResponseAminoMsg { - return { - type: "cosmos-sdk/QueryProposalResponse", - value: QueryProposalResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalResponseProtoMsg): QueryProposalResponse { - return QueryProposalResponse.decode(message.value); - }, - toProto(message: QueryProposalResponse): Uint8Array { - return QueryProposalResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalResponse): QueryProposalResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryProposalResponse", - value: QueryProposalResponse.encode(message).finish() - }; - } -}; -function createBaseQueryProposalsByGroupPolicyRequest(): QueryProposalsByGroupPolicyRequest { - return { - address: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryProposalsByGroupPolicyRequest = { - typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyRequest", - aminoType: "cosmos-sdk/QueryProposalsByGroupPolicyRequest", - encode(message: QueryProposalsByGroupPolicyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsByGroupPolicyRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalsByGroupPolicyRequest { - const obj = createBaseQueryProposalsByGroupPolicyRequest(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryProposalsByGroupPolicyRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalsByGroupPolicyRequest { - const message = createBaseQueryProposalsByGroupPolicyRequest(); - message.address = object.address ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryProposalsByGroupPolicyRequestSDKType): QueryProposalsByGroupPolicyRequest { - return { - address: object?.address, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestSDKType { - const obj: any = {}; - obj.address = message.address; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryProposalsByGroupPolicyRequestAmino): QueryProposalsByGroupPolicyRequest { - return { - address: object.address, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestAmino { - const obj: any = {}; - obj.address = message.address; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalsByGroupPolicyRequestAminoMsg): QueryProposalsByGroupPolicyRequest { - return QueryProposalsByGroupPolicyRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestAminoMsg { - return { - type: "cosmos-sdk/QueryProposalsByGroupPolicyRequest", - value: QueryProposalsByGroupPolicyRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalsByGroupPolicyRequestProtoMsg): QueryProposalsByGroupPolicyRequest { - return QueryProposalsByGroupPolicyRequest.decode(message.value); - }, - toProto(message: QueryProposalsByGroupPolicyRequest): Uint8Array { - return QueryProposalsByGroupPolicyRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalsByGroupPolicyRequest): QueryProposalsByGroupPolicyRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyRequest", - value: QueryProposalsByGroupPolicyRequest.encode(message).finish() - }; - } -}; -function createBaseQueryProposalsByGroupPolicyResponse(): QueryProposalsByGroupPolicyResponse { - return { - proposals: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryProposalsByGroupPolicyResponse = { - typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyResponse", - aminoType: "cosmos-sdk/QueryProposalsByGroupPolicyResponse", - encode(message: QueryProposalsByGroupPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.proposals) { - Proposal.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryProposalsByGroupPolicyResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposals.push(Proposal.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryProposalsByGroupPolicyResponse { - const obj = createBaseQueryProposalsByGroupPolicyResponse(); - if (Array.isArray(object?.proposals)) obj.proposals = object.proposals.map((e: any) => Proposal.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryProposalsByGroupPolicyResponse): unknown { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toJSON(e) : undefined); - } else { - obj.proposals = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryProposalsByGroupPolicyResponse { - const message = createBaseQueryProposalsByGroupPolicyResponse(); - message.proposals = object.proposals?.map(e => Proposal.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryProposalsByGroupPolicyResponseSDKType): QueryProposalsByGroupPolicyResponse { - return { - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseSDKType { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toSDK(e) : undefined); - } else { - obj.proposals = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryProposalsByGroupPolicyResponseAmino): QueryProposalsByGroupPolicyResponse { - return { - proposals: Array.isArray(object?.proposals) ? object.proposals.map((e: any) => Proposal.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseAmino { - const obj: any = {}; - if (message.proposals) { - obj.proposals = message.proposals.map(e => e ? Proposal.toAmino(e) : undefined); - } else { - obj.proposals = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryProposalsByGroupPolicyResponseAminoMsg): QueryProposalsByGroupPolicyResponse { - return QueryProposalsByGroupPolicyResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseAminoMsg { - return { - type: "cosmos-sdk/QueryProposalsByGroupPolicyResponse", - value: QueryProposalsByGroupPolicyResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryProposalsByGroupPolicyResponseProtoMsg): QueryProposalsByGroupPolicyResponse { - return QueryProposalsByGroupPolicyResponse.decode(message.value); - }, - toProto(message: QueryProposalsByGroupPolicyResponse): Uint8Array { - return QueryProposalsByGroupPolicyResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryProposalsByGroupPolicyResponse): QueryProposalsByGroupPolicyResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryProposalsByGroupPolicyResponse", - value: QueryProposalsByGroupPolicyResponse.encode(message).finish() - }; - } -}; -function createBaseQueryVoteByProposalVoterRequest(): QueryVoteByProposalVoterRequest { - return { - proposalId: Long.UZERO, - voter: "" - }; -} -export const QueryVoteByProposalVoterRequest = { - typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterRequest", - aminoType: "cosmos-sdk/QueryVoteByProposalVoterRequest", - encode(message: QueryVoteByProposalVoterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteByProposalVoterRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.voter = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVoteByProposalVoterRequest { - const obj = createBaseQueryVoteByProposalVoterRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.voter)) obj.voter = String(object.voter); - return obj; - }, - toJSON(message: QueryVoteByProposalVoterRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.voter !== undefined && (obj.voter = message.voter); - return obj; - }, - fromPartial(object: DeepPartial): QueryVoteByProposalVoterRequest { - const message = createBaseQueryVoteByProposalVoterRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.voter = object.voter ?? ""; - return message; - }, - fromSDK(object: QueryVoteByProposalVoterRequestSDKType): QueryVoteByProposalVoterRequest { - return { - proposalId: object?.proposal_id, - voter: object?.voter - }; - }, - toSDK(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.voter = message.voter; - return obj; - }, - fromAmino(object: QueryVoteByProposalVoterRequestAmino): QueryVoteByProposalVoterRequest { - return { - proposalId: Long.fromString(object.proposal_id), - voter: object.voter - }; - }, - toAmino(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.voter = message.voter; - return obj; - }, - fromAminoMsg(object: QueryVoteByProposalVoterRequestAminoMsg): QueryVoteByProposalVoterRequest { - return QueryVoteByProposalVoterRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestAminoMsg { - return { - type: "cosmos-sdk/QueryVoteByProposalVoterRequest", - value: QueryVoteByProposalVoterRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVoteByProposalVoterRequestProtoMsg): QueryVoteByProposalVoterRequest { - return QueryVoteByProposalVoterRequest.decode(message.value); - }, - toProto(message: QueryVoteByProposalVoterRequest): Uint8Array { - return QueryVoteByProposalVoterRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryVoteByProposalVoterRequest): QueryVoteByProposalVoterRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterRequest", - value: QueryVoteByProposalVoterRequest.encode(message).finish() - }; - } -}; -function createBaseQueryVoteByProposalVoterResponse(): QueryVoteByProposalVoterResponse { - return { - vote: Vote.fromPartial({}) - }; -} -export const QueryVoteByProposalVoterResponse = { - typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterResponse", - aminoType: "cosmos-sdk/QueryVoteByProposalVoterResponse", - encode(message: QueryVoteByProposalVoterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.vote !== undefined) { - Vote.encode(message.vote, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVoteByProposalVoterResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.vote = Vote.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVoteByProposalVoterResponse { - const obj = createBaseQueryVoteByProposalVoterResponse(); - if (isSet(object.vote)) obj.vote = Vote.fromJSON(object.vote); - return obj; - }, - toJSON(message: QueryVoteByProposalVoterResponse): unknown { - const obj: any = {}; - message.vote !== undefined && (obj.vote = message.vote ? Vote.toJSON(message.vote) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryVoteByProposalVoterResponse { - const message = createBaseQueryVoteByProposalVoterResponse(); - if (object.vote !== undefined && object.vote !== null) { - message.vote = Vote.fromPartial(object.vote); - } - return message; - }, - fromSDK(object: QueryVoteByProposalVoterResponseSDKType): QueryVoteByProposalVoterResponse { - return { - vote: object.vote ? Vote.fromSDK(object.vote) : undefined - }; - }, - toSDK(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseSDKType { - const obj: any = {}; - message.vote !== undefined && (obj.vote = message.vote ? Vote.toSDK(message.vote) : undefined); - return obj; - }, - fromAmino(object: QueryVoteByProposalVoterResponseAmino): QueryVoteByProposalVoterResponse { - return { - vote: object?.vote ? Vote.fromAmino(object.vote) : undefined - }; - }, - toAmino(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseAmino { - const obj: any = {}; - obj.vote = message.vote ? Vote.toAmino(message.vote) : undefined; - return obj; - }, - fromAminoMsg(object: QueryVoteByProposalVoterResponseAminoMsg): QueryVoteByProposalVoterResponse { - return QueryVoteByProposalVoterResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseAminoMsg { - return { - type: "cosmos-sdk/QueryVoteByProposalVoterResponse", - value: QueryVoteByProposalVoterResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVoteByProposalVoterResponseProtoMsg): QueryVoteByProposalVoterResponse { - return QueryVoteByProposalVoterResponse.decode(message.value); - }, - toProto(message: QueryVoteByProposalVoterResponse): Uint8Array { - return QueryVoteByProposalVoterResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryVoteByProposalVoterResponse): QueryVoteByProposalVoterResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryVoteByProposalVoterResponse", - value: QueryVoteByProposalVoterResponse.encode(message).finish() - }; - } -}; -function createBaseQueryVotesByProposalRequest(): QueryVotesByProposalRequest { - return { - proposalId: Long.UZERO, - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryVotesByProposalRequest = { - typeUrl: "/cosmos.group.v1.QueryVotesByProposalRequest", - aminoType: "cosmos-sdk/QueryVotesByProposalRequest", - encode(message: QueryVotesByProposalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesByProposalRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVotesByProposalRequest { - const obj = createBaseQueryVotesByProposalRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryVotesByProposalRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryVotesByProposalRequest { - const message = createBaseQueryVotesByProposalRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryVotesByProposalRequestSDKType): QueryVotesByProposalRequest { - return { - proposalId: object?.proposal_id, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryVotesByProposalRequestAmino): QueryVotesByProposalRequest { - return { - proposalId: Long.fromString(object.proposal_id), - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryVotesByProposalRequestAminoMsg): QueryVotesByProposalRequest { - return QueryVotesByProposalRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestAminoMsg { - return { - type: "cosmos-sdk/QueryVotesByProposalRequest", - value: QueryVotesByProposalRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVotesByProposalRequestProtoMsg): QueryVotesByProposalRequest { - return QueryVotesByProposalRequest.decode(message.value); - }, - toProto(message: QueryVotesByProposalRequest): Uint8Array { - return QueryVotesByProposalRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryVotesByProposalRequest): QueryVotesByProposalRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryVotesByProposalRequest", - value: QueryVotesByProposalRequest.encode(message).finish() - }; - } -}; -function createBaseQueryVotesByProposalResponse(): QueryVotesByProposalResponse { - return { - votes: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryVotesByProposalResponse = { - typeUrl: "/cosmos.group.v1.QueryVotesByProposalResponse", - aminoType: "cosmos-sdk/QueryVotesByProposalResponse", - encode(message: QueryVotesByProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesByProposalResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVotesByProposalResponse { - const obj = createBaseQueryVotesByProposalResponse(); - if (Array.isArray(object?.votes)) obj.votes = object.votes.map((e: any) => Vote.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryVotesByProposalResponse): unknown { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryVotesByProposalResponse { - const message = createBaseQueryVotesByProposalResponse(); - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryVotesByProposalResponseSDKType): QueryVotesByProposalResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseSDKType { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toSDK(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryVotesByProposalResponseAmino): QueryVotesByProposalResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseAmino { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toAmino(e) : undefined); - } else { - obj.votes = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryVotesByProposalResponseAminoMsg): QueryVotesByProposalResponse { - return QueryVotesByProposalResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseAminoMsg { - return { - type: "cosmos-sdk/QueryVotesByProposalResponse", - value: QueryVotesByProposalResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVotesByProposalResponseProtoMsg): QueryVotesByProposalResponse { - return QueryVotesByProposalResponse.decode(message.value); - }, - toProto(message: QueryVotesByProposalResponse): Uint8Array { - return QueryVotesByProposalResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryVotesByProposalResponse): QueryVotesByProposalResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryVotesByProposalResponse", - value: QueryVotesByProposalResponse.encode(message).finish() - }; - } -}; -function createBaseQueryVotesByVoterRequest(): QueryVotesByVoterRequest { - return { - voter: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryVotesByVoterRequest = { - typeUrl: "/cosmos.group.v1.QueryVotesByVoterRequest", - aminoType: "cosmos-sdk/QueryVotesByVoterRequest", - encode(message: QueryVotesByVoterRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.voter !== "") { - writer.uint32(10).string(message.voter); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesByVoterRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.voter = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVotesByVoterRequest { - const obj = createBaseQueryVotesByVoterRequest(); - if (isSet(object.voter)) obj.voter = String(object.voter); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryVotesByVoterRequest): unknown { - const obj: any = {}; - message.voter !== undefined && (obj.voter = message.voter); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryVotesByVoterRequest { - const message = createBaseQueryVotesByVoterRequest(); - message.voter = object.voter ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryVotesByVoterRequestSDKType): QueryVotesByVoterRequest { - return { - voter: object?.voter, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestSDKType { - const obj: any = {}; - obj.voter = message.voter; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryVotesByVoterRequestAmino): QueryVotesByVoterRequest { - return { - voter: object.voter, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestAmino { - const obj: any = {}; - obj.voter = message.voter; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryVotesByVoterRequestAminoMsg): QueryVotesByVoterRequest { - return QueryVotesByVoterRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestAminoMsg { - return { - type: "cosmos-sdk/QueryVotesByVoterRequest", - value: QueryVotesByVoterRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVotesByVoterRequestProtoMsg): QueryVotesByVoterRequest { - return QueryVotesByVoterRequest.decode(message.value); - }, - toProto(message: QueryVotesByVoterRequest): Uint8Array { - return QueryVotesByVoterRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryVotesByVoterRequest): QueryVotesByVoterRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryVotesByVoterRequest", - value: QueryVotesByVoterRequest.encode(message).finish() - }; - } -}; -function createBaseQueryVotesByVoterResponse(): QueryVotesByVoterResponse { - return { - votes: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryVotesByVoterResponse = { - typeUrl: "/cosmos.group.v1.QueryVotesByVoterResponse", - aminoType: "cosmos-sdk/QueryVotesByVoterResponse", - encode(message: QueryVotesByVoterResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.votes) { - Vote.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryVotesByVoterResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.votes.push(Vote.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryVotesByVoterResponse { - const obj = createBaseQueryVotesByVoterResponse(); - if (Array.isArray(object?.votes)) obj.votes = object.votes.map((e: any) => Vote.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryVotesByVoterResponse): unknown { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toJSON(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryVotesByVoterResponse { - const message = createBaseQueryVotesByVoterResponse(); - message.votes = object.votes?.map(e => Vote.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryVotesByVoterResponseSDKType): QueryVotesByVoterResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseSDKType { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toSDK(e) : undefined); - } else { - obj.votes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryVotesByVoterResponseAmino): QueryVotesByVoterResponse { - return { - votes: Array.isArray(object?.votes) ? object.votes.map((e: any) => Vote.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseAmino { - const obj: any = {}; - if (message.votes) { - obj.votes = message.votes.map(e => e ? Vote.toAmino(e) : undefined); - } else { - obj.votes = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryVotesByVoterResponseAminoMsg): QueryVotesByVoterResponse { - return QueryVotesByVoterResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseAminoMsg { - return { - type: "cosmos-sdk/QueryVotesByVoterResponse", - value: QueryVotesByVoterResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryVotesByVoterResponseProtoMsg): QueryVotesByVoterResponse { - return QueryVotesByVoterResponse.decode(message.value); - }, - toProto(message: QueryVotesByVoterResponse): Uint8Array { - return QueryVotesByVoterResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryVotesByVoterResponse): QueryVotesByVoterResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryVotesByVoterResponse", - value: QueryVotesByVoterResponse.encode(message).finish() - }; - } -}; -function createBaseQueryGroupsByMemberRequest(): QueryGroupsByMemberRequest { - return { - address: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryGroupsByMemberRequest = { - typeUrl: "/cosmos.group.v1.QueryGroupsByMemberRequest", - aminoType: "cosmos-sdk/QueryGroupsByMemberRequest", - encode(message: QueryGroupsByMemberRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupsByMemberRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupsByMemberRequest { - const obj = createBaseQueryGroupsByMemberRequest(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGroupsByMemberRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupsByMemberRequest { - const message = createBaseQueryGroupsByMemberRequest(); - message.address = object.address ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGroupsByMemberRequestSDKType): QueryGroupsByMemberRequest { - return { - address: object?.address, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestSDKType { - const obj: any = {}; - obj.address = message.address; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGroupsByMemberRequestAmino): QueryGroupsByMemberRequest { - return { - address: object.address, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestAmino { - const obj: any = {}; - obj.address = message.address; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupsByMemberRequestAminoMsg): QueryGroupsByMemberRequest { - return QueryGroupsByMemberRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestAminoMsg { - return { - type: "cosmos-sdk/QueryGroupsByMemberRequest", - value: QueryGroupsByMemberRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupsByMemberRequestProtoMsg): QueryGroupsByMemberRequest { - return QueryGroupsByMemberRequest.decode(message.value); - }, - toProto(message: QueryGroupsByMemberRequest): Uint8Array { - return QueryGroupsByMemberRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupsByMemberRequest): QueryGroupsByMemberRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupsByMemberRequest", - value: QueryGroupsByMemberRequest.encode(message).finish() - }; - } -}; -function createBaseQueryGroupsByMemberResponse(): QueryGroupsByMemberResponse { - return { - groups: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryGroupsByMemberResponse = { - typeUrl: "/cosmos.group.v1.QueryGroupsByMemberResponse", - aminoType: "cosmos-sdk/QueryGroupsByMemberResponse", - encode(message: QueryGroupsByMemberResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.groups) { - GroupInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryGroupsByMemberResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groups.push(GroupInfo.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryGroupsByMemberResponse { - const obj = createBaseQueryGroupsByMemberResponse(); - if (Array.isArray(object?.groups)) obj.groups = object.groups.map((e: any) => GroupInfo.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryGroupsByMemberResponse): unknown { - const obj: any = {}; - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toJSON(e) : undefined); - } else { - obj.groups = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryGroupsByMemberResponse { - const message = createBaseQueryGroupsByMemberResponse(); - message.groups = object.groups?.map(e => GroupInfo.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryGroupsByMemberResponseSDKType): QueryGroupsByMemberResponse { - return { - groups: Array.isArray(object?.groups) ? object.groups.map((e: any) => GroupInfo.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseSDKType { - const obj: any = {}; - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toSDK(e) : undefined); - } else { - obj.groups = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryGroupsByMemberResponseAmino): QueryGroupsByMemberResponse { - return { - groups: Array.isArray(object?.groups) ? object.groups.map((e: any) => GroupInfo.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseAmino { - const obj: any = {}; - if (message.groups) { - obj.groups = message.groups.map(e => e ? GroupInfo.toAmino(e) : undefined); - } else { - obj.groups = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryGroupsByMemberResponseAminoMsg): QueryGroupsByMemberResponse { - return QueryGroupsByMemberResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseAminoMsg { - return { - type: "cosmos-sdk/QueryGroupsByMemberResponse", - value: QueryGroupsByMemberResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryGroupsByMemberResponseProtoMsg): QueryGroupsByMemberResponse { - return QueryGroupsByMemberResponse.decode(message.value); - }, - toProto(message: QueryGroupsByMemberResponse): Uint8Array { - return QueryGroupsByMemberResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryGroupsByMemberResponse): QueryGroupsByMemberResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryGroupsByMemberResponse", - value: QueryGroupsByMemberResponse.encode(message).finish() - }; - } -}; -function createBaseQueryTallyResultRequest(): QueryTallyResultRequest { - return { - proposalId: Long.UZERO - }; -} -export const QueryTallyResultRequest = { - typeUrl: "/cosmos.group.v1.QueryTallyResultRequest", - aminoType: "cosmos-sdk/QueryTallyResultRequest", - encode(message: QueryTallyResultRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryTallyResultRequest { - const obj = createBaseQueryTallyResultRequest(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: QueryTallyResultRequest): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryTallyResultRequest { - const message = createBaseQueryTallyResultRequest(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: QueryTallyResultRequestSDKType): QueryTallyResultRequest { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: QueryTallyResultRequest): QueryTallyResultRequestSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: QueryTallyResultRequestAmino): QueryTallyResultRequest { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: QueryTallyResultRequest): QueryTallyResultRequestAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryTallyResultRequestAminoMsg): QueryTallyResultRequest { - return QueryTallyResultRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestAminoMsg { - return { - type: "cosmos-sdk/QueryTallyResultRequest", - value: QueryTallyResultRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryTallyResultRequestProtoMsg): QueryTallyResultRequest { - return QueryTallyResultRequest.decode(message.value); - }, - toProto(message: QueryTallyResultRequest): Uint8Array { - return QueryTallyResultRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryTallyResultRequest): QueryTallyResultRequestProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryTallyResultRequest", - value: QueryTallyResultRequest.encode(message).finish() - }; - } -}; -function createBaseQueryTallyResultResponse(): QueryTallyResultResponse { - return { - tally: TallyResult.fromPartial({}) - }; -} -export const QueryTallyResultResponse = { - typeUrl: "/cosmos.group.v1.QueryTallyResultResponse", - aminoType: "cosmos-sdk/QueryTallyResultResponse", - encode(message: QueryTallyResultResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tally !== undefined) { - TallyResult.encode(message.tally, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryTallyResultResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.tally = TallyResult.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryTallyResultResponse { - const obj = createBaseQueryTallyResultResponse(); - if (isSet(object.tally)) obj.tally = TallyResult.fromJSON(object.tally); - return obj; - }, - toJSON(message: QueryTallyResultResponse): unknown { - const obj: any = {}; - message.tally !== undefined && (obj.tally = message.tally ? TallyResult.toJSON(message.tally) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryTallyResultResponse { - const message = createBaseQueryTallyResultResponse(); - if (object.tally !== undefined && object.tally !== null) { - message.tally = TallyResult.fromPartial(object.tally); - } - return message; - }, - fromSDK(object: QueryTallyResultResponseSDKType): QueryTallyResultResponse { - return { - tally: object.tally ? TallyResult.fromSDK(object.tally) : undefined - }; - }, - toSDK(message: QueryTallyResultResponse): QueryTallyResultResponseSDKType { - const obj: any = {}; - message.tally !== undefined && (obj.tally = message.tally ? TallyResult.toSDK(message.tally) : undefined); - return obj; - }, - fromAmino(object: QueryTallyResultResponseAmino): QueryTallyResultResponse { - return { - tally: object?.tally ? TallyResult.fromAmino(object.tally) : undefined - }; - }, - toAmino(message: QueryTallyResultResponse): QueryTallyResultResponseAmino { - const obj: any = {}; - obj.tally = message.tally ? TallyResult.toAmino(message.tally) : undefined; - return obj; - }, - fromAminoMsg(object: QueryTallyResultResponseAminoMsg): QueryTallyResultResponse { - return QueryTallyResultResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseAminoMsg { - return { - type: "cosmos-sdk/QueryTallyResultResponse", - value: QueryTallyResultResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryTallyResultResponseProtoMsg): QueryTallyResultResponse { - return QueryTallyResultResponse.decode(message.value); - }, - toProto(message: QueryTallyResultResponse): Uint8Array { - return QueryTallyResultResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryTallyResultResponse): QueryTallyResultResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.QueryTallyResultResponse", - value: QueryTallyResultResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/group/v1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/group/v1/tx.amino.ts deleted file mode 100644 index 8a99b0a54..000000000 --- a/quicksilverjs/src/codegen/cosmos/group/v1/tx.amino.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { Member, MemberSDKType, VoteOption, VoteOptionSDKType, ThresholdDecisionPolicy, ThresholdDecisionPolicySDKType, PercentageDecisionPolicy, PercentageDecisionPolicySDKType } from "./types"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { MsgCreateGroup, MsgCreateGroupSDKType, MsgUpdateGroupMembers, MsgUpdateGroupMembersSDKType, MsgUpdateGroupAdmin, MsgUpdateGroupAdminSDKType, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataSDKType, MsgCreateGroupPolicy, MsgCreateGroupPolicySDKType, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicySDKType, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminSDKType, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicySDKType, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataSDKType, MsgSubmitProposal, MsgSubmitProposalSDKType, MsgWithdrawProposal, MsgWithdrawProposalSDKType, MsgVote, MsgVoteSDKType, MsgExec, MsgExecSDKType, MsgLeaveGroup, MsgLeaveGroupSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.group.v1.MsgCreateGroup": { - aminoType: "cosmos-sdk/MsgCreateGroup", - toAmino: MsgCreateGroup.toAmino, - fromAmino: MsgCreateGroup.fromAmino - }, - "/cosmos.group.v1.MsgUpdateGroupMembers": { - aminoType: "cosmos-sdk/MsgUpdateGroupMembers", - toAmino: MsgUpdateGroupMembers.toAmino, - fromAmino: MsgUpdateGroupMembers.fromAmino - }, - "/cosmos.group.v1.MsgUpdateGroupAdmin": { - aminoType: "cosmos-sdk/MsgUpdateGroupAdmin", - toAmino: MsgUpdateGroupAdmin.toAmino, - fromAmino: MsgUpdateGroupAdmin.fromAmino - }, - "/cosmos.group.v1.MsgUpdateGroupMetadata": { - aminoType: "cosmos-sdk/MsgUpdateGroupMetadata", - toAmino: MsgUpdateGroupMetadata.toAmino, - fromAmino: MsgUpdateGroupMetadata.fromAmino - }, - "/cosmos.group.v1.MsgCreateGroupPolicy": { - aminoType: "cosmos-sdk/MsgCreateGroupPolicy", - toAmino: MsgCreateGroupPolicy.toAmino, - fromAmino: MsgCreateGroupPolicy.fromAmino - }, - "/cosmos.group.v1.MsgCreateGroupWithPolicy": { - aminoType: "cosmos-sdk/MsgCreateGroupWithPolicy", - toAmino: MsgCreateGroupWithPolicy.toAmino, - fromAmino: MsgCreateGroupWithPolicy.fromAmino - }, - "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin": { - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyAdmin", - toAmino: MsgUpdateGroupPolicyAdmin.toAmino, - fromAmino: MsgUpdateGroupPolicyAdmin.fromAmino - }, - "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy": { - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy", - toAmino: MsgUpdateGroupPolicyDecisionPolicy.toAmino, - fromAmino: MsgUpdateGroupPolicyDecisionPolicy.fromAmino - }, - "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata": { - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyMetadata", - toAmino: MsgUpdateGroupPolicyMetadata.toAmino, - fromAmino: MsgUpdateGroupPolicyMetadata.fromAmino - }, - "/cosmos.group.v1.MsgSubmitProposal": { - aminoType: "cosmos-sdk/group/MsgSubmitProposal", - toAmino: MsgSubmitProposal.toAmino, - fromAmino: MsgSubmitProposal.fromAmino - }, - "/cosmos.group.v1.MsgWithdrawProposal": { - aminoType: "cosmos-sdk/group/MsgWithdrawProposal", - toAmino: MsgWithdrawProposal.toAmino, - fromAmino: MsgWithdrawProposal.fromAmino - }, - "/cosmos.group.v1.MsgVote": { - aminoType: "cosmos-sdk/group/MsgVote", - toAmino: MsgVote.toAmino, - fromAmino: MsgVote.fromAmino - }, - "/cosmos.group.v1.MsgExec": { - aminoType: "cosmos-sdk/group/MsgExec", - toAmino: MsgExec.toAmino, - fromAmino: MsgExec.fromAmino - }, - "/cosmos.group.v1.MsgLeaveGroup": { - aminoType: "cosmos-sdk/group/MsgLeaveGroup", - toAmino: MsgLeaveGroup.toAmino, - fromAmino: MsgLeaveGroup.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/group/v1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/group/v1/tx.registry.ts deleted file mode 100644 index 10e2d9bc7..000000000 --- a/quicksilverjs/src/codegen/cosmos/group/v1/tx.registry.ts +++ /dev/null @@ -1,442 +0,0 @@ -import { Member, MemberSDKType, VoteOption, VoteOptionSDKType, ThresholdDecisionPolicy, ThresholdDecisionPolicySDKType, PercentageDecisionPolicy, PercentageDecisionPolicySDKType } from "./types"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgCreateGroup, MsgCreateGroupSDKType, MsgUpdateGroupMembers, MsgUpdateGroupMembersSDKType, MsgUpdateGroupAdmin, MsgUpdateGroupAdminSDKType, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataSDKType, MsgCreateGroupPolicy, MsgCreateGroupPolicySDKType, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicySDKType, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminSDKType, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicySDKType, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataSDKType, MsgSubmitProposal, MsgSubmitProposalSDKType, MsgWithdrawProposal, MsgWithdrawProposalSDKType, MsgVote, MsgVoteSDKType, MsgExec, MsgExecSDKType, MsgLeaveGroup, MsgLeaveGroupSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.group.v1.MsgCreateGroup", MsgCreateGroup], ["/cosmos.group.v1.MsgUpdateGroupMembers", MsgUpdateGroupMembers], ["/cosmos.group.v1.MsgUpdateGroupAdmin", MsgUpdateGroupAdmin], ["/cosmos.group.v1.MsgUpdateGroupMetadata", MsgUpdateGroupMetadata], ["/cosmos.group.v1.MsgCreateGroupPolicy", MsgCreateGroupPolicy], ["/cosmos.group.v1.MsgCreateGroupWithPolicy", MsgCreateGroupWithPolicy], ["/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", MsgUpdateGroupPolicyAdmin], ["/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", MsgUpdateGroupPolicyDecisionPolicy], ["/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", MsgUpdateGroupPolicyMetadata], ["/cosmos.group.v1.MsgSubmitProposal", MsgSubmitProposal], ["/cosmos.group.v1.MsgWithdrawProposal", MsgWithdrawProposal], ["/cosmos.group.v1.MsgVote", MsgVote], ["/cosmos.group.v1.MsgExec", MsgExec], ["/cosmos.group.v1.MsgLeaveGroup", MsgLeaveGroup]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - createGroup(value: MsgCreateGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - value: MsgCreateGroup.encode(value).finish() - }; - }, - updateGroupMembers(value: MsgUpdateGroupMembers) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - value: MsgUpdateGroupMembers.encode(value).finish() - }; - }, - updateGroupAdmin(value: MsgUpdateGroupAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - value: MsgUpdateGroupAdmin.encode(value).finish() - }; - }, - updateGroupMetadata(value: MsgUpdateGroupMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - value: MsgUpdateGroupMetadata.encode(value).finish() - }; - }, - createGroupPolicy(value: MsgCreateGroupPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - value: MsgCreateGroupPolicy.encode(value).finish() - }; - }, - createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - value: MsgCreateGroupWithPolicy.encode(value).finish() - }; - }, - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - value: MsgUpdateGroupPolicyAdmin.encode(value).finish() - }; - }, - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - value: MsgUpdateGroupPolicyDecisionPolicy.encode(value).finish() - }; - }, - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - value: MsgUpdateGroupPolicyMetadata.encode(value).finish() - }; - }, - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - value: MsgSubmitProposal.encode(value).finish() - }; - }, - withdrawProposal(value: MsgWithdrawProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - value: MsgWithdrawProposal.encode(value).finish() - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.group.v1.MsgVote", - value: MsgVote.encode(value).finish() - }; - }, - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.group.v1.MsgExec", - value: MsgExec.encode(value).finish() - }; - }, - leaveGroup(value: MsgLeaveGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - value: MsgLeaveGroup.encode(value).finish() - }; - } - }, - withTypeUrl: { - createGroup(value: MsgCreateGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - value - }; - }, - updateGroupMembers(value: MsgUpdateGroupMembers) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - value - }; - }, - updateGroupAdmin(value: MsgUpdateGroupAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - value - }; - }, - updateGroupMetadata(value: MsgUpdateGroupMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - value - }; - }, - createGroupPolicy(value: MsgCreateGroupPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - value - }; - }, - createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - value - }; - }, - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - value - }; - }, - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - value - }; - }, - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - value - }; - }, - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - value - }; - }, - withdrawProposal(value: MsgWithdrawProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - value - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.group.v1.MsgVote", - value - }; - }, - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.group.v1.MsgExec", - value - }; - }, - leaveGroup(value: MsgLeaveGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - value - }; - } - }, - toJSON: { - createGroup(value: MsgCreateGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - value: MsgCreateGroup.toJSON(value) - }; - }, - updateGroupMembers(value: MsgUpdateGroupMembers) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - value: MsgUpdateGroupMembers.toJSON(value) - }; - }, - updateGroupAdmin(value: MsgUpdateGroupAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - value: MsgUpdateGroupAdmin.toJSON(value) - }; - }, - updateGroupMetadata(value: MsgUpdateGroupMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - value: MsgUpdateGroupMetadata.toJSON(value) - }; - }, - createGroupPolicy(value: MsgCreateGroupPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - value: MsgCreateGroupPolicy.toJSON(value) - }; - }, - createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - value: MsgCreateGroupWithPolicy.toJSON(value) - }; - }, - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - value: MsgUpdateGroupPolicyAdmin.toJSON(value) - }; - }, - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - value: MsgUpdateGroupPolicyDecisionPolicy.toJSON(value) - }; - }, - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - value: MsgUpdateGroupPolicyMetadata.toJSON(value) - }; - }, - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - value: MsgSubmitProposal.toJSON(value) - }; - }, - withdrawProposal(value: MsgWithdrawProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - value: MsgWithdrawProposal.toJSON(value) - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.group.v1.MsgVote", - value: MsgVote.toJSON(value) - }; - }, - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.group.v1.MsgExec", - value: MsgExec.toJSON(value) - }; - }, - leaveGroup(value: MsgLeaveGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - value: MsgLeaveGroup.toJSON(value) - }; - } - }, - fromJSON: { - createGroup(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - value: MsgCreateGroup.fromJSON(value) - }; - }, - updateGroupMembers(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - value: MsgUpdateGroupMembers.fromJSON(value) - }; - }, - updateGroupAdmin(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - value: MsgUpdateGroupAdmin.fromJSON(value) - }; - }, - updateGroupMetadata(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - value: MsgUpdateGroupMetadata.fromJSON(value) - }; - }, - createGroupPolicy(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - value: MsgCreateGroupPolicy.fromJSON(value) - }; - }, - createGroupWithPolicy(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - value: MsgCreateGroupWithPolicy.fromJSON(value) - }; - }, - updateGroupPolicyAdmin(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - value: MsgUpdateGroupPolicyAdmin.fromJSON(value) - }; - }, - updateGroupPolicyDecisionPolicy(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - value: MsgUpdateGroupPolicyDecisionPolicy.fromJSON(value) - }; - }, - updateGroupPolicyMetadata(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - value: MsgUpdateGroupPolicyMetadata.fromJSON(value) - }; - }, - submitProposal(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - value: MsgSubmitProposal.fromJSON(value) - }; - }, - withdrawProposal(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - value: MsgWithdrawProposal.fromJSON(value) - }; - }, - vote(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgVote", - value: MsgVote.fromJSON(value) - }; - }, - exec(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgExec", - value: MsgExec.fromJSON(value) - }; - }, - leaveGroup(value: any) { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - value: MsgLeaveGroup.fromJSON(value) - }; - } - }, - fromPartial: { - createGroup(value: MsgCreateGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - value: MsgCreateGroup.fromPartial(value) - }; - }, - updateGroupMembers(value: MsgUpdateGroupMembers) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - value: MsgUpdateGroupMembers.fromPartial(value) - }; - }, - updateGroupAdmin(value: MsgUpdateGroupAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - value: MsgUpdateGroupAdmin.fromPartial(value) - }; - }, - updateGroupMetadata(value: MsgUpdateGroupMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - value: MsgUpdateGroupMetadata.fromPartial(value) - }; - }, - createGroupPolicy(value: MsgCreateGroupPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - value: MsgCreateGroupPolicy.fromPartial(value) - }; - }, - createGroupWithPolicy(value: MsgCreateGroupWithPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - value: MsgCreateGroupWithPolicy.fromPartial(value) - }; - }, - updateGroupPolicyAdmin(value: MsgUpdateGroupPolicyAdmin) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - value: MsgUpdateGroupPolicyAdmin.fromPartial(value) - }; - }, - updateGroupPolicyDecisionPolicy(value: MsgUpdateGroupPolicyDecisionPolicy) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - value: MsgUpdateGroupPolicyDecisionPolicy.fromPartial(value) - }; - }, - updateGroupPolicyMetadata(value: MsgUpdateGroupPolicyMetadata) { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - value: MsgUpdateGroupPolicyMetadata.fromPartial(value) - }; - }, - submitProposal(value: MsgSubmitProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - value: MsgSubmitProposal.fromPartial(value) - }; - }, - withdrawProposal(value: MsgWithdrawProposal) { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - value: MsgWithdrawProposal.fromPartial(value) - }; - }, - vote(value: MsgVote) { - return { - typeUrl: "/cosmos.group.v1.MsgVote", - value: MsgVote.fromPartial(value) - }; - }, - exec(value: MsgExec) { - return { - typeUrl: "/cosmos.group.v1.MsgExec", - value: MsgExec.fromPartial(value) - }; - }, - leaveGroup(value: MsgLeaveGroup) { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - value: MsgLeaveGroup.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/group/v1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/group/v1/tx.rpc.msg.ts deleted file mode 100644 index 1cdd69915..000000000 --- a/quicksilverjs/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +++ /dev/null @@ -1,118 +0,0 @@ -import { Member, MemberSDKType, VoteOption, VoteOptionSDKType, ThresholdDecisionPolicy, ThresholdDecisionPolicySDKType, PercentageDecisionPolicy, PercentageDecisionPolicySDKType } from "./types"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as fm from "../../../grpc-gateway"; -import { MsgCreateGroup, MsgCreateGroupSDKType, MsgCreateGroupResponse, MsgCreateGroupResponseSDKType, MsgUpdateGroupMembers, MsgUpdateGroupMembersSDKType, MsgUpdateGroupMembersResponse, MsgUpdateGroupMembersResponseSDKType, MsgUpdateGroupAdmin, MsgUpdateGroupAdminSDKType, MsgUpdateGroupAdminResponse, MsgUpdateGroupAdminResponseSDKType, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataSDKType, MsgUpdateGroupMetadataResponse, MsgUpdateGroupMetadataResponseSDKType, MsgCreateGroupPolicy, MsgCreateGroupPolicySDKType, MsgCreateGroupPolicyResponse, MsgCreateGroupPolicyResponseSDKType, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicySDKType, MsgCreateGroupWithPolicyResponse, MsgCreateGroupWithPolicyResponseSDKType, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminSDKType, MsgUpdateGroupPolicyAdminResponse, MsgUpdateGroupPolicyAdminResponseSDKType, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicySDKType, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyDecisionPolicyResponseSDKType, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataSDKType, MsgUpdateGroupPolicyMetadataResponse, MsgUpdateGroupPolicyMetadataResponseSDKType, MsgSubmitProposal, MsgSubmitProposalSDKType, MsgSubmitProposalResponse, MsgSubmitProposalResponseSDKType, MsgWithdrawProposal, MsgWithdrawProposalSDKType, MsgWithdrawProposalResponse, MsgWithdrawProposalResponseSDKType, MsgVote, MsgVoteSDKType, MsgVoteResponse, MsgVoteResponseSDKType, MsgExec, MsgExecSDKType, MsgExecResponse, MsgExecResponseSDKType, MsgLeaveGroup, MsgLeaveGroupSDKType, MsgLeaveGroupResponse, MsgLeaveGroupResponseSDKType } from "./tx"; -export class Msg { - /** CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. */ - static createGroup(request: MsgCreateGroup, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/createGroup`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** UpdateGroupMembers updates the group members with given group id and admin address. */ - static updateGroupMembers(request: MsgUpdateGroupMembers, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/updateGroupMembers`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** UpdateGroupAdmin updates the group admin with given group id and previous admin address. */ - static updateGroupAdmin(request: MsgUpdateGroupAdmin, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/updateGroupAdmin`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** UpdateGroupMetadata updates the group metadata with given group id and admin address. */ - static updateGroupMetadata(request: MsgUpdateGroupMetadata, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/updateGroupMetadata`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** CreateGroupPolicy creates a new group policy using given DecisionPolicy. */ - static createGroupPolicy(request: MsgCreateGroupPolicy, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/createGroupPolicy`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** CreateGroupWithPolicy creates a new group with policy. */ - static createGroupWithPolicy(request: MsgCreateGroupWithPolicy, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/createGroupWithPolicy`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** UpdateGroupPolicyAdmin updates a group policy admin. */ - static updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/updateGroupPolicyAdmin`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. */ - static updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/updateGroupPolicyDecisionPolicy`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** UpdateGroupPolicyMetadata updates a group policy metadata. */ - static updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/updateGroupPolicyMetadata`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** SubmitProposal submits a new proposal. */ - static submitProposal(request: MsgSubmitProposal, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/submitProposal`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** WithdrawProposal aborts a proposal. */ - static withdrawProposal(request: MsgWithdrawProposal, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/withdrawProposal`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** Vote allows a voter to vote on a proposal. */ - static vote(request: MsgVote, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/vote`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** Exec executes a proposal. */ - static exec(request: MsgExec, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/exec`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** LeaveGroup allows a group member to leave the group. */ - static leaveGroup(request: MsgLeaveGroup, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.group.v1/leaveGroup`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/group/v1/tx.ts b/quicksilverjs/src/codegen/cosmos/group/v1/tx.ts deleted file mode 100644 index 7c19fc0cf..000000000 --- a/quicksilverjs/src/codegen/cosmos/group/v1/tx.ts +++ /dev/null @@ -1,3691 +0,0 @@ -import { Member, MemberAmino, MemberSDKType, VoteOption, VoteOptionSDKType, ThresholdDecisionPolicy, ThresholdDecisionPolicyProtoMsg, ThresholdDecisionPolicySDKType, PercentageDecisionPolicy, PercentageDecisionPolicyProtoMsg, PercentageDecisionPolicySDKType, voteOptionFromJSON, voteOptionToJSON } from "./types"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.group.v1"; -/** Exec defines modes of execution of a proposal on creation or on new vote. */ -export enum Exec { - /** - * EXEC_UNSPECIFIED - An empty value means that there should be a separate - * MsgExec request for the proposal to execute. - */ - EXEC_UNSPECIFIED = 0, - /** - * EXEC_TRY - Try to execute the proposal immediately. - * If the proposal is not allowed per the DecisionPolicy, - * the proposal will still be open and could - * be executed at a later point. - */ - EXEC_TRY = 1, - UNRECOGNIZED = -1, -} -export const ExecSDKType = Exec; -export const ExecAmino = Exec; -export function execFromJSON(object: any): Exec { - switch (object) { - case 0: - case "EXEC_UNSPECIFIED": - return Exec.EXEC_UNSPECIFIED; - case 1: - case "EXEC_TRY": - return Exec.EXEC_TRY; - case -1: - case "UNRECOGNIZED": - default: - return Exec.UNRECOGNIZED; - } -} -export function execToJSON(object: Exec): string { - switch (object) { - case Exec.EXEC_UNSPECIFIED: - return "EXEC_UNSPECIFIED"; - case Exec.EXEC_TRY: - return "EXEC_TRY"; - case Exec.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** MsgCreateGroup is the Msg/CreateGroup request type. */ -export interface MsgCreateGroup { - /** admin is the account address of the group admin. */ - admin: string; - /** members defines the group members. */ - members: Member[]; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; -} -export interface MsgCreateGroupProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroup"; - value: Uint8Array; -} -/** MsgCreateGroup is the Msg/CreateGroup request type. */ -export interface MsgCreateGroupAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** members defines the group members. */ - members: MemberAmino[]; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; -} -export interface MsgCreateGroupAminoMsg { - type: "cosmos-sdk/MsgCreateGroup"; - value: MsgCreateGroupAmino; -} -/** MsgCreateGroup is the Msg/CreateGroup request type. */ -export interface MsgCreateGroupSDKType { - admin: string; - members: MemberSDKType[]; - metadata: string; -} -/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ -export interface MsgCreateGroupResponse { - /** group_id is the unique ID of the newly created group. */ - groupId: Long; -} -export interface MsgCreateGroupResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupResponse"; - value: Uint8Array; -} -/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ -export interface MsgCreateGroupResponseAmino { - /** group_id is the unique ID of the newly created group. */ - group_id: string; -} -export interface MsgCreateGroupResponseAminoMsg { - type: "cosmos-sdk/MsgCreateGroupResponse"; - value: MsgCreateGroupResponseAmino; -} -/** MsgCreateGroupResponse is the Msg/CreateGroup response type. */ -export interface MsgCreateGroupResponseSDKType { - group_id: Long; -} -/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ -export interface MsgUpdateGroupMembers { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: Long; - /** - * member_updates is the list of members to update, - * set weight to 0 to remove a member. - */ - memberUpdates: Member[]; -} -export interface MsgUpdateGroupMembersProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers"; - value: Uint8Array; -} -/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ -export interface MsgUpdateGroupMembersAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - group_id: string; - /** - * member_updates is the list of members to update, - * set weight to 0 to remove a member. - */ - member_updates: MemberAmino[]; -} -export interface MsgUpdateGroupMembersAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMembers"; - value: MsgUpdateGroupMembersAmino; -} -/** MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type. */ -export interface MsgUpdateGroupMembersSDKType { - admin: string; - group_id: Long; - member_updates: MemberSDKType[]; -} -/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ -export interface MsgUpdateGroupMembersResponse {} -export interface MsgUpdateGroupMembersResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembersResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ -export interface MsgUpdateGroupMembersResponseAmino {} -export interface MsgUpdateGroupMembersResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMembersResponse"; - value: MsgUpdateGroupMembersResponseAmino; -} -/** MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type. */ -export interface MsgUpdateGroupMembersResponseSDKType {} -/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ -export interface MsgUpdateGroupAdmin { - /** admin is the current account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: Long; - /** new_admin is the group new admin account address. */ - newAdmin: string; -} -export interface MsgUpdateGroupAdminProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin"; - value: Uint8Array; -} -/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ -export interface MsgUpdateGroupAdminAmino { - /** admin is the current account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - group_id: string; - /** new_admin is the group new admin account address. */ - new_admin: string; -} -export interface MsgUpdateGroupAdminAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupAdmin"; - value: MsgUpdateGroupAdminAmino; -} -/** MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type. */ -export interface MsgUpdateGroupAdminSDKType { - admin: string; - group_id: Long; - new_admin: string; -} -/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ -export interface MsgUpdateGroupAdminResponse {} -export interface MsgUpdateGroupAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdminResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ -export interface MsgUpdateGroupAdminResponseAmino {} -export interface MsgUpdateGroupAdminResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupAdminResponse"; - value: MsgUpdateGroupAdminResponseAmino; -} -/** MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type. */ -export interface MsgUpdateGroupAdminResponseSDKType {} -/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ -export interface MsgUpdateGroupMetadata { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: Long; - /** metadata is the updated group's metadata. */ - metadata: string; -} -export interface MsgUpdateGroupMetadataProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata"; - value: Uint8Array; -} -/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ -export interface MsgUpdateGroupMetadataAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - group_id: string; - /** metadata is the updated group's metadata. */ - metadata: string; -} -export interface MsgUpdateGroupMetadataAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMetadata"; - value: MsgUpdateGroupMetadataAmino; -} -/** MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type. */ -export interface MsgUpdateGroupMetadataSDKType { - admin: string; - group_id: Long; - metadata: string; -} -/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ -export interface MsgUpdateGroupMetadataResponse {} -export interface MsgUpdateGroupMetadataResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadataResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ -export interface MsgUpdateGroupMetadataResponseAmino {} -export interface MsgUpdateGroupMetadataResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupMetadataResponse"; - value: MsgUpdateGroupMetadataResponseAmino; -} -/** MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type. */ -export interface MsgUpdateGroupMetadataResponseSDKType {} -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ -export interface MsgCreateGroupPolicy { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - groupId: Long; - /** metadata is any arbitrary metadata attached to the group policy. */ - metadata: string; - /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; -} -export interface MsgCreateGroupPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy"; - value: Uint8Array; -} -export type MsgCreateGroupPolicyEncoded = Omit & { - /** decision_policy specifies the group policy's decision policy. */decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ -export interface MsgCreateGroupPolicyAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** group_id is the unique ID of the group. */ - group_id: string; - /** metadata is any arbitrary metadata attached to the group policy. */ - metadata: string; - /** decision_policy specifies the group policy's decision policy. */ - decision_policy?: AnyAmino; -} -export interface MsgCreateGroupPolicyAminoMsg { - type: "cosmos-sdk/MsgCreateGroupPolicy"; - value: MsgCreateGroupPolicyAmino; -} -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ -export interface MsgCreateGroupPolicySDKType { - admin: string; - group_id: Long; - metadata: string; - decision_policy: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; -} -/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ -export interface MsgCreateGroupPolicyResponse { - /** address is the account address of the newly created group policy. */ - address: string; -} -export interface MsgCreateGroupPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicyResponse"; - value: Uint8Array; -} -/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ -export interface MsgCreateGroupPolicyResponseAmino { - /** address is the account address of the newly created group policy. */ - address: string; -} -export interface MsgCreateGroupPolicyResponseAminoMsg { - type: "cosmos-sdk/MsgCreateGroupPolicyResponse"; - value: MsgCreateGroupPolicyResponseAmino; -} -/** MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type. */ -export interface MsgCreateGroupPolicyResponseSDKType { - address: string; -} -/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ -export interface MsgUpdateGroupPolicyAdmin { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of the group policy. */ - address: string; - /** new_admin is the new group policy admin. */ - newAdmin: string; -} -export interface MsgUpdateGroupPolicyAdminProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ -export interface MsgUpdateGroupPolicyAdminAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of the group policy. */ - address: string; - /** new_admin is the new group policy admin. */ - new_admin: string; -} -export interface MsgUpdateGroupPolicyAdminAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin"; - value: MsgUpdateGroupPolicyAdminAmino; -} -/** MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type. */ -export interface MsgUpdateGroupPolicyAdminSDKType { - admin: string; - address: string; - new_admin: string; -} -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ -export interface MsgCreateGroupWithPolicy { - /** admin is the account address of the group and group policy admin. */ - admin: string; - /** members defines the group members. */ - members: Member[]; - /** group_metadata is any arbitrary metadata attached to the group. */ - groupMetadata: string; - /** group_policy_metadata is any arbitrary metadata attached to the group policy. */ - groupPolicyMetadata: string; - /** group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group and group policy admin. */ - groupPolicyAsAdmin: boolean; - /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; -} -export interface MsgCreateGroupWithPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy"; - value: Uint8Array; -} -export type MsgCreateGroupWithPolicyEncoded = Omit & { - /** decision_policy specifies the group policy's decision policy. */decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ -export interface MsgCreateGroupWithPolicyAmino { - /** admin is the account address of the group and group policy admin. */ - admin: string; - /** members defines the group members. */ - members: MemberAmino[]; - /** group_metadata is any arbitrary metadata attached to the group. */ - group_metadata: string; - /** group_policy_metadata is any arbitrary metadata attached to the group policy. */ - group_policy_metadata: string; - /** group_policy_as_admin is a boolean field, if set to true, the group policy account address will be used as group and group policy admin. */ - group_policy_as_admin: boolean; - /** decision_policy specifies the group policy's decision policy. */ - decision_policy?: AnyAmino; -} -export interface MsgCreateGroupWithPolicyAminoMsg { - type: "cosmos-sdk/MsgCreateGroupWithPolicy"; - value: MsgCreateGroupWithPolicyAmino; -} -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ -export interface MsgCreateGroupWithPolicySDKType { - admin: string; - members: MemberSDKType[]; - group_metadata: string; - group_policy_metadata: string; - group_policy_as_admin: boolean; - decision_policy: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; -} -/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ -export interface MsgCreateGroupWithPolicyResponse { - /** group_id is the unique ID of the newly created group with policy. */ - groupId: Long; - /** group_policy_address is the account address of the newly created group policy. */ - groupPolicyAddress: string; -} -export interface MsgCreateGroupWithPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicyResponse"; - value: Uint8Array; -} -/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ -export interface MsgCreateGroupWithPolicyResponseAmino { - /** group_id is the unique ID of the newly created group with policy. */ - group_id: string; - /** group_policy_address is the account address of the newly created group policy. */ - group_policy_address: string; -} -export interface MsgCreateGroupWithPolicyResponseAminoMsg { - type: "cosmos-sdk/MsgCreateGroupWithPolicyResponse"; - value: MsgCreateGroupWithPolicyResponseAmino; -} -/** MsgCreateGroupWithPolicyResponse is the Msg/CreateGroupWithPolicy response type. */ -export interface MsgCreateGroupWithPolicyResponseSDKType { - group_id: Long; - group_policy_address: string; -} -/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ -export interface MsgUpdateGroupPolicyAdminResponse {} -export interface MsgUpdateGroupPolicyAdminResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ -export interface MsgUpdateGroupPolicyAdminResponseAmino {} -export interface MsgUpdateGroupPolicyAdminResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyAdminResponse"; - value: MsgUpdateGroupPolicyAdminResponseAmino; -} -/** MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type. */ -export interface MsgUpdateGroupPolicyAdminResponseSDKType {} -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ -export interface MsgUpdateGroupPolicyDecisionPolicy { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of group policy. */ - address: string; - /** decision_policy is the updated group policy's decision policy. */ - decisionPolicy: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; -} -export interface MsgUpdateGroupPolicyDecisionPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy"; - value: Uint8Array; -} -export type MsgUpdateGroupPolicyDecisionPolicyEncoded = Omit & { - /** decision_policy is the updated group policy's decision policy. */decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of group policy. */ - address: string; - /** decision_policy is the updated group policy's decision policy. */ - decision_policy?: AnyAmino; -} -export interface MsgUpdateGroupPolicyDecisionPolicyAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy"; - value: MsgUpdateGroupPolicyDecisionPolicyAmino; -} -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ -export interface MsgUpdateGroupPolicyDecisionPolicySDKType { - admin: string; - address: string; - decision_policy: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; -} -/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyResponse {} -export interface MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyResponseAmino {} -export interface MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicyResponse"; - value: MsgUpdateGroupPolicyDecisionPolicyResponseAmino; -} -/** MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type. */ -export interface MsgUpdateGroupPolicyDecisionPolicyResponseSDKType {} -/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ -export interface MsgUpdateGroupPolicyMetadata { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of group policy. */ - address: string; - /** metadata is the updated group policy metadata. */ - metadata: string; -} -export interface MsgUpdateGroupPolicyMetadataProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ -export interface MsgUpdateGroupPolicyMetadataAmino { - /** admin is the account address of the group admin. */ - admin: string; - /** address is the account address of group policy. */ - address: string; - /** metadata is the updated group policy metadata. */ - metadata: string; -} -export interface MsgUpdateGroupPolicyMetadataAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata"; - value: MsgUpdateGroupPolicyMetadataAmino; -} -/** MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type. */ -export interface MsgUpdateGroupPolicyMetadataSDKType { - admin: string; - address: string; - metadata: string; -} -/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ -export interface MsgUpdateGroupPolicyMetadataResponse {} -export interface MsgUpdateGroupPolicyMetadataResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse"; - value: Uint8Array; -} -/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ -export interface MsgUpdateGroupPolicyMetadataResponseAmino {} -export interface MsgUpdateGroupPolicyMetadataResponseAminoMsg { - type: "cosmos-sdk/MsgUpdateGroupPolicyMetadataResponse"; - value: MsgUpdateGroupPolicyMetadataResponseAmino; -} -/** MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type. */ -export interface MsgUpdateGroupPolicyMetadataResponseSDKType {} -/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ -export interface MsgSubmitProposal { - /** address is the account address of group policy. */ - address: string; - /** - * proposers are the account addresses of the proposers. - * Proposers signatures will be counted as yes votes. - */ - proposers: string[]; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; - /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ - messages: Any[]; - /** - * exec defines the mode of execution of the proposal, - * whether it should be executed immediately on creation or not. - * If so, proposers signatures are considered as Yes votes. - */ - exec: Exec; -} -export interface MsgSubmitProposalProtoMsg { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal"; - value: Uint8Array; -} -/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ -export interface MsgSubmitProposalAmino { - /** address is the account address of group policy. */ - address: string; - /** - * proposers are the account addresses of the proposers. - * Proposers signatures will be counted as yes votes. - */ - proposers: string[]; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; - /** messages is a list of `sdk.Msg`s that will be executed if the proposal passes. */ - messages: AnyAmino[]; - /** - * exec defines the mode of execution of the proposal, - * whether it should be executed immediately on creation or not. - * If so, proposers signatures are considered as Yes votes. - */ - exec: Exec; -} -export interface MsgSubmitProposalAminoMsg { - type: "cosmos-sdk/group/MsgSubmitProposal"; - value: MsgSubmitProposalAmino; -} -/** MsgSubmitProposal is the Msg/SubmitProposal request type. */ -export interface MsgSubmitProposalSDKType { - address: string; - proposers: string[]; - metadata: string; - messages: AnySDKType[]; - exec: Exec; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponse { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; -} -export interface MsgSubmitProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgSubmitProposalResponse"; - value: Uint8Array; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id: string; -} -export interface MsgSubmitProposalResponseAminoMsg { - type: "cosmos-sdk/MsgSubmitProposalResponse"; - value: MsgSubmitProposalResponseAmino; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseSDKType { - proposal_id: Long; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ -export interface MsgWithdrawProposal { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** address is the admin of the group policy or one of the proposer of the proposal. */ - address: string; -} -export interface MsgWithdrawProposalProtoMsg { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal"; - value: Uint8Array; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ -export interface MsgWithdrawProposalAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id: string; - /** address is the admin of the group policy or one of the proposer of the proposal. */ - address: string; -} -export interface MsgWithdrawProposalAminoMsg { - type: "cosmos-sdk/group/MsgWithdrawProposal"; - value: MsgWithdrawProposalAmino; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ -export interface MsgWithdrawProposalSDKType { - proposal_id: Long; - address: string; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ -export interface MsgWithdrawProposalResponse {} -export interface MsgWithdrawProposalResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposalResponse"; - value: Uint8Array; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ -export interface MsgWithdrawProposalResponseAmino {} -export interface MsgWithdrawProposalResponseAminoMsg { - type: "cosmos-sdk/MsgWithdrawProposalResponse"; - value: MsgWithdrawProposalResponseAmino; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ -export interface MsgWithdrawProposalResponseSDKType {} -/** MsgVote is the Msg/Vote request type. */ -export interface MsgVote { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** voter is the voter account address. */ - voter: string; - /** option is the voter's choice on the proposal. */ - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; - /** - * exec defines whether the proposal should be executed - * immediately after voting or not. - */ - exec: Exec; -} -export interface MsgVoteProtoMsg { - typeUrl: "/cosmos.group.v1.MsgVote"; - value: Uint8Array; -} -/** MsgVote is the Msg/Vote request type. */ -export interface MsgVoteAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id: string; - /** voter is the voter account address. */ - voter: string; - /** option is the voter's choice on the proposal. */ - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; - /** - * exec defines whether the proposal should be executed - * immediately after voting or not. - */ - exec: Exec; -} -export interface MsgVoteAminoMsg { - type: "cosmos-sdk/group/MsgVote"; - value: MsgVoteAmino; -} -/** MsgVote is the Msg/Vote request type. */ -export interface MsgVoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOption; - metadata: string; - exec: Exec; -} -/** MsgVoteResponse is the Msg/Vote response type. */ -export interface MsgVoteResponse {} -export interface MsgVoteResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgVoteResponse"; - value: Uint8Array; -} -/** MsgVoteResponse is the Msg/Vote response type. */ -export interface MsgVoteResponseAmino {} -export interface MsgVoteResponseAminoMsg { - type: "cosmos-sdk/MsgVoteResponse"; - value: MsgVoteResponseAmino; -} -/** MsgVoteResponse is the Msg/Vote response type. */ -export interface MsgVoteResponseSDKType {} -/** MsgExec is the Msg/Exec request type. */ -export interface MsgExec { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** signer is the account address used to execute the proposal. */ - signer: string; -} -export interface MsgExecProtoMsg { - typeUrl: "/cosmos.group.v1.MsgExec"; - value: Uint8Array; -} -/** MsgExec is the Msg/Exec request type. */ -export interface MsgExecAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id: string; - /** signer is the account address used to execute the proposal. */ - signer: string; -} -export interface MsgExecAminoMsg { - type: "cosmos-sdk/group/MsgExec"; - value: MsgExecAmino; -} -/** MsgExec is the Msg/Exec request type. */ -export interface MsgExecSDKType { - proposal_id: Long; - signer: string; -} -/** MsgExecResponse is the Msg/Exec request type. */ -export interface MsgExecResponse {} -export interface MsgExecResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgExecResponse"; - value: Uint8Array; -} -/** MsgExecResponse is the Msg/Exec request type. */ -export interface MsgExecResponseAmino {} -export interface MsgExecResponseAminoMsg { - type: "cosmos-sdk/MsgExecResponse"; - value: MsgExecResponseAmino; -} -/** MsgExecResponse is the Msg/Exec request type. */ -export interface MsgExecResponseSDKType {} -/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ -export interface MsgLeaveGroup { - /** address is the account address of the group member. */ - address: string; - /** group_id is the unique ID of the group. */ - groupId: Long; -} -export interface MsgLeaveGroupProtoMsg { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup"; - value: Uint8Array; -} -/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ -export interface MsgLeaveGroupAmino { - /** address is the account address of the group member. */ - address: string; - /** group_id is the unique ID of the group. */ - group_id: string; -} -export interface MsgLeaveGroupAminoMsg { - type: "cosmos-sdk/group/MsgLeaveGroup"; - value: MsgLeaveGroupAmino; -} -/** MsgLeaveGroup is the Msg/LeaveGroup request type. */ -export interface MsgLeaveGroupSDKType { - address: string; - group_id: Long; -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ -export interface MsgLeaveGroupResponse {} -export interface MsgLeaveGroupResponseProtoMsg { - typeUrl: "/cosmos.group.v1.MsgLeaveGroupResponse"; - value: Uint8Array; -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ -export interface MsgLeaveGroupResponseAmino {} -export interface MsgLeaveGroupResponseAminoMsg { - type: "cosmos-sdk/MsgLeaveGroupResponse"; - value: MsgLeaveGroupResponseAmino; -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ -export interface MsgLeaveGroupResponseSDKType {} -function createBaseMsgCreateGroup(): MsgCreateGroup { - return { - admin: "", - members: [], - metadata: "" - }; -} -export const MsgCreateGroup = { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - aminoType: "cosmos-sdk/MsgCreateGroup", - encode(message: MsgCreateGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - for (const v of message.members) { - Member.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroup { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroup(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - case 2: - message.members.push(Member.decode(reader, reader.uint32())); - break; - case 3: - message.metadata = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgCreateGroup { - const obj = createBaseMsgCreateGroup(); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (Array.isArray(object?.members)) obj.members = object.members.map((e: any) => Member.fromJSON(e)); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - return obj; - }, - toJSON(message: MsgCreateGroup): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - if (message.members) { - obj.members = message.members.map(e => e ? Member.toJSON(e) : undefined); - } else { - obj.members = []; - } - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: DeepPartial): MsgCreateGroup { - const message = createBaseMsgCreateGroup(); - message.admin = object.admin ?? ""; - message.members = object.members?.map(e => Member.fromPartial(e)) || []; - message.metadata = object.metadata ?? ""; - return message; - }, - fromSDK(object: MsgCreateGroupSDKType): MsgCreateGroup { - return { - admin: object?.admin, - members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.fromSDK(e)) : [], - metadata: object?.metadata - }; - }, - toSDK(message: MsgCreateGroup): MsgCreateGroupSDKType { - const obj: any = {}; - obj.admin = message.admin; - if (message.members) { - obj.members = message.members.map(e => e ? Member.toSDK(e) : undefined); - } else { - obj.members = []; - } - obj.metadata = message.metadata; - return obj; - }, - fromAmino(object: MsgCreateGroupAmino): MsgCreateGroup { - return { - admin: object.admin, - members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.fromAmino(e)) : [], - metadata: object.metadata - }; - }, - toAmino(message: MsgCreateGroup): MsgCreateGroupAmino { - const obj: any = {}; - obj.admin = message.admin; - if (message.members) { - obj.members = message.members.map(e => e ? Member.toAmino(e) : undefined); - } else { - obj.members = []; - } - obj.metadata = message.metadata; - return obj; - }, - fromAminoMsg(object: MsgCreateGroupAminoMsg): MsgCreateGroup { - return MsgCreateGroup.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreateGroup): MsgCreateGroupAminoMsg { - return { - type: "cosmos-sdk/MsgCreateGroup", - value: MsgCreateGroup.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreateGroupProtoMsg): MsgCreateGroup { - return MsgCreateGroup.decode(message.value); - }, - toProto(message: MsgCreateGroup): Uint8Array { - return MsgCreateGroup.encode(message).finish(); - }, - toProtoMsg(message: MsgCreateGroup): MsgCreateGroupProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroup", - value: MsgCreateGroup.encode(message).finish() - }; - } -}; -function createBaseMsgCreateGroupResponse(): MsgCreateGroupResponse { - return { - groupId: Long.UZERO - }; -} -export const MsgCreateGroupResponse = { - typeUrl: "/cosmos.group.v1.MsgCreateGroupResponse", - aminoType: "cosmos-sdk/MsgCreateGroupResponse", - encode(message: MsgCreateGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroupResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgCreateGroupResponse { - const obj = createBaseMsgCreateGroupResponse(); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - return obj; - }, - toJSON(message: MsgCreateGroupResponse): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): MsgCreateGroupResponse { - const message = createBaseMsgCreateGroupResponse(); - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - return message; - }, - fromSDK(object: MsgCreateGroupResponseSDKType): MsgCreateGroupResponse { - return { - groupId: object?.group_id - }; - }, - toSDK(message: MsgCreateGroupResponse): MsgCreateGroupResponseSDKType { - const obj: any = {}; - obj.group_id = message.groupId; - return obj; - }, - fromAmino(object: MsgCreateGroupResponseAmino): MsgCreateGroupResponse { - return { - groupId: Long.fromString(object.group_id) - }; - }, - toAmino(message: MsgCreateGroupResponse): MsgCreateGroupResponseAmino { - const obj: any = {}; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: MsgCreateGroupResponseAminoMsg): MsgCreateGroupResponse { - return MsgCreateGroupResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreateGroupResponse): MsgCreateGroupResponseAminoMsg { - return { - type: "cosmos-sdk/MsgCreateGroupResponse", - value: MsgCreateGroupResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreateGroupResponseProtoMsg): MsgCreateGroupResponse { - return MsgCreateGroupResponse.decode(message.value); - }, - toProto(message: MsgCreateGroupResponse): Uint8Array { - return MsgCreateGroupResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgCreateGroupResponse): MsgCreateGroupResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupResponse", - value: MsgCreateGroupResponse.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupMembers(): MsgUpdateGroupMembers { - return { - admin: "", - groupId: Long.UZERO, - memberUpdates: [] - }; -} -export const MsgUpdateGroupMembers = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - aminoType: "cosmos-sdk/MsgUpdateGroupMembers", - encode(message: MsgUpdateGroupMembers, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - for (const v of message.memberUpdates) { - Member.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembers { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupMembers(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - case 2: - message.groupId = (reader.uint64() as Long); - break; - case 3: - message.memberUpdates.push(Member.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgUpdateGroupMembers { - const obj = createBaseMsgUpdateGroupMembers(); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - if (Array.isArray(object?.memberUpdates)) obj.memberUpdates = object.memberUpdates.map((e: any) => Member.fromJSON(e)); - return obj; - }, - toJSON(message: MsgUpdateGroupMembers): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - if (message.memberUpdates) { - obj.memberUpdates = message.memberUpdates.map(e => e ? Member.toJSON(e) : undefined); - } else { - obj.memberUpdates = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgUpdateGroupMembers { - const message = createBaseMsgUpdateGroupMembers(); - message.admin = object.admin ?? ""; - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - message.memberUpdates = object.memberUpdates?.map(e => Member.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgUpdateGroupMembersSDKType): MsgUpdateGroupMembers { - return { - admin: object?.admin, - groupId: object?.group_id, - memberUpdates: Array.isArray(object?.member_updates) ? object.member_updates.map((e: any) => Member.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersSDKType { - const obj: any = {}; - obj.admin = message.admin; - obj.group_id = message.groupId; - if (message.memberUpdates) { - obj.member_updates = message.memberUpdates.map(e => e ? Member.toSDK(e) : undefined); - } else { - obj.member_updates = []; - } - return obj; - }, - fromAmino(object: MsgUpdateGroupMembersAmino): MsgUpdateGroupMembers { - return { - admin: object.admin, - groupId: Long.fromString(object.group_id), - memberUpdates: Array.isArray(object?.member_updates) ? object.member_updates.map((e: any) => Member.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersAmino { - const obj: any = {}; - obj.admin = message.admin; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - if (message.memberUpdates) { - obj.member_updates = message.memberUpdates.map(e => e ? Member.toAmino(e) : undefined); - } else { - obj.member_updates = []; - } - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupMembersAminoMsg): MsgUpdateGroupMembers { - return MsgUpdateGroupMembers.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupMembers", - value: MsgUpdateGroupMembers.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupMembersProtoMsg): MsgUpdateGroupMembers { - return MsgUpdateGroupMembers.decode(message.value); - }, - toProto(message: MsgUpdateGroupMembers): Uint8Array { - return MsgUpdateGroupMembers.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupMembers): MsgUpdateGroupMembersProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembers", - value: MsgUpdateGroupMembers.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupMembersResponse(): MsgUpdateGroupMembersResponse { - return {}; -} -export const MsgUpdateGroupMembersResponse = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembersResponse", - aminoType: "cosmos-sdk/MsgUpdateGroupMembersResponse", - encode(_: MsgUpdateGroupMembersResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupMembersResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgUpdateGroupMembersResponse { - const obj = createBaseMsgUpdateGroupMembersResponse(); - return obj; - }, - toJSON(_: MsgUpdateGroupMembersResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgUpdateGroupMembersResponse { - const message = createBaseMsgUpdateGroupMembersResponse(); - return message; - }, - fromSDK(_: MsgUpdateGroupMembersResponseSDKType): MsgUpdateGroupMembersResponse { - return {}; - }, - toSDK(_: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgUpdateGroupMembersResponseAmino): MsgUpdateGroupMembersResponse { - return {}; - }, - toAmino(_: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupMembersResponseAminoMsg): MsgUpdateGroupMembersResponse { - return MsgUpdateGroupMembersResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupMembersResponse", - value: MsgUpdateGroupMembersResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupMembersResponseProtoMsg): MsgUpdateGroupMembersResponse { - return MsgUpdateGroupMembersResponse.decode(message.value); - }, - toProto(message: MsgUpdateGroupMembersResponse): Uint8Array { - return MsgUpdateGroupMembersResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupMembersResponse): MsgUpdateGroupMembersResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMembersResponse", - value: MsgUpdateGroupMembersResponse.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupAdmin(): MsgUpdateGroupAdmin { - return { - admin: "", - groupId: Long.UZERO, - newAdmin: "" - }; -} -export const MsgUpdateGroupAdmin = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - aminoType: "cosmos-sdk/MsgUpdateGroupAdmin", - encode(message: MsgUpdateGroupAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - if (message.newAdmin !== "") { - writer.uint32(26).string(message.newAdmin); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdmin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupAdmin(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - case 2: - message.groupId = (reader.uint64() as Long); - break; - case 3: - message.newAdmin = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgUpdateGroupAdmin { - const obj = createBaseMsgUpdateGroupAdmin(); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - if (isSet(object.newAdmin)) obj.newAdmin = String(object.newAdmin); - return obj; - }, - toJSON(message: MsgUpdateGroupAdmin): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - return obj; - }, - fromPartial(object: DeepPartial): MsgUpdateGroupAdmin { - const message = createBaseMsgUpdateGroupAdmin(); - message.admin = object.admin ?? ""; - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - message.newAdmin = object.newAdmin ?? ""; - return message; - }, - fromSDK(object: MsgUpdateGroupAdminSDKType): MsgUpdateGroupAdmin { - return { - admin: object?.admin, - groupId: object?.group_id, - newAdmin: object?.new_admin - }; - }, - toSDK(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminSDKType { - const obj: any = {}; - obj.admin = message.admin; - obj.group_id = message.groupId; - obj.new_admin = message.newAdmin; - return obj; - }, - fromAmino(object: MsgUpdateGroupAdminAmino): MsgUpdateGroupAdmin { - return { - admin: object.admin, - groupId: Long.fromString(object.group_id), - newAdmin: object.new_admin - }; - }, - toAmino(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminAmino { - const obj: any = {}; - obj.admin = message.admin; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - obj.new_admin = message.newAdmin; - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupAdminAminoMsg): MsgUpdateGroupAdmin { - return MsgUpdateGroupAdmin.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupAdmin", - value: MsgUpdateGroupAdmin.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupAdminProtoMsg): MsgUpdateGroupAdmin { - return MsgUpdateGroupAdmin.decode(message.value); - }, - toProto(message: MsgUpdateGroupAdmin): Uint8Array { - return MsgUpdateGroupAdmin.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupAdmin): MsgUpdateGroupAdminProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdmin", - value: MsgUpdateGroupAdmin.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupAdminResponse(): MsgUpdateGroupAdminResponse { - return {}; -} -export const MsgUpdateGroupAdminResponse = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdminResponse", - aminoType: "cosmos-sdk/MsgUpdateGroupAdminResponse", - encode(_: MsgUpdateGroupAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupAdminResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgUpdateGroupAdminResponse { - const obj = createBaseMsgUpdateGroupAdminResponse(); - return obj; - }, - toJSON(_: MsgUpdateGroupAdminResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgUpdateGroupAdminResponse { - const message = createBaseMsgUpdateGroupAdminResponse(); - return message; - }, - fromSDK(_: MsgUpdateGroupAdminResponseSDKType): MsgUpdateGroupAdminResponse { - return {}; - }, - toSDK(_: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgUpdateGroupAdminResponseAmino): MsgUpdateGroupAdminResponse { - return {}; - }, - toAmino(_: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupAdminResponseAminoMsg): MsgUpdateGroupAdminResponse { - return MsgUpdateGroupAdminResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupAdminResponse", - value: MsgUpdateGroupAdminResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupAdminResponseProtoMsg): MsgUpdateGroupAdminResponse { - return MsgUpdateGroupAdminResponse.decode(message.value); - }, - toProto(message: MsgUpdateGroupAdminResponse): Uint8Array { - return MsgUpdateGroupAdminResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupAdminResponse): MsgUpdateGroupAdminResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupAdminResponse", - value: MsgUpdateGroupAdminResponse.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupMetadata(): MsgUpdateGroupMetadata { - return { - admin: "", - groupId: Long.UZERO, - metadata: "" - }; -} -export const MsgUpdateGroupMetadata = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - aminoType: "cosmos-sdk/MsgUpdateGroupMetadata", - encode(message: MsgUpdateGroupMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - case 2: - message.groupId = (reader.uint64() as Long); - break; - case 3: - message.metadata = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgUpdateGroupMetadata { - const obj = createBaseMsgUpdateGroupMetadata(); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - return obj; - }, - toJSON(message: MsgUpdateGroupMetadata): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: DeepPartial): MsgUpdateGroupMetadata { - const message = createBaseMsgUpdateGroupMetadata(); - message.admin = object.admin ?? ""; - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - message.metadata = object.metadata ?? ""; - return message; - }, - fromSDK(object: MsgUpdateGroupMetadataSDKType): MsgUpdateGroupMetadata { - return { - admin: object?.admin, - groupId: object?.group_id, - metadata: object?.metadata - }; - }, - toSDK(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataSDKType { - const obj: any = {}; - obj.admin = message.admin; - obj.group_id = message.groupId; - obj.metadata = message.metadata; - return obj; - }, - fromAmino(object: MsgUpdateGroupMetadataAmino): MsgUpdateGroupMetadata { - return { - admin: object.admin, - groupId: Long.fromString(object.group_id), - metadata: object.metadata - }; - }, - toAmino(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataAmino { - const obj: any = {}; - obj.admin = message.admin; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - obj.metadata = message.metadata; - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupMetadataAminoMsg): MsgUpdateGroupMetadata { - return MsgUpdateGroupMetadata.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupMetadata", - value: MsgUpdateGroupMetadata.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupMetadataProtoMsg): MsgUpdateGroupMetadata { - return MsgUpdateGroupMetadata.decode(message.value); - }, - toProto(message: MsgUpdateGroupMetadata): Uint8Array { - return MsgUpdateGroupMetadata.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupMetadata): MsgUpdateGroupMetadataProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadata", - value: MsgUpdateGroupMetadata.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupMetadataResponse(): MsgUpdateGroupMetadataResponse { - return {}; -} -export const MsgUpdateGroupMetadataResponse = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadataResponse", - aminoType: "cosmos-sdk/MsgUpdateGroupMetadataResponse", - encode(_: MsgUpdateGroupMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupMetadataResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgUpdateGroupMetadataResponse { - const obj = createBaseMsgUpdateGroupMetadataResponse(); - return obj; - }, - toJSON(_: MsgUpdateGroupMetadataResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgUpdateGroupMetadataResponse { - const message = createBaseMsgUpdateGroupMetadataResponse(); - return message; - }, - fromSDK(_: MsgUpdateGroupMetadataResponseSDKType): MsgUpdateGroupMetadataResponse { - return {}; - }, - toSDK(_: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgUpdateGroupMetadataResponseAmino): MsgUpdateGroupMetadataResponse { - return {}; - }, - toAmino(_: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupMetadataResponseAminoMsg): MsgUpdateGroupMetadataResponse { - return MsgUpdateGroupMetadataResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupMetadataResponse", - value: MsgUpdateGroupMetadataResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupMetadataResponseProtoMsg): MsgUpdateGroupMetadataResponse { - return MsgUpdateGroupMetadataResponse.decode(message.value); - }, - toProto(message: MsgUpdateGroupMetadataResponse): Uint8Array { - return MsgUpdateGroupMetadataResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupMetadataResponse): MsgUpdateGroupMetadataResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupMetadataResponse", - value: MsgUpdateGroupMetadataResponse.encode(message).finish() - }; - } -}; -function createBaseMsgCreateGroupPolicy(): MsgCreateGroupPolicy { - return { - admin: "", - groupId: Long.UZERO, - metadata: "", - decisionPolicy: Any.fromPartial({}) - }; -} -export const MsgCreateGroupPolicy = { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - aminoType: "cosmos-sdk/MsgCreateGroupPolicy", - encode(message: MsgCreateGroupPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - if (message.decisionPolicy !== undefined) { - Any.encode((message.decisionPolicy as Any), writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroupPolicy(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - case 2: - message.groupId = (reader.uint64() as Long); - break; - case 3: - message.metadata = reader.string(); - break; - case 4: - message.decisionPolicy = (DecisionPolicy_InterfaceDecoder(reader) as Any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgCreateGroupPolicy { - const obj = createBaseMsgCreateGroupPolicy(); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - if (isSet(object.decisionPolicy)) obj.decisionPolicy = Any.fromJSON(object.decisionPolicy); - return obj; - }, - toJSON(message: MsgCreateGroupPolicy): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgCreateGroupPolicy { - const message = createBaseMsgCreateGroupPolicy(); - message.admin = object.admin ?? ""; - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - message.metadata = object.metadata ?? ""; - if (object.decisionPolicy !== undefined && object.decisionPolicy !== null) { - message.decisionPolicy = Any.fromPartial(object.decisionPolicy); - } - return message; - }, - fromSDK(object: MsgCreateGroupPolicySDKType): MsgCreateGroupPolicy { - return { - admin: object?.admin, - groupId: object?.group_id, - metadata: object?.metadata, - decisionPolicy: object.decision_policy ? Any.fromSDK(object.decision_policy) : undefined - }; - }, - toSDK(message: MsgCreateGroupPolicy): MsgCreateGroupPolicySDKType { - const obj: any = {}; - obj.admin = message.admin; - obj.group_id = message.groupId; - obj.metadata = message.metadata; - message.decisionPolicy !== undefined && (obj.decision_policy = message.decisionPolicy ? Any.toSDK(message.decisionPolicy) : undefined); - return obj; - }, - fromAmino(object: MsgCreateGroupPolicyAmino): MsgCreateGroupPolicy { - return { - admin: object.admin, - groupId: Long.fromString(object.group_id), - metadata: object.metadata, - decisionPolicy: object?.decision_policy ? DecisionPolicy_FromAmino(object.decision_policy) : undefined - }; - }, - toAmino(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyAmino { - const obj: any = {}; - obj.admin = message.admin; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - obj.metadata = message.metadata; - obj.decision_policy = message.decisionPolicy ? DecisionPolicy_ToAmino((message.decisionPolicy as Any)) : undefined; - return obj; - }, - fromAminoMsg(object: MsgCreateGroupPolicyAminoMsg): MsgCreateGroupPolicy { - return MsgCreateGroupPolicy.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyAminoMsg { - return { - type: "cosmos-sdk/MsgCreateGroupPolicy", - value: MsgCreateGroupPolicy.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreateGroupPolicyProtoMsg): MsgCreateGroupPolicy { - return MsgCreateGroupPolicy.decode(message.value); - }, - toProto(message: MsgCreateGroupPolicy): Uint8Array { - return MsgCreateGroupPolicy.encode(message).finish(); - }, - toProtoMsg(message: MsgCreateGroupPolicy): MsgCreateGroupPolicyProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicy", - value: MsgCreateGroupPolicy.encode(message).finish() - }; - } -}; -function createBaseMsgCreateGroupPolicyResponse(): MsgCreateGroupPolicyResponse { - return { - address: "" - }; -} -export const MsgCreateGroupPolicyResponse = { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicyResponse", - aminoType: "cosmos-sdk/MsgCreateGroupPolicyResponse", - encode(message: MsgCreateGroupPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroupPolicyResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgCreateGroupPolicyResponse { - const obj = createBaseMsgCreateGroupPolicyResponse(); - if (isSet(object.address)) obj.address = String(object.address); - return obj; - }, - toJSON(message: MsgCreateGroupPolicyResponse): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: DeepPartial): MsgCreateGroupPolicyResponse { - const message = createBaseMsgCreateGroupPolicyResponse(); - message.address = object.address ?? ""; - return message; - }, - fromSDK(object: MsgCreateGroupPolicyResponseSDKType): MsgCreateGroupPolicyResponse { - return { - address: object?.address - }; - }, - toSDK(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseSDKType { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAmino(object: MsgCreateGroupPolicyResponseAmino): MsgCreateGroupPolicyResponse { - return { - address: object.address - }; - }, - toAmino(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseAmino { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAminoMsg(object: MsgCreateGroupPolicyResponseAminoMsg): MsgCreateGroupPolicyResponse { - return MsgCreateGroupPolicyResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseAminoMsg { - return { - type: "cosmos-sdk/MsgCreateGroupPolicyResponse", - value: MsgCreateGroupPolicyResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreateGroupPolicyResponseProtoMsg): MsgCreateGroupPolicyResponse { - return MsgCreateGroupPolicyResponse.decode(message.value); - }, - toProto(message: MsgCreateGroupPolicyResponse): Uint8Array { - return MsgCreateGroupPolicyResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgCreateGroupPolicyResponse): MsgCreateGroupPolicyResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupPolicyResponse", - value: MsgCreateGroupPolicyResponse.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupPolicyAdmin(): MsgUpdateGroupPolicyAdmin { - return { - admin: "", - address: "", - newAdmin: "" - }; -} -export const MsgUpdateGroupPolicyAdmin = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyAdmin", - encode(message: MsgUpdateGroupPolicyAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - if (message.newAdmin !== "") { - writer.uint32(26).string(message.newAdmin); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyAdmin(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - case 2: - message.address = reader.string(); - break; - case 3: - message.newAdmin = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgUpdateGroupPolicyAdmin { - const obj = createBaseMsgUpdateGroupPolicyAdmin(); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.newAdmin)) obj.newAdmin = String(object.newAdmin); - return obj; - }, - toJSON(message: MsgUpdateGroupPolicyAdmin): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.address !== undefined && (obj.address = message.address); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - return obj; - }, - fromPartial(object: DeepPartial): MsgUpdateGroupPolicyAdmin { - const message = createBaseMsgUpdateGroupPolicyAdmin(); - message.admin = object.admin ?? ""; - message.address = object.address ?? ""; - message.newAdmin = object.newAdmin ?? ""; - return message; - }, - fromSDK(object: MsgUpdateGroupPolicyAdminSDKType): MsgUpdateGroupPolicyAdmin { - return { - admin: object?.admin, - address: object?.address, - newAdmin: object?.new_admin - }; - }, - toSDK(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminSDKType { - const obj: any = {}; - obj.admin = message.admin; - obj.address = message.address; - obj.new_admin = message.newAdmin; - return obj; - }, - fromAmino(object: MsgUpdateGroupPolicyAdminAmino): MsgUpdateGroupPolicyAdmin { - return { - admin: object.admin, - address: object.address, - newAdmin: object.new_admin - }; - }, - toAmino(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminAmino { - const obj: any = {}; - obj.admin = message.admin; - obj.address = message.address; - obj.new_admin = message.newAdmin; - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupPolicyAdminAminoMsg): MsgUpdateGroupPolicyAdmin { - return MsgUpdateGroupPolicyAdmin.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupPolicyAdmin", - value: MsgUpdateGroupPolicyAdmin.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupPolicyAdminProtoMsg): MsgUpdateGroupPolicyAdmin { - return MsgUpdateGroupPolicyAdmin.decode(message.value); - }, - toProto(message: MsgUpdateGroupPolicyAdmin): Uint8Array { - return MsgUpdateGroupPolicyAdmin.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupPolicyAdmin): MsgUpdateGroupPolicyAdminProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdmin", - value: MsgUpdateGroupPolicyAdmin.encode(message).finish() - }; - } -}; -function createBaseMsgCreateGroupWithPolicy(): MsgCreateGroupWithPolicy { - return { - admin: "", - members: [], - groupMetadata: "", - groupPolicyMetadata: "", - groupPolicyAsAdmin: false, - decisionPolicy: Any.fromPartial({}) - }; -} -export const MsgCreateGroupWithPolicy = { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - aminoType: "cosmos-sdk/MsgCreateGroupWithPolicy", - encode(message: MsgCreateGroupWithPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - for (const v of message.members) { - Member.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.groupMetadata !== "") { - writer.uint32(26).string(message.groupMetadata); - } - if (message.groupPolicyMetadata !== "") { - writer.uint32(34).string(message.groupPolicyMetadata); - } - if (message.groupPolicyAsAdmin === true) { - writer.uint32(40).bool(message.groupPolicyAsAdmin); - } - if (message.decisionPolicy !== undefined) { - Any.encode((message.decisionPolicy as Any), writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroupWithPolicy(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - case 2: - message.members.push(Member.decode(reader, reader.uint32())); - break; - case 3: - message.groupMetadata = reader.string(); - break; - case 4: - message.groupPolicyMetadata = reader.string(); - break; - case 5: - message.groupPolicyAsAdmin = reader.bool(); - break; - case 6: - message.decisionPolicy = (DecisionPolicy_InterfaceDecoder(reader) as Any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgCreateGroupWithPolicy { - const obj = createBaseMsgCreateGroupWithPolicy(); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (Array.isArray(object?.members)) obj.members = object.members.map((e: any) => Member.fromJSON(e)); - if (isSet(object.groupMetadata)) obj.groupMetadata = String(object.groupMetadata); - if (isSet(object.groupPolicyMetadata)) obj.groupPolicyMetadata = String(object.groupPolicyMetadata); - if (isSet(object.groupPolicyAsAdmin)) obj.groupPolicyAsAdmin = Boolean(object.groupPolicyAsAdmin); - if (isSet(object.decisionPolicy)) obj.decisionPolicy = Any.fromJSON(object.decisionPolicy); - return obj; - }, - toJSON(message: MsgCreateGroupWithPolicy): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - if (message.members) { - obj.members = message.members.map(e => e ? Member.toJSON(e) : undefined); - } else { - obj.members = []; - } - message.groupMetadata !== undefined && (obj.groupMetadata = message.groupMetadata); - message.groupPolicyMetadata !== undefined && (obj.groupPolicyMetadata = message.groupPolicyMetadata); - message.groupPolicyAsAdmin !== undefined && (obj.groupPolicyAsAdmin = message.groupPolicyAsAdmin); - message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgCreateGroupWithPolicy { - const message = createBaseMsgCreateGroupWithPolicy(); - message.admin = object.admin ?? ""; - message.members = object.members?.map(e => Member.fromPartial(e)) || []; - message.groupMetadata = object.groupMetadata ?? ""; - message.groupPolicyMetadata = object.groupPolicyMetadata ?? ""; - message.groupPolicyAsAdmin = object.groupPolicyAsAdmin ?? false; - if (object.decisionPolicy !== undefined && object.decisionPolicy !== null) { - message.decisionPolicy = Any.fromPartial(object.decisionPolicy); - } - return message; - }, - fromSDK(object: MsgCreateGroupWithPolicySDKType): MsgCreateGroupWithPolicy { - return { - admin: object?.admin, - members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.fromSDK(e)) : [], - groupMetadata: object?.group_metadata, - groupPolicyMetadata: object?.group_policy_metadata, - groupPolicyAsAdmin: object?.group_policy_as_admin, - decisionPolicy: object.decision_policy ? Any.fromSDK(object.decision_policy) : undefined - }; - }, - toSDK(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicySDKType { - const obj: any = {}; - obj.admin = message.admin; - if (message.members) { - obj.members = message.members.map(e => e ? Member.toSDK(e) : undefined); - } else { - obj.members = []; - } - obj.group_metadata = message.groupMetadata; - obj.group_policy_metadata = message.groupPolicyMetadata; - obj.group_policy_as_admin = message.groupPolicyAsAdmin; - message.decisionPolicy !== undefined && (obj.decision_policy = message.decisionPolicy ? Any.toSDK(message.decisionPolicy) : undefined); - return obj; - }, - fromAmino(object: MsgCreateGroupWithPolicyAmino): MsgCreateGroupWithPolicy { - return { - admin: object.admin, - members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.fromAmino(e)) : [], - groupMetadata: object.group_metadata, - groupPolicyMetadata: object.group_policy_metadata, - groupPolicyAsAdmin: object.group_policy_as_admin, - decisionPolicy: object?.decision_policy ? DecisionPolicy_FromAmino(object.decision_policy) : undefined - }; - }, - toAmino(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyAmino { - const obj: any = {}; - obj.admin = message.admin; - if (message.members) { - obj.members = message.members.map(e => e ? Member.toAmino(e) : undefined); - } else { - obj.members = []; - } - obj.group_metadata = message.groupMetadata; - obj.group_policy_metadata = message.groupPolicyMetadata; - obj.group_policy_as_admin = message.groupPolicyAsAdmin; - obj.decision_policy = message.decisionPolicy ? DecisionPolicy_ToAmino((message.decisionPolicy as Any)) : undefined; - return obj; - }, - fromAminoMsg(object: MsgCreateGroupWithPolicyAminoMsg): MsgCreateGroupWithPolicy { - return MsgCreateGroupWithPolicy.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyAminoMsg { - return { - type: "cosmos-sdk/MsgCreateGroupWithPolicy", - value: MsgCreateGroupWithPolicy.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreateGroupWithPolicyProtoMsg): MsgCreateGroupWithPolicy { - return MsgCreateGroupWithPolicy.decode(message.value); - }, - toProto(message: MsgCreateGroupWithPolicy): Uint8Array { - return MsgCreateGroupWithPolicy.encode(message).finish(); - }, - toProtoMsg(message: MsgCreateGroupWithPolicy): MsgCreateGroupWithPolicyProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicy", - value: MsgCreateGroupWithPolicy.encode(message).finish() - }; - } -}; -function createBaseMsgCreateGroupWithPolicyResponse(): MsgCreateGroupWithPolicyResponse { - return { - groupId: Long.UZERO, - groupPolicyAddress: "" - }; -} -export const MsgCreateGroupWithPolicyResponse = { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicyResponse", - aminoType: "cosmos-sdk/MsgCreateGroupWithPolicyResponse", - encode(message: MsgCreateGroupWithPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - if (message.groupPolicyAddress !== "") { - writer.uint32(18).string(message.groupPolicyAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateGroupWithPolicyResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - case 2: - message.groupPolicyAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgCreateGroupWithPolicyResponse { - const obj = createBaseMsgCreateGroupWithPolicyResponse(); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - if (isSet(object.groupPolicyAddress)) obj.groupPolicyAddress = String(object.groupPolicyAddress); - return obj; - }, - toJSON(message: MsgCreateGroupWithPolicyResponse): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - message.groupPolicyAddress !== undefined && (obj.groupPolicyAddress = message.groupPolicyAddress); - return obj; - }, - fromPartial(object: DeepPartial): MsgCreateGroupWithPolicyResponse { - const message = createBaseMsgCreateGroupWithPolicyResponse(); - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - message.groupPolicyAddress = object.groupPolicyAddress ?? ""; - return message; - }, - fromSDK(object: MsgCreateGroupWithPolicyResponseSDKType): MsgCreateGroupWithPolicyResponse { - return { - groupId: object?.group_id, - groupPolicyAddress: object?.group_policy_address - }; - }, - toSDK(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseSDKType { - const obj: any = {}; - obj.group_id = message.groupId; - obj.group_policy_address = message.groupPolicyAddress; - return obj; - }, - fromAmino(object: MsgCreateGroupWithPolicyResponseAmino): MsgCreateGroupWithPolicyResponse { - return { - groupId: Long.fromString(object.group_id), - groupPolicyAddress: object.group_policy_address - }; - }, - toAmino(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseAmino { - const obj: any = {}; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - obj.group_policy_address = message.groupPolicyAddress; - return obj; - }, - fromAminoMsg(object: MsgCreateGroupWithPolicyResponseAminoMsg): MsgCreateGroupWithPolicyResponse { - return MsgCreateGroupWithPolicyResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseAminoMsg { - return { - type: "cosmos-sdk/MsgCreateGroupWithPolicyResponse", - value: MsgCreateGroupWithPolicyResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreateGroupWithPolicyResponseProtoMsg): MsgCreateGroupWithPolicyResponse { - return MsgCreateGroupWithPolicyResponse.decode(message.value); - }, - toProto(message: MsgCreateGroupWithPolicyResponse): Uint8Array { - return MsgCreateGroupWithPolicyResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgCreateGroupWithPolicyResponse): MsgCreateGroupWithPolicyResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgCreateGroupWithPolicyResponse", - value: MsgCreateGroupWithPolicyResponse.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupPolicyAdminResponse(): MsgUpdateGroupPolicyAdminResponse { - return {}; -} -export const MsgUpdateGroupPolicyAdminResponse = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse", - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyAdminResponse", - encode(_: MsgUpdateGroupPolicyAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyAdminResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgUpdateGroupPolicyAdminResponse { - const obj = createBaseMsgUpdateGroupPolicyAdminResponse(); - return obj; - }, - toJSON(_: MsgUpdateGroupPolicyAdminResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgUpdateGroupPolicyAdminResponse { - const message = createBaseMsgUpdateGroupPolicyAdminResponse(); - return message; - }, - fromSDK(_: MsgUpdateGroupPolicyAdminResponseSDKType): MsgUpdateGroupPolicyAdminResponse { - return {}; - }, - toSDK(_: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgUpdateGroupPolicyAdminResponseAmino): MsgUpdateGroupPolicyAdminResponse { - return {}; - }, - toAmino(_: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupPolicyAdminResponseAminoMsg): MsgUpdateGroupPolicyAdminResponse { - return MsgUpdateGroupPolicyAdminResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupPolicyAdminResponse", - value: MsgUpdateGroupPolicyAdminResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupPolicyAdminResponseProtoMsg): MsgUpdateGroupPolicyAdminResponse { - return MsgUpdateGroupPolicyAdminResponse.decode(message.value); - }, - toProto(message: MsgUpdateGroupPolicyAdminResponse): Uint8Array { - return MsgUpdateGroupPolicyAdminResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupPolicyAdminResponse): MsgUpdateGroupPolicyAdminResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyAdminResponse", - value: MsgUpdateGroupPolicyAdminResponse.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupPolicyDecisionPolicy(): MsgUpdateGroupPolicyDecisionPolicy { - return { - admin: "", - address: "", - decisionPolicy: Any.fromPartial({}) - }; -} -export const MsgUpdateGroupPolicyDecisionPolicy = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy", - encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - if (message.decisionPolicy !== undefined) { - Any.encode((message.decisionPolicy as Any), writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyDecisionPolicy(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - case 2: - message.address = reader.string(); - break; - case 3: - message.decisionPolicy = (DecisionPolicy_InterfaceDecoder(reader) as Any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgUpdateGroupPolicyDecisionPolicy { - const obj = createBaseMsgUpdateGroupPolicyDecisionPolicy(); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.decisionPolicy)) obj.decisionPolicy = Any.fromJSON(object.decisionPolicy); - return obj; - }, - toJSON(message: MsgUpdateGroupPolicyDecisionPolicy): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.address !== undefined && (obj.address = message.address); - message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgUpdateGroupPolicyDecisionPolicy { - const message = createBaseMsgUpdateGroupPolicyDecisionPolicy(); - message.admin = object.admin ?? ""; - message.address = object.address ?? ""; - if (object.decisionPolicy !== undefined && object.decisionPolicy !== null) { - message.decisionPolicy = Any.fromPartial(object.decisionPolicy); - } - return message; - }, - fromSDK(object: MsgUpdateGroupPolicyDecisionPolicySDKType): MsgUpdateGroupPolicyDecisionPolicy { - return { - admin: object?.admin, - address: object?.address, - decisionPolicy: object.decision_policy ? Any.fromSDK(object.decision_policy) : undefined - }; - }, - toSDK(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicySDKType { - const obj: any = {}; - obj.admin = message.admin; - obj.address = message.address; - message.decisionPolicy !== undefined && (obj.decision_policy = message.decisionPolicy ? Any.toSDK(message.decisionPolicy) : undefined); - return obj; - }, - fromAmino(object: MsgUpdateGroupPolicyDecisionPolicyAmino): MsgUpdateGroupPolicyDecisionPolicy { - return { - admin: object.admin, - address: object.address, - decisionPolicy: object?.decision_policy ? DecisionPolicy_FromAmino(object.decision_policy) : undefined - }; - }, - toAmino(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyAmino { - const obj: any = {}; - obj.admin = message.admin; - obj.address = message.address; - obj.decision_policy = message.decisionPolicy ? DecisionPolicy_ToAmino((message.decisionPolicy as Any)) : undefined; - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupPolicyDecisionPolicyAminoMsg): MsgUpdateGroupPolicyDecisionPolicy { - return MsgUpdateGroupPolicyDecisionPolicy.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicy", - value: MsgUpdateGroupPolicyDecisionPolicy.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyProtoMsg): MsgUpdateGroupPolicyDecisionPolicy { - return MsgUpdateGroupPolicyDecisionPolicy.decode(message.value); - }, - toProto(message: MsgUpdateGroupPolicyDecisionPolicy): Uint8Array { - return MsgUpdateGroupPolicyDecisionPolicy.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicy): MsgUpdateGroupPolicyDecisionPolicyProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicy", - value: MsgUpdateGroupPolicyDecisionPolicy.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(): MsgUpdateGroupPolicyDecisionPolicyResponse { - return {}; -} -export const MsgUpdateGroupPolicyDecisionPolicyResponse = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse", - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicyResponse", - encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgUpdateGroupPolicyDecisionPolicyResponse { - const obj = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); - return obj; - }, - toJSON(_: MsgUpdateGroupPolicyDecisionPolicyResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgUpdateGroupPolicyDecisionPolicyResponse { - const message = createBaseMsgUpdateGroupPolicyDecisionPolicyResponse(); - return message; - }, - fromSDK(_: MsgUpdateGroupPolicyDecisionPolicyResponseSDKType): MsgUpdateGroupPolicyDecisionPolicyResponse { - return {}; - }, - toSDK(_: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgUpdateGroupPolicyDecisionPolicyResponseAmino): MsgUpdateGroupPolicyDecisionPolicyResponse { - return {}; - }, - toAmino(_: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg): MsgUpdateGroupPolicyDecisionPolicyResponse { - return MsgUpdateGroupPolicyDecisionPolicyResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupPolicyDecisionPolicyResponse", - value: MsgUpdateGroupPolicyDecisionPolicyResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg): MsgUpdateGroupPolicyDecisionPolicyResponse { - return MsgUpdateGroupPolicyDecisionPolicyResponse.decode(message.value); - }, - toProto(message: MsgUpdateGroupPolicyDecisionPolicyResponse): Uint8Array { - return MsgUpdateGroupPolicyDecisionPolicyResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupPolicyDecisionPolicyResponse): MsgUpdateGroupPolicyDecisionPolicyResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyDecisionPolicyResponse", - value: MsgUpdateGroupPolicyDecisionPolicyResponse.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupPolicyMetadata(): MsgUpdateGroupPolicyMetadata { - return { - admin: "", - address: "", - metadata: "" - }; -} -export const MsgUpdateGroupPolicyMetadata = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyMetadata", - encode(message: MsgUpdateGroupPolicyMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.admin !== "") { - writer.uint32(10).string(message.admin); - } - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.admin = reader.string(); - break; - case 2: - message.address = reader.string(); - break; - case 3: - message.metadata = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgUpdateGroupPolicyMetadata { - const obj = createBaseMsgUpdateGroupPolicyMetadata(); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - return obj; - }, - toJSON(message: MsgUpdateGroupPolicyMetadata): unknown { - const obj: any = {}; - message.admin !== undefined && (obj.admin = message.admin); - message.address !== undefined && (obj.address = message.address); - message.metadata !== undefined && (obj.metadata = message.metadata); - return obj; - }, - fromPartial(object: DeepPartial): MsgUpdateGroupPolicyMetadata { - const message = createBaseMsgUpdateGroupPolicyMetadata(); - message.admin = object.admin ?? ""; - message.address = object.address ?? ""; - message.metadata = object.metadata ?? ""; - return message; - }, - fromSDK(object: MsgUpdateGroupPolicyMetadataSDKType): MsgUpdateGroupPolicyMetadata { - return { - admin: object?.admin, - address: object?.address, - metadata: object?.metadata - }; - }, - toSDK(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataSDKType { - const obj: any = {}; - obj.admin = message.admin; - obj.address = message.address; - obj.metadata = message.metadata; - return obj; - }, - fromAmino(object: MsgUpdateGroupPolicyMetadataAmino): MsgUpdateGroupPolicyMetadata { - return { - admin: object.admin, - address: object.address, - metadata: object.metadata - }; - }, - toAmino(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataAmino { - const obj: any = {}; - obj.admin = message.admin; - obj.address = message.address; - obj.metadata = message.metadata; - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupPolicyMetadataAminoMsg): MsgUpdateGroupPolicyMetadata { - return MsgUpdateGroupPolicyMetadata.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupPolicyMetadata", - value: MsgUpdateGroupPolicyMetadata.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupPolicyMetadataProtoMsg): MsgUpdateGroupPolicyMetadata { - return MsgUpdateGroupPolicyMetadata.decode(message.value); - }, - toProto(message: MsgUpdateGroupPolicyMetadata): Uint8Array { - return MsgUpdateGroupPolicyMetadata.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupPolicyMetadata): MsgUpdateGroupPolicyMetadataProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadata", - value: MsgUpdateGroupPolicyMetadata.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateGroupPolicyMetadataResponse(): MsgUpdateGroupPolicyMetadataResponse { - return {}; -} -export const MsgUpdateGroupPolicyMetadataResponse = { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse", - aminoType: "cosmos-sdk/MsgUpdateGroupPolicyMetadataResponse", - encode(_: MsgUpdateGroupPolicyMetadataResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgUpdateGroupPolicyMetadataResponse { - const obj = createBaseMsgUpdateGroupPolicyMetadataResponse(); - return obj; - }, - toJSON(_: MsgUpdateGroupPolicyMetadataResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgUpdateGroupPolicyMetadataResponse { - const message = createBaseMsgUpdateGroupPolicyMetadataResponse(); - return message; - }, - fromSDK(_: MsgUpdateGroupPolicyMetadataResponseSDKType): MsgUpdateGroupPolicyMetadataResponse { - return {}; - }, - toSDK(_: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgUpdateGroupPolicyMetadataResponseAmino): MsgUpdateGroupPolicyMetadataResponse { - return {}; - }, - toAmino(_: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgUpdateGroupPolicyMetadataResponseAminoMsg): MsgUpdateGroupPolicyMetadataResponse { - return MsgUpdateGroupPolicyMetadataResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseAminoMsg { - return { - type: "cosmos-sdk/MsgUpdateGroupPolicyMetadataResponse", - value: MsgUpdateGroupPolicyMetadataResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateGroupPolicyMetadataResponseProtoMsg): MsgUpdateGroupPolicyMetadataResponse { - return MsgUpdateGroupPolicyMetadataResponse.decode(message.value); - }, - toProto(message: MsgUpdateGroupPolicyMetadataResponse): Uint8Array { - return MsgUpdateGroupPolicyMetadataResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateGroupPolicyMetadataResponse): MsgUpdateGroupPolicyMetadataResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgUpdateGroupPolicyMetadataResponse", - value: MsgUpdateGroupPolicyMetadataResponse.encode(message).finish() - }; - } -}; -function createBaseMsgSubmitProposal(): MsgSubmitProposal { - return { - address: "", - proposers: [], - metadata: "", - messages: [], - exec: 0 - }; -} -export const MsgSubmitProposal = { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - aminoType: "cosmos-sdk/group/MsgSubmitProposal", - encode(message: MsgSubmitProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - for (const v of message.proposers) { - writer.uint32(18).string(v!); - } - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - for (const v of message.messages) { - Any.encode(v!, writer.uint32(34).fork()).ldelim(); - } - if (message.exec !== 0) { - writer.uint32(40).int32(message.exec); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.proposers.push(reader.string()); - break; - case 3: - message.metadata = reader.string(); - break; - case 4: - message.messages.push(Any.decode(reader, reader.uint32())); - break; - case 5: - message.exec = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSubmitProposal { - const obj = createBaseMsgSubmitProposal(); - if (isSet(object.address)) obj.address = String(object.address); - if (Array.isArray(object?.proposers)) obj.proposers = object.proposers.map((e: any) => String(e)); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - if (Array.isArray(object?.messages)) obj.messages = object.messages.map((e: any) => Any.fromJSON(e)); - if (isSet(object.exec)) obj.exec = execFromJSON(object.exec); - return obj; - }, - toJSON(message: MsgSubmitProposal): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - if (message.proposers) { - obj.proposers = message.proposers.map(e => e); - } else { - obj.proposers = []; - } - message.metadata !== undefined && (obj.metadata = message.metadata); - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.messages = []; - } - message.exec !== undefined && (obj.exec = execToJSON(message.exec)); - return obj; - }, - fromPartial(object: DeepPartial): MsgSubmitProposal { - const message = createBaseMsgSubmitProposal(); - message.address = object.address ?? ""; - message.proposers = object.proposers?.map(e => e) || []; - message.metadata = object.metadata ?? ""; - message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; - message.exec = object.exec ?? 0; - return message; - }, - fromSDK(object: MsgSubmitProposalSDKType): MsgSubmitProposal { - return { - address: object?.address, - proposers: Array.isArray(object?.proposers) ? object.proposers.map((e: any) => e) : [], - metadata: object?.metadata, - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromSDK(e)) : [], - exec: isSet(object.exec) ? execFromJSON(object.exec) : -1 - }; - }, - toSDK(message: MsgSubmitProposal): MsgSubmitProposalSDKType { - const obj: any = {}; - obj.address = message.address; - if (message.proposers) { - obj.proposers = message.proposers.map(e => e); - } else { - obj.proposers = []; - } - obj.metadata = message.metadata; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.messages = []; - } - message.exec !== undefined && (obj.exec = execToJSON(message.exec)); - return obj; - }, - fromAmino(object: MsgSubmitProposalAmino): MsgSubmitProposal { - return { - address: object.address, - proposers: Array.isArray(object?.proposers) ? object.proposers.map((e: any) => e) : [], - metadata: object.metadata, - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromAmino(e)) : [], - exec: isSet(object.exec) ? execFromJSON(object.exec) : -1 - }; - }, - toAmino(message: MsgSubmitProposal): MsgSubmitProposalAmino { - const obj: any = {}; - obj.address = message.address; - if (message.proposers) { - obj.proposers = message.proposers.map(e => e); - } else { - obj.proposers = []; - } - obj.metadata = message.metadata; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.messages = []; - } - obj.exec = message.exec; - return obj; - }, - fromAminoMsg(object: MsgSubmitProposalAminoMsg): MsgSubmitProposal { - return MsgSubmitProposal.fromAmino(object.value); - }, - toAminoMsg(message: MsgSubmitProposal): MsgSubmitProposalAminoMsg { - return { - type: "cosmos-sdk/group/MsgSubmitProposal", - value: MsgSubmitProposal.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSubmitProposalProtoMsg): MsgSubmitProposal { - return MsgSubmitProposal.decode(message.value); - }, - toProto(message: MsgSubmitProposal): Uint8Array { - return MsgSubmitProposal.encode(message).finish(); - }, - toProtoMsg(message: MsgSubmitProposal): MsgSubmitProposalProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposal", - value: MsgSubmitProposal.encode(message).finish() - }; - } -}; -function createBaseMsgSubmitProposalResponse(): MsgSubmitProposalResponse { - return { - proposalId: Long.UZERO - }; -} -export const MsgSubmitProposalResponse = { - typeUrl: "/cosmos.group.v1.MsgSubmitProposalResponse", - aminoType: "cosmos-sdk/MsgSubmitProposalResponse", - encode(message: MsgSubmitProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSubmitProposalResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSubmitProposalResponse { - const obj = createBaseMsgSubmitProposalResponse(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - return obj; - }, - toJSON(message: MsgSubmitProposalResponse): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): MsgSubmitProposalResponse { - const message = createBaseMsgSubmitProposalResponse(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - return message; - }, - fromSDK(object: MsgSubmitProposalResponseSDKType): MsgSubmitProposalResponse { - return { - proposalId: object?.proposal_id - }; - }, - toSDK(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - return obj; - }, - fromAmino(object: MsgSubmitProposalResponseAmino): MsgSubmitProposalResponse { - return { - proposalId: Long.fromString(object.proposal_id) - }; - }, - toAmino(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: MsgSubmitProposalResponseAminoMsg): MsgSubmitProposalResponse { - return MsgSubmitProposalResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseAminoMsg { - return { - type: "cosmos-sdk/MsgSubmitProposalResponse", - value: MsgSubmitProposalResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSubmitProposalResponseProtoMsg): MsgSubmitProposalResponse { - return MsgSubmitProposalResponse.decode(message.value); - }, - toProto(message: MsgSubmitProposalResponse): Uint8Array { - return MsgSubmitProposalResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgSubmitProposalResponse): MsgSubmitProposalResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgSubmitProposalResponse", - value: MsgSubmitProposalResponse.encode(message).finish() - }; - } -}; -function createBaseMsgWithdrawProposal(): MsgWithdrawProposal { - return { - proposalId: Long.UZERO, - address: "" - }; -} -export const MsgWithdrawProposal = { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - aminoType: "cosmos-sdk/group/MsgWithdrawProposal", - encode(message: MsgWithdrawProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.address = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgWithdrawProposal { - const obj = createBaseMsgWithdrawProposal(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.address)) obj.address = String(object.address); - return obj; - }, - toJSON(message: MsgWithdrawProposal): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: DeepPartial): MsgWithdrawProposal { - const message = createBaseMsgWithdrawProposal(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.address = object.address ?? ""; - return message; - }, - fromSDK(object: MsgWithdrawProposalSDKType): MsgWithdrawProposal { - return { - proposalId: object?.proposal_id, - address: object?.address - }; - }, - toSDK(message: MsgWithdrawProposal): MsgWithdrawProposalSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.address = message.address; - return obj; - }, - fromAmino(object: MsgWithdrawProposalAmino): MsgWithdrawProposal { - return { - proposalId: Long.fromString(object.proposal_id), - address: object.address - }; - }, - toAmino(message: MsgWithdrawProposal): MsgWithdrawProposalAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.address = message.address; - return obj; - }, - fromAminoMsg(object: MsgWithdrawProposalAminoMsg): MsgWithdrawProposal { - return MsgWithdrawProposal.fromAmino(object.value); - }, - toAminoMsg(message: MsgWithdrawProposal): MsgWithdrawProposalAminoMsg { - return { - type: "cosmos-sdk/group/MsgWithdrawProposal", - value: MsgWithdrawProposal.toAmino(message) - }; - }, - fromProtoMsg(message: MsgWithdrawProposalProtoMsg): MsgWithdrawProposal { - return MsgWithdrawProposal.decode(message.value); - }, - toProto(message: MsgWithdrawProposal): Uint8Array { - return MsgWithdrawProposal.encode(message).finish(); - }, - toProtoMsg(message: MsgWithdrawProposal): MsgWithdrawProposalProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposal", - value: MsgWithdrawProposal.encode(message).finish() - }; - } -}; -function createBaseMsgWithdrawProposalResponse(): MsgWithdrawProposalResponse { - return {}; -} -export const MsgWithdrawProposalResponse = { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposalResponse", - aminoType: "cosmos-sdk/MsgWithdrawProposalResponse", - encode(_: MsgWithdrawProposalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgWithdrawProposalResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgWithdrawProposalResponse { - const obj = createBaseMsgWithdrawProposalResponse(); - return obj; - }, - toJSON(_: MsgWithdrawProposalResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgWithdrawProposalResponse { - const message = createBaseMsgWithdrawProposalResponse(); - return message; - }, - fromSDK(_: MsgWithdrawProposalResponseSDKType): MsgWithdrawProposalResponse { - return {}; - }, - toSDK(_: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgWithdrawProposalResponseAmino): MsgWithdrawProposalResponse { - return {}; - }, - toAmino(_: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgWithdrawProposalResponseAminoMsg): MsgWithdrawProposalResponse { - return MsgWithdrawProposalResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseAminoMsg { - return { - type: "cosmos-sdk/MsgWithdrawProposalResponse", - value: MsgWithdrawProposalResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgWithdrawProposalResponseProtoMsg): MsgWithdrawProposalResponse { - return MsgWithdrawProposalResponse.decode(message.value); - }, - toProto(message: MsgWithdrawProposalResponse): Uint8Array { - return MsgWithdrawProposalResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgWithdrawProposalResponse): MsgWithdrawProposalResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgWithdrawProposalResponse", - value: MsgWithdrawProposalResponse.encode(message).finish() - }; - } -}; -function createBaseMsgVote(): MsgVote { - return { - proposalId: Long.UZERO, - voter: "", - option: 0, - metadata: "", - exec: 0 - }; -} -export const MsgVote = { - typeUrl: "/cosmos.group.v1.MsgVote", - aminoType: "cosmos-sdk/group/MsgVote", - encode(message: MsgVote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - if (message.option !== 0) { - writer.uint32(24).int32(message.option); - } - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - if (message.exec !== 0) { - writer.uint32(40).int32(message.exec); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVote(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.voter = reader.string(); - break; - case 3: - message.option = (reader.int32() as any); - break; - case 4: - message.metadata = reader.string(); - break; - case 5: - message.exec = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgVote { - const obj = createBaseMsgVote(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.voter)) obj.voter = String(object.voter); - if (isSet(object.option)) obj.option = voteOptionFromJSON(object.option); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - if (isSet(object.exec)) obj.exec = execFromJSON(object.exec); - return obj; - }, - toJSON(message: MsgVote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.voter !== undefined && (obj.voter = message.voter); - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.exec !== undefined && (obj.exec = execToJSON(message.exec)); - return obj; - }, - fromPartial(object: DeepPartial): MsgVote { - const message = createBaseMsgVote(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.voter = object.voter ?? ""; - message.option = object.option ?? 0; - message.metadata = object.metadata ?? ""; - message.exec = object.exec ?? 0; - return message; - }, - fromSDK(object: MsgVoteSDKType): MsgVote { - return { - proposalId: object?.proposal_id, - voter: object?.voter, - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - metadata: object?.metadata, - exec: isSet(object.exec) ? execFromJSON(object.exec) : -1 - }; - }, - toSDK(message: MsgVote): MsgVoteSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.voter = message.voter; - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - obj.metadata = message.metadata; - message.exec !== undefined && (obj.exec = execToJSON(message.exec)); - return obj; - }, - fromAmino(object: MsgVoteAmino): MsgVote { - return { - proposalId: Long.fromString(object.proposal_id), - voter: object.voter, - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - metadata: object.metadata, - exec: isSet(object.exec) ? execFromJSON(object.exec) : -1 - }; - }, - toAmino(message: MsgVote): MsgVoteAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.voter = message.voter; - obj.option = message.option; - obj.metadata = message.metadata; - obj.exec = message.exec; - return obj; - }, - fromAminoMsg(object: MsgVoteAminoMsg): MsgVote { - return MsgVote.fromAmino(object.value); - }, - toAminoMsg(message: MsgVote): MsgVoteAminoMsg { - return { - type: "cosmos-sdk/group/MsgVote", - value: MsgVote.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVoteProtoMsg): MsgVote { - return MsgVote.decode(message.value); - }, - toProto(message: MsgVote): Uint8Array { - return MsgVote.encode(message).finish(); - }, - toProtoMsg(message: MsgVote): MsgVoteProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgVote", - value: MsgVote.encode(message).finish() - }; - } -}; -function createBaseMsgVoteResponse(): MsgVoteResponse { - return {}; -} -export const MsgVoteResponse = { - typeUrl: "/cosmos.group.v1.MsgVoteResponse", - aminoType: "cosmos-sdk/MsgVoteResponse", - encode(_: MsgVoteResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgVoteResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgVoteResponse { - const obj = createBaseMsgVoteResponse(); - return obj; - }, - toJSON(_: MsgVoteResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgVoteResponse { - const message = createBaseMsgVoteResponse(); - return message; - }, - fromSDK(_: MsgVoteResponseSDKType): MsgVoteResponse { - return {}; - }, - toSDK(_: MsgVoteResponse): MsgVoteResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgVoteResponseAmino): MsgVoteResponse { - return {}; - }, - toAmino(_: MsgVoteResponse): MsgVoteResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgVoteResponseAminoMsg): MsgVoteResponse { - return MsgVoteResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgVoteResponse): MsgVoteResponseAminoMsg { - return { - type: "cosmos-sdk/MsgVoteResponse", - value: MsgVoteResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgVoteResponseProtoMsg): MsgVoteResponse { - return MsgVoteResponse.decode(message.value); - }, - toProto(message: MsgVoteResponse): Uint8Array { - return MsgVoteResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgVoteResponse): MsgVoteResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgVoteResponse", - value: MsgVoteResponse.encode(message).finish() - }; - } -}; -function createBaseMsgExec(): MsgExec { - return { - proposalId: Long.UZERO, - signer: "" - }; -} -export const MsgExec = { - typeUrl: "/cosmos.group.v1.MsgExec", - aminoType: "cosmos-sdk/group/MsgExec", - encode(message: MsgExec, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.signer !== "") { - writer.uint32(18).string(message.signer); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExec(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.signer = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgExec { - const obj = createBaseMsgExec(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.signer)) obj.signer = String(object.signer); - return obj; - }, - toJSON(message: MsgExec): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.signer !== undefined && (obj.signer = message.signer); - return obj; - }, - fromPartial(object: DeepPartial): MsgExec { - const message = createBaseMsgExec(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.signer = object.signer ?? ""; - return message; - }, - fromSDK(object: MsgExecSDKType): MsgExec { - return { - proposalId: object?.proposal_id, - signer: object?.signer - }; - }, - toSDK(message: MsgExec): MsgExecSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.signer = message.signer; - return obj; - }, - fromAmino(object: MsgExecAmino): MsgExec { - return { - proposalId: Long.fromString(object.proposal_id), - signer: object.signer - }; - }, - toAmino(message: MsgExec): MsgExecAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.signer = message.signer; - return obj; - }, - fromAminoMsg(object: MsgExecAminoMsg): MsgExec { - return MsgExec.fromAmino(object.value); - }, - toAminoMsg(message: MsgExec): MsgExecAminoMsg { - return { - type: "cosmos-sdk/group/MsgExec", - value: MsgExec.toAmino(message) - }; - }, - fromProtoMsg(message: MsgExecProtoMsg): MsgExec { - return MsgExec.decode(message.value); - }, - toProto(message: MsgExec): Uint8Array { - return MsgExec.encode(message).finish(); - }, - toProtoMsg(message: MsgExec): MsgExecProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgExec", - value: MsgExec.encode(message).finish() - }; - } -}; -function createBaseMsgExecResponse(): MsgExecResponse { - return {}; -} -export const MsgExecResponse = { - typeUrl: "/cosmos.group.v1.MsgExecResponse", - aminoType: "cosmos-sdk/MsgExecResponse", - encode(_: MsgExecResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgExecResponse { - const obj = createBaseMsgExecResponse(); - return obj; - }, - toJSON(_: MsgExecResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgExecResponse { - const message = createBaseMsgExecResponse(); - return message; - }, - fromSDK(_: MsgExecResponseSDKType): MsgExecResponse { - return {}; - }, - toSDK(_: MsgExecResponse): MsgExecResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgExecResponseAmino): MsgExecResponse { - return {}; - }, - toAmino(_: MsgExecResponse): MsgExecResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgExecResponseAminoMsg): MsgExecResponse { - return MsgExecResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgExecResponse): MsgExecResponseAminoMsg { - return { - type: "cosmos-sdk/MsgExecResponse", - value: MsgExecResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgExecResponseProtoMsg): MsgExecResponse { - return MsgExecResponse.decode(message.value); - }, - toProto(message: MsgExecResponse): Uint8Array { - return MsgExecResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgExecResponse): MsgExecResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgExecResponse", - value: MsgExecResponse.encode(message).finish() - }; - } -}; -function createBaseMsgLeaveGroup(): MsgLeaveGroup { - return { - address: "", - groupId: Long.UZERO - }; -} -export const MsgLeaveGroup = { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - aminoType: "cosmos-sdk/group/MsgLeaveGroup", - encode(message: MsgLeaveGroup, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroup { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgLeaveGroup(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.groupId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgLeaveGroup { - const obj = createBaseMsgLeaveGroup(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - return obj; - }, - toJSON(message: MsgLeaveGroup): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): MsgLeaveGroup { - const message = createBaseMsgLeaveGroup(); - message.address = object.address ?? ""; - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - return message; - }, - fromSDK(object: MsgLeaveGroupSDKType): MsgLeaveGroup { - return { - address: object?.address, - groupId: object?.group_id - }; - }, - toSDK(message: MsgLeaveGroup): MsgLeaveGroupSDKType { - const obj: any = {}; - obj.address = message.address; - obj.group_id = message.groupId; - return obj; - }, - fromAmino(object: MsgLeaveGroupAmino): MsgLeaveGroup { - return { - address: object.address, - groupId: Long.fromString(object.group_id) - }; - }, - toAmino(message: MsgLeaveGroup): MsgLeaveGroupAmino { - const obj: any = {}; - obj.address = message.address; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: MsgLeaveGroupAminoMsg): MsgLeaveGroup { - return MsgLeaveGroup.fromAmino(object.value); - }, - toAminoMsg(message: MsgLeaveGroup): MsgLeaveGroupAminoMsg { - return { - type: "cosmos-sdk/group/MsgLeaveGroup", - value: MsgLeaveGroup.toAmino(message) - }; - }, - fromProtoMsg(message: MsgLeaveGroupProtoMsg): MsgLeaveGroup { - return MsgLeaveGroup.decode(message.value); - }, - toProto(message: MsgLeaveGroup): Uint8Array { - return MsgLeaveGroup.encode(message).finish(); - }, - toProtoMsg(message: MsgLeaveGroup): MsgLeaveGroupProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroup", - value: MsgLeaveGroup.encode(message).finish() - }; - } -}; -function createBaseMsgLeaveGroupResponse(): MsgLeaveGroupResponse { - return {}; -} -export const MsgLeaveGroupResponse = { - typeUrl: "/cosmos.group.v1.MsgLeaveGroupResponse", - aminoType: "cosmos-sdk/MsgLeaveGroupResponse", - encode(_: MsgLeaveGroupResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgLeaveGroupResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgLeaveGroupResponse { - const obj = createBaseMsgLeaveGroupResponse(); - return obj; - }, - toJSON(_: MsgLeaveGroupResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgLeaveGroupResponse { - const message = createBaseMsgLeaveGroupResponse(); - return message; - }, - fromSDK(_: MsgLeaveGroupResponseSDKType): MsgLeaveGroupResponse { - return {}; - }, - toSDK(_: MsgLeaveGroupResponse): MsgLeaveGroupResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgLeaveGroupResponseAmino): MsgLeaveGroupResponse { - return {}; - }, - toAmino(_: MsgLeaveGroupResponse): MsgLeaveGroupResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgLeaveGroupResponseAminoMsg): MsgLeaveGroupResponse { - return MsgLeaveGroupResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgLeaveGroupResponse): MsgLeaveGroupResponseAminoMsg { - return { - type: "cosmos-sdk/MsgLeaveGroupResponse", - value: MsgLeaveGroupResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgLeaveGroupResponseProtoMsg): MsgLeaveGroupResponse { - return MsgLeaveGroupResponse.decode(message.value); - }, - toProto(message: MsgLeaveGroupResponse): Uint8Array { - return MsgLeaveGroupResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgLeaveGroupResponse): MsgLeaveGroupResponseProtoMsg { - return { - typeUrl: "/cosmos.group.v1.MsgLeaveGroupResponse", - value: MsgLeaveGroupResponse.encode(message).finish() - }; - } -}; -export const DecisionPolicy_InterfaceDecoder = (input: _m0.Reader | Uint8Array): ThresholdDecisionPolicy | PercentageDecisionPolicy | Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - case "/cosmos.group.v1.ThresholdDecisionPolicy": - return ThresholdDecisionPolicy.decode(data.value); - case "/cosmos.group.v1.PercentageDecisionPolicy": - return PercentageDecisionPolicy.decode(data.value); - default: - return data; - } -}; -export const DecisionPolicy_FromAmino = (content: AnyAmino) => { - switch (content.type) { - case "cosmos-sdk/ThresholdDecisionPolicy": - return Any.fromPartial({ - typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy", - value: ThresholdDecisionPolicy.encode(ThresholdDecisionPolicy.fromPartial(ThresholdDecisionPolicy.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/PercentageDecisionPolicy": - return Any.fromPartial({ - typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy", - value: PercentageDecisionPolicy.encode(PercentageDecisionPolicy.fromPartial(PercentageDecisionPolicy.fromAmino(content.value))).finish() - }); - default: - return Any.fromAmino(content); - } -}; -export const DecisionPolicy_ToAmino = (content: Any) => { - switch (content.typeUrl) { - case "/cosmos.group.v1.ThresholdDecisionPolicy": - return { - type: "cosmos-sdk/ThresholdDecisionPolicy", - value: ThresholdDecisionPolicy.toAmino(ThresholdDecisionPolicy.decode(content.value)) - }; - case "/cosmos.group.v1.PercentageDecisionPolicy": - return { - type: "cosmos-sdk/PercentageDecisionPolicy", - value: PercentageDecisionPolicy.toAmino(PercentageDecisionPolicy.decode(content.value)) - }; - default: - return Any.toAmino(content); - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/group/v1/types.ts b/quicksilverjs/src/codegen/cosmos/group/v1/types.ts deleted file mode 100644 index 548f51d06..000000000 --- a/quicksilverjs/src/codegen/cosmos/group/v1/types.ts +++ /dev/null @@ -1,2357 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Long, toTimestamp, fromTimestamp, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.group.v1"; -/** VoteOption enumerates the valid vote options for a given proposal. */ -export enum VoteOption { - /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1, -} -export const VoteOptionSDKType = VoteOption; -export const VoteOptionAmino = VoteOption; -export function voteOptionFromJSON(object: any): VoteOption { - switch (object) { - case 0: - case "VOTE_OPTION_UNSPECIFIED": - return VoteOption.VOTE_OPTION_UNSPECIFIED; - case 1: - case "VOTE_OPTION_YES": - return VoteOption.VOTE_OPTION_YES; - case 2: - case "VOTE_OPTION_ABSTAIN": - return VoteOption.VOTE_OPTION_ABSTAIN; - case 3: - case "VOTE_OPTION_NO": - return VoteOption.VOTE_OPTION_NO; - case 4: - case "VOTE_OPTION_NO_WITH_VETO": - return VoteOption.VOTE_OPTION_NO_WITH_VETO; - case -1: - case "UNRECOGNIZED": - default: - return VoteOption.UNRECOGNIZED; - } -} -export function voteOptionToJSON(object: VoteOption): string { - switch (object) { - case VoteOption.VOTE_OPTION_UNSPECIFIED: - return "VOTE_OPTION_UNSPECIFIED"; - case VoteOption.VOTE_OPTION_YES: - return "VOTE_OPTION_YES"; - case VoteOption.VOTE_OPTION_ABSTAIN: - return "VOTE_OPTION_ABSTAIN"; - case VoteOption.VOTE_OPTION_NO: - return "VOTE_OPTION_NO"; - case VoteOption.VOTE_OPTION_NO_WITH_VETO: - return "VOTE_OPTION_NO_WITH_VETO"; - case VoteOption.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ProposalStatus defines proposal statuses. */ -export enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */ - PROPOSAL_STATUS_UNSPECIFIED = 0, - /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when persisted. */ - PROPOSAL_STATUS_SUBMITTED = 1, - /** PROPOSAL_STATUS_CLOSED - Final status of a proposal when the final tally was executed. */ - PROPOSAL_STATUS_CLOSED = 2, - /** PROPOSAL_STATUS_ABORTED - Final status of a proposal when the group was modified before the final tally. */ - PROPOSAL_STATUS_ABORTED = 3, - /** - * PROPOSAL_STATUS_WITHDRAWN - A proposal can be deleted before the voting start time by the owner. When this happens the final status - * is Withdrawn. - */ - PROPOSAL_STATUS_WITHDRAWN = 4, - UNRECOGNIZED = -1, -} -export const ProposalStatusSDKType = ProposalStatus; -export const ProposalStatusAmino = ProposalStatus; -export function proposalStatusFromJSON(object: any): ProposalStatus { - switch (object) { - case 0: - case "PROPOSAL_STATUS_UNSPECIFIED": - return ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED; - case 1: - case "PROPOSAL_STATUS_SUBMITTED": - return ProposalStatus.PROPOSAL_STATUS_SUBMITTED; - case 2: - case "PROPOSAL_STATUS_CLOSED": - return ProposalStatus.PROPOSAL_STATUS_CLOSED; - case 3: - case "PROPOSAL_STATUS_ABORTED": - return ProposalStatus.PROPOSAL_STATUS_ABORTED; - case 4: - case "PROPOSAL_STATUS_WITHDRAWN": - return ProposalStatus.PROPOSAL_STATUS_WITHDRAWN; - case -1: - case "UNRECOGNIZED": - default: - return ProposalStatus.UNRECOGNIZED; - } -} -export function proposalStatusToJSON(object: ProposalStatus): string { - switch (object) { - case ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED: - return "PROPOSAL_STATUS_UNSPECIFIED"; - case ProposalStatus.PROPOSAL_STATUS_SUBMITTED: - return "PROPOSAL_STATUS_SUBMITTED"; - case ProposalStatus.PROPOSAL_STATUS_CLOSED: - return "PROPOSAL_STATUS_CLOSED"; - case ProposalStatus.PROPOSAL_STATUS_ABORTED: - return "PROPOSAL_STATUS_ABORTED"; - case ProposalStatus.PROPOSAL_STATUS_WITHDRAWN: - return "PROPOSAL_STATUS_WITHDRAWN"; - case ProposalStatus.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ProposalResult defines types of proposal results. */ -export enum ProposalResult { - /** PROPOSAL_RESULT_UNSPECIFIED - An empty value is invalid and not allowed */ - PROPOSAL_RESULT_UNSPECIFIED = 0, - /** PROPOSAL_RESULT_UNFINALIZED - Until a final tally has happened the status is unfinalized */ - PROPOSAL_RESULT_UNFINALIZED = 1, - /** PROPOSAL_RESULT_ACCEPTED - Final result of the tally */ - PROPOSAL_RESULT_ACCEPTED = 2, - /** PROPOSAL_RESULT_REJECTED - Final result of the tally */ - PROPOSAL_RESULT_REJECTED = 3, - UNRECOGNIZED = -1, -} -export const ProposalResultSDKType = ProposalResult; -export const ProposalResultAmino = ProposalResult; -export function proposalResultFromJSON(object: any): ProposalResult { - switch (object) { - case 0: - case "PROPOSAL_RESULT_UNSPECIFIED": - return ProposalResult.PROPOSAL_RESULT_UNSPECIFIED; - case 1: - case "PROPOSAL_RESULT_UNFINALIZED": - return ProposalResult.PROPOSAL_RESULT_UNFINALIZED; - case 2: - case "PROPOSAL_RESULT_ACCEPTED": - return ProposalResult.PROPOSAL_RESULT_ACCEPTED; - case 3: - case "PROPOSAL_RESULT_REJECTED": - return ProposalResult.PROPOSAL_RESULT_REJECTED; - case -1: - case "UNRECOGNIZED": - default: - return ProposalResult.UNRECOGNIZED; - } -} -export function proposalResultToJSON(object: ProposalResult): string { - switch (object) { - case ProposalResult.PROPOSAL_RESULT_UNSPECIFIED: - return "PROPOSAL_RESULT_UNSPECIFIED"; - case ProposalResult.PROPOSAL_RESULT_UNFINALIZED: - return "PROPOSAL_RESULT_UNFINALIZED"; - case ProposalResult.PROPOSAL_RESULT_ACCEPTED: - return "PROPOSAL_RESULT_ACCEPTED"; - case ProposalResult.PROPOSAL_RESULT_REJECTED: - return "PROPOSAL_RESULT_REJECTED"; - case ProposalResult.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ProposalExecutorResult defines types of proposal executor results. */ -export enum ProposalExecutorResult { - /** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */ - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0, - /** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */ - PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1, - /** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */ - PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2, - /** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */ - PROPOSAL_EXECUTOR_RESULT_FAILURE = 3, - UNRECOGNIZED = -1, -} -export const ProposalExecutorResultSDKType = ProposalExecutorResult; -export const ProposalExecutorResultAmino = ProposalExecutorResult; -export function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult { - switch (object) { - case 0: - case "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED": - return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED; - case 1: - case "PROPOSAL_EXECUTOR_RESULT_NOT_RUN": - return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN; - case 2: - case "PROPOSAL_EXECUTOR_RESULT_SUCCESS": - return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS; - case 3: - case "PROPOSAL_EXECUTOR_RESULT_FAILURE": - return ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE; - case -1: - case "UNRECOGNIZED": - default: - return ProposalExecutorResult.UNRECOGNIZED; - } -} -export function proposalExecutorResultToJSON(object: ProposalExecutorResult): string { - switch (object) { - case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED: - return "PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED"; - case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_NOT_RUN: - return "PROPOSAL_EXECUTOR_RESULT_NOT_RUN"; - case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_SUCCESS: - return "PROPOSAL_EXECUTOR_RESULT_SUCCESS"; - case ProposalExecutorResult.PROPOSAL_EXECUTOR_RESULT_FAILURE: - return "PROPOSAL_EXECUTOR_RESULT_FAILURE"; - case ProposalExecutorResult.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * Member represents a group member with an account address, - * non-zero weight and metadata. - */ -export interface Member { - /** address is the member's account address. */ - address: string; - /** weight is the member's voting weight that should be greater than 0. */ - weight: string; - /** metadata is any arbitrary metadata to attached to the member. */ - metadata: string; - /** added_at is a timestamp specifying when a member was added. */ - addedAt: Date; -} -export interface MemberProtoMsg { - typeUrl: "/cosmos.group.v1.Member"; - value: Uint8Array; -} -/** - * Member represents a group member with an account address, - * non-zero weight and metadata. - */ -export interface MemberAmino { - /** address is the member's account address. */ - address: string; - /** weight is the member's voting weight that should be greater than 0. */ - weight: string; - /** metadata is any arbitrary metadata to attached to the member. */ - metadata: string; - /** added_at is a timestamp specifying when a member was added. */ - added_at?: Date; -} -export interface MemberAminoMsg { - type: "cosmos-sdk/Member"; - value: MemberAmino; -} -/** - * Member represents a group member with an account address, - * non-zero weight and metadata. - */ -export interface MemberSDKType { - address: string; - weight: string; - metadata: string; - added_at: Date; -} -/** Members defines a repeated slice of Member objects. */ -export interface Members { - /** members is the list of members. */ - members: Member[]; -} -export interface MembersProtoMsg { - typeUrl: "/cosmos.group.v1.Members"; - value: Uint8Array; -} -/** Members defines a repeated slice of Member objects. */ -export interface MembersAmino { - /** members is the list of members. */ - members: MemberAmino[]; -} -export interface MembersAminoMsg { - type: "cosmos-sdk/Members"; - value: MembersAmino; -} -/** Members defines a repeated slice of Member objects. */ -export interface MembersSDKType { - members: MemberSDKType[]; -} -/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ -export interface ThresholdDecisionPolicy { - /** threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. */ - threshold: string; - /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindows; -} -export interface ThresholdDecisionPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy"; - value: Uint8Array; -} -/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ -export interface ThresholdDecisionPolicyAmino { - /** threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed. */ - threshold: string; - /** windows defines the different windows for voting and execution. */ - windows?: DecisionPolicyWindowsAmino; -} -export interface ThresholdDecisionPolicyAminoMsg { - type: "cosmos-sdk/ThresholdDecisionPolicy"; - value: ThresholdDecisionPolicyAmino; -} -/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ -export interface ThresholdDecisionPolicySDKType { - threshold: string; - windows: DecisionPolicyWindowsSDKType; -} -/** PercentageDecisionPolicy implements the DecisionPolicy interface */ -export interface PercentageDecisionPolicy { - /** percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. */ - percentage: string; - /** windows defines the different windows for voting and execution. */ - windows: DecisionPolicyWindows; -} -export interface PercentageDecisionPolicyProtoMsg { - typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy"; - value: Uint8Array; -} -/** PercentageDecisionPolicy implements the DecisionPolicy interface */ -export interface PercentageDecisionPolicyAmino { - /** percentage is the minimum percentage the weighted sum of yes votes must meet for a proposal to succeed. */ - percentage: string; - /** windows defines the different windows for voting and execution. */ - windows?: DecisionPolicyWindowsAmino; -} -export interface PercentageDecisionPolicyAminoMsg { - type: "cosmos-sdk/PercentageDecisionPolicy"; - value: PercentageDecisionPolicyAmino; -} -/** PercentageDecisionPolicy implements the DecisionPolicy interface */ -export interface PercentageDecisionPolicySDKType { - percentage: string; - windows: DecisionPolicyWindowsSDKType; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ -export interface DecisionPolicyWindows { - /** - * voting_period is the duration from submission of a proposal to the end of voting period - * Within this times votes can be submitted with MsgVote. - */ - votingPeriod: Duration; - /** - * min_execution_period is the minimum duration after the proposal submission - * where members can start sending MsgExec. This means that the window for - * sending a MsgExec transaction is: - * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` - * where max_execution_period is a app-specific config, defined in the keeper. - * If not set, min_execution_period will default to 0. - * - * Please make sure to set a `min_execution_period` that is smaller than - * `voting_period + max_execution_period`, or else the above execution window - * is empty, meaning that all proposals created with this decision policy - * won't be able to be executed. - */ - minExecutionPeriod: Duration; -} -export interface DecisionPolicyWindowsProtoMsg { - typeUrl: "/cosmos.group.v1.DecisionPolicyWindows"; - value: Uint8Array; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ -export interface DecisionPolicyWindowsAmino { - /** - * voting_period is the duration from submission of a proposal to the end of voting period - * Within this times votes can be submitted with MsgVote. - */ - voting_period?: DurationAmino; - /** - * min_execution_period is the minimum duration after the proposal submission - * where members can start sending MsgExec. This means that the window for - * sending a MsgExec transaction is: - * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` - * where max_execution_period is a app-specific config, defined in the keeper. - * If not set, min_execution_period will default to 0. - * - * Please make sure to set a `min_execution_period` that is smaller than - * `voting_period + max_execution_period`, or else the above execution window - * is empty, meaning that all proposals created with this decision policy - * won't be able to be executed. - */ - min_execution_period?: DurationAmino; -} -export interface DecisionPolicyWindowsAminoMsg { - type: "cosmos-sdk/DecisionPolicyWindows"; - value: DecisionPolicyWindowsAmino; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ -export interface DecisionPolicyWindowsSDKType { - voting_period: DurationSDKType; - min_execution_period: DurationSDKType; -} -/** GroupInfo represents the high-level on-chain information for a group. */ -export interface GroupInfo { - /** id is the unique ID of the group. */ - id: Long; - /** admin is the account address of the group's admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; - /** - * version is used to track changes to a group's membership structure that - * would break existing proposals. Whenever any members weight is changed, - * or any member is added or removed this version is incremented and will - * cause proposals based on older versions of this group to fail - */ - version: Long; - /** total_weight is the sum of the group members' weights. */ - totalWeight: string; - /** created_at is a timestamp specifying when a group was created. */ - createdAt: Date; -} -export interface GroupInfoProtoMsg { - typeUrl: "/cosmos.group.v1.GroupInfo"; - value: Uint8Array; -} -/** GroupInfo represents the high-level on-chain information for a group. */ -export interface GroupInfoAmino { - /** id is the unique ID of the group. */ - id: string; - /** admin is the account address of the group's admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; - /** - * version is used to track changes to a group's membership structure that - * would break existing proposals. Whenever any members weight is changed, - * or any member is added or removed this version is incremented and will - * cause proposals based on older versions of this group to fail - */ - version: string; - /** total_weight is the sum of the group members' weights. */ - total_weight: string; - /** created_at is a timestamp specifying when a group was created. */ - created_at?: Date; -} -export interface GroupInfoAminoMsg { - type: "cosmos-sdk/GroupInfo"; - value: GroupInfoAmino; -} -/** GroupInfo represents the high-level on-chain information for a group. */ -export interface GroupInfoSDKType { - id: Long; - admin: string; - metadata: string; - version: Long; - total_weight: string; - created_at: Date; -} -/** GroupMember represents the relationship between a group and a member. */ -export interface GroupMember { - /** group_id is the unique ID of the group. */ - groupId: Long; - /** member is the member data. */ - member: Member; -} -export interface GroupMemberProtoMsg { - typeUrl: "/cosmos.group.v1.GroupMember"; - value: Uint8Array; -} -/** GroupMember represents the relationship between a group and a member. */ -export interface GroupMemberAmino { - /** group_id is the unique ID of the group. */ - group_id: string; - /** member is the member data. */ - member?: MemberAmino; -} -export interface GroupMemberAminoMsg { - type: "cosmos-sdk/GroupMember"; - value: GroupMemberAmino; -} -/** GroupMember represents the relationship between a group and a member. */ -export interface GroupMemberSDKType { - group_id: Long; - member: MemberSDKType; -} -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ -export interface GroupPolicyInfo { - /** address is the account address of group policy. */ - address: string; - /** group_id is the unique ID of the group. */ - groupId: Long; - /** admin is the account address of the group admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group policy. */ - metadata: string; - /** - * version is used to track changes to a group's GroupPolicyInfo structure that - * would create a different result on a running proposal. - */ - version: Long; - /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy: ThresholdDecisionPolicy | PercentageDecisionPolicy | Any | undefined; - /** created_at is a timestamp specifying when a group policy was created. */ - createdAt: Date; -} -export interface GroupPolicyInfoProtoMsg { - typeUrl: "/cosmos.group.v1.GroupPolicyInfo"; - value: Uint8Array; -} -export type GroupPolicyInfoEncoded = Omit & { - /** decision_policy specifies the group policy's decision policy. */decisionPolicy?: ThresholdDecisionPolicyProtoMsg | PercentageDecisionPolicyProtoMsg | AnyProtoMsg | undefined; -}; -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ -export interface GroupPolicyInfoAmino { - /** address is the account address of group policy. */ - address: string; - /** group_id is the unique ID of the group. */ - group_id: string; - /** admin is the account address of the group admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group policy. */ - metadata: string; - /** - * version is used to track changes to a group's GroupPolicyInfo structure that - * would create a different result on a running proposal. - */ - version: string; - /** decision_policy specifies the group policy's decision policy. */ - decision_policy?: AnyAmino; - /** created_at is a timestamp specifying when a group policy was created. */ - created_at?: Date; -} -export interface GroupPolicyInfoAminoMsg { - type: "cosmos-sdk/GroupPolicyInfo"; - value: GroupPolicyInfoAmino; -} -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ -export interface GroupPolicyInfoSDKType { - address: string; - group_id: Long; - admin: string; - metadata: string; - version: Long; - decision_policy: ThresholdDecisionPolicySDKType | PercentageDecisionPolicySDKType | AnySDKType | undefined; - created_at: Date; -} -/** - * Proposal defines a group proposal. Any member of a group can submit a proposal - * for a group policy to decide upon. - * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal - * passes as well as some optional metadata associated with the proposal. - */ -export interface Proposal { - /** id is the unique id of the proposal. */ - id: Long; - /** address is the account address of group policy. */ - address: string; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; - /** proposers are the account addresses of the proposers. */ - proposers: string[]; - /** submit_time is a timestamp specifying when a proposal was submitted. */ - submitTime: Date; - /** - * group_version tracks the version of the group that this proposal corresponds to. - * When group membership is changed, existing proposals from previous group versions will become invalid. - */ - groupVersion: Long; - /** - * group_policy_version tracks the version of the group policy that this proposal corresponds to. - * When a decision policy is changed, existing proposals from previous policy versions will become invalid. - */ - groupPolicyVersion: Long; - /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ - status: ProposalStatus; - /** - * result is the final result based on the votes and election rule. Initial value is unfinalized. - * The result is persisted so that clients can always rely on this state and not have to replicate the logic. - */ - result: ProposalResult; - /** - * final_tally_result contains the sums of all weighted votes for this - * proposal for each vote option, after tallying. When querying a proposal - * via gRPC, this field is not populated until the proposal's voting period - * has ended. - */ - finalTallyResult: TallyResult; - /** - * voting_period_end is the timestamp before which voting must be done. - * Unless a successfull MsgExec is called before (to execute a proposal whose - * tally is successful before the voting period ends), tallying will be done - * at this point, and the `final_tally_result`, as well - * as `status` and `result` fields will be accordingly updated. - */ - votingPeriodEnd: Date; - /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ - executorResult: ProposalExecutorResult; - /** messages is a list of Msgs that will be executed if the proposal passes. */ - messages: Any[]; -} -export interface ProposalProtoMsg { - typeUrl: "/cosmos.group.v1.Proposal"; - value: Uint8Array; -} -/** - * Proposal defines a group proposal. Any member of a group can submit a proposal - * for a group policy to decide upon. - * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal - * passes as well as some optional metadata associated with the proposal. - */ -export interface ProposalAmino { - /** id is the unique id of the proposal. */ - id: string; - /** address is the account address of group policy. */ - address: string; - /** metadata is any arbitrary metadata to attached to the proposal. */ - metadata: string; - /** proposers are the account addresses of the proposers. */ - proposers: string[]; - /** submit_time is a timestamp specifying when a proposal was submitted. */ - submit_time?: Date; - /** - * group_version tracks the version of the group that this proposal corresponds to. - * When group membership is changed, existing proposals from previous group versions will become invalid. - */ - group_version: string; - /** - * group_policy_version tracks the version of the group policy that this proposal corresponds to. - * When a decision policy is changed, existing proposals from previous policy versions will become invalid. - */ - group_policy_version: string; - /** status represents the high level position in the life cycle of the proposal. Initial value is Submitted. */ - status: ProposalStatus; - /** - * result is the final result based on the votes and election rule. Initial value is unfinalized. - * The result is persisted so that clients can always rely on this state and not have to replicate the logic. - */ - result: ProposalResult; - /** - * final_tally_result contains the sums of all weighted votes for this - * proposal for each vote option, after tallying. When querying a proposal - * via gRPC, this field is not populated until the proposal's voting period - * has ended. - */ - final_tally_result?: TallyResultAmino; - /** - * voting_period_end is the timestamp before which voting must be done. - * Unless a successfull MsgExec is called before (to execute a proposal whose - * tally is successful before the voting period ends), tallying will be done - * at this point, and the `final_tally_result`, as well - * as `status` and `result` fields will be accordingly updated. - */ - voting_period_end?: Date; - /** executor_result is the final result based on the votes and election rule. Initial value is NotRun. */ - executor_result: ProposalExecutorResult; - /** messages is a list of Msgs that will be executed if the proposal passes. */ - messages: AnyAmino[]; -} -export interface ProposalAminoMsg { - type: "cosmos-sdk/Proposal"; - value: ProposalAmino; -} -/** - * Proposal defines a group proposal. Any member of a group can submit a proposal - * for a group policy to decide upon. - * A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal - * passes as well as some optional metadata associated with the proposal. - */ -export interface ProposalSDKType { - id: Long; - address: string; - metadata: string; - proposers: string[]; - submit_time: Date; - group_version: Long; - group_policy_version: Long; - status: ProposalStatus; - result: ProposalResult; - final_tally_result: TallyResultSDKType; - voting_period_end: Date; - executor_result: ProposalExecutorResult; - messages: AnySDKType[]; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ -export interface TallyResult { - /** yes_count is the weighted sum of yes votes. */ - yesCount: string; - /** abstain_count is the weighted sum of abstainers. */ - abstainCount: string; - /** no is the weighted sum of no votes. */ - noCount: string; - /** no_with_veto_count is the weighted sum of veto. */ - noWithVetoCount: string; -} -export interface TallyResultProtoMsg { - typeUrl: "/cosmos.group.v1.TallyResult"; - value: Uint8Array; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ -export interface TallyResultAmino { - /** yes_count is the weighted sum of yes votes. */ - yes_count: string; - /** abstain_count is the weighted sum of abstainers. */ - abstain_count: string; - /** no is the weighted sum of no votes. */ - no_count: string; - /** no_with_veto_count is the weighted sum of veto. */ - no_with_veto_count: string; -} -export interface TallyResultAminoMsg { - type: "cosmos-sdk/TallyResult"; - value: TallyResultAmino; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ -export interface TallyResultSDKType { - yes_count: string; - abstain_count: string; - no_count: string; - no_with_veto_count: string; -} -/** Vote represents a vote for a proposal. */ -export interface Vote { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** voter is the account address of the voter. */ - voter: string; - /** option is the voter's choice on the proposal. */ - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; - /** submit_time is the timestamp when the vote was submitted. */ - submitTime: Date; -} -export interface VoteProtoMsg { - typeUrl: "/cosmos.group.v1.Vote"; - value: Uint8Array; -} -/** Vote represents a vote for a proposal. */ -export interface VoteAmino { - /** proposal is the unique ID of the proposal. */ - proposal_id: string; - /** voter is the account address of the voter. */ - voter: string; - /** option is the voter's choice on the proposal. */ - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; - /** submit_time is the timestamp when the vote was submitted. */ - submit_time?: Date; -} -export interface VoteAminoMsg { - type: "cosmos-sdk/Vote"; - value: VoteAmino; -} -/** Vote represents a vote for a proposal. */ -export interface VoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOption; - metadata: string; - submit_time: Date; -} -function createBaseMember(): Member { - return { - address: "", - weight: "", - metadata: "", - addedAt: new Date() - }; -} -export const Member = { - typeUrl: "/cosmos.group.v1.Member", - aminoType: "cosmos-sdk/Member", - encode(message: Member, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.weight !== "") { - writer.uint32(18).string(message.weight); - } - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - if (message.addedAt !== undefined) { - Timestamp.encode(toTimestamp(message.addedAt), writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Member { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMember(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.weight = reader.string(); - break; - case 3: - message.metadata = reader.string(); - break; - case 4: - message.addedAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Member { - const obj = createBaseMember(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.weight)) obj.weight = String(object.weight); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - if (isSet(object.addedAt)) obj.addedAt = new Date(object.addedAt); - return obj; - }, - toJSON(message: Member): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.weight !== undefined && (obj.weight = message.weight); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.addedAt !== undefined && (obj.addedAt = message.addedAt.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): Member { - const message = createBaseMember(); - message.address = object.address ?? ""; - message.weight = object.weight ?? ""; - message.metadata = object.metadata ?? ""; - message.addedAt = object.addedAt ?? undefined; - return message; - }, - fromSDK(object: MemberSDKType): Member { - return { - address: object?.address, - weight: object?.weight, - metadata: object?.metadata, - addedAt: object.added_at ?? undefined - }; - }, - toSDK(message: Member): MemberSDKType { - const obj: any = {}; - obj.address = message.address; - obj.weight = message.weight; - obj.metadata = message.metadata; - message.addedAt !== undefined && (obj.added_at = message.addedAt ?? undefined); - return obj; - }, - fromAmino(object: MemberAmino): Member { - return { - address: object.address, - weight: object.weight, - metadata: object.metadata, - addedAt: object.added_at - }; - }, - toAmino(message: Member): MemberAmino { - const obj: any = {}; - obj.address = message.address; - obj.weight = message.weight; - obj.metadata = message.metadata; - obj.added_at = message.addedAt; - return obj; - }, - fromAminoMsg(object: MemberAminoMsg): Member { - return Member.fromAmino(object.value); - }, - toAminoMsg(message: Member): MemberAminoMsg { - return { - type: "cosmos-sdk/Member", - value: Member.toAmino(message) - }; - }, - fromProtoMsg(message: MemberProtoMsg): Member { - return Member.decode(message.value); - }, - toProto(message: Member): Uint8Array { - return Member.encode(message).finish(); - }, - toProtoMsg(message: Member): MemberProtoMsg { - return { - typeUrl: "/cosmos.group.v1.Member", - value: Member.encode(message).finish() - }; - } -}; -function createBaseMembers(): Members { - return { - members: [] - }; -} -export const Members = { - typeUrl: "/cosmos.group.v1.Members", - aminoType: "cosmos-sdk/Members", - encode(message: Members, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.members) { - Member.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Members { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMembers(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.members.push(Member.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Members { - const obj = createBaseMembers(); - if (Array.isArray(object?.members)) obj.members = object.members.map((e: any) => Member.fromJSON(e)); - return obj; - }, - toJSON(message: Members): unknown { - const obj: any = {}; - if (message.members) { - obj.members = message.members.map(e => e ? Member.toJSON(e) : undefined); - } else { - obj.members = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Members { - const message = createBaseMembers(); - message.members = object.members?.map(e => Member.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MembersSDKType): Members { - return { - members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.fromSDK(e)) : [] - }; - }, - toSDK(message: Members): MembersSDKType { - const obj: any = {}; - if (message.members) { - obj.members = message.members.map(e => e ? Member.toSDK(e) : undefined); - } else { - obj.members = []; - } - return obj; - }, - fromAmino(object: MembersAmino): Members { - return { - members: Array.isArray(object?.members) ? object.members.map((e: any) => Member.fromAmino(e)) : [] - }; - }, - toAmino(message: Members): MembersAmino { - const obj: any = {}; - if (message.members) { - obj.members = message.members.map(e => e ? Member.toAmino(e) : undefined); - } else { - obj.members = []; - } - return obj; - }, - fromAminoMsg(object: MembersAminoMsg): Members { - return Members.fromAmino(object.value); - }, - toAminoMsg(message: Members): MembersAminoMsg { - return { - type: "cosmos-sdk/Members", - value: Members.toAmino(message) - }; - }, - fromProtoMsg(message: MembersProtoMsg): Members { - return Members.decode(message.value); - }, - toProto(message: Members): Uint8Array { - return Members.encode(message).finish(); - }, - toProtoMsg(message: Members): MembersProtoMsg { - return { - typeUrl: "/cosmos.group.v1.Members", - value: Members.encode(message).finish() - }; - } -}; -function createBaseThresholdDecisionPolicy(): ThresholdDecisionPolicy { - return { - threshold: "", - windows: DecisionPolicyWindows.fromPartial({}) - }; -} -export const ThresholdDecisionPolicy = { - typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy", - aminoType: "cosmos-sdk/ThresholdDecisionPolicy", - encode(message: ThresholdDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.threshold !== "") { - writer.uint32(10).string(message.threshold); - } - if (message.windows !== undefined) { - DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ThresholdDecisionPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseThresholdDecisionPolicy(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.threshold = reader.string(); - break; - case 2: - message.windows = DecisionPolicyWindows.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ThresholdDecisionPolicy { - const obj = createBaseThresholdDecisionPolicy(); - if (isSet(object.threshold)) obj.threshold = String(object.threshold); - if (isSet(object.windows)) obj.windows = DecisionPolicyWindows.fromJSON(object.windows); - return obj; - }, - toJSON(message: ThresholdDecisionPolicy): unknown { - const obj: any = {}; - message.threshold !== undefined && (obj.threshold = message.threshold); - message.windows !== undefined && (obj.windows = message.windows ? DecisionPolicyWindows.toJSON(message.windows) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ThresholdDecisionPolicy { - const message = createBaseThresholdDecisionPolicy(); - message.threshold = object.threshold ?? ""; - if (object.windows !== undefined && object.windows !== null) { - message.windows = DecisionPolicyWindows.fromPartial(object.windows); - } - return message; - }, - fromSDK(object: ThresholdDecisionPolicySDKType): ThresholdDecisionPolicy { - return { - threshold: object?.threshold, - windows: object.windows ? DecisionPolicyWindows.fromSDK(object.windows) : undefined - }; - }, - toSDK(message: ThresholdDecisionPolicy): ThresholdDecisionPolicySDKType { - const obj: any = {}; - obj.threshold = message.threshold; - message.windows !== undefined && (obj.windows = message.windows ? DecisionPolicyWindows.toSDK(message.windows) : undefined); - return obj; - }, - fromAmino(object: ThresholdDecisionPolicyAmino): ThresholdDecisionPolicy { - return { - threshold: object.threshold, - windows: object?.windows ? DecisionPolicyWindows.fromAmino(object.windows) : undefined - }; - }, - toAmino(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAmino { - const obj: any = {}; - obj.threshold = message.threshold; - obj.windows = message.windows ? DecisionPolicyWindows.toAmino(message.windows) : undefined; - return obj; - }, - fromAminoMsg(object: ThresholdDecisionPolicyAminoMsg): ThresholdDecisionPolicy { - return ThresholdDecisionPolicy.fromAmino(object.value); - }, - toAminoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyAminoMsg { - return { - type: "cosmos-sdk/ThresholdDecisionPolicy", - value: ThresholdDecisionPolicy.toAmino(message) - }; - }, - fromProtoMsg(message: ThresholdDecisionPolicyProtoMsg): ThresholdDecisionPolicy { - return ThresholdDecisionPolicy.decode(message.value); - }, - toProto(message: ThresholdDecisionPolicy): Uint8Array { - return ThresholdDecisionPolicy.encode(message).finish(); - }, - toProtoMsg(message: ThresholdDecisionPolicy): ThresholdDecisionPolicyProtoMsg { - return { - typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy", - value: ThresholdDecisionPolicy.encode(message).finish() - }; - } -}; -function createBasePercentageDecisionPolicy(): PercentageDecisionPolicy { - return { - percentage: "", - windows: DecisionPolicyWindows.fromPartial({}) - }; -} -export const PercentageDecisionPolicy = { - typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy", - aminoType: "cosmos-sdk/PercentageDecisionPolicy", - encode(message: PercentageDecisionPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.percentage !== "") { - writer.uint32(10).string(message.percentage); - } - if (message.windows !== undefined) { - DecisionPolicyWindows.encode(message.windows, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PercentageDecisionPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePercentageDecisionPolicy(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.percentage = reader.string(); - break; - case 2: - message.windows = DecisionPolicyWindows.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PercentageDecisionPolicy { - const obj = createBasePercentageDecisionPolicy(); - if (isSet(object.percentage)) obj.percentage = String(object.percentage); - if (isSet(object.windows)) obj.windows = DecisionPolicyWindows.fromJSON(object.windows); - return obj; - }, - toJSON(message: PercentageDecisionPolicy): unknown { - const obj: any = {}; - message.percentage !== undefined && (obj.percentage = message.percentage); - message.windows !== undefined && (obj.windows = message.windows ? DecisionPolicyWindows.toJSON(message.windows) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): PercentageDecisionPolicy { - const message = createBasePercentageDecisionPolicy(); - message.percentage = object.percentage ?? ""; - if (object.windows !== undefined && object.windows !== null) { - message.windows = DecisionPolicyWindows.fromPartial(object.windows); - } - return message; - }, - fromSDK(object: PercentageDecisionPolicySDKType): PercentageDecisionPolicy { - return { - percentage: object?.percentage, - windows: object.windows ? DecisionPolicyWindows.fromSDK(object.windows) : undefined - }; - }, - toSDK(message: PercentageDecisionPolicy): PercentageDecisionPolicySDKType { - const obj: any = {}; - obj.percentage = message.percentage; - message.windows !== undefined && (obj.windows = message.windows ? DecisionPolicyWindows.toSDK(message.windows) : undefined); - return obj; - }, - fromAmino(object: PercentageDecisionPolicyAmino): PercentageDecisionPolicy { - return { - percentage: object.percentage, - windows: object?.windows ? DecisionPolicyWindows.fromAmino(object.windows) : undefined - }; - }, - toAmino(message: PercentageDecisionPolicy): PercentageDecisionPolicyAmino { - const obj: any = {}; - obj.percentage = message.percentage; - obj.windows = message.windows ? DecisionPolicyWindows.toAmino(message.windows) : undefined; - return obj; - }, - fromAminoMsg(object: PercentageDecisionPolicyAminoMsg): PercentageDecisionPolicy { - return PercentageDecisionPolicy.fromAmino(object.value); - }, - toAminoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyAminoMsg { - return { - type: "cosmos-sdk/PercentageDecisionPolicy", - value: PercentageDecisionPolicy.toAmino(message) - }; - }, - fromProtoMsg(message: PercentageDecisionPolicyProtoMsg): PercentageDecisionPolicy { - return PercentageDecisionPolicy.decode(message.value); - }, - toProto(message: PercentageDecisionPolicy): Uint8Array { - return PercentageDecisionPolicy.encode(message).finish(); - }, - toProtoMsg(message: PercentageDecisionPolicy): PercentageDecisionPolicyProtoMsg { - return { - typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy", - value: PercentageDecisionPolicy.encode(message).finish() - }; - } -}; -function createBaseDecisionPolicyWindows(): DecisionPolicyWindows { - return { - votingPeriod: Duration.fromPartial({}), - minExecutionPeriod: Duration.fromPartial({}) - }; -} -export const DecisionPolicyWindows = { - typeUrl: "/cosmos.group.v1.DecisionPolicyWindows", - aminoType: "cosmos-sdk/DecisionPolicyWindows", - encode(message: DecisionPolicyWindows, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.votingPeriod !== undefined) { - Duration.encode(message.votingPeriod, writer.uint32(10).fork()).ldelim(); - } - if (message.minExecutionPeriod !== undefined) { - Duration.encode(message.minExecutionPeriod, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DecisionPolicyWindows { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDecisionPolicyWindows(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.votingPeriod = Duration.decode(reader, reader.uint32()); - break; - case 2: - message.minExecutionPeriod = Duration.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DecisionPolicyWindows { - const obj = createBaseDecisionPolicyWindows(); - if (isSet(object.votingPeriod)) obj.votingPeriod = Duration.fromJSON(object.votingPeriod); - if (isSet(object.minExecutionPeriod)) obj.minExecutionPeriod = Duration.fromJSON(object.minExecutionPeriod); - return obj; - }, - toJSON(message: DecisionPolicyWindows): unknown { - const obj: any = {}; - message.votingPeriod !== undefined && (obj.votingPeriod = message.votingPeriod ? Duration.toJSON(message.votingPeriod) : undefined); - message.minExecutionPeriod !== undefined && (obj.minExecutionPeriod = message.minExecutionPeriod ? Duration.toJSON(message.minExecutionPeriod) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): DecisionPolicyWindows { - const message = createBaseDecisionPolicyWindows(); - if (object.votingPeriod !== undefined && object.votingPeriod !== null) { - message.votingPeriod = Duration.fromPartial(object.votingPeriod); - } - if (object.minExecutionPeriod !== undefined && object.minExecutionPeriod !== null) { - message.minExecutionPeriod = Duration.fromPartial(object.minExecutionPeriod); - } - return message; - }, - fromSDK(object: DecisionPolicyWindowsSDKType): DecisionPolicyWindows { - return { - votingPeriod: object.voting_period ? Duration.fromSDK(object.voting_period) : undefined, - minExecutionPeriod: object.min_execution_period ? Duration.fromSDK(object.min_execution_period) : undefined - }; - }, - toSDK(message: DecisionPolicyWindows): DecisionPolicyWindowsSDKType { - const obj: any = {}; - message.votingPeriod !== undefined && (obj.voting_period = message.votingPeriod ? Duration.toSDK(message.votingPeriod) : undefined); - message.minExecutionPeriod !== undefined && (obj.min_execution_period = message.minExecutionPeriod ? Duration.toSDK(message.minExecutionPeriod) : undefined); - return obj; - }, - fromAmino(object: DecisionPolicyWindowsAmino): DecisionPolicyWindows { - return { - votingPeriod: object?.voting_period ? Duration.fromAmino(object.voting_period) : undefined, - minExecutionPeriod: object?.min_execution_period ? Duration.fromAmino(object.min_execution_period) : undefined - }; - }, - toAmino(message: DecisionPolicyWindows): DecisionPolicyWindowsAmino { - const obj: any = {}; - obj.voting_period = message.votingPeriod ? Duration.toAmino(message.votingPeriod) : undefined; - obj.min_execution_period = message.minExecutionPeriod ? Duration.toAmino(message.minExecutionPeriod) : undefined; - return obj; - }, - fromAminoMsg(object: DecisionPolicyWindowsAminoMsg): DecisionPolicyWindows { - return DecisionPolicyWindows.fromAmino(object.value); - }, - toAminoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsAminoMsg { - return { - type: "cosmos-sdk/DecisionPolicyWindows", - value: DecisionPolicyWindows.toAmino(message) - }; - }, - fromProtoMsg(message: DecisionPolicyWindowsProtoMsg): DecisionPolicyWindows { - return DecisionPolicyWindows.decode(message.value); - }, - toProto(message: DecisionPolicyWindows): Uint8Array { - return DecisionPolicyWindows.encode(message).finish(); - }, - toProtoMsg(message: DecisionPolicyWindows): DecisionPolicyWindowsProtoMsg { - return { - typeUrl: "/cosmos.group.v1.DecisionPolicyWindows", - value: DecisionPolicyWindows.encode(message).finish() - }; - } -}; -function createBaseGroupInfo(): GroupInfo { - return { - id: Long.UZERO, - admin: "", - metadata: "", - version: Long.UZERO, - totalWeight: "", - createdAt: new Date() - }; -} -export const GroupInfo = { - typeUrl: "/cosmos.group.v1.GroupInfo", - aminoType: "cosmos-sdk/GroupInfo", - encode(message: GroupInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.id.isZero()) { - writer.uint32(8).uint64(message.id); - } - if (message.admin !== "") { - writer.uint32(18).string(message.admin); - } - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - if (!message.version.isZero()) { - writer.uint32(32).uint64(message.version); - } - if (message.totalWeight !== "") { - writer.uint32(42).string(message.totalWeight); - } - if (message.createdAt !== undefined) { - Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GroupInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGroupInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = (reader.uint64() as Long); - break; - case 2: - message.admin = reader.string(); - break; - case 3: - message.metadata = reader.string(); - break; - case 4: - message.version = (reader.uint64() as Long); - break; - case 5: - message.totalWeight = reader.string(); - break; - case 6: - message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GroupInfo { - const obj = createBaseGroupInfo(); - if (isSet(object.id)) obj.id = Long.fromValue(object.id); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - if (isSet(object.version)) obj.version = Long.fromValue(object.version); - if (isSet(object.totalWeight)) obj.totalWeight = String(object.totalWeight); - if (isSet(object.createdAt)) obj.createdAt = new Date(object.createdAt); - return obj; - }, - toJSON(message: GroupInfo): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || Long.UZERO).toString()); - message.admin !== undefined && (obj.admin = message.admin); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); - message.totalWeight !== undefined && (obj.totalWeight = message.totalWeight); - message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): GroupInfo { - const message = createBaseGroupInfo(); - if (object.id !== undefined && object.id !== null) { - message.id = Long.fromValue(object.id); - } - message.admin = object.admin ?? ""; - message.metadata = object.metadata ?? ""; - if (object.version !== undefined && object.version !== null) { - message.version = Long.fromValue(object.version); - } - message.totalWeight = object.totalWeight ?? ""; - message.createdAt = object.createdAt ?? undefined; - return message; - }, - fromSDK(object: GroupInfoSDKType): GroupInfo { - return { - id: object?.id, - admin: object?.admin, - metadata: object?.metadata, - version: object?.version, - totalWeight: object?.total_weight, - createdAt: object.created_at ?? undefined - }; - }, - toSDK(message: GroupInfo): GroupInfoSDKType { - const obj: any = {}; - obj.id = message.id; - obj.admin = message.admin; - obj.metadata = message.metadata; - obj.version = message.version; - obj.total_weight = message.totalWeight; - message.createdAt !== undefined && (obj.created_at = message.createdAt ?? undefined); - return obj; - }, - fromAmino(object: GroupInfoAmino): GroupInfo { - return { - id: Long.fromString(object.id), - admin: object.admin, - metadata: object.metadata, - version: Long.fromString(object.version), - totalWeight: object.total_weight, - createdAt: object.created_at - }; - }, - toAmino(message: GroupInfo): GroupInfoAmino { - const obj: any = {}; - obj.id = message.id ? message.id.toString() : undefined; - obj.admin = message.admin; - obj.metadata = message.metadata; - obj.version = message.version ? message.version.toString() : undefined; - obj.total_weight = message.totalWeight; - obj.created_at = message.createdAt; - return obj; - }, - fromAminoMsg(object: GroupInfoAminoMsg): GroupInfo { - return GroupInfo.fromAmino(object.value); - }, - toAminoMsg(message: GroupInfo): GroupInfoAminoMsg { - return { - type: "cosmos-sdk/GroupInfo", - value: GroupInfo.toAmino(message) - }; - }, - fromProtoMsg(message: GroupInfoProtoMsg): GroupInfo { - return GroupInfo.decode(message.value); - }, - toProto(message: GroupInfo): Uint8Array { - return GroupInfo.encode(message).finish(); - }, - toProtoMsg(message: GroupInfo): GroupInfoProtoMsg { - return { - typeUrl: "/cosmos.group.v1.GroupInfo", - value: GroupInfo.encode(message).finish() - }; - } -}; -function createBaseGroupMember(): GroupMember { - return { - groupId: Long.UZERO, - member: Member.fromPartial({}) - }; -} -export const GroupMember = { - typeUrl: "/cosmos.group.v1.GroupMember", - aminoType: "cosmos-sdk/GroupMember", - encode(message: GroupMember, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.groupId.isZero()) { - writer.uint32(8).uint64(message.groupId); - } - if (message.member !== undefined) { - Member.encode(message.member, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GroupMember { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGroupMember(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.groupId = (reader.uint64() as Long); - break; - case 2: - message.member = Member.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GroupMember { - const obj = createBaseGroupMember(); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - if (isSet(object.member)) obj.member = Member.fromJSON(object.member); - return obj; - }, - toJSON(message: GroupMember): unknown { - const obj: any = {}; - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - message.member !== undefined && (obj.member = message.member ? Member.toJSON(message.member) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GroupMember { - const message = createBaseGroupMember(); - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - if (object.member !== undefined && object.member !== null) { - message.member = Member.fromPartial(object.member); - } - return message; - }, - fromSDK(object: GroupMemberSDKType): GroupMember { - return { - groupId: object?.group_id, - member: object.member ? Member.fromSDK(object.member) : undefined - }; - }, - toSDK(message: GroupMember): GroupMemberSDKType { - const obj: any = {}; - obj.group_id = message.groupId; - message.member !== undefined && (obj.member = message.member ? Member.toSDK(message.member) : undefined); - return obj; - }, - fromAmino(object: GroupMemberAmino): GroupMember { - return { - groupId: Long.fromString(object.group_id), - member: object?.member ? Member.fromAmino(object.member) : undefined - }; - }, - toAmino(message: GroupMember): GroupMemberAmino { - const obj: any = {}; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - obj.member = message.member ? Member.toAmino(message.member) : undefined; - return obj; - }, - fromAminoMsg(object: GroupMemberAminoMsg): GroupMember { - return GroupMember.fromAmino(object.value); - }, - toAminoMsg(message: GroupMember): GroupMemberAminoMsg { - return { - type: "cosmos-sdk/GroupMember", - value: GroupMember.toAmino(message) - }; - }, - fromProtoMsg(message: GroupMemberProtoMsg): GroupMember { - return GroupMember.decode(message.value); - }, - toProto(message: GroupMember): Uint8Array { - return GroupMember.encode(message).finish(); - }, - toProtoMsg(message: GroupMember): GroupMemberProtoMsg { - return { - typeUrl: "/cosmos.group.v1.GroupMember", - value: GroupMember.encode(message).finish() - }; - } -}; -function createBaseGroupPolicyInfo(): GroupPolicyInfo { - return { - address: "", - groupId: Long.UZERO, - admin: "", - metadata: "", - version: Long.UZERO, - decisionPolicy: Any.fromPartial({}), - createdAt: new Date() - }; -} -export const GroupPolicyInfo = { - typeUrl: "/cosmos.group.v1.GroupPolicyInfo", - aminoType: "cosmos-sdk/GroupPolicyInfo", - encode(message: GroupPolicyInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (!message.groupId.isZero()) { - writer.uint32(16).uint64(message.groupId); - } - if (message.admin !== "") { - writer.uint32(26).string(message.admin); - } - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - if (!message.version.isZero()) { - writer.uint32(40).uint64(message.version); - } - if (message.decisionPolicy !== undefined) { - Any.encode((message.decisionPolicy as Any), writer.uint32(50).fork()).ldelim(); - } - if (message.createdAt !== undefined) { - Timestamp.encode(toTimestamp(message.createdAt), writer.uint32(58).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GroupPolicyInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGroupPolicyInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.groupId = (reader.uint64() as Long); - break; - case 3: - message.admin = reader.string(); - break; - case 4: - message.metadata = reader.string(); - break; - case 5: - message.version = (reader.uint64() as Long); - break; - case 6: - message.decisionPolicy = (DecisionPolicy_InterfaceDecoder(reader) as Any); - break; - case 7: - message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GroupPolicyInfo { - const obj = createBaseGroupPolicyInfo(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.groupId)) obj.groupId = Long.fromValue(object.groupId); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - if (isSet(object.version)) obj.version = Long.fromValue(object.version); - if (isSet(object.decisionPolicy)) obj.decisionPolicy = Any.fromJSON(object.decisionPolicy); - if (isSet(object.createdAt)) obj.createdAt = new Date(object.createdAt); - return obj; - }, - toJSON(message: GroupPolicyInfo): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.groupId !== undefined && (obj.groupId = (message.groupId || Long.UZERO).toString()); - message.admin !== undefined && (obj.admin = message.admin); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); - message.decisionPolicy !== undefined && (obj.decisionPolicy = message.decisionPolicy ? Any.toJSON(message.decisionPolicy) : undefined); - message.createdAt !== undefined && (obj.createdAt = message.createdAt.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): GroupPolicyInfo { - const message = createBaseGroupPolicyInfo(); - message.address = object.address ?? ""; - if (object.groupId !== undefined && object.groupId !== null) { - message.groupId = Long.fromValue(object.groupId); - } - message.admin = object.admin ?? ""; - message.metadata = object.metadata ?? ""; - if (object.version !== undefined && object.version !== null) { - message.version = Long.fromValue(object.version); - } - if (object.decisionPolicy !== undefined && object.decisionPolicy !== null) { - message.decisionPolicy = Any.fromPartial(object.decisionPolicy); - } - message.createdAt = object.createdAt ?? undefined; - return message; - }, - fromSDK(object: GroupPolicyInfoSDKType): GroupPolicyInfo { - return { - address: object?.address, - groupId: object?.group_id, - admin: object?.admin, - metadata: object?.metadata, - version: object?.version, - decisionPolicy: object.decision_policy ? Any.fromSDK(object.decision_policy) : undefined, - createdAt: object.created_at ?? undefined - }; - }, - toSDK(message: GroupPolicyInfo): GroupPolicyInfoSDKType { - const obj: any = {}; - obj.address = message.address; - obj.group_id = message.groupId; - obj.admin = message.admin; - obj.metadata = message.metadata; - obj.version = message.version; - message.decisionPolicy !== undefined && (obj.decision_policy = message.decisionPolicy ? Any.toSDK(message.decisionPolicy) : undefined); - message.createdAt !== undefined && (obj.created_at = message.createdAt ?? undefined); - return obj; - }, - fromAmino(object: GroupPolicyInfoAmino): GroupPolicyInfo { - return { - address: object.address, - groupId: Long.fromString(object.group_id), - admin: object.admin, - metadata: object.metadata, - version: Long.fromString(object.version), - decisionPolicy: object?.decision_policy ? DecisionPolicy_FromAmino(object.decision_policy) : undefined, - createdAt: object.created_at - }; - }, - toAmino(message: GroupPolicyInfo): GroupPolicyInfoAmino { - const obj: any = {}; - obj.address = message.address; - obj.group_id = message.groupId ? message.groupId.toString() : undefined; - obj.admin = message.admin; - obj.metadata = message.metadata; - obj.version = message.version ? message.version.toString() : undefined; - obj.decision_policy = message.decisionPolicy ? DecisionPolicy_ToAmino((message.decisionPolicy as Any)) : undefined; - obj.created_at = message.createdAt; - return obj; - }, - fromAminoMsg(object: GroupPolicyInfoAminoMsg): GroupPolicyInfo { - return GroupPolicyInfo.fromAmino(object.value); - }, - toAminoMsg(message: GroupPolicyInfo): GroupPolicyInfoAminoMsg { - return { - type: "cosmos-sdk/GroupPolicyInfo", - value: GroupPolicyInfo.toAmino(message) - }; - }, - fromProtoMsg(message: GroupPolicyInfoProtoMsg): GroupPolicyInfo { - return GroupPolicyInfo.decode(message.value); - }, - toProto(message: GroupPolicyInfo): Uint8Array { - return GroupPolicyInfo.encode(message).finish(); - }, - toProtoMsg(message: GroupPolicyInfo): GroupPolicyInfoProtoMsg { - return { - typeUrl: "/cosmos.group.v1.GroupPolicyInfo", - value: GroupPolicyInfo.encode(message).finish() - }; - } -}; -function createBaseProposal(): Proposal { - return { - id: Long.UZERO, - address: "", - metadata: "", - proposers: [], - submitTime: new Date(), - groupVersion: Long.UZERO, - groupPolicyVersion: Long.UZERO, - status: 0, - result: 0, - finalTallyResult: TallyResult.fromPartial({}), - votingPeriodEnd: new Date(), - executorResult: 0, - messages: [] - }; -} -export const Proposal = { - typeUrl: "/cosmos.group.v1.Proposal", - aminoType: "cosmos-sdk/Proposal", - encode(message: Proposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.id.isZero()) { - writer.uint32(8).uint64(message.id); - } - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - if (message.metadata !== "") { - writer.uint32(26).string(message.metadata); - } - for (const v of message.proposers) { - writer.uint32(34).string(v!); - } - if (message.submitTime !== undefined) { - Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); - } - if (!message.groupVersion.isZero()) { - writer.uint32(48).uint64(message.groupVersion); - } - if (!message.groupPolicyVersion.isZero()) { - writer.uint32(56).uint64(message.groupPolicyVersion); - } - if (message.status !== 0) { - writer.uint32(64).int32(message.status); - } - if (message.result !== 0) { - writer.uint32(72).int32(message.result); - } - if (message.finalTallyResult !== undefined) { - TallyResult.encode(message.finalTallyResult, writer.uint32(82).fork()).ldelim(); - } - if (message.votingPeriodEnd !== undefined) { - Timestamp.encode(toTimestamp(message.votingPeriodEnd), writer.uint32(90).fork()).ldelim(); - } - if (message.executorResult !== 0) { - writer.uint32(96).int32(message.executorResult); - } - for (const v of message.messages) { - Any.encode(v!, writer.uint32(106).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = (reader.uint64() as Long); - break; - case 2: - message.address = reader.string(); - break; - case 3: - message.metadata = reader.string(); - break; - case 4: - message.proposers.push(reader.string()); - break; - case 5: - message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 6: - message.groupVersion = (reader.uint64() as Long); - break; - case 7: - message.groupPolicyVersion = (reader.uint64() as Long); - break; - case 8: - message.status = (reader.int32() as any); - break; - case 9: - message.result = (reader.int32() as any); - break; - case 10: - message.finalTallyResult = TallyResult.decode(reader, reader.uint32()); - break; - case 11: - message.votingPeriodEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 12: - message.executorResult = (reader.int32() as any); - break; - case 13: - message.messages.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Proposal { - const obj = createBaseProposal(); - if (isSet(object.id)) obj.id = Long.fromValue(object.id); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - if (Array.isArray(object?.proposers)) obj.proposers = object.proposers.map((e: any) => String(e)); - if (isSet(object.submitTime)) obj.submitTime = new Date(object.submitTime); - if (isSet(object.groupVersion)) obj.groupVersion = Long.fromValue(object.groupVersion); - if (isSet(object.groupPolicyVersion)) obj.groupPolicyVersion = Long.fromValue(object.groupPolicyVersion); - if (isSet(object.status)) obj.status = proposalStatusFromJSON(object.status); - if (isSet(object.result)) obj.result = proposalResultFromJSON(object.result); - if (isSet(object.finalTallyResult)) obj.finalTallyResult = TallyResult.fromJSON(object.finalTallyResult); - if (isSet(object.votingPeriodEnd)) obj.votingPeriodEnd = new Date(object.votingPeriodEnd); - if (isSet(object.executorResult)) obj.executorResult = proposalExecutorResultFromJSON(object.executorResult); - if (Array.isArray(object?.messages)) obj.messages = object.messages.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: Proposal): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || Long.UZERO).toString()); - message.address !== undefined && (obj.address = message.address); - message.metadata !== undefined && (obj.metadata = message.metadata); - if (message.proposers) { - obj.proposers = message.proposers.map(e => e); - } else { - obj.proposers = []; - } - message.submitTime !== undefined && (obj.submitTime = message.submitTime.toISOString()); - message.groupVersion !== undefined && (obj.groupVersion = (message.groupVersion || Long.UZERO).toString()); - message.groupPolicyVersion !== undefined && (obj.groupPolicyVersion = (message.groupPolicyVersion || Long.UZERO).toString()); - message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); - message.result !== undefined && (obj.result = proposalResultToJSON(message.result)); - message.finalTallyResult !== undefined && (obj.finalTallyResult = message.finalTallyResult ? TallyResult.toJSON(message.finalTallyResult) : undefined); - message.votingPeriodEnd !== undefined && (obj.votingPeriodEnd = message.votingPeriodEnd.toISOString()); - message.executorResult !== undefined && (obj.executorResult = proposalExecutorResultToJSON(message.executorResult)); - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.messages = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Proposal { - const message = createBaseProposal(); - if (object.id !== undefined && object.id !== null) { - message.id = Long.fromValue(object.id); - } - message.address = object.address ?? ""; - message.metadata = object.metadata ?? ""; - message.proposers = object.proposers?.map(e => e) || []; - message.submitTime = object.submitTime ?? undefined; - if (object.groupVersion !== undefined && object.groupVersion !== null) { - message.groupVersion = Long.fromValue(object.groupVersion); - } - if (object.groupPolicyVersion !== undefined && object.groupPolicyVersion !== null) { - message.groupPolicyVersion = Long.fromValue(object.groupPolicyVersion); - } - message.status = object.status ?? 0; - message.result = object.result ?? 0; - if (object.finalTallyResult !== undefined && object.finalTallyResult !== null) { - message.finalTallyResult = TallyResult.fromPartial(object.finalTallyResult); - } - message.votingPeriodEnd = object.votingPeriodEnd ?? undefined; - message.executorResult = object.executorResult ?? 0; - message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ProposalSDKType): Proposal { - return { - id: object?.id, - address: object?.address, - metadata: object?.metadata, - proposers: Array.isArray(object?.proposers) ? object.proposers.map((e: any) => e) : [], - submitTime: object.submit_time ?? undefined, - groupVersion: object?.group_version, - groupPolicyVersion: object?.group_policy_version, - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : -1, - result: isSet(object.result) ? proposalResultFromJSON(object.result) : -1, - finalTallyResult: object.final_tally_result ? TallyResult.fromSDK(object.final_tally_result) : undefined, - votingPeriodEnd: object.voting_period_end ?? undefined, - executorResult: isSet(object.executor_result) ? proposalExecutorResultFromJSON(object.executor_result) : -1, - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: Proposal): ProposalSDKType { - const obj: any = {}; - obj.id = message.id; - obj.address = message.address; - obj.metadata = message.metadata; - if (message.proposers) { - obj.proposers = message.proposers.map(e => e); - } else { - obj.proposers = []; - } - message.submitTime !== undefined && (obj.submit_time = message.submitTime ?? undefined); - obj.group_version = message.groupVersion; - obj.group_policy_version = message.groupPolicyVersion; - message.status !== undefined && (obj.status = proposalStatusToJSON(message.status)); - message.result !== undefined && (obj.result = proposalResultToJSON(message.result)); - message.finalTallyResult !== undefined && (obj.final_tally_result = message.finalTallyResult ? TallyResult.toSDK(message.finalTallyResult) : undefined); - message.votingPeriodEnd !== undefined && (obj.voting_period_end = message.votingPeriodEnd ?? undefined); - message.executorResult !== undefined && (obj.executor_result = proposalExecutorResultToJSON(message.executorResult)); - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.messages = []; - } - return obj; - }, - fromAmino(object: ProposalAmino): Proposal { - return { - id: Long.fromString(object.id), - address: object.address, - metadata: object.metadata, - proposers: Array.isArray(object?.proposers) ? object.proposers.map((e: any) => e) : [], - submitTime: object.submit_time, - groupVersion: Long.fromString(object.group_version), - groupPolicyVersion: Long.fromString(object.group_policy_version), - status: isSet(object.status) ? proposalStatusFromJSON(object.status) : -1, - result: isSet(object.result) ? proposalResultFromJSON(object.result) : -1, - finalTallyResult: object?.final_tally_result ? TallyResult.fromAmino(object.final_tally_result) : undefined, - votingPeriodEnd: object.voting_period_end, - executorResult: isSet(object.executor_result) ? proposalExecutorResultFromJSON(object.executor_result) : -1, - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromAmino(e)) : [] - }; - }, - toAmino(message: Proposal): ProposalAmino { - const obj: any = {}; - obj.id = message.id ? message.id.toString() : undefined; - obj.address = message.address; - obj.metadata = message.metadata; - if (message.proposers) { - obj.proposers = message.proposers.map(e => e); - } else { - obj.proposers = []; - } - obj.submit_time = message.submitTime; - obj.group_version = message.groupVersion ? message.groupVersion.toString() : undefined; - obj.group_policy_version = message.groupPolicyVersion ? message.groupPolicyVersion.toString() : undefined; - obj.status = message.status; - obj.result = message.result; - obj.final_tally_result = message.finalTallyResult ? TallyResult.toAmino(message.finalTallyResult) : undefined; - obj.voting_period_end = message.votingPeriodEnd; - obj.executor_result = message.executorResult; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.messages = []; - } - return obj; - }, - fromAminoMsg(object: ProposalAminoMsg): Proposal { - return Proposal.fromAmino(object.value); - }, - toAminoMsg(message: Proposal): ProposalAminoMsg { - return { - type: "cosmos-sdk/Proposal", - value: Proposal.toAmino(message) - }; - }, - fromProtoMsg(message: ProposalProtoMsg): Proposal { - return Proposal.decode(message.value); - }, - toProto(message: Proposal): Uint8Array { - return Proposal.encode(message).finish(); - }, - toProtoMsg(message: Proposal): ProposalProtoMsg { - return { - typeUrl: "/cosmos.group.v1.Proposal", - value: Proposal.encode(message).finish() - }; - } -}; -function createBaseTallyResult(): TallyResult { - return { - yesCount: "", - abstainCount: "", - noCount: "", - noWithVetoCount: "" - }; -} -export const TallyResult = { - typeUrl: "/cosmos.group.v1.TallyResult", - aminoType: "cosmos-sdk/TallyResult", - encode(message: TallyResult, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.yesCount !== "") { - writer.uint32(10).string(message.yesCount); - } - if (message.abstainCount !== "") { - writer.uint32(18).string(message.abstainCount); - } - if (message.noCount !== "") { - writer.uint32(26).string(message.noCount); - } - if (message.noWithVetoCount !== "") { - writer.uint32(34).string(message.noWithVetoCount); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTallyResult(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.yesCount = reader.string(); - break; - case 2: - message.abstainCount = reader.string(); - break; - case 3: - message.noCount = reader.string(); - break; - case 4: - message.noWithVetoCount = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TallyResult { - const obj = createBaseTallyResult(); - if (isSet(object.yesCount)) obj.yesCount = String(object.yesCount); - if (isSet(object.abstainCount)) obj.abstainCount = String(object.abstainCount); - if (isSet(object.noCount)) obj.noCount = String(object.noCount); - if (isSet(object.noWithVetoCount)) obj.noWithVetoCount = String(object.noWithVetoCount); - return obj; - }, - toJSON(message: TallyResult): unknown { - const obj: any = {}; - message.yesCount !== undefined && (obj.yesCount = message.yesCount); - message.abstainCount !== undefined && (obj.abstainCount = message.abstainCount); - message.noCount !== undefined && (obj.noCount = message.noCount); - message.noWithVetoCount !== undefined && (obj.noWithVetoCount = message.noWithVetoCount); - return obj; - }, - fromPartial(object: DeepPartial): TallyResult { - const message = createBaseTallyResult(); - message.yesCount = object.yesCount ?? ""; - message.abstainCount = object.abstainCount ?? ""; - message.noCount = object.noCount ?? ""; - message.noWithVetoCount = object.noWithVetoCount ?? ""; - return message; - }, - fromSDK(object: TallyResultSDKType): TallyResult { - return { - yesCount: object?.yes_count, - abstainCount: object?.abstain_count, - noCount: object?.no_count, - noWithVetoCount: object?.no_with_veto_count - }; - }, - toSDK(message: TallyResult): TallyResultSDKType { - const obj: any = {}; - obj.yes_count = message.yesCount; - obj.abstain_count = message.abstainCount; - obj.no_count = message.noCount; - obj.no_with_veto_count = message.noWithVetoCount; - return obj; - }, - fromAmino(object: TallyResultAmino): TallyResult { - return { - yesCount: object.yes_count, - abstainCount: object.abstain_count, - noCount: object.no_count, - noWithVetoCount: object.no_with_veto_count - }; - }, - toAmino(message: TallyResult): TallyResultAmino { - const obj: any = {}; - obj.yes_count = message.yesCount; - obj.abstain_count = message.abstainCount; - obj.no_count = message.noCount; - obj.no_with_veto_count = message.noWithVetoCount; - return obj; - }, - fromAminoMsg(object: TallyResultAminoMsg): TallyResult { - return TallyResult.fromAmino(object.value); - }, - toAminoMsg(message: TallyResult): TallyResultAminoMsg { - return { - type: "cosmos-sdk/TallyResult", - value: TallyResult.toAmino(message) - }; - }, - fromProtoMsg(message: TallyResultProtoMsg): TallyResult { - return TallyResult.decode(message.value); - }, - toProto(message: TallyResult): Uint8Array { - return TallyResult.encode(message).finish(); - }, - toProtoMsg(message: TallyResult): TallyResultProtoMsg { - return { - typeUrl: "/cosmos.group.v1.TallyResult", - value: TallyResult.encode(message).finish() - }; - } -}; -function createBaseVote(): Vote { - return { - proposalId: Long.UZERO, - voter: "", - option: 0, - metadata: "", - submitTime: new Date() - }; -} -export const Vote = { - typeUrl: "/cosmos.group.v1.Vote", - aminoType: "cosmos-sdk/Vote", - encode(message: Vote, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.proposalId.isZero()) { - writer.uint32(8).uint64(message.proposalId); - } - if (message.voter !== "") { - writer.uint32(18).string(message.voter); - } - if (message.option !== 0) { - writer.uint32(24).int32(message.option); - } - if (message.metadata !== "") { - writer.uint32(34).string(message.metadata); - } - if (message.submitTime !== undefined) { - Timestamp.encode(toTimestamp(message.submitTime), writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Vote { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVote(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.proposalId = (reader.uint64() as Long); - break; - case 2: - message.voter = reader.string(); - break; - case 3: - message.option = (reader.int32() as any); - break; - case 4: - message.metadata = reader.string(); - break; - case 5: - message.submitTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Vote { - const obj = createBaseVote(); - if (isSet(object.proposalId)) obj.proposalId = Long.fromValue(object.proposalId); - if (isSet(object.voter)) obj.voter = String(object.voter); - if (isSet(object.option)) obj.option = voteOptionFromJSON(object.option); - if (isSet(object.metadata)) obj.metadata = String(object.metadata); - if (isSet(object.submitTime)) obj.submitTime = new Date(object.submitTime); - return obj; - }, - toJSON(message: Vote): unknown { - const obj: any = {}; - message.proposalId !== undefined && (obj.proposalId = (message.proposalId || Long.UZERO).toString()); - message.voter !== undefined && (obj.voter = message.voter); - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - message.metadata !== undefined && (obj.metadata = message.metadata); - message.submitTime !== undefined && (obj.submitTime = message.submitTime.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): Vote { - const message = createBaseVote(); - if (object.proposalId !== undefined && object.proposalId !== null) { - message.proposalId = Long.fromValue(object.proposalId); - } - message.voter = object.voter ?? ""; - message.option = object.option ?? 0; - message.metadata = object.metadata ?? ""; - message.submitTime = object.submitTime ?? undefined; - return message; - }, - fromSDK(object: VoteSDKType): Vote { - return { - proposalId: object?.proposal_id, - voter: object?.voter, - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - metadata: object?.metadata, - submitTime: object.submit_time ?? undefined - }; - }, - toSDK(message: Vote): VoteSDKType { - const obj: any = {}; - obj.proposal_id = message.proposalId; - obj.voter = message.voter; - message.option !== undefined && (obj.option = voteOptionToJSON(message.option)); - obj.metadata = message.metadata; - message.submitTime !== undefined && (obj.submit_time = message.submitTime ?? undefined); - return obj; - }, - fromAmino(object: VoteAmino): Vote { - return { - proposalId: Long.fromString(object.proposal_id), - voter: object.voter, - option: isSet(object.option) ? voteOptionFromJSON(object.option) : -1, - metadata: object.metadata, - submitTime: object.submit_time - }; - }, - toAmino(message: Vote): VoteAmino { - const obj: any = {}; - obj.proposal_id = message.proposalId ? message.proposalId.toString() : undefined; - obj.voter = message.voter; - obj.option = message.option; - obj.metadata = message.metadata; - obj.submit_time = message.submitTime; - return obj; - }, - fromAminoMsg(object: VoteAminoMsg): Vote { - return Vote.fromAmino(object.value); - }, - toAminoMsg(message: Vote): VoteAminoMsg { - return { - type: "cosmos-sdk/Vote", - value: Vote.toAmino(message) - }; - }, - fromProtoMsg(message: VoteProtoMsg): Vote { - return Vote.decode(message.value); - }, - toProto(message: Vote): Uint8Array { - return Vote.encode(message).finish(); - }, - toProtoMsg(message: Vote): VoteProtoMsg { - return { - typeUrl: "/cosmos.group.v1.Vote", - value: Vote.encode(message).finish() - }; - } -}; -export const DecisionPolicy_InterfaceDecoder = (input: _m0.Reader | Uint8Array): ThresholdDecisionPolicy | PercentageDecisionPolicy | Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - case "/cosmos.group.v1.ThresholdDecisionPolicy": - return ThresholdDecisionPolicy.decode(data.value); - case "/cosmos.group.v1.PercentageDecisionPolicy": - return PercentageDecisionPolicy.decode(data.value); - default: - return data; - } -}; -export const DecisionPolicy_FromAmino = (content: AnyAmino) => { - switch (content.type) { - case "cosmos-sdk/ThresholdDecisionPolicy": - return Any.fromPartial({ - typeUrl: "/cosmos.group.v1.ThresholdDecisionPolicy", - value: ThresholdDecisionPolicy.encode(ThresholdDecisionPolicy.fromPartial(ThresholdDecisionPolicy.fromAmino(content.value))).finish() - }); - case "cosmos-sdk/PercentageDecisionPolicy": - return Any.fromPartial({ - typeUrl: "/cosmos.group.v1.PercentageDecisionPolicy", - value: PercentageDecisionPolicy.encode(PercentageDecisionPolicy.fromPartial(PercentageDecisionPolicy.fromAmino(content.value))).finish() - }); - default: - return Any.fromAmino(content); - } -}; -export const DecisionPolicy_ToAmino = (content: Any) => { - switch (content.typeUrl) { - case "/cosmos.group.v1.ThresholdDecisionPolicy": - return { - type: "cosmos-sdk/ThresholdDecisionPolicy", - value: ThresholdDecisionPolicy.toAmino(ThresholdDecisionPolicy.decode(content.value)) - }; - case "/cosmos.group.v1.PercentageDecisionPolicy": - return { - type: "cosmos-sdk/PercentageDecisionPolicy", - value: PercentageDecisionPolicy.toAmino(PercentageDecisionPolicy.decode(content.value)) - }; - default: - return Any.toAmino(content); - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/lcd.ts b/quicksilverjs/src/codegen/cosmos/lcd.ts deleted file mode 100644 index 429978154..000000000 --- a/quicksilverjs/src/codegen/cosmos/lcd.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { LCDClient } from "@cosmology/lcd"; -export const createLCDClient = async ({ - restEndpoint -}: { - restEndpoint: string; -}) => { - const requestClient = new LCDClient({ - restEndpoint - }); - return { - cosmos: { - auth: { - v1beta1: new (await import("./auth/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - authz: { - v1beta1: new (await import("./authz/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - bank: { - v1beta1: new (await import("./bank/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - base: { - tendermint: { - v1beta1: new (await import("./base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - }, - distribution: { - v1beta1: new (await import("./distribution/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - evidence: { - v1beta1: new (await import("./evidence/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - feegrant: { - v1beta1: new (await import("./feegrant/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - gov: { - v1: new (await import("./gov/v1/query.lcd")).LCDQueryClient({ - requestClient - }), - v1beta1: new (await import("./gov/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - group: { - v1: new (await import("./group/v1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - mint: { - v1beta1: new (await import("./mint/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - nft: { - v1beta1: new (await import("./nft/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - params: { - v1beta1: new (await import("./params/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - slashing: { - v1beta1: new (await import("./slashing/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - staking: { - v1beta1: new (await import("./staking/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - tx: { - v1beta1: new (await import("./tx/v1beta1/service.lcd")).LCDQueryClient({ - requestClient - }) - }, - upgrade: { - v1beta1: new (await import("./upgrade/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - } - }; -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/mint/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/mint/v1beta1/genesis.ts deleted file mode 100644 index 01f8d5707..000000000 --- a/quicksilverjs/src/codegen/cosmos/mint/v1beta1/genesis.ts +++ /dev/null @@ -1,137 +0,0 @@ -import { Minter, MinterAmino, MinterSDKType, Params, ParamsAmino, ParamsSDKType } from "./mint"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.mint.v1beta1"; -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisState { - /** minter is a space for holding current inflation information. */ - minter: Minter; - /** params defines all the paramaters of the module. */ - params: Params; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisStateAmino { - /** minter is a space for holding current inflation information. */ - minter?: MinterAmino; - /** params defines all the paramaters of the module. */ - params?: ParamsAmino; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisStateSDKType { - minter: MinterSDKType; - params: ParamsSDKType; -} -function createBaseGenesisState(): GenesisState { - return { - minter: Minter.fromPartial({}), - params: Params.fromPartial({}) - }; -} -export const GenesisState = { - typeUrl: "/cosmos.mint.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.minter !== undefined) { - Minter.encode(message.minter, writer.uint32(10).fork()).ldelim(); - } - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.minter = Minter.decode(reader, reader.uint32()); - break; - case 2: - message.params = Params.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.minter)) obj.minter = Minter.fromJSON(object.minter); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.minter !== undefined && (obj.minter = message.minter ? Minter.toJSON(message.minter) : undefined); - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.minter !== undefined && object.minter !== null) { - message.minter = Minter.fromPartial(object.minter); - } - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - minter: object.minter ? Minter.fromSDK(object.minter) : undefined, - params: object.params ? Params.fromSDK(object.params) : undefined - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - message.minter !== undefined && (obj.minter = message.minter ? Minter.toSDK(message.minter) : undefined); - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - minter: object?.minter ? Minter.fromAmino(object.minter) : undefined, - params: object?.params ? Params.fromAmino(object.params) : undefined - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.minter = message.minter ? Minter.toAmino(message.minter) : undefined; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.mint.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/mint/v1beta1/mint.ts b/quicksilverjs/src/codegen/cosmos/mint/v1beta1/mint.ts deleted file mode 100644 index e873e8441..000000000 --- a/quicksilverjs/src/codegen/cosmos/mint/v1beta1/mint.ts +++ /dev/null @@ -1,339 +0,0 @@ -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.mint.v1beta1"; -/** Minter represents the minting state. */ -export interface Minter { - /** current annual inflation rate */ - inflation: string; - /** current annual expected provisions */ - annualProvisions: string; -} -export interface MinterProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.Minter"; - value: Uint8Array; -} -/** Minter represents the minting state. */ -export interface MinterAmino { - /** current annual inflation rate */ - inflation: string; - /** current annual expected provisions */ - annual_provisions: string; -} -export interface MinterAminoMsg { - type: "cosmos-sdk/Minter"; - value: MinterAmino; -} -/** Minter represents the minting state. */ -export interface MinterSDKType { - inflation: string; - annual_provisions: string; -} -/** Params holds parameters for the mint module. */ -export interface Params { - /** type of coin to mint */ - mintDenom: string; - /** maximum annual change in inflation rate */ - inflationRateChange: string; - /** maximum inflation rate */ - inflationMax: string; - /** minimum inflation rate */ - inflationMin: string; - /** goal of percent bonded atoms */ - goalBonded: string; - /** expected blocks per year */ - blocksPerYear: Long; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.Params"; - value: Uint8Array; -} -/** Params holds parameters for the mint module. */ -export interface ParamsAmino { - /** type of coin to mint */ - mint_denom: string; - /** maximum annual change in inflation rate */ - inflation_rate_change: string; - /** maximum inflation rate */ - inflation_max: string; - /** minimum inflation rate */ - inflation_min: string; - /** goal of percent bonded atoms */ - goal_bonded: string; - /** expected blocks per year */ - blocks_per_year: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params holds parameters for the mint module. */ -export interface ParamsSDKType { - mint_denom: string; - inflation_rate_change: string; - inflation_max: string; - inflation_min: string; - goal_bonded: string; - blocks_per_year: Long; -} -function createBaseMinter(): Minter { - return { - inflation: "", - annualProvisions: "" - }; -} -export const Minter = { - typeUrl: "/cosmos.mint.v1beta1.Minter", - aminoType: "cosmos-sdk/Minter", - encode(message: Minter, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.inflation !== "") { - writer.uint32(10).string(message.inflation); - } - if (message.annualProvisions !== "") { - writer.uint32(18).string(message.annualProvisions); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Minter { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMinter(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.inflation = reader.string(); - break; - case 2: - message.annualProvisions = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Minter { - const obj = createBaseMinter(); - if (isSet(object.inflation)) obj.inflation = String(object.inflation); - if (isSet(object.annualProvisions)) obj.annualProvisions = String(object.annualProvisions); - return obj; - }, - toJSON(message: Minter): unknown { - const obj: any = {}; - message.inflation !== undefined && (obj.inflation = message.inflation); - message.annualProvisions !== undefined && (obj.annualProvisions = message.annualProvisions); - return obj; - }, - fromPartial(object: DeepPartial): Minter { - const message = createBaseMinter(); - message.inflation = object.inflation ?? ""; - message.annualProvisions = object.annualProvisions ?? ""; - return message; - }, - fromSDK(object: MinterSDKType): Minter { - return { - inflation: object?.inflation, - annualProvisions: object?.annual_provisions - }; - }, - toSDK(message: Minter): MinterSDKType { - const obj: any = {}; - obj.inflation = message.inflation; - obj.annual_provisions = message.annualProvisions; - return obj; - }, - fromAmino(object: MinterAmino): Minter { - return { - inflation: object.inflation, - annualProvisions: object.annual_provisions - }; - }, - toAmino(message: Minter): MinterAmino { - const obj: any = {}; - obj.inflation = message.inflation; - obj.annual_provisions = message.annualProvisions; - return obj; - }, - fromAminoMsg(object: MinterAminoMsg): Minter { - return Minter.fromAmino(object.value); - }, - toAminoMsg(message: Minter): MinterAminoMsg { - return { - type: "cosmos-sdk/Minter", - value: Minter.toAmino(message) - }; - }, - fromProtoMsg(message: MinterProtoMsg): Minter { - return Minter.decode(message.value); - }, - toProto(message: Minter): Uint8Array { - return Minter.encode(message).finish(); - }, - toProtoMsg(message: Minter): MinterProtoMsg { - return { - typeUrl: "/cosmos.mint.v1beta1.Minter", - value: Minter.encode(message).finish() - }; - } -}; -function createBaseParams(): Params { - return { - mintDenom: "", - inflationRateChange: "", - inflationMax: "", - inflationMin: "", - goalBonded: "", - blocksPerYear: Long.UZERO - }; -} -export const Params = { - typeUrl: "/cosmos.mint.v1beta1.Params", - aminoType: "cosmos-sdk/Params", - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.mintDenom !== "") { - writer.uint32(10).string(message.mintDenom); - } - if (message.inflationRateChange !== "") { - writer.uint32(18).string(message.inflationRateChange); - } - if (message.inflationMax !== "") { - writer.uint32(26).string(message.inflationMax); - } - if (message.inflationMin !== "") { - writer.uint32(34).string(message.inflationMin); - } - if (message.goalBonded !== "") { - writer.uint32(42).string(message.goalBonded); - } - if (!message.blocksPerYear.isZero()) { - writer.uint32(48).uint64(message.blocksPerYear); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.mintDenom = reader.string(); - break; - case 2: - message.inflationRateChange = reader.string(); - break; - case 3: - message.inflationMax = reader.string(); - break; - case 4: - message.inflationMin = reader.string(); - break; - case 5: - message.goalBonded = reader.string(); - break; - case 6: - message.blocksPerYear = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Params { - const obj = createBaseParams(); - if (isSet(object.mintDenom)) obj.mintDenom = String(object.mintDenom); - if (isSet(object.inflationRateChange)) obj.inflationRateChange = String(object.inflationRateChange); - if (isSet(object.inflationMax)) obj.inflationMax = String(object.inflationMax); - if (isSet(object.inflationMin)) obj.inflationMin = String(object.inflationMin); - if (isSet(object.goalBonded)) obj.goalBonded = String(object.goalBonded); - if (isSet(object.blocksPerYear)) obj.blocksPerYear = Long.fromValue(object.blocksPerYear); - return obj; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.mintDenom !== undefined && (obj.mintDenom = message.mintDenom); - message.inflationRateChange !== undefined && (obj.inflationRateChange = message.inflationRateChange); - message.inflationMax !== undefined && (obj.inflationMax = message.inflationMax); - message.inflationMin !== undefined && (obj.inflationMin = message.inflationMin); - message.goalBonded !== undefined && (obj.goalBonded = message.goalBonded); - message.blocksPerYear !== undefined && (obj.blocksPerYear = (message.blocksPerYear || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): Params { - const message = createBaseParams(); - message.mintDenom = object.mintDenom ?? ""; - message.inflationRateChange = object.inflationRateChange ?? ""; - message.inflationMax = object.inflationMax ?? ""; - message.inflationMin = object.inflationMin ?? ""; - message.goalBonded = object.goalBonded ?? ""; - if (object.blocksPerYear !== undefined && object.blocksPerYear !== null) { - message.blocksPerYear = Long.fromValue(object.blocksPerYear); - } - return message; - }, - fromSDK(object: ParamsSDKType): Params { - return { - mintDenom: object?.mint_denom, - inflationRateChange: object?.inflation_rate_change, - inflationMax: object?.inflation_max, - inflationMin: object?.inflation_min, - goalBonded: object?.goal_bonded, - blocksPerYear: object?.blocks_per_year - }; - }, - toSDK(message: Params): ParamsSDKType { - const obj: any = {}; - obj.mint_denom = message.mintDenom; - obj.inflation_rate_change = message.inflationRateChange; - obj.inflation_max = message.inflationMax; - obj.inflation_min = message.inflationMin; - obj.goal_bonded = message.goalBonded; - obj.blocks_per_year = message.blocksPerYear; - return obj; - }, - fromAmino(object: ParamsAmino): Params { - return { - mintDenom: object.mint_denom, - inflationRateChange: object.inflation_rate_change, - inflationMax: object.inflation_max, - inflationMin: object.inflation_min, - goalBonded: object.goal_bonded, - blocksPerYear: Long.fromString(object.blocks_per_year) - }; - }, - toAmino(message: Params): ParamsAmino { - const obj: any = {}; - obj.mint_denom = message.mintDenom; - obj.inflation_rate_change = message.inflationRateChange; - obj.inflation_max = message.inflationMax; - obj.inflation_min = message.inflationMin; - obj.goal_bonded = message.goalBonded; - obj.blocks_per_year = message.blocksPerYear ? message.blocksPerYear.toString() : undefined; - return obj; - }, - fromAminoMsg(object: ParamsAminoMsg): Params { - return Params.fromAmino(object.value); - }, - toAminoMsg(message: Params): ParamsAminoMsg { - return { - type: "cosmos-sdk/Params", - value: Params.toAmino(message) - }; - }, - fromProtoMsg(message: ParamsProtoMsg): Params { - return Params.decode(message.value); - }, - toProto(message: Params): Uint8Array { - return Params.encode(message).finish(); - }, - toProtoMsg(message: Params): ParamsProtoMsg { - return { - typeUrl: "/cosmos.mint.v1beta1.Params", - value: Params.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.lcd.ts deleted file mode 100644 index b62f5c97a..000000000 --- a/quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { Params, ParamsSDKType } from "./mint"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationRequestSDKType, QueryInflationResponse, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsRequestSDKType, QueryAnnualProvisionsResponse, QueryAnnualProvisionsResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.params = this.params.bind(this); - this.inflation = this.inflation.bind(this); - this.annualProvisions = this.annualProvisions.bind(this); - } - /* Params returns the total set of minting parameters. */ - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/mint/v1beta1/params`; - return await this.req.get(endpoint); - } - /* Inflation returns the current minting inflation value. */ - async inflation(_params: QueryInflationRequest = {}): Promise { - const endpoint = `cosmos/mint/v1beta1/inflation`; - return await this.req.get(endpoint); - } - /* AnnualProvisions current minting annual provisions value. */ - async annualProvisions(_params: QueryAnnualProvisionsRequest = {}): Promise { - const endpoint = `cosmos/mint/v1beta1/annual_provisions`; - return await this.req.get(endpoint); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts deleted file mode 100644 index bde378a15..000000000 --- a/quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Params, ParamsSDKType } from "./mint"; -import * as fm from "../../../grpc-gateway"; -import { QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationRequestSDKType, QueryInflationResponse, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsRequestSDKType, QueryAnnualProvisionsResponse, QueryAnnualProvisionsResponseSDKType } from "./query"; -export class Query { - /** Params returns the total set of minting parameters. */ - static params(request: QueryParamsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/mint/v1beta1/params?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** Inflation returns the current minting inflation value. */ - static inflation(request: QueryInflationRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/mint/v1beta1/inflation?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** AnnualProvisions current minting annual provisions value. */ - static annualProvisions(request: QueryAnnualProvisionsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/mint/v1beta1/annual_provisions?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Params returns the total set of minting parameters. */ - async params(req: QueryParamsRequest, headers?: HeadersInit): Promise { - return Query.params(req, { - headers, - pathPrefix: this.url - }); - } - /** Inflation returns the current minting inflation value. */ - async inflation(req: QueryInflationRequest, headers?: HeadersInit): Promise { - return Query.inflation(req, { - headers, - pathPrefix: this.url - }); - } - /** AnnualProvisions current minting annual provisions value. */ - async annualProvisions(req: QueryAnnualProvisionsRequest, headers?: HeadersInit): Promise { - return Query.annualProvisions(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.ts deleted file mode 100644 index 2c50ed071..000000000 --- a/quicksilverjs/src/codegen/cosmos/mint/v1beta1/query.ts +++ /dev/null @@ -1,618 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType } from "./mint"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; -export const protobufPackage = "cosmos.mint.v1beta1"; -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest {} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino {} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType {} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params defines the parameters of the module. */ - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params defines the parameters of the module. */ - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ -export interface QueryInflationRequest {} -export interface QueryInflationRequestProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryInflationRequest"; - value: Uint8Array; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ -export interface QueryInflationRequestAmino {} -export interface QueryInflationRequestAminoMsg { - type: "cosmos-sdk/QueryInflationRequest"; - value: QueryInflationRequestAmino; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ -export interface QueryInflationRequestSDKType {} -/** - * QueryInflationResponse is the response type for the Query/Inflation RPC - * method. - */ -export interface QueryInflationResponse { - /** inflation is the current minting inflation value. */ - inflation: Uint8Array; -} -export interface QueryInflationResponseProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryInflationResponse"; - value: Uint8Array; -} -/** - * QueryInflationResponse is the response type for the Query/Inflation RPC - * method. - */ -export interface QueryInflationResponseAmino { - /** inflation is the current minting inflation value. */ - inflation: Uint8Array; -} -export interface QueryInflationResponseAminoMsg { - type: "cosmos-sdk/QueryInflationResponse"; - value: QueryInflationResponseAmino; -} -/** - * QueryInflationResponse is the response type for the Query/Inflation RPC - * method. - */ -export interface QueryInflationResponseSDKType { - inflation: Uint8Array; -} -/** - * QueryAnnualProvisionsRequest is the request type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsRequest {} -export interface QueryAnnualProvisionsRequestProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsRequest"; - value: Uint8Array; -} -/** - * QueryAnnualProvisionsRequest is the request type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsRequestAmino {} -export interface QueryAnnualProvisionsRequestAminoMsg { - type: "cosmos-sdk/QueryAnnualProvisionsRequest"; - value: QueryAnnualProvisionsRequestAmino; -} -/** - * QueryAnnualProvisionsRequest is the request type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsRequestSDKType {} -/** - * QueryAnnualProvisionsResponse is the response type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsResponse { - /** annual_provisions is the current minting annual provisions value. */ - annualProvisions: Uint8Array; -} -export interface QueryAnnualProvisionsResponseProtoMsg { - typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsResponse"; - value: Uint8Array; -} -/** - * QueryAnnualProvisionsResponse is the response type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsResponseAmino { - /** annual_provisions is the current minting annual provisions value. */ - annual_provisions: Uint8Array; -} -export interface QueryAnnualProvisionsResponseAminoMsg { - type: "cosmos-sdk/QueryAnnualProvisionsResponse"; - value: QueryAnnualProvisionsResponseAmino; -} -/** - * QueryAnnualProvisionsResponse is the response type for the - * Query/AnnualProvisions RPC method. - */ -export interface QueryAnnualProvisionsResponseSDKType { - annual_provisions: Uint8Array; -} -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} -export const QueryParamsRequest = { - typeUrl: "/cosmos.mint.v1beta1.QueryParamsRequest", - aminoType: "cosmos-sdk/QueryParamsRequest", - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryParamsRequest { - const obj = createBaseQueryParamsRequest(); - return obj; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - }, - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest { - return {}; - }, - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest { - return {}; - }, - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest { - return QueryParamsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryParamsRequest", - value: QueryParamsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest { - return QueryParamsRequest.decode(message.value); - }, - toProto(message: QueryParamsRequest): Uint8Array { - return QueryParamsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg { - return { - typeUrl: "/cosmos.mint.v1beta1.QueryParamsRequest", - value: QueryParamsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: Params.fromPartial({}) - }; -} -export const QueryParamsResponse = { - typeUrl: "/cosmos.mint.v1beta1.QueryParamsResponse", - aminoType: "cosmos-sdk/QueryParamsResponse", - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsResponse { - const obj = createBaseQueryParamsResponse(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - return obj; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - return message; - }, - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse { - return { - params: object.params ? Params.fromSDK(object.params) : undefined - }; - }, - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - return obj; - }, - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined - }; - }, - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - return obj; - }, - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse { - return QueryParamsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryParamsResponse", - value: QueryParamsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse { - return QueryParamsResponse.decode(message.value); - }, - toProto(message: QueryParamsResponse): Uint8Array { - return QueryParamsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg { - return { - typeUrl: "/cosmos.mint.v1beta1.QueryParamsResponse", - value: QueryParamsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryInflationRequest(): QueryInflationRequest { - return {}; -} -export const QueryInflationRequest = { - typeUrl: "/cosmos.mint.v1beta1.QueryInflationRequest", - aminoType: "cosmos-sdk/QueryInflationRequest", - encode(_: QueryInflationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryInflationRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryInflationRequest { - const obj = createBaseQueryInflationRequest(); - return obj; - }, - toJSON(_: QueryInflationRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryInflationRequest { - const message = createBaseQueryInflationRequest(); - return message; - }, - fromSDK(_: QueryInflationRequestSDKType): QueryInflationRequest { - return {}; - }, - toSDK(_: QueryInflationRequest): QueryInflationRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryInflationRequestAmino): QueryInflationRequest { - return {}; - }, - toAmino(_: QueryInflationRequest): QueryInflationRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryInflationRequestAminoMsg): QueryInflationRequest { - return QueryInflationRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryInflationRequest): QueryInflationRequestAminoMsg { - return { - type: "cosmos-sdk/QueryInflationRequest", - value: QueryInflationRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryInflationRequestProtoMsg): QueryInflationRequest { - return QueryInflationRequest.decode(message.value); - }, - toProto(message: QueryInflationRequest): Uint8Array { - return QueryInflationRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryInflationRequest): QueryInflationRequestProtoMsg { - return { - typeUrl: "/cosmos.mint.v1beta1.QueryInflationRequest", - value: QueryInflationRequest.encode(message).finish() - }; - } -}; -function createBaseQueryInflationResponse(): QueryInflationResponse { - return { - inflation: new Uint8Array() - }; -} -export const QueryInflationResponse = { - typeUrl: "/cosmos.mint.v1beta1.QueryInflationResponse", - aminoType: "cosmos-sdk/QueryInflationResponse", - encode(message: QueryInflationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.inflation.length !== 0) { - writer.uint32(10).bytes(message.inflation); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryInflationResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.inflation = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryInflationResponse { - const obj = createBaseQueryInflationResponse(); - if (isSet(object.inflation)) obj.inflation = bytesFromBase64(object.inflation); - return obj; - }, - toJSON(message: QueryInflationResponse): unknown { - const obj: any = {}; - message.inflation !== undefined && (obj.inflation = base64FromBytes(message.inflation !== undefined ? message.inflation : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): QueryInflationResponse { - const message = createBaseQueryInflationResponse(); - message.inflation = object.inflation ?? new Uint8Array(); - return message; - }, - fromSDK(object: QueryInflationResponseSDKType): QueryInflationResponse { - return { - inflation: object?.inflation - }; - }, - toSDK(message: QueryInflationResponse): QueryInflationResponseSDKType { - const obj: any = {}; - obj.inflation = message.inflation; - return obj; - }, - fromAmino(object: QueryInflationResponseAmino): QueryInflationResponse { - return { - inflation: object.inflation - }; - }, - toAmino(message: QueryInflationResponse): QueryInflationResponseAmino { - const obj: any = {}; - obj.inflation = message.inflation; - return obj; - }, - fromAminoMsg(object: QueryInflationResponseAminoMsg): QueryInflationResponse { - return QueryInflationResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryInflationResponse): QueryInflationResponseAminoMsg { - return { - type: "cosmos-sdk/QueryInflationResponse", - value: QueryInflationResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryInflationResponseProtoMsg): QueryInflationResponse { - return QueryInflationResponse.decode(message.value); - }, - toProto(message: QueryInflationResponse): Uint8Array { - return QueryInflationResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryInflationResponse): QueryInflationResponseProtoMsg { - return { - typeUrl: "/cosmos.mint.v1beta1.QueryInflationResponse", - value: QueryInflationResponse.encode(message).finish() - }; - } -}; -function createBaseQueryAnnualProvisionsRequest(): QueryAnnualProvisionsRequest { - return {}; -} -export const QueryAnnualProvisionsRequest = { - typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsRequest", - aminoType: "cosmos-sdk/QueryAnnualProvisionsRequest", - encode(_: QueryAnnualProvisionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAnnualProvisionsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryAnnualProvisionsRequest { - const obj = createBaseQueryAnnualProvisionsRequest(); - return obj; - }, - toJSON(_: QueryAnnualProvisionsRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryAnnualProvisionsRequest { - const message = createBaseQueryAnnualProvisionsRequest(); - return message; - }, - fromSDK(_: QueryAnnualProvisionsRequestSDKType): QueryAnnualProvisionsRequest { - return {}; - }, - toSDK(_: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryAnnualProvisionsRequestAmino): QueryAnnualProvisionsRequest { - return {}; - }, - toAmino(_: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryAnnualProvisionsRequestAminoMsg): QueryAnnualProvisionsRequest { - return QueryAnnualProvisionsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryAnnualProvisionsRequest", - value: QueryAnnualProvisionsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAnnualProvisionsRequestProtoMsg): QueryAnnualProvisionsRequest { - return QueryAnnualProvisionsRequest.decode(message.value); - }, - toProto(message: QueryAnnualProvisionsRequest): Uint8Array { - return QueryAnnualProvisionsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAnnualProvisionsRequest): QueryAnnualProvisionsRequestProtoMsg { - return { - typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsRequest", - value: QueryAnnualProvisionsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryAnnualProvisionsResponse(): QueryAnnualProvisionsResponse { - return { - annualProvisions: new Uint8Array() - }; -} -export const QueryAnnualProvisionsResponse = { - typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsResponse", - aminoType: "cosmos-sdk/QueryAnnualProvisionsResponse", - encode(message: QueryAnnualProvisionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.annualProvisions.length !== 0) { - writer.uint32(10).bytes(message.annualProvisions); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAnnualProvisionsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.annualProvisions = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAnnualProvisionsResponse { - const obj = createBaseQueryAnnualProvisionsResponse(); - if (isSet(object.annualProvisions)) obj.annualProvisions = bytesFromBase64(object.annualProvisions); - return obj; - }, - toJSON(message: QueryAnnualProvisionsResponse): unknown { - const obj: any = {}; - message.annualProvisions !== undefined && (obj.annualProvisions = base64FromBytes(message.annualProvisions !== undefined ? message.annualProvisions : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): QueryAnnualProvisionsResponse { - const message = createBaseQueryAnnualProvisionsResponse(); - message.annualProvisions = object.annualProvisions ?? new Uint8Array(); - return message; - }, - fromSDK(object: QueryAnnualProvisionsResponseSDKType): QueryAnnualProvisionsResponse { - return { - annualProvisions: object?.annual_provisions - }; - }, - toSDK(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseSDKType { - const obj: any = {}; - obj.annual_provisions = message.annualProvisions; - return obj; - }, - fromAmino(object: QueryAnnualProvisionsResponseAmino): QueryAnnualProvisionsResponse { - return { - annualProvisions: object.annual_provisions - }; - }, - toAmino(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseAmino { - const obj: any = {}; - obj.annual_provisions = message.annualProvisions; - return obj; - }, - fromAminoMsg(object: QueryAnnualProvisionsResponseAminoMsg): QueryAnnualProvisionsResponse { - return QueryAnnualProvisionsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryAnnualProvisionsResponse", - value: QueryAnnualProvisionsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAnnualProvisionsResponseProtoMsg): QueryAnnualProvisionsResponse { - return QueryAnnualProvisionsResponse.decode(message.value); - }, - toProto(message: QueryAnnualProvisionsResponse): Uint8Array { - return QueryAnnualProvisionsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAnnualProvisionsResponse): QueryAnnualProvisionsResponseProtoMsg { - return { - typeUrl: "/cosmos.mint.v1beta1.QueryAnnualProvisionsResponse", - value: QueryAnnualProvisionsResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/msg/v1/msg.ts b/quicksilverjs/src/codegen/cosmos/msg/v1/msg.ts deleted file mode 100644 index 693da49fc..000000000 --- a/quicksilverjs/src/codegen/cosmos/msg/v1/msg.ts +++ /dev/null @@ -1 +0,0 @@ -export {} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/event.ts b/quicksilverjs/src/codegen/cosmos/nft/v1beta1/event.ts deleted file mode 100644 index f20f4197c..000000000 --- a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/event.ts +++ /dev/null @@ -1,446 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.nft.v1beta1"; -/** EventSend is emitted on Msg/Send */ -export interface EventSend { - classId: string; - id: string; - sender: string; - receiver: string; -} -export interface EventSendProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventSend"; - value: Uint8Array; -} -/** EventSend is emitted on Msg/Send */ -export interface EventSendAmino { - class_id: string; - id: string; - sender: string; - receiver: string; -} -export interface EventSendAminoMsg { - type: "cosmos-sdk/EventSend"; - value: EventSendAmino; -} -/** EventSend is emitted on Msg/Send */ -export interface EventSendSDKType { - class_id: string; - id: string; - sender: string; - receiver: string; -} -/** EventMint is emitted on Mint */ -export interface EventMint { - classId: string; - id: string; - owner: string; -} -export interface EventMintProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventMint"; - value: Uint8Array; -} -/** EventMint is emitted on Mint */ -export interface EventMintAmino { - class_id: string; - id: string; - owner: string; -} -export interface EventMintAminoMsg { - type: "cosmos-sdk/EventMint"; - value: EventMintAmino; -} -/** EventMint is emitted on Mint */ -export interface EventMintSDKType { - class_id: string; - id: string; - owner: string; -} -/** EventBurn is emitted on Burn */ -export interface EventBurn { - classId: string; - id: string; - owner: string; -} -export interface EventBurnProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.EventBurn"; - value: Uint8Array; -} -/** EventBurn is emitted on Burn */ -export interface EventBurnAmino { - class_id: string; - id: string; - owner: string; -} -export interface EventBurnAminoMsg { - type: "cosmos-sdk/EventBurn"; - value: EventBurnAmino; -} -/** EventBurn is emitted on Burn */ -export interface EventBurnSDKType { - class_id: string; - id: string; - owner: string; -} -function createBaseEventSend(): EventSend { - return { - classId: "", - id: "", - sender: "", - receiver: "" - }; -} -export const EventSend = { - typeUrl: "/cosmos.nft.v1beta1.EventSend", - aminoType: "cosmos-sdk/EventSend", - encode(message: EventSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - if (message.sender !== "") { - writer.uint32(26).string(message.sender); - } - if (message.receiver !== "") { - writer.uint32(34).string(message.receiver); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventSend { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventSend(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - case 3: - message.sender = reader.string(); - break; - case 4: - message.receiver = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventSend { - const obj = createBaseEventSend(); - if (isSet(object.classId)) obj.classId = String(object.classId); - if (isSet(object.id)) obj.id = String(object.id); - if (isSet(object.sender)) obj.sender = String(object.sender); - if (isSet(object.receiver)) obj.receiver = String(object.receiver); - return obj; - }, - toJSON(message: EventSend): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - message.sender !== undefined && (obj.sender = message.sender); - message.receiver !== undefined && (obj.receiver = message.receiver); - return obj; - }, - fromPartial(object: DeepPartial): EventSend { - const message = createBaseEventSend(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.sender = object.sender ?? ""; - message.receiver = object.receiver ?? ""; - return message; - }, - fromSDK(object: EventSendSDKType): EventSend { - return { - classId: object?.class_id, - id: object?.id, - sender: object?.sender, - receiver: object?.receiver - }; - }, - toSDK(message: EventSend): EventSendSDKType { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - obj.sender = message.sender; - obj.receiver = message.receiver; - return obj; - }, - fromAmino(object: EventSendAmino): EventSend { - return { - classId: object.class_id, - id: object.id, - sender: object.sender, - receiver: object.receiver - }; - }, - toAmino(message: EventSend): EventSendAmino { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - obj.sender = message.sender; - obj.receiver = message.receiver; - return obj; - }, - fromAminoMsg(object: EventSendAminoMsg): EventSend { - return EventSend.fromAmino(object.value); - }, - toAminoMsg(message: EventSend): EventSendAminoMsg { - return { - type: "cosmos-sdk/EventSend", - value: EventSend.toAmino(message) - }; - }, - fromProtoMsg(message: EventSendProtoMsg): EventSend { - return EventSend.decode(message.value); - }, - toProto(message: EventSend): Uint8Array { - return EventSend.encode(message).finish(); - }, - toProtoMsg(message: EventSend): EventSendProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.EventSend", - value: EventSend.encode(message).finish() - }; - } -}; -function createBaseEventMint(): EventMint { - return { - classId: "", - id: "", - owner: "" - }; -} -export const EventMint = { - typeUrl: "/cosmos.nft.v1beta1.EventMint", - aminoType: "cosmos-sdk/EventMint", - encode(message: EventMint, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - if (message.owner !== "") { - writer.uint32(26).string(message.owner); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventMint { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventMint(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - case 3: - message.owner = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventMint { - const obj = createBaseEventMint(); - if (isSet(object.classId)) obj.classId = String(object.classId); - if (isSet(object.id)) obj.id = String(object.id); - if (isSet(object.owner)) obj.owner = String(object.owner); - return obj; - }, - toJSON(message: EventMint): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - message.owner !== undefined && (obj.owner = message.owner); - return obj; - }, - fromPartial(object: DeepPartial): EventMint { - const message = createBaseEventMint(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.owner = object.owner ?? ""; - return message; - }, - fromSDK(object: EventMintSDKType): EventMint { - return { - classId: object?.class_id, - id: object?.id, - owner: object?.owner - }; - }, - toSDK(message: EventMint): EventMintSDKType { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - obj.owner = message.owner; - return obj; - }, - fromAmino(object: EventMintAmino): EventMint { - return { - classId: object.class_id, - id: object.id, - owner: object.owner - }; - }, - toAmino(message: EventMint): EventMintAmino { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - obj.owner = message.owner; - return obj; - }, - fromAminoMsg(object: EventMintAminoMsg): EventMint { - return EventMint.fromAmino(object.value); - }, - toAminoMsg(message: EventMint): EventMintAminoMsg { - return { - type: "cosmos-sdk/EventMint", - value: EventMint.toAmino(message) - }; - }, - fromProtoMsg(message: EventMintProtoMsg): EventMint { - return EventMint.decode(message.value); - }, - toProto(message: EventMint): Uint8Array { - return EventMint.encode(message).finish(); - }, - toProtoMsg(message: EventMint): EventMintProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.EventMint", - value: EventMint.encode(message).finish() - }; - } -}; -function createBaseEventBurn(): EventBurn { - return { - classId: "", - id: "", - owner: "" - }; -} -export const EventBurn = { - typeUrl: "/cosmos.nft.v1beta1.EventBurn", - aminoType: "cosmos-sdk/EventBurn", - encode(message: EventBurn, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - if (message.owner !== "") { - writer.uint32(26).string(message.owner); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EventBurn { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEventBurn(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - case 3: - message.owner = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EventBurn { - const obj = createBaseEventBurn(); - if (isSet(object.classId)) obj.classId = String(object.classId); - if (isSet(object.id)) obj.id = String(object.id); - if (isSet(object.owner)) obj.owner = String(object.owner); - return obj; - }, - toJSON(message: EventBurn): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - message.owner !== undefined && (obj.owner = message.owner); - return obj; - }, - fromPartial(object: DeepPartial): EventBurn { - const message = createBaseEventBurn(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.owner = object.owner ?? ""; - return message; - }, - fromSDK(object: EventBurnSDKType): EventBurn { - return { - classId: object?.class_id, - id: object?.id, - owner: object?.owner - }; - }, - toSDK(message: EventBurn): EventBurnSDKType { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - obj.owner = message.owner; - return obj; - }, - fromAmino(object: EventBurnAmino): EventBurn { - return { - classId: object.class_id, - id: object.id, - owner: object.owner - }; - }, - toAmino(message: EventBurn): EventBurnAmino { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - obj.owner = message.owner; - return obj; - }, - fromAminoMsg(object: EventBurnAminoMsg): EventBurn { - return EventBurn.fromAmino(object.value); - }, - toAminoMsg(message: EventBurn): EventBurnAminoMsg { - return { - type: "cosmos-sdk/EventBurn", - value: EventBurn.toAmino(message) - }; - }, - fromProtoMsg(message: EventBurnProtoMsg): EventBurn { - return EventBurn.decode(message.value); - }, - toProto(message: EventBurn): Uint8Array { - return EventBurn.encode(message).finish(); - }, - toProtoMsg(message: EventBurn): EventBurnProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.EventBurn", - value: EventBurn.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/nft/v1beta1/genesis.ts deleted file mode 100644 index c9086d8f6..000000000 --- a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/genesis.ts +++ /dev/null @@ -1,296 +0,0 @@ -import { Class, ClassAmino, ClassSDKType, NFT, NFTAmino, NFTSDKType } from "./nft"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../../helpers"; -export const protobufPackage = "cosmos.nft.v1beta1"; -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisState { - /** class defines the class of the nft type. */ - classes: Class[]; - entries: Entry[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisStateAmino { - /** class defines the class of the nft type. */ - classes: ClassAmino[]; - entries: EntryAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisStateSDKType { - classes: ClassSDKType[]; - entries: EntrySDKType[]; -} -/** Entry Defines all nft owned by a person */ -export interface Entry { - /** owner is the owner address of the following nft */ - owner: string; - /** nfts is a group of nfts of the same owner */ - nfts: NFT[]; -} -export interface EntryProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.Entry"; - value: Uint8Array; -} -/** Entry Defines all nft owned by a person */ -export interface EntryAmino { - /** owner is the owner address of the following nft */ - owner: string; - /** nfts is a group of nfts of the same owner */ - nfts: NFTAmino[]; -} -export interface EntryAminoMsg { - type: "cosmos-sdk/Entry"; - value: EntryAmino; -} -/** Entry Defines all nft owned by a person */ -export interface EntrySDKType { - owner: string; - nfts: NFTSDKType[]; -} -function createBaseGenesisState(): GenesisState { - return { - classes: [], - entries: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.nft.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.classes) { - Class.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.entries) { - Entry.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classes.push(Class.decode(reader, reader.uint32())); - break; - case 2: - message.entries.push(Entry.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (Array.isArray(object?.classes)) obj.classes = object.classes.map((e: any) => Class.fromJSON(e)); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => Entry.fromJSON(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? Class.toJSON(e) : undefined); - } else { - obj.classes = []; - } - if (message.entries) { - obj.entries = message.entries.map(e => e ? Entry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - message.classes = object.classes?.map(e => Class.fromPartial(e)) || []; - message.entries = object.entries?.map(e => Entry.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - classes: Array.isArray(object?.classes) ? object.classes.map((e: any) => Class.fromSDK(e)) : [], - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => Entry.fromSDK(e)) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? Class.toSDK(e) : undefined); - } else { - obj.classes = []; - } - if (message.entries) { - obj.entries = message.entries.map(e => e ? Entry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - classes: Array.isArray(object?.classes) ? object.classes.map((e: any) => Class.fromAmino(e)) : [], - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => Entry.fromAmino(e)) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? Class.toAmino(e) : undefined); - } else { - obj.classes = []; - } - if (message.entries) { - obj.entries = message.entries.map(e => e ? Entry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; -function createBaseEntry(): Entry { - return { - owner: "", - nfts: [] - }; -} -export const Entry = { - typeUrl: "/cosmos.nft.v1beta1.Entry", - aminoType: "cosmos-sdk/Entry", - encode(message: Entry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.owner !== "") { - writer.uint32(10).string(message.owner); - } - for (const v of message.nfts) { - NFT.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Entry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.owner = reader.string(); - break; - case 2: - message.nfts.push(NFT.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Entry { - const obj = createBaseEntry(); - if (isSet(object.owner)) obj.owner = String(object.owner); - if (Array.isArray(object?.nfts)) obj.nfts = object.nfts.map((e: any) => NFT.fromJSON(e)); - return obj; - }, - toJSON(message: Entry): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - if (message.nfts) { - obj.nfts = message.nfts.map(e => e ? NFT.toJSON(e) : undefined); - } else { - obj.nfts = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Entry { - const message = createBaseEntry(); - message.owner = object.owner ?? ""; - message.nfts = object.nfts?.map(e => NFT.fromPartial(e)) || []; - return message; - }, - fromSDK(object: EntrySDKType): Entry { - return { - owner: object?.owner, - nfts: Array.isArray(object?.nfts) ? object.nfts.map((e: any) => NFT.fromSDK(e)) : [] - }; - }, - toSDK(message: Entry): EntrySDKType { - const obj: any = {}; - obj.owner = message.owner; - if (message.nfts) { - obj.nfts = message.nfts.map(e => e ? NFT.toSDK(e) : undefined); - } else { - obj.nfts = []; - } - return obj; - }, - fromAmino(object: EntryAmino): Entry { - return { - owner: object.owner, - nfts: Array.isArray(object?.nfts) ? object.nfts.map((e: any) => NFT.fromAmino(e)) : [] - }; - }, - toAmino(message: Entry): EntryAmino { - const obj: any = {}; - obj.owner = message.owner; - if (message.nfts) { - obj.nfts = message.nfts.map(e => e ? NFT.toAmino(e) : undefined); - } else { - obj.nfts = []; - } - return obj; - }, - fromAminoMsg(object: EntryAminoMsg): Entry { - return Entry.fromAmino(object.value); - }, - toAminoMsg(message: Entry): EntryAminoMsg { - return { - type: "cosmos-sdk/Entry", - value: Entry.toAmino(message) - }; - }, - fromProtoMsg(message: EntryProtoMsg): Entry { - return Entry.decode(message.value); - }, - toProto(message: Entry): Uint8Array { - return Entry.encode(message).finish(); - }, - toProtoMsg(message: Entry): EntryProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.Entry", - value: Entry.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/nft.ts b/quicksilverjs/src/codegen/cosmos/nft/v1beta1/nft.ts deleted file mode 100644 index 2d6548828..000000000 --- a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/nft.ts +++ /dev/null @@ -1,418 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.nft.v1beta1"; -/** Class defines the class of the nft type. */ -export interface Class { - /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */ - id: string; - /** name defines the human-readable name of the NFT classification. Optional */ - name: string; - /** symbol is an abbreviated name for nft classification. Optional */ - symbol: string; - /** description is a brief description of nft classification. Optional */ - description: string; - /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - uri: string; - /** uri_hash is a hash of the document pointed by uri. Optional */ - uriHash: string; - /** data is the app specific metadata of the NFT class. Optional */ - data: Any; -} -export interface ClassProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.Class"; - value: Uint8Array; -} -/** Class defines the class of the nft type. */ -export interface ClassAmino { - /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */ - id: string; - /** name defines the human-readable name of the NFT classification. Optional */ - name: string; - /** symbol is an abbreviated name for nft classification. Optional */ - symbol: string; - /** description is a brief description of nft classification. Optional */ - description: string; - /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - uri: string; - /** uri_hash is a hash of the document pointed by uri. Optional */ - uri_hash: string; - /** data is the app specific metadata of the NFT class. Optional */ - data?: AnyAmino; -} -export interface ClassAminoMsg { - type: "cosmos-sdk/Class"; - value: ClassAmino; -} -/** Class defines the class of the nft type. */ -export interface ClassSDKType { - id: string; - name: string; - symbol: string; - description: string; - uri: string; - uri_hash: string; - data: AnySDKType; -} -/** NFT defines the NFT. */ -export interface NFT { - /** class_id associated with the NFT, similar to the contract address of ERC721 */ - classId: string; - /** id is a unique identifier of the NFT */ - id: string; - /** uri for the NFT metadata stored off chain */ - uri: string; - /** uri_hash is a hash of the document pointed by uri */ - uriHash: string; - /** data is an app specific data of the NFT. Optional */ - data: Any; -} -export interface NFTProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.NFT"; - value: Uint8Array; -} -/** NFT defines the NFT. */ -export interface NFTAmino { - /** class_id associated with the NFT, similar to the contract address of ERC721 */ - class_id: string; - /** id is a unique identifier of the NFT */ - id: string; - /** uri for the NFT metadata stored off chain */ - uri: string; - /** uri_hash is a hash of the document pointed by uri */ - uri_hash: string; - /** data is an app specific data of the NFT. Optional */ - data?: AnyAmino; -} -export interface NFTAminoMsg { - type: "cosmos-sdk/NFT"; - value: NFTAmino; -} -/** NFT defines the NFT. */ -export interface NFTSDKType { - class_id: string; - id: string; - uri: string; - uri_hash: string; - data: AnySDKType; -} -function createBaseClass(): Class { - return { - id: "", - name: "", - symbol: "", - description: "", - uri: "", - uriHash: "", - data: Any.fromPartial({}) - }; -} -export const Class = { - typeUrl: "/cosmos.nft.v1beta1.Class", - aminoType: "cosmos-sdk/Class", - encode(message: Class, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== "") { - writer.uint32(10).string(message.id); - } - if (message.name !== "") { - writer.uint32(18).string(message.name); - } - if (message.symbol !== "") { - writer.uint32(26).string(message.symbol); - } - if (message.description !== "") { - writer.uint32(34).string(message.description); - } - if (message.uri !== "") { - writer.uint32(42).string(message.uri); - } - if (message.uriHash !== "") { - writer.uint32(50).string(message.uriHash); - } - if (message.data !== undefined) { - Any.encode(message.data, writer.uint32(58).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Class { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClass(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - case 2: - message.name = reader.string(); - break; - case 3: - message.symbol = reader.string(); - break; - case 4: - message.description = reader.string(); - break; - case 5: - message.uri = reader.string(); - break; - case 6: - message.uriHash = reader.string(); - break; - case 7: - message.data = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Class { - const obj = createBaseClass(); - if (isSet(object.id)) obj.id = String(object.id); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.symbol)) obj.symbol = String(object.symbol); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.uri)) obj.uri = String(object.uri); - if (isSet(object.uriHash)) obj.uriHash = String(object.uriHash); - if (isSet(object.data)) obj.data = Any.fromJSON(object.data); - return obj; - }, - toJSON(message: Class): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - message.name !== undefined && (obj.name = message.name); - message.symbol !== undefined && (obj.symbol = message.symbol); - message.description !== undefined && (obj.description = message.description); - message.uri !== undefined && (obj.uri = message.uri); - message.uriHash !== undefined && (obj.uriHash = message.uriHash); - message.data !== undefined && (obj.data = message.data ? Any.toJSON(message.data) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Class { - const message = createBaseClass(); - message.id = object.id ?? ""; - message.name = object.name ?? ""; - message.symbol = object.symbol ?? ""; - message.description = object.description ?? ""; - message.uri = object.uri ?? ""; - message.uriHash = object.uriHash ?? ""; - if (object.data !== undefined && object.data !== null) { - message.data = Any.fromPartial(object.data); - } - return message; - }, - fromSDK(object: ClassSDKType): Class { - return { - id: object?.id, - name: object?.name, - symbol: object?.symbol, - description: object?.description, - uri: object?.uri, - uriHash: object?.uri_hash, - data: object.data ? Any.fromSDK(object.data) : undefined - }; - }, - toSDK(message: Class): ClassSDKType { - const obj: any = {}; - obj.id = message.id; - obj.name = message.name; - obj.symbol = message.symbol; - obj.description = message.description; - obj.uri = message.uri; - obj.uri_hash = message.uriHash; - message.data !== undefined && (obj.data = message.data ? Any.toSDK(message.data) : undefined); - return obj; - }, - fromAmino(object: ClassAmino): Class { - return { - id: object.id, - name: object.name, - symbol: object.symbol, - description: object.description, - uri: object.uri, - uriHash: object.uri_hash, - data: object?.data ? Any.fromAmino(object.data) : undefined - }; - }, - toAmino(message: Class): ClassAmino { - const obj: any = {}; - obj.id = message.id; - obj.name = message.name; - obj.symbol = message.symbol; - obj.description = message.description; - obj.uri = message.uri; - obj.uri_hash = message.uriHash; - obj.data = message.data ? Any.toAmino(message.data) : undefined; - return obj; - }, - fromAminoMsg(object: ClassAminoMsg): Class { - return Class.fromAmino(object.value); - }, - toAminoMsg(message: Class): ClassAminoMsg { - return { - type: "cosmos-sdk/Class", - value: Class.toAmino(message) - }; - }, - fromProtoMsg(message: ClassProtoMsg): Class { - return Class.decode(message.value); - }, - toProto(message: Class): Uint8Array { - return Class.encode(message).finish(); - }, - toProtoMsg(message: Class): ClassProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.Class", - value: Class.encode(message).finish() - }; - } -}; -function createBaseNFT(): NFT { - return { - classId: "", - id: "", - uri: "", - uriHash: "", - data: Any.fromPartial({}) - }; -} -export const NFT = { - typeUrl: "/cosmos.nft.v1beta1.NFT", - aminoType: "cosmos-sdk/NFT", - encode(message: NFT, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - if (message.uri !== "") { - writer.uint32(26).string(message.uri); - } - if (message.uriHash !== "") { - writer.uint32(34).string(message.uriHash); - } - if (message.data !== undefined) { - Any.encode(message.data, writer.uint32(82).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): NFT { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseNFT(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - case 3: - message.uri = reader.string(); - break; - case 4: - message.uriHash = reader.string(); - break; - case 10: - message.data = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): NFT { - const obj = createBaseNFT(); - if (isSet(object.classId)) obj.classId = String(object.classId); - if (isSet(object.id)) obj.id = String(object.id); - if (isSet(object.uri)) obj.uri = String(object.uri); - if (isSet(object.uriHash)) obj.uriHash = String(object.uriHash); - if (isSet(object.data)) obj.data = Any.fromJSON(object.data); - return obj; - }, - toJSON(message: NFT): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - message.uri !== undefined && (obj.uri = message.uri); - message.uriHash !== undefined && (obj.uriHash = message.uriHash); - message.data !== undefined && (obj.data = message.data ? Any.toJSON(message.data) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): NFT { - const message = createBaseNFT(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.uri = object.uri ?? ""; - message.uriHash = object.uriHash ?? ""; - if (object.data !== undefined && object.data !== null) { - message.data = Any.fromPartial(object.data); - } - return message; - }, - fromSDK(object: NFTSDKType): NFT { - return { - classId: object?.class_id, - id: object?.id, - uri: object?.uri, - uriHash: object?.uri_hash, - data: object.data ? Any.fromSDK(object.data) : undefined - }; - }, - toSDK(message: NFT): NFTSDKType { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - obj.uri = message.uri; - obj.uri_hash = message.uriHash; - message.data !== undefined && (obj.data = message.data ? Any.toSDK(message.data) : undefined); - return obj; - }, - fromAmino(object: NFTAmino): NFT { - return { - classId: object.class_id, - id: object.id, - uri: object.uri, - uriHash: object.uri_hash, - data: object?.data ? Any.fromAmino(object.data) : undefined - }; - }, - toAmino(message: NFT): NFTAmino { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - obj.uri = message.uri; - obj.uri_hash = message.uriHash; - obj.data = message.data ? Any.toAmino(message.data) : undefined; - return obj; - }, - fromAminoMsg(object: NFTAminoMsg): NFT { - return NFT.fromAmino(object.value); - }, - toAminoMsg(message: NFT): NFTAminoMsg { - return { - type: "cosmos-sdk/NFT", - value: NFT.toAmino(message) - }; - }, - fromProtoMsg(message: NFTProtoMsg): NFT { - return NFT.decode(message.value); - }, - toProto(message: NFT): Uint8Array { - return NFT.encode(message).finish(); - }, - toProtoMsg(message: NFT): NFTProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.NFT", - value: NFT.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.lcd.ts deleted file mode 100644 index dababb2a5..000000000 --- a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { NFT, NFTSDKType, Class, ClassSDKType } from "./nft"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryBalanceRequest, QueryBalanceRequestSDKType, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerRequestSDKType, QueryOwnerResponse, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyRequestSDKType, QuerySupplyResponse, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsRequestSDKType, QueryNFTsResponse, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTRequestSDKType, QueryNFTResponse, QueryNFTResponseSDKType, QueryClassRequest, QueryClassRequestSDKType, QueryClassResponse, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesRequestSDKType, QueryClassesResponse, QueryClassesResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.balance = this.balance.bind(this); - this.owner = this.owner.bind(this); - this.supply = this.supply.bind(this); - this.nFTs = this.nFTs.bind(this); - this.nFT = this.nFT.bind(this); - this.class = this.class.bind(this); - this.classes = this.classes.bind(this); - } - /* Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 */ - async balance(params: QueryBalanceRequest): Promise { - const endpoint = `cosmos/nft/v1beta1/balance/${params.owner}/${params.classId}`; - return await this.req.get(endpoint); - } - /* Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 */ - async owner(params: QueryOwnerRequest): Promise { - const endpoint = `cosmos/nft/v1beta1/owner/${params.classId}/${params.id}`; - return await this.req.get(endpoint); - } - /* Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. */ - async supply(params: QuerySupplyRequest): Promise { - const endpoint = `cosmos/nft/v1beta1/supply/${params.classId}`; - return await this.req.get(endpoint); - } - /* NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - ERC721Enumerable */ - async nFTs(params: QueryNFTsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.classId !== "undefined") { - options.params.class_id = params.classId; - } - if (typeof params?.owner !== "undefined") { - options.params.owner = params.owner; - } - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/nft/v1beta1/nfts`; - return await this.req.get(endpoint, options); - } - /* NFT queries an NFT based on its class and id. */ - async nFT(params: QueryNFTRequest): Promise { - const endpoint = `cosmos/nft/v1beta1/nfts/${params.classId}/${params.id}`; - return await this.req.get(endpoint); - } - /* Class queries an NFT class based on its id */ - async class(params: QueryClassRequest): Promise { - const endpoint = `cosmos/nft/v1beta1/classes/${params.classId}`; - return await this.req.get(endpoint); - } - /* Classes queries all NFT classes */ - async classes(params: QueryClassesRequest = { - pagination: PageRequest.fromPartial({}) - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/nft/v1beta1/classes`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts deleted file mode 100644 index ee0c0c045..000000000 --- a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,130 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { NFT, NFTSDKType, Class, ClassSDKType } from "./nft"; -import * as fm from "../../../grpc-gateway"; -import { QueryBalanceRequest, QueryBalanceRequestSDKType, QueryBalanceResponse, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerRequestSDKType, QueryOwnerResponse, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyRequestSDKType, QuerySupplyResponse, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsRequestSDKType, QueryNFTsResponse, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTRequestSDKType, QueryNFTResponse, QueryNFTResponseSDKType, QueryClassRequest, QueryClassRequestSDKType, QueryClassResponse, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesRequestSDKType, QueryClassesResponse, QueryClassesResponseSDKType } from "./query"; -export class Query { - /** Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 */ - static balance(request: QueryBalanceRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/nft/v1beta1/balance/${request["owner"]}/${request["class_id"]}?${fm.renderURLSearchParams({ - ...request - }, ["owner", "class_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 */ - static owner(request: QueryOwnerRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/nft/v1beta1/owner/${request["class_id"]}/${request["id"]}?${fm.renderURLSearchParams({ - ...request - }, ["class_id", "id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. */ - static supply(request: QuerySupplyRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/nft/v1beta1/supply/${request["class_id"]}?${fm.renderURLSearchParams({ - ...request - }, ["class_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - * ERC721Enumerable - */ - static nFTs(request: QueryNFTsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/nft/v1beta1/nfts?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** NFT queries an NFT based on its class and id. */ - static nFT(request: QueryNFTRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/nft/v1beta1/nfts/${request["class_id"]}/${request["id"]}?${fm.renderURLSearchParams({ - ...request - }, ["class_id", "id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Class queries an NFT class based on its id */ - static class(request: QueryClassRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/nft/v1beta1/classes/${request["class_id"]}?${fm.renderURLSearchParams({ - ...request - }, ["class_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Classes queries all NFT classes */ - static classes(request: QueryClassesRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/nft/v1beta1/classes?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 */ - async balance(req: QueryBalanceRequest, headers?: HeadersInit): Promise { - return Query.balance(req, { - headers, - pathPrefix: this.url - }); - } - /** Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 */ - async owner(req: QueryOwnerRequest, headers?: HeadersInit): Promise { - return Query.owner(req, { - headers, - pathPrefix: this.url - }); - } - /** Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. */ - async supply(req: QuerySupplyRequest, headers?: HeadersInit): Promise { - return Query.supply(req, { - headers, - pathPrefix: this.url - }); - } - /** - * NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - * ERC721Enumerable - */ - async nFTs(req: QueryNFTsRequest, headers?: HeadersInit): Promise { - return Query.nFTs(req, { - headers, - pathPrefix: this.url - }); - } - /** NFT queries an NFT based on its class and id. */ - async nFT(req: QueryNFTRequest, headers?: HeadersInit): Promise { - return Query.nFT(req, { - headers, - pathPrefix: this.url - }); - } - /** Class queries an NFT class based on its id */ - async class(req: QueryClassRequest, headers?: HeadersInit): Promise { - return Query.class(req, { - headers, - pathPrefix: this.url - }); - } - /** Classes queries all NFT classes */ - async classes(req: QueryClassesRequest, headers?: HeadersInit): Promise { - return Query.classes(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.ts deleted file mode 100644 index 1cb0aedd8..000000000 --- a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/query.ts +++ /dev/null @@ -1,1678 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { NFT, NFTAmino, NFTSDKType, Class, ClassAmino, ClassSDKType } from "./nft"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.nft.v1beta1"; -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequest { - classId: string; - owner: string; -} -export interface QueryBalanceRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceRequest"; - value: Uint8Array; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequestAmino { - class_id: string; - owner: string; -} -export interface QueryBalanceRequestAminoMsg { - type: "cosmos-sdk/QueryBalanceRequest"; - value: QueryBalanceRequestAmino; -} -/** QueryBalanceRequest is the request type for the Query/Balance RPC method */ -export interface QueryBalanceRequestSDKType { - class_id: string; - owner: string; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponse { - amount: Long; -} -export interface QueryBalanceResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceResponse"; - value: Uint8Array; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponseAmino { - amount: string; -} -export interface QueryBalanceResponseAminoMsg { - type: "cosmos-sdk/QueryBalanceResponse"; - value: QueryBalanceResponseAmino; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method */ -export interface QueryBalanceResponseSDKType { - amount: Long; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequest { - classId: string; - id: string; -} -export interface QueryOwnerRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerRequest"; - value: Uint8Array; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequestAmino { - class_id: string; - id: string; -} -export interface QueryOwnerRequestAminoMsg { - type: "cosmos-sdk/QueryOwnerRequest"; - value: QueryOwnerRequestAmino; -} -/** QueryOwnerRequest is the request type for the Query/Owner RPC method */ -export interface QueryOwnerRequestSDKType { - class_id: string; - id: string; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponse { - owner: string; -} -export interface QueryOwnerResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerResponse"; - value: Uint8Array; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponseAmino { - owner: string; -} -export interface QueryOwnerResponseAminoMsg { - type: "cosmos-sdk/QueryOwnerResponse"; - value: QueryOwnerResponseAmino; -} -/** QueryOwnerResponse is the response type for the Query/Owner RPC method */ -export interface QueryOwnerResponseSDKType { - owner: string; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequest { - classId: string; -} -export interface QuerySupplyRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyRequest"; - value: Uint8Array; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequestAmino { - class_id: string; -} -export interface QuerySupplyRequestAminoMsg { - type: "cosmos-sdk/QuerySupplyRequest"; - value: QuerySupplyRequestAmino; -} -/** QuerySupplyRequest is the request type for the Query/Supply RPC method */ -export interface QuerySupplyRequestSDKType { - class_id: string; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponse { - amount: Long; -} -export interface QuerySupplyResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyResponse"; - value: Uint8Array; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponseAmino { - amount: string; -} -export interface QuerySupplyResponseAminoMsg { - type: "cosmos-sdk/QuerySupplyResponse"; - value: QuerySupplyResponseAmino; -} -/** QuerySupplyResponse is the response type for the Query/Supply RPC method */ -export interface QuerySupplyResponseSDKType { - amount: Long; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequest { - classId: string; - owner: string; - pagination: PageRequest; -} -export interface QueryNFTsRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsRequest"; - value: Uint8Array; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequestAmino { - class_id: string; - owner: string; - pagination?: PageRequestAmino; -} -export interface QueryNFTsRequestAminoMsg { - type: "cosmos-sdk/QueryNFTsRequest"; - value: QueryNFTsRequestAmino; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequestSDKType { - class_id: string; - owner: string; - pagination: PageRequestSDKType; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponse { - nfts: NFT[]; - pagination: PageResponse; -} -export interface QueryNFTsResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsResponse"; - value: Uint8Array; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponseAmino { - nfts: NFTAmino[]; - pagination?: PageResponseAmino; -} -export interface QueryNFTsResponseAminoMsg { - type: "cosmos-sdk/QueryNFTsResponse"; - value: QueryNFTsResponseAmino; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponseSDKType { - nfts: NFTSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequest { - classId: string; - id: string; -} -export interface QueryNFTRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTRequest"; - value: Uint8Array; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequestAmino { - class_id: string; - id: string; -} -export interface QueryNFTRequestAminoMsg { - type: "cosmos-sdk/QueryNFTRequest"; - value: QueryNFTRequestAmino; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequestSDKType { - class_id: string; - id: string; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponse { - nft: NFT; -} -export interface QueryNFTResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTResponse"; - value: Uint8Array; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponseAmino { - nft?: NFTAmino; -} -export interface QueryNFTResponseAminoMsg { - type: "cosmos-sdk/QueryNFTResponse"; - value: QueryNFTResponseAmino; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponseSDKType { - nft: NFTSDKType; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequest { - classId: string; -} -export interface QueryClassRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassRequest"; - value: Uint8Array; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequestAmino { - class_id: string; -} -export interface QueryClassRequestAminoMsg { - type: "cosmos-sdk/QueryClassRequest"; - value: QueryClassRequestAmino; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequestSDKType { - class_id: string; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponse { - class: Class; -} -export interface QueryClassResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassResponse"; - value: Uint8Array; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponseAmino { - class?: ClassAmino; -} -export interface QueryClassResponseAminoMsg { - type: "cosmos-sdk/QueryClassResponse"; - value: QueryClassResponseAmino; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponseSDKType { - class: ClassSDKType; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryClassesRequestProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesRequest"; - value: Uint8Array; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryClassesRequestAminoMsg { - type: "cosmos-sdk/QueryClassesRequest"; - value: QueryClassesRequestAmino; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequestSDKType { - pagination: PageRequestSDKType; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponse { - classes: Class[]; - pagination: PageResponse; -} -export interface QueryClassesResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesResponse"; - value: Uint8Array; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponseAmino { - classes: ClassAmino[]; - pagination?: PageResponseAmino; -} -export interface QueryClassesResponseAminoMsg { - type: "cosmos-sdk/QueryClassesResponse"; - value: QueryClassesResponseAmino; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponseSDKType { - classes: ClassSDKType[]; - pagination: PageResponseSDKType; -} -function createBaseQueryBalanceRequest(): QueryBalanceRequest { - return { - classId: "", - owner: "" - }; -} -export const QueryBalanceRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceRequest", - aminoType: "cosmos-sdk/QueryBalanceRequest", - encode(message: QueryBalanceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.owner !== "") { - writer.uint32(18).string(message.owner); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryBalanceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.owner = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryBalanceRequest { - const obj = createBaseQueryBalanceRequest(); - if (isSet(object.classId)) obj.classId = String(object.classId); - if (isSet(object.owner)) obj.owner = String(object.owner); - return obj; - }, - toJSON(message: QueryBalanceRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.owner !== undefined && (obj.owner = message.owner); - return obj; - }, - fromPartial(object: DeepPartial): QueryBalanceRequest { - const message = createBaseQueryBalanceRequest(); - message.classId = object.classId ?? ""; - message.owner = object.owner ?? ""; - return message; - }, - fromSDK(object: QueryBalanceRequestSDKType): QueryBalanceRequest { - return { - classId: object?.class_id, - owner: object?.owner - }; - }, - toSDK(message: QueryBalanceRequest): QueryBalanceRequestSDKType { - const obj: any = {}; - obj.class_id = message.classId; - obj.owner = message.owner; - return obj; - }, - fromAmino(object: QueryBalanceRequestAmino): QueryBalanceRequest { - return { - classId: object.class_id, - owner: object.owner - }; - }, - toAmino(message: QueryBalanceRequest): QueryBalanceRequestAmino { - const obj: any = {}; - obj.class_id = message.classId; - obj.owner = message.owner; - return obj; - }, - fromAminoMsg(object: QueryBalanceRequestAminoMsg): QueryBalanceRequest { - return QueryBalanceRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryBalanceRequest): QueryBalanceRequestAminoMsg { - return { - type: "cosmos-sdk/QueryBalanceRequest", - value: QueryBalanceRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryBalanceRequestProtoMsg): QueryBalanceRequest { - return QueryBalanceRequest.decode(message.value); - }, - toProto(message: QueryBalanceRequest): Uint8Array { - return QueryBalanceRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryBalanceRequest): QueryBalanceRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceRequest", - value: QueryBalanceRequest.encode(message).finish() - }; - } -}; -function createBaseQueryBalanceResponse(): QueryBalanceResponse { - return { - amount: Long.UZERO - }; -} -export const QueryBalanceResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceResponse", - aminoType: "cosmos-sdk/QueryBalanceResponse", - encode(message: QueryBalanceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.amount.isZero()) { - writer.uint32(8).uint64(message.amount); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryBalanceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.amount = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryBalanceResponse { - const obj = createBaseQueryBalanceResponse(); - if (isSet(object.amount)) obj.amount = Long.fromValue(object.amount); - return obj; - }, - toJSON(message: QueryBalanceResponse): unknown { - const obj: any = {}; - message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryBalanceResponse { - const message = createBaseQueryBalanceResponse(); - if (object.amount !== undefined && object.amount !== null) { - message.amount = Long.fromValue(object.amount); - } - return message; - }, - fromSDK(object: QueryBalanceResponseSDKType): QueryBalanceResponse { - return { - amount: object?.amount - }; - }, - toSDK(message: QueryBalanceResponse): QueryBalanceResponseSDKType { - const obj: any = {}; - obj.amount = message.amount; - return obj; - }, - fromAmino(object: QueryBalanceResponseAmino): QueryBalanceResponse { - return { - amount: Long.fromString(object.amount) - }; - }, - toAmino(message: QueryBalanceResponse): QueryBalanceResponseAmino { - const obj: any = {}; - obj.amount = message.amount ? message.amount.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryBalanceResponseAminoMsg): QueryBalanceResponse { - return QueryBalanceResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryBalanceResponse): QueryBalanceResponseAminoMsg { - return { - type: "cosmos-sdk/QueryBalanceResponse", - value: QueryBalanceResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryBalanceResponseProtoMsg): QueryBalanceResponse { - return QueryBalanceResponse.decode(message.value); - }, - toProto(message: QueryBalanceResponse): Uint8Array { - return QueryBalanceResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryBalanceResponse): QueryBalanceResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryBalanceResponse", - value: QueryBalanceResponse.encode(message).finish() - }; - } -}; -function createBaseQueryOwnerRequest(): QueryOwnerRequest { - return { - classId: "", - id: "" - }; -} -export const QueryOwnerRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerRequest", - aminoType: "cosmos-sdk/QueryOwnerRequest", - encode(message: QueryOwnerRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryOwnerRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryOwnerRequest { - const obj = createBaseQueryOwnerRequest(); - if (isSet(object.classId)) obj.classId = String(object.classId); - if (isSet(object.id)) obj.id = String(object.id); - return obj; - }, - toJSON(message: QueryOwnerRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - return obj; - }, - fromPartial(object: DeepPartial): QueryOwnerRequest { - const message = createBaseQueryOwnerRequest(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - return message; - }, - fromSDK(object: QueryOwnerRequestSDKType): QueryOwnerRequest { - return { - classId: object?.class_id, - id: object?.id - }; - }, - toSDK(message: QueryOwnerRequest): QueryOwnerRequestSDKType { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - return obj; - }, - fromAmino(object: QueryOwnerRequestAmino): QueryOwnerRequest { - return { - classId: object.class_id, - id: object.id - }; - }, - toAmino(message: QueryOwnerRequest): QueryOwnerRequestAmino { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - return obj; - }, - fromAminoMsg(object: QueryOwnerRequestAminoMsg): QueryOwnerRequest { - return QueryOwnerRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryOwnerRequest): QueryOwnerRequestAminoMsg { - return { - type: "cosmos-sdk/QueryOwnerRequest", - value: QueryOwnerRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryOwnerRequestProtoMsg): QueryOwnerRequest { - return QueryOwnerRequest.decode(message.value); - }, - toProto(message: QueryOwnerRequest): Uint8Array { - return QueryOwnerRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryOwnerRequest): QueryOwnerRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerRequest", - value: QueryOwnerRequest.encode(message).finish() - }; - } -}; -function createBaseQueryOwnerResponse(): QueryOwnerResponse { - return { - owner: "" - }; -} -export const QueryOwnerResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerResponse", - aminoType: "cosmos-sdk/QueryOwnerResponse", - encode(message: QueryOwnerResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.owner !== "") { - writer.uint32(10).string(message.owner); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryOwnerResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.owner = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryOwnerResponse { - const obj = createBaseQueryOwnerResponse(); - if (isSet(object.owner)) obj.owner = String(object.owner); - return obj; - }, - toJSON(message: QueryOwnerResponse): unknown { - const obj: any = {}; - message.owner !== undefined && (obj.owner = message.owner); - return obj; - }, - fromPartial(object: DeepPartial): QueryOwnerResponse { - const message = createBaseQueryOwnerResponse(); - message.owner = object.owner ?? ""; - return message; - }, - fromSDK(object: QueryOwnerResponseSDKType): QueryOwnerResponse { - return { - owner: object?.owner - }; - }, - toSDK(message: QueryOwnerResponse): QueryOwnerResponseSDKType { - const obj: any = {}; - obj.owner = message.owner; - return obj; - }, - fromAmino(object: QueryOwnerResponseAmino): QueryOwnerResponse { - return { - owner: object.owner - }; - }, - toAmino(message: QueryOwnerResponse): QueryOwnerResponseAmino { - const obj: any = {}; - obj.owner = message.owner; - return obj; - }, - fromAminoMsg(object: QueryOwnerResponseAminoMsg): QueryOwnerResponse { - return QueryOwnerResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryOwnerResponse): QueryOwnerResponseAminoMsg { - return { - type: "cosmos-sdk/QueryOwnerResponse", - value: QueryOwnerResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryOwnerResponseProtoMsg): QueryOwnerResponse { - return QueryOwnerResponse.decode(message.value); - }, - toProto(message: QueryOwnerResponse): Uint8Array { - return QueryOwnerResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryOwnerResponse): QueryOwnerResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryOwnerResponse", - value: QueryOwnerResponse.encode(message).finish() - }; - } -}; -function createBaseQuerySupplyRequest(): QuerySupplyRequest { - return { - classId: "" - }; -} -export const QuerySupplyRequest = { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyRequest", - aminoType: "cosmos-sdk/QuerySupplyRequest", - encode(message: QuerySupplyRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySupplyRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySupplyRequest { - const obj = createBaseQuerySupplyRequest(); - if (isSet(object.classId)) obj.classId = String(object.classId); - return obj; - }, - toJSON(message: QuerySupplyRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, - fromPartial(object: DeepPartial): QuerySupplyRequest { - const message = createBaseQuerySupplyRequest(); - message.classId = object.classId ?? ""; - return message; - }, - fromSDK(object: QuerySupplyRequestSDKType): QuerySupplyRequest { - return { - classId: object?.class_id - }; - }, - toSDK(message: QuerySupplyRequest): QuerySupplyRequestSDKType { - const obj: any = {}; - obj.class_id = message.classId; - return obj; - }, - fromAmino(object: QuerySupplyRequestAmino): QuerySupplyRequest { - return { - classId: object.class_id - }; - }, - toAmino(message: QuerySupplyRequest): QuerySupplyRequestAmino { - const obj: any = {}; - obj.class_id = message.classId; - return obj; - }, - fromAminoMsg(object: QuerySupplyRequestAminoMsg): QuerySupplyRequest { - return QuerySupplyRequest.fromAmino(object.value); - }, - toAminoMsg(message: QuerySupplyRequest): QuerySupplyRequestAminoMsg { - return { - type: "cosmos-sdk/QuerySupplyRequest", - value: QuerySupplyRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySupplyRequestProtoMsg): QuerySupplyRequest { - return QuerySupplyRequest.decode(message.value); - }, - toProto(message: QuerySupplyRequest): Uint8Array { - return QuerySupplyRequest.encode(message).finish(); - }, - toProtoMsg(message: QuerySupplyRequest): QuerySupplyRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyRequest", - value: QuerySupplyRequest.encode(message).finish() - }; - } -}; -function createBaseQuerySupplyResponse(): QuerySupplyResponse { - return { - amount: Long.UZERO - }; -} -export const QuerySupplyResponse = { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyResponse", - aminoType: "cosmos-sdk/QuerySupplyResponse", - encode(message: QuerySupplyResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.amount.isZero()) { - writer.uint32(8).uint64(message.amount); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySupplyResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.amount = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySupplyResponse { - const obj = createBaseQuerySupplyResponse(); - if (isSet(object.amount)) obj.amount = Long.fromValue(object.amount); - return obj; - }, - toJSON(message: QuerySupplyResponse): unknown { - const obj: any = {}; - message.amount !== undefined && (obj.amount = (message.amount || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QuerySupplyResponse { - const message = createBaseQuerySupplyResponse(); - if (object.amount !== undefined && object.amount !== null) { - message.amount = Long.fromValue(object.amount); - } - return message; - }, - fromSDK(object: QuerySupplyResponseSDKType): QuerySupplyResponse { - return { - amount: object?.amount - }; - }, - toSDK(message: QuerySupplyResponse): QuerySupplyResponseSDKType { - const obj: any = {}; - obj.amount = message.amount; - return obj; - }, - fromAmino(object: QuerySupplyResponseAmino): QuerySupplyResponse { - return { - amount: Long.fromString(object.amount) - }; - }, - toAmino(message: QuerySupplyResponse): QuerySupplyResponseAmino { - const obj: any = {}; - obj.amount = message.amount ? message.amount.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QuerySupplyResponseAminoMsg): QuerySupplyResponse { - return QuerySupplyResponse.fromAmino(object.value); - }, - toAminoMsg(message: QuerySupplyResponse): QuerySupplyResponseAminoMsg { - return { - type: "cosmos-sdk/QuerySupplyResponse", - value: QuerySupplyResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySupplyResponseProtoMsg): QuerySupplyResponse { - return QuerySupplyResponse.decode(message.value); - }, - toProto(message: QuerySupplyResponse): Uint8Array { - return QuerySupplyResponse.encode(message).finish(); - }, - toProtoMsg(message: QuerySupplyResponse): QuerySupplyResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QuerySupplyResponse", - value: QuerySupplyResponse.encode(message).finish() - }; - } -}; -function createBaseQueryNFTsRequest(): QueryNFTsRequest { - return { - classId: "", - owner: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryNFTsRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsRequest", - aminoType: "cosmos-sdk/QueryNFTsRequest", - encode(message: QueryNFTsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.owner !== "") { - writer.uint32(18).string(message.owner); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryNFTsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.owner = reader.string(); - break; - case 3: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryNFTsRequest { - const obj = createBaseQueryNFTsRequest(); - if (isSet(object.classId)) obj.classId = String(object.classId); - if (isSet(object.owner)) obj.owner = String(object.owner); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryNFTsRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.owner !== undefined && (obj.owner = message.owner); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryNFTsRequest { - const message = createBaseQueryNFTsRequest(); - message.classId = object.classId ?? ""; - message.owner = object.owner ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryNFTsRequestSDKType): QueryNFTsRequest { - return { - classId: object?.class_id, - owner: object?.owner, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryNFTsRequest): QueryNFTsRequestSDKType { - const obj: any = {}; - obj.class_id = message.classId; - obj.owner = message.owner; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryNFTsRequestAmino): QueryNFTsRequest { - return { - classId: object.class_id, - owner: object.owner, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryNFTsRequest): QueryNFTsRequestAmino { - const obj: any = {}; - obj.class_id = message.classId; - obj.owner = message.owner; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryNFTsRequestAminoMsg): QueryNFTsRequest { - return QueryNFTsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryNFTsRequest): QueryNFTsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryNFTsRequest", - value: QueryNFTsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryNFTsRequestProtoMsg): QueryNFTsRequest { - return QueryNFTsRequest.decode(message.value); - }, - toProto(message: QueryNFTsRequest): Uint8Array { - return QueryNFTsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryNFTsRequest): QueryNFTsRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsRequest", - value: QueryNFTsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryNFTsResponse(): QueryNFTsResponse { - return { - nfts: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryNFTsResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsResponse", - aminoType: "cosmos-sdk/QueryNFTsResponse", - encode(message: QueryNFTsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.nfts) { - NFT.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryNFTsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.nfts.push(NFT.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryNFTsResponse { - const obj = createBaseQueryNFTsResponse(); - if (Array.isArray(object?.nfts)) obj.nfts = object.nfts.map((e: any) => NFT.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryNFTsResponse): unknown { - const obj: any = {}; - if (message.nfts) { - obj.nfts = message.nfts.map(e => e ? NFT.toJSON(e) : undefined); - } else { - obj.nfts = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryNFTsResponse { - const message = createBaseQueryNFTsResponse(); - message.nfts = object.nfts?.map(e => NFT.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryNFTsResponseSDKType): QueryNFTsResponse { - return { - nfts: Array.isArray(object?.nfts) ? object.nfts.map((e: any) => NFT.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryNFTsResponse): QueryNFTsResponseSDKType { - const obj: any = {}; - if (message.nfts) { - obj.nfts = message.nfts.map(e => e ? NFT.toSDK(e) : undefined); - } else { - obj.nfts = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryNFTsResponseAmino): QueryNFTsResponse { - return { - nfts: Array.isArray(object?.nfts) ? object.nfts.map((e: any) => NFT.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryNFTsResponse): QueryNFTsResponseAmino { - const obj: any = {}; - if (message.nfts) { - obj.nfts = message.nfts.map(e => e ? NFT.toAmino(e) : undefined); - } else { - obj.nfts = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryNFTsResponseAminoMsg): QueryNFTsResponse { - return QueryNFTsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryNFTsResponse): QueryNFTsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryNFTsResponse", - value: QueryNFTsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryNFTsResponseProtoMsg): QueryNFTsResponse { - return QueryNFTsResponse.decode(message.value); - }, - toProto(message: QueryNFTsResponse): Uint8Array { - return QueryNFTsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryNFTsResponse): QueryNFTsResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTsResponse", - value: QueryNFTsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryNFTRequest(): QueryNFTRequest { - return { - classId: "", - id: "" - }; -} -export const QueryNFTRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTRequest", - aminoType: "cosmos-sdk/QueryNFTRequest", - encode(message: QueryNFTRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryNFTRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryNFTRequest { - const obj = createBaseQueryNFTRequest(); - if (isSet(object.classId)) obj.classId = String(object.classId); - if (isSet(object.id)) obj.id = String(object.id); - return obj; - }, - toJSON(message: QueryNFTRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - return obj; - }, - fromPartial(object: DeepPartial): QueryNFTRequest { - const message = createBaseQueryNFTRequest(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - return message; - }, - fromSDK(object: QueryNFTRequestSDKType): QueryNFTRequest { - return { - classId: object?.class_id, - id: object?.id - }; - }, - toSDK(message: QueryNFTRequest): QueryNFTRequestSDKType { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - return obj; - }, - fromAmino(object: QueryNFTRequestAmino): QueryNFTRequest { - return { - classId: object.class_id, - id: object.id - }; - }, - toAmino(message: QueryNFTRequest): QueryNFTRequestAmino { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - return obj; - }, - fromAminoMsg(object: QueryNFTRequestAminoMsg): QueryNFTRequest { - return QueryNFTRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryNFTRequest): QueryNFTRequestAminoMsg { - return { - type: "cosmos-sdk/QueryNFTRequest", - value: QueryNFTRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryNFTRequestProtoMsg): QueryNFTRequest { - return QueryNFTRequest.decode(message.value); - }, - toProto(message: QueryNFTRequest): Uint8Array { - return QueryNFTRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryNFTRequest): QueryNFTRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTRequest", - value: QueryNFTRequest.encode(message).finish() - }; - } -}; -function createBaseQueryNFTResponse(): QueryNFTResponse { - return { - nft: NFT.fromPartial({}) - }; -} -export const QueryNFTResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTResponse", - aminoType: "cosmos-sdk/QueryNFTResponse", - encode(message: QueryNFTResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nft !== undefined) { - NFT.encode(message.nft, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryNFTResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.nft = NFT.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryNFTResponse { - const obj = createBaseQueryNFTResponse(); - if (isSet(object.nft)) obj.nft = NFT.fromJSON(object.nft); - return obj; - }, - toJSON(message: QueryNFTResponse): unknown { - const obj: any = {}; - message.nft !== undefined && (obj.nft = message.nft ? NFT.toJSON(message.nft) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryNFTResponse { - const message = createBaseQueryNFTResponse(); - if (object.nft !== undefined && object.nft !== null) { - message.nft = NFT.fromPartial(object.nft); - } - return message; - }, - fromSDK(object: QueryNFTResponseSDKType): QueryNFTResponse { - return { - nft: object.nft ? NFT.fromSDK(object.nft) : undefined - }; - }, - toSDK(message: QueryNFTResponse): QueryNFTResponseSDKType { - const obj: any = {}; - message.nft !== undefined && (obj.nft = message.nft ? NFT.toSDK(message.nft) : undefined); - return obj; - }, - fromAmino(object: QueryNFTResponseAmino): QueryNFTResponse { - return { - nft: object?.nft ? NFT.fromAmino(object.nft) : undefined - }; - }, - toAmino(message: QueryNFTResponse): QueryNFTResponseAmino { - const obj: any = {}; - obj.nft = message.nft ? NFT.toAmino(message.nft) : undefined; - return obj; - }, - fromAminoMsg(object: QueryNFTResponseAminoMsg): QueryNFTResponse { - return QueryNFTResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryNFTResponse): QueryNFTResponseAminoMsg { - return { - type: "cosmos-sdk/QueryNFTResponse", - value: QueryNFTResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryNFTResponseProtoMsg): QueryNFTResponse { - return QueryNFTResponse.decode(message.value); - }, - toProto(message: QueryNFTResponse): Uint8Array { - return QueryNFTResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryNFTResponse): QueryNFTResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryNFTResponse", - value: QueryNFTResponse.encode(message).finish() - }; - } -}; -function createBaseQueryClassRequest(): QueryClassRequest { - return { - classId: "" - }; -} -export const QueryClassRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryClassRequest", - aminoType: "cosmos-sdk/QueryClassRequest", - encode(message: QueryClassRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClassRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryClassRequest { - const obj = createBaseQueryClassRequest(); - if (isSet(object.classId)) obj.classId = String(object.classId); - return obj; - }, - toJSON(message: QueryClassRequest): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - return obj; - }, - fromPartial(object: DeepPartial): QueryClassRequest { - const message = createBaseQueryClassRequest(); - message.classId = object.classId ?? ""; - return message; - }, - fromSDK(object: QueryClassRequestSDKType): QueryClassRequest { - return { - classId: object?.class_id - }; - }, - toSDK(message: QueryClassRequest): QueryClassRequestSDKType { - const obj: any = {}; - obj.class_id = message.classId; - return obj; - }, - fromAmino(object: QueryClassRequestAmino): QueryClassRequest { - return { - classId: object.class_id - }; - }, - toAmino(message: QueryClassRequest): QueryClassRequestAmino { - const obj: any = {}; - obj.class_id = message.classId; - return obj; - }, - fromAminoMsg(object: QueryClassRequestAminoMsg): QueryClassRequest { - return QueryClassRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryClassRequest): QueryClassRequestAminoMsg { - return { - type: "cosmos-sdk/QueryClassRequest", - value: QueryClassRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryClassRequestProtoMsg): QueryClassRequest { - return QueryClassRequest.decode(message.value); - }, - toProto(message: QueryClassRequest): Uint8Array { - return QueryClassRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryClassRequest): QueryClassRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryClassRequest", - value: QueryClassRequest.encode(message).finish() - }; - } -}; -function createBaseQueryClassResponse(): QueryClassResponse { - return { - class: Class.fromPartial({}) - }; -} -export const QueryClassResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryClassResponse", - aminoType: "cosmos-sdk/QueryClassResponse", - encode(message: QueryClassResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.class !== undefined) { - Class.encode(message.class, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClassResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.class = Class.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryClassResponse { - const obj = createBaseQueryClassResponse(); - if (isSet(object.class)) obj.class = Class.fromJSON(object.class); - return obj; - }, - toJSON(message: QueryClassResponse): unknown { - const obj: any = {}; - message.class !== undefined && (obj.class = message.class ? Class.toJSON(message.class) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryClassResponse { - const message = createBaseQueryClassResponse(); - if (object.class !== undefined && object.class !== null) { - message.class = Class.fromPartial(object.class); - } - return message; - }, - fromSDK(object: QueryClassResponseSDKType): QueryClassResponse { - return { - class: object.class ? Class.fromSDK(object.class) : undefined - }; - }, - toSDK(message: QueryClassResponse): QueryClassResponseSDKType { - const obj: any = {}; - message.class !== undefined && (obj.class = message.class ? Class.toSDK(message.class) : undefined); - return obj; - }, - fromAmino(object: QueryClassResponseAmino): QueryClassResponse { - return { - class: object?.class ? Class.fromAmino(object.class) : undefined - }; - }, - toAmino(message: QueryClassResponse): QueryClassResponseAmino { - const obj: any = {}; - obj.class = message.class ? Class.toAmino(message.class) : undefined; - return obj; - }, - fromAminoMsg(object: QueryClassResponseAminoMsg): QueryClassResponse { - return QueryClassResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryClassResponse): QueryClassResponseAminoMsg { - return { - type: "cosmos-sdk/QueryClassResponse", - value: QueryClassResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryClassResponseProtoMsg): QueryClassResponse { - return QueryClassResponse.decode(message.value); - }, - toProto(message: QueryClassResponse): Uint8Array { - return QueryClassResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryClassResponse): QueryClassResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryClassResponse", - value: QueryClassResponse.encode(message).finish() - }; - } -}; -function createBaseQueryClassesRequest(): QueryClassesRequest { - return { - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryClassesRequest = { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesRequest", - aminoType: "cosmos-sdk/QueryClassesRequest", - encode(message: QueryClassesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClassesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryClassesRequest { - const obj = createBaseQueryClassesRequest(); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryClassesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryClassesRequest { - const message = createBaseQueryClassesRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryClassesRequestSDKType): QueryClassesRequest { - return { - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryClassesRequest): QueryClassesRequestSDKType { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryClassesRequestAmino): QueryClassesRequest { - return { - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryClassesRequest): QueryClassesRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryClassesRequestAminoMsg): QueryClassesRequest { - return QueryClassesRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryClassesRequest): QueryClassesRequestAminoMsg { - return { - type: "cosmos-sdk/QueryClassesRequest", - value: QueryClassesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryClassesRequestProtoMsg): QueryClassesRequest { - return QueryClassesRequest.decode(message.value); - }, - toProto(message: QueryClassesRequest): Uint8Array { - return QueryClassesRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryClassesRequest): QueryClassesRequestProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesRequest", - value: QueryClassesRequest.encode(message).finish() - }; - } -}; -function createBaseQueryClassesResponse(): QueryClassesResponse { - return { - classes: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryClassesResponse = { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesResponse", - aminoType: "cosmos-sdk/QueryClassesResponse", - encode(message: QueryClassesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.classes) { - Class.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryClassesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classes.push(Class.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryClassesResponse { - const obj = createBaseQueryClassesResponse(); - if (Array.isArray(object?.classes)) obj.classes = object.classes.map((e: any) => Class.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryClassesResponse): unknown { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? Class.toJSON(e) : undefined); - } else { - obj.classes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryClassesResponse { - const message = createBaseQueryClassesResponse(); - message.classes = object.classes?.map(e => Class.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryClassesResponseSDKType): QueryClassesResponse { - return { - classes: Array.isArray(object?.classes) ? object.classes.map((e: any) => Class.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryClassesResponse): QueryClassesResponseSDKType { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? Class.toSDK(e) : undefined); - } else { - obj.classes = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryClassesResponseAmino): QueryClassesResponse { - return { - classes: Array.isArray(object?.classes) ? object.classes.map((e: any) => Class.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryClassesResponse): QueryClassesResponseAmino { - const obj: any = {}; - if (message.classes) { - obj.classes = message.classes.map(e => e ? Class.toAmino(e) : undefined); - } else { - obj.classes = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryClassesResponseAminoMsg): QueryClassesResponse { - return QueryClassesResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryClassesResponse): QueryClassesResponseAminoMsg { - return { - type: "cosmos-sdk/QueryClassesResponse", - value: QueryClassesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryClassesResponseProtoMsg): QueryClassesResponse { - return QueryClassesResponse.decode(message.value); - }, - toProto(message: QueryClassesResponse): Uint8Array { - return QueryClassesResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryClassesResponse): QueryClassesResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.QueryClassesResponse", - value: QueryClassesResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.amino.ts deleted file mode 100644 index 440fa6565..000000000 --- a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgSend, MsgSendSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.nft.v1beta1.MsgSend": { - aminoType: "cosmos-sdk/MsgNFTSend", - toAmino: MsgSend.toAmino, - fromAmino: MsgSend.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.registry.ts deleted file mode 100644 index 49958a4bc..000000000 --- a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSend, MsgSendSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.nft.v1beta1.MsgSend", MsgSend]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value: MsgSend.encode(value).finish() - }; - } - }, - withTypeUrl: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value - }; - } - }, - toJSON: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value: MsgSend.toJSON(value) - }; - } - }, - fromJSON: { - send(value: any) { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value: MsgSend.fromJSON(value) - }; - } - }, - fromPartial: { - send(value: MsgSend) { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value: MsgSend.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index cf6813552..000000000 --- a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,12 +0,0 @@ -import * as fm from "../../../grpc-gateway"; -import { MsgSend, MsgSendSDKType, MsgSendResponse, MsgSendResponseSDKType } from "./tx"; -export class Msg { - /** Send defines a method to send a nft from one account to another account. */ - static send(request: MsgSend, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.nft.v1beta1/send`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.ts deleted file mode 100644 index f6a492ebe..000000000 --- a/quicksilverjs/src/codegen/cosmos/nft/v1beta1/tx.ts +++ /dev/null @@ -1,255 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.nft.v1beta1"; -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSend { - /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */ - classId: string; - /** id defines the unique identification of nft */ - id: string; - /** sender is the address of the owner of nft */ - sender: string; - /** receiver is the receiver address of nft */ - receiver: string; -} -export interface MsgSendProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.MsgSend"; - value: Uint8Array; -} -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSendAmino { - /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */ - class_id: string; - /** id defines the unique identification of nft */ - id: string; - /** sender is the address of the owner of nft */ - sender: string; - /** receiver is the receiver address of nft */ - receiver: string; -} -export interface MsgSendAminoMsg { - type: "cosmos-sdk/MsgNFTSend"; - value: MsgSendAmino; -} -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSendSDKType { - class_id: string; - id: string; - sender: string; - receiver: string; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponse {} -export interface MsgSendResponseProtoMsg { - typeUrl: "/cosmos.nft.v1beta1.MsgSendResponse"; - value: Uint8Array; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseAmino {} -export interface MsgSendResponseAminoMsg { - type: "cosmos-sdk/MsgSendResponse"; - value: MsgSendResponseAmino; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseSDKType {} -function createBaseMsgSend(): MsgSend { - return { - classId: "", - id: "", - sender: "", - receiver: "" - }; -} -export const MsgSend = { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - aminoType: "cosmos-sdk/MsgNFTSend", - encode(message: MsgSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.classId !== "") { - writer.uint32(10).string(message.classId); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - if (message.sender !== "") { - writer.uint32(26).string(message.sender); - } - if (message.receiver !== "") { - writer.uint32(34).string(message.receiver); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSend(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.classId = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - case 3: - message.sender = reader.string(); - break; - case 4: - message.receiver = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSend { - const obj = createBaseMsgSend(); - if (isSet(object.classId)) obj.classId = String(object.classId); - if (isSet(object.id)) obj.id = String(object.id); - if (isSet(object.sender)) obj.sender = String(object.sender); - if (isSet(object.receiver)) obj.receiver = String(object.receiver); - return obj; - }, - toJSON(message: MsgSend): unknown { - const obj: any = {}; - message.classId !== undefined && (obj.classId = message.classId); - message.id !== undefined && (obj.id = message.id); - message.sender !== undefined && (obj.sender = message.sender); - message.receiver !== undefined && (obj.receiver = message.receiver); - return obj; - }, - fromPartial(object: DeepPartial): MsgSend { - const message = createBaseMsgSend(); - message.classId = object.classId ?? ""; - message.id = object.id ?? ""; - message.sender = object.sender ?? ""; - message.receiver = object.receiver ?? ""; - return message; - }, - fromSDK(object: MsgSendSDKType): MsgSend { - return { - classId: object?.class_id, - id: object?.id, - sender: object?.sender, - receiver: object?.receiver - }; - }, - toSDK(message: MsgSend): MsgSendSDKType { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - obj.sender = message.sender; - obj.receiver = message.receiver; - return obj; - }, - fromAmino(object: MsgSendAmino): MsgSend { - return { - classId: object.class_id, - id: object.id, - sender: object.sender, - receiver: object.receiver - }; - }, - toAmino(message: MsgSend): MsgSendAmino { - const obj: any = {}; - obj.class_id = message.classId; - obj.id = message.id; - obj.sender = message.sender; - obj.receiver = message.receiver; - return obj; - }, - fromAminoMsg(object: MsgSendAminoMsg): MsgSend { - return MsgSend.fromAmino(object.value); - }, - toAminoMsg(message: MsgSend): MsgSendAminoMsg { - return { - type: "cosmos-sdk/MsgNFTSend", - value: MsgSend.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSendProtoMsg): MsgSend { - return MsgSend.decode(message.value); - }, - toProto(message: MsgSend): Uint8Array { - return MsgSend.encode(message).finish(); - }, - toProtoMsg(message: MsgSend): MsgSendProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSend", - value: MsgSend.encode(message).finish() - }; - } -}; -function createBaseMsgSendResponse(): MsgSendResponse { - return {}; -} -export const MsgSendResponse = { - typeUrl: "/cosmos.nft.v1beta1.MsgSendResponse", - aminoType: "cosmos-sdk/MsgSendResponse", - encode(_: MsgSendResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSendResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgSendResponse { - const obj = createBaseMsgSendResponse(); - return obj; - }, - toJSON(_: MsgSendResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgSendResponse { - const message = createBaseMsgSendResponse(); - return message; - }, - fromSDK(_: MsgSendResponseSDKType): MsgSendResponse { - return {}; - }, - toSDK(_: MsgSendResponse): MsgSendResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgSendResponseAmino): MsgSendResponse { - return {}; - }, - toAmino(_: MsgSendResponse): MsgSendResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgSendResponseAminoMsg): MsgSendResponse { - return MsgSendResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgSendResponse): MsgSendResponseAminoMsg { - return { - type: "cosmos-sdk/MsgSendResponse", - value: MsgSendResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSendResponseProtoMsg): MsgSendResponse { - return MsgSendResponse.decode(message.value); - }, - toProto(message: MsgSendResponse): Uint8Array { - return MsgSendResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgSendResponse): MsgSendResponseProtoMsg { - return { - typeUrl: "/cosmos.nft.v1beta1.MsgSendResponse", - value: MsgSendResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/orm/v1/orm.ts b/quicksilverjs/src/codegen/cosmos/orm/v1/orm.ts deleted file mode 100644 index 3864c3b75..000000000 --- a/quicksilverjs/src/codegen/cosmos/orm/v1/orm.ts +++ /dev/null @@ -1,666 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.orm.v1"; -/** TableDescriptor describes an ORM table. */ -export interface TableDescriptor { - /** primary_key defines the primary key for the table. */ - primaryKey: PrimaryKeyDescriptor; - /** index defines one or more secondary indexes. */ - index: SecondaryIndexDescriptor[]; - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -export interface TableDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.TableDescriptor"; - value: Uint8Array; -} -/** TableDescriptor describes an ORM table. */ -export interface TableDescriptorAmino { - /** primary_key defines the primary key for the table. */ - primary_key?: PrimaryKeyDescriptorAmino; - /** index defines one or more secondary indexes. */ - index: SecondaryIndexDescriptorAmino[]; - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -export interface TableDescriptorAminoMsg { - type: "cosmos-sdk/TableDescriptor"; - value: TableDescriptorAmino; -} -/** TableDescriptor describes an ORM table. */ -export interface TableDescriptorSDKType { - primary_key: PrimaryKeyDescriptorSDKType; - index: SecondaryIndexDescriptorSDKType[]; - id: number; -} -/** PrimaryKeyDescriptor describes a table primary key. */ -export interface PrimaryKeyDescriptor { - /** - * fields is a comma-separated list of fields in the primary key. Spaces are - * not allowed. Supported field types, their encodings, and any applicable constraints - * are described below. - * - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers. - * - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers such as auto-incrementing sequences. - * - fixed32, fixed64 are encoded as big-endian fixed width bytes and support - * sorted iteration. These types are well-suited for encoding fixed with - * decimals as integers. - * - string's are encoded as raw bytes in terminal key segments and null-terminated - * in non-terminal segments. Null characters are thus forbidden in strings. - * string fields support sorted iteration. - * - bytes are encoded as raw bytes in terminal segments and length-prefixed - * with a 32-bit unsigned varint in non-terminal segments. - * - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with - * an encoding that enables sorted iteration. - * - google.protobuf.Timestamp and google.protobuf.Duration are encoded - * as 12 bytes using an encoding that enables sorted iteration. - * - enum fields are encoded using varint encoding and do not support sorted - * iteration. - * - bool fields are encoded as a single byte 0 or 1. - * - * All other fields types are unsupported in keys including repeated and - * oneof fields. - * - * Primary keys are prefixed by the varint encoded table id and the byte 0x0 - * plus any additional prefix specified by the schema. - */ - fields: string; - /** - * auto_increment specifies that the primary key is generated by an - * auto-incrementing integer. If this is set to true fields must only - * contain one field of that is of type uint64. - */ - autoIncrement: boolean; -} -export interface PrimaryKeyDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.PrimaryKeyDescriptor"; - value: Uint8Array; -} -/** PrimaryKeyDescriptor describes a table primary key. */ -export interface PrimaryKeyDescriptorAmino { - /** - * fields is a comma-separated list of fields in the primary key. Spaces are - * not allowed. Supported field types, their encodings, and any applicable constraints - * are described below. - * - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers. - * - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers such as auto-incrementing sequences. - * - fixed32, fixed64 are encoded as big-endian fixed width bytes and support - * sorted iteration. These types are well-suited for encoding fixed with - * decimals as integers. - * - string's are encoded as raw bytes in terminal key segments and null-terminated - * in non-terminal segments. Null characters are thus forbidden in strings. - * string fields support sorted iteration. - * - bytes are encoded as raw bytes in terminal segments and length-prefixed - * with a 32-bit unsigned varint in non-terminal segments. - * - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with - * an encoding that enables sorted iteration. - * - google.protobuf.Timestamp and google.protobuf.Duration are encoded - * as 12 bytes using an encoding that enables sorted iteration. - * - enum fields are encoded using varint encoding and do not support sorted - * iteration. - * - bool fields are encoded as a single byte 0 or 1. - * - * All other fields types are unsupported in keys including repeated and - * oneof fields. - * - * Primary keys are prefixed by the varint encoded table id and the byte 0x0 - * plus any additional prefix specified by the schema. - */ - fields: string; - /** - * auto_increment specifies that the primary key is generated by an - * auto-incrementing integer. If this is set to true fields must only - * contain one field of that is of type uint64. - */ - auto_increment: boolean; -} -export interface PrimaryKeyDescriptorAminoMsg { - type: "cosmos-sdk/PrimaryKeyDescriptor"; - value: PrimaryKeyDescriptorAmino; -} -/** PrimaryKeyDescriptor describes a table primary key. */ -export interface PrimaryKeyDescriptorSDKType { - fields: string; - auto_increment: boolean; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ -export interface SecondaryIndexDescriptor { - /** - * fields is a comma-separated list of fields in the index. The supported - * field types are the same as those for PrimaryKeyDescriptor.fields. - * Index keys are prefixed by the varint encoded table id and the varint - * encoded index id plus any additional prefix specified by the schema. - * - * In addition the field segments, non-unique index keys are suffixed with - * any additional primary key fields not present in the index fields so that the - * primary key can be reconstructed. Unique indexes instead of being suffixed - * store the remaining primary key fields in the value.. - */ - fields: string; - /** - * id is a non-zero integer ID that must be unique within the indexes for this - * table and less than 32768. It may be deprecated in the future when this can - * be auto-generated. - */ - id: number; - /** unique specifies that this an unique index. */ - unique: boolean; -} -export interface SecondaryIndexDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.SecondaryIndexDescriptor"; - value: Uint8Array; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ -export interface SecondaryIndexDescriptorAmino { - /** - * fields is a comma-separated list of fields in the index. The supported - * field types are the same as those for PrimaryKeyDescriptor.fields. - * Index keys are prefixed by the varint encoded table id and the varint - * encoded index id plus any additional prefix specified by the schema. - * - * In addition the field segments, non-unique index keys are suffixed with - * any additional primary key fields not present in the index fields so that the - * primary key can be reconstructed. Unique indexes instead of being suffixed - * store the remaining primary key fields in the value.. - */ - fields: string; - /** - * id is a non-zero integer ID that must be unique within the indexes for this - * table and less than 32768. It may be deprecated in the future when this can - * be auto-generated. - */ - id: number; - /** unique specifies that this an unique index. */ - unique: boolean; -} -export interface SecondaryIndexDescriptorAminoMsg { - type: "cosmos-sdk/SecondaryIndexDescriptor"; - value: SecondaryIndexDescriptorAmino; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ -export interface SecondaryIndexDescriptorSDKType { - fields: string; - id: number; - unique: boolean; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ -export interface SingletonDescriptor { - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -export interface SingletonDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1.SingletonDescriptor"; - value: Uint8Array; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ -export interface SingletonDescriptorAmino { - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -export interface SingletonDescriptorAminoMsg { - type: "cosmos-sdk/SingletonDescriptor"; - value: SingletonDescriptorAmino; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ -export interface SingletonDescriptorSDKType { - id: number; -} -function createBaseTableDescriptor(): TableDescriptor { - return { - primaryKey: PrimaryKeyDescriptor.fromPartial({}), - index: [], - id: 0 - }; -} -export const TableDescriptor = { - typeUrl: "/cosmos.orm.v1.TableDescriptor", - aminoType: "cosmos-sdk/TableDescriptor", - encode(message: TableDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.primaryKey !== undefined) { - PrimaryKeyDescriptor.encode(message.primaryKey, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.index) { - SecondaryIndexDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.id !== 0) { - writer.uint32(24).uint32(message.id); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TableDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTableDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.primaryKey = PrimaryKeyDescriptor.decode(reader, reader.uint32()); - break; - case 2: - message.index.push(SecondaryIndexDescriptor.decode(reader, reader.uint32())); - break; - case 3: - message.id = reader.uint32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TableDescriptor { - const obj = createBaseTableDescriptor(); - if (isSet(object.primaryKey)) obj.primaryKey = PrimaryKeyDescriptor.fromJSON(object.primaryKey); - if (Array.isArray(object?.index)) obj.index = object.index.map((e: any) => SecondaryIndexDescriptor.fromJSON(e)); - if (isSet(object.id)) obj.id = Number(object.id); - return obj; - }, - toJSON(message: TableDescriptor): unknown { - const obj: any = {}; - message.primaryKey !== undefined && (obj.primaryKey = message.primaryKey ? PrimaryKeyDescriptor.toJSON(message.primaryKey) : undefined); - if (message.index) { - obj.index = message.index.map(e => e ? SecondaryIndexDescriptor.toJSON(e) : undefined); - } else { - obj.index = []; - } - message.id !== undefined && (obj.id = Math.round(message.id)); - return obj; - }, - fromPartial(object: DeepPartial): TableDescriptor { - const message = createBaseTableDescriptor(); - if (object.primaryKey !== undefined && object.primaryKey !== null) { - message.primaryKey = PrimaryKeyDescriptor.fromPartial(object.primaryKey); - } - message.index = object.index?.map(e => SecondaryIndexDescriptor.fromPartial(e)) || []; - message.id = object.id ?? 0; - return message; - }, - fromSDK(object: TableDescriptorSDKType): TableDescriptor { - return { - primaryKey: object.primary_key ? PrimaryKeyDescriptor.fromSDK(object.primary_key) : undefined, - index: Array.isArray(object?.index) ? object.index.map((e: any) => SecondaryIndexDescriptor.fromSDK(e)) : [], - id: object?.id - }; - }, - toSDK(message: TableDescriptor): TableDescriptorSDKType { - const obj: any = {}; - message.primaryKey !== undefined && (obj.primary_key = message.primaryKey ? PrimaryKeyDescriptor.toSDK(message.primaryKey) : undefined); - if (message.index) { - obj.index = message.index.map(e => e ? SecondaryIndexDescriptor.toSDK(e) : undefined); - } else { - obj.index = []; - } - obj.id = message.id; - return obj; - }, - fromAmino(object: TableDescriptorAmino): TableDescriptor { - return { - primaryKey: object?.primary_key ? PrimaryKeyDescriptor.fromAmino(object.primary_key) : undefined, - index: Array.isArray(object?.index) ? object.index.map((e: any) => SecondaryIndexDescriptor.fromAmino(e)) : [], - id: object.id - }; - }, - toAmino(message: TableDescriptor): TableDescriptorAmino { - const obj: any = {}; - obj.primary_key = message.primaryKey ? PrimaryKeyDescriptor.toAmino(message.primaryKey) : undefined; - if (message.index) { - obj.index = message.index.map(e => e ? SecondaryIndexDescriptor.toAmino(e) : undefined); - } else { - obj.index = []; - } - obj.id = message.id; - return obj; - }, - fromAminoMsg(object: TableDescriptorAminoMsg): TableDescriptor { - return TableDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: TableDescriptor): TableDescriptorAminoMsg { - return { - type: "cosmos-sdk/TableDescriptor", - value: TableDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: TableDescriptorProtoMsg): TableDescriptor { - return TableDescriptor.decode(message.value); - }, - toProto(message: TableDescriptor): Uint8Array { - return TableDescriptor.encode(message).finish(); - }, - toProtoMsg(message: TableDescriptor): TableDescriptorProtoMsg { - return { - typeUrl: "/cosmos.orm.v1.TableDescriptor", - value: TableDescriptor.encode(message).finish() - }; - } -}; -function createBasePrimaryKeyDescriptor(): PrimaryKeyDescriptor { - return { - fields: "", - autoIncrement: false - }; -} -export const PrimaryKeyDescriptor = { - typeUrl: "/cosmos.orm.v1.PrimaryKeyDescriptor", - aminoType: "cosmos-sdk/PrimaryKeyDescriptor", - encode(message: PrimaryKeyDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fields !== "") { - writer.uint32(10).string(message.fields); - } - if (message.autoIncrement === true) { - writer.uint32(16).bool(message.autoIncrement); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PrimaryKeyDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePrimaryKeyDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fields = reader.string(); - break; - case 2: - message.autoIncrement = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PrimaryKeyDescriptor { - const obj = createBasePrimaryKeyDescriptor(); - if (isSet(object.fields)) obj.fields = String(object.fields); - if (isSet(object.autoIncrement)) obj.autoIncrement = Boolean(object.autoIncrement); - return obj; - }, - toJSON(message: PrimaryKeyDescriptor): unknown { - const obj: any = {}; - message.fields !== undefined && (obj.fields = message.fields); - message.autoIncrement !== undefined && (obj.autoIncrement = message.autoIncrement); - return obj; - }, - fromPartial(object: DeepPartial): PrimaryKeyDescriptor { - const message = createBasePrimaryKeyDescriptor(); - message.fields = object.fields ?? ""; - message.autoIncrement = object.autoIncrement ?? false; - return message; - }, - fromSDK(object: PrimaryKeyDescriptorSDKType): PrimaryKeyDescriptor { - return { - fields: object?.fields, - autoIncrement: object?.auto_increment - }; - }, - toSDK(message: PrimaryKeyDescriptor): PrimaryKeyDescriptorSDKType { - const obj: any = {}; - obj.fields = message.fields; - obj.auto_increment = message.autoIncrement; - return obj; - }, - fromAmino(object: PrimaryKeyDescriptorAmino): PrimaryKeyDescriptor { - return { - fields: object.fields, - autoIncrement: object.auto_increment - }; - }, - toAmino(message: PrimaryKeyDescriptor): PrimaryKeyDescriptorAmino { - const obj: any = {}; - obj.fields = message.fields; - obj.auto_increment = message.autoIncrement; - return obj; - }, - fromAminoMsg(object: PrimaryKeyDescriptorAminoMsg): PrimaryKeyDescriptor { - return PrimaryKeyDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: PrimaryKeyDescriptor): PrimaryKeyDescriptorAminoMsg { - return { - type: "cosmos-sdk/PrimaryKeyDescriptor", - value: PrimaryKeyDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: PrimaryKeyDescriptorProtoMsg): PrimaryKeyDescriptor { - return PrimaryKeyDescriptor.decode(message.value); - }, - toProto(message: PrimaryKeyDescriptor): Uint8Array { - return PrimaryKeyDescriptor.encode(message).finish(); - }, - toProtoMsg(message: PrimaryKeyDescriptor): PrimaryKeyDescriptorProtoMsg { - return { - typeUrl: "/cosmos.orm.v1.PrimaryKeyDescriptor", - value: PrimaryKeyDescriptor.encode(message).finish() - }; - } -}; -function createBaseSecondaryIndexDescriptor(): SecondaryIndexDescriptor { - return { - fields: "", - id: 0, - unique: false - }; -} -export const SecondaryIndexDescriptor = { - typeUrl: "/cosmos.orm.v1.SecondaryIndexDescriptor", - aminoType: "cosmos-sdk/SecondaryIndexDescriptor", - encode(message: SecondaryIndexDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fields !== "") { - writer.uint32(10).string(message.fields); - } - if (message.id !== 0) { - writer.uint32(16).uint32(message.id); - } - if (message.unique === true) { - writer.uint32(24).bool(message.unique); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SecondaryIndexDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSecondaryIndexDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fields = reader.string(); - break; - case 2: - message.id = reader.uint32(); - break; - case 3: - message.unique = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SecondaryIndexDescriptor { - const obj = createBaseSecondaryIndexDescriptor(); - if (isSet(object.fields)) obj.fields = String(object.fields); - if (isSet(object.id)) obj.id = Number(object.id); - if (isSet(object.unique)) obj.unique = Boolean(object.unique); - return obj; - }, - toJSON(message: SecondaryIndexDescriptor): unknown { - const obj: any = {}; - message.fields !== undefined && (obj.fields = message.fields); - message.id !== undefined && (obj.id = Math.round(message.id)); - message.unique !== undefined && (obj.unique = message.unique); - return obj; - }, - fromPartial(object: DeepPartial): SecondaryIndexDescriptor { - const message = createBaseSecondaryIndexDescriptor(); - message.fields = object.fields ?? ""; - message.id = object.id ?? 0; - message.unique = object.unique ?? false; - return message; - }, - fromSDK(object: SecondaryIndexDescriptorSDKType): SecondaryIndexDescriptor { - return { - fields: object?.fields, - id: object?.id, - unique: object?.unique - }; - }, - toSDK(message: SecondaryIndexDescriptor): SecondaryIndexDescriptorSDKType { - const obj: any = {}; - obj.fields = message.fields; - obj.id = message.id; - obj.unique = message.unique; - return obj; - }, - fromAmino(object: SecondaryIndexDescriptorAmino): SecondaryIndexDescriptor { - return { - fields: object.fields, - id: object.id, - unique: object.unique - }; - }, - toAmino(message: SecondaryIndexDescriptor): SecondaryIndexDescriptorAmino { - const obj: any = {}; - obj.fields = message.fields; - obj.id = message.id; - obj.unique = message.unique; - return obj; - }, - fromAminoMsg(object: SecondaryIndexDescriptorAminoMsg): SecondaryIndexDescriptor { - return SecondaryIndexDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: SecondaryIndexDescriptor): SecondaryIndexDescriptorAminoMsg { - return { - type: "cosmos-sdk/SecondaryIndexDescriptor", - value: SecondaryIndexDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: SecondaryIndexDescriptorProtoMsg): SecondaryIndexDescriptor { - return SecondaryIndexDescriptor.decode(message.value); - }, - toProto(message: SecondaryIndexDescriptor): Uint8Array { - return SecondaryIndexDescriptor.encode(message).finish(); - }, - toProtoMsg(message: SecondaryIndexDescriptor): SecondaryIndexDescriptorProtoMsg { - return { - typeUrl: "/cosmos.orm.v1.SecondaryIndexDescriptor", - value: SecondaryIndexDescriptor.encode(message).finish() - }; - } -}; -function createBaseSingletonDescriptor(): SingletonDescriptor { - return { - id: 0 - }; -} -export const SingletonDescriptor = { - typeUrl: "/cosmos.orm.v1.SingletonDescriptor", - aminoType: "cosmos-sdk/SingletonDescriptor", - encode(message: SingletonDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== 0) { - writer.uint32(8).uint32(message.id); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SingletonDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSingletonDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.uint32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SingletonDescriptor { - const obj = createBaseSingletonDescriptor(); - if (isSet(object.id)) obj.id = Number(object.id); - return obj; - }, - toJSON(message: SingletonDescriptor): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = Math.round(message.id)); - return obj; - }, - fromPartial(object: DeepPartial): SingletonDescriptor { - const message = createBaseSingletonDescriptor(); - message.id = object.id ?? 0; - return message; - }, - fromSDK(object: SingletonDescriptorSDKType): SingletonDescriptor { - return { - id: object?.id - }; - }, - toSDK(message: SingletonDescriptor): SingletonDescriptorSDKType { - const obj: any = {}; - obj.id = message.id; - return obj; - }, - fromAmino(object: SingletonDescriptorAmino): SingletonDescriptor { - return { - id: object.id - }; - }, - toAmino(message: SingletonDescriptor): SingletonDescriptorAmino { - const obj: any = {}; - obj.id = message.id; - return obj; - }, - fromAminoMsg(object: SingletonDescriptorAminoMsg): SingletonDescriptor { - return SingletonDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: SingletonDescriptor): SingletonDescriptorAminoMsg { - return { - type: "cosmos-sdk/SingletonDescriptor", - value: SingletonDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: SingletonDescriptorProtoMsg): SingletonDescriptor { - return SingletonDescriptor.decode(message.value); - }, - toProto(message: SingletonDescriptor): Uint8Array { - return SingletonDescriptor.encode(message).finish(); - }, - toProtoMsg(message: SingletonDescriptor): SingletonDescriptorProtoMsg { - return { - typeUrl: "/cosmos.orm.v1.SingletonDescriptor", - value: SingletonDescriptor.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/orm/v1alpha1/schema.ts b/quicksilverjs/src/codegen/cosmos/orm/v1alpha1/schema.ts deleted file mode 100644 index 03abdfa7e..000000000 --- a/quicksilverjs/src/codegen/cosmos/orm/v1alpha1/schema.ts +++ /dev/null @@ -1,403 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.orm.v1alpha1"; -/** StorageType */ -export enum StorageType { - /** - * STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent - * KV-storage where primary key entries are stored in merkle-tree - * backed commitment storage and indexes and seqs are stored in - * fast index storage. Note that the Cosmos SDK before store/v2alpha1 - * does not support this. - */ - STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0, - /** - * STORAGE_TYPE_MEMORY - STORAGE_TYPE_MEMORY indicates in-memory storage that will be - * reloaded every time an app restarts. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_MEMORY = 1, - /** - * STORAGE_TYPE_TRANSIENT - STORAGE_TYPE_TRANSIENT indicates transient storage that is reset - * at the end of every block. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_TRANSIENT = 2, - /** - * STORAGE_TYPE_INDEX - STORAGE_TYPE_INDEX indicates persistent storage which is not backed - * by a merkle-tree and won't affect the app hash. Note that the Cosmos SDK - * before store/v2alpha1 does not support this. - */ - STORAGE_TYPE_INDEX = 3, - /** - * STORAGE_TYPE_COMMITMENT - STORAGE_TYPE_INDEX indicates persistent storage which is backed by - * a merkle-tree. With this type of storage, both primary and index keys - * will affect the app hash and this is generally less efficient - * than using STORAGE_TYPE_DEFAULT_UNSPECIFIED which separates index - * keys into index storage. Note that modules built with the - * Cosmos SDK before store/v2alpha1 must specify STORAGE_TYPE_COMMITMENT - * instead of STORAGE_TYPE_DEFAULT_UNSPECIFIED or STORAGE_TYPE_INDEX - * because this is the only type of persistent storage available. - */ - STORAGE_TYPE_COMMITMENT = 4, - UNRECOGNIZED = -1, -} -export const StorageTypeSDKType = StorageType; -export const StorageTypeAmino = StorageType; -export function storageTypeFromJSON(object: any): StorageType { - switch (object) { - case 0: - case "STORAGE_TYPE_DEFAULT_UNSPECIFIED": - return StorageType.STORAGE_TYPE_DEFAULT_UNSPECIFIED; - case 1: - case "STORAGE_TYPE_MEMORY": - return StorageType.STORAGE_TYPE_MEMORY; - case 2: - case "STORAGE_TYPE_TRANSIENT": - return StorageType.STORAGE_TYPE_TRANSIENT; - case 3: - case "STORAGE_TYPE_INDEX": - return StorageType.STORAGE_TYPE_INDEX; - case 4: - case "STORAGE_TYPE_COMMITMENT": - return StorageType.STORAGE_TYPE_COMMITMENT; - case -1: - case "UNRECOGNIZED": - default: - return StorageType.UNRECOGNIZED; - } -} -export function storageTypeToJSON(object: StorageType): string { - switch (object) { - case StorageType.STORAGE_TYPE_DEFAULT_UNSPECIFIED: - return "STORAGE_TYPE_DEFAULT_UNSPECIFIED"; - case StorageType.STORAGE_TYPE_MEMORY: - return "STORAGE_TYPE_MEMORY"; - case StorageType.STORAGE_TYPE_TRANSIENT: - return "STORAGE_TYPE_TRANSIENT"; - case StorageType.STORAGE_TYPE_INDEX: - return "STORAGE_TYPE_INDEX"; - case StorageType.STORAGE_TYPE_COMMITMENT: - return "STORAGE_TYPE_COMMITMENT"; - case StorageType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptor { - schemaFile: ModuleSchemaDescriptor_FileEntry[]; - /** - * prefix is an optional prefix that precedes all keys in this module's - * store. - */ - prefix: Uint8Array; -} -export interface ModuleSchemaDescriptorProtoMsg { - typeUrl: "/cosmos.orm.v1alpha1.ModuleSchemaDescriptor"; - value: Uint8Array; -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptorAmino { - schema_file: ModuleSchemaDescriptor_FileEntryAmino[]; - /** - * prefix is an optional prefix that precedes all keys in this module's - * store. - */ - prefix: Uint8Array; -} -export interface ModuleSchemaDescriptorAminoMsg { - type: "cosmos-sdk/ModuleSchemaDescriptor"; - value: ModuleSchemaDescriptorAmino; -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptorSDKType { - schema_file: ModuleSchemaDescriptor_FileEntrySDKType[]; - prefix: Uint8Array; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntry { - /** - * id is a prefix that will be varint encoded and prepended to all the - * table keys specified in the file's tables. - */ - id: number; - /** - * proto_file_name is the name of a file .proto in that contains - * table definitions. The .proto file must be in a package that the - * module has referenced using cosmos.app.v1.ModuleDescriptor.use_package. - */ - protoFileName: string; - /** - * storage_type optionally indicates the type of storage this file's - * tables should used. If it is left unspecified, the default KV-storage - * of the app will be used. - */ - storageType: StorageType; -} -export interface ModuleSchemaDescriptor_FileEntryProtoMsg { - typeUrl: "/cosmos.orm.v1alpha1.FileEntry"; - value: Uint8Array; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntryAmino { - /** - * id is a prefix that will be varint encoded and prepended to all the - * table keys specified in the file's tables. - */ - id: number; - /** - * proto_file_name is the name of a file .proto in that contains - * table definitions. The .proto file must be in a package that the - * module has referenced using cosmos.app.v1.ModuleDescriptor.use_package. - */ - proto_file_name: string; - /** - * storage_type optionally indicates the type of storage this file's - * tables should used. If it is left unspecified, the default KV-storage - * of the app will be used. - */ - storage_type: StorageType; -} -export interface ModuleSchemaDescriptor_FileEntryAminoMsg { - type: "cosmos-sdk/FileEntry"; - value: ModuleSchemaDescriptor_FileEntryAmino; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntrySDKType { - id: number; - proto_file_name: string; - storage_type: StorageType; -} -function createBaseModuleSchemaDescriptor(): ModuleSchemaDescriptor { - return { - schemaFile: [], - prefix: new Uint8Array() - }; -} -export const ModuleSchemaDescriptor = { - typeUrl: "/cosmos.orm.v1alpha1.ModuleSchemaDescriptor", - aminoType: "cosmos-sdk/ModuleSchemaDescriptor", - encode(message: ModuleSchemaDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.schemaFile) { - ModuleSchemaDescriptor_FileEntry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.prefix.length !== 0) { - writer.uint32(18).bytes(message.prefix); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleSchemaDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.schemaFile.push(ModuleSchemaDescriptor_FileEntry.decode(reader, reader.uint32())); - break; - case 2: - message.prefix = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModuleSchemaDescriptor { - const obj = createBaseModuleSchemaDescriptor(); - if (Array.isArray(object?.schemaFile)) obj.schemaFile = object.schemaFile.map((e: any) => ModuleSchemaDescriptor_FileEntry.fromJSON(e)); - if (isSet(object.prefix)) obj.prefix = bytesFromBase64(object.prefix); - return obj; - }, - toJSON(message: ModuleSchemaDescriptor): unknown { - const obj: any = {}; - if (message.schemaFile) { - obj.schemaFile = message.schemaFile.map(e => e ? ModuleSchemaDescriptor_FileEntry.toJSON(e) : undefined); - } else { - obj.schemaFile = []; - } - message.prefix !== undefined && (obj.prefix = base64FromBytes(message.prefix !== undefined ? message.prefix : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): ModuleSchemaDescriptor { - const message = createBaseModuleSchemaDescriptor(); - message.schemaFile = object.schemaFile?.map(e => ModuleSchemaDescriptor_FileEntry.fromPartial(e)) || []; - message.prefix = object.prefix ?? new Uint8Array(); - return message; - }, - fromSDK(object: ModuleSchemaDescriptorSDKType): ModuleSchemaDescriptor { - return { - schemaFile: Array.isArray(object?.schema_file) ? object.schema_file.map((e: any) => ModuleSchemaDescriptor_FileEntry.fromSDK(e)) : [], - prefix: object?.prefix - }; - }, - toSDK(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorSDKType { - const obj: any = {}; - if (message.schemaFile) { - obj.schema_file = message.schemaFile.map(e => e ? ModuleSchemaDescriptor_FileEntry.toSDK(e) : undefined); - } else { - obj.schema_file = []; - } - obj.prefix = message.prefix; - return obj; - }, - fromAmino(object: ModuleSchemaDescriptorAmino): ModuleSchemaDescriptor { - return { - schemaFile: Array.isArray(object?.schema_file) ? object.schema_file.map((e: any) => ModuleSchemaDescriptor_FileEntry.fromAmino(e)) : [], - prefix: object.prefix - }; - }, - toAmino(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorAmino { - const obj: any = {}; - if (message.schemaFile) { - obj.schema_file = message.schemaFile.map(e => e ? ModuleSchemaDescriptor_FileEntry.toAmino(e) : undefined); - } else { - obj.schema_file = []; - } - obj.prefix = message.prefix; - return obj; - }, - fromAminoMsg(object: ModuleSchemaDescriptorAminoMsg): ModuleSchemaDescriptor { - return ModuleSchemaDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorAminoMsg { - return { - type: "cosmos-sdk/ModuleSchemaDescriptor", - value: ModuleSchemaDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: ModuleSchemaDescriptorProtoMsg): ModuleSchemaDescriptor { - return ModuleSchemaDescriptor.decode(message.value); - }, - toProto(message: ModuleSchemaDescriptor): Uint8Array { - return ModuleSchemaDescriptor.encode(message).finish(); - }, - toProtoMsg(message: ModuleSchemaDescriptor): ModuleSchemaDescriptorProtoMsg { - return { - typeUrl: "/cosmos.orm.v1alpha1.ModuleSchemaDescriptor", - value: ModuleSchemaDescriptor.encode(message).finish() - }; - } -}; -function createBaseModuleSchemaDescriptor_FileEntry(): ModuleSchemaDescriptor_FileEntry { - return { - id: 0, - protoFileName: "", - storageType: 0 - }; -} -export const ModuleSchemaDescriptor_FileEntry = { - typeUrl: "/cosmos.orm.v1alpha1.FileEntry", - aminoType: "cosmos-sdk/FileEntry", - encode(message: ModuleSchemaDescriptor_FileEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== 0) { - writer.uint32(8).uint32(message.id); - } - if (message.protoFileName !== "") { - writer.uint32(18).string(message.protoFileName); - } - if (message.storageType !== 0) { - writer.uint32(24).int32(message.storageType); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor_FileEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleSchemaDescriptor_FileEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.uint32(); - break; - case 2: - message.protoFileName = reader.string(); - break; - case 3: - message.storageType = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModuleSchemaDescriptor_FileEntry { - const obj = createBaseModuleSchemaDescriptor_FileEntry(); - if (isSet(object.id)) obj.id = Number(object.id); - if (isSet(object.protoFileName)) obj.protoFileName = String(object.protoFileName); - if (isSet(object.storageType)) obj.storageType = storageTypeFromJSON(object.storageType); - return obj; - }, - toJSON(message: ModuleSchemaDescriptor_FileEntry): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = Math.round(message.id)); - message.protoFileName !== undefined && (obj.protoFileName = message.protoFileName); - message.storageType !== undefined && (obj.storageType = storageTypeToJSON(message.storageType)); - return obj; - }, - fromPartial(object: DeepPartial): ModuleSchemaDescriptor_FileEntry { - const message = createBaseModuleSchemaDescriptor_FileEntry(); - message.id = object.id ?? 0; - message.protoFileName = object.protoFileName ?? ""; - message.storageType = object.storageType ?? 0; - return message; - }, - fromSDK(object: ModuleSchemaDescriptor_FileEntrySDKType): ModuleSchemaDescriptor_FileEntry { - return { - id: object?.id, - protoFileName: object?.proto_file_name, - storageType: isSet(object.storage_type) ? storageTypeFromJSON(object.storage_type) : -1 - }; - }, - toSDK(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntrySDKType { - const obj: any = {}; - obj.id = message.id; - obj.proto_file_name = message.protoFileName; - message.storageType !== undefined && (obj.storage_type = storageTypeToJSON(message.storageType)); - return obj; - }, - fromAmino(object: ModuleSchemaDescriptor_FileEntryAmino): ModuleSchemaDescriptor_FileEntry { - return { - id: object.id, - protoFileName: object.proto_file_name, - storageType: isSet(object.storage_type) ? storageTypeFromJSON(object.storage_type) : -1 - }; - }, - toAmino(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryAmino { - const obj: any = {}; - obj.id = message.id; - obj.proto_file_name = message.protoFileName; - obj.storage_type = message.storageType; - return obj; - }, - fromAminoMsg(object: ModuleSchemaDescriptor_FileEntryAminoMsg): ModuleSchemaDescriptor_FileEntry { - return ModuleSchemaDescriptor_FileEntry.fromAmino(object.value); - }, - toAminoMsg(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryAminoMsg { - return { - type: "cosmos-sdk/FileEntry", - value: ModuleSchemaDescriptor_FileEntry.toAmino(message) - }; - }, - fromProtoMsg(message: ModuleSchemaDescriptor_FileEntryProtoMsg): ModuleSchemaDescriptor_FileEntry { - return ModuleSchemaDescriptor_FileEntry.decode(message.value); - }, - toProto(message: ModuleSchemaDescriptor_FileEntry): Uint8Array { - return ModuleSchemaDescriptor_FileEntry.encode(message).finish(); - }, - toProtoMsg(message: ModuleSchemaDescriptor_FileEntry): ModuleSchemaDescriptor_FileEntryProtoMsg { - return { - typeUrl: "/cosmos.orm.v1alpha1.FileEntry", - value: ModuleSchemaDescriptor_FileEntry.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/params/v1beta1/params.ts b/quicksilverjs/src/codegen/cosmos/params/v1beta1/params.ts deleted file mode 100644 index 213b8fb4f..000000000 --- a/quicksilverjs/src/codegen/cosmos/params/v1beta1/params.ts +++ /dev/null @@ -1,308 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.params.v1beta1"; -/** ParameterChangeProposal defines a proposal to change one or more parameters. */ -export interface ParameterChangeProposal { - title: string; - description: string; - changes: ParamChange[]; -} -export interface ParameterChangeProposalProtoMsg { - typeUrl: "/cosmos.params.v1beta1.ParameterChangeProposal"; - value: Uint8Array; -} -/** ParameterChangeProposal defines a proposal to change one or more parameters. */ -export interface ParameterChangeProposalAmino { - title: string; - description: string; - changes: ParamChangeAmino[]; -} -export interface ParameterChangeProposalAminoMsg { - type: "cosmos-sdk/ParameterChangeProposal"; - value: ParameterChangeProposalAmino; -} -/** ParameterChangeProposal defines a proposal to change one or more parameters. */ -export interface ParameterChangeProposalSDKType { - title: string; - description: string; - changes: ParamChangeSDKType[]; -} -/** - * ParamChange defines an individual parameter change, for use in - * ParameterChangeProposal. - */ -export interface ParamChange { - subspace: string; - key: string; - value: string; -} -export interface ParamChangeProtoMsg { - typeUrl: "/cosmos.params.v1beta1.ParamChange"; - value: Uint8Array; -} -/** - * ParamChange defines an individual parameter change, for use in - * ParameterChangeProposal. - */ -export interface ParamChangeAmino { - subspace: string; - key: string; - value: string; -} -export interface ParamChangeAminoMsg { - type: "cosmos-sdk/ParamChange"; - value: ParamChangeAmino; -} -/** - * ParamChange defines an individual parameter change, for use in - * ParameterChangeProposal. - */ -export interface ParamChangeSDKType { - subspace: string; - key: string; - value: string; -} -function createBaseParameterChangeProposal(): ParameterChangeProposal { - return { - title: "", - description: "", - changes: [] - }; -} -export const ParameterChangeProposal = { - typeUrl: "/cosmos.params.v1beta1.ParameterChangeProposal", - aminoType: "cosmos-sdk/ParameterChangeProposal", - encode(message: ParameterChangeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - for (const v of message.changes) { - ParamChange.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ParameterChangeProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParameterChangeProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.changes.push(ParamChange.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ParameterChangeProposal { - const obj = createBaseParameterChangeProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (Array.isArray(object?.changes)) obj.changes = object.changes.map((e: any) => ParamChange.fromJSON(e)); - return obj; - }, - toJSON(message: ParameterChangeProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - if (message.changes) { - obj.changes = message.changes.map(e => e ? ParamChange.toJSON(e) : undefined); - } else { - obj.changes = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ParameterChangeProposal { - const message = createBaseParameterChangeProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.changes = object.changes?.map(e => ParamChange.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ParameterChangeProposalSDKType): ParameterChangeProposal { - return { - title: object?.title, - description: object?.description, - changes: Array.isArray(object?.changes) ? object.changes.map((e: any) => ParamChange.fromSDK(e)) : [] - }; - }, - toSDK(message: ParameterChangeProposal): ParameterChangeProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - if (message.changes) { - obj.changes = message.changes.map(e => e ? ParamChange.toSDK(e) : undefined); - } else { - obj.changes = []; - } - return obj; - }, - fromAmino(object: ParameterChangeProposalAmino): ParameterChangeProposal { - return { - title: object.title, - description: object.description, - changes: Array.isArray(object?.changes) ? object.changes.map((e: any) => ParamChange.fromAmino(e)) : [] - }; - }, - toAmino(message: ParameterChangeProposal): ParameterChangeProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - if (message.changes) { - obj.changes = message.changes.map(e => e ? ParamChange.toAmino(e) : undefined); - } else { - obj.changes = []; - } - return obj; - }, - fromAminoMsg(object: ParameterChangeProposalAminoMsg): ParameterChangeProposal { - return ParameterChangeProposal.fromAmino(object.value); - }, - toAminoMsg(message: ParameterChangeProposal): ParameterChangeProposalAminoMsg { - return { - type: "cosmos-sdk/ParameterChangeProposal", - value: ParameterChangeProposal.toAmino(message) - }; - }, - fromProtoMsg(message: ParameterChangeProposalProtoMsg): ParameterChangeProposal { - return ParameterChangeProposal.decode(message.value); - }, - toProto(message: ParameterChangeProposal): Uint8Array { - return ParameterChangeProposal.encode(message).finish(); - }, - toProtoMsg(message: ParameterChangeProposal): ParameterChangeProposalProtoMsg { - return { - typeUrl: "/cosmos.params.v1beta1.ParameterChangeProposal", - value: ParameterChangeProposal.encode(message).finish() - }; - } -}; -function createBaseParamChange(): ParamChange { - return { - subspace: "", - key: "", - value: "" - }; -} -export const ParamChange = { - typeUrl: "/cosmos.params.v1beta1.ParamChange", - aminoType: "cosmos-sdk/ParamChange", - encode(message: ParamChange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.subspace !== "") { - writer.uint32(10).string(message.subspace); - } - if (message.key !== "") { - writer.uint32(18).string(message.key); - } - if (message.value !== "") { - writer.uint32(26).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ParamChange { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParamChange(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.subspace = reader.string(); - break; - case 2: - message.key = reader.string(); - break; - case 3: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ParamChange { - const obj = createBaseParamChange(); - if (isSet(object.subspace)) obj.subspace = String(object.subspace); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: ParamChange): unknown { - const obj: any = {}; - message.subspace !== undefined && (obj.subspace = message.subspace); - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): ParamChange { - const message = createBaseParamChange(); - message.subspace = object.subspace ?? ""; - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: ParamChangeSDKType): ParamChange { - return { - subspace: object?.subspace, - key: object?.key, - value: object?.value - }; - }, - toSDK(message: ParamChange): ParamChangeSDKType { - const obj: any = {}; - obj.subspace = message.subspace; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: ParamChangeAmino): ParamChange { - return { - subspace: object.subspace, - key: object.key, - value: object.value - }; - }, - toAmino(message: ParamChange): ParamChangeAmino { - const obj: any = {}; - obj.subspace = message.subspace; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: ParamChangeAminoMsg): ParamChange { - return ParamChange.fromAmino(object.value); - }, - toAminoMsg(message: ParamChange): ParamChangeAminoMsg { - return { - type: "cosmos-sdk/ParamChange", - value: ParamChange.toAmino(message) - }; - }, - fromProtoMsg(message: ParamChangeProtoMsg): ParamChange { - return ParamChange.decode(message.value); - }, - toProto(message: ParamChange): Uint8Array { - return ParamChange.encode(message).finish(); - }, - toProtoMsg(message: ParamChange): ParamChangeProtoMsg { - return { - typeUrl: "/cosmos.params.v1beta1.ParamChange", - value: ParamChange.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/params/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/params/v1beta1/query.lcd.ts deleted file mode 100644 index 4fa18b894..000000000 --- a/quicksilverjs/src/codegen/cosmos/params/v1beta1/query.lcd.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { ParamChange, ParamChangeSDKType } from "./params"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesRequestSDKType, QuerySubspacesResponse, QuerySubspacesResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.params = this.params.bind(this); - this.subspaces = this.subspaces.bind(this); - } - /* Params queries a specific parameter of a module, given its subspace and - key. */ - async params(params: QueryParamsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.subspace !== "undefined") { - options.params.subspace = params.subspace; - } - if (typeof params?.key !== "undefined") { - options.params.key = params.key; - } - const endpoint = `cosmos/params/v1beta1/params`; - return await this.req.get(endpoint, options); - } - /* Subspaces queries for all registered subspaces and all keys for a subspace. */ - async subspaces(_params: QuerySubspacesRequest = {}): Promise { - const endpoint = `cosmos/params/v1beta1/subspaces`; - return await this.req.get(endpoint); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts deleted file mode 100644 index bde240397..000000000 --- a/quicksilverjs/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { ParamChange, ParamChangeSDKType } from "./params"; -import * as fm from "../../../grpc-gateway"; -import { QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesRequestSDKType, QuerySubspacesResponse, QuerySubspacesResponseSDKType } from "./query"; -export class Query { - /** - * Params queries a specific parameter of a module, given its subspace and - * key. - */ - static params(request: QueryParamsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/params/v1beta1/params?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** Subspaces queries for all registered subspaces and all keys for a subspace. */ - static subspaces(request: QuerySubspacesRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/params/v1beta1/subspaces?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** - * Params queries a specific parameter of a module, given its subspace and - * key. - */ - async params(req: QueryParamsRequest, headers?: HeadersInit): Promise { - return Query.params(req, { - headers, - pathPrefix: this.url - }); - } - /** Subspaces queries for all registered subspaces and all keys for a subspace. */ - async subspaces(req: QuerySubspacesRequest, headers?: HeadersInit): Promise { - return Query.subspaces(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/params/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/params/v1beta1/query.ts deleted file mode 100644 index ed26f6ea6..000000000 --- a/quicksilverjs/src/codegen/cosmos/params/v1beta1/query.ts +++ /dev/null @@ -1,614 +0,0 @@ -import { ParamChange, ParamChangeAmino, ParamChangeSDKType } from "./params"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.params.v1beta1"; -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { - /** subspace defines the module to query the parameter for. */ - subspace: string; - /** key defines the key of the parameter in the subspace. */ - key: string; -} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino { - /** subspace defines the module to query the parameter for. */ - subspace: string; - /** key defines the key of the parameter in the subspace. */ - key: string; -} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { - subspace: string; - key: string; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** param defines the queried parameter. */ - param: ParamChange; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** param defines the queried parameter. */ - param?: ParamChangeAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - param: ParamChangeSDKType; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - */ -export interface QuerySubspacesRequest {} -export interface QuerySubspacesRequestProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QuerySubspacesRequest"; - value: Uint8Array; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - */ -export interface QuerySubspacesRequestAmino {} -export interface QuerySubspacesRequestAminoMsg { - type: "cosmos-sdk/QuerySubspacesRequest"; - value: QuerySubspacesRequestAmino; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - */ -export interface QuerySubspacesRequestSDKType {} -/** - * QuerySubspacesResponse defines the response types for querying for all - * registered subspaces and all keys for a subspace. - */ -export interface QuerySubspacesResponse { - subspaces: Subspace[]; -} -export interface QuerySubspacesResponseProtoMsg { - typeUrl: "/cosmos.params.v1beta1.QuerySubspacesResponse"; - value: Uint8Array; -} -/** - * QuerySubspacesResponse defines the response types for querying for all - * registered subspaces and all keys for a subspace. - */ -export interface QuerySubspacesResponseAmino { - subspaces: SubspaceAmino[]; -} -export interface QuerySubspacesResponseAminoMsg { - type: "cosmos-sdk/QuerySubspacesResponse"; - value: QuerySubspacesResponseAmino; -} -/** - * QuerySubspacesResponse defines the response types for querying for all - * registered subspaces and all keys for a subspace. - */ -export interface QuerySubspacesResponseSDKType { - subspaces: SubspaceSDKType[]; -} -/** - * Subspace defines a parameter subspace name and all the keys that exist for - * the subspace. - */ -export interface Subspace { - subspace: string; - keys: string[]; -} -export interface SubspaceProtoMsg { - typeUrl: "/cosmos.params.v1beta1.Subspace"; - value: Uint8Array; -} -/** - * Subspace defines a parameter subspace name and all the keys that exist for - * the subspace. - */ -export interface SubspaceAmino { - subspace: string; - keys: string[]; -} -export interface SubspaceAminoMsg { - type: "cosmos-sdk/Subspace"; - value: SubspaceAmino; -} -/** - * Subspace defines a parameter subspace name and all the keys that exist for - * the subspace. - */ -export interface SubspaceSDKType { - subspace: string; - keys: string[]; -} -function createBaseQueryParamsRequest(): QueryParamsRequest { - return { - subspace: "", - key: "" - }; -} -export const QueryParamsRequest = { - typeUrl: "/cosmos.params.v1beta1.QueryParamsRequest", - aminoType: "cosmos-sdk/QueryParamsRequest", - encode(message: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.subspace !== "") { - writer.uint32(10).string(message.subspace); - } - if (message.key !== "") { - writer.uint32(18).string(message.key); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.subspace = reader.string(); - break; - case 2: - message.key = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsRequest { - const obj = createBaseQueryParamsRequest(); - if (isSet(object.subspace)) obj.subspace = String(object.subspace); - if (isSet(object.key)) obj.key = String(object.key); - return obj; - }, - toJSON(message: QueryParamsRequest): unknown { - const obj: any = {}; - message.subspace !== undefined && (obj.subspace = message.subspace); - message.key !== undefined && (obj.key = message.key); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - message.subspace = object.subspace ?? ""; - message.key = object.key ?? ""; - return message; - }, - fromSDK(object: QueryParamsRequestSDKType): QueryParamsRequest { - return { - subspace: object?.subspace, - key: object?.key - }; - }, - toSDK(message: QueryParamsRequest): QueryParamsRequestSDKType { - const obj: any = {}; - obj.subspace = message.subspace; - obj.key = message.key; - return obj; - }, - fromAmino(object: QueryParamsRequestAmino): QueryParamsRequest { - return { - subspace: object.subspace, - key: object.key - }; - }, - toAmino(message: QueryParamsRequest): QueryParamsRequestAmino { - const obj: any = {}; - obj.subspace = message.subspace; - obj.key = message.key; - return obj; - }, - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest { - return QueryParamsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryParamsRequest", - value: QueryParamsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest { - return QueryParamsRequest.decode(message.value); - }, - toProto(message: QueryParamsRequest): Uint8Array { - return QueryParamsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg { - return { - typeUrl: "/cosmos.params.v1beta1.QueryParamsRequest", - value: QueryParamsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - param: ParamChange.fromPartial({}) - }; -} -export const QueryParamsResponse = { - typeUrl: "/cosmos.params.v1beta1.QueryParamsResponse", - aminoType: "cosmos-sdk/QueryParamsResponse", - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.param !== undefined) { - ParamChange.encode(message.param, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.param = ParamChange.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsResponse { - const obj = createBaseQueryParamsResponse(); - if (isSet(object.param)) obj.param = ParamChange.fromJSON(object.param); - return obj; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.param !== undefined && (obj.param = message.param ? ParamChange.toJSON(message.param) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - if (object.param !== undefined && object.param !== null) { - message.param = ParamChange.fromPartial(object.param); - } - return message; - }, - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse { - return { - param: object.param ? ParamChange.fromSDK(object.param) : undefined - }; - }, - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType { - const obj: any = {}; - message.param !== undefined && (obj.param = message.param ? ParamChange.toSDK(message.param) : undefined); - return obj; - }, - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse { - return { - param: object?.param ? ParamChange.fromAmino(object.param) : undefined - }; - }, - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino { - const obj: any = {}; - obj.param = message.param ? ParamChange.toAmino(message.param) : undefined; - return obj; - }, - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse { - return QueryParamsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryParamsResponse", - value: QueryParamsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse { - return QueryParamsResponse.decode(message.value); - }, - toProto(message: QueryParamsResponse): Uint8Array { - return QueryParamsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg { - return { - typeUrl: "/cosmos.params.v1beta1.QueryParamsResponse", - value: QueryParamsResponse.encode(message).finish() - }; - } -}; -function createBaseQuerySubspacesRequest(): QuerySubspacesRequest { - return {}; -} -export const QuerySubspacesRequest = { - typeUrl: "/cosmos.params.v1beta1.QuerySubspacesRequest", - aminoType: "cosmos-sdk/QuerySubspacesRequest", - encode(_: QuerySubspacesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySubspacesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QuerySubspacesRequest { - const obj = createBaseQuerySubspacesRequest(); - return obj; - }, - toJSON(_: QuerySubspacesRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QuerySubspacesRequest { - const message = createBaseQuerySubspacesRequest(); - return message; - }, - fromSDK(_: QuerySubspacesRequestSDKType): QuerySubspacesRequest { - return {}; - }, - toSDK(_: QuerySubspacesRequest): QuerySubspacesRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QuerySubspacesRequestAmino): QuerySubspacesRequest { - return {}; - }, - toAmino(_: QuerySubspacesRequest): QuerySubspacesRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QuerySubspacesRequestAminoMsg): QuerySubspacesRequest { - return QuerySubspacesRequest.fromAmino(object.value); - }, - toAminoMsg(message: QuerySubspacesRequest): QuerySubspacesRequestAminoMsg { - return { - type: "cosmos-sdk/QuerySubspacesRequest", - value: QuerySubspacesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySubspacesRequestProtoMsg): QuerySubspacesRequest { - return QuerySubspacesRequest.decode(message.value); - }, - toProto(message: QuerySubspacesRequest): Uint8Array { - return QuerySubspacesRequest.encode(message).finish(); - }, - toProtoMsg(message: QuerySubspacesRequest): QuerySubspacesRequestProtoMsg { - return { - typeUrl: "/cosmos.params.v1beta1.QuerySubspacesRequest", - value: QuerySubspacesRequest.encode(message).finish() - }; - } -}; -function createBaseQuerySubspacesResponse(): QuerySubspacesResponse { - return { - subspaces: [] - }; -} -export const QuerySubspacesResponse = { - typeUrl: "/cosmos.params.v1beta1.QuerySubspacesResponse", - aminoType: "cosmos-sdk/QuerySubspacesResponse", - encode(message: QuerySubspacesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.subspaces) { - Subspace.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySubspacesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.subspaces.push(Subspace.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySubspacesResponse { - const obj = createBaseQuerySubspacesResponse(); - if (Array.isArray(object?.subspaces)) obj.subspaces = object.subspaces.map((e: any) => Subspace.fromJSON(e)); - return obj; - }, - toJSON(message: QuerySubspacesResponse): unknown { - const obj: any = {}; - if (message.subspaces) { - obj.subspaces = message.subspaces.map(e => e ? Subspace.toJSON(e) : undefined); - } else { - obj.subspaces = []; - } - return obj; - }, - fromPartial(object: DeepPartial): QuerySubspacesResponse { - const message = createBaseQuerySubspacesResponse(); - message.subspaces = object.subspaces?.map(e => Subspace.fromPartial(e)) || []; - return message; - }, - fromSDK(object: QuerySubspacesResponseSDKType): QuerySubspacesResponse { - return { - subspaces: Array.isArray(object?.subspaces) ? object.subspaces.map((e: any) => Subspace.fromSDK(e)) : [] - }; - }, - toSDK(message: QuerySubspacesResponse): QuerySubspacesResponseSDKType { - const obj: any = {}; - if (message.subspaces) { - obj.subspaces = message.subspaces.map(e => e ? Subspace.toSDK(e) : undefined); - } else { - obj.subspaces = []; - } - return obj; - }, - fromAmino(object: QuerySubspacesResponseAmino): QuerySubspacesResponse { - return { - subspaces: Array.isArray(object?.subspaces) ? object.subspaces.map((e: any) => Subspace.fromAmino(e)) : [] - }; - }, - toAmino(message: QuerySubspacesResponse): QuerySubspacesResponseAmino { - const obj: any = {}; - if (message.subspaces) { - obj.subspaces = message.subspaces.map(e => e ? Subspace.toAmino(e) : undefined); - } else { - obj.subspaces = []; - } - return obj; - }, - fromAminoMsg(object: QuerySubspacesResponseAminoMsg): QuerySubspacesResponse { - return QuerySubspacesResponse.fromAmino(object.value); - }, - toAminoMsg(message: QuerySubspacesResponse): QuerySubspacesResponseAminoMsg { - return { - type: "cosmos-sdk/QuerySubspacesResponse", - value: QuerySubspacesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySubspacesResponseProtoMsg): QuerySubspacesResponse { - return QuerySubspacesResponse.decode(message.value); - }, - toProto(message: QuerySubspacesResponse): Uint8Array { - return QuerySubspacesResponse.encode(message).finish(); - }, - toProtoMsg(message: QuerySubspacesResponse): QuerySubspacesResponseProtoMsg { - return { - typeUrl: "/cosmos.params.v1beta1.QuerySubspacesResponse", - value: QuerySubspacesResponse.encode(message).finish() - }; - } -}; -function createBaseSubspace(): Subspace { - return { - subspace: "", - keys: [] - }; -} -export const Subspace = { - typeUrl: "/cosmos.params.v1beta1.Subspace", - aminoType: "cosmos-sdk/Subspace", - encode(message: Subspace, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.subspace !== "") { - writer.uint32(10).string(message.subspace); - } - for (const v of message.keys) { - writer.uint32(18).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Subspace { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSubspace(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.subspace = reader.string(); - break; - case 2: - message.keys.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Subspace { - const obj = createBaseSubspace(); - if (isSet(object.subspace)) obj.subspace = String(object.subspace); - if (Array.isArray(object?.keys)) obj.keys = object.keys.map((e: any) => String(e)); - return obj; - }, - toJSON(message: Subspace): unknown { - const obj: any = {}; - message.subspace !== undefined && (obj.subspace = message.subspace); - if (message.keys) { - obj.keys = message.keys.map(e => e); - } else { - obj.keys = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Subspace { - const message = createBaseSubspace(); - message.subspace = object.subspace ?? ""; - message.keys = object.keys?.map(e => e) || []; - return message; - }, - fromSDK(object: SubspaceSDKType): Subspace { - return { - subspace: object?.subspace, - keys: Array.isArray(object?.keys) ? object.keys.map((e: any) => e) : [] - }; - }, - toSDK(message: Subspace): SubspaceSDKType { - const obj: any = {}; - obj.subspace = message.subspace; - if (message.keys) { - obj.keys = message.keys.map(e => e); - } else { - obj.keys = []; - } - return obj; - }, - fromAmino(object: SubspaceAmino): Subspace { - return { - subspace: object.subspace, - keys: Array.isArray(object?.keys) ? object.keys.map((e: any) => e) : [] - }; - }, - toAmino(message: Subspace): SubspaceAmino { - const obj: any = {}; - obj.subspace = message.subspace; - if (message.keys) { - obj.keys = message.keys.map(e => e); - } else { - obj.keys = []; - } - return obj; - }, - fromAminoMsg(object: SubspaceAminoMsg): Subspace { - return Subspace.fromAmino(object.value); - }, - toAminoMsg(message: Subspace): SubspaceAminoMsg { - return { - type: "cosmos-sdk/Subspace", - value: Subspace.toAmino(message) - }; - }, - fromProtoMsg(message: SubspaceProtoMsg): Subspace { - return Subspace.decode(message.value); - }, - toProto(message: Subspace): Uint8Array { - return Subspace.encode(message).finish(); - }, - toProtoMsg(message: Subspace): SubspaceProtoMsg { - return { - typeUrl: "/cosmos.params.v1beta1.Subspace", - value: Subspace.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/rpc.query.ts b/quicksilverjs/src/codegen/cosmos/rpc.query.ts deleted file mode 100644 index 5990c3239..000000000 --- a/quicksilverjs/src/codegen/cosmos/rpc.query.ts +++ /dev/null @@ -1,65 +0,0 @@ -export const createGrpcGateWayClient = async ({ - endpoint -}: { - endpoint: string; -}) => { - endpoint = endpoint.replace(/\/*$/g, ""); - return { - cosmos: { - app: { - v1alpha1: new (await import("./app/v1alpha1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - auth: { - v1beta1: new (await import("./auth/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - authz: { - v1beta1: new (await import("./authz/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - bank: { - v1beta1: new (await import("./bank/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - base: { - tendermint: { - v1beta1: new (await import("./base/tendermint/v1beta1/query.rpc.Service")).ServiceClientImpl(endpoint) - } - }, - distribution: { - v1beta1: new (await import("./distribution/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - evidence: { - v1beta1: new (await import("./evidence/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - feegrant: { - v1beta1: new (await import("./feegrant/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - gov: { - v1: new (await import("./gov/v1/query.rpc.Query")).QueryClientImpl(endpoint), - v1beta1: new (await import("./gov/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - group: { - v1: new (await import("./group/v1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - mint: { - v1beta1: new (await import("./mint/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - nft: { - v1beta1: new (await import("./nft/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - params: { - v1beta1: new (await import("./params/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - slashing: { - v1beta1: new (await import("./slashing/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - staking: { - v1beta1: new (await import("./staking/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - tx: { - v1beta1: new (await import("./tx/v1beta1/service.rpc.Service")).ServiceClientImpl(endpoint) - }, - upgrade: { - v1beta1: new (await import("./upgrade/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - } - } - }; -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/rpc.tx.ts b/quicksilverjs/src/codegen/cosmos/rpc.tx.ts deleted file mode 100644 index e69de29bb..000000000 diff --git a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/genesis.ts deleted file mode 100644 index 01d82bb13..000000000 --- a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/genesis.ts +++ /dev/null @@ -1,602 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoAmino, ValidatorSigningInfoSDKType } from "./slashing"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.slashing.v1beta1"; -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of related to deposit. */ - params: Params; - /** - * signing_infos represents a map between validator addresses and their - * signing infos. - */ - signingInfos: SigningInfo[]; - /** - * missed_blocks represents a map between validator addresses and their - * missed blocks. - */ - missedBlocks: ValidatorMissedBlocks[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of related to deposit. */ - params?: ParamsAmino; - /** - * signing_infos represents a map between validator addresses and their - * signing infos. - */ - signing_infos: SigningInfoAmino[]; - /** - * missed_blocks represents a map between validator addresses and their - * missed blocks. - */ - missed_blocks: ValidatorMissedBlocksAmino[]; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the slashing module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - signing_infos: SigningInfoSDKType[]; - missed_blocks: ValidatorMissedBlocksSDKType[]; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfo { - /** address is the validator address. */ - address: string; - /** validator_signing_info represents the signing info of this validator. */ - validatorSigningInfo: ValidatorSigningInfo; -} -export interface SigningInfoProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.SigningInfo"; - value: Uint8Array; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfoAmino { - /** address is the validator address. */ - address: string; - /** validator_signing_info represents the signing info of this validator. */ - validator_signing_info?: ValidatorSigningInfoAmino; -} -export interface SigningInfoAminoMsg { - type: "cosmos-sdk/SigningInfo"; - value: SigningInfoAmino; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfoSDKType { - address: string; - validator_signing_info: ValidatorSigningInfoSDKType; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocks { - /** address is the validator address. */ - address: string; - /** missed_blocks is an array of missed blocks by the validator. */ - missedBlocks: MissedBlock[]; -} -export interface ValidatorMissedBlocksProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorMissedBlocks"; - value: Uint8Array; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocksAmino { - /** address is the validator address. */ - address: string; - /** missed_blocks is an array of missed blocks by the validator. */ - missed_blocks: MissedBlockAmino[]; -} -export interface ValidatorMissedBlocksAminoMsg { - type: "cosmos-sdk/ValidatorMissedBlocks"; - value: ValidatorMissedBlocksAmino; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocksSDKType { - address: string; - missed_blocks: MissedBlockSDKType[]; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlock { - /** index is the height at which the block was missed. */ - index: Long; - /** missed is the missed status. */ - missed: boolean; -} -export interface MissedBlockProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MissedBlock"; - value: Uint8Array; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlockAmino { - /** index is the height at which the block was missed. */ - index: string; - /** missed is the missed status. */ - missed: boolean; -} -export interface MissedBlockAminoMsg { - type: "cosmos-sdk/MissedBlock"; - value: MissedBlockAmino; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlockSDKType { - index: Long; - missed: boolean; -} -function createBaseGenesisState(): GenesisState { - return { - params: Params.fromPartial({}), - signingInfos: [], - missedBlocks: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmos.slashing.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.signingInfos) { - SigningInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.missedBlocks) { - ValidatorMissedBlocks.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - case 2: - message.signingInfos.push(SigningInfo.decode(reader, reader.uint32())); - break; - case 3: - message.missedBlocks.push(ValidatorMissedBlocks.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - if (Array.isArray(object?.signingInfos)) obj.signingInfos = object.signingInfos.map((e: any) => SigningInfo.fromJSON(e)); - if (Array.isArray(object?.missedBlocks)) obj.missedBlocks = object.missedBlocks.map((e: any) => ValidatorMissedBlocks.fromJSON(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - if (message.signingInfos) { - obj.signingInfos = message.signingInfos.map(e => e ? SigningInfo.toJSON(e) : undefined); - } else { - obj.signingInfos = []; - } - if (message.missedBlocks) { - obj.missedBlocks = message.missedBlocks.map(e => e ? ValidatorMissedBlocks.toJSON(e) : undefined); - } else { - obj.missedBlocks = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - message.signingInfos = object.signingInfos?.map(e => SigningInfo.fromPartial(e)) || []; - message.missedBlocks = object.missedBlocks?.map(e => ValidatorMissedBlocks.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - params: object.params ? Params.fromSDK(object.params) : undefined, - signingInfos: Array.isArray(object?.signing_infos) ? object.signing_infos.map((e: any) => SigningInfo.fromSDK(e)) : [], - missedBlocks: Array.isArray(object?.missed_blocks) ? object.missed_blocks.map((e: any) => ValidatorMissedBlocks.fromSDK(e)) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - if (message.signingInfos) { - obj.signing_infos = message.signingInfos.map(e => e ? SigningInfo.toSDK(e) : undefined); - } else { - obj.signing_infos = []; - } - if (message.missedBlocks) { - obj.missed_blocks = message.missedBlocks.map(e => e ? ValidatorMissedBlocks.toSDK(e) : undefined); - } else { - obj.missed_blocks = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined, - signingInfos: Array.isArray(object?.signing_infos) ? object.signing_infos.map((e: any) => SigningInfo.fromAmino(e)) : [], - missedBlocks: Array.isArray(object?.missed_blocks) ? object.missed_blocks.map((e: any) => ValidatorMissedBlocks.fromAmino(e)) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - if (message.signingInfos) { - obj.signing_infos = message.signingInfos.map(e => e ? SigningInfo.toAmino(e) : undefined); - } else { - obj.signing_infos = []; - } - if (message.missedBlocks) { - obj.missed_blocks = message.missedBlocks.map(e => e ? ValidatorMissedBlocks.toAmino(e) : undefined); - } else { - obj.missed_blocks = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; -function createBaseSigningInfo(): SigningInfo { - return { - address: "", - validatorSigningInfo: ValidatorSigningInfo.fromPartial({}) - }; -} -export const SigningInfo = { - typeUrl: "/cosmos.slashing.v1beta1.SigningInfo", - aminoType: "cosmos-sdk/SigningInfo", - encode(message: SigningInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.validatorSigningInfo !== undefined) { - ValidatorSigningInfo.encode(message.validatorSigningInfo, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SigningInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSigningInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.validatorSigningInfo = ValidatorSigningInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SigningInfo { - const obj = createBaseSigningInfo(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.validatorSigningInfo)) obj.validatorSigningInfo = ValidatorSigningInfo.fromJSON(object.validatorSigningInfo); - return obj; - }, - toJSON(message: SigningInfo): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.validatorSigningInfo !== undefined && (obj.validatorSigningInfo = message.validatorSigningInfo ? ValidatorSigningInfo.toJSON(message.validatorSigningInfo) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): SigningInfo { - const message = createBaseSigningInfo(); - message.address = object.address ?? ""; - if (object.validatorSigningInfo !== undefined && object.validatorSigningInfo !== null) { - message.validatorSigningInfo = ValidatorSigningInfo.fromPartial(object.validatorSigningInfo); - } - return message; - }, - fromSDK(object: SigningInfoSDKType): SigningInfo { - return { - address: object?.address, - validatorSigningInfo: object.validator_signing_info ? ValidatorSigningInfo.fromSDK(object.validator_signing_info) : undefined - }; - }, - toSDK(message: SigningInfo): SigningInfoSDKType { - const obj: any = {}; - obj.address = message.address; - message.validatorSigningInfo !== undefined && (obj.validator_signing_info = message.validatorSigningInfo ? ValidatorSigningInfo.toSDK(message.validatorSigningInfo) : undefined); - return obj; - }, - fromAmino(object: SigningInfoAmino): SigningInfo { - return { - address: object.address, - validatorSigningInfo: object?.validator_signing_info ? ValidatorSigningInfo.fromAmino(object.validator_signing_info) : undefined - }; - }, - toAmino(message: SigningInfo): SigningInfoAmino { - const obj: any = {}; - obj.address = message.address; - obj.validator_signing_info = message.validatorSigningInfo ? ValidatorSigningInfo.toAmino(message.validatorSigningInfo) : undefined; - return obj; - }, - fromAminoMsg(object: SigningInfoAminoMsg): SigningInfo { - return SigningInfo.fromAmino(object.value); - }, - toAminoMsg(message: SigningInfo): SigningInfoAminoMsg { - return { - type: "cosmos-sdk/SigningInfo", - value: SigningInfo.toAmino(message) - }; - }, - fromProtoMsg(message: SigningInfoProtoMsg): SigningInfo { - return SigningInfo.decode(message.value); - }, - toProto(message: SigningInfo): Uint8Array { - return SigningInfo.encode(message).finish(); - }, - toProtoMsg(message: SigningInfo): SigningInfoProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.SigningInfo", - value: SigningInfo.encode(message).finish() - }; - } -}; -function createBaseValidatorMissedBlocks(): ValidatorMissedBlocks { - return { - address: "", - missedBlocks: [] - }; -} -export const ValidatorMissedBlocks = { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorMissedBlocks", - aminoType: "cosmos-sdk/ValidatorMissedBlocks", - encode(message: ValidatorMissedBlocks, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - for (const v of message.missedBlocks) { - MissedBlock.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorMissedBlocks { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorMissedBlocks(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.missedBlocks.push(MissedBlock.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorMissedBlocks { - const obj = createBaseValidatorMissedBlocks(); - if (isSet(object.address)) obj.address = String(object.address); - if (Array.isArray(object?.missedBlocks)) obj.missedBlocks = object.missedBlocks.map((e: any) => MissedBlock.fromJSON(e)); - return obj; - }, - toJSON(message: ValidatorMissedBlocks): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - if (message.missedBlocks) { - obj.missedBlocks = message.missedBlocks.map(e => e ? MissedBlock.toJSON(e) : undefined); - } else { - obj.missedBlocks = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ValidatorMissedBlocks { - const message = createBaseValidatorMissedBlocks(); - message.address = object.address ?? ""; - message.missedBlocks = object.missedBlocks?.map(e => MissedBlock.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ValidatorMissedBlocksSDKType): ValidatorMissedBlocks { - return { - address: object?.address, - missedBlocks: Array.isArray(object?.missed_blocks) ? object.missed_blocks.map((e: any) => MissedBlock.fromSDK(e)) : [] - }; - }, - toSDK(message: ValidatorMissedBlocks): ValidatorMissedBlocksSDKType { - const obj: any = {}; - obj.address = message.address; - if (message.missedBlocks) { - obj.missed_blocks = message.missedBlocks.map(e => e ? MissedBlock.toSDK(e) : undefined); - } else { - obj.missed_blocks = []; - } - return obj; - }, - fromAmino(object: ValidatorMissedBlocksAmino): ValidatorMissedBlocks { - return { - address: object.address, - missedBlocks: Array.isArray(object?.missed_blocks) ? object.missed_blocks.map((e: any) => MissedBlock.fromAmino(e)) : [] - }; - }, - toAmino(message: ValidatorMissedBlocks): ValidatorMissedBlocksAmino { - const obj: any = {}; - obj.address = message.address; - if (message.missedBlocks) { - obj.missed_blocks = message.missedBlocks.map(e => e ? MissedBlock.toAmino(e) : undefined); - } else { - obj.missed_blocks = []; - } - return obj; - }, - fromAminoMsg(object: ValidatorMissedBlocksAminoMsg): ValidatorMissedBlocks { - return ValidatorMissedBlocks.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorMissedBlocks): ValidatorMissedBlocksAminoMsg { - return { - type: "cosmos-sdk/ValidatorMissedBlocks", - value: ValidatorMissedBlocks.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorMissedBlocksProtoMsg): ValidatorMissedBlocks { - return ValidatorMissedBlocks.decode(message.value); - }, - toProto(message: ValidatorMissedBlocks): Uint8Array { - return ValidatorMissedBlocks.encode(message).finish(); - }, - toProtoMsg(message: ValidatorMissedBlocks): ValidatorMissedBlocksProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorMissedBlocks", - value: ValidatorMissedBlocks.encode(message).finish() - }; - } -}; -function createBaseMissedBlock(): MissedBlock { - return { - index: Long.ZERO, - missed: false - }; -} -export const MissedBlock = { - typeUrl: "/cosmos.slashing.v1beta1.MissedBlock", - aminoType: "cosmos-sdk/MissedBlock", - encode(message: MissedBlock, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.index.isZero()) { - writer.uint32(8).int64(message.index); - } - if (message.missed === true) { - writer.uint32(16).bool(message.missed); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MissedBlock { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMissedBlock(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.index = (reader.int64() as Long); - break; - case 2: - message.missed = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MissedBlock { - const obj = createBaseMissedBlock(); - if (isSet(object.index)) obj.index = Long.fromValue(object.index); - if (isSet(object.missed)) obj.missed = Boolean(object.missed); - return obj; - }, - toJSON(message: MissedBlock): unknown { - const obj: any = {}; - message.index !== undefined && (obj.index = (message.index || Long.ZERO).toString()); - message.missed !== undefined && (obj.missed = message.missed); - return obj; - }, - fromPartial(object: DeepPartial): MissedBlock { - const message = createBaseMissedBlock(); - if (object.index !== undefined && object.index !== null) { - message.index = Long.fromValue(object.index); - } - message.missed = object.missed ?? false; - return message; - }, - fromSDK(object: MissedBlockSDKType): MissedBlock { - return { - index: object?.index, - missed: object?.missed - }; - }, - toSDK(message: MissedBlock): MissedBlockSDKType { - const obj: any = {}; - obj.index = message.index; - obj.missed = message.missed; - return obj; - }, - fromAmino(object: MissedBlockAmino): MissedBlock { - return { - index: Long.fromString(object.index), - missed: object.missed - }; - }, - toAmino(message: MissedBlock): MissedBlockAmino { - const obj: any = {}; - obj.index = message.index ? message.index.toString() : undefined; - obj.missed = message.missed; - return obj; - }, - fromAminoMsg(object: MissedBlockAminoMsg): MissedBlock { - return MissedBlock.fromAmino(object.value); - }, - toAminoMsg(message: MissedBlock): MissedBlockAminoMsg { - return { - type: "cosmos-sdk/MissedBlock", - value: MissedBlock.toAmino(message) - }; - }, - fromProtoMsg(message: MissedBlockProtoMsg): MissedBlock { - return MissedBlock.decode(message.value); - }, - toProto(message: MissedBlock): Uint8Array { - return MissedBlock.encode(message).finish(); - }, - toProtoMsg(message: MissedBlock): MissedBlockProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.MissedBlock", - value: MissedBlock.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts deleted file mode 100644 index eb0349425..000000000 --- a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoRequestSDKType, QuerySigningInfoResponse, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosRequestSDKType, QuerySigningInfosResponse, QuerySigningInfosResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.params = this.params.bind(this); - this.signingInfo = this.signingInfo.bind(this); - this.signingInfos = this.signingInfos.bind(this); - } - /* Params queries the parameters of slashing module */ - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/slashing/v1beta1/params`; - return await this.req.get(endpoint); - } - /* SigningInfo queries the signing info of given cons address */ - async signingInfo(params: QuerySigningInfoRequest): Promise { - const endpoint = `cosmos/slashing/v1beta1/signing_infos/${params.consAddress}`; - return await this.req.get(endpoint); - } - /* SigningInfos queries signing info of all validators */ - async signingInfos(params: QuerySigningInfosRequest = { - pagination: PageRequest.fromPartial({}) - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/slashing/v1beta1/signing_infos`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 0897043ae..000000000 --- a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; -import * as fm from "../../../grpc-gateway"; -import { QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoRequestSDKType, QuerySigningInfoResponse, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosRequestSDKType, QuerySigningInfosResponse, QuerySigningInfosResponseSDKType } from "./query"; -export class Query { - /** Params queries the parameters of slashing module */ - static params(request: QueryParamsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/slashing/v1beta1/params?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** SigningInfo queries the signing info of given cons address */ - static signingInfo(request: QuerySigningInfoRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/slashing/v1beta1/signing_infos/${request["cons_address"]}?${fm.renderURLSearchParams({ - ...request - }, ["cons_address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** SigningInfos queries signing info of all validators */ - static signingInfos(request: QuerySigningInfosRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/slashing/v1beta1/signing_infos?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Params queries the parameters of slashing module */ - async params(req: QueryParamsRequest, headers?: HeadersInit): Promise { - return Query.params(req, { - headers, - pathPrefix: this.url - }); - } - /** SigningInfo queries the signing info of given cons address */ - async signingInfo(req: QuerySigningInfoRequest, headers?: HeadersInit): Promise { - return Query.signingInfo(req, { - headers, - pathPrefix: this.url - }); - } - /** SigningInfos queries signing info of all validators */ - async signingInfos(req: QuerySigningInfosRequest, headers?: HeadersInit): Promise { - return Query.signingInfos(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.ts deleted file mode 100644 index aaa17c667..000000000 --- a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/query.ts +++ /dev/null @@ -1,709 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Params, ParamsAmino, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoAmino, ValidatorSigningInfoSDKType } from "./slashing"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../../helpers"; -export const protobufPackage = "cosmos.slashing.v1beta1"; -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequest {} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequestAmino {} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method */ -export interface QueryParamsRequestSDKType {} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponse { - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponseAmino { - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequest { - /** cons_address is the address to query signing info of */ - consAddress: string; -} -export interface QuerySigningInfoRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoRequest"; - value: Uint8Array; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequestAmino { - /** cons_address is the address to query signing info of */ - cons_address: string; -} -export interface QuerySigningInfoRequestAminoMsg { - type: "cosmos-sdk/QuerySigningInfoRequest"; - value: QuerySigningInfoRequestAmino; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequestSDKType { - cons_address: string; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponse { - /** val_signing_info is the signing info of requested val cons address */ - valSigningInfo: ValidatorSigningInfo; -} -export interface QuerySigningInfoResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoResponse"; - value: Uint8Array; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponseAmino { - /** val_signing_info is the signing info of requested val cons address */ - val_signing_info?: ValidatorSigningInfoAmino; -} -export interface QuerySigningInfoResponseAminoMsg { - type: "cosmos-sdk/QuerySigningInfoResponse"; - value: QuerySigningInfoResponseAmino; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponseSDKType { - val_signing_info: ValidatorSigningInfoSDKType; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequest { - pagination: PageRequest; -} -export interface QuerySigningInfosRequestProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosRequest"; - value: Uint8Array; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequestAmino { - pagination?: PageRequestAmino; -} -export interface QuerySigningInfosRequestAminoMsg { - type: "cosmos-sdk/QuerySigningInfosRequest"; - value: QuerySigningInfosRequestAmino; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponse { - /** info is the signing info of all validators */ - info: ValidatorSigningInfo[]; - pagination: PageResponse; -} -export interface QuerySigningInfosResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosResponse"; - value: Uint8Array; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponseAmino { - /** info is the signing info of all validators */ - info: ValidatorSigningInfoAmino[]; - pagination?: PageResponseAmino; -} -export interface QuerySigningInfosResponseAminoMsg { - type: "cosmos-sdk/QuerySigningInfosResponse"; - value: QuerySigningInfosResponseAmino; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponseSDKType { - info: ValidatorSigningInfoSDKType[]; - pagination: PageResponseSDKType; -} -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} -export const QueryParamsRequest = { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsRequest", - aminoType: "cosmos-sdk/QueryParamsRequest", - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryParamsRequest { - const obj = createBaseQueryParamsRequest(); - return obj; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - }, - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest { - return {}; - }, - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest { - return {}; - }, - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest { - return QueryParamsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryParamsRequest", - value: QueryParamsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest { - return QueryParamsRequest.decode(message.value); - }, - toProto(message: QueryParamsRequest): Uint8Array { - return QueryParamsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsRequest", - value: QueryParamsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: Params.fromPartial({}) - }; -} -export const QueryParamsResponse = { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsResponse", - aminoType: "cosmos-sdk/QueryParamsResponse", - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsResponse { - const obj = createBaseQueryParamsResponse(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - return obj; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - return message; - }, - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse { - return { - params: object.params ? Params.fromSDK(object.params) : undefined - }; - }, - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - return obj; - }, - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined - }; - }, - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - return obj; - }, - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse { - return QueryParamsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryParamsResponse", - value: QueryParamsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse { - return QueryParamsResponse.decode(message.value); - }, - toProto(message: QueryParamsResponse): Uint8Array { - return QueryParamsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QueryParamsResponse", - value: QueryParamsResponse.encode(message).finish() - }; - } -}; -function createBaseQuerySigningInfoRequest(): QuerySigningInfoRequest { - return { - consAddress: "" - }; -} -export const QuerySigningInfoRequest = { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoRequest", - aminoType: "cosmos-sdk/QuerySigningInfoRequest", - encode(message: QuerySigningInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.consAddress !== "") { - writer.uint32(10).string(message.consAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySigningInfoRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.consAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySigningInfoRequest { - const obj = createBaseQuerySigningInfoRequest(); - if (isSet(object.consAddress)) obj.consAddress = String(object.consAddress); - return obj; - }, - toJSON(message: QuerySigningInfoRequest): unknown { - const obj: any = {}; - message.consAddress !== undefined && (obj.consAddress = message.consAddress); - return obj; - }, - fromPartial(object: DeepPartial): QuerySigningInfoRequest { - const message = createBaseQuerySigningInfoRequest(); - message.consAddress = object.consAddress ?? ""; - return message; - }, - fromSDK(object: QuerySigningInfoRequestSDKType): QuerySigningInfoRequest { - return { - consAddress: object?.cons_address - }; - }, - toSDK(message: QuerySigningInfoRequest): QuerySigningInfoRequestSDKType { - const obj: any = {}; - obj.cons_address = message.consAddress; - return obj; - }, - fromAmino(object: QuerySigningInfoRequestAmino): QuerySigningInfoRequest { - return { - consAddress: object.cons_address - }; - }, - toAmino(message: QuerySigningInfoRequest): QuerySigningInfoRequestAmino { - const obj: any = {}; - obj.cons_address = message.consAddress; - return obj; - }, - fromAminoMsg(object: QuerySigningInfoRequestAminoMsg): QuerySigningInfoRequest { - return QuerySigningInfoRequest.fromAmino(object.value); - }, - toAminoMsg(message: QuerySigningInfoRequest): QuerySigningInfoRequestAminoMsg { - return { - type: "cosmos-sdk/QuerySigningInfoRequest", - value: QuerySigningInfoRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySigningInfoRequestProtoMsg): QuerySigningInfoRequest { - return QuerySigningInfoRequest.decode(message.value); - }, - toProto(message: QuerySigningInfoRequest): Uint8Array { - return QuerySigningInfoRequest.encode(message).finish(); - }, - toProtoMsg(message: QuerySigningInfoRequest): QuerySigningInfoRequestProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoRequest", - value: QuerySigningInfoRequest.encode(message).finish() - }; - } -}; -function createBaseQuerySigningInfoResponse(): QuerySigningInfoResponse { - return { - valSigningInfo: ValidatorSigningInfo.fromPartial({}) - }; -} -export const QuerySigningInfoResponse = { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoResponse", - aminoType: "cosmos-sdk/QuerySigningInfoResponse", - encode(message: QuerySigningInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.valSigningInfo !== undefined) { - ValidatorSigningInfo.encode(message.valSigningInfo, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySigningInfoResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.valSigningInfo = ValidatorSigningInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySigningInfoResponse { - const obj = createBaseQuerySigningInfoResponse(); - if (isSet(object.valSigningInfo)) obj.valSigningInfo = ValidatorSigningInfo.fromJSON(object.valSigningInfo); - return obj; - }, - toJSON(message: QuerySigningInfoResponse): unknown { - const obj: any = {}; - message.valSigningInfo !== undefined && (obj.valSigningInfo = message.valSigningInfo ? ValidatorSigningInfo.toJSON(message.valSigningInfo) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QuerySigningInfoResponse { - const message = createBaseQuerySigningInfoResponse(); - if (object.valSigningInfo !== undefined && object.valSigningInfo !== null) { - message.valSigningInfo = ValidatorSigningInfo.fromPartial(object.valSigningInfo); - } - return message; - }, - fromSDK(object: QuerySigningInfoResponseSDKType): QuerySigningInfoResponse { - return { - valSigningInfo: object.val_signing_info ? ValidatorSigningInfo.fromSDK(object.val_signing_info) : undefined - }; - }, - toSDK(message: QuerySigningInfoResponse): QuerySigningInfoResponseSDKType { - const obj: any = {}; - message.valSigningInfo !== undefined && (obj.val_signing_info = message.valSigningInfo ? ValidatorSigningInfo.toSDK(message.valSigningInfo) : undefined); - return obj; - }, - fromAmino(object: QuerySigningInfoResponseAmino): QuerySigningInfoResponse { - return { - valSigningInfo: object?.val_signing_info ? ValidatorSigningInfo.fromAmino(object.val_signing_info) : undefined - }; - }, - toAmino(message: QuerySigningInfoResponse): QuerySigningInfoResponseAmino { - const obj: any = {}; - obj.val_signing_info = message.valSigningInfo ? ValidatorSigningInfo.toAmino(message.valSigningInfo) : undefined; - return obj; - }, - fromAminoMsg(object: QuerySigningInfoResponseAminoMsg): QuerySigningInfoResponse { - return QuerySigningInfoResponse.fromAmino(object.value); - }, - toAminoMsg(message: QuerySigningInfoResponse): QuerySigningInfoResponseAminoMsg { - return { - type: "cosmos-sdk/QuerySigningInfoResponse", - value: QuerySigningInfoResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySigningInfoResponseProtoMsg): QuerySigningInfoResponse { - return QuerySigningInfoResponse.decode(message.value); - }, - toProto(message: QuerySigningInfoResponse): Uint8Array { - return QuerySigningInfoResponse.encode(message).finish(); - }, - toProtoMsg(message: QuerySigningInfoResponse): QuerySigningInfoResponseProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfoResponse", - value: QuerySigningInfoResponse.encode(message).finish() - }; - } -}; -function createBaseQuerySigningInfosRequest(): QuerySigningInfosRequest { - return { - pagination: PageRequest.fromPartial({}) - }; -} -export const QuerySigningInfosRequest = { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosRequest", - aminoType: "cosmos-sdk/QuerySigningInfosRequest", - encode(message: QuerySigningInfosRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySigningInfosRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySigningInfosRequest { - const obj = createBaseQuerySigningInfosRequest(); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QuerySigningInfosRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QuerySigningInfosRequest { - const message = createBaseQuerySigningInfosRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QuerySigningInfosRequestSDKType): QuerySigningInfosRequest { - return { - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QuerySigningInfosRequest): QuerySigningInfosRequestSDKType { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QuerySigningInfosRequestAmino): QuerySigningInfosRequest { - return { - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QuerySigningInfosRequest): QuerySigningInfosRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QuerySigningInfosRequestAminoMsg): QuerySigningInfosRequest { - return QuerySigningInfosRequest.fromAmino(object.value); - }, - toAminoMsg(message: QuerySigningInfosRequest): QuerySigningInfosRequestAminoMsg { - return { - type: "cosmos-sdk/QuerySigningInfosRequest", - value: QuerySigningInfosRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySigningInfosRequestProtoMsg): QuerySigningInfosRequest { - return QuerySigningInfosRequest.decode(message.value); - }, - toProto(message: QuerySigningInfosRequest): Uint8Array { - return QuerySigningInfosRequest.encode(message).finish(); - }, - toProtoMsg(message: QuerySigningInfosRequest): QuerySigningInfosRequestProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosRequest", - value: QuerySigningInfosRequest.encode(message).finish() - }; - } -}; -function createBaseQuerySigningInfosResponse(): QuerySigningInfosResponse { - return { - info: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QuerySigningInfosResponse = { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosResponse", - aminoType: "cosmos-sdk/QuerySigningInfosResponse", - encode(message: QuerySigningInfosResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.info) { - ValidatorSigningInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySigningInfosResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.info.push(ValidatorSigningInfo.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySigningInfosResponse { - const obj = createBaseQuerySigningInfosResponse(); - if (Array.isArray(object?.info)) obj.info = object.info.map((e: any) => ValidatorSigningInfo.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QuerySigningInfosResponse): unknown { - const obj: any = {}; - if (message.info) { - obj.info = message.info.map(e => e ? ValidatorSigningInfo.toJSON(e) : undefined); - } else { - obj.info = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QuerySigningInfosResponse { - const message = createBaseQuerySigningInfosResponse(); - message.info = object.info?.map(e => ValidatorSigningInfo.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QuerySigningInfosResponseSDKType): QuerySigningInfosResponse { - return { - info: Array.isArray(object?.info) ? object.info.map((e: any) => ValidatorSigningInfo.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QuerySigningInfosResponse): QuerySigningInfosResponseSDKType { - const obj: any = {}; - if (message.info) { - obj.info = message.info.map(e => e ? ValidatorSigningInfo.toSDK(e) : undefined); - } else { - obj.info = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QuerySigningInfosResponseAmino): QuerySigningInfosResponse { - return { - info: Array.isArray(object?.info) ? object.info.map((e: any) => ValidatorSigningInfo.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QuerySigningInfosResponse): QuerySigningInfosResponseAmino { - const obj: any = {}; - if (message.info) { - obj.info = message.info.map(e => e ? ValidatorSigningInfo.toAmino(e) : undefined); - } else { - obj.info = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QuerySigningInfosResponseAminoMsg): QuerySigningInfosResponse { - return QuerySigningInfosResponse.fromAmino(object.value); - }, - toAminoMsg(message: QuerySigningInfosResponse): QuerySigningInfosResponseAminoMsg { - return { - type: "cosmos-sdk/QuerySigningInfosResponse", - value: QuerySigningInfosResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySigningInfosResponseProtoMsg): QuerySigningInfosResponse { - return QuerySigningInfosResponse.decode(message.value); - }, - toProto(message: QuerySigningInfosResponse): Uint8Array { - return QuerySigningInfosResponse.encode(message).finish(); - }, - toProtoMsg(message: QuerySigningInfosResponse): QuerySigningInfosResponseProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.QuerySigningInfosResponse", - value: QuerySigningInfosResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/slashing.ts b/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/slashing.ts deleted file mode 100644 index a89fb75c9..000000000 --- a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/slashing.ts +++ /dev/null @@ -1,423 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Long, toTimestamp, fromTimestamp, isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.slashing.v1beta1"; -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfo { - address: string; - /** Height at which validator was first a candidate OR was unjailed */ - startHeight: Long; - /** - * Index which is incremented each time the validator was a bonded - * in a block and may have signed a precommit or not. This in conjunction with the - * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - */ - indexOffset: Long; - /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailedUntil: Date; - /** - * Whether or not a validator has been tombstoned (killed out of validator set). It is set - * once the validator commits an equivocation or for any other configured misbehiavor. - */ - tombstoned: boolean; - /** - * A counter kept to avoid unnecessary array reads. - * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. - */ - missedBlocksCounter: Long; -} -export interface ValidatorSigningInfoProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorSigningInfo"; - value: Uint8Array; -} -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfoAmino { - address: string; - /** Height at which validator was first a candidate OR was unjailed */ - start_height: string; - /** - * Index which is incremented each time the validator was a bonded - * in a block and may have signed a precommit or not. This in conjunction with the - * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - */ - index_offset: string; - /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailed_until?: Date; - /** - * Whether or not a validator has been tombstoned (killed out of validator set). It is set - * once the validator commits an equivocation or for any other configured misbehiavor. - */ - tombstoned: boolean; - /** - * A counter kept to avoid unnecessary array reads. - * Note that `Sum(MissedBlocksBitArray)` always equals `MissedBlocksCounter`. - */ - missed_blocks_counter: string; -} -export interface ValidatorSigningInfoAminoMsg { - type: "cosmos-sdk/ValidatorSigningInfo"; - value: ValidatorSigningInfoAmino; -} -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfoSDKType { - address: string; - start_height: Long; - index_offset: Long; - jailed_until: Date; - tombstoned: boolean; - missed_blocks_counter: Long; -} -/** Params represents the parameters used for by the slashing module. */ -export interface Params { - signedBlocksWindow: Long; - minSignedPerWindow: Uint8Array; - downtimeJailDuration: Duration; - slashFractionDoubleSign: Uint8Array; - slashFractionDowntime: Uint8Array; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.Params"; - value: Uint8Array; -} -/** Params represents the parameters used for by the slashing module. */ -export interface ParamsAmino { - signed_blocks_window: string; - min_signed_per_window: Uint8Array; - downtime_jail_duration?: DurationAmino; - slash_fraction_double_sign: Uint8Array; - slash_fraction_downtime: Uint8Array; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params represents the parameters used for by the slashing module. */ -export interface ParamsSDKType { - signed_blocks_window: Long; - min_signed_per_window: Uint8Array; - downtime_jail_duration: DurationSDKType; - slash_fraction_double_sign: Uint8Array; - slash_fraction_downtime: Uint8Array; -} -function createBaseValidatorSigningInfo(): ValidatorSigningInfo { - return { - address: "", - startHeight: Long.ZERO, - indexOffset: Long.ZERO, - jailedUntil: new Date(), - tombstoned: false, - missedBlocksCounter: Long.ZERO - }; -} -export const ValidatorSigningInfo = { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorSigningInfo", - aminoType: "cosmos-sdk/ValidatorSigningInfo", - encode(message: ValidatorSigningInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (!message.startHeight.isZero()) { - writer.uint32(16).int64(message.startHeight); - } - if (!message.indexOffset.isZero()) { - writer.uint32(24).int64(message.indexOffset); - } - if (message.jailedUntil !== undefined) { - Timestamp.encode(toTimestamp(message.jailedUntil), writer.uint32(34).fork()).ldelim(); - } - if (message.tombstoned === true) { - writer.uint32(40).bool(message.tombstoned); - } - if (!message.missedBlocksCounter.isZero()) { - writer.uint32(48).int64(message.missedBlocksCounter); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSigningInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidatorSigningInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.startHeight = (reader.int64() as Long); - break; - case 3: - message.indexOffset = (reader.int64() as Long); - break; - case 4: - message.jailedUntil = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 5: - message.tombstoned = reader.bool(); - break; - case 6: - message.missedBlocksCounter = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValidatorSigningInfo { - const obj = createBaseValidatorSigningInfo(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.startHeight)) obj.startHeight = Long.fromValue(object.startHeight); - if (isSet(object.indexOffset)) obj.indexOffset = Long.fromValue(object.indexOffset); - if (isSet(object.jailedUntil)) obj.jailedUntil = new Date(object.jailedUntil); - if (isSet(object.tombstoned)) obj.tombstoned = Boolean(object.tombstoned); - if (isSet(object.missedBlocksCounter)) obj.missedBlocksCounter = Long.fromValue(object.missedBlocksCounter); - return obj; - }, - toJSON(message: ValidatorSigningInfo): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.startHeight !== undefined && (obj.startHeight = (message.startHeight || Long.ZERO).toString()); - message.indexOffset !== undefined && (obj.indexOffset = (message.indexOffset || Long.ZERO).toString()); - message.jailedUntil !== undefined && (obj.jailedUntil = message.jailedUntil.toISOString()); - message.tombstoned !== undefined && (obj.tombstoned = message.tombstoned); - message.missedBlocksCounter !== undefined && (obj.missedBlocksCounter = (message.missedBlocksCounter || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): ValidatorSigningInfo { - const message = createBaseValidatorSigningInfo(); - message.address = object.address ?? ""; - if (object.startHeight !== undefined && object.startHeight !== null) { - message.startHeight = Long.fromValue(object.startHeight); - } - if (object.indexOffset !== undefined && object.indexOffset !== null) { - message.indexOffset = Long.fromValue(object.indexOffset); - } - message.jailedUntil = object.jailedUntil ?? undefined; - message.tombstoned = object.tombstoned ?? false; - if (object.missedBlocksCounter !== undefined && object.missedBlocksCounter !== null) { - message.missedBlocksCounter = Long.fromValue(object.missedBlocksCounter); - } - return message; - }, - fromSDK(object: ValidatorSigningInfoSDKType): ValidatorSigningInfo { - return { - address: object?.address, - startHeight: object?.start_height, - indexOffset: object?.index_offset, - jailedUntil: object.jailed_until ?? undefined, - tombstoned: object?.tombstoned, - missedBlocksCounter: object?.missed_blocks_counter - }; - }, - toSDK(message: ValidatorSigningInfo): ValidatorSigningInfoSDKType { - const obj: any = {}; - obj.address = message.address; - obj.start_height = message.startHeight; - obj.index_offset = message.indexOffset; - message.jailedUntil !== undefined && (obj.jailed_until = message.jailedUntil ?? undefined); - obj.tombstoned = message.tombstoned; - obj.missed_blocks_counter = message.missedBlocksCounter; - return obj; - }, - fromAmino(object: ValidatorSigningInfoAmino): ValidatorSigningInfo { - return { - address: object.address, - startHeight: Long.fromString(object.start_height), - indexOffset: Long.fromString(object.index_offset), - jailedUntil: object.jailed_until, - tombstoned: object.tombstoned, - missedBlocksCounter: Long.fromString(object.missed_blocks_counter) - }; - }, - toAmino(message: ValidatorSigningInfo): ValidatorSigningInfoAmino { - const obj: any = {}; - obj.address = message.address; - obj.start_height = message.startHeight ? message.startHeight.toString() : undefined; - obj.index_offset = message.indexOffset ? message.indexOffset.toString() : undefined; - obj.jailed_until = message.jailedUntil; - obj.tombstoned = message.tombstoned; - obj.missed_blocks_counter = message.missedBlocksCounter ? message.missedBlocksCounter.toString() : undefined; - return obj; - }, - fromAminoMsg(object: ValidatorSigningInfoAminoMsg): ValidatorSigningInfo { - return ValidatorSigningInfo.fromAmino(object.value); - }, - toAminoMsg(message: ValidatorSigningInfo): ValidatorSigningInfoAminoMsg { - return { - type: "cosmos-sdk/ValidatorSigningInfo", - value: ValidatorSigningInfo.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorSigningInfoProtoMsg): ValidatorSigningInfo { - return ValidatorSigningInfo.decode(message.value); - }, - toProto(message: ValidatorSigningInfo): Uint8Array { - return ValidatorSigningInfo.encode(message).finish(); - }, - toProtoMsg(message: ValidatorSigningInfo): ValidatorSigningInfoProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.ValidatorSigningInfo", - value: ValidatorSigningInfo.encode(message).finish() - }; - } -}; -function createBaseParams(): Params { - return { - signedBlocksWindow: Long.ZERO, - minSignedPerWindow: new Uint8Array(), - downtimeJailDuration: Duration.fromPartial({}), - slashFractionDoubleSign: new Uint8Array(), - slashFractionDowntime: new Uint8Array() - }; -} -export const Params = { - typeUrl: "/cosmos.slashing.v1beta1.Params", - aminoType: "cosmos-sdk/Params", - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.signedBlocksWindow.isZero()) { - writer.uint32(8).int64(message.signedBlocksWindow); - } - if (message.minSignedPerWindow.length !== 0) { - writer.uint32(18).bytes(message.minSignedPerWindow); - } - if (message.downtimeJailDuration !== undefined) { - Duration.encode(message.downtimeJailDuration, writer.uint32(26).fork()).ldelim(); - } - if (message.slashFractionDoubleSign.length !== 0) { - writer.uint32(34).bytes(message.slashFractionDoubleSign); - } - if (message.slashFractionDowntime.length !== 0) { - writer.uint32(42).bytes(message.slashFractionDowntime); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.signedBlocksWindow = (reader.int64() as Long); - break; - case 2: - message.minSignedPerWindow = reader.bytes(); - break; - case 3: - message.downtimeJailDuration = Duration.decode(reader, reader.uint32()); - break; - case 4: - message.slashFractionDoubleSign = reader.bytes(); - break; - case 5: - message.slashFractionDowntime = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Params { - const obj = createBaseParams(); - if (isSet(object.signedBlocksWindow)) obj.signedBlocksWindow = Long.fromValue(object.signedBlocksWindow); - if (isSet(object.minSignedPerWindow)) obj.minSignedPerWindow = bytesFromBase64(object.minSignedPerWindow); - if (isSet(object.downtimeJailDuration)) obj.downtimeJailDuration = Duration.fromJSON(object.downtimeJailDuration); - if (isSet(object.slashFractionDoubleSign)) obj.slashFractionDoubleSign = bytesFromBase64(object.slashFractionDoubleSign); - if (isSet(object.slashFractionDowntime)) obj.slashFractionDowntime = bytesFromBase64(object.slashFractionDowntime); - return obj; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.signedBlocksWindow !== undefined && (obj.signedBlocksWindow = (message.signedBlocksWindow || Long.ZERO).toString()); - message.minSignedPerWindow !== undefined && (obj.minSignedPerWindow = base64FromBytes(message.minSignedPerWindow !== undefined ? message.minSignedPerWindow : new Uint8Array())); - message.downtimeJailDuration !== undefined && (obj.downtimeJailDuration = message.downtimeJailDuration ? Duration.toJSON(message.downtimeJailDuration) : undefined); - message.slashFractionDoubleSign !== undefined && (obj.slashFractionDoubleSign = base64FromBytes(message.slashFractionDoubleSign !== undefined ? message.slashFractionDoubleSign : new Uint8Array())); - message.slashFractionDowntime !== undefined && (obj.slashFractionDowntime = base64FromBytes(message.slashFractionDowntime !== undefined ? message.slashFractionDowntime : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): Params { - const message = createBaseParams(); - if (object.signedBlocksWindow !== undefined && object.signedBlocksWindow !== null) { - message.signedBlocksWindow = Long.fromValue(object.signedBlocksWindow); - } - message.minSignedPerWindow = object.minSignedPerWindow ?? new Uint8Array(); - if (object.downtimeJailDuration !== undefined && object.downtimeJailDuration !== null) { - message.downtimeJailDuration = Duration.fromPartial(object.downtimeJailDuration); - } - message.slashFractionDoubleSign = object.slashFractionDoubleSign ?? new Uint8Array(); - message.slashFractionDowntime = object.slashFractionDowntime ?? new Uint8Array(); - return message; - }, - fromSDK(object: ParamsSDKType): Params { - return { - signedBlocksWindow: object?.signed_blocks_window, - minSignedPerWindow: object?.min_signed_per_window, - downtimeJailDuration: object.downtime_jail_duration ? Duration.fromSDK(object.downtime_jail_duration) : undefined, - slashFractionDoubleSign: object?.slash_fraction_double_sign, - slashFractionDowntime: object?.slash_fraction_downtime - }; - }, - toSDK(message: Params): ParamsSDKType { - const obj: any = {}; - obj.signed_blocks_window = message.signedBlocksWindow; - obj.min_signed_per_window = message.minSignedPerWindow; - message.downtimeJailDuration !== undefined && (obj.downtime_jail_duration = message.downtimeJailDuration ? Duration.toSDK(message.downtimeJailDuration) : undefined); - obj.slash_fraction_double_sign = message.slashFractionDoubleSign; - obj.slash_fraction_downtime = message.slashFractionDowntime; - return obj; - }, - fromAmino(object: ParamsAmino): Params { - return { - signedBlocksWindow: Long.fromString(object.signed_blocks_window), - minSignedPerWindow: object.min_signed_per_window, - downtimeJailDuration: object?.downtime_jail_duration ? Duration.fromAmino(object.downtime_jail_duration) : undefined, - slashFractionDoubleSign: object.slash_fraction_double_sign, - slashFractionDowntime: object.slash_fraction_downtime - }; - }, - toAmino(message: Params): ParamsAmino { - const obj: any = {}; - obj.signed_blocks_window = message.signedBlocksWindow ? message.signedBlocksWindow.toString() : undefined; - obj.min_signed_per_window = message.minSignedPerWindow; - obj.downtime_jail_duration = message.downtimeJailDuration ? Duration.toAmino(message.downtimeJailDuration) : undefined; - obj.slash_fraction_double_sign = message.slashFractionDoubleSign; - obj.slash_fraction_downtime = message.slashFractionDowntime; - return obj; - }, - fromAminoMsg(object: ParamsAminoMsg): Params { - return Params.fromAmino(object.value); - }, - toAminoMsg(message: Params): ParamsAminoMsg { - return { - type: "cosmos-sdk/Params", - value: Params.toAmino(message) - }; - }, - fromProtoMsg(message: ParamsProtoMsg): Params { - return Params.decode(message.value); - }, - toProto(message: Params): Uint8Array { - return Params.encode(message).finish(); - }, - toProtoMsg(message: Params): ParamsProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.Params", - value: Params.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts deleted file mode 100644 index 00acf595f..000000000 --- a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { MsgUnjail, MsgUnjailSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.slashing.v1beta1.MsgUnjail": { - aminoType: "cosmos-sdk/MsgUnjail", - toAmino: MsgUnjail.toAmino, - fromAmino: MsgUnjail.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts deleted file mode 100644 index cbbf990ff..000000000 --- a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgUnjail, MsgUnjailSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.slashing.v1beta1.MsgUnjail", MsgUnjail]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - unjail(value: MsgUnjail) { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value: MsgUnjail.encode(value).finish() - }; - } - }, - withTypeUrl: { - unjail(value: MsgUnjail) { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value - }; - } - }, - toJSON: { - unjail(value: MsgUnjail) { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value: MsgUnjail.toJSON(value) - }; - } - }, - fromJSON: { - unjail(value: any) { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value: MsgUnjail.fromJSON(value) - }; - } - }, - fromPartial: { - unjail(value: MsgUnjail) { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value: MsgUnjail.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 0647dc06e..000000000 --- a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,16 +0,0 @@ -import * as fm from "../../../grpc-gateway"; -import { MsgUnjail, MsgUnjailSDKType, MsgUnjailResponse, MsgUnjailResponseSDKType } from "./tx"; -export class Msg { - /** - * Unjail defines a method for unjailing a jailed validator, thus returning - * them into the bonded validator set, so they can begin receiving provisions - * and rewards again. - */ - static unjail(request: MsgUnjail, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.slashing.v1beta1/unjail`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.ts deleted file mode 100644 index 4319b8f7e..000000000 --- a/quicksilverjs/src/codegen/cosmos/slashing/v1beta1/tx.ts +++ /dev/null @@ -1,196 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.slashing.v1beta1"; -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjail { - validatorAddr: string; -} -export interface MsgUnjailProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail"; - value: Uint8Array; -} -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjailAmino { - validator_addr: string; -} -export interface MsgUnjailAminoMsg { - type: "cosmos-sdk/MsgUnjail"; - value: MsgUnjailAmino; -} -/** MsgUnjail defines the Msg/Unjail request type */ -export interface MsgUnjailSDKType { - validator_addr: string; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponse {} -export interface MsgUnjailResponseProtoMsg { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjailResponse"; - value: Uint8Array; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponseAmino {} -export interface MsgUnjailResponseAminoMsg { - type: "cosmos-sdk/MsgUnjailResponse"; - value: MsgUnjailResponseAmino; -} -/** MsgUnjailResponse defines the Msg/Unjail response type */ -export interface MsgUnjailResponseSDKType {} -function createBaseMsgUnjail(): MsgUnjail { - return { - validatorAddr: "" - }; -} -export const MsgUnjail = { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - aminoType: "cosmos-sdk/MsgUnjail", - encode(message: MsgUnjail, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddr !== "") { - writer.uint32(10).string(message.validatorAddr); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjail { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUnjail(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddr = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgUnjail { - const obj = createBaseMsgUnjail(); - if (isSet(object.validatorAddr)) obj.validatorAddr = String(object.validatorAddr); - return obj; - }, - toJSON(message: MsgUnjail): unknown { - const obj: any = {}; - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - return obj; - }, - fromPartial(object: DeepPartial): MsgUnjail { - const message = createBaseMsgUnjail(); - message.validatorAddr = object.validatorAddr ?? ""; - return message; - }, - fromSDK(object: MsgUnjailSDKType): MsgUnjail { - return { - validatorAddr: object?.validator_addr - }; - }, - toSDK(message: MsgUnjail): MsgUnjailSDKType { - const obj: any = {}; - obj.validator_addr = message.validatorAddr; - return obj; - }, - fromAmino(object: MsgUnjailAmino): MsgUnjail { - return { - validatorAddr: object.validator_addr - }; - }, - toAmino(message: MsgUnjail): MsgUnjailAmino { - const obj: any = {}; - obj.validator_addr = message.validatorAddr; - return obj; - }, - fromAminoMsg(object: MsgUnjailAminoMsg): MsgUnjail { - return MsgUnjail.fromAmino(object.value); - }, - toAminoMsg(message: MsgUnjail): MsgUnjailAminoMsg { - return { - type: "cosmos-sdk/MsgUnjail", - value: MsgUnjail.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUnjailProtoMsg): MsgUnjail { - return MsgUnjail.decode(message.value); - }, - toProto(message: MsgUnjail): Uint8Array { - return MsgUnjail.encode(message).finish(); - }, - toProtoMsg(message: MsgUnjail): MsgUnjailProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjail", - value: MsgUnjail.encode(message).finish() - }; - } -}; -function createBaseMsgUnjailResponse(): MsgUnjailResponse { - return {}; -} -export const MsgUnjailResponse = { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjailResponse", - aminoType: "cosmos-sdk/MsgUnjailResponse", - encode(_: MsgUnjailResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUnjailResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgUnjailResponse { - const obj = createBaseMsgUnjailResponse(); - return obj; - }, - toJSON(_: MsgUnjailResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgUnjailResponse { - const message = createBaseMsgUnjailResponse(); - return message; - }, - fromSDK(_: MsgUnjailResponseSDKType): MsgUnjailResponse { - return {}; - }, - toSDK(_: MsgUnjailResponse): MsgUnjailResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgUnjailResponseAmino): MsgUnjailResponse { - return {}; - }, - toAmino(_: MsgUnjailResponse): MsgUnjailResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgUnjailResponseAminoMsg): MsgUnjailResponse { - return MsgUnjailResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgUnjailResponse): MsgUnjailResponseAminoMsg { - return { - type: "cosmos-sdk/MsgUnjailResponse", - value: MsgUnjailResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUnjailResponseProtoMsg): MsgUnjailResponse { - return MsgUnjailResponse.decode(message.value); - }, - toProto(message: MsgUnjailResponse): Uint8Array { - return MsgUnjailResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgUnjailResponse): MsgUnjailResponseProtoMsg { - return { - typeUrl: "/cosmos.slashing.v1beta1.MsgUnjailResponse", - value: MsgUnjailResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/authz.ts b/quicksilverjs/src/codegen/cosmos/staking/v1beta1/authz.ts deleted file mode 100644 index 5afa602e6..000000000 --- a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/authz.ts +++ /dev/null @@ -1,374 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.staking.v1beta1"; -/** - * AuthorizationType defines the type of staking module authorization type - * - * Since: cosmos-sdk 0.43 - */ -export enum AuthorizationType { - /** AUTHORIZATION_TYPE_UNSPECIFIED - AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type */ - AUTHORIZATION_TYPE_UNSPECIFIED = 0, - /** AUTHORIZATION_TYPE_DELEGATE - AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate */ - AUTHORIZATION_TYPE_DELEGATE = 1, - /** AUTHORIZATION_TYPE_UNDELEGATE - AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate */ - AUTHORIZATION_TYPE_UNDELEGATE = 2, - /** AUTHORIZATION_TYPE_REDELEGATE - AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate */ - AUTHORIZATION_TYPE_REDELEGATE = 3, - UNRECOGNIZED = -1, -} -export const AuthorizationTypeSDKType = AuthorizationType; -export const AuthorizationTypeAmino = AuthorizationType; -export function authorizationTypeFromJSON(object: any): AuthorizationType { - switch (object) { - case 0: - case "AUTHORIZATION_TYPE_UNSPECIFIED": - return AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED; - case 1: - case "AUTHORIZATION_TYPE_DELEGATE": - return AuthorizationType.AUTHORIZATION_TYPE_DELEGATE; - case 2: - case "AUTHORIZATION_TYPE_UNDELEGATE": - return AuthorizationType.AUTHORIZATION_TYPE_UNDELEGATE; - case 3: - case "AUTHORIZATION_TYPE_REDELEGATE": - return AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE; - case -1: - case "UNRECOGNIZED": - default: - return AuthorizationType.UNRECOGNIZED; - } -} -export function authorizationTypeToJSON(object: AuthorizationType): string { - switch (object) { - case AuthorizationType.AUTHORIZATION_TYPE_UNSPECIFIED: - return "AUTHORIZATION_TYPE_UNSPECIFIED"; - case AuthorizationType.AUTHORIZATION_TYPE_DELEGATE: - return "AUTHORIZATION_TYPE_DELEGATE"; - case AuthorizationType.AUTHORIZATION_TYPE_UNDELEGATE: - return "AUTHORIZATION_TYPE_UNDELEGATE"; - case AuthorizationType.AUTHORIZATION_TYPE_REDELEGATE: - return "AUTHORIZATION_TYPE_REDELEGATE"; - case AuthorizationType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ -export interface StakeAuthorization { - /** - * max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is - * empty, there is no spend limit and any amount of coins can be delegated. - */ - maxTokens: Coin; - /** - * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - * account. - */ - allowList?: StakeAuthorization_Validators; - /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - denyList?: StakeAuthorization_Validators; - /** authorization_type defines one of AuthorizationType. */ - authorizationType: AuthorizationType; -} -export interface StakeAuthorizationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.StakeAuthorization"; - value: Uint8Array; -} -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ -export interface StakeAuthorizationAmino { - /** - * max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is - * empty, there is no spend limit and any amount of coins can be delegated. - */ - max_tokens?: CoinAmino; - /** - * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - * account. - */ - allow_list?: StakeAuthorization_ValidatorsAmino; - /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - deny_list?: StakeAuthorization_ValidatorsAmino; - /** authorization_type defines one of AuthorizationType. */ - authorization_type: AuthorizationType; -} -export interface StakeAuthorizationAminoMsg { - type: "cosmos-sdk/StakeAuthorization"; - value: StakeAuthorizationAmino; -} -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ -export interface StakeAuthorizationSDKType { - max_tokens: CoinSDKType; - allow_list?: StakeAuthorization_ValidatorsSDKType; - deny_list?: StakeAuthorization_ValidatorsSDKType; - authorization_type: AuthorizationType; -} -/** Validators defines list of validator addresses. */ -export interface StakeAuthorization_Validators { - address: string[]; -} -export interface StakeAuthorization_ValidatorsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Validators"; - value: Uint8Array; -} -/** Validators defines list of validator addresses. */ -export interface StakeAuthorization_ValidatorsAmino { - address: string[]; -} -export interface StakeAuthorization_ValidatorsAminoMsg { - type: "cosmos-sdk/Validators"; - value: StakeAuthorization_ValidatorsAmino; -} -/** Validators defines list of validator addresses. */ -export interface StakeAuthorization_ValidatorsSDKType { - address: string[]; -} -function createBaseStakeAuthorization(): StakeAuthorization { - return { - maxTokens: Coin.fromPartial({}), - allowList: undefined, - denyList: undefined, - authorizationType: 0 - }; -} -export const StakeAuthorization = { - typeUrl: "/cosmos.staking.v1beta1.StakeAuthorization", - aminoType: "cosmos-sdk/StakeAuthorization", - encode(message: StakeAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.maxTokens !== undefined) { - Coin.encode(message.maxTokens, writer.uint32(10).fork()).ldelim(); - } - if (message.allowList !== undefined) { - StakeAuthorization_Validators.encode(message.allowList, writer.uint32(18).fork()).ldelim(); - } - if (message.denyList !== undefined) { - StakeAuthorization_Validators.encode(message.denyList, writer.uint32(26).fork()).ldelim(); - } - if (message.authorizationType !== 0) { - writer.uint32(32).int32(message.authorizationType); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStakeAuthorization(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.maxTokens = Coin.decode(reader, reader.uint32()); - break; - case 2: - message.allowList = StakeAuthorization_Validators.decode(reader, reader.uint32()); - break; - case 3: - message.denyList = StakeAuthorization_Validators.decode(reader, reader.uint32()); - break; - case 4: - message.authorizationType = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): StakeAuthorization { - const obj = createBaseStakeAuthorization(); - if (isSet(object.maxTokens)) obj.maxTokens = Coin.fromJSON(object.maxTokens); - if (isSet(object.allowList)) obj.allowList = StakeAuthorization_Validators.fromJSON(object.allowList); - if (isSet(object.denyList)) obj.denyList = StakeAuthorization_Validators.fromJSON(object.denyList); - if (isSet(object.authorizationType)) obj.authorizationType = authorizationTypeFromJSON(object.authorizationType); - return obj; - }, - toJSON(message: StakeAuthorization): unknown { - const obj: any = {}; - message.maxTokens !== undefined && (obj.maxTokens = message.maxTokens ? Coin.toJSON(message.maxTokens) : undefined); - message.allowList !== undefined && (obj.allowList = message.allowList ? StakeAuthorization_Validators.toJSON(message.allowList) : undefined); - message.denyList !== undefined && (obj.denyList = message.denyList ? StakeAuthorization_Validators.toJSON(message.denyList) : undefined); - message.authorizationType !== undefined && (obj.authorizationType = authorizationTypeToJSON(message.authorizationType)); - return obj; - }, - fromPartial(object: DeepPartial): StakeAuthorization { - const message = createBaseStakeAuthorization(); - if (object.maxTokens !== undefined && object.maxTokens !== null) { - message.maxTokens = Coin.fromPartial(object.maxTokens); - } - if (object.allowList !== undefined && object.allowList !== null) { - message.allowList = StakeAuthorization_Validators.fromPartial(object.allowList); - } - if (object.denyList !== undefined && object.denyList !== null) { - message.denyList = StakeAuthorization_Validators.fromPartial(object.denyList); - } - message.authorizationType = object.authorizationType ?? 0; - return message; - }, - fromSDK(object: StakeAuthorizationSDKType): StakeAuthorization { - return { - maxTokens: object.max_tokens ? Coin.fromSDK(object.max_tokens) : undefined, - allowList: object.allow_list ? StakeAuthorization_Validators.fromSDK(object.allow_list) : undefined, - denyList: object.deny_list ? StakeAuthorization_Validators.fromSDK(object.deny_list) : undefined, - authorizationType: isSet(object.authorization_type) ? authorizationTypeFromJSON(object.authorization_type) : -1 - }; - }, - toSDK(message: StakeAuthorization): StakeAuthorizationSDKType { - const obj: any = {}; - message.maxTokens !== undefined && (obj.max_tokens = message.maxTokens ? Coin.toSDK(message.maxTokens) : undefined); - message.allowList !== undefined && (obj.allow_list = message.allowList ? StakeAuthorization_Validators.toSDK(message.allowList) : undefined); - message.denyList !== undefined && (obj.deny_list = message.denyList ? StakeAuthorization_Validators.toSDK(message.denyList) : undefined); - message.authorizationType !== undefined && (obj.authorization_type = authorizationTypeToJSON(message.authorizationType)); - return obj; - }, - fromAmino(object: StakeAuthorizationAmino): StakeAuthorization { - return { - maxTokens: object?.max_tokens ? Coin.fromAmino(object.max_tokens) : undefined, - allowList: object?.allow_list ? StakeAuthorization_Validators.fromAmino(object.allow_list) : undefined, - denyList: object?.deny_list ? StakeAuthorization_Validators.fromAmino(object.deny_list) : undefined, - authorizationType: isSet(object.authorization_type) ? authorizationTypeFromJSON(object.authorization_type) : -1 - }; - }, - toAmino(message: StakeAuthorization): StakeAuthorizationAmino { - const obj: any = {}; - obj.max_tokens = message.maxTokens ? Coin.toAmino(message.maxTokens) : undefined; - obj.allow_list = message.allowList ? StakeAuthorization_Validators.toAmino(message.allowList) : undefined; - obj.deny_list = message.denyList ? StakeAuthorization_Validators.toAmino(message.denyList) : undefined; - obj.authorization_type = message.authorizationType; - return obj; - }, - fromAminoMsg(object: StakeAuthorizationAminoMsg): StakeAuthorization { - return StakeAuthorization.fromAmino(object.value); - }, - toAminoMsg(message: StakeAuthorization): StakeAuthorizationAminoMsg { - return { - type: "cosmos-sdk/StakeAuthorization", - value: StakeAuthorization.toAmino(message) - }; - }, - fromProtoMsg(message: StakeAuthorizationProtoMsg): StakeAuthorization { - return StakeAuthorization.decode(message.value); - }, - toProto(message: StakeAuthorization): Uint8Array { - return StakeAuthorization.encode(message).finish(); - }, - toProtoMsg(message: StakeAuthorization): StakeAuthorizationProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.StakeAuthorization", - value: StakeAuthorization.encode(message).finish() - }; - } -}; -function createBaseStakeAuthorization_Validators(): StakeAuthorization_Validators { - return { - address: [] - }; -} -export const StakeAuthorization_Validators = { - typeUrl: "/cosmos.staking.v1beta1.Validators", - aminoType: "cosmos-sdk/Validators", - encode(message: StakeAuthorization_Validators, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.address) { - writer.uint32(10).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization_Validators { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStakeAuthorization_Validators(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): StakeAuthorization_Validators { - const obj = createBaseStakeAuthorization_Validators(); - if (Array.isArray(object?.address)) obj.address = object.address.map((e: any) => String(e)); - return obj; - }, - toJSON(message: StakeAuthorization_Validators): unknown { - const obj: any = {}; - if (message.address) { - obj.address = message.address.map(e => e); - } else { - obj.address = []; - } - return obj; - }, - fromPartial(object: DeepPartial): StakeAuthorization_Validators { - const message = createBaseStakeAuthorization_Validators(); - message.address = object.address?.map(e => e) || []; - return message; - }, - fromSDK(object: StakeAuthorization_ValidatorsSDKType): StakeAuthorization_Validators { - return { - address: Array.isArray(object?.address) ? object.address.map((e: any) => e) : [] - }; - }, - toSDK(message: StakeAuthorization_Validators): StakeAuthorization_ValidatorsSDKType { - const obj: any = {}; - if (message.address) { - obj.address = message.address.map(e => e); - } else { - obj.address = []; - } - return obj; - }, - fromAmino(object: StakeAuthorization_ValidatorsAmino): StakeAuthorization_Validators { - return { - address: Array.isArray(object?.address) ? object.address.map((e: any) => e) : [] - }; - }, - toAmino(message: StakeAuthorization_Validators): StakeAuthorization_ValidatorsAmino { - const obj: any = {}; - if (message.address) { - obj.address = message.address.map(e => e); - } else { - obj.address = []; - } - return obj; - }, - fromAminoMsg(object: StakeAuthorization_ValidatorsAminoMsg): StakeAuthorization_Validators { - return StakeAuthorization_Validators.fromAmino(object.value); - }, - toAminoMsg(message: StakeAuthorization_Validators): StakeAuthorization_ValidatorsAminoMsg { - return { - type: "cosmos-sdk/Validators", - value: StakeAuthorization_Validators.toAmino(message) - }; - }, - fromProtoMsg(message: StakeAuthorization_ValidatorsProtoMsg): StakeAuthorization_Validators { - return StakeAuthorization_Validators.decode(message.value); - }, - toProto(message: StakeAuthorization_Validators): Uint8Array { - return StakeAuthorization_Validators.encode(message).finish(); - }, - toProtoMsg(message: StakeAuthorization_Validators): StakeAuthorization_ValidatorsProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.Validators", - value: StakeAuthorization_Validators.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/genesis.ts b/quicksilverjs/src/codegen/cosmos/staking/v1beta1/genesis.ts deleted file mode 100644 index 4e495e15a..000000000 --- a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/genesis.ts +++ /dev/null @@ -1,450 +0,0 @@ -import { Params, ParamsAmino, ParamsSDKType, Validator, ValidatorAmino, ValidatorSDKType, Delegation, DelegationAmino, DelegationSDKType, UnbondingDelegation, UnbondingDelegationAmino, UnbondingDelegationSDKType, Redelegation, RedelegationAmino, RedelegationSDKType } from "./staking"; -import { Long, isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.staking.v1beta1"; -/** GenesisState defines the staking module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of related to deposit. */ - params: Params; - /** - * last_total_power tracks the total amounts of bonded tokens recorded during - * the previous end block. - */ - lastTotalPower: Uint8Array; - /** - * last_validator_powers is a special index that provides a historical list - * of the last-block's bonded validators. - */ - lastValidatorPowers: LastValidatorPower[]; - /** delegations defines the validator set at genesis. */ - validators: Validator[]; - /** delegations defines the delegations active at genesis. */ - delegations: Delegation[]; - /** unbonding_delegations defines the unbonding delegations active at genesis. */ - unbondingDelegations: UnbondingDelegation[]; - /** redelegations defines the redelegations active at genesis. */ - redelegations: Redelegation[]; - exported: boolean; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.GenesisState"; - value: Uint8Array; -} -/** GenesisState defines the staking module's genesis state. */ -export interface GenesisStateAmino { - /** params defines all the paramaters of related to deposit. */ - params?: ParamsAmino; - /** - * last_total_power tracks the total amounts of bonded tokens recorded during - * the previous end block. - */ - last_total_power: Uint8Array; - /** - * last_validator_powers is a special index that provides a historical list - * of the last-block's bonded validators. - */ - last_validator_powers: LastValidatorPowerAmino[]; - /** delegations defines the validator set at genesis. */ - validators: ValidatorAmino[]; - /** delegations defines the delegations active at genesis. */ - delegations: DelegationAmino[]; - /** unbonding_delegations defines the unbonding delegations active at genesis. */ - unbonding_delegations: UnbondingDelegationAmino[]; - /** redelegations defines the redelegations active at genesis. */ - redelegations: RedelegationAmino[]; - exported: boolean; -} -export interface GenesisStateAminoMsg { - type: "cosmos-sdk/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState defines the staking module's genesis state. */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - last_total_power: Uint8Array; - last_validator_powers: LastValidatorPowerSDKType[]; - validators: ValidatorSDKType[]; - delegations: DelegationSDKType[]; - unbonding_delegations: UnbondingDelegationSDKType[]; - redelegations: RedelegationSDKType[]; - exported: boolean; -} -/** LastValidatorPower required for validator set update logic. */ -export interface LastValidatorPower { - /** address is the address of the validator. */ - address: string; - /** power defines the power of the validator. */ - power: Long; -} -export interface LastValidatorPowerProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.LastValidatorPower"; - value: Uint8Array; -} -/** LastValidatorPower required for validator set update logic. */ -export interface LastValidatorPowerAmino { - /** address is the address of the validator. */ - address: string; - /** power defines the power of the validator. */ - power: string; -} -export interface LastValidatorPowerAminoMsg { - type: "cosmos-sdk/LastValidatorPower"; - value: LastValidatorPowerAmino; -} -/** LastValidatorPower required for validator set update logic. */ -export interface LastValidatorPowerSDKType { - address: string; - power: Long; -} -function createBaseGenesisState(): GenesisState { - return { - params: Params.fromPartial({}), - lastTotalPower: new Uint8Array(), - lastValidatorPowers: [], - validators: [], - delegations: [], - unbondingDelegations: [], - redelegations: [], - exported: false - }; -} -export const GenesisState = { - typeUrl: "/cosmos.staking.v1beta1.GenesisState", - aminoType: "cosmos-sdk/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - if (message.lastTotalPower.length !== 0) { - writer.uint32(18).bytes(message.lastTotalPower); - } - for (const v of message.lastValidatorPowers) { - LastValidatorPower.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.validators) { - Validator.encode(v!, writer.uint32(34).fork()).ldelim(); - } - for (const v of message.delegations) { - Delegation.encode(v!, writer.uint32(42).fork()).ldelim(); - } - for (const v of message.unbondingDelegations) { - UnbondingDelegation.encode(v!, writer.uint32(50).fork()).ldelim(); - } - for (const v of message.redelegations) { - Redelegation.encode(v!, writer.uint32(58).fork()).ldelim(); - } - if (message.exported === true) { - writer.uint32(64).bool(message.exported); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - case 2: - message.lastTotalPower = reader.bytes(); - break; - case 3: - message.lastValidatorPowers.push(LastValidatorPower.decode(reader, reader.uint32())); - break; - case 4: - message.validators.push(Validator.decode(reader, reader.uint32())); - break; - case 5: - message.delegations.push(Delegation.decode(reader, reader.uint32())); - break; - case 6: - message.unbondingDelegations.push(UnbondingDelegation.decode(reader, reader.uint32())); - break; - case 7: - message.redelegations.push(Redelegation.decode(reader, reader.uint32())); - break; - case 8: - message.exported = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - if (isSet(object.lastTotalPower)) obj.lastTotalPower = bytesFromBase64(object.lastTotalPower); - if (Array.isArray(object?.lastValidatorPowers)) obj.lastValidatorPowers = object.lastValidatorPowers.map((e: any) => LastValidatorPower.fromJSON(e)); - if (Array.isArray(object?.validators)) obj.validators = object.validators.map((e: any) => Validator.fromJSON(e)); - if (Array.isArray(object?.delegations)) obj.delegations = object.delegations.map((e: any) => Delegation.fromJSON(e)); - if (Array.isArray(object?.unbondingDelegations)) obj.unbondingDelegations = object.unbondingDelegations.map((e: any) => UnbondingDelegation.fromJSON(e)); - if (Array.isArray(object?.redelegations)) obj.redelegations = object.redelegations.map((e: any) => Redelegation.fromJSON(e)); - if (isSet(object.exported)) obj.exported = Boolean(object.exported); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - message.lastTotalPower !== undefined && (obj.lastTotalPower = base64FromBytes(message.lastTotalPower !== undefined ? message.lastTotalPower : new Uint8Array())); - if (message.lastValidatorPowers) { - obj.lastValidatorPowers = message.lastValidatorPowers.map(e => e ? LastValidatorPower.toJSON(e) : undefined); - } else { - obj.lastValidatorPowers = []; - } - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.validators = []; - } - if (message.delegations) { - obj.delegations = message.delegations.map(e => e ? Delegation.toJSON(e) : undefined); - } else { - obj.delegations = []; - } - if (message.unbondingDelegations) { - obj.unbondingDelegations = message.unbondingDelegations.map(e => e ? UnbondingDelegation.toJSON(e) : undefined); - } else { - obj.unbondingDelegations = []; - } - if (message.redelegations) { - obj.redelegations = message.redelegations.map(e => e ? Redelegation.toJSON(e) : undefined); - } else { - obj.redelegations = []; - } - message.exported !== undefined && (obj.exported = message.exported); - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - message.lastTotalPower = object.lastTotalPower ?? new Uint8Array(); - message.lastValidatorPowers = object.lastValidatorPowers?.map(e => LastValidatorPower.fromPartial(e)) || []; - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - message.delegations = object.delegations?.map(e => Delegation.fromPartial(e)) || []; - message.unbondingDelegations = object.unbondingDelegations?.map(e => UnbondingDelegation.fromPartial(e)) || []; - message.redelegations = object.redelegations?.map(e => Redelegation.fromPartial(e)) || []; - message.exported = object.exported ?? false; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - params: object.params ? Params.fromSDK(object.params) : undefined, - lastTotalPower: object?.last_total_power, - lastValidatorPowers: Array.isArray(object?.last_validator_powers) ? object.last_validator_powers.map((e: any) => LastValidatorPower.fromSDK(e)) : [], - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromSDK(e)) : [], - delegations: Array.isArray(object?.delegations) ? object.delegations.map((e: any) => Delegation.fromSDK(e)) : [], - unbondingDelegations: Array.isArray(object?.unbonding_delegations) ? object.unbonding_delegations.map((e: any) => UnbondingDelegation.fromSDK(e)) : [], - redelegations: Array.isArray(object?.redelegations) ? object.redelegations.map((e: any) => Redelegation.fromSDK(e)) : [], - exported: object?.exported - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - obj.last_total_power = message.lastTotalPower; - if (message.lastValidatorPowers) { - obj.last_validator_powers = message.lastValidatorPowers.map(e => e ? LastValidatorPower.toSDK(e) : undefined); - } else { - obj.last_validator_powers = []; - } - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toSDK(e) : undefined); - } else { - obj.validators = []; - } - if (message.delegations) { - obj.delegations = message.delegations.map(e => e ? Delegation.toSDK(e) : undefined); - } else { - obj.delegations = []; - } - if (message.unbondingDelegations) { - obj.unbonding_delegations = message.unbondingDelegations.map(e => e ? UnbondingDelegation.toSDK(e) : undefined); - } else { - obj.unbonding_delegations = []; - } - if (message.redelegations) { - obj.redelegations = message.redelegations.map(e => e ? Redelegation.toSDK(e) : undefined); - } else { - obj.redelegations = []; - } - obj.exported = message.exported; - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined, - lastTotalPower: object.last_total_power, - lastValidatorPowers: Array.isArray(object?.last_validator_powers) ? object.last_validator_powers.map((e: any) => LastValidatorPower.fromAmino(e)) : [], - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromAmino(e)) : [], - delegations: Array.isArray(object?.delegations) ? object.delegations.map((e: any) => Delegation.fromAmino(e)) : [], - unbondingDelegations: Array.isArray(object?.unbonding_delegations) ? object.unbonding_delegations.map((e: any) => UnbondingDelegation.fromAmino(e)) : [], - redelegations: Array.isArray(object?.redelegations) ? object.redelegations.map((e: any) => Redelegation.fromAmino(e)) : [], - exported: object.exported - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - obj.last_total_power = message.lastTotalPower; - if (message.lastValidatorPowers) { - obj.last_validator_powers = message.lastValidatorPowers.map(e => e ? LastValidatorPower.toAmino(e) : undefined); - } else { - obj.last_validator_powers = []; - } - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toAmino(e) : undefined); - } else { - obj.validators = []; - } - if (message.delegations) { - obj.delegations = message.delegations.map(e => e ? Delegation.toAmino(e) : undefined); - } else { - obj.delegations = []; - } - if (message.unbondingDelegations) { - obj.unbonding_delegations = message.unbondingDelegations.map(e => e ? UnbondingDelegation.toAmino(e) : undefined); - } else { - obj.unbonding_delegations = []; - } - if (message.redelegations) { - obj.redelegations = message.redelegations.map(e => e ? Redelegation.toAmino(e) : undefined); - } else { - obj.redelegations = []; - } - obj.exported = message.exported; - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "cosmos-sdk/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; -function createBaseLastValidatorPower(): LastValidatorPower { - return { - address: "", - power: Long.ZERO - }; -} -export const LastValidatorPower = { - typeUrl: "/cosmos.staking.v1beta1.LastValidatorPower", - aminoType: "cosmos-sdk/LastValidatorPower", - encode(message: LastValidatorPower, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (!message.power.isZero()) { - writer.uint32(16).int64(message.power); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LastValidatorPower { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLastValidatorPower(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.power = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LastValidatorPower { - const obj = createBaseLastValidatorPower(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.power)) obj.power = Long.fromValue(object.power); - return obj; - }, - toJSON(message: LastValidatorPower): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.power !== undefined && (obj.power = (message.power || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): LastValidatorPower { - const message = createBaseLastValidatorPower(); - message.address = object.address ?? ""; - if (object.power !== undefined && object.power !== null) { - message.power = Long.fromValue(object.power); - } - return message; - }, - fromSDK(object: LastValidatorPowerSDKType): LastValidatorPower { - return { - address: object?.address, - power: object?.power - }; - }, - toSDK(message: LastValidatorPower): LastValidatorPowerSDKType { - const obj: any = {}; - obj.address = message.address; - obj.power = message.power; - return obj; - }, - fromAmino(object: LastValidatorPowerAmino): LastValidatorPower { - return { - address: object.address, - power: Long.fromString(object.power) - }; - }, - toAmino(message: LastValidatorPower): LastValidatorPowerAmino { - const obj: any = {}; - obj.address = message.address; - obj.power = message.power ? message.power.toString() : undefined; - return obj; - }, - fromAminoMsg(object: LastValidatorPowerAminoMsg): LastValidatorPower { - return LastValidatorPower.fromAmino(object.value); - }, - toAminoMsg(message: LastValidatorPower): LastValidatorPowerAminoMsg { - return { - type: "cosmos-sdk/LastValidatorPower", - value: LastValidatorPower.toAmino(message) - }; - }, - fromProtoMsg(message: LastValidatorPowerProtoMsg): LastValidatorPower { - return LastValidatorPower.decode(message.value); - }, - toProto(message: LastValidatorPower): Uint8Array { - return LastValidatorPower.encode(message).finish(); - }, - toProtoMsg(message: LastValidatorPower): LastValidatorPowerProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.LastValidatorPower", - value: LastValidatorPower.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.lcd.ts deleted file mode 100644 index 3e361ec87..000000000 --- a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +++ /dev/null @@ -1,154 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryValidatorsRequest, QueryValidatorsRequestSDKType, QueryValidatorsResponse, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorRequestSDKType, QueryValidatorResponse, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsRequestSDKType, QueryValidatorDelegationsResponse, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsRequestSDKType, QueryValidatorUnbondingDelegationsResponse, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationRequestSDKType, QueryDelegationResponse, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationRequestSDKType, QueryUnbondingDelegationResponse, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsRequestSDKType, QueryDelegatorDelegationsResponse, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsRequestSDKType, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsRequestSDKType, QueryRedelegationsResponse, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsRequestSDKType, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorRequestSDKType, QueryDelegatorValidatorResponse, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoRequestSDKType, QueryHistoricalInfoResponse, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolRequestSDKType, QueryPoolResponse, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.validators = this.validators.bind(this); - this.validator = this.validator.bind(this); - this.validatorDelegations = this.validatorDelegations.bind(this); - this.validatorUnbondingDelegations = this.validatorUnbondingDelegations.bind(this); - this.delegation = this.delegation.bind(this); - this.unbondingDelegation = this.unbondingDelegation.bind(this); - this.delegatorDelegations = this.delegatorDelegations.bind(this); - this.delegatorUnbondingDelegations = this.delegatorUnbondingDelegations.bind(this); - this.redelegations = this.redelegations.bind(this); - this.delegatorValidators = this.delegatorValidators.bind(this); - this.delegatorValidator = this.delegatorValidator.bind(this); - this.historicalInfo = this.historicalInfo.bind(this); - this.pool = this.pool.bind(this); - this.params = this.params.bind(this); - } - /* Validators queries all validators that match the given status. */ - async validators(params: QueryValidatorsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.status !== "undefined") { - options.params.status = params.status; - } - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/staking/v1beta1/validators`; - return await this.req.get(endpoint, options); - } - /* Validator queries validator info for given validator address. */ - async validator(params: QueryValidatorRequest): Promise { - const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}`; - return await this.req.get(endpoint); - } - /* ValidatorDelegations queries delegate info for given validator. */ - async validatorDelegations(params: QueryValidatorDelegationsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations`; - return await this.req.get(endpoint, options); - } - /* ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ - async validatorUnbondingDelegations(params: QueryValidatorUnbondingDelegationsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/unbonding_delegations`; - return await this.req.get(endpoint, options); - } - /* Delegation queries delegate info for given validator delegator pair. */ - async delegation(params: QueryDelegationRequest): Promise { - const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations/${params.delegatorAddr}`; - return await this.req.get(endpoint); - } - /* UnbondingDelegation queries unbonding info for given validator delegator - pair. */ - async unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise { - const endpoint = `cosmos/staking/v1beta1/validators/${params.validatorAddr}/delegations/${params.delegatorAddr}/unbonding_delegation`; - return await this.req.get(endpoint); - } - /* DelegatorDelegations queries all delegations of a given delegator address. */ - async delegatorDelegations(params: QueryDelegatorDelegationsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/staking/v1beta1/delegations/${params.delegatorAddr}`; - return await this.req.get(endpoint, options); - } - /* DelegatorUnbondingDelegations queries all unbonding delegations of a given - delegator address. */ - async delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/unbonding_delegations`; - return await this.req.get(endpoint, options); - } - /* Redelegations queries redelegations of given address. */ - async redelegations(params: QueryRedelegationsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.srcValidatorAddr !== "undefined") { - options.params.src_validator_addr = params.srcValidatorAddr; - } - if (typeof params?.dstValidatorAddr !== "undefined") { - options.params.dst_validator_addr = params.dstValidatorAddr; - } - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/redelegations`; - return await this.req.get(endpoint, options); - } - /* DelegatorValidators queries all validators info for given delegator - address. */ - async delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/validators`; - return await this.req.get(endpoint, options); - } - /* DelegatorValidator queries validator info for given delegator validator - pair. */ - async delegatorValidator(params: QueryDelegatorValidatorRequest): Promise { - const endpoint = `cosmos/staking/v1beta1/delegators/${params.delegatorAddr}/validators/${params.validatorAddr}`; - return await this.req.get(endpoint); - } - /* HistoricalInfo queries the historical info for given height. */ - async historicalInfo(params: QueryHistoricalInfoRequest): Promise { - const endpoint = `cosmos/staking/v1beta1/historical_info/${params.height}`; - return await this.req.get(endpoint); - } - /* Pool queries the pool info. */ - async pool(_params: QueryPoolRequest = {}): Promise { - const endpoint = `cosmos/staking/v1beta1/pool`; - return await this.req.get(endpoint); - } - /* Parameters queries the staking parameters. */ - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmos/staking/v1beta1/params`; - return await this.req.get(endpoint); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 75fcb838e..000000000 --- a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,260 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Validator, ValidatorSDKType, DelegationResponse, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoSDKType, Pool, PoolSDKType, Params, ParamsSDKType } from "./staking"; -import * as fm from "../../../grpc-gateway"; -import { QueryValidatorsRequest, QueryValidatorsRequestSDKType, QueryValidatorsResponse, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorRequestSDKType, QueryValidatorResponse, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsRequestSDKType, QueryValidatorDelegationsResponse, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsRequestSDKType, QueryValidatorUnbondingDelegationsResponse, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationRequestSDKType, QueryDelegationResponse, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationRequestSDKType, QueryUnbondingDelegationResponse, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsRequestSDKType, QueryDelegatorDelegationsResponse, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsRequestSDKType, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsRequestSDKType, QueryRedelegationsResponse, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsRequestSDKType, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorRequestSDKType, QueryDelegatorValidatorResponse, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoRequestSDKType, QueryHistoricalInfoResponse, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolRequestSDKType, QueryPoolResponse, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsRequestSDKType, QueryParamsResponse, QueryParamsResponseSDKType } from "./query"; -export class Query { - /** Validators queries all validators that match the given status. */ - static validators(request: QueryValidatorsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/validators?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** Validator queries validator info for given validator address. */ - static validator(request: QueryValidatorRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/validators/${request["validator_addr"]}?${fm.renderURLSearchParams({ - ...request - }, ["validator_addr"])}`, { - ...initRequest, - method: "GET" - }); - } - /** ValidatorDelegations queries delegate info for given validator. */ - static validatorDelegations(request: QueryValidatorDelegationsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/validators/${request["validator_addr"]}/delegations?${fm.renderURLSearchParams({ - ...request - }, ["validator_addr"])}`, { - ...initRequest, - method: "GET" - }); - } - /** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ - static validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/validators/${request["validator_addr"]}/unbonding_delegations?${fm.renderURLSearchParams({ - ...request - }, ["validator_addr"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Delegation queries delegate info for given validator delegator pair. */ - static delegation(request: QueryDelegationRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/validators/${request["validator_addr"]}/delegations/${request["delegator_addr"]}?${fm.renderURLSearchParams({ - ...request - }, ["validator_addr", "delegator_addr"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * UnbondingDelegation queries unbonding info for given validator delegator - * pair. - */ - static unbondingDelegation(request: QueryUnbondingDelegationRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/validators/${request["validator_addr"]}/delegations/${request["delegator_addr"]}/unbonding_delegation?${fm.renderURLSearchParams({ - ...request - }, ["validator_addr", "delegator_addr"])}`, { - ...initRequest, - method: "GET" - }); - } - /** DelegatorDelegations queries all delegations of a given delegator address. */ - static delegatorDelegations(request: QueryDelegatorDelegationsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/delegations/${request["delegator_addr"]}?${fm.renderURLSearchParams({ - ...request - }, ["delegator_addr"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * DelegatorUnbondingDelegations queries all unbonding delegations of a given - * delegator address. - */ - static delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/delegators/${request["delegator_addr"]}/unbonding_delegations?${fm.renderURLSearchParams({ - ...request - }, ["delegator_addr"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Redelegations queries redelegations of given address. */ - static redelegations(request: QueryRedelegationsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/delegators/${request["delegator_addr"]}/redelegations?${fm.renderURLSearchParams({ - ...request - }, ["delegator_addr"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * DelegatorValidators queries all validators info for given delegator - * address. - */ - static delegatorValidators(request: QueryDelegatorValidatorsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/delegators/${request["delegator_addr"]}/validators?${fm.renderURLSearchParams({ - ...request - }, ["delegator_addr"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * DelegatorValidator queries validator info for given delegator validator - * pair. - */ - static delegatorValidator(request: QueryDelegatorValidatorRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/delegators/${request["delegator_addr"]}/validators/${request["validator_addr"]}?${fm.renderURLSearchParams({ - ...request - }, ["delegator_addr", "validator_addr"])}`, { - ...initRequest, - method: "GET" - }); - } - /** HistoricalInfo queries the historical info for given height. */ - static historicalInfo(request: QueryHistoricalInfoRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/historical_info/${request["height"]}?${fm.renderURLSearchParams({ - ...request - }, ["height"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Pool queries the pool info. */ - static pool(request: QueryPoolRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/pool?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** Parameters queries the staking parameters. */ - static params(request: QueryParamsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/staking/v1beta1/params?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Validators queries all validators that match the given status. */ - async validators(req: QueryValidatorsRequest, headers?: HeadersInit): Promise { - return Query.validators(req, { - headers, - pathPrefix: this.url - }); - } - /** Validator queries validator info for given validator address. */ - async validator(req: QueryValidatorRequest, headers?: HeadersInit): Promise { - return Query.validator(req, { - headers, - pathPrefix: this.url - }); - } - /** ValidatorDelegations queries delegate info for given validator. */ - async validatorDelegations(req: QueryValidatorDelegationsRequest, headers?: HeadersInit): Promise { - return Query.validatorDelegations(req, { - headers, - pathPrefix: this.url - }); - } - /** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ - async validatorUnbondingDelegations(req: QueryValidatorUnbondingDelegationsRequest, headers?: HeadersInit): Promise { - return Query.validatorUnbondingDelegations(req, { - headers, - pathPrefix: this.url - }); - } - /** Delegation queries delegate info for given validator delegator pair. */ - async delegation(req: QueryDelegationRequest, headers?: HeadersInit): Promise { - return Query.delegation(req, { - headers, - pathPrefix: this.url - }); - } - /** - * UnbondingDelegation queries unbonding info for given validator delegator - * pair. - */ - async unbondingDelegation(req: QueryUnbondingDelegationRequest, headers?: HeadersInit): Promise { - return Query.unbondingDelegation(req, { - headers, - pathPrefix: this.url - }); - } - /** DelegatorDelegations queries all delegations of a given delegator address. */ - async delegatorDelegations(req: QueryDelegatorDelegationsRequest, headers?: HeadersInit): Promise { - return Query.delegatorDelegations(req, { - headers, - pathPrefix: this.url - }); - } - /** - * DelegatorUnbondingDelegations queries all unbonding delegations of a given - * delegator address. - */ - async delegatorUnbondingDelegations(req: QueryDelegatorUnbondingDelegationsRequest, headers?: HeadersInit): Promise { - return Query.delegatorUnbondingDelegations(req, { - headers, - pathPrefix: this.url - }); - } - /** Redelegations queries redelegations of given address. */ - async redelegations(req: QueryRedelegationsRequest, headers?: HeadersInit): Promise { - return Query.redelegations(req, { - headers, - pathPrefix: this.url - }); - } - /** - * DelegatorValidators queries all validators info for given delegator - * address. - */ - async delegatorValidators(req: QueryDelegatorValidatorsRequest, headers?: HeadersInit): Promise { - return Query.delegatorValidators(req, { - headers, - pathPrefix: this.url - }); - } - /** - * DelegatorValidator queries validator info for given delegator validator - * pair. - */ - async delegatorValidator(req: QueryDelegatorValidatorRequest, headers?: HeadersInit): Promise { - return Query.delegatorValidator(req, { - headers, - pathPrefix: this.url - }); - } - /** HistoricalInfo queries the historical info for given height. */ - async historicalInfo(req: QueryHistoricalInfoRequest, headers?: HeadersInit): Promise { - return Query.historicalInfo(req, { - headers, - pathPrefix: this.url - }); - } - /** Pool queries the pool info. */ - async pool(req: QueryPoolRequest, headers?: HeadersInit): Promise { - return Query.pool(req, { - headers, - pathPrefix: this.url - }); - } - /** Parameters queries the staking parameters. */ - async params(req: QueryParamsRequest, headers?: HeadersInit): Promise { - return Query.params(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.ts deleted file mode 100644 index fcd46bd6e..000000000 --- a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/query.ts +++ /dev/null @@ -1,3678 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Validator, ValidatorAmino, ValidatorSDKType, DelegationResponse, DelegationResponseAmino, DelegationResponseSDKType, UnbondingDelegation, UnbondingDelegationAmino, UnbondingDelegationSDKType, RedelegationResponse, RedelegationResponseAmino, RedelegationResponseSDKType, HistoricalInfo, HistoricalInfoAmino, HistoricalInfoSDKType, Pool, PoolAmino, PoolSDKType, Params, ParamsAmino, ParamsSDKType } from "./staking"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.staking.v1beta1"; -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ -export interface QueryValidatorsRequest { - /** status enables to query for validators matching a given status. */ - status: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryValidatorsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsRequest"; - value: Uint8Array; -} -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ -export interface QueryValidatorsRequestAmino { - /** status enables to query for validators matching a given status. */ - status: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryValidatorsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorsRequest"; - value: QueryValidatorsRequestAmino; -} -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ -export interface QueryValidatorsRequestSDKType { - status: string; - pagination: PageRequestSDKType; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ -export interface QueryValidatorsResponse { - /** validators contains all the queried validators. */ - validators: Validator[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryValidatorsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsResponse"; - value: Uint8Array; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ -export interface QueryValidatorsResponseAmino { - /** validators contains all the queried validators. */ - validators: ValidatorAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryValidatorsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorsResponse"; - value: QueryValidatorsResponseAmino; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ -export interface QueryValidatorsResponseSDKType { - validators: ValidatorSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ -export interface QueryValidatorRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryValidatorRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorRequest"; - value: Uint8Array; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ -export interface QueryValidatorRequestAmino { - /** validator_addr defines the validator address to query for. */ - validator_addr: string; -} -export interface QueryValidatorRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorRequest"; - value: QueryValidatorRequestAmino; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ -export interface QueryValidatorRequestSDKType { - validator_addr: string; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ -export interface QueryValidatorResponse { - /** validator defines the the validator info. */ - validator: Validator; -} -export interface QueryValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorResponse"; - value: Uint8Array; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ -export interface QueryValidatorResponseAmino { - /** validator defines the the validator info. */ - validator?: ValidatorAmino; -} -export interface QueryValidatorResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorResponse"; - value: QueryValidatorResponseAmino; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ -export interface QueryValidatorResponseSDKType { - validator: ValidatorSDKType; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryValidatorDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsRequestAmino { - /** validator_addr defines the validator address to query for. */ - validator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryValidatorDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorDelegationsRequest"; - value: QueryValidatorDelegationsRequestAmino; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsRequestSDKType { - validator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsResponse { - delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryValidatorDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsResponseAmino { - delegation_responses: DelegationResponseAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryValidatorDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorDelegationsResponse"; - value: QueryValidatorDelegationsResponseAmino; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsResponseSDKType { - delegation_responses: DelegationResponseSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ -export interface QueryValidatorUnbondingDelegationsRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryValidatorUnbondingDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ -export interface QueryValidatorUnbondingDelegationsRequestAmino { - /** validator_addr defines the validator address to query for. */ - validator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryValidatorUnbondingDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryValidatorUnbondingDelegationsRequest"; - value: QueryValidatorUnbondingDelegationsRequestAmino; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ -export interface QueryValidatorUnbondingDelegationsRequestSDKType { - validator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ -export interface QueryValidatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryValidatorUnbondingDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ -export interface QueryValidatorUnbondingDelegationsResponseAmino { - unbonding_responses: UnbondingDelegationAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryValidatorUnbondingDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryValidatorUnbondingDelegationsResponse"; - value: QueryValidatorUnbondingDelegationsResponseAmino; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ -export interface QueryValidatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - pagination: PageResponseSDKType; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ -export interface QueryDelegationRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryDelegationRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegationRequest"; - value: Uint8Array; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ -export interface QueryDelegationRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** validator_addr defines the validator address to query for. */ - validator_addr: string; -} -export interface QueryDelegationRequestAminoMsg { - type: "cosmos-sdk/QueryDelegationRequest"; - value: QueryDelegationRequestAmino; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ -export interface QueryDelegationRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ -export interface QueryDelegationResponse { - /** delegation_responses defines the delegation info of a delegation. */ - delegationResponse: DelegationResponse; -} -export interface QueryDelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegationResponse"; - value: Uint8Array; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ -export interface QueryDelegationResponseAmino { - /** delegation_responses defines the delegation info of a delegation. */ - delegation_response?: DelegationResponseAmino; -} -export interface QueryDelegationResponseAminoMsg { - type: "cosmos-sdk/QueryDelegationResponse"; - value: QueryDelegationResponseAmino; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ -export interface QueryDelegationResponseSDKType { - delegation_response: DelegationResponseSDKType; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ -export interface QueryUnbondingDelegationRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryUnbondingDelegationRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationRequest"; - value: Uint8Array; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ -export interface QueryUnbondingDelegationRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** validator_addr defines the validator address to query for. */ - validator_addr: string; -} -export interface QueryUnbondingDelegationRequestAminoMsg { - type: "cosmos-sdk/QueryUnbondingDelegationRequest"; - value: QueryUnbondingDelegationRequestAmino; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ -export interface QueryUnbondingDelegationRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ -export interface QueryUnbondingDelegationResponse { - /** unbond defines the unbonding information of a delegation. */ - unbond: UnbondingDelegation; -} -export interface QueryUnbondingDelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse"; - value: Uint8Array; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ -export interface QueryUnbondingDelegationResponseAmino { - /** unbond defines the unbonding information of a delegation. */ - unbond?: UnbondingDelegationAmino; -} -export interface QueryUnbondingDelegationResponseAminoMsg { - type: "cosmos-sdk/QueryUnbondingDelegationResponse"; - value: QueryUnbondingDelegationResponseAmino; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ -export interface QueryUnbondingDelegationResponseSDKType { - unbond: UnbondingDelegationSDKType; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDelegatorDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDelegatorDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorDelegationsRequest"; - value: QueryDelegatorDelegationsRequestAmino; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsRequestSDKType { - delegator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsResponse { - /** delegation_responses defines all the delegations' info of a delegator. */ - delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDelegatorDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsResponseAmino { - /** delegation_responses defines all the delegations' info of a delegator. */ - delegation_responses: DelegationResponseAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDelegatorDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorDelegationsResponse"; - value: QueryDelegatorDelegationsResponseAmino; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsResponseSDKType { - delegation_responses: DelegationResponseSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDelegatorUnbondingDelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDelegatorUnbondingDelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorUnbondingDelegationsRequest"; - value: QueryDelegatorUnbondingDelegationsRequestAmino; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsRequestSDKType { - delegator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDelegatorUnbondingDelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse"; - value: Uint8Array; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsResponseAmino { - unbonding_responses: UnbondingDelegationAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDelegatorUnbondingDelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorUnbondingDelegationsResponse"; - value: QueryDelegatorUnbondingDelegationsResponseAmino; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** src_validator_addr defines the validator address to redelegate from. */ - srcValidatorAddr: string; - /** dst_validator_addr defines the validator address to redelegate to. */ - dstValidatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryRedelegationsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsRequest"; - value: Uint8Array; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** src_validator_addr defines the validator address to redelegate from. */ - src_validator_addr: string; - /** dst_validator_addr defines the validator address to redelegate to. */ - dst_validator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryRedelegationsRequestAminoMsg { - type: "cosmos-sdk/QueryRedelegationsRequest"; - value: QueryRedelegationsRequestAmino; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsRequestSDKType { - delegator_addr: string; - src_validator_addr: string; - dst_validator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsResponse { - redelegationResponses: RedelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryRedelegationsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsResponse"; - value: Uint8Array; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsResponseAmino { - redelegation_responses: RedelegationResponseAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryRedelegationsResponseAminoMsg { - type: "cosmos-sdk/QueryRedelegationsResponse"; - value: QueryRedelegationsResponseAmino; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsResponseSDKType { - redelegation_responses: RedelegationResponseSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryDelegatorValidatorsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryDelegatorValidatorsRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsRequest"; - value: QueryDelegatorValidatorsRequestAmino; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestSDKType { - delegator_addr: string; - pagination: PageRequestSDKType; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponse { - /** validators defines the the validators' info of a delegator. */ - validators: Validator[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryDelegatorValidatorsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseAmino { - /** validators defines the the validators' info of a delegator. */ - validators: ValidatorAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryDelegatorValidatorsResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorsResponse"; - value: QueryDelegatorValidatorsResponseAmino; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseSDKType { - validators: ValidatorSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -export interface QueryDelegatorValidatorRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorRequest"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorRequestAmino { - /** delegator_addr defines the delegator address to query for. */ - delegator_addr: string; - /** validator_addr defines the validator address to query for. */ - validator_addr: string; -} -export interface QueryDelegatorValidatorRequestAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorRequest"; - value: QueryDelegatorValidatorRequestAmino; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorResponse { - /** validator defines the the validator info. */ - validator: Validator; -} -export interface QueryDelegatorValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse"; - value: Uint8Array; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorResponseAmino { - /** validator defines the the validator info. */ - validator?: ValidatorAmino; -} -export interface QueryDelegatorValidatorResponseAminoMsg { - type: "cosmos-sdk/QueryDelegatorValidatorResponse"; - value: QueryDelegatorValidatorResponseAmino; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorResponseSDKType { - validator: ValidatorSDKType; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoRequest { - /** height defines at which height to query the historical info. */ - height: Long; -} -export interface QueryHistoricalInfoRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoRequest"; - value: Uint8Array; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoRequestAmino { - /** height defines at which height to query the historical info. */ - height: string; -} -export interface QueryHistoricalInfoRequestAminoMsg { - type: "cosmos-sdk/QueryHistoricalInfoRequest"; - value: QueryHistoricalInfoRequestAmino; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoRequestSDKType { - height: Long; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoResponse { - /** hist defines the historical info at the given height. */ - hist: HistoricalInfo; -} -export interface QueryHistoricalInfoResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoResponse"; - value: Uint8Array; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoResponseAmino { - /** hist defines the historical info at the given height. */ - hist?: HistoricalInfoAmino; -} -export interface QueryHistoricalInfoResponseAminoMsg { - type: "cosmos-sdk/QueryHistoricalInfoResponse"; - value: QueryHistoricalInfoResponseAmino; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoResponseSDKType { - hist: HistoricalInfoSDKType; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ -export interface QueryPoolRequest {} -export interface QueryPoolRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryPoolRequest"; - value: Uint8Array; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ -export interface QueryPoolRequestAmino {} -export interface QueryPoolRequestAminoMsg { - type: "cosmos-sdk/QueryPoolRequest"; - value: QueryPoolRequestAmino; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ -export interface QueryPoolRequestSDKType {} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ -export interface QueryPoolResponse { - /** pool defines the pool info. */ - pool: Pool; -} -export interface QueryPoolResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryPoolResponse"; - value: Uint8Array; -} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ -export interface QueryPoolResponseAmino { - /** pool defines the pool info. */ - pool?: PoolAmino; -} -export interface QueryPoolResponseAminoMsg { - type: "cosmos-sdk/QueryPoolResponse"; - value: QueryPoolResponseAmino; -} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ -export interface QueryPoolResponseSDKType { - pool: PoolSDKType; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequest {} -export interface QueryParamsRequestProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryParamsRequest"; - value: Uint8Array; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestAmino {} -export interface QueryParamsRequestAminoMsg { - type: "cosmos-sdk/QueryParamsRequest"; - value: QueryParamsRequestAmino; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType {} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** params holds all the parameters of this module. */ - params: Params; -} -export interface QueryParamsResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.QueryParamsResponse"; - value: Uint8Array; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseAmino { - /** params holds all the parameters of this module. */ - params?: ParamsAmino; -} -export interface QueryParamsResponseAminoMsg { - type: "cosmos-sdk/QueryParamsResponse"; - value: QueryParamsResponseAmino; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params: ParamsSDKType; -} -function createBaseQueryValidatorsRequest(): QueryValidatorsRequest { - return { - status: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryValidatorsRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsRequest", - aminoType: "cosmos-sdk/QueryValidatorsRequest", - encode(message: QueryValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.status !== "") { - writer.uint32(10).string(message.status); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.status = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorsRequest { - const obj = createBaseQueryValidatorsRequest(); - if (isSet(object.status)) obj.status = String(object.status); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryValidatorsRequest): unknown { - const obj: any = {}; - message.status !== undefined && (obj.status = message.status); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorsRequest { - const message = createBaseQueryValidatorsRequest(); - message.status = object.status ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryValidatorsRequestSDKType): QueryValidatorsRequest { - return { - status: object?.status, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryValidatorsRequest): QueryValidatorsRequestSDKType { - const obj: any = {}; - obj.status = message.status; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryValidatorsRequestAmino): QueryValidatorsRequest { - return { - status: object.status, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryValidatorsRequest): QueryValidatorsRequestAmino { - const obj: any = {}; - obj.status = message.status; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryValidatorsRequestAminoMsg): QueryValidatorsRequest { - return QueryValidatorsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorsRequest): QueryValidatorsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorsRequest", - value: QueryValidatorsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorsRequestProtoMsg): QueryValidatorsRequest { - return QueryValidatorsRequest.decode(message.value); - }, - toProto(message: QueryValidatorsRequest): Uint8Array { - return QueryValidatorsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorsRequest): QueryValidatorsRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsRequest", - value: QueryValidatorsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorsResponse(): QueryValidatorsResponse { - return { - validators: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryValidatorsResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsResponse", - aminoType: "cosmos-sdk/QueryValidatorsResponse", - encode(message: QueryValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.validators) { - Validator.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validators.push(Validator.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorsResponse { - const obj = createBaseQueryValidatorsResponse(); - if (Array.isArray(object?.validators)) obj.validators = object.validators.map((e: any) => Validator.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryValidatorsResponse): unknown { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorsResponse { - const message = createBaseQueryValidatorsResponse(); - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryValidatorsResponseSDKType): QueryValidatorsResponse { - return { - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryValidatorsResponse): QueryValidatorsResponseSDKType { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toSDK(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryValidatorsResponseAmino): QueryValidatorsResponse { - return { - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryValidatorsResponse): QueryValidatorsResponseAmino { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toAmino(e) : undefined); - } else { - obj.validators = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryValidatorsResponseAminoMsg): QueryValidatorsResponse { - return QueryValidatorsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorsResponse): QueryValidatorsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorsResponse", - value: QueryValidatorsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorsResponseProtoMsg): QueryValidatorsResponse { - return QueryValidatorsResponse.decode(message.value); - }, - toProto(message: QueryValidatorsResponse): Uint8Array { - return QueryValidatorsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorsResponse): QueryValidatorsResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsResponse", - value: QueryValidatorsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorRequest(): QueryValidatorRequest { - return { - validatorAddr: "" - }; -} -export const QueryValidatorRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorRequest", - aminoType: "cosmos-sdk/QueryValidatorRequest", - encode(message: QueryValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddr !== "") { - writer.uint32(10).string(message.validatorAddr); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddr = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorRequest { - const obj = createBaseQueryValidatorRequest(); - if (isSet(object.validatorAddr)) obj.validatorAddr = String(object.validatorAddr); - return obj; - }, - toJSON(message: QueryValidatorRequest): unknown { - const obj: any = {}; - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorRequest { - const message = createBaseQueryValidatorRequest(); - message.validatorAddr = object.validatorAddr ?? ""; - return message; - }, - fromSDK(object: QueryValidatorRequestSDKType): QueryValidatorRequest { - return { - validatorAddr: object?.validator_addr - }; - }, - toSDK(message: QueryValidatorRequest): QueryValidatorRequestSDKType { - const obj: any = {}; - obj.validator_addr = message.validatorAddr; - return obj; - }, - fromAmino(object: QueryValidatorRequestAmino): QueryValidatorRequest { - return { - validatorAddr: object.validator_addr - }; - }, - toAmino(message: QueryValidatorRequest): QueryValidatorRequestAmino { - const obj: any = {}; - obj.validator_addr = message.validatorAddr; - return obj; - }, - fromAminoMsg(object: QueryValidatorRequestAminoMsg): QueryValidatorRequest { - return QueryValidatorRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorRequest): QueryValidatorRequestAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorRequest", - value: QueryValidatorRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorRequestProtoMsg): QueryValidatorRequest { - return QueryValidatorRequest.decode(message.value); - }, - toProto(message: QueryValidatorRequest): Uint8Array { - return QueryValidatorRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorRequest): QueryValidatorRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorRequest", - value: QueryValidatorRequest.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorResponse(): QueryValidatorResponse { - return { - validator: Validator.fromPartial({}) - }; -} -export const QueryValidatorResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorResponse", - aminoType: "cosmos-sdk/QueryValidatorResponse", - encode(message: QueryValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validator !== undefined) { - Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validator = Validator.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorResponse { - const obj = createBaseQueryValidatorResponse(); - if (isSet(object.validator)) obj.validator = Validator.fromJSON(object.validator); - return obj; - }, - toJSON(message: QueryValidatorResponse): unknown { - const obj: any = {}; - message.validator !== undefined && (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorResponse { - const message = createBaseQueryValidatorResponse(); - if (object.validator !== undefined && object.validator !== null) { - message.validator = Validator.fromPartial(object.validator); - } - return message; - }, - fromSDK(object: QueryValidatorResponseSDKType): QueryValidatorResponse { - return { - validator: object.validator ? Validator.fromSDK(object.validator) : undefined - }; - }, - toSDK(message: QueryValidatorResponse): QueryValidatorResponseSDKType { - const obj: any = {}; - message.validator !== undefined && (obj.validator = message.validator ? Validator.toSDK(message.validator) : undefined); - return obj; - }, - fromAmino(object: QueryValidatorResponseAmino): QueryValidatorResponse { - return { - validator: object?.validator ? Validator.fromAmino(object.validator) : undefined - }; - }, - toAmino(message: QueryValidatorResponse): QueryValidatorResponseAmino { - const obj: any = {}; - obj.validator = message.validator ? Validator.toAmino(message.validator) : undefined; - return obj; - }, - fromAminoMsg(object: QueryValidatorResponseAminoMsg): QueryValidatorResponse { - return QueryValidatorResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorResponse): QueryValidatorResponseAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorResponse", - value: QueryValidatorResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorResponseProtoMsg): QueryValidatorResponse { - return QueryValidatorResponse.decode(message.value); - }, - toProto(message: QueryValidatorResponse): Uint8Array { - return QueryValidatorResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorResponse): QueryValidatorResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorResponse", - value: QueryValidatorResponse.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorDelegationsRequest(): QueryValidatorDelegationsRequest { - return { - validatorAddr: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryValidatorDelegationsRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsRequest", - aminoType: "cosmos-sdk/QueryValidatorDelegationsRequest", - encode(message: QueryValidatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddr !== "") { - writer.uint32(10).string(message.validatorAddr); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorDelegationsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddr = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorDelegationsRequest { - const obj = createBaseQueryValidatorDelegationsRequest(); - if (isSet(object.validatorAddr)) obj.validatorAddr = String(object.validatorAddr); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryValidatorDelegationsRequest): unknown { - const obj: any = {}; - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorDelegationsRequest { - const message = createBaseQueryValidatorDelegationsRequest(); - message.validatorAddr = object.validatorAddr ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryValidatorDelegationsRequestSDKType): QueryValidatorDelegationsRequest { - return { - validatorAddr: object?.validator_addr, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestSDKType { - const obj: any = {}; - obj.validator_addr = message.validatorAddr; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryValidatorDelegationsRequestAmino): QueryValidatorDelegationsRequest { - return { - validatorAddr: object.validator_addr, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestAmino { - const obj: any = {}; - obj.validator_addr = message.validatorAddr; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryValidatorDelegationsRequestAminoMsg): QueryValidatorDelegationsRequest { - return QueryValidatorDelegationsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorDelegationsRequest", - value: QueryValidatorDelegationsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorDelegationsRequestProtoMsg): QueryValidatorDelegationsRequest { - return QueryValidatorDelegationsRequest.decode(message.value); - }, - toProto(message: QueryValidatorDelegationsRequest): Uint8Array { - return QueryValidatorDelegationsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsRequest", - value: QueryValidatorDelegationsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorDelegationsResponse(): QueryValidatorDelegationsResponse { - return { - delegationResponses: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryValidatorDelegationsResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse", - aminoType: "cosmos-sdk/QueryValidatorDelegationsResponse", - encode(message: QueryValidatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.delegationResponses) { - DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorDelegationsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegationResponses.push(DelegationResponse.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorDelegationsResponse { - const obj = createBaseQueryValidatorDelegationsResponse(); - if (Array.isArray(object?.delegationResponses)) obj.delegationResponses = object.delegationResponses.map((e: any) => DelegationResponse.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryValidatorDelegationsResponse): unknown { - const obj: any = {}; - if (message.delegationResponses) { - obj.delegationResponses = message.delegationResponses.map(e => e ? DelegationResponse.toJSON(e) : undefined); - } else { - obj.delegationResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorDelegationsResponse { - const message = createBaseQueryValidatorDelegationsResponse(); - message.delegationResponses = object.delegationResponses?.map(e => DelegationResponse.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryValidatorDelegationsResponseSDKType): QueryValidatorDelegationsResponse { - return { - delegationResponses: Array.isArray(object?.delegation_responses) ? object.delegation_responses.map((e: any) => DelegationResponse.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseSDKType { - const obj: any = {}; - if (message.delegationResponses) { - obj.delegation_responses = message.delegationResponses.map(e => e ? DelegationResponse.toSDK(e) : undefined); - } else { - obj.delegation_responses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryValidatorDelegationsResponseAmino): QueryValidatorDelegationsResponse { - return { - delegationResponses: Array.isArray(object?.delegation_responses) ? object.delegation_responses.map((e: any) => DelegationResponse.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseAmino { - const obj: any = {}; - if (message.delegationResponses) { - obj.delegation_responses = message.delegationResponses.map(e => e ? DelegationResponse.toAmino(e) : undefined); - } else { - obj.delegation_responses = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryValidatorDelegationsResponseAminoMsg): QueryValidatorDelegationsResponse { - return QueryValidatorDelegationsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorDelegationsResponse", - value: QueryValidatorDelegationsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorDelegationsResponseProtoMsg): QueryValidatorDelegationsResponse { - return QueryValidatorDelegationsResponse.decode(message.value); - }, - toProto(message: QueryValidatorDelegationsResponse): Uint8Array { - return QueryValidatorDelegationsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse", - value: QueryValidatorDelegationsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorUnbondingDelegationsRequest(): QueryValidatorUnbondingDelegationsRequest { - return { - validatorAddr: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryValidatorUnbondingDelegationsRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest", - aminoType: "cosmos-sdk/QueryValidatorUnbondingDelegationsRequest", - encode(message: QueryValidatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validatorAddr !== "") { - writer.uint32(10).string(message.validatorAddr); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorUnbondingDelegationsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validatorAddr = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorUnbondingDelegationsRequest { - const obj = createBaseQueryValidatorUnbondingDelegationsRequest(); - if (isSet(object.validatorAddr)) obj.validatorAddr = String(object.validatorAddr); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryValidatorUnbondingDelegationsRequest): unknown { - const obj: any = {}; - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorUnbondingDelegationsRequest { - const message = createBaseQueryValidatorUnbondingDelegationsRequest(); - message.validatorAddr = object.validatorAddr ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryValidatorUnbondingDelegationsRequestSDKType): QueryValidatorUnbondingDelegationsRequest { - return { - validatorAddr: object?.validator_addr, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestSDKType { - const obj: any = {}; - obj.validator_addr = message.validatorAddr; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryValidatorUnbondingDelegationsRequestAmino): QueryValidatorUnbondingDelegationsRequest { - return { - validatorAddr: object.validator_addr, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestAmino { - const obj: any = {}; - obj.validator_addr = message.validatorAddr; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryValidatorUnbondingDelegationsRequestAminoMsg): QueryValidatorUnbondingDelegationsRequest { - return QueryValidatorUnbondingDelegationsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorUnbondingDelegationsRequest", - value: QueryValidatorUnbondingDelegationsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorUnbondingDelegationsRequestProtoMsg): QueryValidatorUnbondingDelegationsRequest { - return QueryValidatorUnbondingDelegationsRequest.decode(message.value); - }, - toProto(message: QueryValidatorUnbondingDelegationsRequest): Uint8Array { - return QueryValidatorUnbondingDelegationsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest", - value: QueryValidatorUnbondingDelegationsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryValidatorUnbondingDelegationsResponse(): QueryValidatorUnbondingDelegationsResponse { - return { - unbondingResponses: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryValidatorUnbondingDelegationsResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse", - aminoType: "cosmos-sdk/QueryValidatorUnbondingDelegationsResponse", - encode(message: QueryValidatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.unbondingResponses) { - UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryValidatorUnbondingDelegationsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.unbondingResponses.push(UnbondingDelegation.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryValidatorUnbondingDelegationsResponse { - const obj = createBaseQueryValidatorUnbondingDelegationsResponse(); - if (Array.isArray(object?.unbondingResponses)) obj.unbondingResponses = object.unbondingResponses.map((e: any) => UnbondingDelegation.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryValidatorUnbondingDelegationsResponse): unknown { - const obj: any = {}; - if (message.unbondingResponses) { - obj.unbondingResponses = message.unbondingResponses.map(e => e ? UnbondingDelegation.toJSON(e) : undefined); - } else { - obj.unbondingResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryValidatorUnbondingDelegationsResponse { - const message = createBaseQueryValidatorUnbondingDelegationsResponse(); - message.unbondingResponses = object.unbondingResponses?.map(e => UnbondingDelegation.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryValidatorUnbondingDelegationsResponseSDKType): QueryValidatorUnbondingDelegationsResponse { - return { - unbondingResponses: Array.isArray(object?.unbonding_responses) ? object.unbonding_responses.map((e: any) => UnbondingDelegation.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseSDKType { - const obj: any = {}; - if (message.unbondingResponses) { - obj.unbonding_responses = message.unbondingResponses.map(e => e ? UnbondingDelegation.toSDK(e) : undefined); - } else { - obj.unbonding_responses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryValidatorUnbondingDelegationsResponseAmino): QueryValidatorUnbondingDelegationsResponse { - return { - unbondingResponses: Array.isArray(object?.unbonding_responses) ? object.unbonding_responses.map((e: any) => UnbondingDelegation.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseAmino { - const obj: any = {}; - if (message.unbondingResponses) { - obj.unbonding_responses = message.unbondingResponses.map(e => e ? UnbondingDelegation.toAmino(e) : undefined); - } else { - obj.unbonding_responses = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryValidatorUnbondingDelegationsResponseAminoMsg): QueryValidatorUnbondingDelegationsResponse { - return QueryValidatorUnbondingDelegationsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryValidatorUnbondingDelegationsResponse", - value: QueryValidatorUnbondingDelegationsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryValidatorUnbondingDelegationsResponseProtoMsg): QueryValidatorUnbondingDelegationsResponse { - return QueryValidatorUnbondingDelegationsResponse.decode(message.value); - }, - toProto(message: QueryValidatorUnbondingDelegationsResponse): Uint8Array { - return QueryValidatorUnbondingDelegationsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse", - value: QueryValidatorUnbondingDelegationsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDelegationRequest(): QueryDelegationRequest { - return { - delegatorAddr: "", - validatorAddr: "" - }; -} -export const QueryDelegationRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegationRequest", - aminoType: "cosmos-sdk/QueryDelegationRequest", - encode(message: QueryDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - if (message.validatorAddr !== "") { - writer.uint32(18).string(message.validatorAddr); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - case 2: - message.validatorAddr = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegationRequest { - const obj = createBaseQueryDelegationRequest(); - if (isSet(object.delegatorAddr)) obj.delegatorAddr = String(object.delegatorAddr); - if (isSet(object.validatorAddr)) obj.validatorAddr = String(object.validatorAddr); - return obj; - }, - toJSON(message: QueryDelegationRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegationRequest { - const message = createBaseQueryDelegationRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - message.validatorAddr = object.validatorAddr ?? ""; - return message; - }, - fromSDK(object: QueryDelegationRequestSDKType): QueryDelegationRequest { - return { - delegatorAddr: object?.delegator_addr, - validatorAddr: object?.validator_addr - }; - }, - toSDK(message: QueryDelegationRequest): QueryDelegationRequestSDKType { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - obj.validator_addr = message.validatorAddr; - return obj; - }, - fromAmino(object: QueryDelegationRequestAmino): QueryDelegationRequest { - return { - delegatorAddr: object.delegator_addr, - validatorAddr: object.validator_addr - }; - }, - toAmino(message: QueryDelegationRequest): QueryDelegationRequestAmino { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - obj.validator_addr = message.validatorAddr; - return obj; - }, - fromAminoMsg(object: QueryDelegationRequestAminoMsg): QueryDelegationRequest { - return QueryDelegationRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegationRequest): QueryDelegationRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDelegationRequest", - value: QueryDelegationRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegationRequestProtoMsg): QueryDelegationRequest { - return QueryDelegationRequest.decode(message.value); - }, - toProto(message: QueryDelegationRequest): Uint8Array { - return QueryDelegationRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegationRequest): QueryDelegationRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegationRequest", - value: QueryDelegationRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDelegationResponse(): QueryDelegationResponse { - return { - delegationResponse: DelegationResponse.fromPartial({}) - }; -} -export const QueryDelegationResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegationResponse", - aminoType: "cosmos-sdk/QueryDelegationResponse", - encode(message: QueryDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegationResponse !== undefined) { - DelegationResponse.encode(message.delegationResponse, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegationResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegationResponse = DelegationResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegationResponse { - const obj = createBaseQueryDelegationResponse(); - if (isSet(object.delegationResponse)) obj.delegationResponse = DelegationResponse.fromJSON(object.delegationResponse); - return obj; - }, - toJSON(message: QueryDelegationResponse): unknown { - const obj: any = {}; - message.delegationResponse !== undefined && (obj.delegationResponse = message.delegationResponse ? DelegationResponse.toJSON(message.delegationResponse) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegationResponse { - const message = createBaseQueryDelegationResponse(); - if (object.delegationResponse !== undefined && object.delegationResponse !== null) { - message.delegationResponse = DelegationResponse.fromPartial(object.delegationResponse); - } - return message; - }, - fromSDK(object: QueryDelegationResponseSDKType): QueryDelegationResponse { - return { - delegationResponse: object.delegation_response ? DelegationResponse.fromSDK(object.delegation_response) : undefined - }; - }, - toSDK(message: QueryDelegationResponse): QueryDelegationResponseSDKType { - const obj: any = {}; - message.delegationResponse !== undefined && (obj.delegation_response = message.delegationResponse ? DelegationResponse.toSDK(message.delegationResponse) : undefined); - return obj; - }, - fromAmino(object: QueryDelegationResponseAmino): QueryDelegationResponse { - return { - delegationResponse: object?.delegation_response ? DelegationResponse.fromAmino(object.delegation_response) : undefined - }; - }, - toAmino(message: QueryDelegationResponse): QueryDelegationResponseAmino { - const obj: any = {}; - obj.delegation_response = message.delegationResponse ? DelegationResponse.toAmino(message.delegationResponse) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDelegationResponseAminoMsg): QueryDelegationResponse { - return QueryDelegationResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegationResponse): QueryDelegationResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDelegationResponse", - value: QueryDelegationResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegationResponseProtoMsg): QueryDelegationResponse { - return QueryDelegationResponse.decode(message.value); - }, - toProto(message: QueryDelegationResponse): Uint8Array { - return QueryDelegationResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegationResponse): QueryDelegationResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegationResponse", - value: QueryDelegationResponse.encode(message).finish() - }; - } -}; -function createBaseQueryUnbondingDelegationRequest(): QueryUnbondingDelegationRequest { - return { - delegatorAddr: "", - validatorAddr: "" - }; -} -export const QueryUnbondingDelegationRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationRequest", - aminoType: "cosmos-sdk/QueryUnbondingDelegationRequest", - encode(message: QueryUnbondingDelegationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - if (message.validatorAddr !== "") { - writer.uint32(18).string(message.validatorAddr); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUnbondingDelegationRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - case 2: - message.validatorAddr = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryUnbondingDelegationRequest { - const obj = createBaseQueryUnbondingDelegationRequest(); - if (isSet(object.delegatorAddr)) obj.delegatorAddr = String(object.delegatorAddr); - if (isSet(object.validatorAddr)) obj.validatorAddr = String(object.validatorAddr); - return obj; - }, - toJSON(message: QueryUnbondingDelegationRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - return obj; - }, - fromPartial(object: DeepPartial): QueryUnbondingDelegationRequest { - const message = createBaseQueryUnbondingDelegationRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - message.validatorAddr = object.validatorAddr ?? ""; - return message; - }, - fromSDK(object: QueryUnbondingDelegationRequestSDKType): QueryUnbondingDelegationRequest { - return { - delegatorAddr: object?.delegator_addr, - validatorAddr: object?.validator_addr - }; - }, - toSDK(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestSDKType { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - obj.validator_addr = message.validatorAddr; - return obj; - }, - fromAmino(object: QueryUnbondingDelegationRequestAmino): QueryUnbondingDelegationRequest { - return { - delegatorAddr: object.delegator_addr, - validatorAddr: object.validator_addr - }; - }, - toAmino(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestAmino { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - obj.validator_addr = message.validatorAddr; - return obj; - }, - fromAminoMsg(object: QueryUnbondingDelegationRequestAminoMsg): QueryUnbondingDelegationRequest { - return QueryUnbondingDelegationRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestAminoMsg { - return { - type: "cosmos-sdk/QueryUnbondingDelegationRequest", - value: QueryUnbondingDelegationRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryUnbondingDelegationRequestProtoMsg): QueryUnbondingDelegationRequest { - return QueryUnbondingDelegationRequest.decode(message.value); - }, - toProto(message: QueryUnbondingDelegationRequest): Uint8Array { - return QueryUnbondingDelegationRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryUnbondingDelegationRequest): QueryUnbondingDelegationRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationRequest", - value: QueryUnbondingDelegationRequest.encode(message).finish() - }; - } -}; -function createBaseQueryUnbondingDelegationResponse(): QueryUnbondingDelegationResponse { - return { - unbond: UnbondingDelegation.fromPartial({}) - }; -} -export const QueryUnbondingDelegationResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse", - aminoType: "cosmos-sdk/QueryUnbondingDelegationResponse", - encode(message: QueryUnbondingDelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.unbond !== undefined) { - UnbondingDelegation.encode(message.unbond, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUnbondingDelegationResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.unbond = UnbondingDelegation.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryUnbondingDelegationResponse { - const obj = createBaseQueryUnbondingDelegationResponse(); - if (isSet(object.unbond)) obj.unbond = UnbondingDelegation.fromJSON(object.unbond); - return obj; - }, - toJSON(message: QueryUnbondingDelegationResponse): unknown { - const obj: any = {}; - message.unbond !== undefined && (obj.unbond = message.unbond ? UnbondingDelegation.toJSON(message.unbond) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryUnbondingDelegationResponse { - const message = createBaseQueryUnbondingDelegationResponse(); - if (object.unbond !== undefined && object.unbond !== null) { - message.unbond = UnbondingDelegation.fromPartial(object.unbond); - } - return message; - }, - fromSDK(object: QueryUnbondingDelegationResponseSDKType): QueryUnbondingDelegationResponse { - return { - unbond: object.unbond ? UnbondingDelegation.fromSDK(object.unbond) : undefined - }; - }, - toSDK(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseSDKType { - const obj: any = {}; - message.unbond !== undefined && (obj.unbond = message.unbond ? UnbondingDelegation.toSDK(message.unbond) : undefined); - return obj; - }, - fromAmino(object: QueryUnbondingDelegationResponseAmino): QueryUnbondingDelegationResponse { - return { - unbond: object?.unbond ? UnbondingDelegation.fromAmino(object.unbond) : undefined - }; - }, - toAmino(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseAmino { - const obj: any = {}; - obj.unbond = message.unbond ? UnbondingDelegation.toAmino(message.unbond) : undefined; - return obj; - }, - fromAminoMsg(object: QueryUnbondingDelegationResponseAminoMsg): QueryUnbondingDelegationResponse { - return QueryUnbondingDelegationResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseAminoMsg { - return { - type: "cosmos-sdk/QueryUnbondingDelegationResponse", - value: QueryUnbondingDelegationResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryUnbondingDelegationResponseProtoMsg): QueryUnbondingDelegationResponse { - return QueryUnbondingDelegationResponse.decode(message.value); - }, - toProto(message: QueryUnbondingDelegationResponse): Uint8Array { - return QueryUnbondingDelegationResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryUnbondingDelegationResponse): QueryUnbondingDelegationResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse", - value: QueryUnbondingDelegationResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorDelegationsRequest(): QueryDelegatorDelegationsRequest { - return { - delegatorAddr: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryDelegatorDelegationsRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest", - aminoType: "cosmos-sdk/QueryDelegatorDelegationsRequest", - encode(message: QueryDelegatorDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorDelegationsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorDelegationsRequest { - const obj = createBaseQueryDelegatorDelegationsRequest(); - if (isSet(object.delegatorAddr)) obj.delegatorAddr = String(object.delegatorAddr); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDelegatorDelegationsRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorDelegationsRequest { - const message = createBaseQueryDelegatorDelegationsRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDelegatorDelegationsRequestSDKType): QueryDelegatorDelegationsRequest { - return { - delegatorAddr: object?.delegator_addr, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestSDKType { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDelegatorDelegationsRequestAmino): QueryDelegatorDelegationsRequest { - return { - delegatorAddr: object.delegator_addr, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestAmino { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDelegatorDelegationsRequestAminoMsg): QueryDelegatorDelegationsRequest { - return QueryDelegatorDelegationsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorDelegationsRequest", - value: QueryDelegatorDelegationsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorDelegationsRequestProtoMsg): QueryDelegatorDelegationsRequest { - return QueryDelegatorDelegationsRequest.decode(message.value); - }, - toProto(message: QueryDelegatorDelegationsRequest): Uint8Array { - return QueryDelegatorDelegationsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorDelegationsRequest): QueryDelegatorDelegationsRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest", - value: QueryDelegatorDelegationsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorDelegationsResponse(): QueryDelegatorDelegationsResponse { - return { - delegationResponses: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryDelegatorDelegationsResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse", - aminoType: "cosmos-sdk/QueryDelegatorDelegationsResponse", - encode(message: QueryDelegatorDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.delegationResponses) { - DelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorDelegationsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegationResponses.push(DelegationResponse.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorDelegationsResponse { - const obj = createBaseQueryDelegatorDelegationsResponse(); - if (Array.isArray(object?.delegationResponses)) obj.delegationResponses = object.delegationResponses.map((e: any) => DelegationResponse.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDelegatorDelegationsResponse): unknown { - const obj: any = {}; - if (message.delegationResponses) { - obj.delegationResponses = message.delegationResponses.map(e => e ? DelegationResponse.toJSON(e) : undefined); - } else { - obj.delegationResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorDelegationsResponse { - const message = createBaseQueryDelegatorDelegationsResponse(); - message.delegationResponses = object.delegationResponses?.map(e => DelegationResponse.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDelegatorDelegationsResponseSDKType): QueryDelegatorDelegationsResponse { - return { - delegationResponses: Array.isArray(object?.delegation_responses) ? object.delegation_responses.map((e: any) => DelegationResponse.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseSDKType { - const obj: any = {}; - if (message.delegationResponses) { - obj.delegation_responses = message.delegationResponses.map(e => e ? DelegationResponse.toSDK(e) : undefined); - } else { - obj.delegation_responses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDelegatorDelegationsResponseAmino): QueryDelegatorDelegationsResponse { - return { - delegationResponses: Array.isArray(object?.delegation_responses) ? object.delegation_responses.map((e: any) => DelegationResponse.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseAmino { - const obj: any = {}; - if (message.delegationResponses) { - obj.delegation_responses = message.delegationResponses.map(e => e ? DelegationResponse.toAmino(e) : undefined); - } else { - obj.delegation_responses = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDelegatorDelegationsResponseAminoMsg): QueryDelegatorDelegationsResponse { - return QueryDelegatorDelegationsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorDelegationsResponse", - value: QueryDelegatorDelegationsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorDelegationsResponseProtoMsg): QueryDelegatorDelegationsResponse { - return QueryDelegatorDelegationsResponse.decode(message.value); - }, - toProto(message: QueryDelegatorDelegationsResponse): Uint8Array { - return QueryDelegatorDelegationsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorDelegationsResponse): QueryDelegatorDelegationsResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse", - value: QueryDelegatorDelegationsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorUnbondingDelegationsRequest(): QueryDelegatorUnbondingDelegationsRequest { - return { - delegatorAddr: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryDelegatorUnbondingDelegationsRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest", - aminoType: "cosmos-sdk/QueryDelegatorUnbondingDelegationsRequest", - encode(message: QueryDelegatorUnbondingDelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorUnbondingDelegationsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorUnbondingDelegationsRequest { - const obj = createBaseQueryDelegatorUnbondingDelegationsRequest(); - if (isSet(object.delegatorAddr)) obj.delegatorAddr = String(object.delegatorAddr); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDelegatorUnbondingDelegationsRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorUnbondingDelegationsRequest { - const message = createBaseQueryDelegatorUnbondingDelegationsRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDelegatorUnbondingDelegationsRequestSDKType): QueryDelegatorUnbondingDelegationsRequest { - return { - delegatorAddr: object?.delegator_addr, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestSDKType { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDelegatorUnbondingDelegationsRequestAmino): QueryDelegatorUnbondingDelegationsRequest { - return { - delegatorAddr: object.delegator_addr, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestAmino { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDelegatorUnbondingDelegationsRequestAminoMsg): QueryDelegatorUnbondingDelegationsRequest { - return QueryDelegatorUnbondingDelegationsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorUnbondingDelegationsRequest", - value: QueryDelegatorUnbondingDelegationsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorUnbondingDelegationsRequestProtoMsg): QueryDelegatorUnbondingDelegationsRequest { - return QueryDelegatorUnbondingDelegationsRequest.decode(message.value); - }, - toProto(message: QueryDelegatorUnbondingDelegationsRequest): Uint8Array { - return QueryDelegatorUnbondingDelegationsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorUnbondingDelegationsRequest): QueryDelegatorUnbondingDelegationsRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest", - value: QueryDelegatorUnbondingDelegationsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorUnbondingDelegationsResponse(): QueryDelegatorUnbondingDelegationsResponse { - return { - unbondingResponses: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryDelegatorUnbondingDelegationsResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse", - aminoType: "cosmos-sdk/QueryDelegatorUnbondingDelegationsResponse", - encode(message: QueryDelegatorUnbondingDelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.unbondingResponses) { - UnbondingDelegation.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.unbondingResponses.push(UnbondingDelegation.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorUnbondingDelegationsResponse { - const obj = createBaseQueryDelegatorUnbondingDelegationsResponse(); - if (Array.isArray(object?.unbondingResponses)) obj.unbondingResponses = object.unbondingResponses.map((e: any) => UnbondingDelegation.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDelegatorUnbondingDelegationsResponse): unknown { - const obj: any = {}; - if (message.unbondingResponses) { - obj.unbondingResponses = message.unbondingResponses.map(e => e ? UnbondingDelegation.toJSON(e) : undefined); - } else { - obj.unbondingResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorUnbondingDelegationsResponse { - const message = createBaseQueryDelegatorUnbondingDelegationsResponse(); - message.unbondingResponses = object.unbondingResponses?.map(e => UnbondingDelegation.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDelegatorUnbondingDelegationsResponseSDKType): QueryDelegatorUnbondingDelegationsResponse { - return { - unbondingResponses: Array.isArray(object?.unbonding_responses) ? object.unbonding_responses.map((e: any) => UnbondingDelegation.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseSDKType { - const obj: any = {}; - if (message.unbondingResponses) { - obj.unbonding_responses = message.unbondingResponses.map(e => e ? UnbondingDelegation.toSDK(e) : undefined); - } else { - obj.unbonding_responses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDelegatorUnbondingDelegationsResponseAmino): QueryDelegatorUnbondingDelegationsResponse { - return { - unbondingResponses: Array.isArray(object?.unbonding_responses) ? object.unbonding_responses.map((e: any) => UnbondingDelegation.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseAmino { - const obj: any = {}; - if (message.unbondingResponses) { - obj.unbonding_responses = message.unbondingResponses.map(e => e ? UnbondingDelegation.toAmino(e) : undefined); - } else { - obj.unbonding_responses = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDelegatorUnbondingDelegationsResponseAminoMsg): QueryDelegatorUnbondingDelegationsResponse { - return QueryDelegatorUnbondingDelegationsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorUnbondingDelegationsResponse", - value: QueryDelegatorUnbondingDelegationsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorUnbondingDelegationsResponseProtoMsg): QueryDelegatorUnbondingDelegationsResponse { - return QueryDelegatorUnbondingDelegationsResponse.decode(message.value); - }, - toProto(message: QueryDelegatorUnbondingDelegationsResponse): Uint8Array { - return QueryDelegatorUnbondingDelegationsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorUnbondingDelegationsResponse): QueryDelegatorUnbondingDelegationsResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse", - value: QueryDelegatorUnbondingDelegationsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryRedelegationsRequest(): QueryRedelegationsRequest { - return { - delegatorAddr: "", - srcValidatorAddr: "", - dstValidatorAddr: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryRedelegationsRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsRequest", - aminoType: "cosmos-sdk/QueryRedelegationsRequest", - encode(message: QueryRedelegationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - if (message.srcValidatorAddr !== "") { - writer.uint32(18).string(message.srcValidatorAddr); - } - if (message.dstValidatorAddr !== "") { - writer.uint32(26).string(message.dstValidatorAddr); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryRedelegationsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - case 2: - message.srcValidatorAddr = reader.string(); - break; - case 3: - message.dstValidatorAddr = reader.string(); - break; - case 4: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryRedelegationsRequest { - const obj = createBaseQueryRedelegationsRequest(); - if (isSet(object.delegatorAddr)) obj.delegatorAddr = String(object.delegatorAddr); - if (isSet(object.srcValidatorAddr)) obj.srcValidatorAddr = String(object.srcValidatorAddr); - if (isSet(object.dstValidatorAddr)) obj.dstValidatorAddr = String(object.dstValidatorAddr); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryRedelegationsRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.srcValidatorAddr !== undefined && (obj.srcValidatorAddr = message.srcValidatorAddr); - message.dstValidatorAddr !== undefined && (obj.dstValidatorAddr = message.dstValidatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryRedelegationsRequest { - const message = createBaseQueryRedelegationsRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - message.srcValidatorAddr = object.srcValidatorAddr ?? ""; - message.dstValidatorAddr = object.dstValidatorAddr ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryRedelegationsRequestSDKType): QueryRedelegationsRequest { - return { - delegatorAddr: object?.delegator_addr, - srcValidatorAddr: object?.src_validator_addr, - dstValidatorAddr: object?.dst_validator_addr, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryRedelegationsRequest): QueryRedelegationsRequestSDKType { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - obj.src_validator_addr = message.srcValidatorAddr; - obj.dst_validator_addr = message.dstValidatorAddr; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryRedelegationsRequestAmino): QueryRedelegationsRequest { - return { - delegatorAddr: object.delegator_addr, - srcValidatorAddr: object.src_validator_addr, - dstValidatorAddr: object.dst_validator_addr, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryRedelegationsRequest): QueryRedelegationsRequestAmino { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - obj.src_validator_addr = message.srcValidatorAddr; - obj.dst_validator_addr = message.dstValidatorAddr; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryRedelegationsRequestAminoMsg): QueryRedelegationsRequest { - return QueryRedelegationsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryRedelegationsRequest): QueryRedelegationsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryRedelegationsRequest", - value: QueryRedelegationsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryRedelegationsRequestProtoMsg): QueryRedelegationsRequest { - return QueryRedelegationsRequest.decode(message.value); - }, - toProto(message: QueryRedelegationsRequest): Uint8Array { - return QueryRedelegationsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryRedelegationsRequest): QueryRedelegationsRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsRequest", - value: QueryRedelegationsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryRedelegationsResponse(): QueryRedelegationsResponse { - return { - redelegationResponses: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryRedelegationsResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsResponse", - aminoType: "cosmos-sdk/QueryRedelegationsResponse", - encode(message: QueryRedelegationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.redelegationResponses) { - RedelegationResponse.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryRedelegationsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.redelegationResponses.push(RedelegationResponse.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryRedelegationsResponse { - const obj = createBaseQueryRedelegationsResponse(); - if (Array.isArray(object?.redelegationResponses)) obj.redelegationResponses = object.redelegationResponses.map((e: any) => RedelegationResponse.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryRedelegationsResponse): unknown { - const obj: any = {}; - if (message.redelegationResponses) { - obj.redelegationResponses = message.redelegationResponses.map(e => e ? RedelegationResponse.toJSON(e) : undefined); - } else { - obj.redelegationResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryRedelegationsResponse { - const message = createBaseQueryRedelegationsResponse(); - message.redelegationResponses = object.redelegationResponses?.map(e => RedelegationResponse.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryRedelegationsResponseSDKType): QueryRedelegationsResponse { - return { - redelegationResponses: Array.isArray(object?.redelegation_responses) ? object.redelegation_responses.map((e: any) => RedelegationResponse.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryRedelegationsResponse): QueryRedelegationsResponseSDKType { - const obj: any = {}; - if (message.redelegationResponses) { - obj.redelegation_responses = message.redelegationResponses.map(e => e ? RedelegationResponse.toSDK(e) : undefined); - } else { - obj.redelegation_responses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryRedelegationsResponseAmino): QueryRedelegationsResponse { - return { - redelegationResponses: Array.isArray(object?.redelegation_responses) ? object.redelegation_responses.map((e: any) => RedelegationResponse.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryRedelegationsResponse): QueryRedelegationsResponseAmino { - const obj: any = {}; - if (message.redelegationResponses) { - obj.redelegation_responses = message.redelegationResponses.map(e => e ? RedelegationResponse.toAmino(e) : undefined); - } else { - obj.redelegation_responses = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryRedelegationsResponseAminoMsg): QueryRedelegationsResponse { - return QueryRedelegationsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryRedelegationsResponse): QueryRedelegationsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryRedelegationsResponse", - value: QueryRedelegationsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryRedelegationsResponseProtoMsg): QueryRedelegationsResponse { - return QueryRedelegationsResponse.decode(message.value); - }, - toProto(message: QueryRedelegationsResponse): Uint8Array { - return QueryRedelegationsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryRedelegationsResponse): QueryRedelegationsResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsResponse", - value: QueryRedelegationsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorValidatorsRequest(): QueryDelegatorValidatorsRequest { - return { - delegatorAddr: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryDelegatorValidatorsRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest", - aminoType: "cosmos-sdk/QueryDelegatorValidatorsRequest", - encode(message: QueryDelegatorValidatorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorValidatorsRequest { - const obj = createBaseQueryDelegatorValidatorsRequest(); - if (isSet(object.delegatorAddr)) obj.delegatorAddr = String(object.delegatorAddr); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDelegatorValidatorsRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorValidatorsRequest { - const message = createBaseQueryDelegatorValidatorsRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDelegatorValidatorsRequestSDKType): QueryDelegatorValidatorsRequest { - return { - delegatorAddr: object?.delegator_addr, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestSDKType { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDelegatorValidatorsRequestAmino): QueryDelegatorValidatorsRequest { - return { - delegatorAddr: object.delegator_addr, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAmino { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDelegatorValidatorsRequestAminoMsg): QueryDelegatorValidatorsRequest { - return QueryDelegatorValidatorsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorValidatorsRequest", - value: QueryDelegatorValidatorsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorValidatorsRequestProtoMsg): QueryDelegatorValidatorsRequest { - return QueryDelegatorValidatorsRequest.decode(message.value); - }, - toProto(message: QueryDelegatorValidatorsRequest): Uint8Array { - return QueryDelegatorValidatorsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorValidatorsRequest): QueryDelegatorValidatorsRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest", - value: QueryDelegatorValidatorsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorValidatorsResponse(): QueryDelegatorValidatorsResponse { - return { - validators: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryDelegatorValidatorsResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse", - aminoType: "cosmos-sdk/QueryDelegatorValidatorsResponse", - encode(message: QueryDelegatorValidatorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.validators) { - Validator.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validators.push(Validator.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorValidatorsResponse { - const obj = createBaseQueryDelegatorValidatorsResponse(); - if (Array.isArray(object?.validators)) obj.validators = object.validators.map((e: any) => Validator.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryDelegatorValidatorsResponse): unknown { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorValidatorsResponse { - const message = createBaseQueryDelegatorValidatorsResponse(); - message.validators = object.validators?.map(e => Validator.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryDelegatorValidatorsResponseSDKType): QueryDelegatorValidatorsResponse { - return { - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseSDKType { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toSDK(e) : undefined); - } else { - obj.validators = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryDelegatorValidatorsResponseAmino): QueryDelegatorValidatorsResponse { - return { - validators: Array.isArray(object?.validators) ? object.validators.map((e: any) => Validator.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAmino { - const obj: any = {}; - if (message.validators) { - obj.validators = message.validators.map(e => e ? Validator.toAmino(e) : undefined); - } else { - obj.validators = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDelegatorValidatorsResponseAminoMsg): QueryDelegatorValidatorsResponse { - return QueryDelegatorValidatorsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorValidatorsResponse", - value: QueryDelegatorValidatorsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorValidatorsResponseProtoMsg): QueryDelegatorValidatorsResponse { - return QueryDelegatorValidatorsResponse.decode(message.value); - }, - toProto(message: QueryDelegatorValidatorsResponse): Uint8Array { - return QueryDelegatorValidatorsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorValidatorsResponse): QueryDelegatorValidatorsResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse", - value: QueryDelegatorValidatorsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorValidatorRequest(): QueryDelegatorValidatorRequest { - return { - delegatorAddr: "", - validatorAddr: "" - }; -} -export const QueryDelegatorValidatorRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorRequest", - aminoType: "cosmos-sdk/QueryDelegatorValidatorRequest", - encode(message: QueryDelegatorValidatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddr !== "") { - writer.uint32(10).string(message.delegatorAddr); - } - if (message.validatorAddr !== "") { - writer.uint32(18).string(message.validatorAddr); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddr = reader.string(); - break; - case 2: - message.validatorAddr = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorValidatorRequest { - const obj = createBaseQueryDelegatorValidatorRequest(); - if (isSet(object.delegatorAddr)) obj.delegatorAddr = String(object.delegatorAddr); - if (isSet(object.validatorAddr)) obj.validatorAddr = String(object.validatorAddr); - return obj; - }, - toJSON(message: QueryDelegatorValidatorRequest): unknown { - const obj: any = {}; - message.delegatorAddr !== undefined && (obj.delegatorAddr = message.delegatorAddr); - message.validatorAddr !== undefined && (obj.validatorAddr = message.validatorAddr); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorValidatorRequest { - const message = createBaseQueryDelegatorValidatorRequest(); - message.delegatorAddr = object.delegatorAddr ?? ""; - message.validatorAddr = object.validatorAddr ?? ""; - return message; - }, - fromSDK(object: QueryDelegatorValidatorRequestSDKType): QueryDelegatorValidatorRequest { - return { - delegatorAddr: object?.delegator_addr, - validatorAddr: object?.validator_addr - }; - }, - toSDK(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestSDKType { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - obj.validator_addr = message.validatorAddr; - return obj; - }, - fromAmino(object: QueryDelegatorValidatorRequestAmino): QueryDelegatorValidatorRequest { - return { - delegatorAddr: object.delegator_addr, - validatorAddr: object.validator_addr - }; - }, - toAmino(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestAmino { - const obj: any = {}; - obj.delegator_addr = message.delegatorAddr; - obj.validator_addr = message.validatorAddr; - return obj; - }, - fromAminoMsg(object: QueryDelegatorValidatorRequestAminoMsg): QueryDelegatorValidatorRequest { - return QueryDelegatorValidatorRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorValidatorRequest", - value: QueryDelegatorValidatorRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorValidatorRequestProtoMsg): QueryDelegatorValidatorRequest { - return QueryDelegatorValidatorRequest.decode(message.value); - }, - toProto(message: QueryDelegatorValidatorRequest): Uint8Array { - return QueryDelegatorValidatorRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorValidatorRequest): QueryDelegatorValidatorRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorRequest", - value: QueryDelegatorValidatorRequest.encode(message).finish() - }; - } -}; -function createBaseQueryDelegatorValidatorResponse(): QueryDelegatorValidatorResponse { - return { - validator: Validator.fromPartial({}) - }; -} -export const QueryDelegatorValidatorResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse", - aminoType: "cosmos-sdk/QueryDelegatorValidatorResponse", - encode(message: QueryDelegatorValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.validator !== undefined) { - Validator.encode(message.validator, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryDelegatorValidatorResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.validator = Validator.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryDelegatorValidatorResponse { - const obj = createBaseQueryDelegatorValidatorResponse(); - if (isSet(object.validator)) obj.validator = Validator.fromJSON(object.validator); - return obj; - }, - toJSON(message: QueryDelegatorValidatorResponse): unknown { - const obj: any = {}; - message.validator !== undefined && (obj.validator = message.validator ? Validator.toJSON(message.validator) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryDelegatorValidatorResponse { - const message = createBaseQueryDelegatorValidatorResponse(); - if (object.validator !== undefined && object.validator !== null) { - message.validator = Validator.fromPartial(object.validator); - } - return message; - }, - fromSDK(object: QueryDelegatorValidatorResponseSDKType): QueryDelegatorValidatorResponse { - return { - validator: object.validator ? Validator.fromSDK(object.validator) : undefined - }; - }, - toSDK(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseSDKType { - const obj: any = {}; - message.validator !== undefined && (obj.validator = message.validator ? Validator.toSDK(message.validator) : undefined); - return obj; - }, - fromAmino(object: QueryDelegatorValidatorResponseAmino): QueryDelegatorValidatorResponse { - return { - validator: object?.validator ? Validator.fromAmino(object.validator) : undefined - }; - }, - toAmino(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseAmino { - const obj: any = {}; - obj.validator = message.validator ? Validator.toAmino(message.validator) : undefined; - return obj; - }, - fromAminoMsg(object: QueryDelegatorValidatorResponseAminoMsg): QueryDelegatorValidatorResponse { - return QueryDelegatorValidatorResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseAminoMsg { - return { - type: "cosmos-sdk/QueryDelegatorValidatorResponse", - value: QueryDelegatorValidatorResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryDelegatorValidatorResponseProtoMsg): QueryDelegatorValidatorResponse { - return QueryDelegatorValidatorResponse.decode(message.value); - }, - toProto(message: QueryDelegatorValidatorResponse): Uint8Array { - return QueryDelegatorValidatorResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryDelegatorValidatorResponse): QueryDelegatorValidatorResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse", - value: QueryDelegatorValidatorResponse.encode(message).finish() - }; - } -}; -function createBaseQueryHistoricalInfoRequest(): QueryHistoricalInfoRequest { - return { - height: Long.ZERO - }; -} -export const QueryHistoricalInfoRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoRequest", - aminoType: "cosmos-sdk/QueryHistoricalInfoRequest", - encode(message: QueryHistoricalInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryHistoricalInfoRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryHistoricalInfoRequest { - const obj = createBaseQueryHistoricalInfoRequest(); - if (isSet(object.height)) obj.height = Long.fromValue(object.height); - return obj; - }, - toJSON(message: QueryHistoricalInfoRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryHistoricalInfoRequest { - const message = createBaseQueryHistoricalInfoRequest(); - if (object.height !== undefined && object.height !== null) { - message.height = Long.fromValue(object.height); - } - return message; - }, - fromSDK(object: QueryHistoricalInfoRequestSDKType): QueryHistoricalInfoRequest { - return { - height: object?.height - }; - }, - toSDK(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestSDKType { - const obj: any = {}; - obj.height = message.height; - return obj; - }, - fromAmino(object: QueryHistoricalInfoRequestAmino): QueryHistoricalInfoRequest { - return { - height: Long.fromString(object.height) - }; - }, - toAmino(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestAmino { - const obj: any = {}; - obj.height = message.height ? message.height.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryHistoricalInfoRequestAminoMsg): QueryHistoricalInfoRequest { - return QueryHistoricalInfoRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestAminoMsg { - return { - type: "cosmos-sdk/QueryHistoricalInfoRequest", - value: QueryHistoricalInfoRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryHistoricalInfoRequestProtoMsg): QueryHistoricalInfoRequest { - return QueryHistoricalInfoRequest.decode(message.value); - }, - toProto(message: QueryHistoricalInfoRequest): Uint8Array { - return QueryHistoricalInfoRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryHistoricalInfoRequest): QueryHistoricalInfoRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoRequest", - value: QueryHistoricalInfoRequest.encode(message).finish() - }; - } -}; -function createBaseQueryHistoricalInfoResponse(): QueryHistoricalInfoResponse { - return { - hist: HistoricalInfo.fromPartial({}) - }; -} -export const QueryHistoricalInfoResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoResponse", - aminoType: "cosmos-sdk/QueryHistoricalInfoResponse", - encode(message: QueryHistoricalInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hist !== undefined) { - HistoricalInfo.encode(message.hist, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryHistoricalInfoResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.hist = HistoricalInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryHistoricalInfoResponse { - const obj = createBaseQueryHistoricalInfoResponse(); - if (isSet(object.hist)) obj.hist = HistoricalInfo.fromJSON(object.hist); - return obj; - }, - toJSON(message: QueryHistoricalInfoResponse): unknown { - const obj: any = {}; - message.hist !== undefined && (obj.hist = message.hist ? HistoricalInfo.toJSON(message.hist) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryHistoricalInfoResponse { - const message = createBaseQueryHistoricalInfoResponse(); - if (object.hist !== undefined && object.hist !== null) { - message.hist = HistoricalInfo.fromPartial(object.hist); - } - return message; - }, - fromSDK(object: QueryHistoricalInfoResponseSDKType): QueryHistoricalInfoResponse { - return { - hist: object.hist ? HistoricalInfo.fromSDK(object.hist) : undefined - }; - }, - toSDK(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseSDKType { - const obj: any = {}; - message.hist !== undefined && (obj.hist = message.hist ? HistoricalInfo.toSDK(message.hist) : undefined); - return obj; - }, - fromAmino(object: QueryHistoricalInfoResponseAmino): QueryHistoricalInfoResponse { - return { - hist: object?.hist ? HistoricalInfo.fromAmino(object.hist) : undefined - }; - }, - toAmino(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseAmino { - const obj: any = {}; - obj.hist = message.hist ? HistoricalInfo.toAmino(message.hist) : undefined; - return obj; - }, - fromAminoMsg(object: QueryHistoricalInfoResponseAminoMsg): QueryHistoricalInfoResponse { - return QueryHistoricalInfoResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseAminoMsg { - return { - type: "cosmos-sdk/QueryHistoricalInfoResponse", - value: QueryHistoricalInfoResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryHistoricalInfoResponseProtoMsg): QueryHistoricalInfoResponse { - return QueryHistoricalInfoResponse.decode(message.value); - }, - toProto(message: QueryHistoricalInfoResponse): Uint8Array { - return QueryHistoricalInfoResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryHistoricalInfoResponse): QueryHistoricalInfoResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoResponse", - value: QueryHistoricalInfoResponse.encode(message).finish() - }; - } -}; -function createBaseQueryPoolRequest(): QueryPoolRequest { - return {}; -} -export const QueryPoolRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryPoolRequest", - aminoType: "cosmos-sdk/QueryPoolRequest", - encode(_: QueryPoolRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPoolRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryPoolRequest { - const obj = createBaseQueryPoolRequest(); - return obj; - }, - toJSON(_: QueryPoolRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryPoolRequest { - const message = createBaseQueryPoolRequest(); - return message; - }, - fromSDK(_: QueryPoolRequestSDKType): QueryPoolRequest { - return {}; - }, - toSDK(_: QueryPoolRequest): QueryPoolRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryPoolRequestAmino): QueryPoolRequest { - return {}; - }, - toAmino(_: QueryPoolRequest): QueryPoolRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryPoolRequestAminoMsg): QueryPoolRequest { - return QueryPoolRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryPoolRequest): QueryPoolRequestAminoMsg { - return { - type: "cosmos-sdk/QueryPoolRequest", - value: QueryPoolRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryPoolRequestProtoMsg): QueryPoolRequest { - return QueryPoolRequest.decode(message.value); - }, - toProto(message: QueryPoolRequest): Uint8Array { - return QueryPoolRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryPoolRequest): QueryPoolRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryPoolRequest", - value: QueryPoolRequest.encode(message).finish() - }; - } -}; -function createBaseQueryPoolResponse(): QueryPoolResponse { - return { - pool: Pool.fromPartial({}) - }; -} -export const QueryPoolResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryPoolResponse", - aminoType: "cosmos-sdk/QueryPoolResponse", - encode(message: QueryPoolResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pool !== undefined) { - Pool.encode(message.pool, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPoolResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pool = Pool.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryPoolResponse { - const obj = createBaseQueryPoolResponse(); - if (isSet(object.pool)) obj.pool = Pool.fromJSON(object.pool); - return obj; - }, - toJSON(message: QueryPoolResponse): unknown { - const obj: any = {}; - message.pool !== undefined && (obj.pool = message.pool ? Pool.toJSON(message.pool) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryPoolResponse { - const message = createBaseQueryPoolResponse(); - if (object.pool !== undefined && object.pool !== null) { - message.pool = Pool.fromPartial(object.pool); - } - return message; - }, - fromSDK(object: QueryPoolResponseSDKType): QueryPoolResponse { - return { - pool: object.pool ? Pool.fromSDK(object.pool) : undefined - }; - }, - toSDK(message: QueryPoolResponse): QueryPoolResponseSDKType { - const obj: any = {}; - message.pool !== undefined && (obj.pool = message.pool ? Pool.toSDK(message.pool) : undefined); - return obj; - }, - fromAmino(object: QueryPoolResponseAmino): QueryPoolResponse { - return { - pool: object?.pool ? Pool.fromAmino(object.pool) : undefined - }; - }, - toAmino(message: QueryPoolResponse): QueryPoolResponseAmino { - const obj: any = {}; - obj.pool = message.pool ? Pool.toAmino(message.pool) : undefined; - return obj; - }, - fromAminoMsg(object: QueryPoolResponseAminoMsg): QueryPoolResponse { - return QueryPoolResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryPoolResponse): QueryPoolResponseAminoMsg { - return { - type: "cosmos-sdk/QueryPoolResponse", - value: QueryPoolResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryPoolResponseProtoMsg): QueryPoolResponse { - return QueryPoolResponse.decode(message.value); - }, - toProto(message: QueryPoolResponse): Uint8Array { - return QueryPoolResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryPoolResponse): QueryPoolResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryPoolResponse", - value: QueryPoolResponse.encode(message).finish() - }; - } -}; -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} -export const QueryParamsRequest = { - typeUrl: "/cosmos.staking.v1beta1.QueryParamsRequest", - aminoType: "cosmos-sdk/QueryParamsRequest", - encode(_: QueryParamsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryParamsRequest { - const obj = createBaseQueryParamsRequest(); - return obj; - }, - toJSON(_: QueryParamsRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryParamsRequest { - const message = createBaseQueryParamsRequest(); - return message; - }, - fromSDK(_: QueryParamsRequestSDKType): QueryParamsRequest { - return {}; - }, - toSDK(_: QueryParamsRequest): QueryParamsRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryParamsRequestAmino): QueryParamsRequest { - return {}; - }, - toAmino(_: QueryParamsRequest): QueryParamsRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryParamsRequestAminoMsg): QueryParamsRequest { - return QueryParamsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsRequest): QueryParamsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryParamsRequest", - value: QueryParamsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsRequestProtoMsg): QueryParamsRequest { - return QueryParamsRequest.decode(message.value); - }, - toProto(message: QueryParamsRequest): Uint8Array { - return QueryParamsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsRequest): QueryParamsRequestProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryParamsRequest", - value: QueryParamsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryParamsResponse(): QueryParamsResponse { - return { - params: Params.fromPartial({}) - }; -} -export const QueryParamsResponse = { - typeUrl: "/cosmos.staking.v1beta1.QueryParamsResponse", - aminoType: "cosmos-sdk/QueryParamsResponse", - encode(message: QueryParamsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryParamsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryParamsResponse { - const obj = createBaseQueryParamsResponse(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - return obj; - }, - toJSON(message: QueryParamsResponse): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - return message; - }, - fromSDK(object: QueryParamsResponseSDKType): QueryParamsResponse { - return { - params: object.params ? Params.fromSDK(object.params) : undefined - }; - }, - toSDK(message: QueryParamsResponse): QueryParamsResponseSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - return obj; - }, - fromAmino(object: QueryParamsResponseAmino): QueryParamsResponse { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined - }; - }, - toAmino(message: QueryParamsResponse): QueryParamsResponseAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - return obj; - }, - fromAminoMsg(object: QueryParamsResponseAminoMsg): QueryParamsResponse { - return QueryParamsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryParamsResponse): QueryParamsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryParamsResponse", - value: QueryParamsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryParamsResponseProtoMsg): QueryParamsResponse { - return QueryParamsResponse.decode(message.value); - }, - toProto(message: QueryParamsResponse): Uint8Array { - return QueryParamsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryParamsResponse): QueryParamsResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.QueryParamsResponse", - value: QueryParamsResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/staking.ts b/quicksilverjs/src/codegen/cosmos/staking/v1beta1/staking.ts deleted file mode 100644 index 4bae5a9b0..000000000 --- a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/staking.ts +++ /dev/null @@ -1,3316 +0,0 @@ -import { Header, HeaderAmino, HeaderSDKType } from "../../../tendermint/types/types"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Duration, DurationAmino, DurationSDKType } from "../../../google/protobuf/duration"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Long, isSet, DeepPartial, toTimestamp, fromTimestamp } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { encodePubkey, decodePubkey } from "@cosmjs/proto-signing"; -export const protobufPackage = "cosmos.staking.v1beta1"; -/** BondStatus is the status of a validator. */ -export enum BondStatus { - /** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */ - BOND_STATUS_UNSPECIFIED = 0, - /** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */ - BOND_STATUS_UNBONDED = 1, - /** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */ - BOND_STATUS_UNBONDING = 2, - /** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */ - BOND_STATUS_BONDED = 3, - UNRECOGNIZED = -1, -} -export const BondStatusSDKType = BondStatus; -export const BondStatusAmino = BondStatus; -export function bondStatusFromJSON(object: any): BondStatus { - switch (object) { - case 0: - case "BOND_STATUS_UNSPECIFIED": - return BondStatus.BOND_STATUS_UNSPECIFIED; - case 1: - case "BOND_STATUS_UNBONDED": - return BondStatus.BOND_STATUS_UNBONDED; - case 2: - case "BOND_STATUS_UNBONDING": - return BondStatus.BOND_STATUS_UNBONDING; - case 3: - case "BOND_STATUS_BONDED": - return BondStatus.BOND_STATUS_BONDED; - case -1: - case "UNRECOGNIZED": - default: - return BondStatus.UNRECOGNIZED; - } -} -export function bondStatusToJSON(object: BondStatus): string { - switch (object) { - case BondStatus.BOND_STATUS_UNSPECIFIED: - return "BOND_STATUS_UNSPECIFIED"; - case BondStatus.BOND_STATUS_UNBONDED: - return "BOND_STATUS_UNBONDED"; - case BondStatus.BOND_STATUS_UNBONDING: - return "BOND_STATUS_UNBONDING"; - case BondStatus.BOND_STATUS_BONDED: - return "BOND_STATUS_BONDED"; - case BondStatus.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * HistoricalInfo contains header and validator information for a given block. - * It is stored as part of staking module's state, which persists the `n` most - * recent HistoricalInfo - * (`n` is set by the staking module's `historical_entries` parameter). - */ -export interface HistoricalInfo { - header: Header; - valset: Validator[]; -} -export interface HistoricalInfoProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo"; - value: Uint8Array; -} -/** - * HistoricalInfo contains header and validator information for a given block. - * It is stored as part of staking module's state, which persists the `n` most - * recent HistoricalInfo - * (`n` is set by the staking module's `historical_entries` parameter). - */ -export interface HistoricalInfoAmino { - header?: HeaderAmino; - valset: ValidatorAmino[]; -} -export interface HistoricalInfoAminoMsg { - type: "cosmos-sdk/HistoricalInfo"; - value: HistoricalInfoAmino; -} -/** - * HistoricalInfo contains header and validator information for a given block. - * It is stored as part of staking module's state, which persists the `n` most - * recent HistoricalInfo - * (`n` is set by the staking module's `historical_entries` parameter). - */ -export interface HistoricalInfoSDKType { - header: HeaderSDKType; - valset: ValidatorSDKType[]; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ -export interface CommissionRates { - /** rate is the commission rate charged to delegators, as a fraction. */ - rate: string; - /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */ - maxRate: string; - /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */ - maxChangeRate: string; -} -export interface CommissionRatesProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.CommissionRates"; - value: Uint8Array; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ -export interface CommissionRatesAmino { - /** rate is the commission rate charged to delegators, as a fraction. */ - rate: string; - /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */ - max_rate: string; - /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */ - max_change_rate: string; -} -export interface CommissionRatesAminoMsg { - type: "cosmos-sdk/CommissionRates"; - value: CommissionRatesAmino; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ -export interface CommissionRatesSDKType { - rate: string; - max_rate: string; - max_change_rate: string; -} -/** Commission defines commission parameters for a given validator. */ -export interface Commission { - /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commissionRates: CommissionRates; - /** update_time is the last time the commission rate was changed. */ - updateTime: Date; -} -export interface CommissionProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Commission"; - value: Uint8Array; -} -/** Commission defines commission parameters for a given validator. */ -export interface CommissionAmino { - /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commission_rates?: CommissionRatesAmino; - /** update_time is the last time the commission rate was changed. */ - update_time?: Date; -} -export interface CommissionAminoMsg { - type: "cosmos-sdk/Commission"; - value: CommissionAmino; -} -/** Commission defines commission parameters for a given validator. */ -export interface CommissionSDKType { - commission_rates: CommissionRatesSDKType; - update_time: Date; -} -/** Description defines a validator description. */ -export interface Description { - /** moniker defines a human-readable name for the validator. */ - moniker: string; - /** identity defines an optional identity signature (ex. UPort or Keybase). */ - identity: string; - /** website defines an optional website link. */ - website: string; - /** security_contact defines an optional email for security contact. */ - securityContact: string; - /** details define other optional details. */ - details: string; -} -export interface DescriptionProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Description"; - value: Uint8Array; -} -/** Description defines a validator description. */ -export interface DescriptionAmino { - /** moniker defines a human-readable name for the validator. */ - moniker: string; - /** identity defines an optional identity signature (ex. UPort or Keybase). */ - identity: string; - /** website defines an optional website link. */ - website: string; - /** security_contact defines an optional email for security contact. */ - security_contact: string; - /** details define other optional details. */ - details: string; -} -export interface DescriptionAminoMsg { - type: "cosmos-sdk/Description"; - value: DescriptionAmino; -} -/** Description defines a validator description. */ -export interface DescriptionSDKType { - moniker: string; - identity: string; - website: string; - security_contact: string; - details: string; -} -/** - * Validator defines a validator, together with the total amount of the - * Validator's bond shares and their exchange rate to coins. Slashing results in - * a decrease in the exchange rate, allowing correct calculation of future - * undelegations without iterating over delegators. When coins are delegated to - * this validator, the validator is credited with a delegation whose number of - * bond shares is based on the amount of coins delegated divided by the current - * exchange rate. Voting power can be calculated as total bonded shares - * multiplied by exchange rate. - */ -export interface Validator { - /** operator_address defines the address of the validator's operator; bech encoded in JSON. */ - operatorAddress: string; - /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ - consensusPubkey: Any | undefined; - /** jailed defined whether the validator has been jailed from bonded status or not. */ - jailed: boolean; - /** status is the validator status (bonded/unbonding/unbonded). */ - status: BondStatus; - /** tokens define the delegated tokens (incl. self-delegation). */ - tokens: string; - /** delegator_shares defines total shares issued to a validator's delegators. */ - delegatorShares: string; - /** description defines the description terms for the validator. */ - description: Description; - /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ - unbondingHeight: Long; - /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbondingTime: Date; - /** commission defines the commission parameters. */ - commission: Commission; - /** min_self_delegation is the validator's self declared minimum self delegation. */ - minSelfDelegation: string; -} -export interface ValidatorProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Validator"; - value: Uint8Array; -} -export type ValidatorEncoded = Omit & { - /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */consensusPubkey?: AnyProtoMsg | undefined; -}; -/** - * Validator defines a validator, together with the total amount of the - * Validator's bond shares and their exchange rate to coins. Slashing results in - * a decrease in the exchange rate, allowing correct calculation of future - * undelegations without iterating over delegators. When coins are delegated to - * this validator, the validator is credited with a delegation whose number of - * bond shares is based on the amount of coins delegated divided by the current - * exchange rate. Voting power can be calculated as total bonded shares - * multiplied by exchange rate. - */ -export interface ValidatorAmino { - /** operator_address defines the address of the validator's operator; bech encoded in JSON. */ - operator_address: string; - /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ - consensus_pubkey?: AnyAmino; - /** jailed defined whether the validator has been jailed from bonded status or not. */ - jailed: boolean; - /** status is the validator status (bonded/unbonding/unbonded). */ - status: BondStatus; - /** tokens define the delegated tokens (incl. self-delegation). */ - tokens: string; - /** delegator_shares defines total shares issued to a validator's delegators. */ - delegator_shares: string; - /** description defines the description terms for the validator. */ - description?: DescriptionAmino; - /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ - unbonding_height: string; - /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbonding_time?: Date; - /** commission defines the commission parameters. */ - commission?: CommissionAmino; - /** min_self_delegation is the validator's self declared minimum self delegation. */ - min_self_delegation: string; -} -export interface ValidatorAminoMsg { - type: "cosmos-sdk/Validator"; - value: ValidatorAmino; -} -/** - * Validator defines a validator, together with the total amount of the - * Validator's bond shares and their exchange rate to coins. Slashing results in - * a decrease in the exchange rate, allowing correct calculation of future - * undelegations without iterating over delegators. When coins are delegated to - * this validator, the validator is credited with a delegation whose number of - * bond shares is based on the amount of coins delegated divided by the current - * exchange rate. Voting power can be calculated as total bonded shares - * multiplied by exchange rate. - */ -export interface ValidatorSDKType { - operator_address: string; - consensus_pubkey: AnySDKType | undefined; - jailed: boolean; - status: BondStatus; - tokens: string; - delegator_shares: string; - description: DescriptionSDKType; - unbonding_height: Long; - unbonding_time: Date; - commission: CommissionSDKType; - min_self_delegation: string; -} -/** ValAddresses defines a repeated set of validator addresses. */ -export interface ValAddresses { - addresses: string[]; -} -export interface ValAddressesProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.ValAddresses"; - value: Uint8Array; -} -/** ValAddresses defines a repeated set of validator addresses. */ -export interface ValAddressesAmino { - addresses: string[]; -} -export interface ValAddressesAminoMsg { - type: "cosmos-sdk/ValAddresses"; - value: ValAddressesAmino; -} -/** ValAddresses defines a repeated set of validator addresses. */ -export interface ValAddressesSDKType { - addresses: string[]; -} -/** - * DVPair is struct that just has a delegator-validator pair with no other data. - * It is intended to be used as a marshalable pointer. For example, a DVPair can - * be used to construct the key to getting an UnbondingDelegation from state. - */ -export interface DVPair { - delegatorAddress: string; - validatorAddress: string; -} -export interface DVPairProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVPair"; - value: Uint8Array; -} -/** - * DVPair is struct that just has a delegator-validator pair with no other data. - * It is intended to be used as a marshalable pointer. For example, a DVPair can - * be used to construct the key to getting an UnbondingDelegation from state. - */ -export interface DVPairAmino { - delegator_address: string; - validator_address: string; -} -export interface DVPairAminoMsg { - type: "cosmos-sdk/DVPair"; - value: DVPairAmino; -} -/** - * DVPair is struct that just has a delegator-validator pair with no other data. - * It is intended to be used as a marshalable pointer. For example, a DVPair can - * be used to construct the key to getting an UnbondingDelegation from state. - */ -export interface DVPairSDKType { - delegator_address: string; - validator_address: string; -} -/** DVPairs defines an array of DVPair objects. */ -export interface DVPairs { - pairs: DVPair[]; -} -export interface DVPairsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVPairs"; - value: Uint8Array; -} -/** DVPairs defines an array of DVPair objects. */ -export interface DVPairsAmino { - pairs: DVPairAmino[]; -} -export interface DVPairsAminoMsg { - type: "cosmos-sdk/DVPairs"; - value: DVPairsAmino; -} -/** DVPairs defines an array of DVPair objects. */ -export interface DVPairsSDKType { - pairs: DVPairSDKType[]; -} -/** - * DVVTriplet is struct that just has a delegator-validator-validator triplet - * with no other data. It is intended to be used as a marshalable pointer. For - * example, a DVVTriplet can be used to construct the key to getting a - * Redelegation from state. - */ -export interface DVVTriplet { - delegatorAddress: string; - validatorSrcAddress: string; - validatorDstAddress: string; -} -export interface DVVTripletProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVVTriplet"; - value: Uint8Array; -} -/** - * DVVTriplet is struct that just has a delegator-validator-validator triplet - * with no other data. It is intended to be used as a marshalable pointer. For - * example, a DVVTriplet can be used to construct the key to getting a - * Redelegation from state. - */ -export interface DVVTripletAmino { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; -} -export interface DVVTripletAminoMsg { - type: "cosmos-sdk/DVVTriplet"; - value: DVVTripletAmino; -} -/** - * DVVTriplet is struct that just has a delegator-validator-validator triplet - * with no other data. It is intended to be used as a marshalable pointer. For - * example, a DVVTriplet can be used to construct the key to getting a - * Redelegation from state. - */ -export interface DVVTripletSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; -} -/** DVVTriplets defines an array of DVVTriplet objects. */ -export interface DVVTriplets { - triplets: DVVTriplet[]; -} -export interface DVVTripletsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DVVTriplets"; - value: Uint8Array; -} -/** DVVTriplets defines an array of DVVTriplet objects. */ -export interface DVVTripletsAmino { - triplets: DVVTripletAmino[]; -} -export interface DVVTripletsAminoMsg { - type: "cosmos-sdk/DVVTriplets"; - value: DVVTripletsAmino; -} -/** DVVTriplets defines an array of DVVTriplet objects. */ -export interface DVVTripletsSDKType { - triplets: DVVTripletSDKType[]; -} -/** - * Delegation represents the bond with tokens held by an account. It is - * owned by one delegator, and is associated with the voting power of one - * validator. - */ -export interface Delegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_address is the bech32-encoded address of the validator. */ - validatorAddress: string; - /** shares define the delegation shares received. */ - shares: string; -} -export interface DelegationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Delegation"; - value: Uint8Array; -} -/** - * Delegation represents the bond with tokens held by an account. It is - * owned by one delegator, and is associated with the voting power of one - * validator. - */ -export interface DelegationAmino { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegator_address: string; - /** validator_address is the bech32-encoded address of the validator. */ - validator_address: string; - /** shares define the delegation shares received. */ - shares: string; -} -export interface DelegationAminoMsg { - type: "cosmos-sdk/Delegation"; - value: DelegationAmino; -} -/** - * Delegation represents the bond with tokens held by an account. It is - * owned by one delegator, and is associated with the voting power of one - * validator. - */ -export interface DelegationSDKType { - delegator_address: string; - validator_address: string; - shares: string; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ -export interface UnbondingDelegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_address is the bech32-encoded address of the validator. */ - validatorAddress: string; - /** entries are the unbonding delegation entries. */ - entries: UnbondingDelegationEntry[]; -} -export interface UnbondingDelegationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation"; - value: Uint8Array; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ -export interface UnbondingDelegationAmino { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegator_address: string; - /** validator_address is the bech32-encoded address of the validator. */ - validator_address: string; - /** entries are the unbonding delegation entries. */ - entries: UnbondingDelegationEntryAmino[]; -} -export interface UnbondingDelegationAminoMsg { - type: "cosmos-sdk/UnbondingDelegation"; - value: UnbondingDelegationAmino; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ -export interface UnbondingDelegationSDKType { - delegator_address: string; - validator_address: string; - entries: UnbondingDelegationEntrySDKType[]; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ -export interface UnbondingDelegationEntry { - /** creation_height is the height which the unbonding took place. */ - creationHeight: Long; - /** completion_time is the unix time for unbonding completion. */ - completionTime: Date; - /** initial_balance defines the tokens initially scheduled to receive at completion. */ - initialBalance: string; - /** balance defines the tokens to receive at completion. */ - balance: string; -} -export interface UnbondingDelegationEntryProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry"; - value: Uint8Array; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ -export interface UnbondingDelegationEntryAmino { - /** creation_height is the height which the unbonding took place. */ - creation_height: string; - /** completion_time is the unix time for unbonding completion. */ - completion_time?: Date; - /** initial_balance defines the tokens initially scheduled to receive at completion. */ - initial_balance: string; - /** balance defines the tokens to receive at completion. */ - balance: string; -} -export interface UnbondingDelegationEntryAminoMsg { - type: "cosmos-sdk/UnbondingDelegationEntry"; - value: UnbondingDelegationEntryAmino; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ -export interface UnbondingDelegationEntrySDKType { - creation_height: Long; - completion_time: Date; - initial_balance: string; - balance: string; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ -export interface RedelegationEntry { - /** creation_height defines the height which the redelegation took place. */ - creationHeight: Long; - /** completion_time defines the unix time for redelegation completion. */ - completionTime: Date; - /** initial_balance defines the initial balance when redelegation started. */ - initialBalance: string; - /** shares_dst is the amount of destination-validator shares created by redelegation. */ - sharesDst: string; -} -export interface RedelegationEntryProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry"; - value: Uint8Array; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ -export interface RedelegationEntryAmino { - /** creation_height defines the height which the redelegation took place. */ - creation_height: string; - /** completion_time defines the unix time for redelegation completion. */ - completion_time?: Date; - /** initial_balance defines the initial balance when redelegation started. */ - initial_balance: string; - /** shares_dst is the amount of destination-validator shares created by redelegation. */ - shares_dst: string; -} -export interface RedelegationEntryAminoMsg { - type: "cosmos-sdk/RedelegationEntry"; - value: RedelegationEntryAmino; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ -export interface RedelegationEntrySDKType { - creation_height: Long; - completion_time: Date; - initial_balance: string; - shares_dst: string; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ -export interface Redelegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_src_address is the validator redelegation source operator address. */ - validatorSrcAddress: string; - /** validator_dst_address is the validator redelegation destination operator address. */ - validatorDstAddress: string; - /** entries are the redelegation entries. */ - entries: RedelegationEntry[]; -} -export interface RedelegationProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Redelegation"; - value: Uint8Array; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ -export interface RedelegationAmino { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegator_address: string; - /** validator_src_address is the validator redelegation source operator address. */ - validator_src_address: string; - /** validator_dst_address is the validator redelegation destination operator address. */ - validator_dst_address: string; - /** entries are the redelegation entries. */ - entries: RedelegationEntryAmino[]; -} -export interface RedelegationAminoMsg { - type: "cosmos-sdk/Redelegation"; - value: RedelegationAmino; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ -export interface RedelegationSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - entries: RedelegationEntrySDKType[]; -} -/** Params defines the parameters for the staking module. */ -export interface Params { - /** unbonding_time is the time duration of unbonding. */ - unbondingTime: Duration; - /** max_validators is the maximum number of validators. */ - maxValidators: number; - /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */ - maxEntries: number; - /** historical_entries is the number of historical entries to persist. */ - historicalEntries: number; - /** bond_denom defines the bondable coin denomination. */ - bondDenom: string; - /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */ - minCommissionRate: string; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Params"; - value: Uint8Array; -} -/** Params defines the parameters for the staking module. */ -export interface ParamsAmino { - /** unbonding_time is the time duration of unbonding. */ - unbonding_time?: DurationAmino; - /** max_validators is the maximum number of validators. */ - max_validators: number; - /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */ - max_entries: number; - /** historical_entries is the number of historical entries to persist. */ - historical_entries: number; - /** bond_denom defines the bondable coin denomination. */ - bond_denom: string; - /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */ - min_commission_rate: string; -} -export interface ParamsAminoMsg { - type: "cosmos-sdk/Params"; - value: ParamsAmino; -} -/** Params defines the parameters for the staking module. */ -export interface ParamsSDKType { - unbonding_time: DurationSDKType; - max_validators: number; - max_entries: number; - historical_entries: number; - bond_denom: string; - min_commission_rate: string; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ -export interface DelegationResponse { - delegation: Delegation; - balance: Coin; -} -export interface DelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.DelegationResponse"; - value: Uint8Array; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ -export interface DelegationResponseAmino { - delegation?: DelegationAmino; - balance?: CoinAmino; -} -export interface DelegationResponseAminoMsg { - type: "cosmos-sdk/DelegationResponse"; - value: DelegationResponseAmino; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ -export interface DelegationResponseSDKType { - delegation: DelegationSDKType; - balance: CoinSDKType; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationEntryResponse { - redelegationEntry: RedelegationEntry; - balance: string; -} -export interface RedelegationEntryResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse"; - value: Uint8Array; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationEntryResponseAmino { - redelegation_entry?: RedelegationEntryAmino; - balance: string; -} -export interface RedelegationEntryResponseAminoMsg { - type: "cosmos-sdk/RedelegationEntryResponse"; - value: RedelegationEntryResponseAmino; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationEntryResponseSDKType { - redelegation_entry: RedelegationEntrySDKType; - balance: string; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationResponse { - redelegation: Redelegation; - entries: RedelegationEntryResponse[]; -} -export interface RedelegationResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse"; - value: Uint8Array; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationResponseAmino { - redelegation?: RedelegationAmino; - entries: RedelegationEntryResponseAmino[]; -} -export interface RedelegationResponseAminoMsg { - type: "cosmos-sdk/RedelegationResponse"; - value: RedelegationResponseAmino; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationResponseSDKType { - redelegation: RedelegationSDKType; - entries: RedelegationEntryResponseSDKType[]; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ -export interface Pool { - notBondedTokens: string; - bondedTokens: string; -} -export interface PoolProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.Pool"; - value: Uint8Array; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ -export interface PoolAmino { - not_bonded_tokens: string; - bonded_tokens: string; -} -export interface PoolAminoMsg { - type: "cosmos-sdk/Pool"; - value: PoolAmino; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ -export interface PoolSDKType { - not_bonded_tokens: string; - bonded_tokens: string; -} -function createBaseHistoricalInfo(): HistoricalInfo { - return { - header: Header.fromPartial({}), - valset: [] - }; -} -export const HistoricalInfo = { - typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo", - aminoType: "cosmos-sdk/HistoricalInfo", - encode(message: HistoricalInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.header !== undefined) { - Header.encode(message.header, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.valset) { - Validator.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): HistoricalInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHistoricalInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.header = Header.decode(reader, reader.uint32()); - break; - case 2: - message.valset.push(Validator.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): HistoricalInfo { - const obj = createBaseHistoricalInfo(); - if (isSet(object.header)) obj.header = Header.fromJSON(object.header); - if (Array.isArray(object?.valset)) obj.valset = object.valset.map((e: any) => Validator.fromJSON(e)); - return obj; - }, - toJSON(message: HistoricalInfo): unknown { - const obj: any = {}; - message.header !== undefined && (obj.header = message.header ? Header.toJSON(message.header) : undefined); - if (message.valset) { - obj.valset = message.valset.map(e => e ? Validator.toJSON(e) : undefined); - } else { - obj.valset = []; - } - return obj; - }, - fromPartial(object: DeepPartial): HistoricalInfo { - const message = createBaseHistoricalInfo(); - if (object.header !== undefined && object.header !== null) { - message.header = Header.fromPartial(object.header); - } - message.valset = object.valset?.map(e => Validator.fromPartial(e)) || []; - return message; - }, - fromSDK(object: HistoricalInfoSDKType): HistoricalInfo { - return { - header: object.header ? Header.fromSDK(object.header) : undefined, - valset: Array.isArray(object?.valset) ? object.valset.map((e: any) => Validator.fromSDK(e)) : [] - }; - }, - toSDK(message: HistoricalInfo): HistoricalInfoSDKType { - const obj: any = {}; - message.header !== undefined && (obj.header = message.header ? Header.toSDK(message.header) : undefined); - if (message.valset) { - obj.valset = message.valset.map(e => e ? Validator.toSDK(e) : undefined); - } else { - obj.valset = []; - } - return obj; - }, - fromAmino(object: HistoricalInfoAmino): HistoricalInfo { - return { - header: object?.header ? Header.fromAmino(object.header) : undefined, - valset: Array.isArray(object?.valset) ? object.valset.map((e: any) => Validator.fromAmino(e)) : [] - }; - }, - toAmino(message: HistoricalInfo): HistoricalInfoAmino { - const obj: any = {}; - obj.header = message.header ? Header.toAmino(message.header) : undefined; - if (message.valset) { - obj.valset = message.valset.map(e => e ? Validator.toAmino(e) : undefined); - } else { - obj.valset = []; - } - return obj; - }, - fromAminoMsg(object: HistoricalInfoAminoMsg): HistoricalInfo { - return HistoricalInfo.fromAmino(object.value); - }, - toAminoMsg(message: HistoricalInfo): HistoricalInfoAminoMsg { - return { - type: "cosmos-sdk/HistoricalInfo", - value: HistoricalInfo.toAmino(message) - }; - }, - fromProtoMsg(message: HistoricalInfoProtoMsg): HistoricalInfo { - return HistoricalInfo.decode(message.value); - }, - toProto(message: HistoricalInfo): Uint8Array { - return HistoricalInfo.encode(message).finish(); - }, - toProtoMsg(message: HistoricalInfo): HistoricalInfoProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.HistoricalInfo", - value: HistoricalInfo.encode(message).finish() - }; - } -}; -function createBaseCommissionRates(): CommissionRates { - return { - rate: "", - maxRate: "", - maxChangeRate: "" - }; -} -export const CommissionRates = { - typeUrl: "/cosmos.staking.v1beta1.CommissionRates", - aminoType: "cosmos-sdk/CommissionRates", - encode(message: CommissionRates, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.rate !== "") { - writer.uint32(10).string(message.rate); - } - if (message.maxRate !== "") { - writer.uint32(18).string(message.maxRate); - } - if (message.maxChangeRate !== "") { - writer.uint32(26).string(message.maxChangeRate); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CommissionRates { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommissionRates(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rate = reader.string(); - break; - case 2: - message.maxRate = reader.string(); - break; - case 3: - message.maxChangeRate = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CommissionRates { - const obj = createBaseCommissionRates(); - if (isSet(object.rate)) obj.rate = String(object.rate); - if (isSet(object.maxRate)) obj.maxRate = String(object.maxRate); - if (isSet(object.maxChangeRate)) obj.maxChangeRate = String(object.maxChangeRate); - return obj; - }, - toJSON(message: CommissionRates): unknown { - const obj: any = {}; - message.rate !== undefined && (obj.rate = message.rate); - message.maxRate !== undefined && (obj.maxRate = message.maxRate); - message.maxChangeRate !== undefined && (obj.maxChangeRate = message.maxChangeRate); - return obj; - }, - fromPartial(object: DeepPartial): CommissionRates { - const message = createBaseCommissionRates(); - message.rate = object.rate ?? ""; - message.maxRate = object.maxRate ?? ""; - message.maxChangeRate = object.maxChangeRate ?? ""; - return message; - }, - fromSDK(object: CommissionRatesSDKType): CommissionRates { - return { - rate: object?.rate, - maxRate: object?.max_rate, - maxChangeRate: object?.max_change_rate - }; - }, - toSDK(message: CommissionRates): CommissionRatesSDKType { - const obj: any = {}; - obj.rate = message.rate; - obj.max_rate = message.maxRate; - obj.max_change_rate = message.maxChangeRate; - return obj; - }, - fromAmino(object: CommissionRatesAmino): CommissionRates { - return { - rate: object.rate, - maxRate: object.max_rate, - maxChangeRate: object.max_change_rate - }; - }, - toAmino(message: CommissionRates): CommissionRatesAmino { - const obj: any = {}; - obj.rate = message.rate; - obj.max_rate = message.maxRate; - obj.max_change_rate = message.maxChangeRate; - return obj; - }, - fromAminoMsg(object: CommissionRatesAminoMsg): CommissionRates { - return CommissionRates.fromAmino(object.value); - }, - toAminoMsg(message: CommissionRates): CommissionRatesAminoMsg { - return { - type: "cosmos-sdk/CommissionRates", - value: CommissionRates.toAmino(message) - }; - }, - fromProtoMsg(message: CommissionRatesProtoMsg): CommissionRates { - return CommissionRates.decode(message.value); - }, - toProto(message: CommissionRates): Uint8Array { - return CommissionRates.encode(message).finish(); - }, - toProtoMsg(message: CommissionRates): CommissionRatesProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.CommissionRates", - value: CommissionRates.encode(message).finish() - }; - } -}; -function createBaseCommission(): Commission { - return { - commissionRates: CommissionRates.fromPartial({}), - updateTime: new Date() - }; -} -export const Commission = { - typeUrl: "/cosmos.staking.v1beta1.Commission", - aminoType: "cosmos-sdk/Commission", - encode(message: Commission, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.commissionRates !== undefined) { - CommissionRates.encode(message.commissionRates, writer.uint32(10).fork()).ldelim(); - } - if (message.updateTime !== undefined) { - Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Commission { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCommission(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.commissionRates = CommissionRates.decode(reader, reader.uint32()); - break; - case 2: - message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Commission { - const obj = createBaseCommission(); - if (isSet(object.commissionRates)) obj.commissionRates = CommissionRates.fromJSON(object.commissionRates); - if (isSet(object.updateTime)) obj.updateTime = new Date(object.updateTime); - return obj; - }, - toJSON(message: Commission): unknown { - const obj: any = {}; - message.commissionRates !== undefined && (obj.commissionRates = message.commissionRates ? CommissionRates.toJSON(message.commissionRates) : undefined); - message.updateTime !== undefined && (obj.updateTime = message.updateTime.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): Commission { - const message = createBaseCommission(); - if (object.commissionRates !== undefined && object.commissionRates !== null) { - message.commissionRates = CommissionRates.fromPartial(object.commissionRates); - } - message.updateTime = object.updateTime ?? undefined; - return message; - }, - fromSDK(object: CommissionSDKType): Commission { - return { - commissionRates: object.commission_rates ? CommissionRates.fromSDK(object.commission_rates) : undefined, - updateTime: object.update_time ?? undefined - }; - }, - toSDK(message: Commission): CommissionSDKType { - const obj: any = {}; - message.commissionRates !== undefined && (obj.commission_rates = message.commissionRates ? CommissionRates.toSDK(message.commissionRates) : undefined); - message.updateTime !== undefined && (obj.update_time = message.updateTime ?? undefined); - return obj; - }, - fromAmino(object: CommissionAmino): Commission { - return { - commissionRates: object?.commission_rates ? CommissionRates.fromAmino(object.commission_rates) : undefined, - updateTime: object.update_time - }; - }, - toAmino(message: Commission): CommissionAmino { - const obj: any = {}; - obj.commission_rates = message.commissionRates ? CommissionRates.toAmino(message.commissionRates) : undefined; - obj.update_time = message.updateTime; - return obj; - }, - fromAminoMsg(object: CommissionAminoMsg): Commission { - return Commission.fromAmino(object.value); - }, - toAminoMsg(message: Commission): CommissionAminoMsg { - return { - type: "cosmos-sdk/Commission", - value: Commission.toAmino(message) - }; - }, - fromProtoMsg(message: CommissionProtoMsg): Commission { - return Commission.decode(message.value); - }, - toProto(message: Commission): Uint8Array { - return Commission.encode(message).finish(); - }, - toProtoMsg(message: Commission): CommissionProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.Commission", - value: Commission.encode(message).finish() - }; - } -}; -function createBaseDescription(): Description { - return { - moniker: "", - identity: "", - website: "", - securityContact: "", - details: "" - }; -} -export const Description = { - typeUrl: "/cosmos.staking.v1beta1.Description", - aminoType: "cosmos-sdk/Description", - encode(message: Description, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.moniker !== "") { - writer.uint32(10).string(message.moniker); - } - if (message.identity !== "") { - writer.uint32(18).string(message.identity); - } - if (message.website !== "") { - writer.uint32(26).string(message.website); - } - if (message.securityContact !== "") { - writer.uint32(34).string(message.securityContact); - } - if (message.details !== "") { - writer.uint32(42).string(message.details); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Description { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDescription(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.moniker = reader.string(); - break; - case 2: - message.identity = reader.string(); - break; - case 3: - message.website = reader.string(); - break; - case 4: - message.securityContact = reader.string(); - break; - case 5: - message.details = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Description { - const obj = createBaseDescription(); - if (isSet(object.moniker)) obj.moniker = String(object.moniker); - if (isSet(object.identity)) obj.identity = String(object.identity); - if (isSet(object.website)) obj.website = String(object.website); - if (isSet(object.securityContact)) obj.securityContact = String(object.securityContact); - if (isSet(object.details)) obj.details = String(object.details); - return obj; - }, - toJSON(message: Description): unknown { - const obj: any = {}; - message.moniker !== undefined && (obj.moniker = message.moniker); - message.identity !== undefined && (obj.identity = message.identity); - message.website !== undefined && (obj.website = message.website); - message.securityContact !== undefined && (obj.securityContact = message.securityContact); - message.details !== undefined && (obj.details = message.details); - return obj; - }, - fromPartial(object: DeepPartial): Description { - const message = createBaseDescription(); - message.moniker = object.moniker ?? ""; - message.identity = object.identity ?? ""; - message.website = object.website ?? ""; - message.securityContact = object.securityContact ?? ""; - message.details = object.details ?? ""; - return message; - }, - fromSDK(object: DescriptionSDKType): Description { - return { - moniker: object?.moniker, - identity: object?.identity, - website: object?.website, - securityContact: object?.security_contact, - details: object?.details - }; - }, - toSDK(message: Description): DescriptionSDKType { - const obj: any = {}; - obj.moniker = message.moniker; - obj.identity = message.identity; - obj.website = message.website; - obj.security_contact = message.securityContact; - obj.details = message.details; - return obj; - }, - fromAmino(object: DescriptionAmino): Description { - return { - moniker: object.moniker, - identity: object.identity, - website: object.website, - securityContact: object.security_contact, - details: object.details - }; - }, - toAmino(message: Description): DescriptionAmino { - const obj: any = {}; - obj.moniker = message.moniker; - obj.identity = message.identity; - obj.website = message.website; - obj.security_contact = message.securityContact; - obj.details = message.details; - return obj; - }, - fromAminoMsg(object: DescriptionAminoMsg): Description { - return Description.fromAmino(object.value); - }, - toAminoMsg(message: Description): DescriptionAminoMsg { - return { - type: "cosmos-sdk/Description", - value: Description.toAmino(message) - }; - }, - fromProtoMsg(message: DescriptionProtoMsg): Description { - return Description.decode(message.value); - }, - toProto(message: Description): Uint8Array { - return Description.encode(message).finish(); - }, - toProtoMsg(message: Description): DescriptionProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.Description", - value: Description.encode(message).finish() - }; - } -}; -function createBaseValidator(): Validator { - return { - operatorAddress: "", - consensusPubkey: Any.fromPartial({}), - jailed: false, - status: 0, - tokens: "", - delegatorShares: "", - description: Description.fromPartial({}), - unbondingHeight: Long.ZERO, - unbondingTime: new Date(), - commission: Commission.fromPartial({}), - minSelfDelegation: "" - }; -} -export const Validator = { - typeUrl: "/cosmos.staking.v1beta1.Validator", - aminoType: "cosmos-sdk/Validator", - encode(message: Validator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.operatorAddress !== "") { - writer.uint32(10).string(message.operatorAddress); - } - if (message.consensusPubkey !== undefined) { - Any.encode((message.consensusPubkey as Any), writer.uint32(18).fork()).ldelim(); - } - if (message.jailed === true) { - writer.uint32(24).bool(message.jailed); - } - if (message.status !== 0) { - writer.uint32(32).int32(message.status); - } - if (message.tokens !== "") { - writer.uint32(42).string(message.tokens); - } - if (message.delegatorShares !== "") { - writer.uint32(50).string(message.delegatorShares); - } - if (message.description !== undefined) { - Description.encode(message.description, writer.uint32(58).fork()).ldelim(); - } - if (!message.unbondingHeight.isZero()) { - writer.uint32(64).int64(message.unbondingHeight); - } - if (message.unbondingTime !== undefined) { - Timestamp.encode(toTimestamp(message.unbondingTime), writer.uint32(74).fork()).ldelim(); - } - if (message.commission !== undefined) { - Commission.encode(message.commission, writer.uint32(82).fork()).ldelim(); - } - if (message.minSelfDelegation !== "") { - writer.uint32(90).string(message.minSelfDelegation); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Validator { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValidator(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.operatorAddress = reader.string(); - break; - case 2: - message.consensusPubkey = (Cosmos_cryptoPubKey_InterfaceDecoder(reader) as Any); - break; - case 3: - message.jailed = reader.bool(); - break; - case 4: - message.status = (reader.int32() as any); - break; - case 5: - message.tokens = reader.string(); - break; - case 6: - message.delegatorShares = reader.string(); - break; - case 7: - message.description = Description.decode(reader, reader.uint32()); - break; - case 8: - message.unbondingHeight = (reader.int64() as Long); - break; - case 9: - message.unbondingTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 10: - message.commission = Commission.decode(reader, reader.uint32()); - break; - case 11: - message.minSelfDelegation = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Validator { - const obj = createBaseValidator(); - if (isSet(object.operatorAddress)) obj.operatorAddress = String(object.operatorAddress); - if (isSet(object.consensusPubkey)) obj.consensusPubkey = Any.fromJSON(object.consensusPubkey); - if (isSet(object.jailed)) obj.jailed = Boolean(object.jailed); - if (isSet(object.status)) obj.status = bondStatusFromJSON(object.status); - if (isSet(object.tokens)) obj.tokens = String(object.tokens); - if (isSet(object.delegatorShares)) obj.delegatorShares = String(object.delegatorShares); - if (isSet(object.description)) obj.description = Description.fromJSON(object.description); - if (isSet(object.unbondingHeight)) obj.unbondingHeight = Long.fromValue(object.unbondingHeight); - if (isSet(object.unbondingTime)) obj.unbondingTime = new Date(object.unbondingTime); - if (isSet(object.commission)) obj.commission = Commission.fromJSON(object.commission); - if (isSet(object.minSelfDelegation)) obj.minSelfDelegation = String(object.minSelfDelegation); - return obj; - }, - toJSON(message: Validator): unknown { - const obj: any = {}; - message.operatorAddress !== undefined && (obj.operatorAddress = message.operatorAddress); - message.consensusPubkey !== undefined && (obj.consensusPubkey = message.consensusPubkey ? Any.toJSON(message.consensusPubkey) : undefined); - message.jailed !== undefined && (obj.jailed = message.jailed); - message.status !== undefined && (obj.status = bondStatusToJSON(message.status)); - message.tokens !== undefined && (obj.tokens = message.tokens); - message.delegatorShares !== undefined && (obj.delegatorShares = message.delegatorShares); - message.description !== undefined && (obj.description = message.description ? Description.toJSON(message.description) : undefined); - message.unbondingHeight !== undefined && (obj.unbondingHeight = (message.unbondingHeight || Long.ZERO).toString()); - message.unbondingTime !== undefined && (obj.unbondingTime = message.unbondingTime.toISOString()); - message.commission !== undefined && (obj.commission = message.commission ? Commission.toJSON(message.commission) : undefined); - message.minSelfDelegation !== undefined && (obj.minSelfDelegation = message.minSelfDelegation); - return obj; - }, - fromPartial(object: DeepPartial): Validator { - const message = createBaseValidator(); - message.operatorAddress = object.operatorAddress ?? ""; - if (object.consensusPubkey !== undefined && object.consensusPubkey !== null) { - message.consensusPubkey = Any.fromPartial(object.consensusPubkey); - } - message.jailed = object.jailed ?? false; - message.status = object.status ?? 0; - message.tokens = object.tokens ?? ""; - message.delegatorShares = object.delegatorShares ?? ""; - if (object.description !== undefined && object.description !== null) { - message.description = Description.fromPartial(object.description); - } - if (object.unbondingHeight !== undefined && object.unbondingHeight !== null) { - message.unbondingHeight = Long.fromValue(object.unbondingHeight); - } - message.unbondingTime = object.unbondingTime ?? undefined; - if (object.commission !== undefined && object.commission !== null) { - message.commission = Commission.fromPartial(object.commission); - } - message.minSelfDelegation = object.minSelfDelegation ?? ""; - return message; - }, - fromSDK(object: ValidatorSDKType): Validator { - return { - operatorAddress: object?.operator_address, - consensusPubkey: object.consensus_pubkey ? Any.fromSDK(object.consensus_pubkey) : undefined, - jailed: object?.jailed, - status: isSet(object.status) ? bondStatusFromJSON(object.status) : -1, - tokens: object?.tokens, - delegatorShares: object?.delegator_shares, - description: object.description ? Description.fromSDK(object.description) : undefined, - unbondingHeight: object?.unbonding_height, - unbondingTime: object.unbonding_time ?? undefined, - commission: object.commission ? Commission.fromSDK(object.commission) : undefined, - minSelfDelegation: object?.min_self_delegation - }; - }, - toSDK(message: Validator): ValidatorSDKType { - const obj: any = {}; - obj.operator_address = message.operatorAddress; - message.consensusPubkey !== undefined && (obj.consensus_pubkey = message.consensusPubkey ? Any.toSDK(message.consensusPubkey) : undefined); - obj.jailed = message.jailed; - message.status !== undefined && (obj.status = bondStatusToJSON(message.status)); - obj.tokens = message.tokens; - obj.delegator_shares = message.delegatorShares; - message.description !== undefined && (obj.description = message.description ? Description.toSDK(message.description) : undefined); - obj.unbonding_height = message.unbondingHeight; - message.unbondingTime !== undefined && (obj.unbonding_time = message.unbondingTime ?? undefined); - message.commission !== undefined && (obj.commission = message.commission ? Commission.toSDK(message.commission) : undefined); - obj.min_self_delegation = message.minSelfDelegation; - return obj; - }, - fromAmino(object: ValidatorAmino): Validator { - return { - operatorAddress: object.operator_address, - consensusPubkey: object?.consensus_pubkey ? encodePubkey(object.consensus_pubkey) : undefined, - jailed: object.jailed, - status: isSet(object.status) ? bondStatusFromJSON(object.status) : -1, - tokens: object.tokens, - delegatorShares: object.delegator_shares, - description: object?.description ? Description.fromAmino(object.description) : undefined, - unbondingHeight: Long.fromString(object.unbonding_height), - unbondingTime: object.unbonding_time, - commission: object?.commission ? Commission.fromAmino(object.commission) : undefined, - minSelfDelegation: object.min_self_delegation - }; - }, - toAmino(message: Validator): ValidatorAmino { - const obj: any = {}; - obj.operator_address = message.operatorAddress; - obj.consensus_pubkey = message.consensusPubkey ? decodePubkey(message.consensusPubkey) : undefined; - obj.jailed = message.jailed; - obj.status = message.status; - obj.tokens = message.tokens; - obj.delegator_shares = message.delegatorShares; - obj.description = message.description ? Description.toAmino(message.description) : undefined; - obj.unbonding_height = message.unbondingHeight ? message.unbondingHeight.toString() : undefined; - obj.unbonding_time = message.unbondingTime; - obj.commission = message.commission ? Commission.toAmino(message.commission) : undefined; - obj.min_self_delegation = message.minSelfDelegation; - return obj; - }, - fromAminoMsg(object: ValidatorAminoMsg): Validator { - return Validator.fromAmino(object.value); - }, - toAminoMsg(message: Validator): ValidatorAminoMsg { - return { - type: "cosmos-sdk/Validator", - value: Validator.toAmino(message) - }; - }, - fromProtoMsg(message: ValidatorProtoMsg): Validator { - return Validator.decode(message.value); - }, - toProto(message: Validator): Uint8Array { - return Validator.encode(message).finish(); - }, - toProtoMsg(message: Validator): ValidatorProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.Validator", - value: Validator.encode(message).finish() - }; - } -}; -function createBaseValAddresses(): ValAddresses { - return { - addresses: [] - }; -} -export const ValAddresses = { - typeUrl: "/cosmos.staking.v1beta1.ValAddresses", - aminoType: "cosmos-sdk/ValAddresses", - encode(message: ValAddresses, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.addresses) { - writer.uint32(10).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ValAddresses { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValAddresses(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.addresses.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ValAddresses { - const obj = createBaseValAddresses(); - if (Array.isArray(object?.addresses)) obj.addresses = object.addresses.map((e: any) => String(e)); - return obj; - }, - toJSON(message: ValAddresses): unknown { - const obj: any = {}; - if (message.addresses) { - obj.addresses = message.addresses.map(e => e); - } else { - obj.addresses = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ValAddresses { - const message = createBaseValAddresses(); - message.addresses = object.addresses?.map(e => e) || []; - return message; - }, - fromSDK(object: ValAddressesSDKType): ValAddresses { - return { - addresses: Array.isArray(object?.addresses) ? object.addresses.map((e: any) => e) : [] - }; - }, - toSDK(message: ValAddresses): ValAddressesSDKType { - const obj: any = {}; - if (message.addresses) { - obj.addresses = message.addresses.map(e => e); - } else { - obj.addresses = []; - } - return obj; - }, - fromAmino(object: ValAddressesAmino): ValAddresses { - return { - addresses: Array.isArray(object?.addresses) ? object.addresses.map((e: any) => e) : [] - }; - }, - toAmino(message: ValAddresses): ValAddressesAmino { - const obj: any = {}; - if (message.addresses) { - obj.addresses = message.addresses.map(e => e); - } else { - obj.addresses = []; - } - return obj; - }, - fromAminoMsg(object: ValAddressesAminoMsg): ValAddresses { - return ValAddresses.fromAmino(object.value); - }, - toAminoMsg(message: ValAddresses): ValAddressesAminoMsg { - return { - type: "cosmos-sdk/ValAddresses", - value: ValAddresses.toAmino(message) - }; - }, - fromProtoMsg(message: ValAddressesProtoMsg): ValAddresses { - return ValAddresses.decode(message.value); - }, - toProto(message: ValAddresses): Uint8Array { - return ValAddresses.encode(message).finish(); - }, - toProtoMsg(message: ValAddresses): ValAddressesProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.ValAddresses", - value: ValAddresses.encode(message).finish() - }; - } -}; -function createBaseDVPair(): DVPair { - return { - delegatorAddress: "", - validatorAddress: "" - }; -} -export const DVPair = { - typeUrl: "/cosmos.staking.v1beta1.DVPair", - aminoType: "cosmos-sdk/DVPair", - encode(message: DVPair, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DVPair { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDVPair(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.validatorAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DVPair { - const obj = createBaseDVPair(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - return obj; - }, - toJSON(message: DVPair): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - return obj; - }, - fromPartial(object: DeepPartial): DVPair { - const message = createBaseDVPair(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - return message; - }, - fromSDK(object: DVPairSDKType): DVPair { - return { - delegatorAddress: object?.delegator_address, - validatorAddress: object?.validator_address - }; - }, - toSDK(message: DVPair): DVPairSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAmino(object: DVPairAmino): DVPair { - return { - delegatorAddress: object.delegator_address, - validatorAddress: object.validator_address - }; - }, - toAmino(message: DVPair): DVPairAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - return obj; - }, - fromAminoMsg(object: DVPairAminoMsg): DVPair { - return DVPair.fromAmino(object.value); - }, - toAminoMsg(message: DVPair): DVPairAminoMsg { - return { - type: "cosmos-sdk/DVPair", - value: DVPair.toAmino(message) - }; - }, - fromProtoMsg(message: DVPairProtoMsg): DVPair { - return DVPair.decode(message.value); - }, - toProto(message: DVPair): Uint8Array { - return DVPair.encode(message).finish(); - }, - toProtoMsg(message: DVPair): DVPairProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.DVPair", - value: DVPair.encode(message).finish() - }; - } -}; -function createBaseDVPairs(): DVPairs { - return { - pairs: [] - }; -} -export const DVPairs = { - typeUrl: "/cosmos.staking.v1beta1.DVPairs", - aminoType: "cosmos-sdk/DVPairs", - encode(message: DVPairs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.pairs) { - DVPair.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DVPairs { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDVPairs(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pairs.push(DVPair.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DVPairs { - const obj = createBaseDVPairs(); - if (Array.isArray(object?.pairs)) obj.pairs = object.pairs.map((e: any) => DVPair.fromJSON(e)); - return obj; - }, - toJSON(message: DVPairs): unknown { - const obj: any = {}; - if (message.pairs) { - obj.pairs = message.pairs.map(e => e ? DVPair.toJSON(e) : undefined); - } else { - obj.pairs = []; - } - return obj; - }, - fromPartial(object: DeepPartial): DVPairs { - const message = createBaseDVPairs(); - message.pairs = object.pairs?.map(e => DVPair.fromPartial(e)) || []; - return message; - }, - fromSDK(object: DVPairsSDKType): DVPairs { - return { - pairs: Array.isArray(object?.pairs) ? object.pairs.map((e: any) => DVPair.fromSDK(e)) : [] - }; - }, - toSDK(message: DVPairs): DVPairsSDKType { - const obj: any = {}; - if (message.pairs) { - obj.pairs = message.pairs.map(e => e ? DVPair.toSDK(e) : undefined); - } else { - obj.pairs = []; - } - return obj; - }, - fromAmino(object: DVPairsAmino): DVPairs { - return { - pairs: Array.isArray(object?.pairs) ? object.pairs.map((e: any) => DVPair.fromAmino(e)) : [] - }; - }, - toAmino(message: DVPairs): DVPairsAmino { - const obj: any = {}; - if (message.pairs) { - obj.pairs = message.pairs.map(e => e ? DVPair.toAmino(e) : undefined); - } else { - obj.pairs = []; - } - return obj; - }, - fromAminoMsg(object: DVPairsAminoMsg): DVPairs { - return DVPairs.fromAmino(object.value); - }, - toAminoMsg(message: DVPairs): DVPairsAminoMsg { - return { - type: "cosmos-sdk/DVPairs", - value: DVPairs.toAmino(message) - }; - }, - fromProtoMsg(message: DVPairsProtoMsg): DVPairs { - return DVPairs.decode(message.value); - }, - toProto(message: DVPairs): Uint8Array { - return DVPairs.encode(message).finish(); - }, - toProtoMsg(message: DVPairs): DVPairsProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.DVPairs", - value: DVPairs.encode(message).finish() - }; - } -}; -function createBaseDVVTriplet(): DVVTriplet { - return { - delegatorAddress: "", - validatorSrcAddress: "", - validatorDstAddress: "" - }; -} -export const DVVTriplet = { - typeUrl: "/cosmos.staking.v1beta1.DVVTriplet", - aminoType: "cosmos-sdk/DVVTriplet", - encode(message: DVVTriplet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.validatorSrcAddress !== "") { - writer.uint32(18).string(message.validatorSrcAddress); - } - if (message.validatorDstAddress !== "") { - writer.uint32(26).string(message.validatorDstAddress); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplet { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDVVTriplet(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.validatorSrcAddress = reader.string(); - break; - case 3: - message.validatorDstAddress = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DVVTriplet { - const obj = createBaseDVVTriplet(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorSrcAddress)) obj.validatorSrcAddress = String(object.validatorSrcAddress); - if (isSet(object.validatorDstAddress)) obj.validatorDstAddress = String(object.validatorDstAddress); - return obj; - }, - toJSON(message: DVVTriplet): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorSrcAddress !== undefined && (obj.validatorSrcAddress = message.validatorSrcAddress); - message.validatorDstAddress !== undefined && (obj.validatorDstAddress = message.validatorDstAddress); - return obj; - }, - fromPartial(object: DeepPartial): DVVTriplet { - const message = createBaseDVVTriplet(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorSrcAddress = object.validatorSrcAddress ?? ""; - message.validatorDstAddress = object.validatorDstAddress ?? ""; - return message; - }, - fromSDK(object: DVVTripletSDKType): DVVTriplet { - return { - delegatorAddress: object?.delegator_address, - validatorSrcAddress: object?.validator_src_address, - validatorDstAddress: object?.validator_dst_address - }; - }, - toSDK(message: DVVTriplet): DVVTripletSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_src_address = message.validatorSrcAddress; - obj.validator_dst_address = message.validatorDstAddress; - return obj; - }, - fromAmino(object: DVVTripletAmino): DVVTriplet { - return { - delegatorAddress: object.delegator_address, - validatorSrcAddress: object.validator_src_address, - validatorDstAddress: object.validator_dst_address - }; - }, - toAmino(message: DVVTriplet): DVVTripletAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_src_address = message.validatorSrcAddress; - obj.validator_dst_address = message.validatorDstAddress; - return obj; - }, - fromAminoMsg(object: DVVTripletAminoMsg): DVVTriplet { - return DVVTriplet.fromAmino(object.value); - }, - toAminoMsg(message: DVVTriplet): DVVTripletAminoMsg { - return { - type: "cosmos-sdk/DVVTriplet", - value: DVVTriplet.toAmino(message) - }; - }, - fromProtoMsg(message: DVVTripletProtoMsg): DVVTriplet { - return DVVTriplet.decode(message.value); - }, - toProto(message: DVVTriplet): Uint8Array { - return DVVTriplet.encode(message).finish(); - }, - toProtoMsg(message: DVVTriplet): DVVTripletProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.DVVTriplet", - value: DVVTriplet.encode(message).finish() - }; - } -}; -function createBaseDVVTriplets(): DVVTriplets { - return { - triplets: [] - }; -} -export const DVVTriplets = { - typeUrl: "/cosmos.staking.v1beta1.DVVTriplets", - aminoType: "cosmos-sdk/DVVTriplets", - encode(message: DVVTriplets, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.triplets) { - DVVTriplet.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplets { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDVVTriplets(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.triplets.push(DVVTriplet.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DVVTriplets { - const obj = createBaseDVVTriplets(); - if (Array.isArray(object?.triplets)) obj.triplets = object.triplets.map((e: any) => DVVTriplet.fromJSON(e)); - return obj; - }, - toJSON(message: DVVTriplets): unknown { - const obj: any = {}; - if (message.triplets) { - obj.triplets = message.triplets.map(e => e ? DVVTriplet.toJSON(e) : undefined); - } else { - obj.triplets = []; - } - return obj; - }, - fromPartial(object: DeepPartial): DVVTriplets { - const message = createBaseDVVTriplets(); - message.triplets = object.triplets?.map(e => DVVTriplet.fromPartial(e)) || []; - return message; - }, - fromSDK(object: DVVTripletsSDKType): DVVTriplets { - return { - triplets: Array.isArray(object?.triplets) ? object.triplets.map((e: any) => DVVTriplet.fromSDK(e)) : [] - }; - }, - toSDK(message: DVVTriplets): DVVTripletsSDKType { - const obj: any = {}; - if (message.triplets) { - obj.triplets = message.triplets.map(e => e ? DVVTriplet.toSDK(e) : undefined); - } else { - obj.triplets = []; - } - return obj; - }, - fromAmino(object: DVVTripletsAmino): DVVTriplets { - return { - triplets: Array.isArray(object?.triplets) ? object.triplets.map((e: any) => DVVTriplet.fromAmino(e)) : [] - }; - }, - toAmino(message: DVVTriplets): DVVTripletsAmino { - const obj: any = {}; - if (message.triplets) { - obj.triplets = message.triplets.map(e => e ? DVVTriplet.toAmino(e) : undefined); - } else { - obj.triplets = []; - } - return obj; - }, - fromAminoMsg(object: DVVTripletsAminoMsg): DVVTriplets { - return DVVTriplets.fromAmino(object.value); - }, - toAminoMsg(message: DVVTriplets): DVVTripletsAminoMsg { - return { - type: "cosmos-sdk/DVVTriplets", - value: DVVTriplets.toAmino(message) - }; - }, - fromProtoMsg(message: DVVTripletsProtoMsg): DVVTriplets { - return DVVTriplets.decode(message.value); - }, - toProto(message: DVVTriplets): Uint8Array { - return DVVTriplets.encode(message).finish(); - }, - toProtoMsg(message: DVVTriplets): DVVTripletsProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.DVVTriplets", - value: DVVTriplets.encode(message).finish() - }; - } -}; -function createBaseDelegation(): Delegation { - return { - delegatorAddress: "", - validatorAddress: "", - shares: "" - }; -} -export const Delegation = { - typeUrl: "/cosmos.staking.v1beta1.Delegation", - aminoType: "cosmos-sdk/Delegation", - encode(message: Delegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - if (message.shares !== "") { - writer.uint32(26).string(message.shares); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Delegation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.validatorAddress = reader.string(); - break; - case 3: - message.shares = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Delegation { - const obj = createBaseDelegation(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (isSet(object.shares)) obj.shares = String(object.shares); - return obj; - }, - toJSON(message: Delegation): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.shares !== undefined && (obj.shares = message.shares); - return obj; - }, - fromPartial(object: DeepPartial): Delegation { - const message = createBaseDelegation(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - message.shares = object.shares ?? ""; - return message; - }, - fromSDK(object: DelegationSDKType): Delegation { - return { - delegatorAddress: object?.delegator_address, - validatorAddress: object?.validator_address, - shares: object?.shares - }; - }, - toSDK(message: Delegation): DelegationSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - obj.shares = message.shares; - return obj; - }, - fromAmino(object: DelegationAmino): Delegation { - return { - delegatorAddress: object.delegator_address, - validatorAddress: object.validator_address, - shares: object.shares - }; - }, - toAmino(message: Delegation): DelegationAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - obj.shares = message.shares; - return obj; - }, - fromAminoMsg(object: DelegationAminoMsg): Delegation { - return Delegation.fromAmino(object.value); - }, - toAminoMsg(message: Delegation): DelegationAminoMsg { - return { - type: "cosmos-sdk/Delegation", - value: Delegation.toAmino(message) - }; - }, - fromProtoMsg(message: DelegationProtoMsg): Delegation { - return Delegation.decode(message.value); - }, - toProto(message: Delegation): Uint8Array { - return Delegation.encode(message).finish(); - }, - toProtoMsg(message: Delegation): DelegationProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.Delegation", - value: Delegation.encode(message).finish() - }; - } -}; -function createBaseUnbondingDelegation(): UnbondingDelegation { - return { - delegatorAddress: "", - validatorAddress: "", - entries: [] - }; -} -export const UnbondingDelegation = { - typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation", - aminoType: "cosmos-sdk/UnbondingDelegation", - encode(message: UnbondingDelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - for (const v of message.entries) { - UnbondingDelegationEntry.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUnbondingDelegation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.validatorAddress = reader.string(); - break; - case 3: - message.entries.push(UnbondingDelegationEntry.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UnbondingDelegation { - const obj = createBaseUnbondingDelegation(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => UnbondingDelegationEntry.fromJSON(e)); - return obj; - }, - toJSON(message: UnbondingDelegation): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - if (message.entries) { - obj.entries = message.entries.map(e => e ? UnbondingDelegationEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromPartial(object: DeepPartial): UnbondingDelegation { - const message = createBaseUnbondingDelegation(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - message.entries = object.entries?.map(e => UnbondingDelegationEntry.fromPartial(e)) || []; - return message; - }, - fromSDK(object: UnbondingDelegationSDKType): UnbondingDelegation { - return { - delegatorAddress: object?.delegator_address, - validatorAddress: object?.validator_address, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => UnbondingDelegationEntry.fromSDK(e)) : [] - }; - }, - toSDK(message: UnbondingDelegation): UnbondingDelegationSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - if (message.entries) { - obj.entries = message.entries.map(e => e ? UnbondingDelegationEntry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAmino(object: UnbondingDelegationAmino): UnbondingDelegation { - return { - delegatorAddress: object.delegator_address, - validatorAddress: object.validator_address, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => UnbondingDelegationEntry.fromAmino(e)) : [] - }; - }, - toAmino(message: UnbondingDelegation): UnbondingDelegationAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - if (message.entries) { - obj.entries = message.entries.map(e => e ? UnbondingDelegationEntry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAminoMsg(object: UnbondingDelegationAminoMsg): UnbondingDelegation { - return UnbondingDelegation.fromAmino(object.value); - }, - toAminoMsg(message: UnbondingDelegation): UnbondingDelegationAminoMsg { - return { - type: "cosmos-sdk/UnbondingDelegation", - value: UnbondingDelegation.toAmino(message) - }; - }, - fromProtoMsg(message: UnbondingDelegationProtoMsg): UnbondingDelegation { - return UnbondingDelegation.decode(message.value); - }, - toProto(message: UnbondingDelegation): Uint8Array { - return UnbondingDelegation.encode(message).finish(); - }, - toProtoMsg(message: UnbondingDelegation): UnbondingDelegationProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegation", - value: UnbondingDelegation.encode(message).finish() - }; - } -}; -function createBaseUnbondingDelegationEntry(): UnbondingDelegationEntry { - return { - creationHeight: Long.ZERO, - completionTime: new Date(), - initialBalance: "", - balance: "" - }; -} -export const UnbondingDelegationEntry = { - typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry", - aminoType: "cosmos-sdk/UnbondingDelegationEntry", - encode(message: UnbondingDelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.creationHeight.isZero()) { - writer.uint32(8).int64(message.creationHeight); - } - if (message.completionTime !== undefined) { - Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); - } - if (message.initialBalance !== "") { - writer.uint32(26).string(message.initialBalance); - } - if (message.balance !== "") { - writer.uint32(34).string(message.balance); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegationEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUnbondingDelegationEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.creationHeight = (reader.int64() as Long); - break; - case 2: - message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 3: - message.initialBalance = reader.string(); - break; - case 4: - message.balance = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UnbondingDelegationEntry { - const obj = createBaseUnbondingDelegationEntry(); - if (isSet(object.creationHeight)) obj.creationHeight = Long.fromValue(object.creationHeight); - if (isSet(object.completionTime)) obj.completionTime = new Date(object.completionTime); - if (isSet(object.initialBalance)) obj.initialBalance = String(object.initialBalance); - if (isSet(object.balance)) obj.balance = String(object.balance); - return obj; - }, - toJSON(message: UnbondingDelegationEntry): unknown { - const obj: any = {}; - message.creationHeight !== undefined && (obj.creationHeight = (message.creationHeight || Long.ZERO).toString()); - message.completionTime !== undefined && (obj.completionTime = message.completionTime.toISOString()); - message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance); - message.balance !== undefined && (obj.balance = message.balance); - return obj; - }, - fromPartial(object: DeepPartial): UnbondingDelegationEntry { - const message = createBaseUnbondingDelegationEntry(); - if (object.creationHeight !== undefined && object.creationHeight !== null) { - message.creationHeight = Long.fromValue(object.creationHeight); - } - message.completionTime = object.completionTime ?? undefined; - message.initialBalance = object.initialBalance ?? ""; - message.balance = object.balance ?? ""; - return message; - }, - fromSDK(object: UnbondingDelegationEntrySDKType): UnbondingDelegationEntry { - return { - creationHeight: object?.creation_height, - completionTime: object.completion_time ?? undefined, - initialBalance: object?.initial_balance, - balance: object?.balance - }; - }, - toSDK(message: UnbondingDelegationEntry): UnbondingDelegationEntrySDKType { - const obj: any = {}; - obj.creation_height = message.creationHeight; - message.completionTime !== undefined && (obj.completion_time = message.completionTime ?? undefined); - obj.initial_balance = message.initialBalance; - obj.balance = message.balance; - return obj; - }, - fromAmino(object: UnbondingDelegationEntryAmino): UnbondingDelegationEntry { - return { - creationHeight: Long.fromString(object.creation_height), - completionTime: object.completion_time, - initialBalance: object.initial_balance, - balance: object.balance - }; - }, - toAmino(message: UnbondingDelegationEntry): UnbondingDelegationEntryAmino { - const obj: any = {}; - obj.creation_height = message.creationHeight ? message.creationHeight.toString() : undefined; - obj.completion_time = message.completionTime; - obj.initial_balance = message.initialBalance; - obj.balance = message.balance; - return obj; - }, - fromAminoMsg(object: UnbondingDelegationEntryAminoMsg): UnbondingDelegationEntry { - return UnbondingDelegationEntry.fromAmino(object.value); - }, - toAminoMsg(message: UnbondingDelegationEntry): UnbondingDelegationEntryAminoMsg { - return { - type: "cosmos-sdk/UnbondingDelegationEntry", - value: UnbondingDelegationEntry.toAmino(message) - }; - }, - fromProtoMsg(message: UnbondingDelegationEntryProtoMsg): UnbondingDelegationEntry { - return UnbondingDelegationEntry.decode(message.value); - }, - toProto(message: UnbondingDelegationEntry): Uint8Array { - return UnbondingDelegationEntry.encode(message).finish(); - }, - toProtoMsg(message: UnbondingDelegationEntry): UnbondingDelegationEntryProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.UnbondingDelegationEntry", - value: UnbondingDelegationEntry.encode(message).finish() - }; - } -}; -function createBaseRedelegationEntry(): RedelegationEntry { - return { - creationHeight: Long.ZERO, - completionTime: new Date(), - initialBalance: "", - sharesDst: "" - }; -} -export const RedelegationEntry = { - typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry", - aminoType: "cosmos-sdk/RedelegationEntry", - encode(message: RedelegationEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.creationHeight.isZero()) { - writer.uint32(8).int64(message.creationHeight); - } - if (message.completionTime !== undefined) { - Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(18).fork()).ldelim(); - } - if (message.initialBalance !== "") { - writer.uint32(26).string(message.initialBalance); - } - if (message.sharesDst !== "") { - writer.uint32(34).string(message.sharesDst); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRedelegationEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.creationHeight = (reader.int64() as Long); - break; - case 2: - message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 3: - message.initialBalance = reader.string(); - break; - case 4: - message.sharesDst = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): RedelegationEntry { - const obj = createBaseRedelegationEntry(); - if (isSet(object.creationHeight)) obj.creationHeight = Long.fromValue(object.creationHeight); - if (isSet(object.completionTime)) obj.completionTime = new Date(object.completionTime); - if (isSet(object.initialBalance)) obj.initialBalance = String(object.initialBalance); - if (isSet(object.sharesDst)) obj.sharesDst = String(object.sharesDst); - return obj; - }, - toJSON(message: RedelegationEntry): unknown { - const obj: any = {}; - message.creationHeight !== undefined && (obj.creationHeight = (message.creationHeight || Long.ZERO).toString()); - message.completionTime !== undefined && (obj.completionTime = message.completionTime.toISOString()); - message.initialBalance !== undefined && (obj.initialBalance = message.initialBalance); - message.sharesDst !== undefined && (obj.sharesDst = message.sharesDst); - return obj; - }, - fromPartial(object: DeepPartial): RedelegationEntry { - const message = createBaseRedelegationEntry(); - if (object.creationHeight !== undefined && object.creationHeight !== null) { - message.creationHeight = Long.fromValue(object.creationHeight); - } - message.completionTime = object.completionTime ?? undefined; - message.initialBalance = object.initialBalance ?? ""; - message.sharesDst = object.sharesDst ?? ""; - return message; - }, - fromSDK(object: RedelegationEntrySDKType): RedelegationEntry { - return { - creationHeight: object?.creation_height, - completionTime: object.completion_time ?? undefined, - initialBalance: object?.initial_balance, - sharesDst: object?.shares_dst - }; - }, - toSDK(message: RedelegationEntry): RedelegationEntrySDKType { - const obj: any = {}; - obj.creation_height = message.creationHeight; - message.completionTime !== undefined && (obj.completion_time = message.completionTime ?? undefined); - obj.initial_balance = message.initialBalance; - obj.shares_dst = message.sharesDst; - return obj; - }, - fromAmino(object: RedelegationEntryAmino): RedelegationEntry { - return { - creationHeight: Long.fromString(object.creation_height), - completionTime: object.completion_time, - initialBalance: object.initial_balance, - sharesDst: object.shares_dst - }; - }, - toAmino(message: RedelegationEntry): RedelegationEntryAmino { - const obj: any = {}; - obj.creation_height = message.creationHeight ? message.creationHeight.toString() : undefined; - obj.completion_time = message.completionTime; - obj.initial_balance = message.initialBalance; - obj.shares_dst = message.sharesDst; - return obj; - }, - fromAminoMsg(object: RedelegationEntryAminoMsg): RedelegationEntry { - return RedelegationEntry.fromAmino(object.value); - }, - toAminoMsg(message: RedelegationEntry): RedelegationEntryAminoMsg { - return { - type: "cosmos-sdk/RedelegationEntry", - value: RedelegationEntry.toAmino(message) - }; - }, - fromProtoMsg(message: RedelegationEntryProtoMsg): RedelegationEntry { - return RedelegationEntry.decode(message.value); - }, - toProto(message: RedelegationEntry): Uint8Array { - return RedelegationEntry.encode(message).finish(); - }, - toProtoMsg(message: RedelegationEntry): RedelegationEntryProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.RedelegationEntry", - value: RedelegationEntry.encode(message).finish() - }; - } -}; -function createBaseRedelegation(): Redelegation { - return { - delegatorAddress: "", - validatorSrcAddress: "", - validatorDstAddress: "", - entries: [] - }; -} -export const Redelegation = { - typeUrl: "/cosmos.staking.v1beta1.Redelegation", - aminoType: "cosmos-sdk/Redelegation", - encode(message: Redelegation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.validatorSrcAddress !== "") { - writer.uint32(18).string(message.validatorSrcAddress); - } - if (message.validatorDstAddress !== "") { - writer.uint32(26).string(message.validatorDstAddress); - } - for (const v of message.entries) { - RedelegationEntry.encode(v!, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Redelegation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRedelegation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.validatorSrcAddress = reader.string(); - break; - case 3: - message.validatorDstAddress = reader.string(); - break; - case 4: - message.entries.push(RedelegationEntry.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Redelegation { - const obj = createBaseRedelegation(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorSrcAddress)) obj.validatorSrcAddress = String(object.validatorSrcAddress); - if (isSet(object.validatorDstAddress)) obj.validatorDstAddress = String(object.validatorDstAddress); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => RedelegationEntry.fromJSON(e)); - return obj; - }, - toJSON(message: Redelegation): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorSrcAddress !== undefined && (obj.validatorSrcAddress = message.validatorSrcAddress); - message.validatorDstAddress !== undefined && (obj.validatorDstAddress = message.validatorDstAddress); - if (message.entries) { - obj.entries = message.entries.map(e => e ? RedelegationEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Redelegation { - const message = createBaseRedelegation(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorSrcAddress = object.validatorSrcAddress ?? ""; - message.validatorDstAddress = object.validatorDstAddress ?? ""; - message.entries = object.entries?.map(e => RedelegationEntry.fromPartial(e)) || []; - return message; - }, - fromSDK(object: RedelegationSDKType): Redelegation { - return { - delegatorAddress: object?.delegator_address, - validatorSrcAddress: object?.validator_src_address, - validatorDstAddress: object?.validator_dst_address, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => RedelegationEntry.fromSDK(e)) : [] - }; - }, - toSDK(message: Redelegation): RedelegationSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_src_address = message.validatorSrcAddress; - obj.validator_dst_address = message.validatorDstAddress; - if (message.entries) { - obj.entries = message.entries.map(e => e ? RedelegationEntry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAmino(object: RedelegationAmino): Redelegation { - return { - delegatorAddress: object.delegator_address, - validatorSrcAddress: object.validator_src_address, - validatorDstAddress: object.validator_dst_address, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => RedelegationEntry.fromAmino(e)) : [] - }; - }, - toAmino(message: Redelegation): RedelegationAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_src_address = message.validatorSrcAddress; - obj.validator_dst_address = message.validatorDstAddress; - if (message.entries) { - obj.entries = message.entries.map(e => e ? RedelegationEntry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAminoMsg(object: RedelegationAminoMsg): Redelegation { - return Redelegation.fromAmino(object.value); - }, - toAminoMsg(message: Redelegation): RedelegationAminoMsg { - return { - type: "cosmos-sdk/Redelegation", - value: Redelegation.toAmino(message) - }; - }, - fromProtoMsg(message: RedelegationProtoMsg): Redelegation { - return Redelegation.decode(message.value); - }, - toProto(message: Redelegation): Uint8Array { - return Redelegation.encode(message).finish(); - }, - toProtoMsg(message: Redelegation): RedelegationProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.Redelegation", - value: Redelegation.encode(message).finish() - }; - } -}; -function createBaseParams(): Params { - return { - unbondingTime: Duration.fromPartial({}), - maxValidators: 0, - maxEntries: 0, - historicalEntries: 0, - bondDenom: "", - minCommissionRate: "" - }; -} -export const Params = { - typeUrl: "/cosmos.staking.v1beta1.Params", - aminoType: "cosmos-sdk/Params", - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.unbondingTime !== undefined) { - Duration.encode(message.unbondingTime, writer.uint32(10).fork()).ldelim(); - } - if (message.maxValidators !== 0) { - writer.uint32(16).uint32(message.maxValidators); - } - if (message.maxEntries !== 0) { - writer.uint32(24).uint32(message.maxEntries); - } - if (message.historicalEntries !== 0) { - writer.uint32(32).uint32(message.historicalEntries); - } - if (message.bondDenom !== "") { - writer.uint32(42).string(message.bondDenom); - } - if (message.minCommissionRate !== "") { - writer.uint32(50).string(message.minCommissionRate); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.unbondingTime = Duration.decode(reader, reader.uint32()); - break; - case 2: - message.maxValidators = reader.uint32(); - break; - case 3: - message.maxEntries = reader.uint32(); - break; - case 4: - message.historicalEntries = reader.uint32(); - break; - case 5: - message.bondDenom = reader.string(); - break; - case 6: - message.minCommissionRate = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Params { - const obj = createBaseParams(); - if (isSet(object.unbondingTime)) obj.unbondingTime = Duration.fromJSON(object.unbondingTime); - if (isSet(object.maxValidators)) obj.maxValidators = Number(object.maxValidators); - if (isSet(object.maxEntries)) obj.maxEntries = Number(object.maxEntries); - if (isSet(object.historicalEntries)) obj.historicalEntries = Number(object.historicalEntries); - if (isSet(object.bondDenom)) obj.bondDenom = String(object.bondDenom); - if (isSet(object.minCommissionRate)) obj.minCommissionRate = String(object.minCommissionRate); - return obj; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.unbondingTime !== undefined && (obj.unbondingTime = message.unbondingTime ? Duration.toJSON(message.unbondingTime) : undefined); - message.maxValidators !== undefined && (obj.maxValidators = Math.round(message.maxValidators)); - message.maxEntries !== undefined && (obj.maxEntries = Math.round(message.maxEntries)); - message.historicalEntries !== undefined && (obj.historicalEntries = Math.round(message.historicalEntries)); - message.bondDenom !== undefined && (obj.bondDenom = message.bondDenom); - message.minCommissionRate !== undefined && (obj.minCommissionRate = message.minCommissionRate); - return obj; - }, - fromPartial(object: DeepPartial): Params { - const message = createBaseParams(); - if (object.unbondingTime !== undefined && object.unbondingTime !== null) { - message.unbondingTime = Duration.fromPartial(object.unbondingTime); - } - message.maxValidators = object.maxValidators ?? 0; - message.maxEntries = object.maxEntries ?? 0; - message.historicalEntries = object.historicalEntries ?? 0; - message.bondDenom = object.bondDenom ?? ""; - message.minCommissionRate = object.minCommissionRate ?? ""; - return message; - }, - fromSDK(object: ParamsSDKType): Params { - return { - unbondingTime: object.unbonding_time ? Duration.fromSDK(object.unbonding_time) : undefined, - maxValidators: object?.max_validators, - maxEntries: object?.max_entries, - historicalEntries: object?.historical_entries, - bondDenom: object?.bond_denom, - minCommissionRate: object?.min_commission_rate - }; - }, - toSDK(message: Params): ParamsSDKType { - const obj: any = {}; - message.unbondingTime !== undefined && (obj.unbonding_time = message.unbondingTime ? Duration.toSDK(message.unbondingTime) : undefined); - obj.max_validators = message.maxValidators; - obj.max_entries = message.maxEntries; - obj.historical_entries = message.historicalEntries; - obj.bond_denom = message.bondDenom; - obj.min_commission_rate = message.minCommissionRate; - return obj; - }, - fromAmino(object: ParamsAmino): Params { - return { - unbondingTime: object?.unbonding_time ? Duration.fromAmino(object.unbonding_time) : undefined, - maxValidators: object.max_validators, - maxEntries: object.max_entries, - historicalEntries: object.historical_entries, - bondDenom: object.bond_denom, - minCommissionRate: object.min_commission_rate - }; - }, - toAmino(message: Params): ParamsAmino { - const obj: any = {}; - obj.unbonding_time = message.unbondingTime ? Duration.toAmino(message.unbondingTime) : undefined; - obj.max_validators = message.maxValidators; - obj.max_entries = message.maxEntries; - obj.historical_entries = message.historicalEntries; - obj.bond_denom = message.bondDenom; - obj.min_commission_rate = message.minCommissionRate; - return obj; - }, - fromAminoMsg(object: ParamsAminoMsg): Params { - return Params.fromAmino(object.value); - }, - toAminoMsg(message: Params): ParamsAminoMsg { - return { - type: "cosmos-sdk/Params", - value: Params.toAmino(message) - }; - }, - fromProtoMsg(message: ParamsProtoMsg): Params { - return Params.decode(message.value); - }, - toProto(message: Params): Uint8Array { - return Params.encode(message).finish(); - }, - toProtoMsg(message: Params): ParamsProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.Params", - value: Params.encode(message).finish() - }; - } -}; -function createBaseDelegationResponse(): DelegationResponse { - return { - delegation: Delegation.fromPartial({}), - balance: Coin.fromPartial({}) - }; -} -export const DelegationResponse = { - typeUrl: "/cosmos.staking.v1beta1.DelegationResponse", - aminoType: "cosmos-sdk/DelegationResponse", - encode(message: DelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegation !== undefined) { - Delegation.encode(message.delegation, writer.uint32(10).fork()).ldelim(); - } - if (message.balance !== undefined) { - Coin.encode(message.balance, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DelegationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelegationResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegation = Delegation.decode(reader, reader.uint32()); - break; - case 2: - message.balance = Coin.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DelegationResponse { - const obj = createBaseDelegationResponse(); - if (isSet(object.delegation)) obj.delegation = Delegation.fromJSON(object.delegation); - if (isSet(object.balance)) obj.balance = Coin.fromJSON(object.balance); - return obj; - }, - toJSON(message: DelegationResponse): unknown { - const obj: any = {}; - message.delegation !== undefined && (obj.delegation = message.delegation ? Delegation.toJSON(message.delegation) : undefined); - message.balance !== undefined && (obj.balance = message.balance ? Coin.toJSON(message.balance) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): DelegationResponse { - const message = createBaseDelegationResponse(); - if (object.delegation !== undefined && object.delegation !== null) { - message.delegation = Delegation.fromPartial(object.delegation); - } - if (object.balance !== undefined && object.balance !== null) { - message.balance = Coin.fromPartial(object.balance); - } - return message; - }, - fromSDK(object: DelegationResponseSDKType): DelegationResponse { - return { - delegation: object.delegation ? Delegation.fromSDK(object.delegation) : undefined, - balance: object.balance ? Coin.fromSDK(object.balance) : undefined - }; - }, - toSDK(message: DelegationResponse): DelegationResponseSDKType { - const obj: any = {}; - message.delegation !== undefined && (obj.delegation = message.delegation ? Delegation.toSDK(message.delegation) : undefined); - message.balance !== undefined && (obj.balance = message.balance ? Coin.toSDK(message.balance) : undefined); - return obj; - }, - fromAmino(object: DelegationResponseAmino): DelegationResponse { - return { - delegation: object?.delegation ? Delegation.fromAmino(object.delegation) : undefined, - balance: object?.balance ? Coin.fromAmino(object.balance) : undefined - }; - }, - toAmino(message: DelegationResponse): DelegationResponseAmino { - const obj: any = {}; - obj.delegation = message.delegation ? Delegation.toAmino(message.delegation) : undefined; - obj.balance = message.balance ? Coin.toAmino(message.balance) : undefined; - return obj; - }, - fromAminoMsg(object: DelegationResponseAminoMsg): DelegationResponse { - return DelegationResponse.fromAmino(object.value); - }, - toAminoMsg(message: DelegationResponse): DelegationResponseAminoMsg { - return { - type: "cosmos-sdk/DelegationResponse", - value: DelegationResponse.toAmino(message) - }; - }, - fromProtoMsg(message: DelegationResponseProtoMsg): DelegationResponse { - return DelegationResponse.decode(message.value); - }, - toProto(message: DelegationResponse): Uint8Array { - return DelegationResponse.encode(message).finish(); - }, - toProtoMsg(message: DelegationResponse): DelegationResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.DelegationResponse", - value: DelegationResponse.encode(message).finish() - }; - } -}; -function createBaseRedelegationEntryResponse(): RedelegationEntryResponse { - return { - redelegationEntry: RedelegationEntry.fromPartial({}), - balance: "" - }; -} -export const RedelegationEntryResponse = { - typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse", - aminoType: "cosmos-sdk/RedelegationEntryResponse", - encode(message: RedelegationEntryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.redelegationEntry !== undefined) { - RedelegationEntry.encode(message.redelegationEntry, writer.uint32(10).fork()).ldelim(); - } - if (message.balance !== "") { - writer.uint32(34).string(message.balance); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntryResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRedelegationEntryResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.redelegationEntry = RedelegationEntry.decode(reader, reader.uint32()); - break; - case 4: - message.balance = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): RedelegationEntryResponse { - const obj = createBaseRedelegationEntryResponse(); - if (isSet(object.redelegationEntry)) obj.redelegationEntry = RedelegationEntry.fromJSON(object.redelegationEntry); - if (isSet(object.balance)) obj.balance = String(object.balance); - return obj; - }, - toJSON(message: RedelegationEntryResponse): unknown { - const obj: any = {}; - message.redelegationEntry !== undefined && (obj.redelegationEntry = message.redelegationEntry ? RedelegationEntry.toJSON(message.redelegationEntry) : undefined); - message.balance !== undefined && (obj.balance = message.balance); - return obj; - }, - fromPartial(object: DeepPartial): RedelegationEntryResponse { - const message = createBaseRedelegationEntryResponse(); - if (object.redelegationEntry !== undefined && object.redelegationEntry !== null) { - message.redelegationEntry = RedelegationEntry.fromPartial(object.redelegationEntry); - } - message.balance = object.balance ?? ""; - return message; - }, - fromSDK(object: RedelegationEntryResponseSDKType): RedelegationEntryResponse { - return { - redelegationEntry: object.redelegation_entry ? RedelegationEntry.fromSDK(object.redelegation_entry) : undefined, - balance: object?.balance - }; - }, - toSDK(message: RedelegationEntryResponse): RedelegationEntryResponseSDKType { - const obj: any = {}; - message.redelegationEntry !== undefined && (obj.redelegation_entry = message.redelegationEntry ? RedelegationEntry.toSDK(message.redelegationEntry) : undefined); - obj.balance = message.balance; - return obj; - }, - fromAmino(object: RedelegationEntryResponseAmino): RedelegationEntryResponse { - return { - redelegationEntry: object?.redelegation_entry ? RedelegationEntry.fromAmino(object.redelegation_entry) : undefined, - balance: object.balance - }; - }, - toAmino(message: RedelegationEntryResponse): RedelegationEntryResponseAmino { - const obj: any = {}; - obj.redelegation_entry = message.redelegationEntry ? RedelegationEntry.toAmino(message.redelegationEntry) : undefined; - obj.balance = message.balance; - return obj; - }, - fromAminoMsg(object: RedelegationEntryResponseAminoMsg): RedelegationEntryResponse { - return RedelegationEntryResponse.fromAmino(object.value); - }, - toAminoMsg(message: RedelegationEntryResponse): RedelegationEntryResponseAminoMsg { - return { - type: "cosmos-sdk/RedelegationEntryResponse", - value: RedelegationEntryResponse.toAmino(message) - }; - }, - fromProtoMsg(message: RedelegationEntryResponseProtoMsg): RedelegationEntryResponse { - return RedelegationEntryResponse.decode(message.value); - }, - toProto(message: RedelegationEntryResponse): Uint8Array { - return RedelegationEntryResponse.encode(message).finish(); - }, - toProtoMsg(message: RedelegationEntryResponse): RedelegationEntryResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.RedelegationEntryResponse", - value: RedelegationEntryResponse.encode(message).finish() - }; - } -}; -function createBaseRedelegationResponse(): RedelegationResponse { - return { - redelegation: Redelegation.fromPartial({}), - entries: [] - }; -} -export const RedelegationResponse = { - typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse", - aminoType: "cosmos-sdk/RedelegationResponse", - encode(message: RedelegationResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.redelegation !== undefined) { - Redelegation.encode(message.redelegation, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.entries) { - RedelegationEntryResponse.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRedelegationResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.redelegation = Redelegation.decode(reader, reader.uint32()); - break; - case 2: - message.entries.push(RedelegationEntryResponse.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): RedelegationResponse { - const obj = createBaseRedelegationResponse(); - if (isSet(object.redelegation)) obj.redelegation = Redelegation.fromJSON(object.redelegation); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => RedelegationEntryResponse.fromJSON(e)); - return obj; - }, - toJSON(message: RedelegationResponse): unknown { - const obj: any = {}; - message.redelegation !== undefined && (obj.redelegation = message.redelegation ? Redelegation.toJSON(message.redelegation) : undefined); - if (message.entries) { - obj.entries = message.entries.map(e => e ? RedelegationEntryResponse.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromPartial(object: DeepPartial): RedelegationResponse { - const message = createBaseRedelegationResponse(); - if (object.redelegation !== undefined && object.redelegation !== null) { - message.redelegation = Redelegation.fromPartial(object.redelegation); - } - message.entries = object.entries?.map(e => RedelegationEntryResponse.fromPartial(e)) || []; - return message; - }, - fromSDK(object: RedelegationResponseSDKType): RedelegationResponse { - return { - redelegation: object.redelegation ? Redelegation.fromSDK(object.redelegation) : undefined, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => RedelegationEntryResponse.fromSDK(e)) : [] - }; - }, - toSDK(message: RedelegationResponse): RedelegationResponseSDKType { - const obj: any = {}; - message.redelegation !== undefined && (obj.redelegation = message.redelegation ? Redelegation.toSDK(message.redelegation) : undefined); - if (message.entries) { - obj.entries = message.entries.map(e => e ? RedelegationEntryResponse.toSDK(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAmino(object: RedelegationResponseAmino): RedelegationResponse { - return { - redelegation: object?.redelegation ? Redelegation.fromAmino(object.redelegation) : undefined, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => RedelegationEntryResponse.fromAmino(e)) : [] - }; - }, - toAmino(message: RedelegationResponse): RedelegationResponseAmino { - const obj: any = {}; - obj.redelegation = message.redelegation ? Redelegation.toAmino(message.redelegation) : undefined; - if (message.entries) { - obj.entries = message.entries.map(e => e ? RedelegationEntryResponse.toAmino(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAminoMsg(object: RedelegationResponseAminoMsg): RedelegationResponse { - return RedelegationResponse.fromAmino(object.value); - }, - toAminoMsg(message: RedelegationResponse): RedelegationResponseAminoMsg { - return { - type: "cosmos-sdk/RedelegationResponse", - value: RedelegationResponse.toAmino(message) - }; - }, - fromProtoMsg(message: RedelegationResponseProtoMsg): RedelegationResponse { - return RedelegationResponse.decode(message.value); - }, - toProto(message: RedelegationResponse): Uint8Array { - return RedelegationResponse.encode(message).finish(); - }, - toProtoMsg(message: RedelegationResponse): RedelegationResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.RedelegationResponse", - value: RedelegationResponse.encode(message).finish() - }; - } -}; -function createBasePool(): Pool { - return { - notBondedTokens: "", - bondedTokens: "" - }; -} -export const Pool = { - typeUrl: "/cosmos.staking.v1beta1.Pool", - aminoType: "cosmos-sdk/Pool", - encode(message: Pool, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.notBondedTokens !== "") { - writer.uint32(10).string(message.notBondedTokens); - } - if (message.bondedTokens !== "") { - writer.uint32(18).string(message.bondedTokens); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Pool { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePool(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.notBondedTokens = reader.string(); - break; - case 2: - message.bondedTokens = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Pool { - const obj = createBasePool(); - if (isSet(object.notBondedTokens)) obj.notBondedTokens = String(object.notBondedTokens); - if (isSet(object.bondedTokens)) obj.bondedTokens = String(object.bondedTokens); - return obj; - }, - toJSON(message: Pool): unknown { - const obj: any = {}; - message.notBondedTokens !== undefined && (obj.notBondedTokens = message.notBondedTokens); - message.bondedTokens !== undefined && (obj.bondedTokens = message.bondedTokens); - return obj; - }, - fromPartial(object: DeepPartial): Pool { - const message = createBasePool(); - message.notBondedTokens = object.notBondedTokens ?? ""; - message.bondedTokens = object.bondedTokens ?? ""; - return message; - }, - fromSDK(object: PoolSDKType): Pool { - return { - notBondedTokens: object?.not_bonded_tokens, - bondedTokens: object?.bonded_tokens - }; - }, - toSDK(message: Pool): PoolSDKType { - const obj: any = {}; - obj.not_bonded_tokens = message.notBondedTokens; - obj.bonded_tokens = message.bondedTokens; - return obj; - }, - fromAmino(object: PoolAmino): Pool { - return { - notBondedTokens: object.not_bonded_tokens, - bondedTokens: object.bonded_tokens - }; - }, - toAmino(message: Pool): PoolAmino { - const obj: any = {}; - obj.not_bonded_tokens = message.notBondedTokens; - obj.bonded_tokens = message.bondedTokens; - return obj; - }, - fromAminoMsg(object: PoolAminoMsg): Pool { - return Pool.fromAmino(object.value); - }, - toAminoMsg(message: Pool): PoolAminoMsg { - return { - type: "cosmos-sdk/Pool", - value: Pool.toAmino(message) - }; - }, - fromProtoMsg(message: PoolProtoMsg): Pool { - return Pool.decode(message.value); - }, - toProto(message: Pool): Uint8Array { - return Pool.encode(message).finish(); - }, - toProtoMsg(message: Pool): PoolProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.Pool", - value: Pool.encode(message).finish() - }; - } -}; -export const Cosmos_cryptoPubKey_InterfaceDecoder = (input: _m0.Reader | Uint8Array): Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - default: - return data; - } -}; -export const Cosmos_cryptoPubKey_FromAmino = (content: AnyAmino) => { - return encodePubkey(content); -}; -export const Cosmos_cryptoPubKey_ToAmino = (content: Any) => { - return decodePubkey(content); -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.amino.ts deleted file mode 100644 index dd41f9ffa..000000000 --- a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { MsgCreateValidator, MsgCreateValidatorSDKType, MsgEditValidator, MsgEditValidatorSDKType, MsgDelegate, MsgDelegateSDKType, MsgBeginRedelegate, MsgBeginRedelegateSDKType, MsgUndelegate, MsgUndelegateSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.staking.v1beta1.MsgCreateValidator": { - aminoType: "cosmos-sdk/MsgCreateValidator", - toAmino: MsgCreateValidator.toAmino, - fromAmino: MsgCreateValidator.fromAmino - }, - "/cosmos.staking.v1beta1.MsgEditValidator": { - aminoType: "cosmos-sdk/MsgEditValidator", - toAmino: MsgEditValidator.toAmino, - fromAmino: MsgEditValidator.fromAmino - }, - "/cosmos.staking.v1beta1.MsgDelegate": { - aminoType: "cosmos-sdk/MsgDelegate", - toAmino: MsgDelegate.toAmino, - fromAmino: MsgDelegate.fromAmino - }, - "/cosmos.staking.v1beta1.MsgBeginRedelegate": { - aminoType: "cosmos-sdk/MsgBeginRedelegate", - toAmino: MsgBeginRedelegate.toAmino, - fromAmino: MsgBeginRedelegate.fromAmino - }, - "/cosmos.staking.v1beta1.MsgUndelegate": { - aminoType: "cosmos-sdk/MsgUndelegate", - toAmino: MsgUndelegate.toAmino, - fromAmino: MsgUndelegate.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.registry.ts deleted file mode 100644 index cfe9e1044..000000000 --- a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +++ /dev/null @@ -1,174 +0,0 @@ -import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgCreateValidator, MsgCreateValidatorSDKType, MsgEditValidator, MsgEditValidatorSDKType, MsgDelegate, MsgDelegateSDKType, MsgBeginRedelegate, MsgBeginRedelegateSDKType, MsgUndelegate, MsgUndelegateSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.staking.v1beta1.MsgCreateValidator", MsgCreateValidator], ["/cosmos.staking.v1beta1.MsgEditValidator", MsgEditValidator], ["/cosmos.staking.v1beta1.MsgDelegate", MsgDelegate], ["/cosmos.staking.v1beta1.MsgBeginRedelegate", MsgBeginRedelegate], ["/cosmos.staking.v1beta1.MsgUndelegate", MsgUndelegate]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - createValidator(value: MsgCreateValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - value: MsgCreateValidator.encode(value).finish() - }; - }, - editValidator(value: MsgEditValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - value: MsgEditValidator.encode(value).finish() - }; - }, - delegate(value: MsgDelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - value: MsgDelegate.encode(value).finish() - }; - }, - beginRedelegate(value: MsgBeginRedelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - value: MsgBeginRedelegate.encode(value).finish() - }; - }, - undelegate(value: MsgUndelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - value: MsgUndelegate.encode(value).finish() - }; - } - }, - withTypeUrl: { - createValidator(value: MsgCreateValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - value - }; - }, - editValidator(value: MsgEditValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - value - }; - }, - delegate(value: MsgDelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - value - }; - }, - beginRedelegate(value: MsgBeginRedelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - value - }; - }, - undelegate(value: MsgUndelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - value - }; - } - }, - toJSON: { - createValidator(value: MsgCreateValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - value: MsgCreateValidator.toJSON(value) - }; - }, - editValidator(value: MsgEditValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - value: MsgEditValidator.toJSON(value) - }; - }, - delegate(value: MsgDelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - value: MsgDelegate.toJSON(value) - }; - }, - beginRedelegate(value: MsgBeginRedelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - value: MsgBeginRedelegate.toJSON(value) - }; - }, - undelegate(value: MsgUndelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - value: MsgUndelegate.toJSON(value) - }; - } - }, - fromJSON: { - createValidator(value: any) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - value: MsgCreateValidator.fromJSON(value) - }; - }, - editValidator(value: any) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - value: MsgEditValidator.fromJSON(value) - }; - }, - delegate(value: any) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - value: MsgDelegate.fromJSON(value) - }; - }, - beginRedelegate(value: any) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - value: MsgBeginRedelegate.fromJSON(value) - }; - }, - undelegate(value: any) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - value: MsgUndelegate.fromJSON(value) - }; - } - }, - fromPartial: { - createValidator(value: MsgCreateValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - value: MsgCreateValidator.fromPartial(value) - }; - }, - editValidator(value: MsgEditValidator) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - value: MsgEditValidator.fromPartial(value) - }; - }, - delegate(value: MsgDelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - value: MsgDelegate.fromPartial(value) - }; - }, - beginRedelegate(value: MsgBeginRedelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - value: MsgBeginRedelegate.fromPartial(value) - }; - }, - undelegate(value: MsgUndelegate) { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - value: MsgUndelegate.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index b0675f573..000000000 --- a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Timestamp, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import * as fm from "../../../grpc-gateway"; -import { MsgCreateValidator, MsgCreateValidatorSDKType, MsgCreateValidatorResponse, MsgCreateValidatorResponseSDKType, MsgEditValidator, MsgEditValidatorSDKType, MsgEditValidatorResponse, MsgEditValidatorResponseSDKType, MsgDelegate, MsgDelegateSDKType, MsgDelegateResponse, MsgDelegateResponseSDKType, MsgBeginRedelegate, MsgBeginRedelegateSDKType, MsgBeginRedelegateResponse, MsgBeginRedelegateResponseSDKType, MsgUndelegate, MsgUndelegateSDKType, MsgUndelegateResponse, MsgUndelegateResponseSDKType } from "./tx"; -export class Msg { - /** CreateValidator defines a method for creating a new validator. */ - static createValidator(request: MsgCreateValidator, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.staking.v1beta1/createValidator`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** EditValidator defines a method for editing an existing validator. */ - static editValidator(request: MsgEditValidator, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.staking.v1beta1/editValidator`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * Delegate defines a method for performing a delegation of coins - * from a delegator to a validator. - */ - static delegate(request: MsgDelegate, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.staking.v1beta1/delegate`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * BeginRedelegate defines a method for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ - static beginRedelegate(request: MsgBeginRedelegate, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.staking.v1beta1/beginRedelegate`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * Undelegate defines a method for performing an undelegation from a - * delegate and a validator. - */ - static undelegate(request: MsgUndelegate, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.staking.v1beta1/undelegate`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.ts deleted file mode 100644 index eeeca2ae0..000000000 --- a/quicksilverjs/src/codegen/cosmos/staking/v1beta1/tx.ts +++ /dev/null @@ -1,1363 +0,0 @@ -import { Description, DescriptionAmino, DescriptionSDKType, CommissionRates, CommissionRatesAmino, CommissionRatesSDKType } from "./staking"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, toTimestamp, fromTimestamp } from "../../../helpers"; -import { encodePubkey, decodePubkey } from "@cosmjs/proto-signing"; -export const protobufPackage = "cosmos.staking.v1beta1"; -/** MsgCreateValidator defines a SDK message for creating a new validator. */ -export interface MsgCreateValidator { - description: Description; - commission: CommissionRates; - minSelfDelegation: string; - delegatorAddress: string; - validatorAddress: string; - pubkey: Any | undefined; - value: Coin; -} -export interface MsgCreateValidatorProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator"; - value: Uint8Array; -} -export type MsgCreateValidatorEncoded = Omit & { - pubkey?: AnyProtoMsg | undefined; -}; -/** MsgCreateValidator defines a SDK message for creating a new validator. */ -export interface MsgCreateValidatorAmino { - description?: DescriptionAmino; - commission?: CommissionRatesAmino; - min_self_delegation: string; - delegator_address: string; - validator_address: string; - pubkey?: AnyAmino; - value?: CoinAmino; -} -export interface MsgCreateValidatorAminoMsg { - type: "cosmos-sdk/MsgCreateValidator"; - value: MsgCreateValidatorAmino; -} -/** MsgCreateValidator defines a SDK message for creating a new validator. */ -export interface MsgCreateValidatorSDKType { - description: DescriptionSDKType; - commission: CommissionRatesSDKType; - min_self_delegation: string; - delegator_address: string; - validator_address: string; - pubkey: AnySDKType | undefined; - value: CoinSDKType; -} -/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ -export interface MsgCreateValidatorResponse {} -export interface MsgCreateValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidatorResponse"; - value: Uint8Array; -} -/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ -export interface MsgCreateValidatorResponseAmino {} -export interface MsgCreateValidatorResponseAminoMsg { - type: "cosmos-sdk/MsgCreateValidatorResponse"; - value: MsgCreateValidatorResponseAmino; -} -/** MsgCreateValidatorResponse defines the Msg/CreateValidator response type. */ -export interface MsgCreateValidatorResponseSDKType {} -/** MsgEditValidator defines a SDK message for editing an existing validator. */ -export interface MsgEditValidator { - description: Description; - validatorAddress: string; - /** - * We pass a reference to the new commission rate and min self delegation as - * it's not mandatory to update. If not updated, the deserialized rate will be - * zero with no way to distinguish if an update was intended. - * REF: #2373 - */ - commissionRate: string; - minSelfDelegation: string; -} -export interface MsgEditValidatorProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator"; - value: Uint8Array; -} -/** MsgEditValidator defines a SDK message for editing an existing validator. */ -export interface MsgEditValidatorAmino { - description?: DescriptionAmino; - validator_address: string; - /** - * We pass a reference to the new commission rate and min self delegation as - * it's not mandatory to update. If not updated, the deserialized rate will be - * zero with no way to distinguish if an update was intended. - * REF: #2373 - */ - commission_rate: string; - min_self_delegation: string; -} -export interface MsgEditValidatorAminoMsg { - type: "cosmos-sdk/MsgEditValidator"; - value: MsgEditValidatorAmino; -} -/** MsgEditValidator defines a SDK message for editing an existing validator. */ -export interface MsgEditValidatorSDKType { - description: DescriptionSDKType; - validator_address: string; - commission_rate: string; - min_self_delegation: string; -} -/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ -export interface MsgEditValidatorResponse {} -export interface MsgEditValidatorResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidatorResponse"; - value: Uint8Array; -} -/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ -export interface MsgEditValidatorResponseAmino {} -export interface MsgEditValidatorResponseAminoMsg { - type: "cosmos-sdk/MsgEditValidatorResponse"; - value: MsgEditValidatorResponseAmino; -} -/** MsgEditValidatorResponse defines the Msg/EditValidator response type. */ -export interface MsgEditValidatorResponseSDKType {} -/** - * MsgDelegate defines a SDK message for performing a delegation of coins - * from a delegator to a validator. - */ -export interface MsgDelegate { - delegatorAddress: string; - validatorAddress: string; - amount: Coin; -} -export interface MsgDelegateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate"; - value: Uint8Array; -} -/** - * MsgDelegate defines a SDK message for performing a delegation of coins - * from a delegator to a validator. - */ -export interface MsgDelegateAmino { - delegator_address: string; - validator_address: string; - amount?: CoinAmino; -} -export interface MsgDelegateAminoMsg { - type: "cosmos-sdk/MsgDelegate"; - value: MsgDelegateAmino; -} -/** - * MsgDelegate defines a SDK message for performing a delegation of coins - * from a delegator to a validator. - */ -export interface MsgDelegateSDKType { - delegator_address: string; - validator_address: string; - amount: CoinSDKType; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ -export interface MsgDelegateResponse {} -export interface MsgDelegateResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegateResponse"; - value: Uint8Array; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ -export interface MsgDelegateResponseAmino {} -export interface MsgDelegateResponseAminoMsg { - type: "cosmos-sdk/MsgDelegateResponse"; - value: MsgDelegateResponseAmino; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ -export interface MsgDelegateResponseSDKType {} -/** - * MsgBeginRedelegate defines a SDK message for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ -export interface MsgBeginRedelegate { - delegatorAddress: string; - validatorSrcAddress: string; - validatorDstAddress: string; - amount: Coin; -} -export interface MsgBeginRedelegateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate"; - value: Uint8Array; -} -/** - * MsgBeginRedelegate defines a SDK message for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ -export interface MsgBeginRedelegateAmino { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - amount?: CoinAmino; -} -export interface MsgBeginRedelegateAminoMsg { - type: "cosmos-sdk/MsgBeginRedelegate"; - value: MsgBeginRedelegateAmino; -} -/** - * MsgBeginRedelegate defines a SDK message for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ -export interface MsgBeginRedelegateSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - amount: CoinSDKType; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ -export interface MsgBeginRedelegateResponse { - completionTime: Date; -} -export interface MsgBeginRedelegateResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse"; - value: Uint8Array; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ -export interface MsgBeginRedelegateResponseAmino { - completion_time?: Date; -} -export interface MsgBeginRedelegateResponseAminoMsg { - type: "cosmos-sdk/MsgBeginRedelegateResponse"; - value: MsgBeginRedelegateResponseAmino; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ -export interface MsgBeginRedelegateResponseSDKType { - completion_time: Date; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ -export interface MsgUndelegate { - delegatorAddress: string; - validatorAddress: string; - amount: Coin; -} -export interface MsgUndelegateProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate"; - value: Uint8Array; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ -export interface MsgUndelegateAmino { - delegator_address: string; - validator_address: string; - amount?: CoinAmino; -} -export interface MsgUndelegateAminoMsg { - type: "cosmos-sdk/MsgUndelegate"; - value: MsgUndelegateAmino; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ -export interface MsgUndelegateSDKType { - delegator_address: string; - validator_address: string; - amount: CoinSDKType; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ -export interface MsgUndelegateResponse { - completionTime: Date; -} -export interface MsgUndelegateResponseProtoMsg { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse"; - value: Uint8Array; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ -export interface MsgUndelegateResponseAmino { - completion_time?: Date; -} -export interface MsgUndelegateResponseAminoMsg { - type: "cosmos-sdk/MsgUndelegateResponse"; - value: MsgUndelegateResponseAmino; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ -export interface MsgUndelegateResponseSDKType { - completion_time: Date; -} -function createBaseMsgCreateValidator(): MsgCreateValidator { - return { - description: Description.fromPartial({}), - commission: CommissionRates.fromPartial({}), - minSelfDelegation: "", - delegatorAddress: "", - validatorAddress: "", - pubkey: Any.fromPartial({}), - value: Coin.fromPartial({}) - }; -} -export const MsgCreateValidator = { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - aminoType: "cosmos-sdk/MsgCreateValidator", - encode(message: MsgCreateValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.description !== undefined) { - Description.encode(message.description, writer.uint32(10).fork()).ldelim(); - } - if (message.commission !== undefined) { - CommissionRates.encode(message.commission, writer.uint32(18).fork()).ldelim(); - } - if (message.minSelfDelegation !== "") { - writer.uint32(26).string(message.minSelfDelegation); - } - if (message.delegatorAddress !== "") { - writer.uint32(34).string(message.delegatorAddress); - } - if (message.validatorAddress !== "") { - writer.uint32(42).string(message.validatorAddress); - } - if (message.pubkey !== undefined) { - Any.encode((message.pubkey as Any), writer.uint32(50).fork()).ldelim(); - } - if (message.value !== undefined) { - Coin.encode(message.value, writer.uint32(58).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidator { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateValidator(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.description = Description.decode(reader, reader.uint32()); - break; - case 2: - message.commission = CommissionRates.decode(reader, reader.uint32()); - break; - case 3: - message.minSelfDelegation = reader.string(); - break; - case 4: - message.delegatorAddress = reader.string(); - break; - case 5: - message.validatorAddress = reader.string(); - break; - case 6: - message.pubkey = (Cosmos_cryptoPubKey_InterfaceDecoder(reader) as Any); - break; - case 7: - message.value = Coin.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgCreateValidator { - const obj = createBaseMsgCreateValidator(); - if (isSet(object.description)) obj.description = Description.fromJSON(object.description); - if (isSet(object.commission)) obj.commission = CommissionRates.fromJSON(object.commission); - if (isSet(object.minSelfDelegation)) obj.minSelfDelegation = String(object.minSelfDelegation); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (isSet(object.pubkey)) obj.pubkey = Any.fromJSON(object.pubkey); - if (isSet(object.value)) obj.value = Coin.fromJSON(object.value); - return obj; - }, - toJSON(message: MsgCreateValidator): unknown { - const obj: any = {}; - message.description !== undefined && (obj.description = message.description ? Description.toJSON(message.description) : undefined); - message.commission !== undefined && (obj.commission = message.commission ? CommissionRates.toJSON(message.commission) : undefined); - message.minSelfDelegation !== undefined && (obj.minSelfDelegation = message.minSelfDelegation); - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.pubkey !== undefined && (obj.pubkey = message.pubkey ? Any.toJSON(message.pubkey) : undefined); - message.value !== undefined && (obj.value = message.value ? Coin.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgCreateValidator { - const message = createBaseMsgCreateValidator(); - if (object.description !== undefined && object.description !== null) { - message.description = Description.fromPartial(object.description); - } - if (object.commission !== undefined && object.commission !== null) { - message.commission = CommissionRates.fromPartial(object.commission); - } - message.minSelfDelegation = object.minSelfDelegation ?? ""; - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - if (object.pubkey !== undefined && object.pubkey !== null) { - message.pubkey = Any.fromPartial(object.pubkey); - } - if (object.value !== undefined && object.value !== null) { - message.value = Coin.fromPartial(object.value); - } - return message; - }, - fromSDK(object: MsgCreateValidatorSDKType): MsgCreateValidator { - return { - description: object.description ? Description.fromSDK(object.description) : undefined, - commission: object.commission ? CommissionRates.fromSDK(object.commission) : undefined, - minSelfDelegation: object?.min_self_delegation, - delegatorAddress: object?.delegator_address, - validatorAddress: object?.validator_address, - pubkey: object.pubkey ? Any.fromSDK(object.pubkey) : undefined, - value: object.value ? Coin.fromSDK(object.value) : undefined - }; - }, - toSDK(message: MsgCreateValidator): MsgCreateValidatorSDKType { - const obj: any = {}; - message.description !== undefined && (obj.description = message.description ? Description.toSDK(message.description) : undefined); - message.commission !== undefined && (obj.commission = message.commission ? CommissionRates.toSDK(message.commission) : undefined); - obj.min_self_delegation = message.minSelfDelegation; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - message.pubkey !== undefined && (obj.pubkey = message.pubkey ? Any.toSDK(message.pubkey) : undefined); - message.value !== undefined && (obj.value = message.value ? Coin.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: MsgCreateValidatorAmino): MsgCreateValidator { - return { - description: object?.description ? Description.fromAmino(object.description) : undefined, - commission: object?.commission ? CommissionRates.fromAmino(object.commission) : undefined, - minSelfDelegation: object.min_self_delegation, - delegatorAddress: object.delegator_address, - validatorAddress: object.validator_address, - pubkey: object?.pubkey ? encodePubkey(object.pubkey) : undefined, - value: object?.value ? Coin.fromAmino(object.value) : undefined - }; - }, - toAmino(message: MsgCreateValidator): MsgCreateValidatorAmino { - const obj: any = {}; - obj.description = message.description ? Description.toAmino(message.description) : undefined; - obj.commission = message.commission ? CommissionRates.toAmino(message.commission) : undefined; - obj.min_self_delegation = message.minSelfDelegation; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - obj.pubkey = message.pubkey ? decodePubkey(message.pubkey) : undefined; - obj.value = message.value ? Coin.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: MsgCreateValidatorAminoMsg): MsgCreateValidator { - return MsgCreateValidator.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreateValidator): MsgCreateValidatorAminoMsg { - return { - type: "cosmos-sdk/MsgCreateValidator", - value: MsgCreateValidator.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreateValidatorProtoMsg): MsgCreateValidator { - return MsgCreateValidator.decode(message.value); - }, - toProto(message: MsgCreateValidator): Uint8Array { - return MsgCreateValidator.encode(message).finish(); - }, - toProtoMsg(message: MsgCreateValidator): MsgCreateValidatorProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidator", - value: MsgCreateValidator.encode(message).finish() - }; - } -}; -function createBaseMsgCreateValidatorResponse(): MsgCreateValidatorResponse { - return {}; -} -export const MsgCreateValidatorResponse = { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidatorResponse", - aminoType: "cosmos-sdk/MsgCreateValidatorResponse", - encode(_: MsgCreateValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateValidatorResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgCreateValidatorResponse { - const obj = createBaseMsgCreateValidatorResponse(); - return obj; - }, - toJSON(_: MsgCreateValidatorResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgCreateValidatorResponse { - const message = createBaseMsgCreateValidatorResponse(); - return message; - }, - fromSDK(_: MsgCreateValidatorResponseSDKType): MsgCreateValidatorResponse { - return {}; - }, - toSDK(_: MsgCreateValidatorResponse): MsgCreateValidatorResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgCreateValidatorResponseAmino): MsgCreateValidatorResponse { - return {}; - }, - toAmino(_: MsgCreateValidatorResponse): MsgCreateValidatorResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgCreateValidatorResponseAminoMsg): MsgCreateValidatorResponse { - return MsgCreateValidatorResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreateValidatorResponse): MsgCreateValidatorResponseAminoMsg { - return { - type: "cosmos-sdk/MsgCreateValidatorResponse", - value: MsgCreateValidatorResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreateValidatorResponseProtoMsg): MsgCreateValidatorResponse { - return MsgCreateValidatorResponse.decode(message.value); - }, - toProto(message: MsgCreateValidatorResponse): Uint8Array { - return MsgCreateValidatorResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgCreateValidatorResponse): MsgCreateValidatorResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgCreateValidatorResponse", - value: MsgCreateValidatorResponse.encode(message).finish() - }; - } -}; -function createBaseMsgEditValidator(): MsgEditValidator { - return { - description: Description.fromPartial({}), - validatorAddress: "", - commissionRate: "", - minSelfDelegation: "" - }; -} -export const MsgEditValidator = { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - aminoType: "cosmos-sdk/MsgEditValidator", - encode(message: MsgEditValidator, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.description !== undefined) { - Description.encode(message.description, writer.uint32(10).fork()).ldelim(); - } - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - if (message.commissionRate !== "") { - writer.uint32(26).string(message.commissionRate); - } - if (message.minSelfDelegation !== "") { - writer.uint32(34).string(message.minSelfDelegation); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidator { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgEditValidator(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.description = Description.decode(reader, reader.uint32()); - break; - case 2: - message.validatorAddress = reader.string(); - break; - case 3: - message.commissionRate = reader.string(); - break; - case 4: - message.minSelfDelegation = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgEditValidator { - const obj = createBaseMsgEditValidator(); - if (isSet(object.description)) obj.description = Description.fromJSON(object.description); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (isSet(object.commissionRate)) obj.commissionRate = String(object.commissionRate); - if (isSet(object.minSelfDelegation)) obj.minSelfDelegation = String(object.minSelfDelegation); - return obj; - }, - toJSON(message: MsgEditValidator): unknown { - const obj: any = {}; - message.description !== undefined && (obj.description = message.description ? Description.toJSON(message.description) : undefined); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.commissionRate !== undefined && (obj.commissionRate = message.commissionRate); - message.minSelfDelegation !== undefined && (obj.minSelfDelegation = message.minSelfDelegation); - return obj; - }, - fromPartial(object: DeepPartial): MsgEditValidator { - const message = createBaseMsgEditValidator(); - if (object.description !== undefined && object.description !== null) { - message.description = Description.fromPartial(object.description); - } - message.validatorAddress = object.validatorAddress ?? ""; - message.commissionRate = object.commissionRate ?? ""; - message.minSelfDelegation = object.minSelfDelegation ?? ""; - return message; - }, - fromSDK(object: MsgEditValidatorSDKType): MsgEditValidator { - return { - description: object.description ? Description.fromSDK(object.description) : undefined, - validatorAddress: object?.validator_address, - commissionRate: object?.commission_rate, - minSelfDelegation: object?.min_self_delegation - }; - }, - toSDK(message: MsgEditValidator): MsgEditValidatorSDKType { - const obj: any = {}; - message.description !== undefined && (obj.description = message.description ? Description.toSDK(message.description) : undefined); - obj.validator_address = message.validatorAddress; - obj.commission_rate = message.commissionRate; - obj.min_self_delegation = message.minSelfDelegation; - return obj; - }, - fromAmino(object: MsgEditValidatorAmino): MsgEditValidator { - return { - description: object?.description ? Description.fromAmino(object.description) : undefined, - validatorAddress: object.validator_address, - commissionRate: object.commission_rate, - minSelfDelegation: object.min_self_delegation - }; - }, - toAmino(message: MsgEditValidator): MsgEditValidatorAmino { - const obj: any = {}; - obj.description = message.description ? Description.toAmino(message.description) : undefined; - obj.validator_address = message.validatorAddress; - obj.commission_rate = message.commissionRate; - obj.min_self_delegation = message.minSelfDelegation; - return obj; - }, - fromAminoMsg(object: MsgEditValidatorAminoMsg): MsgEditValidator { - return MsgEditValidator.fromAmino(object.value); - }, - toAminoMsg(message: MsgEditValidator): MsgEditValidatorAminoMsg { - return { - type: "cosmos-sdk/MsgEditValidator", - value: MsgEditValidator.toAmino(message) - }; - }, - fromProtoMsg(message: MsgEditValidatorProtoMsg): MsgEditValidator { - return MsgEditValidator.decode(message.value); - }, - toProto(message: MsgEditValidator): Uint8Array { - return MsgEditValidator.encode(message).finish(); - }, - toProtoMsg(message: MsgEditValidator): MsgEditValidatorProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidator", - value: MsgEditValidator.encode(message).finish() - }; - } -}; -function createBaseMsgEditValidatorResponse(): MsgEditValidatorResponse { - return {}; -} -export const MsgEditValidatorResponse = { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidatorResponse", - aminoType: "cosmos-sdk/MsgEditValidatorResponse", - encode(_: MsgEditValidatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgEditValidatorResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgEditValidatorResponse { - const obj = createBaseMsgEditValidatorResponse(); - return obj; - }, - toJSON(_: MsgEditValidatorResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgEditValidatorResponse { - const message = createBaseMsgEditValidatorResponse(); - return message; - }, - fromSDK(_: MsgEditValidatorResponseSDKType): MsgEditValidatorResponse { - return {}; - }, - toSDK(_: MsgEditValidatorResponse): MsgEditValidatorResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgEditValidatorResponseAmino): MsgEditValidatorResponse { - return {}; - }, - toAmino(_: MsgEditValidatorResponse): MsgEditValidatorResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgEditValidatorResponseAminoMsg): MsgEditValidatorResponse { - return MsgEditValidatorResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgEditValidatorResponse): MsgEditValidatorResponseAminoMsg { - return { - type: "cosmos-sdk/MsgEditValidatorResponse", - value: MsgEditValidatorResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgEditValidatorResponseProtoMsg): MsgEditValidatorResponse { - return MsgEditValidatorResponse.decode(message.value); - }, - toProto(message: MsgEditValidatorResponse): Uint8Array { - return MsgEditValidatorResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgEditValidatorResponse): MsgEditValidatorResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgEditValidatorResponse", - value: MsgEditValidatorResponse.encode(message).finish() - }; - } -}; -function createBaseMsgDelegate(): MsgDelegate { - return { - delegatorAddress: "", - validatorAddress: "", - amount: Coin.fromPartial({}) - }; -} -export const MsgDelegate = { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - aminoType: "cosmos-sdk/MsgDelegate", - encode(message: MsgDelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - if (message.amount !== undefined) { - Coin.encode(message.amount, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegate { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDelegate(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.validatorAddress = reader.string(); - break; - case 3: - message.amount = Coin.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgDelegate { - const obj = createBaseMsgDelegate(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (isSet(object.amount)) obj.amount = Coin.fromJSON(object.amount); - return obj; - }, - toJSON(message: MsgDelegate): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.amount !== undefined && (obj.amount = message.amount ? Coin.toJSON(message.amount) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgDelegate { - const message = createBaseMsgDelegate(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - if (object.amount !== undefined && object.amount !== null) { - message.amount = Coin.fromPartial(object.amount); - } - return message; - }, - fromSDK(object: MsgDelegateSDKType): MsgDelegate { - return { - delegatorAddress: object?.delegator_address, - validatorAddress: object?.validator_address, - amount: object.amount ? Coin.fromSDK(object.amount) : undefined - }; - }, - toSDK(message: MsgDelegate): MsgDelegateSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - message.amount !== undefined && (obj.amount = message.amount ? Coin.toSDK(message.amount) : undefined); - return obj; - }, - fromAmino(object: MsgDelegateAmino): MsgDelegate { - return { - delegatorAddress: object.delegator_address, - validatorAddress: object.validator_address, - amount: object?.amount ? Coin.fromAmino(object.amount) : undefined - }; - }, - toAmino(message: MsgDelegate): MsgDelegateAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - obj.amount = message.amount ? Coin.toAmino(message.amount) : undefined; - return obj; - }, - fromAminoMsg(object: MsgDelegateAminoMsg): MsgDelegate { - return MsgDelegate.fromAmino(object.value); - }, - toAminoMsg(message: MsgDelegate): MsgDelegateAminoMsg { - return { - type: "cosmos-sdk/MsgDelegate", - value: MsgDelegate.toAmino(message) - }; - }, - fromProtoMsg(message: MsgDelegateProtoMsg): MsgDelegate { - return MsgDelegate.decode(message.value); - }, - toProto(message: MsgDelegate): Uint8Array { - return MsgDelegate.encode(message).finish(); - }, - toProtoMsg(message: MsgDelegate): MsgDelegateProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegate", - value: MsgDelegate.encode(message).finish() - }; - } -}; -function createBaseMsgDelegateResponse(): MsgDelegateResponse { - return {}; -} -export const MsgDelegateResponse = { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegateResponse", - aminoType: "cosmos-sdk/MsgDelegateResponse", - encode(_: MsgDelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgDelegateResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgDelegateResponse { - const obj = createBaseMsgDelegateResponse(); - return obj; - }, - toJSON(_: MsgDelegateResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgDelegateResponse { - const message = createBaseMsgDelegateResponse(); - return message; - }, - fromSDK(_: MsgDelegateResponseSDKType): MsgDelegateResponse { - return {}; - }, - toSDK(_: MsgDelegateResponse): MsgDelegateResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgDelegateResponseAmino): MsgDelegateResponse { - return {}; - }, - toAmino(_: MsgDelegateResponse): MsgDelegateResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgDelegateResponseAminoMsg): MsgDelegateResponse { - return MsgDelegateResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgDelegateResponse): MsgDelegateResponseAminoMsg { - return { - type: "cosmos-sdk/MsgDelegateResponse", - value: MsgDelegateResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgDelegateResponseProtoMsg): MsgDelegateResponse { - return MsgDelegateResponse.decode(message.value); - }, - toProto(message: MsgDelegateResponse): Uint8Array { - return MsgDelegateResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgDelegateResponse): MsgDelegateResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgDelegateResponse", - value: MsgDelegateResponse.encode(message).finish() - }; - } -}; -function createBaseMsgBeginRedelegate(): MsgBeginRedelegate { - return { - delegatorAddress: "", - validatorSrcAddress: "", - validatorDstAddress: "", - amount: Coin.fromPartial({}) - }; -} -export const MsgBeginRedelegate = { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - aminoType: "cosmos-sdk/MsgBeginRedelegate", - encode(message: MsgBeginRedelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.validatorSrcAddress !== "") { - writer.uint32(18).string(message.validatorSrcAddress); - } - if (message.validatorDstAddress !== "") { - writer.uint32(26).string(message.validatorDstAddress); - } - if (message.amount !== undefined) { - Coin.encode(message.amount, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegate { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgBeginRedelegate(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.validatorSrcAddress = reader.string(); - break; - case 3: - message.validatorDstAddress = reader.string(); - break; - case 4: - message.amount = Coin.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgBeginRedelegate { - const obj = createBaseMsgBeginRedelegate(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorSrcAddress)) obj.validatorSrcAddress = String(object.validatorSrcAddress); - if (isSet(object.validatorDstAddress)) obj.validatorDstAddress = String(object.validatorDstAddress); - if (isSet(object.amount)) obj.amount = Coin.fromJSON(object.amount); - return obj; - }, - toJSON(message: MsgBeginRedelegate): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorSrcAddress !== undefined && (obj.validatorSrcAddress = message.validatorSrcAddress); - message.validatorDstAddress !== undefined && (obj.validatorDstAddress = message.validatorDstAddress); - message.amount !== undefined && (obj.amount = message.amount ? Coin.toJSON(message.amount) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgBeginRedelegate { - const message = createBaseMsgBeginRedelegate(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorSrcAddress = object.validatorSrcAddress ?? ""; - message.validatorDstAddress = object.validatorDstAddress ?? ""; - if (object.amount !== undefined && object.amount !== null) { - message.amount = Coin.fromPartial(object.amount); - } - return message; - }, - fromSDK(object: MsgBeginRedelegateSDKType): MsgBeginRedelegate { - return { - delegatorAddress: object?.delegator_address, - validatorSrcAddress: object?.validator_src_address, - validatorDstAddress: object?.validator_dst_address, - amount: object.amount ? Coin.fromSDK(object.amount) : undefined - }; - }, - toSDK(message: MsgBeginRedelegate): MsgBeginRedelegateSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_src_address = message.validatorSrcAddress; - obj.validator_dst_address = message.validatorDstAddress; - message.amount !== undefined && (obj.amount = message.amount ? Coin.toSDK(message.amount) : undefined); - return obj; - }, - fromAmino(object: MsgBeginRedelegateAmino): MsgBeginRedelegate { - return { - delegatorAddress: object.delegator_address, - validatorSrcAddress: object.validator_src_address, - validatorDstAddress: object.validator_dst_address, - amount: object?.amount ? Coin.fromAmino(object.amount) : undefined - }; - }, - toAmino(message: MsgBeginRedelegate): MsgBeginRedelegateAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_src_address = message.validatorSrcAddress; - obj.validator_dst_address = message.validatorDstAddress; - obj.amount = message.amount ? Coin.toAmino(message.amount) : undefined; - return obj; - }, - fromAminoMsg(object: MsgBeginRedelegateAminoMsg): MsgBeginRedelegate { - return MsgBeginRedelegate.fromAmino(object.value); - }, - toAminoMsg(message: MsgBeginRedelegate): MsgBeginRedelegateAminoMsg { - return { - type: "cosmos-sdk/MsgBeginRedelegate", - value: MsgBeginRedelegate.toAmino(message) - }; - }, - fromProtoMsg(message: MsgBeginRedelegateProtoMsg): MsgBeginRedelegate { - return MsgBeginRedelegate.decode(message.value); - }, - toProto(message: MsgBeginRedelegate): Uint8Array { - return MsgBeginRedelegate.encode(message).finish(); - }, - toProtoMsg(message: MsgBeginRedelegate): MsgBeginRedelegateProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegate", - value: MsgBeginRedelegate.encode(message).finish() - }; - } -}; -function createBaseMsgBeginRedelegateResponse(): MsgBeginRedelegateResponse { - return { - completionTime: new Date() - }; -} -export const MsgBeginRedelegateResponse = { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse", - aminoType: "cosmos-sdk/MsgBeginRedelegateResponse", - encode(message: MsgBeginRedelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.completionTime !== undefined) { - Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgBeginRedelegateResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgBeginRedelegateResponse { - const obj = createBaseMsgBeginRedelegateResponse(); - if (isSet(object.completionTime)) obj.completionTime = new Date(object.completionTime); - return obj; - }, - toJSON(message: MsgBeginRedelegateResponse): unknown { - const obj: any = {}; - message.completionTime !== undefined && (obj.completionTime = message.completionTime.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): MsgBeginRedelegateResponse { - const message = createBaseMsgBeginRedelegateResponse(); - message.completionTime = object.completionTime ?? undefined; - return message; - }, - fromSDK(object: MsgBeginRedelegateResponseSDKType): MsgBeginRedelegateResponse { - return { - completionTime: object.completion_time ?? undefined - }; - }, - toSDK(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseSDKType { - const obj: any = {}; - message.completionTime !== undefined && (obj.completion_time = message.completionTime ?? undefined); - return obj; - }, - fromAmino(object: MsgBeginRedelegateResponseAmino): MsgBeginRedelegateResponse { - return { - completionTime: object.completion_time - }; - }, - toAmino(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseAmino { - const obj: any = {}; - obj.completion_time = message.completionTime; - return obj; - }, - fromAminoMsg(object: MsgBeginRedelegateResponseAminoMsg): MsgBeginRedelegateResponse { - return MsgBeginRedelegateResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseAminoMsg { - return { - type: "cosmos-sdk/MsgBeginRedelegateResponse", - value: MsgBeginRedelegateResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgBeginRedelegateResponseProtoMsg): MsgBeginRedelegateResponse { - return MsgBeginRedelegateResponse.decode(message.value); - }, - toProto(message: MsgBeginRedelegateResponse): Uint8Array { - return MsgBeginRedelegateResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgBeginRedelegateResponse): MsgBeginRedelegateResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgBeginRedelegateResponse", - value: MsgBeginRedelegateResponse.encode(message).finish() - }; - } -}; -function createBaseMsgUndelegate(): MsgUndelegate { - return { - delegatorAddress: "", - validatorAddress: "", - amount: Coin.fromPartial({}) - }; -} -export const MsgUndelegate = { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - aminoType: "cosmos-sdk/MsgUndelegate", - encode(message: MsgUndelegate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.delegatorAddress !== "") { - writer.uint32(10).string(message.delegatorAddress); - } - if (message.validatorAddress !== "") { - writer.uint32(18).string(message.validatorAddress); - } - if (message.amount !== undefined) { - Coin.encode(message.amount, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegate { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUndelegate(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.delegatorAddress = reader.string(); - break; - case 2: - message.validatorAddress = reader.string(); - break; - case 3: - message.amount = Coin.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgUndelegate { - const obj = createBaseMsgUndelegate(); - if (isSet(object.delegatorAddress)) obj.delegatorAddress = String(object.delegatorAddress); - if (isSet(object.validatorAddress)) obj.validatorAddress = String(object.validatorAddress); - if (isSet(object.amount)) obj.amount = Coin.fromJSON(object.amount); - return obj; - }, - toJSON(message: MsgUndelegate): unknown { - const obj: any = {}; - message.delegatorAddress !== undefined && (obj.delegatorAddress = message.delegatorAddress); - message.validatorAddress !== undefined && (obj.validatorAddress = message.validatorAddress); - message.amount !== undefined && (obj.amount = message.amount ? Coin.toJSON(message.amount) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgUndelegate { - const message = createBaseMsgUndelegate(); - message.delegatorAddress = object.delegatorAddress ?? ""; - message.validatorAddress = object.validatorAddress ?? ""; - if (object.amount !== undefined && object.amount !== null) { - message.amount = Coin.fromPartial(object.amount); - } - return message; - }, - fromSDK(object: MsgUndelegateSDKType): MsgUndelegate { - return { - delegatorAddress: object?.delegator_address, - validatorAddress: object?.validator_address, - amount: object.amount ? Coin.fromSDK(object.amount) : undefined - }; - }, - toSDK(message: MsgUndelegate): MsgUndelegateSDKType { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - message.amount !== undefined && (obj.amount = message.amount ? Coin.toSDK(message.amount) : undefined); - return obj; - }, - fromAmino(object: MsgUndelegateAmino): MsgUndelegate { - return { - delegatorAddress: object.delegator_address, - validatorAddress: object.validator_address, - amount: object?.amount ? Coin.fromAmino(object.amount) : undefined - }; - }, - toAmino(message: MsgUndelegate): MsgUndelegateAmino { - const obj: any = {}; - obj.delegator_address = message.delegatorAddress; - obj.validator_address = message.validatorAddress; - obj.amount = message.amount ? Coin.toAmino(message.amount) : undefined; - return obj; - }, - fromAminoMsg(object: MsgUndelegateAminoMsg): MsgUndelegate { - return MsgUndelegate.fromAmino(object.value); - }, - toAminoMsg(message: MsgUndelegate): MsgUndelegateAminoMsg { - return { - type: "cosmos-sdk/MsgUndelegate", - value: MsgUndelegate.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUndelegateProtoMsg): MsgUndelegate { - return MsgUndelegate.decode(message.value); - }, - toProto(message: MsgUndelegate): Uint8Array { - return MsgUndelegate.encode(message).finish(); - }, - toProtoMsg(message: MsgUndelegate): MsgUndelegateProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegate", - value: MsgUndelegate.encode(message).finish() - }; - } -}; -function createBaseMsgUndelegateResponse(): MsgUndelegateResponse { - return { - completionTime: new Date() - }; -} -export const MsgUndelegateResponse = { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse", - aminoType: "cosmos-sdk/MsgUndelegateResponse", - encode(message: MsgUndelegateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.completionTime !== undefined) { - Timestamp.encode(toTimestamp(message.completionTime), writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUndelegateResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.completionTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgUndelegateResponse { - const obj = createBaseMsgUndelegateResponse(); - if (isSet(object.completionTime)) obj.completionTime = new Date(object.completionTime); - return obj; - }, - toJSON(message: MsgUndelegateResponse): unknown { - const obj: any = {}; - message.completionTime !== undefined && (obj.completionTime = message.completionTime.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): MsgUndelegateResponse { - const message = createBaseMsgUndelegateResponse(); - message.completionTime = object.completionTime ?? undefined; - return message; - }, - fromSDK(object: MsgUndelegateResponseSDKType): MsgUndelegateResponse { - return { - completionTime: object.completion_time ?? undefined - }; - }, - toSDK(message: MsgUndelegateResponse): MsgUndelegateResponseSDKType { - const obj: any = {}; - message.completionTime !== undefined && (obj.completion_time = message.completionTime ?? undefined); - return obj; - }, - fromAmino(object: MsgUndelegateResponseAmino): MsgUndelegateResponse { - return { - completionTime: object.completion_time - }; - }, - toAmino(message: MsgUndelegateResponse): MsgUndelegateResponseAmino { - const obj: any = {}; - obj.completion_time = message.completionTime; - return obj; - }, - fromAminoMsg(object: MsgUndelegateResponseAminoMsg): MsgUndelegateResponse { - return MsgUndelegateResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgUndelegateResponse): MsgUndelegateResponseAminoMsg { - return { - type: "cosmos-sdk/MsgUndelegateResponse", - value: MsgUndelegateResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUndelegateResponseProtoMsg): MsgUndelegateResponse { - return MsgUndelegateResponse.decode(message.value); - }, - toProto(message: MsgUndelegateResponse): Uint8Array { - return MsgUndelegateResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgUndelegateResponse): MsgUndelegateResponseProtoMsg { - return { - typeUrl: "/cosmos.staking.v1beta1.MsgUndelegateResponse", - value: MsgUndelegateResponse.encode(message).finish() - }; - } -}; -export const Cosmos_cryptoPubKey_InterfaceDecoder = (input: _m0.Reader | Uint8Array): Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - default: - return data; - } -}; -export const Cosmos_cryptoPubKey_FromAmino = (content: AnyAmino) => { - return encodePubkey(content); -}; -export const Cosmos_cryptoPubKey_ToAmino = (content: Any) => { - return decodePubkey(content); -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/tx/signing/v1beta1/signing.ts b/quicksilverjs/src/codegen/cosmos/tx/signing/v1beta1/signing.ts deleted file mode 100644 index b8bdd26ee..000000000 --- a/quicksilverjs/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +++ /dev/null @@ -1,792 +0,0 @@ -import { CompactBitArray, CompactBitArrayAmino, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../../google/protobuf/any"; -import { Long, DeepPartial, isSet, bytesFromBase64, base64FromBytes } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.tx.signing.v1beta1"; -/** - * SignMode represents a signing mode with its own security guarantees. - * - * This enum should be considered a registry of all known sign modes - * in the Cosmos ecosystem. Apps are not expected to support all known - * sign modes. Apps that would like to support custom sign modes are - * encouraged to open a small PR against this file to add a new case - * to this SignMode enum describing their sign mode so that different - * apps have a consistent version of this enum. - */ -export enum SignMode { - /** - * SIGN_MODE_UNSPECIFIED - SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be - * rejected. - */ - SIGN_MODE_UNSPECIFIED = 0, - /** - * SIGN_MODE_DIRECT - SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is - * verified with raw bytes from Tx. - */ - SIGN_MODE_DIRECT = 1, - /** - * SIGN_MODE_TEXTUAL - SIGN_MODE_TEXTUAL is a future signing mode that will verify some - * human-readable textual representation on top of the binary representation - * from SIGN_MODE_DIRECT. It is currently not supported. - */ - SIGN_MODE_TEXTUAL = 2, - /** - * SIGN_MODE_DIRECT_AUX - SIGN_MODE_DIRECT_AUX specifies a signing mode which uses - * SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not - * require signers signing over other signers' `signer_info`. It also allows - * for adding Tips in transactions. - * - * Since: cosmos-sdk 0.46 - */ - SIGN_MODE_DIRECT_AUX = 3, - /** - * SIGN_MODE_LEGACY_AMINO_JSON - SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses - * Amino JSON and will be removed in the future. - */ - SIGN_MODE_LEGACY_AMINO_JSON = 127, - UNRECOGNIZED = -1, -} -export const SignModeSDKType = SignMode; -export const SignModeAmino = SignMode; -export function signModeFromJSON(object: any): SignMode { - switch (object) { - case 0: - case "SIGN_MODE_UNSPECIFIED": - return SignMode.SIGN_MODE_UNSPECIFIED; - case 1: - case "SIGN_MODE_DIRECT": - return SignMode.SIGN_MODE_DIRECT; - case 2: - case "SIGN_MODE_TEXTUAL": - return SignMode.SIGN_MODE_TEXTUAL; - case 3: - case "SIGN_MODE_DIRECT_AUX": - return SignMode.SIGN_MODE_DIRECT_AUX; - case 127: - case "SIGN_MODE_LEGACY_AMINO_JSON": - return SignMode.SIGN_MODE_LEGACY_AMINO_JSON; - case -1: - case "UNRECOGNIZED": - default: - return SignMode.UNRECOGNIZED; - } -} -export function signModeToJSON(object: SignMode): string { - switch (object) { - case SignMode.SIGN_MODE_UNSPECIFIED: - return "SIGN_MODE_UNSPECIFIED"; - case SignMode.SIGN_MODE_DIRECT: - return "SIGN_MODE_DIRECT"; - case SignMode.SIGN_MODE_TEXTUAL: - return "SIGN_MODE_TEXTUAL"; - case SignMode.SIGN_MODE_DIRECT_AUX: - return "SIGN_MODE_DIRECT_AUX"; - case SignMode.SIGN_MODE_LEGACY_AMINO_JSON: - return "SIGN_MODE_LEGACY_AMINO_JSON"; - case SignMode.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ -export interface SignatureDescriptors { - /** signatures are the signature descriptors */ - signatures: SignatureDescriptor[]; -} -export interface SignatureDescriptorsProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptors"; - value: Uint8Array; -} -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ -export interface SignatureDescriptorsAmino { - /** signatures are the signature descriptors */ - signatures: SignatureDescriptorAmino[]; -} -export interface SignatureDescriptorsAminoMsg { - type: "cosmos-sdk/SignatureDescriptors"; - value: SignatureDescriptorsAmino; -} -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ -export interface SignatureDescriptorsSDKType { - signatures: SignatureDescriptorSDKType[]; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ -export interface SignatureDescriptor { - /** public_key is the public key of the signer */ - publicKey: Any; - data: SignatureDescriptor_Data; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to prevent - * replay attacks. - */ - sequence: Long; -} -export interface SignatureDescriptorProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptor"; - value: Uint8Array; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ -export interface SignatureDescriptorAmino { - /** public_key is the public key of the signer */ - public_key?: AnyAmino; - data?: SignatureDescriptor_DataAmino; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to prevent - * replay attacks. - */ - sequence: string; -} -export interface SignatureDescriptorAminoMsg { - type: "cosmos-sdk/SignatureDescriptor"; - value: SignatureDescriptorAmino; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ -export interface SignatureDescriptorSDKType { - public_key: AnySDKType; - data: SignatureDescriptor_DataSDKType; - sequence: Long; -} -/** Data represents signature data */ -export interface SignatureDescriptor_Data { - /** single represents a single signer */ - single?: SignatureDescriptor_Data_Single; - /** multi represents a multisig signer */ - multi?: SignatureDescriptor_Data_Multi; -} -export interface SignatureDescriptor_DataProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.Data"; - value: Uint8Array; -} -/** Data represents signature data */ -export interface SignatureDescriptor_DataAmino { - /** single represents a single signer */ - single?: SignatureDescriptor_Data_SingleAmino; - /** multi represents a multisig signer */ - multi?: SignatureDescriptor_Data_MultiAmino; -} -export interface SignatureDescriptor_DataAminoMsg { - type: "cosmos-sdk/Data"; - value: SignatureDescriptor_DataAmino; -} -/** Data represents signature data */ -export interface SignatureDescriptor_DataSDKType { - single?: SignatureDescriptor_Data_SingleSDKType; - multi?: SignatureDescriptor_Data_MultiSDKType; -} -/** Single is the signature data for a single signer */ -export interface SignatureDescriptor_Data_Single { - /** mode is the signing mode of the single signer */ - mode: SignMode; - /** signature is the raw signature bytes */ - signature: Uint8Array; -} -export interface SignatureDescriptor_Data_SingleProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.Single"; - value: Uint8Array; -} -/** Single is the signature data for a single signer */ -export interface SignatureDescriptor_Data_SingleAmino { - /** mode is the signing mode of the single signer */ - mode: SignMode; - /** signature is the raw signature bytes */ - signature: Uint8Array; -} -export interface SignatureDescriptor_Data_SingleAminoMsg { - type: "cosmos-sdk/Single"; - value: SignatureDescriptor_Data_SingleAmino; -} -/** Single is the signature data for a single signer */ -export interface SignatureDescriptor_Data_SingleSDKType { - mode: SignMode; - signature: Uint8Array; -} -/** Multi is the signature data for a multisig public key */ -export interface SignatureDescriptor_Data_Multi { - /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArray; - /** signatures is the signatures of the multi-signature */ - signatures: SignatureDescriptor_Data[]; -} -export interface SignatureDescriptor_Data_MultiProtoMsg { - typeUrl: "/cosmos.tx.signing.v1beta1.Multi"; - value: Uint8Array; -} -/** Multi is the signature data for a multisig public key */ -export interface SignatureDescriptor_Data_MultiAmino { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArrayAmino; - /** signatures is the signatures of the multi-signature */ - signatures: SignatureDescriptor_DataAmino[]; -} -export interface SignatureDescriptor_Data_MultiAminoMsg { - type: "cosmos-sdk/Multi"; - value: SignatureDescriptor_Data_MultiAmino; -} -/** Multi is the signature data for a multisig public key */ -export interface SignatureDescriptor_Data_MultiSDKType { - bitarray: CompactBitArraySDKType; - signatures: SignatureDescriptor_DataSDKType[]; -} -function createBaseSignatureDescriptors(): SignatureDescriptors { - return { - signatures: [] - }; -} -export const SignatureDescriptors = { - typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptors", - aminoType: "cosmos-sdk/SignatureDescriptors", - encode(message: SignatureDescriptors, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.signatures) { - SignatureDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptors { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureDescriptors(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.signatures.push(SignatureDescriptor.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SignatureDescriptors { - const obj = createBaseSignatureDescriptors(); - if (Array.isArray(object?.signatures)) obj.signatures = object.signatures.map((e: any) => SignatureDescriptor.fromJSON(e)); - return obj; - }, - toJSON(message: SignatureDescriptors): unknown { - const obj: any = {}; - if (message.signatures) { - obj.signatures = message.signatures.map(e => e ? SignatureDescriptor.toJSON(e) : undefined); - } else { - obj.signatures = []; - } - return obj; - }, - fromPartial(object: DeepPartial): SignatureDescriptors { - const message = createBaseSignatureDescriptors(); - message.signatures = object.signatures?.map(e => SignatureDescriptor.fromPartial(e)) || []; - return message; - }, - fromSDK(object: SignatureDescriptorsSDKType): SignatureDescriptors { - return { - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => SignatureDescriptor.fromSDK(e)) : [] - }; - }, - toSDK(message: SignatureDescriptors): SignatureDescriptorsSDKType { - const obj: any = {}; - if (message.signatures) { - obj.signatures = message.signatures.map(e => e ? SignatureDescriptor.toSDK(e) : undefined); - } else { - obj.signatures = []; - } - return obj; - }, - fromAmino(object: SignatureDescriptorsAmino): SignatureDescriptors { - return { - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => SignatureDescriptor.fromAmino(e)) : [] - }; - }, - toAmino(message: SignatureDescriptors): SignatureDescriptorsAmino { - const obj: any = {}; - if (message.signatures) { - obj.signatures = message.signatures.map(e => e ? SignatureDescriptor.toAmino(e) : undefined); - } else { - obj.signatures = []; - } - return obj; - }, - fromAminoMsg(object: SignatureDescriptorsAminoMsg): SignatureDescriptors { - return SignatureDescriptors.fromAmino(object.value); - }, - toAminoMsg(message: SignatureDescriptors): SignatureDescriptorsAminoMsg { - return { - type: "cosmos-sdk/SignatureDescriptors", - value: SignatureDescriptors.toAmino(message) - }; - }, - fromProtoMsg(message: SignatureDescriptorsProtoMsg): SignatureDescriptors { - return SignatureDescriptors.decode(message.value); - }, - toProto(message: SignatureDescriptors): Uint8Array { - return SignatureDescriptors.encode(message).finish(); - }, - toProtoMsg(message: SignatureDescriptors): SignatureDescriptorsProtoMsg { - return { - typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptors", - value: SignatureDescriptors.encode(message).finish() - }; - } -}; -function createBaseSignatureDescriptor(): SignatureDescriptor { - return { - publicKey: Any.fromPartial({}), - data: SignatureDescriptor_Data.fromPartial({}), - sequence: Long.UZERO - }; -} -export const SignatureDescriptor = { - typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptor", - aminoType: "cosmos-sdk/SignatureDescriptor", - encode(message: SignatureDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.publicKey !== undefined) { - Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); - } - if (message.data !== undefined) { - SignatureDescriptor_Data.encode(message.data, writer.uint32(18).fork()).ldelim(); - } - if (!message.sequence.isZero()) { - writer.uint32(24).uint64(message.sequence); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.publicKey = Any.decode(reader, reader.uint32()); - break; - case 2: - message.data = SignatureDescriptor_Data.decode(reader, reader.uint32()); - break; - case 3: - message.sequence = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SignatureDescriptor { - const obj = createBaseSignatureDescriptor(); - if (isSet(object.publicKey)) obj.publicKey = Any.fromJSON(object.publicKey); - if (isSet(object.data)) obj.data = SignatureDescriptor_Data.fromJSON(object.data); - if (isSet(object.sequence)) obj.sequence = Long.fromValue(object.sequence); - return obj; - }, - toJSON(message: SignatureDescriptor): unknown { - const obj: any = {}; - message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); - message.data !== undefined && (obj.data = message.data ? SignatureDescriptor_Data.toJSON(message.data) : undefined); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): SignatureDescriptor { - const message = createBaseSignatureDescriptor(); - if (object.publicKey !== undefined && object.publicKey !== null) { - message.publicKey = Any.fromPartial(object.publicKey); - } - if (object.data !== undefined && object.data !== null) { - message.data = SignatureDescriptor_Data.fromPartial(object.data); - } - if (object.sequence !== undefined && object.sequence !== null) { - message.sequence = Long.fromValue(object.sequence); - } - return message; - }, - fromSDK(object: SignatureDescriptorSDKType): SignatureDescriptor { - return { - publicKey: object.public_key ? Any.fromSDK(object.public_key) : undefined, - data: object.data ? SignatureDescriptor_Data.fromSDK(object.data) : undefined, - sequence: object?.sequence - }; - }, - toSDK(message: SignatureDescriptor): SignatureDescriptorSDKType { - const obj: any = {}; - message.publicKey !== undefined && (obj.public_key = message.publicKey ? Any.toSDK(message.publicKey) : undefined); - message.data !== undefined && (obj.data = message.data ? SignatureDescriptor_Data.toSDK(message.data) : undefined); - obj.sequence = message.sequence; - return obj; - }, - fromAmino(object: SignatureDescriptorAmino): SignatureDescriptor { - return { - publicKey: object?.public_key ? Any.fromAmino(object.public_key) : undefined, - data: object?.data ? SignatureDescriptor_Data.fromAmino(object.data) : undefined, - sequence: Long.fromString(object.sequence) - }; - }, - toAmino(message: SignatureDescriptor): SignatureDescriptorAmino { - const obj: any = {}; - obj.public_key = message.publicKey ? Any.toAmino(message.publicKey) : undefined; - obj.data = message.data ? SignatureDescriptor_Data.toAmino(message.data) : undefined; - obj.sequence = message.sequence ? message.sequence.toString() : undefined; - return obj; - }, - fromAminoMsg(object: SignatureDescriptorAminoMsg): SignatureDescriptor { - return SignatureDescriptor.fromAmino(object.value); - }, - toAminoMsg(message: SignatureDescriptor): SignatureDescriptorAminoMsg { - return { - type: "cosmos-sdk/SignatureDescriptor", - value: SignatureDescriptor.toAmino(message) - }; - }, - fromProtoMsg(message: SignatureDescriptorProtoMsg): SignatureDescriptor { - return SignatureDescriptor.decode(message.value); - }, - toProto(message: SignatureDescriptor): Uint8Array { - return SignatureDescriptor.encode(message).finish(); - }, - toProtoMsg(message: SignatureDescriptor): SignatureDescriptorProtoMsg { - return { - typeUrl: "/cosmos.tx.signing.v1beta1.SignatureDescriptor", - value: SignatureDescriptor.encode(message).finish() - }; - } -}; -function createBaseSignatureDescriptor_Data(): SignatureDescriptor_Data { - return { - single: undefined, - multi: undefined - }; -} -export const SignatureDescriptor_Data = { - typeUrl: "/cosmos.tx.signing.v1beta1.Data", - aminoType: "cosmos-sdk/Data", - encode(message: SignatureDescriptor_Data, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.single !== undefined) { - SignatureDescriptor_Data_Single.encode(message.single, writer.uint32(10).fork()).ldelim(); - } - if (message.multi !== undefined) { - SignatureDescriptor_Data_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureDescriptor_Data(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.single = SignatureDescriptor_Data_Single.decode(reader, reader.uint32()); - break; - case 2: - message.multi = SignatureDescriptor_Data_Multi.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SignatureDescriptor_Data { - const obj = createBaseSignatureDescriptor_Data(); - if (isSet(object.single)) obj.single = SignatureDescriptor_Data_Single.fromJSON(object.single); - if (isSet(object.multi)) obj.multi = SignatureDescriptor_Data_Multi.fromJSON(object.multi); - return obj; - }, - toJSON(message: SignatureDescriptor_Data): unknown { - const obj: any = {}; - message.single !== undefined && (obj.single = message.single ? SignatureDescriptor_Data_Single.toJSON(message.single) : undefined); - message.multi !== undefined && (obj.multi = message.multi ? SignatureDescriptor_Data_Multi.toJSON(message.multi) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): SignatureDescriptor_Data { - const message = createBaseSignatureDescriptor_Data(); - if (object.single !== undefined && object.single !== null) { - message.single = SignatureDescriptor_Data_Single.fromPartial(object.single); - } - if (object.multi !== undefined && object.multi !== null) { - message.multi = SignatureDescriptor_Data_Multi.fromPartial(object.multi); - } - return message; - }, - fromSDK(object: SignatureDescriptor_DataSDKType): SignatureDescriptor_Data { - return { - single: object.single ? SignatureDescriptor_Data_Single.fromSDK(object.single) : undefined, - multi: object.multi ? SignatureDescriptor_Data_Multi.fromSDK(object.multi) : undefined - }; - }, - toSDK(message: SignatureDescriptor_Data): SignatureDescriptor_DataSDKType { - const obj: any = {}; - message.single !== undefined && (obj.single = message.single ? SignatureDescriptor_Data_Single.toSDK(message.single) : undefined); - message.multi !== undefined && (obj.multi = message.multi ? SignatureDescriptor_Data_Multi.toSDK(message.multi) : undefined); - return obj; - }, - fromAmino(object: SignatureDescriptor_DataAmino): SignatureDescriptor_Data { - return { - single: object?.single ? SignatureDescriptor_Data_Single.fromAmino(object.single) : undefined, - multi: object?.multi ? SignatureDescriptor_Data_Multi.fromAmino(object.multi) : undefined - }; - }, - toAmino(message: SignatureDescriptor_Data): SignatureDescriptor_DataAmino { - const obj: any = {}; - obj.single = message.single ? SignatureDescriptor_Data_Single.toAmino(message.single) : undefined; - obj.multi = message.multi ? SignatureDescriptor_Data_Multi.toAmino(message.multi) : undefined; - return obj; - }, - fromAminoMsg(object: SignatureDescriptor_DataAminoMsg): SignatureDescriptor_Data { - return SignatureDescriptor_Data.fromAmino(object.value); - }, - toAminoMsg(message: SignatureDescriptor_Data): SignatureDescriptor_DataAminoMsg { - return { - type: "cosmos-sdk/Data", - value: SignatureDescriptor_Data.toAmino(message) - }; - }, - fromProtoMsg(message: SignatureDescriptor_DataProtoMsg): SignatureDescriptor_Data { - return SignatureDescriptor_Data.decode(message.value); - }, - toProto(message: SignatureDescriptor_Data): Uint8Array { - return SignatureDescriptor_Data.encode(message).finish(); - }, - toProtoMsg(message: SignatureDescriptor_Data): SignatureDescriptor_DataProtoMsg { - return { - typeUrl: "/cosmos.tx.signing.v1beta1.Data", - value: SignatureDescriptor_Data.encode(message).finish() - }; - } -}; -function createBaseSignatureDescriptor_Data_Single(): SignatureDescriptor_Data_Single { - return { - mode: 0, - signature: new Uint8Array() - }; -} -export const SignatureDescriptor_Data_Single = { - typeUrl: "/cosmos.tx.signing.v1beta1.Single", - aminoType: "cosmos-sdk/Single", - encode(message: SignatureDescriptor_Data_Single, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.mode !== 0) { - writer.uint32(8).int32(message.mode); - } - if (message.signature.length !== 0) { - writer.uint32(18).bytes(message.signature); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Single { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureDescriptor_Data_Single(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.mode = (reader.int32() as any); - break; - case 2: - message.signature = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SignatureDescriptor_Data_Single { - const obj = createBaseSignatureDescriptor_Data_Single(); - if (isSet(object.mode)) obj.mode = signModeFromJSON(object.mode); - if (isSet(object.signature)) obj.signature = bytesFromBase64(object.signature); - return obj; - }, - toJSON(message: SignatureDescriptor_Data_Single): unknown { - const obj: any = {}; - message.mode !== undefined && (obj.mode = signModeToJSON(message.mode)); - message.signature !== undefined && (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): SignatureDescriptor_Data_Single { - const message = createBaseSignatureDescriptor_Data_Single(); - message.mode = object.mode ?? 0; - message.signature = object.signature ?? new Uint8Array(); - return message; - }, - fromSDK(object: SignatureDescriptor_Data_SingleSDKType): SignatureDescriptor_Data_Single { - return { - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : -1, - signature: object?.signature - }; - }, - toSDK(message: SignatureDescriptor_Data_Single): SignatureDescriptor_Data_SingleSDKType { - const obj: any = {}; - message.mode !== undefined && (obj.mode = signModeToJSON(message.mode)); - obj.signature = message.signature; - return obj; - }, - fromAmino(object: SignatureDescriptor_Data_SingleAmino): SignatureDescriptor_Data_Single { - return { - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : -1, - signature: object.signature - }; - }, - toAmino(message: SignatureDescriptor_Data_Single): SignatureDescriptor_Data_SingleAmino { - const obj: any = {}; - obj.mode = message.mode; - obj.signature = message.signature; - return obj; - }, - fromAminoMsg(object: SignatureDescriptor_Data_SingleAminoMsg): SignatureDescriptor_Data_Single { - return SignatureDescriptor_Data_Single.fromAmino(object.value); - }, - toAminoMsg(message: SignatureDescriptor_Data_Single): SignatureDescriptor_Data_SingleAminoMsg { - return { - type: "cosmos-sdk/Single", - value: SignatureDescriptor_Data_Single.toAmino(message) - }; - }, - fromProtoMsg(message: SignatureDescriptor_Data_SingleProtoMsg): SignatureDescriptor_Data_Single { - return SignatureDescriptor_Data_Single.decode(message.value); - }, - toProto(message: SignatureDescriptor_Data_Single): Uint8Array { - return SignatureDescriptor_Data_Single.encode(message).finish(); - }, - toProtoMsg(message: SignatureDescriptor_Data_Single): SignatureDescriptor_Data_SingleProtoMsg { - return { - typeUrl: "/cosmos.tx.signing.v1beta1.Single", - value: SignatureDescriptor_Data_Single.encode(message).finish() - }; - } -}; -function createBaseSignatureDescriptor_Data_Multi(): SignatureDescriptor_Data_Multi { - return { - bitarray: CompactBitArray.fromPartial({}), - signatures: [] - }; -} -export const SignatureDescriptor_Data_Multi = { - typeUrl: "/cosmos.tx.signing.v1beta1.Multi", - aminoType: "cosmos-sdk/Multi", - encode(message: SignatureDescriptor_Data_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bitarray !== undefined) { - CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.signatures) { - SignatureDescriptor_Data.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Multi { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignatureDescriptor_Data_Multi(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.bitarray = CompactBitArray.decode(reader, reader.uint32()); - break; - case 2: - message.signatures.push(SignatureDescriptor_Data.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SignatureDescriptor_Data_Multi { - const obj = createBaseSignatureDescriptor_Data_Multi(); - if (isSet(object.bitarray)) obj.bitarray = CompactBitArray.fromJSON(object.bitarray); - if (Array.isArray(object?.signatures)) obj.signatures = object.signatures.map((e: any) => SignatureDescriptor_Data.fromJSON(e)); - return obj; - }, - toJSON(message: SignatureDescriptor_Data_Multi): unknown { - const obj: any = {}; - message.bitarray !== undefined && (obj.bitarray = message.bitarray ? CompactBitArray.toJSON(message.bitarray) : undefined); - if (message.signatures) { - obj.signatures = message.signatures.map(e => e ? SignatureDescriptor_Data.toJSON(e) : undefined); - } else { - obj.signatures = []; - } - return obj; - }, - fromPartial(object: DeepPartial): SignatureDescriptor_Data_Multi { - const message = createBaseSignatureDescriptor_Data_Multi(); - if (object.bitarray !== undefined && object.bitarray !== null) { - message.bitarray = CompactBitArray.fromPartial(object.bitarray); - } - message.signatures = object.signatures?.map(e => SignatureDescriptor_Data.fromPartial(e)) || []; - return message; - }, - fromSDK(object: SignatureDescriptor_Data_MultiSDKType): SignatureDescriptor_Data_Multi { - return { - bitarray: object.bitarray ? CompactBitArray.fromSDK(object.bitarray) : undefined, - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => SignatureDescriptor_Data.fromSDK(e)) : [] - }; - }, - toSDK(message: SignatureDescriptor_Data_Multi): SignatureDescriptor_Data_MultiSDKType { - const obj: any = {}; - message.bitarray !== undefined && (obj.bitarray = message.bitarray ? CompactBitArray.toSDK(message.bitarray) : undefined); - if (message.signatures) { - obj.signatures = message.signatures.map(e => e ? SignatureDescriptor_Data.toSDK(e) : undefined); - } else { - obj.signatures = []; - } - return obj; - }, - fromAmino(object: SignatureDescriptor_Data_MultiAmino): SignatureDescriptor_Data_Multi { - return { - bitarray: object?.bitarray ? CompactBitArray.fromAmino(object.bitarray) : undefined, - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => SignatureDescriptor_Data.fromAmino(e)) : [] - }; - }, - toAmino(message: SignatureDescriptor_Data_Multi): SignatureDescriptor_Data_MultiAmino { - const obj: any = {}; - obj.bitarray = message.bitarray ? CompactBitArray.toAmino(message.bitarray) : undefined; - if (message.signatures) { - obj.signatures = message.signatures.map(e => e ? SignatureDescriptor_Data.toAmino(e) : undefined); - } else { - obj.signatures = []; - } - return obj; - }, - fromAminoMsg(object: SignatureDescriptor_Data_MultiAminoMsg): SignatureDescriptor_Data_Multi { - return SignatureDescriptor_Data_Multi.fromAmino(object.value); - }, - toAminoMsg(message: SignatureDescriptor_Data_Multi): SignatureDescriptor_Data_MultiAminoMsg { - return { - type: "cosmos-sdk/Multi", - value: SignatureDescriptor_Data_Multi.toAmino(message) - }; - }, - fromProtoMsg(message: SignatureDescriptor_Data_MultiProtoMsg): SignatureDescriptor_Data_Multi { - return SignatureDescriptor_Data_Multi.decode(message.value); - }, - toProto(message: SignatureDescriptor_Data_Multi): Uint8Array { - return SignatureDescriptor_Data_Multi.encode(message).finish(); - }, - toProtoMsg(message: SignatureDescriptor_Data_Multi): SignatureDescriptor_Data_MultiProtoMsg { - return { - typeUrl: "/cosmos.tx.signing.v1beta1.Multi", - value: SignatureDescriptor_Data_Multi.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.lcd.ts b/quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.lcd.ts deleted file mode 100644 index 92d35bc2b..000000000 --- a/quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Tx, TxSDKType } from "./tx"; -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { TxResponse, TxResponseSDKType, GasInfo, GasInfoSDKType, Result, ResultSDKType } from "../../base/abci/v1beta1/abci"; -import { BlockID, BlockIDSDKType } from "../../../tendermint/types/types"; -import { Block, BlockSDKType } from "../../../tendermint/types/block"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { SimulateRequest, SimulateRequestSDKType, SimulateResponse, SimulateResponseSDKType, GetTxRequest, GetTxRequestSDKType, GetTxResponse, GetTxResponseSDKType, BroadcastTxRequest, BroadcastTxRequestSDKType, BroadcastTxResponse, BroadcastTxResponseSDKType, GetTxsEventRequest, GetTxsEventRequestSDKType, GetTxsEventResponse, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsRequestSDKType, GetBlockWithTxsResponse, GetBlockWithTxsResponseSDKType } from "./service"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.getTx = this.getTx.bind(this); - this.getTxsEvent = this.getTxsEvent.bind(this); - this.getBlockWithTxs = this.getBlockWithTxs.bind(this); - } - /* GetTx fetches a tx by hash. */ - async getTx(params: GetTxRequest): Promise { - const endpoint = `cosmos/tx/v1beta1/txs/${params.hash}`; - return await this.req.get(endpoint); - } - /* GetTxsEvent fetches txs by event. */ - async getTxsEvent(params: GetTxsEventRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.events !== "undefined") { - options.params.events = params.events; - } - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - if (typeof params?.orderBy !== "undefined") { - options.params.order_by = params.orderBy; - } - const endpoint = `cosmos/tx/v1beta1/txs`; - return await this.req.get(endpoint, options); - } - /* GetBlockWithTxs fetches a block with decoded txs. - - Since: cosmos-sdk 0.45.2 */ - async getBlockWithTxs(params: GetBlockWithTxsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmos/tx/v1beta1/txs/block/${params.height}`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts b/quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts deleted file mode 100644 index 0a5536abd..000000000 --- a/quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { Tx, TxSDKType } from "./tx"; -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { TxResponse, TxResponseSDKType, GasInfo, GasInfoSDKType, Result, ResultSDKType } from "../../base/abci/v1beta1/abci"; -import { BlockID, BlockIDSDKType } from "../../../tendermint/types/types"; -import { Block, BlockSDKType } from "../../../tendermint/types/block"; -import * as fm from "../../../grpc-gateway"; -import { SimulateRequest, SimulateRequestSDKType, SimulateResponse, SimulateResponseSDKType, GetTxRequest, GetTxRequestSDKType, GetTxResponse, GetTxResponseSDKType, BroadcastTxRequest, BroadcastTxRequestSDKType, BroadcastTxResponse, BroadcastTxResponseSDKType, GetTxsEventRequest, GetTxsEventRequestSDKType, GetTxsEventResponse, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsRequestSDKType, GetBlockWithTxsResponse, GetBlockWithTxsResponseSDKType } from "./service"; -export class Service { - /** Simulate simulates executing a transaction for estimating gas usage. */ - static simulate(request: SimulateRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/tx/v1beta1/simulate`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** GetTx fetches a tx by hash. */ - static getTx(request: GetTxRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/tx/v1beta1/txs/${request["hash"]}?${fm.renderURLSearchParams({ - ...request - }, ["hash"])}`, { - ...initRequest, - method: "GET" - }); - } - /** BroadcastTx broadcast transaction. */ - static broadcastTx(request: BroadcastTxRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/tx/v1beta1/txs`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** GetTxsEvent fetches txs by event. */ - static getTxsEvent(request: GetTxsEventRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/tx/v1beta1/txs?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * GetBlockWithTxs fetches a block with decoded txs. - * - * Since: cosmos-sdk 0.45.2 - */ - static getBlockWithTxs(request: GetBlockWithTxsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/tx/v1beta1/txs/block/${request["height"]}?${fm.renderURLSearchParams({ - ...request - }, ["height"])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class ServiceClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** Simulate simulates executing a transaction for estimating gas usage. */ - async simulate(req: SimulateRequest, headers?: HeadersInit): Promise { - return Service.simulate(req, { - headers, - pathPrefix: this.url - }); - } - /** GetTx fetches a tx by hash. */ - async getTx(req: GetTxRequest, headers?: HeadersInit): Promise { - return Service.getTx(req, { - headers, - pathPrefix: this.url - }); - } - /** BroadcastTx broadcast transaction. */ - async broadcastTx(req: BroadcastTxRequest, headers?: HeadersInit): Promise { - return Service.broadcastTx(req, { - headers, - pathPrefix: this.url - }); - } - /** GetTxsEvent fetches txs by event. */ - async getTxsEvent(req: GetTxsEventRequest, headers?: HeadersInit): Promise { - return Service.getTxsEvent(req, { - headers, - pathPrefix: this.url - }); - } - /** - * GetBlockWithTxs fetches a block with decoded txs. - * - * Since: cosmos-sdk 0.45.2 - */ - async getBlockWithTxs(req: GetBlockWithTxsRequest, headers?: HeadersInit): Promise { - return Service.getBlockWithTxs(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.ts b/quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.ts deleted file mode 100644 index 21f81fa7d..000000000 --- a/quicksilverjs/src/codegen/cosmos/tx/v1beta1/service.ts +++ /dev/null @@ -1,1609 +0,0 @@ -import { Tx, TxAmino, TxSDKType } from "./tx"; -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { TxResponse, TxResponseAmino, TxResponseSDKType, GasInfo, GasInfoAmino, GasInfoSDKType, Result, ResultAmino, ResultSDKType } from "../../base/abci/v1beta1/abci"; -import { BlockID, BlockIDAmino, BlockIDSDKType } from "../../../tendermint/types/types"; -import { Block, BlockAmino, BlockSDKType } from "../../../tendermint/types/block"; -import { Long, isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.tx.v1beta1"; -/** OrderBy defines the sorting order */ -export enum OrderBy { - /** ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. */ - ORDER_BY_UNSPECIFIED = 0, - /** ORDER_BY_ASC - ORDER_BY_ASC defines ascending order */ - ORDER_BY_ASC = 1, - /** ORDER_BY_DESC - ORDER_BY_DESC defines descending order */ - ORDER_BY_DESC = 2, - UNRECOGNIZED = -1, -} -export const OrderBySDKType = OrderBy; -export const OrderByAmino = OrderBy; -export function orderByFromJSON(object: any): OrderBy { - switch (object) { - case 0: - case "ORDER_BY_UNSPECIFIED": - return OrderBy.ORDER_BY_UNSPECIFIED; - case 1: - case "ORDER_BY_ASC": - return OrderBy.ORDER_BY_ASC; - case 2: - case "ORDER_BY_DESC": - return OrderBy.ORDER_BY_DESC; - case -1: - case "UNRECOGNIZED": - default: - return OrderBy.UNRECOGNIZED; - } -} -export function orderByToJSON(object: OrderBy): string { - switch (object) { - case OrderBy.ORDER_BY_UNSPECIFIED: - return "ORDER_BY_UNSPECIFIED"; - case OrderBy.ORDER_BY_ASC: - return "ORDER_BY_ASC"; - case OrderBy.ORDER_BY_DESC: - return "ORDER_BY_DESC"; - case OrderBy.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ -export enum BroadcastMode { - /** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */ - BROADCAST_MODE_UNSPECIFIED = 0, - /** - * BROADCAST_MODE_BLOCK - BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for - * the tx to be committed in a block. - */ - BROADCAST_MODE_BLOCK = 1, - /** - * BROADCAST_MODE_SYNC - BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for - * a CheckTx execution response only. - */ - BROADCAST_MODE_SYNC = 2, - /** - * BROADCAST_MODE_ASYNC - BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns - * immediately. - */ - BROADCAST_MODE_ASYNC = 3, - UNRECOGNIZED = -1, -} -export const BroadcastModeSDKType = BroadcastMode; -export const BroadcastModeAmino = BroadcastMode; -export function broadcastModeFromJSON(object: any): BroadcastMode { - switch (object) { - case 0: - case "BROADCAST_MODE_UNSPECIFIED": - return BroadcastMode.BROADCAST_MODE_UNSPECIFIED; - case 1: - case "BROADCAST_MODE_BLOCK": - return BroadcastMode.BROADCAST_MODE_BLOCK; - case 2: - case "BROADCAST_MODE_SYNC": - return BroadcastMode.BROADCAST_MODE_SYNC; - case 3: - case "BROADCAST_MODE_ASYNC": - return BroadcastMode.BROADCAST_MODE_ASYNC; - case -1: - case "UNRECOGNIZED": - default: - return BroadcastMode.UNRECOGNIZED; - } -} -export function broadcastModeToJSON(object: BroadcastMode): string { - switch (object) { - case BroadcastMode.BROADCAST_MODE_UNSPECIFIED: - return "BROADCAST_MODE_UNSPECIFIED"; - case BroadcastMode.BROADCAST_MODE_BLOCK: - return "BROADCAST_MODE_BLOCK"; - case BroadcastMode.BROADCAST_MODE_SYNC: - return "BROADCAST_MODE_SYNC"; - case BroadcastMode.BROADCAST_MODE_ASYNC: - return "BROADCAST_MODE_ASYNC"; - case BroadcastMode.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventRequest { - /** events is the list of transaction event type. */ - events: string[]; - /** pagination defines a pagination for the request. */ - pagination: PageRequest; - orderBy: OrderBy; -} -export interface GetTxsEventRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxsEventRequest"; - value: Uint8Array; -} -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventRequestAmino { - /** events is the list of transaction event type. */ - events: string[]; - /** pagination defines a pagination for the request. */ - pagination?: PageRequestAmino; - order_by: OrderBy; -} -export interface GetTxsEventRequestAminoMsg { - type: "cosmos-sdk/GetTxsEventRequest"; - value: GetTxsEventRequestAmino; -} -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventRequestSDKType { - events: string[]; - pagination: PageRequestSDKType; - order_by: OrderBy; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventResponse { - /** txs is the list of queried transactions. */ - txs: Tx[]; - /** tx_responses is the list of queried TxResponses. */ - txResponses: TxResponse[]; - /** pagination defines a pagination for the response. */ - pagination: PageResponse; -} -export interface GetTxsEventResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxsEventResponse"; - value: Uint8Array; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventResponseAmino { - /** txs is the list of queried transactions. */ - txs: TxAmino[]; - /** tx_responses is the list of queried TxResponses. */ - tx_responses: TxResponseAmino[]; - /** pagination defines a pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface GetTxsEventResponseAminoMsg { - type: "cosmos-sdk/GetTxsEventResponse"; - value: GetTxsEventResponseAmino; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventResponseSDKType { - txs: TxSDKType[]; - tx_responses: TxResponseSDKType[]; - pagination: PageResponseSDKType; -} -/** - * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - * RPC method. - */ -export interface BroadcastTxRequest { - /** tx_bytes is the raw transaction. */ - txBytes: Uint8Array; - mode: BroadcastMode; -} -export interface BroadcastTxRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.BroadcastTxRequest"; - value: Uint8Array; -} -/** - * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - * RPC method. - */ -export interface BroadcastTxRequestAmino { - /** tx_bytes is the raw transaction. */ - tx_bytes: Uint8Array; - mode: BroadcastMode; -} -export interface BroadcastTxRequestAminoMsg { - type: "cosmos-sdk/BroadcastTxRequest"; - value: BroadcastTxRequestAmino; -} -/** - * BroadcastTxRequest is the request type for the Service.BroadcastTxRequest - * RPC method. - */ -export interface BroadcastTxRequestSDKType { - tx_bytes: Uint8Array; - mode: BroadcastMode; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ -export interface BroadcastTxResponse { - /** tx_response is the queried TxResponses. */ - txResponse: TxResponse; -} -export interface BroadcastTxResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.BroadcastTxResponse"; - value: Uint8Array; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ -export interface BroadcastTxResponseAmino { - /** tx_response is the queried TxResponses. */ - tx_response?: TxResponseAmino; -} -export interface BroadcastTxResponseAminoMsg { - type: "cosmos-sdk/BroadcastTxResponse"; - value: BroadcastTxResponseAmino; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ -export interface BroadcastTxResponseSDKType { - tx_response: TxResponseSDKType; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ -export interface SimulateRequest { - /** - * tx is the transaction to simulate. - * Deprecated. Send raw tx bytes instead. - */ - /** @deprecated */ - tx: Tx; - /** - * tx_bytes is the raw transaction. - * - * Since: cosmos-sdk 0.43 - */ - txBytes: Uint8Array; -} -export interface SimulateRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SimulateRequest"; - value: Uint8Array; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ -export interface SimulateRequestAmino { - /** - * tx is the transaction to simulate. - * Deprecated. Send raw tx bytes instead. - */ - /** @deprecated */ - tx?: TxAmino; - /** - * tx_bytes is the raw transaction. - * - * Since: cosmos-sdk 0.43 - */ - tx_bytes: Uint8Array; -} -export interface SimulateRequestAminoMsg { - type: "cosmos-sdk/SimulateRequest"; - value: SimulateRequestAmino; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ -export interface SimulateRequestSDKType { - /** @deprecated */ - tx: TxSDKType; - tx_bytes: Uint8Array; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ -export interface SimulateResponse { - /** gas_info is the information about gas used in the simulation. */ - gasInfo: GasInfo; - /** result is the result of the simulation. */ - result: Result; -} -export interface SimulateResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SimulateResponse"; - value: Uint8Array; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ -export interface SimulateResponseAmino { - /** gas_info is the information about gas used in the simulation. */ - gas_info?: GasInfoAmino; - /** result is the result of the simulation. */ - result?: ResultAmino; -} -export interface SimulateResponseAminoMsg { - type: "cosmos-sdk/SimulateResponse"; - value: SimulateResponseAmino; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ -export interface SimulateResponseSDKType { - gas_info: GasInfoSDKType; - result: ResultSDKType; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ -export interface GetTxRequest { - /** hash is the tx hash to query, encoded as a hex string. */ - hash: string; -} -export interface GetTxRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxRequest"; - value: Uint8Array; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ -export interface GetTxRequestAmino { - /** hash is the tx hash to query, encoded as a hex string. */ - hash: string; -} -export interface GetTxRequestAminoMsg { - type: "cosmos-sdk/GetTxRequest"; - value: GetTxRequestAmino; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ -export interface GetTxRequestSDKType { - hash: string; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ -export interface GetTxResponse { - /** tx is the queried transaction. */ - tx: Tx; - /** tx_response is the queried TxResponses. */ - txResponse: TxResponse; -} -export interface GetTxResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetTxResponse"; - value: Uint8Array; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ -export interface GetTxResponseAmino { - /** tx is the queried transaction. */ - tx?: TxAmino; - /** tx_response is the queried TxResponses. */ - tx_response?: TxResponseAmino; -} -export interface GetTxResponseAminoMsg { - type: "cosmos-sdk/GetTxResponse"; - value: GetTxResponseAmino; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ -export interface GetTxResponseSDKType { - tx: TxSDKType; - tx_response: TxResponseSDKType; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsRequest { - /** height is the height of the block to query. */ - height: Long; - /** pagination defines a pagination for the request. */ - pagination: PageRequest; -} -export interface GetBlockWithTxsRequestProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsRequest"; - value: Uint8Array; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsRequestAmino { - /** height is the height of the block to query. */ - height: string; - /** pagination defines a pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface GetBlockWithTxsRequestAminoMsg { - type: "cosmos-sdk/GetBlockWithTxsRequest"; - value: GetBlockWithTxsRequestAmino; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsRequestSDKType { - height: Long; - pagination: PageRequestSDKType; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsResponse { - /** txs are the transactions in the block. */ - txs: Tx[]; - blockId: BlockID; - block: Block; - /** pagination defines a pagination for the response. */ - pagination: PageResponse; -} -export interface GetBlockWithTxsResponseProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsResponse"; - value: Uint8Array; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsResponseAmino { - /** txs are the transactions in the block. */ - txs: TxAmino[]; - block_id?: BlockIDAmino; - block?: BlockAmino; - /** pagination defines a pagination for the response. */ - pagination?: PageResponseAmino; -} -export interface GetBlockWithTxsResponseAminoMsg { - type: "cosmos-sdk/GetBlockWithTxsResponse"; - value: GetBlockWithTxsResponseAmino; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsResponseSDKType { - txs: TxSDKType[]; - block_id: BlockIDSDKType; - block: BlockSDKType; - pagination: PageResponseSDKType; -} -function createBaseGetTxsEventRequest(): GetTxsEventRequest { - return { - events: [], - pagination: PageRequest.fromPartial({}), - orderBy: 0 - }; -} -export const GetTxsEventRequest = { - typeUrl: "/cosmos.tx.v1beta1.GetTxsEventRequest", - aminoType: "cosmos-sdk/GetTxsEventRequest", - encode(message: GetTxsEventRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.events) { - writer.uint32(10).string(v!); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - if (message.orderBy !== 0) { - writer.uint32(24).int32(message.orderBy); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxsEventRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.events.push(reader.string()); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - case 3: - message.orderBy = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetTxsEventRequest { - const obj = createBaseGetTxsEventRequest(); - if (Array.isArray(object?.events)) obj.events = object.events.map((e: any) => String(e)); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - if (isSet(object.orderBy)) obj.orderBy = orderByFromJSON(object.orderBy); - return obj; - }, - toJSON(message: GetTxsEventRequest): unknown { - const obj: any = {}; - if (message.events) { - obj.events = message.events.map(e => e); - } else { - obj.events = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - message.orderBy !== undefined && (obj.orderBy = orderByToJSON(message.orderBy)); - return obj; - }, - fromPartial(object: DeepPartial): GetTxsEventRequest { - const message = createBaseGetTxsEventRequest(); - message.events = object.events?.map(e => e) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - message.orderBy = object.orderBy ?? 0; - return message; - }, - fromSDK(object: GetTxsEventRequestSDKType): GetTxsEventRequest { - return { - events: Array.isArray(object?.events) ? object.events.map((e: any) => e) : [], - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined, - orderBy: isSet(object.order_by) ? orderByFromJSON(object.order_by) : -1 - }; - }, - toSDK(message: GetTxsEventRequest): GetTxsEventRequestSDKType { - const obj: any = {}; - if (message.events) { - obj.events = message.events.map(e => e); - } else { - obj.events = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - message.orderBy !== undefined && (obj.order_by = orderByToJSON(message.orderBy)); - return obj; - }, - fromAmino(object: GetTxsEventRequestAmino): GetTxsEventRequest { - return { - events: Array.isArray(object?.events) ? object.events.map((e: any) => e) : [], - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined, - orderBy: isSet(object.order_by) ? orderByFromJSON(object.order_by) : -1 - }; - }, - toAmino(message: GetTxsEventRequest): GetTxsEventRequestAmino { - const obj: any = {}; - if (message.events) { - obj.events = message.events.map(e => e); - } else { - obj.events = []; - } - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - obj.order_by = message.orderBy; - return obj; - }, - fromAminoMsg(object: GetTxsEventRequestAminoMsg): GetTxsEventRequest { - return GetTxsEventRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetTxsEventRequest): GetTxsEventRequestAminoMsg { - return { - type: "cosmos-sdk/GetTxsEventRequest", - value: GetTxsEventRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetTxsEventRequestProtoMsg): GetTxsEventRequest { - return GetTxsEventRequest.decode(message.value); - }, - toProto(message: GetTxsEventRequest): Uint8Array { - return GetTxsEventRequest.encode(message).finish(); - }, - toProtoMsg(message: GetTxsEventRequest): GetTxsEventRequestProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.GetTxsEventRequest", - value: GetTxsEventRequest.encode(message).finish() - }; - } -}; -function createBaseGetTxsEventResponse(): GetTxsEventResponse { - return { - txs: [], - txResponses: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const GetTxsEventResponse = { - typeUrl: "/cosmos.tx.v1beta1.GetTxsEventResponse", - aminoType: "cosmos-sdk/GetTxsEventResponse", - encode(message: GetTxsEventResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.txs) { - Tx.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.txResponses) { - TxResponse.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxsEventResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.txs.push(Tx.decode(reader, reader.uint32())); - break; - case 2: - message.txResponses.push(TxResponse.decode(reader, reader.uint32())); - break; - case 3: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetTxsEventResponse { - const obj = createBaseGetTxsEventResponse(); - if (Array.isArray(object?.txs)) obj.txs = object.txs.map((e: any) => Tx.fromJSON(e)); - if (Array.isArray(object?.txResponses)) obj.txResponses = object.txResponses.map((e: any) => TxResponse.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: GetTxsEventResponse): unknown { - const obj: any = {}; - if (message.txs) { - obj.txs = message.txs.map(e => e ? Tx.toJSON(e) : undefined); - } else { - obj.txs = []; - } - if (message.txResponses) { - obj.txResponses = message.txResponses.map(e => e ? TxResponse.toJSON(e) : undefined); - } else { - obj.txResponses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetTxsEventResponse { - const message = createBaseGetTxsEventResponse(); - message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; - message.txResponses = object.txResponses?.map(e => TxResponse.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: GetTxsEventResponseSDKType): GetTxsEventResponse { - return { - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => Tx.fromSDK(e)) : [], - txResponses: Array.isArray(object?.tx_responses) ? object.tx_responses.map((e: any) => TxResponse.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: GetTxsEventResponse): GetTxsEventResponseSDKType { - const obj: any = {}; - if (message.txs) { - obj.txs = message.txs.map(e => e ? Tx.toSDK(e) : undefined); - } else { - obj.txs = []; - } - if (message.txResponses) { - obj.tx_responses = message.txResponses.map(e => e ? TxResponse.toSDK(e) : undefined); - } else { - obj.tx_responses = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: GetTxsEventResponseAmino): GetTxsEventResponse { - return { - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => Tx.fromAmino(e)) : [], - txResponses: Array.isArray(object?.tx_responses) ? object.tx_responses.map((e: any) => TxResponse.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: GetTxsEventResponse): GetTxsEventResponseAmino { - const obj: any = {}; - if (message.txs) { - obj.txs = message.txs.map(e => e ? Tx.toAmino(e) : undefined); - } else { - obj.txs = []; - } - if (message.txResponses) { - obj.tx_responses = message.txResponses.map(e => e ? TxResponse.toAmino(e) : undefined); - } else { - obj.tx_responses = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: GetTxsEventResponseAminoMsg): GetTxsEventResponse { - return GetTxsEventResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetTxsEventResponse): GetTxsEventResponseAminoMsg { - return { - type: "cosmos-sdk/GetTxsEventResponse", - value: GetTxsEventResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetTxsEventResponseProtoMsg): GetTxsEventResponse { - return GetTxsEventResponse.decode(message.value); - }, - toProto(message: GetTxsEventResponse): Uint8Array { - return GetTxsEventResponse.encode(message).finish(); - }, - toProtoMsg(message: GetTxsEventResponse): GetTxsEventResponseProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.GetTxsEventResponse", - value: GetTxsEventResponse.encode(message).finish() - }; - } -}; -function createBaseBroadcastTxRequest(): BroadcastTxRequest { - return { - txBytes: new Uint8Array(), - mode: 0 - }; -} -export const BroadcastTxRequest = { - typeUrl: "/cosmos.tx.v1beta1.BroadcastTxRequest", - aminoType: "cosmos-sdk/BroadcastTxRequest", - encode(message: BroadcastTxRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.txBytes.length !== 0) { - writer.uint32(10).bytes(message.txBytes); - } - if (message.mode !== 0) { - writer.uint32(16).int32(message.mode); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBroadcastTxRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.txBytes = reader.bytes(); - break; - case 2: - message.mode = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BroadcastTxRequest { - const obj = createBaseBroadcastTxRequest(); - if (isSet(object.txBytes)) obj.txBytes = bytesFromBase64(object.txBytes); - if (isSet(object.mode)) obj.mode = broadcastModeFromJSON(object.mode); - return obj; - }, - toJSON(message: BroadcastTxRequest): unknown { - const obj: any = {}; - message.txBytes !== undefined && (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array())); - message.mode !== undefined && (obj.mode = broadcastModeToJSON(message.mode)); - return obj; - }, - fromPartial(object: DeepPartial): BroadcastTxRequest { - const message = createBaseBroadcastTxRequest(); - message.txBytes = object.txBytes ?? new Uint8Array(); - message.mode = object.mode ?? 0; - return message; - }, - fromSDK(object: BroadcastTxRequestSDKType): BroadcastTxRequest { - return { - txBytes: object?.tx_bytes, - mode: isSet(object.mode) ? broadcastModeFromJSON(object.mode) : -1 - }; - }, - toSDK(message: BroadcastTxRequest): BroadcastTxRequestSDKType { - const obj: any = {}; - obj.tx_bytes = message.txBytes; - message.mode !== undefined && (obj.mode = broadcastModeToJSON(message.mode)); - return obj; - }, - fromAmino(object: BroadcastTxRequestAmino): BroadcastTxRequest { - return { - txBytes: object.tx_bytes, - mode: isSet(object.mode) ? broadcastModeFromJSON(object.mode) : -1 - }; - }, - toAmino(message: BroadcastTxRequest): BroadcastTxRequestAmino { - const obj: any = {}; - obj.tx_bytes = message.txBytes; - obj.mode = message.mode; - return obj; - }, - fromAminoMsg(object: BroadcastTxRequestAminoMsg): BroadcastTxRequest { - return BroadcastTxRequest.fromAmino(object.value); - }, - toAminoMsg(message: BroadcastTxRequest): BroadcastTxRequestAminoMsg { - return { - type: "cosmos-sdk/BroadcastTxRequest", - value: BroadcastTxRequest.toAmino(message) - }; - }, - fromProtoMsg(message: BroadcastTxRequestProtoMsg): BroadcastTxRequest { - return BroadcastTxRequest.decode(message.value); - }, - toProto(message: BroadcastTxRequest): Uint8Array { - return BroadcastTxRequest.encode(message).finish(); - }, - toProtoMsg(message: BroadcastTxRequest): BroadcastTxRequestProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.BroadcastTxRequest", - value: BroadcastTxRequest.encode(message).finish() - }; - } -}; -function createBaseBroadcastTxResponse(): BroadcastTxResponse { - return { - txResponse: TxResponse.fromPartial({}) - }; -} -export const BroadcastTxResponse = { - typeUrl: "/cosmos.tx.v1beta1.BroadcastTxResponse", - aminoType: "cosmos-sdk/BroadcastTxResponse", - encode(message: BroadcastTxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.txResponse !== undefined) { - TxResponse.encode(message.txResponse, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBroadcastTxResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.txResponse = TxResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BroadcastTxResponse { - const obj = createBaseBroadcastTxResponse(); - if (isSet(object.txResponse)) obj.txResponse = TxResponse.fromJSON(object.txResponse); - return obj; - }, - toJSON(message: BroadcastTxResponse): unknown { - const obj: any = {}; - message.txResponse !== undefined && (obj.txResponse = message.txResponse ? TxResponse.toJSON(message.txResponse) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): BroadcastTxResponse { - const message = createBaseBroadcastTxResponse(); - if (object.txResponse !== undefined && object.txResponse !== null) { - message.txResponse = TxResponse.fromPartial(object.txResponse); - } - return message; - }, - fromSDK(object: BroadcastTxResponseSDKType): BroadcastTxResponse { - return { - txResponse: object.tx_response ? TxResponse.fromSDK(object.tx_response) : undefined - }; - }, - toSDK(message: BroadcastTxResponse): BroadcastTxResponseSDKType { - const obj: any = {}; - message.txResponse !== undefined && (obj.tx_response = message.txResponse ? TxResponse.toSDK(message.txResponse) : undefined); - return obj; - }, - fromAmino(object: BroadcastTxResponseAmino): BroadcastTxResponse { - return { - txResponse: object?.tx_response ? TxResponse.fromAmino(object.tx_response) : undefined - }; - }, - toAmino(message: BroadcastTxResponse): BroadcastTxResponseAmino { - const obj: any = {}; - obj.tx_response = message.txResponse ? TxResponse.toAmino(message.txResponse) : undefined; - return obj; - }, - fromAminoMsg(object: BroadcastTxResponseAminoMsg): BroadcastTxResponse { - return BroadcastTxResponse.fromAmino(object.value); - }, - toAminoMsg(message: BroadcastTxResponse): BroadcastTxResponseAminoMsg { - return { - type: "cosmos-sdk/BroadcastTxResponse", - value: BroadcastTxResponse.toAmino(message) - }; - }, - fromProtoMsg(message: BroadcastTxResponseProtoMsg): BroadcastTxResponse { - return BroadcastTxResponse.decode(message.value); - }, - toProto(message: BroadcastTxResponse): Uint8Array { - return BroadcastTxResponse.encode(message).finish(); - }, - toProtoMsg(message: BroadcastTxResponse): BroadcastTxResponseProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.BroadcastTxResponse", - value: BroadcastTxResponse.encode(message).finish() - }; - } -}; -function createBaseSimulateRequest(): SimulateRequest { - return { - tx: Tx.fromPartial({}), - txBytes: new Uint8Array() - }; -} -export const SimulateRequest = { - typeUrl: "/cosmos.tx.v1beta1.SimulateRequest", - aminoType: "cosmos-sdk/SimulateRequest", - encode(message: SimulateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tx !== undefined) { - Tx.encode(message.tx, writer.uint32(10).fork()).ldelim(); - } - if (message.txBytes.length !== 0) { - writer.uint32(18).bytes(message.txBytes); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSimulateRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.tx = Tx.decode(reader, reader.uint32()); - break; - case 2: - message.txBytes = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SimulateRequest { - const obj = createBaseSimulateRequest(); - if (isSet(object.tx)) obj.tx = Tx.fromJSON(object.tx); - if (isSet(object.txBytes)) obj.txBytes = bytesFromBase64(object.txBytes); - return obj; - }, - toJSON(message: SimulateRequest): unknown { - const obj: any = {}; - message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined); - message.txBytes !== undefined && (obj.txBytes = base64FromBytes(message.txBytes !== undefined ? message.txBytes : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): SimulateRequest { - const message = createBaseSimulateRequest(); - if (object.tx !== undefined && object.tx !== null) { - message.tx = Tx.fromPartial(object.tx); - } - message.txBytes = object.txBytes ?? new Uint8Array(); - return message; - }, - fromSDK(object: SimulateRequestSDKType): SimulateRequest { - return { - tx: object.tx ? Tx.fromSDK(object.tx) : undefined, - txBytes: object?.tx_bytes - }; - }, - toSDK(message: SimulateRequest): SimulateRequestSDKType { - const obj: any = {}; - message.tx !== undefined && (obj.tx = message.tx ? Tx.toSDK(message.tx) : undefined); - obj.tx_bytes = message.txBytes; - return obj; - }, - fromAmino(object: SimulateRequestAmino): SimulateRequest { - return { - tx: object?.tx ? Tx.fromAmino(object.tx) : undefined, - txBytes: object.tx_bytes - }; - }, - toAmino(message: SimulateRequest): SimulateRequestAmino { - const obj: any = {}; - obj.tx = message.tx ? Tx.toAmino(message.tx) : undefined; - obj.tx_bytes = message.txBytes; - return obj; - }, - fromAminoMsg(object: SimulateRequestAminoMsg): SimulateRequest { - return SimulateRequest.fromAmino(object.value); - }, - toAminoMsg(message: SimulateRequest): SimulateRequestAminoMsg { - return { - type: "cosmos-sdk/SimulateRequest", - value: SimulateRequest.toAmino(message) - }; - }, - fromProtoMsg(message: SimulateRequestProtoMsg): SimulateRequest { - return SimulateRequest.decode(message.value); - }, - toProto(message: SimulateRequest): Uint8Array { - return SimulateRequest.encode(message).finish(); - }, - toProtoMsg(message: SimulateRequest): SimulateRequestProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.SimulateRequest", - value: SimulateRequest.encode(message).finish() - }; - } -}; -function createBaseSimulateResponse(): SimulateResponse { - return { - gasInfo: GasInfo.fromPartial({}), - result: Result.fromPartial({}) - }; -} -export const SimulateResponse = { - typeUrl: "/cosmos.tx.v1beta1.SimulateResponse", - aminoType: "cosmos-sdk/SimulateResponse", - encode(message: SimulateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.gasInfo !== undefined) { - GasInfo.encode(message.gasInfo, writer.uint32(10).fork()).ldelim(); - } - if (message.result !== undefined) { - Result.encode(message.result, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSimulateResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.gasInfo = GasInfo.decode(reader, reader.uint32()); - break; - case 2: - message.result = Result.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SimulateResponse { - const obj = createBaseSimulateResponse(); - if (isSet(object.gasInfo)) obj.gasInfo = GasInfo.fromJSON(object.gasInfo); - if (isSet(object.result)) obj.result = Result.fromJSON(object.result); - return obj; - }, - toJSON(message: SimulateResponse): unknown { - const obj: any = {}; - message.gasInfo !== undefined && (obj.gasInfo = message.gasInfo ? GasInfo.toJSON(message.gasInfo) : undefined); - message.result !== undefined && (obj.result = message.result ? Result.toJSON(message.result) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): SimulateResponse { - const message = createBaseSimulateResponse(); - if (object.gasInfo !== undefined && object.gasInfo !== null) { - message.gasInfo = GasInfo.fromPartial(object.gasInfo); - } - if (object.result !== undefined && object.result !== null) { - message.result = Result.fromPartial(object.result); - } - return message; - }, - fromSDK(object: SimulateResponseSDKType): SimulateResponse { - return { - gasInfo: object.gas_info ? GasInfo.fromSDK(object.gas_info) : undefined, - result: object.result ? Result.fromSDK(object.result) : undefined - }; - }, - toSDK(message: SimulateResponse): SimulateResponseSDKType { - const obj: any = {}; - message.gasInfo !== undefined && (obj.gas_info = message.gasInfo ? GasInfo.toSDK(message.gasInfo) : undefined); - message.result !== undefined && (obj.result = message.result ? Result.toSDK(message.result) : undefined); - return obj; - }, - fromAmino(object: SimulateResponseAmino): SimulateResponse { - return { - gasInfo: object?.gas_info ? GasInfo.fromAmino(object.gas_info) : undefined, - result: object?.result ? Result.fromAmino(object.result) : undefined - }; - }, - toAmino(message: SimulateResponse): SimulateResponseAmino { - const obj: any = {}; - obj.gas_info = message.gasInfo ? GasInfo.toAmino(message.gasInfo) : undefined; - obj.result = message.result ? Result.toAmino(message.result) : undefined; - return obj; - }, - fromAminoMsg(object: SimulateResponseAminoMsg): SimulateResponse { - return SimulateResponse.fromAmino(object.value); - }, - toAminoMsg(message: SimulateResponse): SimulateResponseAminoMsg { - return { - type: "cosmos-sdk/SimulateResponse", - value: SimulateResponse.toAmino(message) - }; - }, - fromProtoMsg(message: SimulateResponseProtoMsg): SimulateResponse { - return SimulateResponse.decode(message.value); - }, - toProto(message: SimulateResponse): Uint8Array { - return SimulateResponse.encode(message).finish(); - }, - toProtoMsg(message: SimulateResponse): SimulateResponseProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.SimulateResponse", - value: SimulateResponse.encode(message).finish() - }; - } -}; -function createBaseGetTxRequest(): GetTxRequest { - return { - hash: "" - }; -} -export const GetTxRequest = { - typeUrl: "/cosmos.tx.v1beta1.GetTxRequest", - aminoType: "cosmos-sdk/GetTxRequest", - encode(message: GetTxRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.hash !== "") { - writer.uint32(10).string(message.hash); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.hash = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetTxRequest { - const obj = createBaseGetTxRequest(); - if (isSet(object.hash)) obj.hash = String(object.hash); - return obj; - }, - toJSON(message: GetTxRequest): unknown { - const obj: any = {}; - message.hash !== undefined && (obj.hash = message.hash); - return obj; - }, - fromPartial(object: DeepPartial): GetTxRequest { - const message = createBaseGetTxRequest(); - message.hash = object.hash ?? ""; - return message; - }, - fromSDK(object: GetTxRequestSDKType): GetTxRequest { - return { - hash: object?.hash - }; - }, - toSDK(message: GetTxRequest): GetTxRequestSDKType { - const obj: any = {}; - obj.hash = message.hash; - return obj; - }, - fromAmino(object: GetTxRequestAmino): GetTxRequest { - return { - hash: object.hash - }; - }, - toAmino(message: GetTxRequest): GetTxRequestAmino { - const obj: any = {}; - obj.hash = message.hash; - return obj; - }, - fromAminoMsg(object: GetTxRequestAminoMsg): GetTxRequest { - return GetTxRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetTxRequest): GetTxRequestAminoMsg { - return { - type: "cosmos-sdk/GetTxRequest", - value: GetTxRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetTxRequestProtoMsg): GetTxRequest { - return GetTxRequest.decode(message.value); - }, - toProto(message: GetTxRequest): Uint8Array { - return GetTxRequest.encode(message).finish(); - }, - toProtoMsg(message: GetTxRequest): GetTxRequestProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.GetTxRequest", - value: GetTxRequest.encode(message).finish() - }; - } -}; -function createBaseGetTxResponse(): GetTxResponse { - return { - tx: Tx.fromPartial({}), - txResponse: TxResponse.fromPartial({}) - }; -} -export const GetTxResponse = { - typeUrl: "/cosmos.tx.v1beta1.GetTxResponse", - aminoType: "cosmos-sdk/GetTxResponse", - encode(message: GetTxResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.tx !== undefined) { - Tx.encode(message.tx, writer.uint32(10).fork()).ldelim(); - } - if (message.txResponse !== undefined) { - TxResponse.encode(message.txResponse, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetTxResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.tx = Tx.decode(reader, reader.uint32()); - break; - case 2: - message.txResponse = TxResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetTxResponse { - const obj = createBaseGetTxResponse(); - if (isSet(object.tx)) obj.tx = Tx.fromJSON(object.tx); - if (isSet(object.txResponse)) obj.txResponse = TxResponse.fromJSON(object.txResponse); - return obj; - }, - toJSON(message: GetTxResponse): unknown { - const obj: any = {}; - message.tx !== undefined && (obj.tx = message.tx ? Tx.toJSON(message.tx) : undefined); - message.txResponse !== undefined && (obj.txResponse = message.txResponse ? TxResponse.toJSON(message.txResponse) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetTxResponse { - const message = createBaseGetTxResponse(); - if (object.tx !== undefined && object.tx !== null) { - message.tx = Tx.fromPartial(object.tx); - } - if (object.txResponse !== undefined && object.txResponse !== null) { - message.txResponse = TxResponse.fromPartial(object.txResponse); - } - return message; - }, - fromSDK(object: GetTxResponseSDKType): GetTxResponse { - return { - tx: object.tx ? Tx.fromSDK(object.tx) : undefined, - txResponse: object.tx_response ? TxResponse.fromSDK(object.tx_response) : undefined - }; - }, - toSDK(message: GetTxResponse): GetTxResponseSDKType { - const obj: any = {}; - message.tx !== undefined && (obj.tx = message.tx ? Tx.toSDK(message.tx) : undefined); - message.txResponse !== undefined && (obj.tx_response = message.txResponse ? TxResponse.toSDK(message.txResponse) : undefined); - return obj; - }, - fromAmino(object: GetTxResponseAmino): GetTxResponse { - return { - tx: object?.tx ? Tx.fromAmino(object.tx) : undefined, - txResponse: object?.tx_response ? TxResponse.fromAmino(object.tx_response) : undefined - }; - }, - toAmino(message: GetTxResponse): GetTxResponseAmino { - const obj: any = {}; - obj.tx = message.tx ? Tx.toAmino(message.tx) : undefined; - obj.tx_response = message.txResponse ? TxResponse.toAmino(message.txResponse) : undefined; - return obj; - }, - fromAminoMsg(object: GetTxResponseAminoMsg): GetTxResponse { - return GetTxResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetTxResponse): GetTxResponseAminoMsg { - return { - type: "cosmos-sdk/GetTxResponse", - value: GetTxResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetTxResponseProtoMsg): GetTxResponse { - return GetTxResponse.decode(message.value); - }, - toProto(message: GetTxResponse): Uint8Array { - return GetTxResponse.encode(message).finish(); - }, - toProtoMsg(message: GetTxResponse): GetTxResponseProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.GetTxResponse", - value: GetTxResponse.encode(message).finish() - }; - } -}; -function createBaseGetBlockWithTxsRequest(): GetBlockWithTxsRequest { - return { - height: Long.ZERO, - pagination: PageRequest.fromPartial({}) - }; -} -export const GetBlockWithTxsRequest = { - typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsRequest", - aminoType: "cosmos-sdk/GetBlockWithTxsRequest", - encode(message: GetBlockWithTxsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetBlockWithTxsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetBlockWithTxsRequest { - const obj = createBaseGetBlockWithTxsRequest(); - if (isSet(object.height)) obj.height = Long.fromValue(object.height); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: GetBlockWithTxsRequest): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetBlockWithTxsRequest { - const message = createBaseGetBlockWithTxsRequest(); - if (object.height !== undefined && object.height !== null) { - message.height = Long.fromValue(object.height); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: GetBlockWithTxsRequestSDKType): GetBlockWithTxsRequest { - return { - height: object?.height, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestSDKType { - const obj: any = {}; - obj.height = message.height; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: GetBlockWithTxsRequestAmino): GetBlockWithTxsRequest { - return { - height: Long.fromString(object.height), - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAmino { - const obj: any = {}; - obj.height = message.height ? message.height.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: GetBlockWithTxsRequestAminoMsg): GetBlockWithTxsRequest { - return GetBlockWithTxsRequest.fromAmino(object.value); - }, - toAminoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestAminoMsg { - return { - type: "cosmos-sdk/GetBlockWithTxsRequest", - value: GetBlockWithTxsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: GetBlockWithTxsRequestProtoMsg): GetBlockWithTxsRequest { - return GetBlockWithTxsRequest.decode(message.value); - }, - toProto(message: GetBlockWithTxsRequest): Uint8Array { - return GetBlockWithTxsRequest.encode(message).finish(); - }, - toProtoMsg(message: GetBlockWithTxsRequest): GetBlockWithTxsRequestProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsRequest", - value: GetBlockWithTxsRequest.encode(message).finish() - }; - } -}; -function createBaseGetBlockWithTxsResponse(): GetBlockWithTxsResponse { - return { - txs: [], - blockId: BlockID.fromPartial({}), - block: Block.fromPartial({}), - pagination: PageResponse.fromPartial({}) - }; -} -export const GetBlockWithTxsResponse = { - typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsResponse", - aminoType: "cosmos-sdk/GetBlockWithTxsResponse", - encode(message: GetBlockWithTxsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.txs) { - Tx.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.blockId !== undefined) { - BlockID.encode(message.blockId, writer.uint32(18).fork()).ldelim(); - } - if (message.block !== undefined) { - Block.encode(message.block, writer.uint32(26).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetBlockWithTxsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.txs.push(Tx.decode(reader, reader.uint32())); - break; - case 2: - message.blockId = BlockID.decode(reader, reader.uint32()); - break; - case 3: - message.block = Block.decode(reader, reader.uint32()); - break; - case 4: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetBlockWithTxsResponse { - const obj = createBaseGetBlockWithTxsResponse(); - if (Array.isArray(object?.txs)) obj.txs = object.txs.map((e: any) => Tx.fromJSON(e)); - if (isSet(object.blockId)) obj.blockId = BlockID.fromJSON(object.blockId); - if (isSet(object.block)) obj.block = Block.fromJSON(object.block); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: GetBlockWithTxsResponse): unknown { - const obj: any = {}; - if (message.txs) { - obj.txs = message.txs.map(e => e ? Tx.toJSON(e) : undefined); - } else { - obj.txs = []; - } - message.blockId !== undefined && (obj.blockId = message.blockId ? BlockID.toJSON(message.blockId) : undefined); - message.block !== undefined && (obj.block = message.block ? Block.toJSON(message.block) : undefined); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GetBlockWithTxsResponse { - const message = createBaseGetBlockWithTxsResponse(); - message.txs = object.txs?.map(e => Tx.fromPartial(e)) || []; - if (object.blockId !== undefined && object.blockId !== null) { - message.blockId = BlockID.fromPartial(object.blockId); - } - if (object.block !== undefined && object.block !== null) { - message.block = Block.fromPartial(object.block); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: GetBlockWithTxsResponseSDKType): GetBlockWithTxsResponse { - return { - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => Tx.fromSDK(e)) : [], - blockId: object.block_id ? BlockID.fromSDK(object.block_id) : undefined, - block: object.block ? Block.fromSDK(object.block) : undefined, - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseSDKType { - const obj: any = {}; - if (message.txs) { - obj.txs = message.txs.map(e => e ? Tx.toSDK(e) : undefined); - } else { - obj.txs = []; - } - message.blockId !== undefined && (obj.block_id = message.blockId ? BlockID.toSDK(message.blockId) : undefined); - message.block !== undefined && (obj.block = message.block ? Block.toSDK(message.block) : undefined); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: GetBlockWithTxsResponseAmino): GetBlockWithTxsResponse { - return { - txs: Array.isArray(object?.txs) ? object.txs.map((e: any) => Tx.fromAmino(e)) : [], - blockId: object?.block_id ? BlockID.fromAmino(object.block_id) : undefined, - block: object?.block ? Block.fromAmino(object.block) : undefined, - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAmino { - const obj: any = {}; - if (message.txs) { - obj.txs = message.txs.map(e => e ? Tx.toAmino(e) : undefined); - } else { - obj.txs = []; - } - obj.block_id = message.blockId ? BlockID.toAmino(message.blockId) : undefined; - obj.block = message.block ? Block.toAmino(message.block) : undefined; - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: GetBlockWithTxsResponseAminoMsg): GetBlockWithTxsResponse { - return GetBlockWithTxsResponse.fromAmino(object.value); - }, - toAminoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseAminoMsg { - return { - type: "cosmos-sdk/GetBlockWithTxsResponse", - value: GetBlockWithTxsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: GetBlockWithTxsResponseProtoMsg): GetBlockWithTxsResponse { - return GetBlockWithTxsResponse.decode(message.value); - }, - toProto(message: GetBlockWithTxsResponse): Uint8Array { - return GetBlockWithTxsResponse.encode(message).finish(); - }, - toProtoMsg(message: GetBlockWithTxsResponse): GetBlockWithTxsResponseProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.GetBlockWithTxsResponse", - value: GetBlockWithTxsResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/tx/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/tx/v1beta1/tx.ts deleted file mode 100644 index 610db6915..000000000 --- a/quicksilverjs/src/codegen/cosmos/tx/v1beta1/tx.ts +++ /dev/null @@ -1,2454 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { SignMode, SignModeSDKType, signModeFromJSON, signModeToJSON } from "../signing/v1beta1/signing"; -import { CompactBitArray, CompactBitArrayAmino, CompactBitArraySDKType } from "../../crypto/multisig/v1beta1/multisig"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Long, isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.tx.v1beta1"; -/** Tx is the standard type used for broadcasting transactions. */ -export interface Tx { - /** body is the processable content of the transaction */ - body: TxBody; - /** - * auth_info is the authorization related content of the transaction, - * specifically signers, signer modes and fee - */ - authInfo: AuthInfo; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -export interface TxProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Tx"; - value: Uint8Array; -} -/** Tx is the standard type used for broadcasting transactions. */ -export interface TxAmino { - /** body is the processable content of the transaction */ - body?: TxBodyAmino; - /** - * auth_info is the authorization related content of the transaction, - * specifically signers, signer modes and fee - */ - auth_info?: AuthInfoAmino; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -export interface TxAminoMsg { - type: "cosmos-sdk/Tx"; - value: TxAmino; -} -/** Tx is the standard type used for broadcasting transactions. */ -export interface TxSDKType { - body: TxBodySDKType; - auth_info: AuthInfoSDKType; - signatures: Uint8Array[]; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ -export interface TxRaw { - /** - * body_bytes is a protobuf serialization of a TxBody that matches the - * representation in SignDoc. - */ - bodyBytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in SignDoc. - */ - authInfoBytes: Uint8Array; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -export interface TxRawProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.TxRaw"; - value: Uint8Array; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ -export interface TxRawAmino { - /** - * body_bytes is a protobuf serialization of a TxBody that matches the - * representation in SignDoc. - */ - body_bytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in SignDoc. - */ - auth_info_bytes: Uint8Array; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -export interface TxRawAminoMsg { - type: "cosmos-sdk/TxRaw"; - value: TxRawAmino; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ -export interface TxRawSDKType { - body_bytes: Uint8Array; - auth_info_bytes: Uint8Array; - signatures: Uint8Array[]; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ -export interface SignDoc { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - bodyBytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in TxRaw. - */ - authInfoBytes: Uint8Array; - /** - * chain_id is the unique identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker - */ - chainId: string; - /** account_number is the account number of the account in state */ - accountNumber: Long; -} -export interface SignDocProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SignDoc"; - value: Uint8Array; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ -export interface SignDocAmino { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - body_bytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in TxRaw. - */ - auth_info_bytes: Uint8Array; - /** - * chain_id is the unique identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker - */ - chain_id: string; - /** account_number is the account number of the account in state */ - account_number: string; -} -export interface SignDocAminoMsg { - type: "cosmos-sdk/SignDoc"; - value: SignDocAmino; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ -export interface SignDocSDKType { - body_bytes: Uint8Array; - auth_info_bytes: Uint8Array; - chain_id: string; - account_number: Long; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ -export interface SignDocDirectAux { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - bodyBytes: Uint8Array; - /** public_key is the public key of the signing account. */ - publicKey: Any; - /** - * chain_id is the identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker. - */ - chainId: string; - /** account_number is the account number of the account in state. */ - accountNumber: Long; - /** sequence is the sequence number of the signing account. */ - sequence: Long; - /** - * Tip is the optional tip used for meta-transactions. It should be left - * empty if the signer is not the tipper for this transaction. - */ - tip: Tip; -} -export interface SignDocDirectAuxProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux"; - value: Uint8Array; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ -export interface SignDocDirectAuxAmino { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - body_bytes: Uint8Array; - /** public_key is the public key of the signing account. */ - public_key?: AnyAmino; - /** - * chain_id is the identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker. - */ - chain_id: string; - /** account_number is the account number of the account in state. */ - account_number: string; - /** sequence is the sequence number of the signing account. */ - sequence: string; - /** - * Tip is the optional tip used for meta-transactions. It should be left - * empty if the signer is not the tipper for this transaction. - */ - tip?: TipAmino; -} -export interface SignDocDirectAuxAminoMsg { - type: "cosmos-sdk/SignDocDirectAux"; - value: SignDocDirectAuxAmino; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ -export interface SignDocDirectAuxSDKType { - body_bytes: Uint8Array; - public_key: AnySDKType; - chain_id: string; - account_number: Long; - sequence: Long; - tip: TipSDKType; -} -/** TxBody is the body of a transaction that all signers sign over. */ -export interface TxBody { - /** - * messages is a list of messages to be executed. The required signers of - * those messages define the number and order of elements in AuthInfo's - * signer_infos and Tx's signatures. Each required signer address is added to - * the list only the first time it occurs. - * By convention, the first required signer (usually from the first message) - * is referred to as the primary signer and pays the fee for the whole - * transaction. - */ - messages: Any[]; - /** - * memo is any arbitrary note/comment to be added to the transaction. - * WARNING: in clients, any publicly exposed text should not be called memo, - * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). - */ - memo: string; - /** - * timeout is the block height after which this transaction will not - * be processed by the chain - */ - timeoutHeight: Long; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, the transaction will be rejected - */ - extensionOptions: Any[]; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, they will be ignored - */ - nonCriticalExtensionOptions: Any[]; -} -export interface TxBodyProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.TxBody"; - value: Uint8Array; -} -/** TxBody is the body of a transaction that all signers sign over. */ -export interface TxBodyAmino { - /** - * messages is a list of messages to be executed. The required signers of - * those messages define the number and order of elements in AuthInfo's - * signer_infos and Tx's signatures. Each required signer address is added to - * the list only the first time it occurs. - * By convention, the first required signer (usually from the first message) - * is referred to as the primary signer and pays the fee for the whole - * transaction. - */ - messages: AnyAmino[]; - /** - * memo is any arbitrary note/comment to be added to the transaction. - * WARNING: in clients, any publicly exposed text should not be called memo, - * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). - */ - memo: string; - /** - * timeout is the block height after which this transaction will not - * be processed by the chain - */ - timeout_height: string; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, the transaction will be rejected - */ - extension_options: AnyAmino[]; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, they will be ignored - */ - non_critical_extension_options: AnyAmino[]; -} -export interface TxBodyAminoMsg { - type: "cosmos-sdk/TxBody"; - value: TxBodyAmino; -} -/** TxBody is the body of a transaction that all signers sign over. */ -export interface TxBodySDKType { - messages: AnySDKType[]; - memo: string; - timeout_height: Long; - extension_options: AnySDKType[]; - non_critical_extension_options: AnySDKType[]; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ -export interface AuthInfo { - /** - * signer_infos defines the signing modes for the required signers. The number - * and order of elements must match the required signers from TxBody's - * messages. The first element is the primary signer and the one which pays - * the fee. - */ - signerInfos: SignerInfo[]; - /** - * Fee is the fee and gas limit for the transaction. The first signer is the - * primary signer and the one which pays the fee. The fee can be calculated - * based on the cost of evaluating the body and doing signature verification - * of the signers. This can be estimated via simulation. - */ - fee: Fee; - /** - * Tip is the optional tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ - tip: Tip; -} -export interface AuthInfoProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.AuthInfo"; - value: Uint8Array; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ -export interface AuthInfoAmino { - /** - * signer_infos defines the signing modes for the required signers. The number - * and order of elements must match the required signers from TxBody's - * messages. The first element is the primary signer and the one which pays - * the fee. - */ - signer_infos: SignerInfoAmino[]; - /** - * Fee is the fee and gas limit for the transaction. The first signer is the - * primary signer and the one which pays the fee. The fee can be calculated - * based on the cost of evaluating the body and doing signature verification - * of the signers. This can be estimated via simulation. - */ - fee?: FeeAmino; - /** - * Tip is the optional tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ - tip?: TipAmino; -} -export interface AuthInfoAminoMsg { - type: "cosmos-sdk/AuthInfo"; - value: AuthInfoAmino; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ -export interface AuthInfoSDKType { - signer_infos: SignerInfoSDKType[]; - fee: FeeSDKType; - tip: TipSDKType; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ -export interface SignerInfo { - /** - * public_key is the public key of the signer. It is optional for accounts - * that already exist in state. If unset, the verifier can use the required \ - * signer address for this position and lookup the public key. - */ - publicKey: Any; - /** - * mode_info describes the signing mode of the signer and is a nested - * structure to support nested multisig pubkey's - */ - modeInfo: ModeInfo; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to - * prevent replay attacks. - */ - sequence: Long; -} -export interface SignerInfoProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.SignerInfo"; - value: Uint8Array; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ -export interface SignerInfoAmino { - /** - * public_key is the public key of the signer. It is optional for accounts - * that already exist in state. If unset, the verifier can use the required \ - * signer address for this position and lookup the public key. - */ - public_key?: AnyAmino; - /** - * mode_info describes the signing mode of the signer and is a nested - * structure to support nested multisig pubkey's - */ - mode_info?: ModeInfoAmino; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to - * prevent replay attacks. - */ - sequence: string; -} -export interface SignerInfoAminoMsg { - type: "cosmos-sdk/SignerInfo"; - value: SignerInfoAmino; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ -export interface SignerInfoSDKType { - public_key: AnySDKType; - mode_info: ModeInfoSDKType; - sequence: Long; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ -export interface ModeInfo { - /** single represents a single signer */ - single?: ModeInfo_Single; - /** multi represents a nested multisig signer */ - multi?: ModeInfo_Multi; -} -export interface ModeInfoProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.ModeInfo"; - value: Uint8Array; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ -export interface ModeInfoAmino { - /** single represents a single signer */ - single?: ModeInfo_SingleAmino; - /** multi represents a nested multisig signer */ - multi?: ModeInfo_MultiAmino; -} -export interface ModeInfoAminoMsg { - type: "cosmos-sdk/ModeInfo"; - value: ModeInfoAmino; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ -export interface ModeInfoSDKType { - single?: ModeInfo_SingleSDKType; - multi?: ModeInfo_MultiSDKType; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ -export interface ModeInfo_Single { - /** mode is the signing mode of the single signer */ - mode: SignMode; -} -export interface ModeInfo_SingleProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Single"; - value: Uint8Array; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ -export interface ModeInfo_SingleAmino { - /** mode is the signing mode of the single signer */ - mode: SignMode; -} -export interface ModeInfo_SingleAminoMsg { - type: "cosmos-sdk/Single"; - value: ModeInfo_SingleAmino; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ -export interface ModeInfo_SingleSDKType { - mode: SignMode; -} -/** Multi is the mode info for a multisig public key */ -export interface ModeInfo_Multi { - /** bitarray specifies which keys within the multisig are signing */ - bitarray: CompactBitArray; - /** - * mode_infos is the corresponding modes of the signers of the multisig - * which could include nested multisig public keys - */ - modeInfos: ModeInfo[]; -} -export interface ModeInfo_MultiProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Multi"; - value: Uint8Array; -} -/** Multi is the mode info for a multisig public key */ -export interface ModeInfo_MultiAmino { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArrayAmino; - /** - * mode_infos is the corresponding modes of the signers of the multisig - * which could include nested multisig public keys - */ - mode_infos: ModeInfoAmino[]; -} -export interface ModeInfo_MultiAminoMsg { - type: "cosmos-sdk/Multi"; - value: ModeInfo_MultiAmino; -} -/** Multi is the mode info for a multisig public key */ -export interface ModeInfo_MultiSDKType { - bitarray: CompactBitArraySDKType; - mode_infos: ModeInfoSDKType[]; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ -export interface Fee { - /** amount is the amount of coins to be paid as a fee */ - amount: Coin[]; - /** - * gas_limit is the maximum gas that can be used in transaction processing - * before an out of gas error occurs - */ - gasLimit: Long; - /** - * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. - * the payer must be a tx signer (and thus have signed this field in AuthInfo). - * setting this field does *not* change the ordering of required signers for the transaction. - */ - payer: string; - /** - * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used - * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does - * not support fee grants, this will fail - */ - granter: string; -} -export interface FeeProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Fee"; - value: Uint8Array; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ -export interface FeeAmino { - /** amount is the amount of coins to be paid as a fee */ - amount: CoinAmino[]; - /** - * gas_limit is the maximum gas that can be used in transaction processing - * before an out of gas error occurs - */ - gas_limit: string; - /** - * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. - * the payer must be a tx signer (and thus have signed this field in AuthInfo). - * setting this field does *not* change the ordering of required signers for the transaction. - */ - payer: string; - /** - * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used - * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does - * not support fee grants, this will fail - */ - granter: string; -} -export interface FeeAminoMsg { - type: "cosmos-sdk/Fee"; - value: FeeAmino; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ -export interface FeeSDKType { - amount: CoinSDKType[]; - gas_limit: Long; - payer: string; - granter: string; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ -export interface Tip { - /** amount is the amount of the tip */ - amount: Coin[]; - /** tipper is the address of the account paying for the tip */ - tipper: string; -} -export interface TipProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.Tip"; - value: Uint8Array; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ -export interface TipAmino { - /** amount is the amount of the tip */ - amount: CoinAmino[]; - /** tipper is the address of the account paying for the tip */ - tipper: string; -} -export interface TipAminoMsg { - type: "cosmos-sdk/Tip"; - value: TipAmino; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ -export interface TipSDKType { - amount: CoinSDKType[]; - tipper: string; -} -/** - * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a - * tipper) builds and sends to the fee payer (who will build and broadcast the - * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected - * by the node if sent directly as-is. - * - * Since: cosmos-sdk 0.46 - */ -export interface AuxSignerData { - /** - * address is the bech32-encoded address of the auxiliary signer. If using - * AuxSignerData across different chains, the bech32 prefix of the target - * chain (where the final transaction is broadcasted) should be used. - */ - address: string; - /** - * sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer - * signs. Note: we use the same sign doc even if we're signing with - * LEGACY_AMINO_JSON. - */ - signDoc: SignDocDirectAux; - /** mode is the signing mode of the single signer */ - mode: SignMode; - /** sig is the signature of the sign doc. */ - sig: Uint8Array; -} -export interface AuxSignerDataProtoMsg { - typeUrl: "/cosmos.tx.v1beta1.AuxSignerData"; - value: Uint8Array; -} -/** - * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a - * tipper) builds and sends to the fee payer (who will build and broadcast the - * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected - * by the node if sent directly as-is. - * - * Since: cosmos-sdk 0.46 - */ -export interface AuxSignerDataAmino { - /** - * address is the bech32-encoded address of the auxiliary signer. If using - * AuxSignerData across different chains, the bech32 prefix of the target - * chain (where the final transaction is broadcasted) should be used. - */ - address: string; - /** - * sign_doc is the SIGN_MOD_DIRECT_AUX sign doc that the auxiliary signer - * signs. Note: we use the same sign doc even if we're signing with - * LEGACY_AMINO_JSON. - */ - sign_doc?: SignDocDirectAuxAmino; - /** mode is the signing mode of the single signer */ - mode: SignMode; - /** sig is the signature of the sign doc. */ - sig: Uint8Array; -} -export interface AuxSignerDataAminoMsg { - type: "cosmos-sdk/AuxSignerData"; - value: AuxSignerDataAmino; -} -/** - * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a - * tipper) builds and sends to the fee payer (who will build and broadcast the - * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected - * by the node if sent directly as-is. - * - * Since: cosmos-sdk 0.46 - */ -export interface AuxSignerDataSDKType { - address: string; - sign_doc: SignDocDirectAuxSDKType; - mode: SignMode; - sig: Uint8Array; -} -function createBaseTx(): Tx { - return { - body: TxBody.fromPartial({}), - authInfo: AuthInfo.fromPartial({}), - signatures: [] - }; -} -export const Tx = { - typeUrl: "/cosmos.tx.v1beta1.Tx", - aminoType: "cosmos-sdk/Tx", - encode(message: Tx, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.body !== undefined) { - TxBody.encode(message.body, writer.uint32(10).fork()).ldelim(); - } - if (message.authInfo !== undefined) { - AuthInfo.encode(message.authInfo, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.signatures) { - writer.uint32(26).bytes(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Tx { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTx(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.body = TxBody.decode(reader, reader.uint32()); - break; - case 2: - message.authInfo = AuthInfo.decode(reader, reader.uint32()); - break; - case 3: - message.signatures.push(reader.bytes()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Tx { - const obj = createBaseTx(); - if (isSet(object.body)) obj.body = TxBody.fromJSON(object.body); - if (isSet(object.authInfo)) obj.authInfo = AuthInfo.fromJSON(object.authInfo); - if (Array.isArray(object?.signatures)) obj.signatures = object.signatures.map((e: any) => bytesFromBase64(e)); - return obj; - }, - toJSON(message: Tx): unknown { - const obj: any = {}; - message.body !== undefined && (obj.body = message.body ? TxBody.toJSON(message.body) : undefined); - message.authInfo !== undefined && (obj.authInfo = message.authInfo ? AuthInfo.toJSON(message.authInfo) : undefined); - if (message.signatures) { - obj.signatures = message.signatures.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.signatures = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Tx { - const message = createBaseTx(); - if (object.body !== undefined && object.body !== null) { - message.body = TxBody.fromPartial(object.body); - } - if (object.authInfo !== undefined && object.authInfo !== null) { - message.authInfo = AuthInfo.fromPartial(object.authInfo); - } - message.signatures = object.signatures?.map(e => e) || []; - return message; - }, - fromSDK(object: TxSDKType): Tx { - return { - body: object.body ? TxBody.fromSDK(object.body) : undefined, - authInfo: object.auth_info ? AuthInfo.fromSDK(object.auth_info) : undefined, - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => e) : [] - }; - }, - toSDK(message: Tx): TxSDKType { - const obj: any = {}; - message.body !== undefined && (obj.body = message.body ? TxBody.toSDK(message.body) : undefined); - message.authInfo !== undefined && (obj.auth_info = message.authInfo ? AuthInfo.toSDK(message.authInfo) : undefined); - if (message.signatures) { - obj.signatures = message.signatures.map(e => e); - } else { - obj.signatures = []; - } - return obj; - }, - fromAmino(object: TxAmino): Tx { - return { - body: object?.body ? TxBody.fromAmino(object.body) : undefined, - authInfo: object?.auth_info ? AuthInfo.fromAmino(object.auth_info) : undefined, - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => e) : [] - }; - }, - toAmino(message: Tx): TxAmino { - const obj: any = {}; - obj.body = message.body ? TxBody.toAmino(message.body) : undefined; - obj.auth_info = message.authInfo ? AuthInfo.toAmino(message.authInfo) : undefined; - if (message.signatures) { - obj.signatures = message.signatures.map(e => e); - } else { - obj.signatures = []; - } - return obj; - }, - fromAminoMsg(object: TxAminoMsg): Tx { - return Tx.fromAmino(object.value); - }, - toAminoMsg(message: Tx): TxAminoMsg { - return { - type: "cosmos-sdk/Tx", - value: Tx.toAmino(message) - }; - }, - fromProtoMsg(message: TxProtoMsg): Tx { - return Tx.decode(message.value); - }, - toProto(message: Tx): Uint8Array { - return Tx.encode(message).finish(); - }, - toProtoMsg(message: Tx): TxProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.Tx", - value: Tx.encode(message).finish() - }; - } -}; -function createBaseTxRaw(): TxRaw { - return { - bodyBytes: new Uint8Array(), - authInfoBytes: new Uint8Array(), - signatures: [] - }; -} -export const TxRaw = { - typeUrl: "/cosmos.tx.v1beta1.TxRaw", - aminoType: "cosmos-sdk/TxRaw", - encode(message: TxRaw, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bodyBytes.length !== 0) { - writer.uint32(10).bytes(message.bodyBytes); - } - if (message.authInfoBytes.length !== 0) { - writer.uint32(18).bytes(message.authInfoBytes); - } - for (const v of message.signatures) { - writer.uint32(26).bytes(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TxRaw { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxRaw(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.bodyBytes = reader.bytes(); - break; - case 2: - message.authInfoBytes = reader.bytes(); - break; - case 3: - message.signatures.push(reader.bytes()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TxRaw { - const obj = createBaseTxRaw(); - if (isSet(object.bodyBytes)) obj.bodyBytes = bytesFromBase64(object.bodyBytes); - if (isSet(object.authInfoBytes)) obj.authInfoBytes = bytesFromBase64(object.authInfoBytes); - if (Array.isArray(object?.signatures)) obj.signatures = object.signatures.map((e: any) => bytesFromBase64(e)); - return obj; - }, - toJSON(message: TxRaw): unknown { - const obj: any = {}; - message.bodyBytes !== undefined && (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array())); - message.authInfoBytes !== undefined && (obj.authInfoBytes = base64FromBytes(message.authInfoBytes !== undefined ? message.authInfoBytes : new Uint8Array())); - if (message.signatures) { - obj.signatures = message.signatures.map(e => base64FromBytes(e !== undefined ? e : new Uint8Array())); - } else { - obj.signatures = []; - } - return obj; - }, - fromPartial(object: DeepPartial): TxRaw { - const message = createBaseTxRaw(); - message.bodyBytes = object.bodyBytes ?? new Uint8Array(); - message.authInfoBytes = object.authInfoBytes ?? new Uint8Array(); - message.signatures = object.signatures?.map(e => e) || []; - return message; - }, - fromSDK(object: TxRawSDKType): TxRaw { - return { - bodyBytes: object?.body_bytes, - authInfoBytes: object?.auth_info_bytes, - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => e) : [] - }; - }, - toSDK(message: TxRaw): TxRawSDKType { - const obj: any = {}; - obj.body_bytes = message.bodyBytes; - obj.auth_info_bytes = message.authInfoBytes; - if (message.signatures) { - obj.signatures = message.signatures.map(e => e); - } else { - obj.signatures = []; - } - return obj; - }, - fromAmino(object: TxRawAmino): TxRaw { - return { - bodyBytes: object.body_bytes, - authInfoBytes: object.auth_info_bytes, - signatures: Array.isArray(object?.signatures) ? object.signatures.map((e: any) => e) : [] - }; - }, - toAmino(message: TxRaw): TxRawAmino { - const obj: any = {}; - obj.body_bytes = message.bodyBytes; - obj.auth_info_bytes = message.authInfoBytes; - if (message.signatures) { - obj.signatures = message.signatures.map(e => e); - } else { - obj.signatures = []; - } - return obj; - }, - fromAminoMsg(object: TxRawAminoMsg): TxRaw { - return TxRaw.fromAmino(object.value); - }, - toAminoMsg(message: TxRaw): TxRawAminoMsg { - return { - type: "cosmos-sdk/TxRaw", - value: TxRaw.toAmino(message) - }; - }, - fromProtoMsg(message: TxRawProtoMsg): TxRaw { - return TxRaw.decode(message.value); - }, - toProto(message: TxRaw): Uint8Array { - return TxRaw.encode(message).finish(); - }, - toProtoMsg(message: TxRaw): TxRawProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.TxRaw", - value: TxRaw.encode(message).finish() - }; - } -}; -function createBaseSignDoc(): SignDoc { - return { - bodyBytes: new Uint8Array(), - authInfoBytes: new Uint8Array(), - chainId: "", - accountNumber: Long.UZERO - }; -} -export const SignDoc = { - typeUrl: "/cosmos.tx.v1beta1.SignDoc", - aminoType: "cosmos-sdk/SignDoc", - encode(message: SignDoc, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bodyBytes.length !== 0) { - writer.uint32(10).bytes(message.bodyBytes); - } - if (message.authInfoBytes.length !== 0) { - writer.uint32(18).bytes(message.authInfoBytes); - } - if (message.chainId !== "") { - writer.uint32(26).string(message.chainId); - } - if (!message.accountNumber.isZero()) { - writer.uint32(32).uint64(message.accountNumber); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SignDoc { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignDoc(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.bodyBytes = reader.bytes(); - break; - case 2: - message.authInfoBytes = reader.bytes(); - break; - case 3: - message.chainId = reader.string(); - break; - case 4: - message.accountNumber = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SignDoc { - const obj = createBaseSignDoc(); - if (isSet(object.bodyBytes)) obj.bodyBytes = bytesFromBase64(object.bodyBytes); - if (isSet(object.authInfoBytes)) obj.authInfoBytes = bytesFromBase64(object.authInfoBytes); - if (isSet(object.chainId)) obj.chainId = String(object.chainId); - if (isSet(object.accountNumber)) obj.accountNumber = Long.fromValue(object.accountNumber); - return obj; - }, - toJSON(message: SignDoc): unknown { - const obj: any = {}; - message.bodyBytes !== undefined && (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array())); - message.authInfoBytes !== undefined && (obj.authInfoBytes = base64FromBytes(message.authInfoBytes !== undefined ? message.authInfoBytes : new Uint8Array())); - message.chainId !== undefined && (obj.chainId = message.chainId); - message.accountNumber !== undefined && (obj.accountNumber = (message.accountNumber || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): SignDoc { - const message = createBaseSignDoc(); - message.bodyBytes = object.bodyBytes ?? new Uint8Array(); - message.authInfoBytes = object.authInfoBytes ?? new Uint8Array(); - message.chainId = object.chainId ?? ""; - if (object.accountNumber !== undefined && object.accountNumber !== null) { - message.accountNumber = Long.fromValue(object.accountNumber); - } - return message; - }, - fromSDK(object: SignDocSDKType): SignDoc { - return { - bodyBytes: object?.body_bytes, - authInfoBytes: object?.auth_info_bytes, - chainId: object?.chain_id, - accountNumber: object?.account_number - }; - }, - toSDK(message: SignDoc): SignDocSDKType { - const obj: any = {}; - obj.body_bytes = message.bodyBytes; - obj.auth_info_bytes = message.authInfoBytes; - obj.chain_id = message.chainId; - obj.account_number = message.accountNumber; - return obj; - }, - fromAmino(object: SignDocAmino): SignDoc { - return { - bodyBytes: object.body_bytes, - authInfoBytes: object.auth_info_bytes, - chainId: object.chain_id, - accountNumber: Long.fromString(object.account_number) - }; - }, - toAmino(message: SignDoc): SignDocAmino { - const obj: any = {}; - obj.body_bytes = message.bodyBytes; - obj.auth_info_bytes = message.authInfoBytes; - obj.chain_id = message.chainId; - obj.account_number = message.accountNumber ? message.accountNumber.toString() : undefined; - return obj; - }, - fromAminoMsg(object: SignDocAminoMsg): SignDoc { - return SignDoc.fromAmino(object.value); - }, - toAminoMsg(message: SignDoc): SignDocAminoMsg { - return { - type: "cosmos-sdk/SignDoc", - value: SignDoc.toAmino(message) - }; - }, - fromProtoMsg(message: SignDocProtoMsg): SignDoc { - return SignDoc.decode(message.value); - }, - toProto(message: SignDoc): Uint8Array { - return SignDoc.encode(message).finish(); - }, - toProtoMsg(message: SignDoc): SignDocProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.SignDoc", - value: SignDoc.encode(message).finish() - }; - } -}; -function createBaseSignDocDirectAux(): SignDocDirectAux { - return { - bodyBytes: new Uint8Array(), - publicKey: Any.fromPartial({}), - chainId: "", - accountNumber: Long.UZERO, - sequence: Long.UZERO, - tip: Tip.fromPartial({}) - }; -} -export const SignDocDirectAux = { - typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux", - aminoType: "cosmos-sdk/SignDocDirectAux", - encode(message: SignDocDirectAux, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bodyBytes.length !== 0) { - writer.uint32(10).bytes(message.bodyBytes); - } - if (message.publicKey !== undefined) { - Any.encode(message.publicKey, writer.uint32(18).fork()).ldelim(); - } - if (message.chainId !== "") { - writer.uint32(26).string(message.chainId); - } - if (!message.accountNumber.isZero()) { - writer.uint32(32).uint64(message.accountNumber); - } - if (!message.sequence.isZero()) { - writer.uint32(40).uint64(message.sequence); - } - if (message.tip !== undefined) { - Tip.encode(message.tip, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SignDocDirectAux { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignDocDirectAux(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.bodyBytes = reader.bytes(); - break; - case 2: - message.publicKey = Any.decode(reader, reader.uint32()); - break; - case 3: - message.chainId = reader.string(); - break; - case 4: - message.accountNumber = (reader.uint64() as Long); - break; - case 5: - message.sequence = (reader.uint64() as Long); - break; - case 6: - message.tip = Tip.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SignDocDirectAux { - const obj = createBaseSignDocDirectAux(); - if (isSet(object.bodyBytes)) obj.bodyBytes = bytesFromBase64(object.bodyBytes); - if (isSet(object.publicKey)) obj.publicKey = Any.fromJSON(object.publicKey); - if (isSet(object.chainId)) obj.chainId = String(object.chainId); - if (isSet(object.accountNumber)) obj.accountNumber = Long.fromValue(object.accountNumber); - if (isSet(object.sequence)) obj.sequence = Long.fromValue(object.sequence); - if (isSet(object.tip)) obj.tip = Tip.fromJSON(object.tip); - return obj; - }, - toJSON(message: SignDocDirectAux): unknown { - const obj: any = {}; - message.bodyBytes !== undefined && (obj.bodyBytes = base64FromBytes(message.bodyBytes !== undefined ? message.bodyBytes : new Uint8Array())); - message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); - message.chainId !== undefined && (obj.chainId = message.chainId); - message.accountNumber !== undefined && (obj.accountNumber = (message.accountNumber || Long.UZERO).toString()); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - message.tip !== undefined && (obj.tip = message.tip ? Tip.toJSON(message.tip) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): SignDocDirectAux { - const message = createBaseSignDocDirectAux(); - message.bodyBytes = object.bodyBytes ?? new Uint8Array(); - if (object.publicKey !== undefined && object.publicKey !== null) { - message.publicKey = Any.fromPartial(object.publicKey); - } - message.chainId = object.chainId ?? ""; - if (object.accountNumber !== undefined && object.accountNumber !== null) { - message.accountNumber = Long.fromValue(object.accountNumber); - } - if (object.sequence !== undefined && object.sequence !== null) { - message.sequence = Long.fromValue(object.sequence); - } - if (object.tip !== undefined && object.tip !== null) { - message.tip = Tip.fromPartial(object.tip); - } - return message; - }, - fromSDK(object: SignDocDirectAuxSDKType): SignDocDirectAux { - return { - bodyBytes: object?.body_bytes, - publicKey: object.public_key ? Any.fromSDK(object.public_key) : undefined, - chainId: object?.chain_id, - accountNumber: object?.account_number, - sequence: object?.sequence, - tip: object.tip ? Tip.fromSDK(object.tip) : undefined - }; - }, - toSDK(message: SignDocDirectAux): SignDocDirectAuxSDKType { - const obj: any = {}; - obj.body_bytes = message.bodyBytes; - message.publicKey !== undefined && (obj.public_key = message.publicKey ? Any.toSDK(message.publicKey) : undefined); - obj.chain_id = message.chainId; - obj.account_number = message.accountNumber; - obj.sequence = message.sequence; - message.tip !== undefined && (obj.tip = message.tip ? Tip.toSDK(message.tip) : undefined); - return obj; - }, - fromAmino(object: SignDocDirectAuxAmino): SignDocDirectAux { - return { - bodyBytes: object.body_bytes, - publicKey: object?.public_key ? Any.fromAmino(object.public_key) : undefined, - chainId: object.chain_id, - accountNumber: Long.fromString(object.account_number), - sequence: Long.fromString(object.sequence), - tip: object?.tip ? Tip.fromAmino(object.tip) : undefined - }; - }, - toAmino(message: SignDocDirectAux): SignDocDirectAuxAmino { - const obj: any = {}; - obj.body_bytes = message.bodyBytes; - obj.public_key = message.publicKey ? Any.toAmino(message.publicKey) : undefined; - obj.chain_id = message.chainId; - obj.account_number = message.accountNumber ? message.accountNumber.toString() : undefined; - obj.sequence = message.sequence ? message.sequence.toString() : undefined; - obj.tip = message.tip ? Tip.toAmino(message.tip) : undefined; - return obj; - }, - fromAminoMsg(object: SignDocDirectAuxAminoMsg): SignDocDirectAux { - return SignDocDirectAux.fromAmino(object.value); - }, - toAminoMsg(message: SignDocDirectAux): SignDocDirectAuxAminoMsg { - return { - type: "cosmos-sdk/SignDocDirectAux", - value: SignDocDirectAux.toAmino(message) - }; - }, - fromProtoMsg(message: SignDocDirectAuxProtoMsg): SignDocDirectAux { - return SignDocDirectAux.decode(message.value); - }, - toProto(message: SignDocDirectAux): Uint8Array { - return SignDocDirectAux.encode(message).finish(); - }, - toProtoMsg(message: SignDocDirectAux): SignDocDirectAuxProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.SignDocDirectAux", - value: SignDocDirectAux.encode(message).finish() - }; - } -}; -function createBaseTxBody(): TxBody { - return { - messages: [], - memo: "", - timeoutHeight: Long.UZERO, - extensionOptions: [], - nonCriticalExtensionOptions: [] - }; -} -export const TxBody = { - typeUrl: "/cosmos.tx.v1beta1.TxBody", - aminoType: "cosmos-sdk/TxBody", - encode(message: TxBody, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.messages) { - Any.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.memo !== "") { - writer.uint32(18).string(message.memo); - } - if (!message.timeoutHeight.isZero()) { - writer.uint32(24).uint64(message.timeoutHeight); - } - for (const v of message.extensionOptions) { - Any.encode(v!, writer.uint32(8186).fork()).ldelim(); - } - for (const v of message.nonCriticalExtensionOptions) { - Any.encode(v!, writer.uint32(16378).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TxBody { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTxBody(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.messages.push(Any.decode(reader, reader.uint32())); - break; - case 2: - message.memo = reader.string(); - break; - case 3: - message.timeoutHeight = (reader.uint64() as Long); - break; - case 1023: - message.extensionOptions.push(Any.decode(reader, reader.uint32())); - break; - case 2047: - message.nonCriticalExtensionOptions.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TxBody { - const obj = createBaseTxBody(); - if (Array.isArray(object?.messages)) obj.messages = object.messages.map((e: any) => Any.fromJSON(e)); - if (isSet(object.memo)) obj.memo = String(object.memo); - if (isSet(object.timeoutHeight)) obj.timeoutHeight = Long.fromValue(object.timeoutHeight); - if (Array.isArray(object?.extensionOptions)) obj.extensionOptions = object.extensionOptions.map((e: any) => Any.fromJSON(e)); - if (Array.isArray(object?.nonCriticalExtensionOptions)) obj.nonCriticalExtensionOptions = object.nonCriticalExtensionOptions.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: TxBody): unknown { - const obj: any = {}; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.messages = []; - } - message.memo !== undefined && (obj.memo = message.memo); - message.timeoutHeight !== undefined && (obj.timeoutHeight = (message.timeoutHeight || Long.UZERO).toString()); - if (message.extensionOptions) { - obj.extensionOptions = message.extensionOptions.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.extensionOptions = []; - } - if (message.nonCriticalExtensionOptions) { - obj.nonCriticalExtensionOptions = message.nonCriticalExtensionOptions.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.nonCriticalExtensionOptions = []; - } - return obj; - }, - fromPartial(object: DeepPartial): TxBody { - const message = createBaseTxBody(); - message.messages = object.messages?.map(e => Any.fromPartial(e)) || []; - message.memo = object.memo ?? ""; - if (object.timeoutHeight !== undefined && object.timeoutHeight !== null) { - message.timeoutHeight = Long.fromValue(object.timeoutHeight); - } - message.extensionOptions = object.extensionOptions?.map(e => Any.fromPartial(e)) || []; - message.nonCriticalExtensionOptions = object.nonCriticalExtensionOptions?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: TxBodySDKType): TxBody { - return { - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromSDK(e)) : [], - memo: object?.memo, - timeoutHeight: object?.timeout_height, - extensionOptions: Array.isArray(object?.extension_options) ? object.extension_options.map((e: any) => Any.fromSDK(e)) : [], - nonCriticalExtensionOptions: Array.isArray(object?.non_critical_extension_options) ? object.non_critical_extension_options.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: TxBody): TxBodySDKType { - const obj: any = {}; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.messages = []; - } - obj.memo = message.memo; - obj.timeout_height = message.timeoutHeight; - if (message.extensionOptions) { - obj.extension_options = message.extensionOptions.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.extension_options = []; - } - if (message.nonCriticalExtensionOptions) { - obj.non_critical_extension_options = message.nonCriticalExtensionOptions.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.non_critical_extension_options = []; - } - return obj; - }, - fromAmino(object: TxBodyAmino): TxBody { - return { - messages: Array.isArray(object?.messages) ? object.messages.map((e: any) => Any.fromAmino(e)) : [], - memo: object.memo, - timeoutHeight: Long.fromString(object.timeout_height), - extensionOptions: Array.isArray(object?.extension_options) ? object.extension_options.map((e: any) => Any.fromAmino(e)) : [], - nonCriticalExtensionOptions: Array.isArray(object?.non_critical_extension_options) ? object.non_critical_extension_options.map((e: any) => Any.fromAmino(e)) : [] - }; - }, - toAmino(message: TxBody): TxBodyAmino { - const obj: any = {}; - if (message.messages) { - obj.messages = message.messages.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.messages = []; - } - obj.memo = message.memo; - obj.timeout_height = message.timeoutHeight ? message.timeoutHeight.toString() : undefined; - if (message.extensionOptions) { - obj.extension_options = message.extensionOptions.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.extension_options = []; - } - if (message.nonCriticalExtensionOptions) { - obj.non_critical_extension_options = message.nonCriticalExtensionOptions.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.non_critical_extension_options = []; - } - return obj; - }, - fromAminoMsg(object: TxBodyAminoMsg): TxBody { - return TxBody.fromAmino(object.value); - }, - toAminoMsg(message: TxBody): TxBodyAminoMsg { - return { - type: "cosmos-sdk/TxBody", - value: TxBody.toAmino(message) - }; - }, - fromProtoMsg(message: TxBodyProtoMsg): TxBody { - return TxBody.decode(message.value); - }, - toProto(message: TxBody): Uint8Array { - return TxBody.encode(message).finish(); - }, - toProtoMsg(message: TxBody): TxBodyProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.TxBody", - value: TxBody.encode(message).finish() - }; - } -}; -function createBaseAuthInfo(): AuthInfo { - return { - signerInfos: [], - fee: Fee.fromPartial({}), - tip: Tip.fromPartial({}) - }; -} -export const AuthInfo = { - typeUrl: "/cosmos.tx.v1beta1.AuthInfo", - aminoType: "cosmos-sdk/AuthInfo", - encode(message: AuthInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.signerInfos) { - SignerInfo.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.fee !== undefined) { - Fee.encode(message.fee, writer.uint32(18).fork()).ldelim(); - } - if (message.tip !== undefined) { - Tip.encode(message.tip, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AuthInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAuthInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.signerInfos.push(SignerInfo.decode(reader, reader.uint32())); - break; - case 2: - message.fee = Fee.decode(reader, reader.uint32()); - break; - case 3: - message.tip = Tip.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AuthInfo { - const obj = createBaseAuthInfo(); - if (Array.isArray(object?.signerInfos)) obj.signerInfos = object.signerInfos.map((e: any) => SignerInfo.fromJSON(e)); - if (isSet(object.fee)) obj.fee = Fee.fromJSON(object.fee); - if (isSet(object.tip)) obj.tip = Tip.fromJSON(object.tip); - return obj; - }, - toJSON(message: AuthInfo): unknown { - const obj: any = {}; - if (message.signerInfos) { - obj.signerInfos = message.signerInfos.map(e => e ? SignerInfo.toJSON(e) : undefined); - } else { - obj.signerInfos = []; - } - message.fee !== undefined && (obj.fee = message.fee ? Fee.toJSON(message.fee) : undefined); - message.tip !== undefined && (obj.tip = message.tip ? Tip.toJSON(message.tip) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): AuthInfo { - const message = createBaseAuthInfo(); - message.signerInfos = object.signerInfos?.map(e => SignerInfo.fromPartial(e)) || []; - if (object.fee !== undefined && object.fee !== null) { - message.fee = Fee.fromPartial(object.fee); - } - if (object.tip !== undefined && object.tip !== null) { - message.tip = Tip.fromPartial(object.tip); - } - return message; - }, - fromSDK(object: AuthInfoSDKType): AuthInfo { - return { - signerInfos: Array.isArray(object?.signer_infos) ? object.signer_infos.map((e: any) => SignerInfo.fromSDK(e)) : [], - fee: object.fee ? Fee.fromSDK(object.fee) : undefined, - tip: object.tip ? Tip.fromSDK(object.tip) : undefined - }; - }, - toSDK(message: AuthInfo): AuthInfoSDKType { - const obj: any = {}; - if (message.signerInfos) { - obj.signer_infos = message.signerInfos.map(e => e ? SignerInfo.toSDK(e) : undefined); - } else { - obj.signer_infos = []; - } - message.fee !== undefined && (obj.fee = message.fee ? Fee.toSDK(message.fee) : undefined); - message.tip !== undefined && (obj.tip = message.tip ? Tip.toSDK(message.tip) : undefined); - return obj; - }, - fromAmino(object: AuthInfoAmino): AuthInfo { - return { - signerInfos: Array.isArray(object?.signer_infos) ? object.signer_infos.map((e: any) => SignerInfo.fromAmino(e)) : [], - fee: object?.fee ? Fee.fromAmino(object.fee) : undefined, - tip: object?.tip ? Tip.fromAmino(object.tip) : undefined - }; - }, - toAmino(message: AuthInfo): AuthInfoAmino { - const obj: any = {}; - if (message.signerInfos) { - obj.signer_infos = message.signerInfos.map(e => e ? SignerInfo.toAmino(e) : undefined); - } else { - obj.signer_infos = []; - } - obj.fee = message.fee ? Fee.toAmino(message.fee) : undefined; - obj.tip = message.tip ? Tip.toAmino(message.tip) : undefined; - return obj; - }, - fromAminoMsg(object: AuthInfoAminoMsg): AuthInfo { - return AuthInfo.fromAmino(object.value); - }, - toAminoMsg(message: AuthInfo): AuthInfoAminoMsg { - return { - type: "cosmos-sdk/AuthInfo", - value: AuthInfo.toAmino(message) - }; - }, - fromProtoMsg(message: AuthInfoProtoMsg): AuthInfo { - return AuthInfo.decode(message.value); - }, - toProto(message: AuthInfo): Uint8Array { - return AuthInfo.encode(message).finish(); - }, - toProtoMsg(message: AuthInfo): AuthInfoProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.AuthInfo", - value: AuthInfo.encode(message).finish() - }; - } -}; -function createBaseSignerInfo(): SignerInfo { - return { - publicKey: Any.fromPartial({}), - modeInfo: ModeInfo.fromPartial({}), - sequence: Long.UZERO - }; -} -export const SignerInfo = { - typeUrl: "/cosmos.tx.v1beta1.SignerInfo", - aminoType: "cosmos-sdk/SignerInfo", - encode(message: SignerInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.publicKey !== undefined) { - Any.encode(message.publicKey, writer.uint32(10).fork()).ldelim(); - } - if (message.modeInfo !== undefined) { - ModeInfo.encode(message.modeInfo, writer.uint32(18).fork()).ldelim(); - } - if (!message.sequence.isZero()) { - writer.uint32(24).uint64(message.sequence); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SignerInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSignerInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.publicKey = Any.decode(reader, reader.uint32()); - break; - case 2: - message.modeInfo = ModeInfo.decode(reader, reader.uint32()); - break; - case 3: - message.sequence = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SignerInfo { - const obj = createBaseSignerInfo(); - if (isSet(object.publicKey)) obj.publicKey = Any.fromJSON(object.publicKey); - if (isSet(object.modeInfo)) obj.modeInfo = ModeInfo.fromJSON(object.modeInfo); - if (isSet(object.sequence)) obj.sequence = Long.fromValue(object.sequence); - return obj; - }, - toJSON(message: SignerInfo): unknown { - const obj: any = {}; - message.publicKey !== undefined && (obj.publicKey = message.publicKey ? Any.toJSON(message.publicKey) : undefined); - message.modeInfo !== undefined && (obj.modeInfo = message.modeInfo ? ModeInfo.toJSON(message.modeInfo) : undefined); - message.sequence !== undefined && (obj.sequence = (message.sequence || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): SignerInfo { - const message = createBaseSignerInfo(); - if (object.publicKey !== undefined && object.publicKey !== null) { - message.publicKey = Any.fromPartial(object.publicKey); - } - if (object.modeInfo !== undefined && object.modeInfo !== null) { - message.modeInfo = ModeInfo.fromPartial(object.modeInfo); - } - if (object.sequence !== undefined && object.sequence !== null) { - message.sequence = Long.fromValue(object.sequence); - } - return message; - }, - fromSDK(object: SignerInfoSDKType): SignerInfo { - return { - publicKey: object.public_key ? Any.fromSDK(object.public_key) : undefined, - modeInfo: object.mode_info ? ModeInfo.fromSDK(object.mode_info) : undefined, - sequence: object?.sequence - }; - }, - toSDK(message: SignerInfo): SignerInfoSDKType { - const obj: any = {}; - message.publicKey !== undefined && (obj.public_key = message.publicKey ? Any.toSDK(message.publicKey) : undefined); - message.modeInfo !== undefined && (obj.mode_info = message.modeInfo ? ModeInfo.toSDK(message.modeInfo) : undefined); - obj.sequence = message.sequence; - return obj; - }, - fromAmino(object: SignerInfoAmino): SignerInfo { - return { - publicKey: object?.public_key ? Any.fromAmino(object.public_key) : undefined, - modeInfo: object?.mode_info ? ModeInfo.fromAmino(object.mode_info) : undefined, - sequence: Long.fromString(object.sequence) - }; - }, - toAmino(message: SignerInfo): SignerInfoAmino { - const obj: any = {}; - obj.public_key = message.publicKey ? Any.toAmino(message.publicKey) : undefined; - obj.mode_info = message.modeInfo ? ModeInfo.toAmino(message.modeInfo) : undefined; - obj.sequence = message.sequence ? message.sequence.toString() : undefined; - return obj; - }, - fromAminoMsg(object: SignerInfoAminoMsg): SignerInfo { - return SignerInfo.fromAmino(object.value); - }, - toAminoMsg(message: SignerInfo): SignerInfoAminoMsg { - return { - type: "cosmos-sdk/SignerInfo", - value: SignerInfo.toAmino(message) - }; - }, - fromProtoMsg(message: SignerInfoProtoMsg): SignerInfo { - return SignerInfo.decode(message.value); - }, - toProto(message: SignerInfo): Uint8Array { - return SignerInfo.encode(message).finish(); - }, - toProtoMsg(message: SignerInfo): SignerInfoProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.SignerInfo", - value: SignerInfo.encode(message).finish() - }; - } -}; -function createBaseModeInfo(): ModeInfo { - return { - single: undefined, - multi: undefined - }; -} -export const ModeInfo = { - typeUrl: "/cosmos.tx.v1beta1.ModeInfo", - aminoType: "cosmos-sdk/ModeInfo", - encode(message: ModeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.single !== undefined) { - ModeInfo_Single.encode(message.single, writer.uint32(10).fork()).ldelim(); - } - if (message.multi !== undefined) { - ModeInfo_Multi.encode(message.multi, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModeInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.single = ModeInfo_Single.decode(reader, reader.uint32()); - break; - case 2: - message.multi = ModeInfo_Multi.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModeInfo { - const obj = createBaseModeInfo(); - if (isSet(object.single)) obj.single = ModeInfo_Single.fromJSON(object.single); - if (isSet(object.multi)) obj.multi = ModeInfo_Multi.fromJSON(object.multi); - return obj; - }, - toJSON(message: ModeInfo): unknown { - const obj: any = {}; - message.single !== undefined && (obj.single = message.single ? ModeInfo_Single.toJSON(message.single) : undefined); - message.multi !== undefined && (obj.multi = message.multi ? ModeInfo_Multi.toJSON(message.multi) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ModeInfo { - const message = createBaseModeInfo(); - if (object.single !== undefined && object.single !== null) { - message.single = ModeInfo_Single.fromPartial(object.single); - } - if (object.multi !== undefined && object.multi !== null) { - message.multi = ModeInfo_Multi.fromPartial(object.multi); - } - return message; - }, - fromSDK(object: ModeInfoSDKType): ModeInfo { - return { - single: object.single ? ModeInfo_Single.fromSDK(object.single) : undefined, - multi: object.multi ? ModeInfo_Multi.fromSDK(object.multi) : undefined - }; - }, - toSDK(message: ModeInfo): ModeInfoSDKType { - const obj: any = {}; - message.single !== undefined && (obj.single = message.single ? ModeInfo_Single.toSDK(message.single) : undefined); - message.multi !== undefined && (obj.multi = message.multi ? ModeInfo_Multi.toSDK(message.multi) : undefined); - return obj; - }, - fromAmino(object: ModeInfoAmino): ModeInfo { - return { - single: object?.single ? ModeInfo_Single.fromAmino(object.single) : undefined, - multi: object?.multi ? ModeInfo_Multi.fromAmino(object.multi) : undefined - }; - }, - toAmino(message: ModeInfo): ModeInfoAmino { - const obj: any = {}; - obj.single = message.single ? ModeInfo_Single.toAmino(message.single) : undefined; - obj.multi = message.multi ? ModeInfo_Multi.toAmino(message.multi) : undefined; - return obj; - }, - fromAminoMsg(object: ModeInfoAminoMsg): ModeInfo { - return ModeInfo.fromAmino(object.value); - }, - toAminoMsg(message: ModeInfo): ModeInfoAminoMsg { - return { - type: "cosmos-sdk/ModeInfo", - value: ModeInfo.toAmino(message) - }; - }, - fromProtoMsg(message: ModeInfoProtoMsg): ModeInfo { - return ModeInfo.decode(message.value); - }, - toProto(message: ModeInfo): Uint8Array { - return ModeInfo.encode(message).finish(); - }, - toProtoMsg(message: ModeInfo): ModeInfoProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.ModeInfo", - value: ModeInfo.encode(message).finish() - }; - } -}; -function createBaseModeInfo_Single(): ModeInfo_Single { - return { - mode: 0 - }; -} -export const ModeInfo_Single = { - typeUrl: "/cosmos.tx.v1beta1.Single", - aminoType: "cosmos-sdk/Single", - encode(message: ModeInfo_Single, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.mode !== 0) { - writer.uint32(8).int32(message.mode); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Single { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModeInfo_Single(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.mode = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModeInfo_Single { - const obj = createBaseModeInfo_Single(); - if (isSet(object.mode)) obj.mode = signModeFromJSON(object.mode); - return obj; - }, - toJSON(message: ModeInfo_Single): unknown { - const obj: any = {}; - message.mode !== undefined && (obj.mode = signModeToJSON(message.mode)); - return obj; - }, - fromPartial(object: DeepPartial): ModeInfo_Single { - const message = createBaseModeInfo_Single(); - message.mode = object.mode ?? 0; - return message; - }, - fromSDK(object: ModeInfo_SingleSDKType): ModeInfo_Single { - return { - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : -1 - }; - }, - toSDK(message: ModeInfo_Single): ModeInfo_SingleSDKType { - const obj: any = {}; - message.mode !== undefined && (obj.mode = signModeToJSON(message.mode)); - return obj; - }, - fromAmino(object: ModeInfo_SingleAmino): ModeInfo_Single { - return { - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : -1 - }; - }, - toAmino(message: ModeInfo_Single): ModeInfo_SingleAmino { - const obj: any = {}; - obj.mode = message.mode; - return obj; - }, - fromAminoMsg(object: ModeInfo_SingleAminoMsg): ModeInfo_Single { - return ModeInfo_Single.fromAmino(object.value); - }, - toAminoMsg(message: ModeInfo_Single): ModeInfo_SingleAminoMsg { - return { - type: "cosmos-sdk/Single", - value: ModeInfo_Single.toAmino(message) - }; - }, - fromProtoMsg(message: ModeInfo_SingleProtoMsg): ModeInfo_Single { - return ModeInfo_Single.decode(message.value); - }, - toProto(message: ModeInfo_Single): Uint8Array { - return ModeInfo_Single.encode(message).finish(); - }, - toProtoMsg(message: ModeInfo_Single): ModeInfo_SingleProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.Single", - value: ModeInfo_Single.encode(message).finish() - }; - } -}; -function createBaseModeInfo_Multi(): ModeInfo_Multi { - return { - bitarray: CompactBitArray.fromPartial({}), - modeInfos: [] - }; -} -export const ModeInfo_Multi = { - typeUrl: "/cosmos.tx.v1beta1.Multi", - aminoType: "cosmos-sdk/Multi", - encode(message: ModeInfo_Multi, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.bitarray !== undefined) { - CompactBitArray.encode(message.bitarray, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.modeInfos) { - ModeInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Multi { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModeInfo_Multi(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.bitarray = CompactBitArray.decode(reader, reader.uint32()); - break; - case 2: - message.modeInfos.push(ModeInfo.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModeInfo_Multi { - const obj = createBaseModeInfo_Multi(); - if (isSet(object.bitarray)) obj.bitarray = CompactBitArray.fromJSON(object.bitarray); - if (Array.isArray(object?.modeInfos)) obj.modeInfos = object.modeInfos.map((e: any) => ModeInfo.fromJSON(e)); - return obj; - }, - toJSON(message: ModeInfo_Multi): unknown { - const obj: any = {}; - message.bitarray !== undefined && (obj.bitarray = message.bitarray ? CompactBitArray.toJSON(message.bitarray) : undefined); - if (message.modeInfos) { - obj.modeInfos = message.modeInfos.map(e => e ? ModeInfo.toJSON(e) : undefined); - } else { - obj.modeInfos = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ModeInfo_Multi { - const message = createBaseModeInfo_Multi(); - if (object.bitarray !== undefined && object.bitarray !== null) { - message.bitarray = CompactBitArray.fromPartial(object.bitarray); - } - message.modeInfos = object.modeInfos?.map(e => ModeInfo.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ModeInfo_MultiSDKType): ModeInfo_Multi { - return { - bitarray: object.bitarray ? CompactBitArray.fromSDK(object.bitarray) : undefined, - modeInfos: Array.isArray(object?.mode_infos) ? object.mode_infos.map((e: any) => ModeInfo.fromSDK(e)) : [] - }; - }, - toSDK(message: ModeInfo_Multi): ModeInfo_MultiSDKType { - const obj: any = {}; - message.bitarray !== undefined && (obj.bitarray = message.bitarray ? CompactBitArray.toSDK(message.bitarray) : undefined); - if (message.modeInfos) { - obj.mode_infos = message.modeInfos.map(e => e ? ModeInfo.toSDK(e) : undefined); - } else { - obj.mode_infos = []; - } - return obj; - }, - fromAmino(object: ModeInfo_MultiAmino): ModeInfo_Multi { - return { - bitarray: object?.bitarray ? CompactBitArray.fromAmino(object.bitarray) : undefined, - modeInfos: Array.isArray(object?.mode_infos) ? object.mode_infos.map((e: any) => ModeInfo.fromAmino(e)) : [] - }; - }, - toAmino(message: ModeInfo_Multi): ModeInfo_MultiAmino { - const obj: any = {}; - obj.bitarray = message.bitarray ? CompactBitArray.toAmino(message.bitarray) : undefined; - if (message.modeInfos) { - obj.mode_infos = message.modeInfos.map(e => e ? ModeInfo.toAmino(e) : undefined); - } else { - obj.mode_infos = []; - } - return obj; - }, - fromAminoMsg(object: ModeInfo_MultiAminoMsg): ModeInfo_Multi { - return ModeInfo_Multi.fromAmino(object.value); - }, - toAminoMsg(message: ModeInfo_Multi): ModeInfo_MultiAminoMsg { - return { - type: "cosmos-sdk/Multi", - value: ModeInfo_Multi.toAmino(message) - }; - }, - fromProtoMsg(message: ModeInfo_MultiProtoMsg): ModeInfo_Multi { - return ModeInfo_Multi.decode(message.value); - }, - toProto(message: ModeInfo_Multi): Uint8Array { - return ModeInfo_Multi.encode(message).finish(); - }, - toProtoMsg(message: ModeInfo_Multi): ModeInfo_MultiProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.Multi", - value: ModeInfo_Multi.encode(message).finish() - }; - } -}; -function createBaseFee(): Fee { - return { - amount: [], - gasLimit: Long.UZERO, - payer: "", - granter: "" - }; -} -export const Fee = { - typeUrl: "/cosmos.tx.v1beta1.Fee", - aminoType: "cosmos-sdk/Fee", - encode(message: Fee, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (!message.gasLimit.isZero()) { - writer.uint32(16).uint64(message.gasLimit); - } - if (message.payer !== "") { - writer.uint32(26).string(message.payer); - } - if (message.granter !== "") { - writer.uint32(34).string(message.granter); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Fee { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFee(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - case 2: - message.gasLimit = (reader.uint64() as Long); - break; - case 3: - message.payer = reader.string(); - break; - case 4: - message.granter = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Fee { - const obj = createBaseFee(); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.gasLimit)) obj.gasLimit = Long.fromValue(object.gasLimit); - if (isSet(object.payer)) obj.payer = String(object.payer); - if (isSet(object.granter)) obj.granter = String(object.granter); - return obj; - }, - toJSON(message: Fee): unknown { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - message.gasLimit !== undefined && (obj.gasLimit = (message.gasLimit || Long.UZERO).toString()); - message.payer !== undefined && (obj.payer = message.payer); - message.granter !== undefined && (obj.granter = message.granter); - return obj; - }, - fromPartial(object: DeepPartial): Fee { - const message = createBaseFee(); - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - if (object.gasLimit !== undefined && object.gasLimit !== null) { - message.gasLimit = Long.fromValue(object.gasLimit); - } - message.payer = object.payer ?? ""; - message.granter = object.granter ?? ""; - return message; - }, - fromSDK(object: FeeSDKType): Fee { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [], - gasLimit: object?.gas_limit, - payer: object?.payer, - granter: object?.granter - }; - }, - toSDK(message: Fee): FeeSDKType { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - obj.gas_limit = message.gasLimit; - obj.payer = message.payer; - obj.granter = message.granter; - return obj; - }, - fromAmino(object: FeeAmino): Fee { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [], - gasLimit: Long.fromString(object.gas_limit), - payer: object.payer, - granter: object.granter - }; - }, - toAmino(message: Fee): FeeAmino { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - obj.gas_limit = message.gasLimit ? message.gasLimit.toString() : undefined; - obj.payer = message.payer; - obj.granter = message.granter; - return obj; - }, - fromAminoMsg(object: FeeAminoMsg): Fee { - return Fee.fromAmino(object.value); - }, - toAminoMsg(message: Fee): FeeAminoMsg { - return { - type: "cosmos-sdk/Fee", - value: Fee.toAmino(message) - }; - }, - fromProtoMsg(message: FeeProtoMsg): Fee { - return Fee.decode(message.value); - }, - toProto(message: Fee): Uint8Array { - return Fee.encode(message).finish(); - }, - toProtoMsg(message: Fee): FeeProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.Fee", - value: Fee.encode(message).finish() - }; - } -}; -function createBaseTip(): Tip { - return { - amount: [], - tipper: "" - }; -} -export const Tip = { - typeUrl: "/cosmos.tx.v1beta1.Tip", - aminoType: "cosmos-sdk/Tip", - encode(message: Tip, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.tipper !== "") { - writer.uint32(18).string(message.tipper); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Tip { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTip(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - case 2: - message.tipper = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Tip { - const obj = createBaseTip(); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.tipper)) obj.tipper = String(object.tipper); - return obj; - }, - toJSON(message: Tip): unknown { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - message.tipper !== undefined && (obj.tipper = message.tipper); - return obj; - }, - fromPartial(object: DeepPartial): Tip { - const message = createBaseTip(); - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - message.tipper = object.tipper ?? ""; - return message; - }, - fromSDK(object: TipSDKType): Tip { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [], - tipper: object?.tipper - }; - }, - toSDK(message: Tip): TipSDKType { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - obj.tipper = message.tipper; - return obj; - }, - fromAmino(object: TipAmino): Tip { - return { - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [], - tipper: object.tipper - }; - }, - toAmino(message: Tip): TipAmino { - const obj: any = {}; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - obj.tipper = message.tipper; - return obj; - }, - fromAminoMsg(object: TipAminoMsg): Tip { - return Tip.fromAmino(object.value); - }, - toAminoMsg(message: Tip): TipAminoMsg { - return { - type: "cosmos-sdk/Tip", - value: Tip.toAmino(message) - }; - }, - fromProtoMsg(message: TipProtoMsg): Tip { - return Tip.decode(message.value); - }, - toProto(message: Tip): Uint8Array { - return Tip.encode(message).finish(); - }, - toProtoMsg(message: Tip): TipProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.Tip", - value: Tip.encode(message).finish() - }; - } -}; -function createBaseAuxSignerData(): AuxSignerData { - return { - address: "", - signDoc: SignDocDirectAux.fromPartial({}), - mode: 0, - sig: new Uint8Array() - }; -} -export const AuxSignerData = { - typeUrl: "/cosmos.tx.v1beta1.AuxSignerData", - aminoType: "cosmos-sdk/AuxSignerData", - encode(message: AuxSignerData, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.signDoc !== undefined) { - SignDocDirectAux.encode(message.signDoc, writer.uint32(18).fork()).ldelim(); - } - if (message.mode !== 0) { - writer.uint32(24).int32(message.mode); - } - if (message.sig.length !== 0) { - writer.uint32(34).bytes(message.sig); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AuxSignerData { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAuxSignerData(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.signDoc = SignDocDirectAux.decode(reader, reader.uint32()); - break; - case 3: - message.mode = (reader.int32() as any); - break; - case 4: - message.sig = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AuxSignerData { - const obj = createBaseAuxSignerData(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.signDoc)) obj.signDoc = SignDocDirectAux.fromJSON(object.signDoc); - if (isSet(object.mode)) obj.mode = signModeFromJSON(object.mode); - if (isSet(object.sig)) obj.sig = bytesFromBase64(object.sig); - return obj; - }, - toJSON(message: AuxSignerData): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.signDoc !== undefined && (obj.signDoc = message.signDoc ? SignDocDirectAux.toJSON(message.signDoc) : undefined); - message.mode !== undefined && (obj.mode = signModeToJSON(message.mode)); - message.sig !== undefined && (obj.sig = base64FromBytes(message.sig !== undefined ? message.sig : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): AuxSignerData { - const message = createBaseAuxSignerData(); - message.address = object.address ?? ""; - if (object.signDoc !== undefined && object.signDoc !== null) { - message.signDoc = SignDocDirectAux.fromPartial(object.signDoc); - } - message.mode = object.mode ?? 0; - message.sig = object.sig ?? new Uint8Array(); - return message; - }, - fromSDK(object: AuxSignerDataSDKType): AuxSignerData { - return { - address: object?.address, - signDoc: object.sign_doc ? SignDocDirectAux.fromSDK(object.sign_doc) : undefined, - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : -1, - sig: object?.sig - }; - }, - toSDK(message: AuxSignerData): AuxSignerDataSDKType { - const obj: any = {}; - obj.address = message.address; - message.signDoc !== undefined && (obj.sign_doc = message.signDoc ? SignDocDirectAux.toSDK(message.signDoc) : undefined); - message.mode !== undefined && (obj.mode = signModeToJSON(message.mode)); - obj.sig = message.sig; - return obj; - }, - fromAmino(object: AuxSignerDataAmino): AuxSignerData { - return { - address: object.address, - signDoc: object?.sign_doc ? SignDocDirectAux.fromAmino(object.sign_doc) : undefined, - mode: isSet(object.mode) ? signModeFromJSON(object.mode) : -1, - sig: object.sig - }; - }, - toAmino(message: AuxSignerData): AuxSignerDataAmino { - const obj: any = {}; - obj.address = message.address; - obj.sign_doc = message.signDoc ? SignDocDirectAux.toAmino(message.signDoc) : undefined; - obj.mode = message.mode; - obj.sig = message.sig; - return obj; - }, - fromAminoMsg(object: AuxSignerDataAminoMsg): AuxSignerData { - return AuxSignerData.fromAmino(object.value); - }, - toAminoMsg(message: AuxSignerData): AuxSignerDataAminoMsg { - return { - type: "cosmos-sdk/AuxSignerData", - value: AuxSignerData.toAmino(message) - }; - }, - fromProtoMsg(message: AuxSignerDataProtoMsg): AuxSignerData { - return AuxSignerData.decode(message.value); - }, - toProto(message: AuxSignerData): Uint8Array { - return AuxSignerData.encode(message).finish(); - }, - toProtoMsg(message: AuxSignerData): AuxSignerDataProtoMsg { - return { - typeUrl: "/cosmos.tx.v1beta1.AuxSignerData", - value: AuxSignerData.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts b/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts deleted file mode 100644 index c91072b61..000000000 --- a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Plan, PlanSDKType, ModuleVersion, ModuleVersionSDKType } from "./upgrade"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryCurrentPlanRequest, QueryCurrentPlanRequestSDKType, QueryCurrentPlanResponse, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanRequestSDKType, QueryAppliedPlanResponse, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateRequestSDKType, QueryUpgradedConsensusStateResponse, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsRequestSDKType, QueryModuleVersionsResponse, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityRequestSDKType, QueryAuthorityResponse, QueryAuthorityResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.currentPlan = this.currentPlan.bind(this); - this.appliedPlan = this.appliedPlan.bind(this); - this.upgradedConsensusState = this.upgradedConsensusState.bind(this); - this.moduleVersions = this.moduleVersions.bind(this); - this.authority = this.authority.bind(this); - } - /* CurrentPlan queries the current upgrade plan. */ - async currentPlan(_params: QueryCurrentPlanRequest = {}): Promise { - const endpoint = `cosmos/upgrade/v1beta1/current_plan`; - return await this.req.get(endpoint); - } - /* AppliedPlan queries a previously applied upgrade plan by its name. */ - async appliedPlan(params: QueryAppliedPlanRequest): Promise { - const endpoint = `cosmos/upgrade/v1beta1/applied_plan/${params.name}`; - return await this.req.get(endpoint); - } - /* UpgradedConsensusState queries the consensus state that will serve - as a trusted kernel for the next version of this chain. It will only be - stored at the last height of this chain. - UpgradedConsensusState RPC not supported with legacy querier - This rpc is deprecated now that IBC has its own replacement - (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) */ - async upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise { - const endpoint = `cosmos/upgrade/v1beta1/upgraded_consensus_state/${params.lastHeight}`; - return await this.req.get(endpoint); - } - /* ModuleVersions queries the list of module versions from state. - - Since: cosmos-sdk 0.43 */ - async moduleVersions(params: QueryModuleVersionsRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.moduleName !== "undefined") { - options.params.module_name = params.moduleName; - } - const endpoint = `cosmos/upgrade/v1beta1/module_versions`; - return await this.req.get(endpoint, options); - } - /* Returns the account with authority to conduct upgrades */ - async authority(_params: QueryAuthorityRequest = {}): Promise { - const endpoint = `cosmos/upgrade/v1beta1/authority`; - return await this.req.get(endpoint); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 9038abb75..000000000 --- a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { Plan, PlanSDKType, ModuleVersion, ModuleVersionSDKType } from "./upgrade"; -import * as fm from "../../../grpc-gateway"; -import { QueryCurrentPlanRequest, QueryCurrentPlanRequestSDKType, QueryCurrentPlanResponse, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanRequestSDKType, QueryAppliedPlanResponse, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateRequestSDKType, QueryUpgradedConsensusStateResponse, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsRequestSDKType, QueryModuleVersionsResponse, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityRequestSDKType, QueryAuthorityResponse, QueryAuthorityResponseSDKType } from "./query"; -export class Query { - /** CurrentPlan queries the current upgrade plan. */ - static currentPlan(request: QueryCurrentPlanRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/upgrade/v1beta1/current_plan?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** AppliedPlan queries a previously applied upgrade plan by its name. */ - static appliedPlan(request: QueryAppliedPlanRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/upgrade/v1beta1/applied_plan/${request["name"]}?${fm.renderURLSearchParams({ - ...request - }, ["name"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * UpgradedConsensusState queries the consensus state that will serve - * as a trusted kernel for the next version of this chain. It will only be - * stored at the last height of this chain. - * UpgradedConsensusState RPC not supported with legacy querier - * This rpc is deprecated now that IBC has its own replacement - * (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - */ - static upgradedConsensusState(request: QueryUpgradedConsensusStateRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/upgrade/v1beta1/upgraded_consensus_state/${request["last_height"]}?${fm.renderURLSearchParams({ - ...request - }, ["last_height"])}`, { - ...initRequest, - method: "GET" - }); - } - /** - * ModuleVersions queries the list of module versions from state. - * - * Since: cosmos-sdk 0.43 - */ - static moduleVersions(request: QueryModuleVersionsRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/upgrade/v1beta1/module_versions?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** Returns the account with authority to conduct upgrades */ - static authority(request: QueryAuthorityRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos/upgrade/v1beta1/authority?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** CurrentPlan queries the current upgrade plan. */ - async currentPlan(req: QueryCurrentPlanRequest, headers?: HeadersInit): Promise { - return Query.currentPlan(req, { - headers, - pathPrefix: this.url - }); - } - /** AppliedPlan queries a previously applied upgrade plan by its name. */ - async appliedPlan(req: QueryAppliedPlanRequest, headers?: HeadersInit): Promise { - return Query.appliedPlan(req, { - headers, - pathPrefix: this.url - }); - } - /** - * UpgradedConsensusState queries the consensus state that will serve - * as a trusted kernel for the next version of this chain. It will only be - * stored at the last height of this chain. - * UpgradedConsensusState RPC not supported with legacy querier - * This rpc is deprecated now that IBC has its own replacement - * (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - */ - async upgradedConsensusState(req: QueryUpgradedConsensusStateRequest, headers?: HeadersInit): Promise { - return Query.upgradedConsensusState(req, { - headers, - pathPrefix: this.url - }); - } - /** - * ModuleVersions queries the list of module versions from state. - * - * Since: cosmos-sdk 0.43 - */ - async moduleVersions(req: QueryModuleVersionsRequest, headers?: HeadersInit): Promise { - return Query.moduleVersions(req, { - headers, - pathPrefix: this.url - }); - } - /** Returns the account with authority to conduct upgrades */ - async authority(req: QueryAuthorityRequest, headers?: HeadersInit): Promise { - return Query.authority(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.ts b/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.ts deleted file mode 100644 index 2225f9552..000000000 --- a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/query.ts +++ /dev/null @@ -1,1198 +0,0 @@ -import { Plan, PlanAmino, PlanSDKType, ModuleVersion, ModuleVersionAmino, ModuleVersionSDKType } from "./upgrade"; -import { Long, DeepPartial, isSet, bytesFromBase64, base64FromBytes } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.upgrade.v1beta1"; -/** - * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanRequest {} -export interface QueryCurrentPlanRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanRequest"; - value: Uint8Array; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanRequestAmino {} -export interface QueryCurrentPlanRequestAminoMsg { - type: "cosmos-sdk/QueryCurrentPlanRequest"; - value: QueryCurrentPlanRequestAmino; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanRequestSDKType {} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanResponse { - /** plan is the current upgrade plan. */ - plan: Plan; -} -export interface QueryCurrentPlanResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanResponse"; - value: Uint8Array; -} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanResponseAmino { - /** plan is the current upgrade plan. */ - plan?: PlanAmino; -} -export interface QueryCurrentPlanResponseAminoMsg { - type: "cosmos-sdk/QueryCurrentPlanResponse"; - value: QueryCurrentPlanResponseAmino; -} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanResponseSDKType { - plan: PlanSDKType; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanRequest { - /** name is the name of the applied plan to query for. */ - name: string; -} -export interface QueryAppliedPlanRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanRequest"; - value: Uint8Array; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanRequestAmino { - /** name is the name of the applied plan to query for. */ - name: string; -} -export interface QueryAppliedPlanRequestAminoMsg { - type: "cosmos-sdk/QueryAppliedPlanRequest"; - value: QueryAppliedPlanRequestAmino; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanRequestSDKType { - name: string; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanResponse { - /** height is the block height at which the plan was applied. */ - height: Long; -} -export interface QueryAppliedPlanResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanResponse"; - value: Uint8Array; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanResponseAmino { - /** height is the block height at which the plan was applied. */ - height: string; -} -export interface QueryAppliedPlanResponseAminoMsg { - type: "cosmos-sdk/QueryAppliedPlanResponse"; - value: QueryAppliedPlanResponseAmino; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanResponseSDKType { - height: Long; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateRequest { - /** - * last height of the current chain must be sent in request - * as this is the height under which next consensus state is stored - */ - lastHeight: Long; -} -export interface QueryUpgradedConsensusStateRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest"; - value: Uint8Array; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateRequestAmino { - /** - * last height of the current chain must be sent in request - * as this is the height under which next consensus state is stored - */ - last_height: string; -} -export interface QueryUpgradedConsensusStateRequestAminoMsg { - type: "cosmos-sdk/QueryUpgradedConsensusStateRequest"; - value: QueryUpgradedConsensusStateRequestAmino; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateRequestSDKType { - last_height: Long; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateResponse { - /** Since: cosmos-sdk 0.43 */ - upgradedConsensusState: Uint8Array; -} -export interface QueryUpgradedConsensusStateResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse"; - value: Uint8Array; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateResponseAmino { - /** Since: cosmos-sdk 0.43 */ - upgraded_consensus_state: Uint8Array; -} -export interface QueryUpgradedConsensusStateResponseAminoMsg { - type: "cosmos-sdk/QueryUpgradedConsensusStateResponse"; - value: QueryUpgradedConsensusStateResponseAmino; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateResponseSDKType { - upgraded_consensus_state: Uint8Array; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsRequest { - /** - * module_name is a field to query a specific module - * consensus version from state. Leaving this empty will - * fetch the full list of module versions from state - */ - moduleName: string; -} -export interface QueryModuleVersionsRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsRequest"; - value: Uint8Array; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsRequestAmino { - /** - * module_name is a field to query a specific module - * consensus version from state. Leaving this empty will - * fetch the full list of module versions from state - */ - module_name: string; -} -export interface QueryModuleVersionsRequestAminoMsg { - type: "cosmos-sdk/QueryModuleVersionsRequest"; - value: QueryModuleVersionsRequestAmino; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsRequestSDKType { - module_name: string; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsResponse { - /** module_versions is a list of module names with their consensus versions. */ - moduleVersions: ModuleVersion[]; -} -export interface QueryModuleVersionsResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsResponse"; - value: Uint8Array; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsResponseAmino { - /** module_versions is a list of module names with their consensus versions. */ - module_versions: ModuleVersionAmino[]; -} -export interface QueryModuleVersionsResponseAminoMsg { - type: "cosmos-sdk/QueryModuleVersionsResponse"; - value: QueryModuleVersionsResponseAmino; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsResponseSDKType { - module_versions: ModuleVersionSDKType[]; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityRequest {} -export interface QueryAuthorityRequestProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityRequest"; - value: Uint8Array; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityRequestAmino {} -export interface QueryAuthorityRequestAminoMsg { - type: "cosmos-sdk/QueryAuthorityRequest"; - value: QueryAuthorityRequestAmino; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityRequestSDKType {} -/** - * QueryAuthorityResponse is the response type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityResponse { - address: string; -} -export interface QueryAuthorityResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityResponse"; - value: Uint8Array; -} -/** - * QueryAuthorityResponse is the response type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityResponseAmino { - address: string; -} -export interface QueryAuthorityResponseAminoMsg { - type: "cosmos-sdk/QueryAuthorityResponse"; - value: QueryAuthorityResponseAmino; -} -/** - * QueryAuthorityResponse is the response type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityResponseSDKType { - address: string; -} -function createBaseQueryCurrentPlanRequest(): QueryCurrentPlanRequest { - return {}; -} -export const QueryCurrentPlanRequest = { - typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanRequest", - aminoType: "cosmos-sdk/QueryCurrentPlanRequest", - encode(_: QueryCurrentPlanRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCurrentPlanRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryCurrentPlanRequest { - const obj = createBaseQueryCurrentPlanRequest(); - return obj; - }, - toJSON(_: QueryCurrentPlanRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryCurrentPlanRequest { - const message = createBaseQueryCurrentPlanRequest(); - return message; - }, - fromSDK(_: QueryCurrentPlanRequestSDKType): QueryCurrentPlanRequest { - return {}; - }, - toSDK(_: QueryCurrentPlanRequest): QueryCurrentPlanRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryCurrentPlanRequestAmino): QueryCurrentPlanRequest { - return {}; - }, - toAmino(_: QueryCurrentPlanRequest): QueryCurrentPlanRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryCurrentPlanRequestAminoMsg): QueryCurrentPlanRequest { - return QueryCurrentPlanRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryCurrentPlanRequest): QueryCurrentPlanRequestAminoMsg { - return { - type: "cosmos-sdk/QueryCurrentPlanRequest", - value: QueryCurrentPlanRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryCurrentPlanRequestProtoMsg): QueryCurrentPlanRequest { - return QueryCurrentPlanRequest.decode(message.value); - }, - toProto(message: QueryCurrentPlanRequest): Uint8Array { - return QueryCurrentPlanRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryCurrentPlanRequest): QueryCurrentPlanRequestProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanRequest", - value: QueryCurrentPlanRequest.encode(message).finish() - }; - } -}; -function createBaseQueryCurrentPlanResponse(): QueryCurrentPlanResponse { - return { - plan: Plan.fromPartial({}) - }; -} -export const QueryCurrentPlanResponse = { - typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanResponse", - aminoType: "cosmos-sdk/QueryCurrentPlanResponse", - encode(message: QueryCurrentPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.plan !== undefined) { - Plan.encode(message.plan, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCurrentPlanResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.plan = Plan.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryCurrentPlanResponse { - const obj = createBaseQueryCurrentPlanResponse(); - if (isSet(object.plan)) obj.plan = Plan.fromJSON(object.plan); - return obj; - }, - toJSON(message: QueryCurrentPlanResponse): unknown { - const obj: any = {}; - message.plan !== undefined && (obj.plan = message.plan ? Plan.toJSON(message.plan) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryCurrentPlanResponse { - const message = createBaseQueryCurrentPlanResponse(); - if (object.plan !== undefined && object.plan !== null) { - message.plan = Plan.fromPartial(object.plan); - } - return message; - }, - fromSDK(object: QueryCurrentPlanResponseSDKType): QueryCurrentPlanResponse { - return { - plan: object.plan ? Plan.fromSDK(object.plan) : undefined - }; - }, - toSDK(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseSDKType { - const obj: any = {}; - message.plan !== undefined && (obj.plan = message.plan ? Plan.toSDK(message.plan) : undefined); - return obj; - }, - fromAmino(object: QueryCurrentPlanResponseAmino): QueryCurrentPlanResponse { - return { - plan: object?.plan ? Plan.fromAmino(object.plan) : undefined - }; - }, - toAmino(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseAmino { - const obj: any = {}; - obj.plan = message.plan ? Plan.toAmino(message.plan) : undefined; - return obj; - }, - fromAminoMsg(object: QueryCurrentPlanResponseAminoMsg): QueryCurrentPlanResponse { - return QueryCurrentPlanResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseAminoMsg { - return { - type: "cosmos-sdk/QueryCurrentPlanResponse", - value: QueryCurrentPlanResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryCurrentPlanResponseProtoMsg): QueryCurrentPlanResponse { - return QueryCurrentPlanResponse.decode(message.value); - }, - toProto(message: QueryCurrentPlanResponse): Uint8Array { - return QueryCurrentPlanResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryCurrentPlanResponse): QueryCurrentPlanResponseProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.QueryCurrentPlanResponse", - value: QueryCurrentPlanResponse.encode(message).finish() - }; - } -}; -function createBaseQueryAppliedPlanRequest(): QueryAppliedPlanRequest { - return { - name: "" - }; -} -export const QueryAppliedPlanRequest = { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanRequest", - aminoType: "cosmos-sdk/QueryAppliedPlanRequest", - encode(message: QueryAppliedPlanRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAppliedPlanRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAppliedPlanRequest { - const obj = createBaseQueryAppliedPlanRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: QueryAppliedPlanRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): QueryAppliedPlanRequest { - const message = createBaseQueryAppliedPlanRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: QueryAppliedPlanRequestSDKType): QueryAppliedPlanRequest { - return { - name: object?.name - }; - }, - toSDK(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: QueryAppliedPlanRequestAmino): QueryAppliedPlanRequest { - return { - name: object.name - }; - }, - toAmino(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: QueryAppliedPlanRequestAminoMsg): QueryAppliedPlanRequest { - return QueryAppliedPlanRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestAminoMsg { - return { - type: "cosmos-sdk/QueryAppliedPlanRequest", - value: QueryAppliedPlanRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAppliedPlanRequestProtoMsg): QueryAppliedPlanRequest { - return QueryAppliedPlanRequest.decode(message.value); - }, - toProto(message: QueryAppliedPlanRequest): Uint8Array { - return QueryAppliedPlanRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAppliedPlanRequest): QueryAppliedPlanRequestProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanRequest", - value: QueryAppliedPlanRequest.encode(message).finish() - }; - } -}; -function createBaseQueryAppliedPlanResponse(): QueryAppliedPlanResponse { - return { - height: Long.ZERO - }; -} -export const QueryAppliedPlanResponse = { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanResponse", - aminoType: "cosmos-sdk/QueryAppliedPlanResponse", - encode(message: QueryAppliedPlanResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.height.isZero()) { - writer.uint32(8).int64(message.height); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAppliedPlanResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.height = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAppliedPlanResponse { - const obj = createBaseQueryAppliedPlanResponse(); - if (isSet(object.height)) obj.height = Long.fromValue(object.height); - return obj; - }, - toJSON(message: QueryAppliedPlanResponse): unknown { - const obj: any = {}; - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryAppliedPlanResponse { - const message = createBaseQueryAppliedPlanResponse(); - if (object.height !== undefined && object.height !== null) { - message.height = Long.fromValue(object.height); - } - return message; - }, - fromSDK(object: QueryAppliedPlanResponseSDKType): QueryAppliedPlanResponse { - return { - height: object?.height - }; - }, - toSDK(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseSDKType { - const obj: any = {}; - obj.height = message.height; - return obj; - }, - fromAmino(object: QueryAppliedPlanResponseAmino): QueryAppliedPlanResponse { - return { - height: Long.fromString(object.height) - }; - }, - toAmino(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseAmino { - const obj: any = {}; - obj.height = message.height ? message.height.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryAppliedPlanResponseAminoMsg): QueryAppliedPlanResponse { - return QueryAppliedPlanResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseAminoMsg { - return { - type: "cosmos-sdk/QueryAppliedPlanResponse", - value: QueryAppliedPlanResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAppliedPlanResponseProtoMsg): QueryAppliedPlanResponse { - return QueryAppliedPlanResponse.decode(message.value); - }, - toProto(message: QueryAppliedPlanResponse): Uint8Array { - return QueryAppliedPlanResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAppliedPlanResponse): QueryAppliedPlanResponseProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAppliedPlanResponse", - value: QueryAppliedPlanResponse.encode(message).finish() - }; - } -}; -function createBaseQueryUpgradedConsensusStateRequest(): QueryUpgradedConsensusStateRequest { - return { - lastHeight: Long.ZERO - }; -} -export const QueryUpgradedConsensusStateRequest = { - typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest", - aminoType: "cosmos-sdk/QueryUpgradedConsensusStateRequest", - encode(message: QueryUpgradedConsensusStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.lastHeight.isZero()) { - writer.uint32(8).int64(message.lastHeight); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUpgradedConsensusStateRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.lastHeight = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryUpgradedConsensusStateRequest { - const obj = createBaseQueryUpgradedConsensusStateRequest(); - if (isSet(object.lastHeight)) obj.lastHeight = Long.fromValue(object.lastHeight); - return obj; - }, - toJSON(message: QueryUpgradedConsensusStateRequest): unknown { - const obj: any = {}; - message.lastHeight !== undefined && (obj.lastHeight = (message.lastHeight || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryUpgradedConsensusStateRequest { - const message = createBaseQueryUpgradedConsensusStateRequest(); - if (object.lastHeight !== undefined && object.lastHeight !== null) { - message.lastHeight = Long.fromValue(object.lastHeight); - } - return message; - }, - fromSDK(object: QueryUpgradedConsensusStateRequestSDKType): QueryUpgradedConsensusStateRequest { - return { - lastHeight: object?.last_height - }; - }, - toSDK(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestSDKType { - const obj: any = {}; - obj.last_height = message.lastHeight; - return obj; - }, - fromAmino(object: QueryUpgradedConsensusStateRequestAmino): QueryUpgradedConsensusStateRequest { - return { - lastHeight: Long.fromString(object.last_height) - }; - }, - toAmino(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAmino { - const obj: any = {}; - obj.last_height = message.lastHeight ? message.lastHeight.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryUpgradedConsensusStateRequestAminoMsg): QueryUpgradedConsensusStateRequest { - return QueryUpgradedConsensusStateRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestAminoMsg { - return { - type: "cosmos-sdk/QueryUpgradedConsensusStateRequest", - value: QueryUpgradedConsensusStateRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryUpgradedConsensusStateRequestProtoMsg): QueryUpgradedConsensusStateRequest { - return QueryUpgradedConsensusStateRequest.decode(message.value); - }, - toProto(message: QueryUpgradedConsensusStateRequest): Uint8Array { - return QueryUpgradedConsensusStateRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryUpgradedConsensusStateRequest): QueryUpgradedConsensusStateRequestProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateRequest", - value: QueryUpgradedConsensusStateRequest.encode(message).finish() - }; - } -}; -function createBaseQueryUpgradedConsensusStateResponse(): QueryUpgradedConsensusStateResponse { - return { - upgradedConsensusState: new Uint8Array() - }; -} -export const QueryUpgradedConsensusStateResponse = { - typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse", - aminoType: "cosmos-sdk/QueryUpgradedConsensusStateResponse", - encode(message: QueryUpgradedConsensusStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.upgradedConsensusState.length !== 0) { - writer.uint32(18).bytes(message.upgradedConsensusState); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryUpgradedConsensusStateResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.upgradedConsensusState = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryUpgradedConsensusStateResponse { - const obj = createBaseQueryUpgradedConsensusStateResponse(); - if (isSet(object.upgradedConsensusState)) obj.upgradedConsensusState = bytesFromBase64(object.upgradedConsensusState); - return obj; - }, - toJSON(message: QueryUpgradedConsensusStateResponse): unknown { - const obj: any = {}; - message.upgradedConsensusState !== undefined && (obj.upgradedConsensusState = base64FromBytes(message.upgradedConsensusState !== undefined ? message.upgradedConsensusState : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): QueryUpgradedConsensusStateResponse { - const message = createBaseQueryUpgradedConsensusStateResponse(); - message.upgradedConsensusState = object.upgradedConsensusState ?? new Uint8Array(); - return message; - }, - fromSDK(object: QueryUpgradedConsensusStateResponseSDKType): QueryUpgradedConsensusStateResponse { - return { - upgradedConsensusState: object?.upgraded_consensus_state - }; - }, - toSDK(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseSDKType { - const obj: any = {}; - obj.upgraded_consensus_state = message.upgradedConsensusState; - return obj; - }, - fromAmino(object: QueryUpgradedConsensusStateResponseAmino): QueryUpgradedConsensusStateResponse { - return { - upgradedConsensusState: object.upgraded_consensus_state - }; - }, - toAmino(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAmino { - const obj: any = {}; - obj.upgraded_consensus_state = message.upgradedConsensusState; - return obj; - }, - fromAminoMsg(object: QueryUpgradedConsensusStateResponseAminoMsg): QueryUpgradedConsensusStateResponse { - return QueryUpgradedConsensusStateResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseAminoMsg { - return { - type: "cosmos-sdk/QueryUpgradedConsensusStateResponse", - value: QueryUpgradedConsensusStateResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryUpgradedConsensusStateResponseProtoMsg): QueryUpgradedConsensusStateResponse { - return QueryUpgradedConsensusStateResponse.decode(message.value); - }, - toProto(message: QueryUpgradedConsensusStateResponse): Uint8Array { - return QueryUpgradedConsensusStateResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryUpgradedConsensusStateResponse): QueryUpgradedConsensusStateResponseProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.QueryUpgradedConsensusStateResponse", - value: QueryUpgradedConsensusStateResponse.encode(message).finish() - }; - } -}; -function createBaseQueryModuleVersionsRequest(): QueryModuleVersionsRequest { - return { - moduleName: "" - }; -} -export const QueryModuleVersionsRequest = { - typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsRequest", - aminoType: "cosmos-sdk/QueryModuleVersionsRequest", - encode(message: QueryModuleVersionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.moduleName !== "") { - writer.uint32(10).string(message.moduleName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryModuleVersionsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.moduleName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryModuleVersionsRequest { - const obj = createBaseQueryModuleVersionsRequest(); - if (isSet(object.moduleName)) obj.moduleName = String(object.moduleName); - return obj; - }, - toJSON(message: QueryModuleVersionsRequest): unknown { - const obj: any = {}; - message.moduleName !== undefined && (obj.moduleName = message.moduleName); - return obj; - }, - fromPartial(object: DeepPartial): QueryModuleVersionsRequest { - const message = createBaseQueryModuleVersionsRequest(); - message.moduleName = object.moduleName ?? ""; - return message; - }, - fromSDK(object: QueryModuleVersionsRequestSDKType): QueryModuleVersionsRequest { - return { - moduleName: object?.module_name - }; - }, - toSDK(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestSDKType { - const obj: any = {}; - obj.module_name = message.moduleName; - return obj; - }, - fromAmino(object: QueryModuleVersionsRequestAmino): QueryModuleVersionsRequest { - return { - moduleName: object.module_name - }; - }, - toAmino(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestAmino { - const obj: any = {}; - obj.module_name = message.moduleName; - return obj; - }, - fromAminoMsg(object: QueryModuleVersionsRequestAminoMsg): QueryModuleVersionsRequest { - return QueryModuleVersionsRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestAminoMsg { - return { - type: "cosmos-sdk/QueryModuleVersionsRequest", - value: QueryModuleVersionsRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryModuleVersionsRequestProtoMsg): QueryModuleVersionsRequest { - return QueryModuleVersionsRequest.decode(message.value); - }, - toProto(message: QueryModuleVersionsRequest): Uint8Array { - return QueryModuleVersionsRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryModuleVersionsRequest): QueryModuleVersionsRequestProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsRequest", - value: QueryModuleVersionsRequest.encode(message).finish() - }; - } -}; -function createBaseQueryModuleVersionsResponse(): QueryModuleVersionsResponse { - return { - moduleVersions: [] - }; -} -export const QueryModuleVersionsResponse = { - typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsResponse", - aminoType: "cosmos-sdk/QueryModuleVersionsResponse", - encode(message: QueryModuleVersionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.moduleVersions) { - ModuleVersion.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryModuleVersionsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.moduleVersions.push(ModuleVersion.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryModuleVersionsResponse { - const obj = createBaseQueryModuleVersionsResponse(); - if (Array.isArray(object?.moduleVersions)) obj.moduleVersions = object.moduleVersions.map((e: any) => ModuleVersion.fromJSON(e)); - return obj; - }, - toJSON(message: QueryModuleVersionsResponse): unknown { - const obj: any = {}; - if (message.moduleVersions) { - obj.moduleVersions = message.moduleVersions.map(e => e ? ModuleVersion.toJSON(e) : undefined); - } else { - obj.moduleVersions = []; - } - return obj; - }, - fromPartial(object: DeepPartial): QueryModuleVersionsResponse { - const message = createBaseQueryModuleVersionsResponse(); - message.moduleVersions = object.moduleVersions?.map(e => ModuleVersion.fromPartial(e)) || []; - return message; - }, - fromSDK(object: QueryModuleVersionsResponseSDKType): QueryModuleVersionsResponse { - return { - moduleVersions: Array.isArray(object?.module_versions) ? object.module_versions.map((e: any) => ModuleVersion.fromSDK(e)) : [] - }; - }, - toSDK(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseSDKType { - const obj: any = {}; - if (message.moduleVersions) { - obj.module_versions = message.moduleVersions.map(e => e ? ModuleVersion.toSDK(e) : undefined); - } else { - obj.module_versions = []; - } - return obj; - }, - fromAmino(object: QueryModuleVersionsResponseAmino): QueryModuleVersionsResponse { - return { - moduleVersions: Array.isArray(object?.module_versions) ? object.module_versions.map((e: any) => ModuleVersion.fromAmino(e)) : [] - }; - }, - toAmino(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseAmino { - const obj: any = {}; - if (message.moduleVersions) { - obj.module_versions = message.moduleVersions.map(e => e ? ModuleVersion.toAmino(e) : undefined); - } else { - obj.module_versions = []; - } - return obj; - }, - fromAminoMsg(object: QueryModuleVersionsResponseAminoMsg): QueryModuleVersionsResponse { - return QueryModuleVersionsResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseAminoMsg { - return { - type: "cosmos-sdk/QueryModuleVersionsResponse", - value: QueryModuleVersionsResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryModuleVersionsResponseProtoMsg): QueryModuleVersionsResponse { - return QueryModuleVersionsResponse.decode(message.value); - }, - toProto(message: QueryModuleVersionsResponse): Uint8Array { - return QueryModuleVersionsResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryModuleVersionsResponse): QueryModuleVersionsResponseProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.QueryModuleVersionsResponse", - value: QueryModuleVersionsResponse.encode(message).finish() - }; - } -}; -function createBaseQueryAuthorityRequest(): QueryAuthorityRequest { - return {}; -} -export const QueryAuthorityRequest = { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityRequest", - aminoType: "cosmos-sdk/QueryAuthorityRequest", - encode(_: QueryAuthorityRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAuthorityRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): QueryAuthorityRequest { - const obj = createBaseQueryAuthorityRequest(); - return obj; - }, - toJSON(_: QueryAuthorityRequest): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): QueryAuthorityRequest { - const message = createBaseQueryAuthorityRequest(); - return message; - }, - fromSDK(_: QueryAuthorityRequestSDKType): QueryAuthorityRequest { - return {}; - }, - toSDK(_: QueryAuthorityRequest): QueryAuthorityRequestSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: QueryAuthorityRequestAmino): QueryAuthorityRequest { - return {}; - }, - toAmino(_: QueryAuthorityRequest): QueryAuthorityRequestAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: QueryAuthorityRequestAminoMsg): QueryAuthorityRequest { - return QueryAuthorityRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAuthorityRequest): QueryAuthorityRequestAminoMsg { - return { - type: "cosmos-sdk/QueryAuthorityRequest", - value: QueryAuthorityRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAuthorityRequestProtoMsg): QueryAuthorityRequest { - return QueryAuthorityRequest.decode(message.value); - }, - toProto(message: QueryAuthorityRequest): Uint8Array { - return QueryAuthorityRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAuthorityRequest): QueryAuthorityRequestProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityRequest", - value: QueryAuthorityRequest.encode(message).finish() - }; - } -}; -function createBaseQueryAuthorityResponse(): QueryAuthorityResponse { - return { - address: "" - }; -} -export const QueryAuthorityResponse = { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityResponse", - aminoType: "cosmos-sdk/QueryAuthorityResponse", - encode(message: QueryAuthorityResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAuthorityResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAuthorityResponse { - const obj = createBaseQueryAuthorityResponse(); - if (isSet(object.address)) obj.address = String(object.address); - return obj; - }, - toJSON(message: QueryAuthorityResponse): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: DeepPartial): QueryAuthorityResponse { - const message = createBaseQueryAuthorityResponse(); - message.address = object.address ?? ""; - return message; - }, - fromSDK(object: QueryAuthorityResponseSDKType): QueryAuthorityResponse { - return { - address: object?.address - }; - }, - toSDK(message: QueryAuthorityResponse): QueryAuthorityResponseSDKType { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAmino(object: QueryAuthorityResponseAmino): QueryAuthorityResponse { - return { - address: object.address - }; - }, - toAmino(message: QueryAuthorityResponse): QueryAuthorityResponseAmino { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAminoMsg(object: QueryAuthorityResponseAminoMsg): QueryAuthorityResponse { - return QueryAuthorityResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAuthorityResponse): QueryAuthorityResponseAminoMsg { - return { - type: "cosmos-sdk/QueryAuthorityResponse", - value: QueryAuthorityResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAuthorityResponseProtoMsg): QueryAuthorityResponse { - return QueryAuthorityResponse.decode(message.value); - }, - toProto(message: QueryAuthorityResponse): Uint8Array { - return QueryAuthorityResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAuthorityResponse): QueryAuthorityResponseProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.QueryAuthorityResponse", - value: QueryAuthorityResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts deleted file mode 100644 index 8bcc69886..000000000 --- a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Plan, PlanSDKType } from "./upgrade"; -import { MsgSoftwareUpgrade, MsgSoftwareUpgradeSDKType, MsgCancelUpgrade, MsgCancelUpgradeSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": { - aminoType: "cosmos-sdk/MsgSoftwareUpgrade", - toAmino: MsgSoftwareUpgrade.toAmino, - fromAmino: MsgSoftwareUpgrade.fromAmino - }, - "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": { - aminoType: "cosmos-sdk/MsgCancelUpgrade", - toAmino: MsgCancelUpgrade.toAmino, - fromAmino: MsgCancelUpgrade.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts deleted file mode 100644 index 57f220dec..000000000 --- a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { Plan, PlanSDKType } from "./upgrade"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgSoftwareUpgrade, MsgSoftwareUpgradeSDKType, MsgCancelUpgrade, MsgCancelUpgradeSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", MsgSoftwareUpgrade], ["/cosmos.upgrade.v1beta1.MsgCancelUpgrade", MsgCancelUpgrade]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - softwareUpgrade(value: MsgSoftwareUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - value: MsgSoftwareUpgrade.encode(value).finish() - }; - }, - cancelUpgrade(value: MsgCancelUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - value: MsgCancelUpgrade.encode(value).finish() - }; - } - }, - withTypeUrl: { - softwareUpgrade(value: MsgSoftwareUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - value - }; - }, - cancelUpgrade(value: MsgCancelUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - value - }; - } - }, - toJSON: { - softwareUpgrade(value: MsgSoftwareUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - value: MsgSoftwareUpgrade.toJSON(value) - }; - }, - cancelUpgrade(value: MsgCancelUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - value: MsgCancelUpgrade.toJSON(value) - }; - } - }, - fromJSON: { - softwareUpgrade(value: any) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - value: MsgSoftwareUpgrade.fromJSON(value) - }; - }, - cancelUpgrade(value: any) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - value: MsgCancelUpgrade.fromJSON(value) - }; - } - }, - fromPartial: { - softwareUpgrade(value: MsgSoftwareUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - value: MsgSoftwareUpgrade.fromPartial(value) - }; - }, - cancelUpgrade(value: MsgCancelUpgrade) { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - value: MsgCancelUpgrade.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 14e71d206..000000000 --- a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Plan, PlanSDKType } from "./upgrade"; -import * as fm from "../../../grpc-gateway"; -import { MsgSoftwareUpgrade, MsgSoftwareUpgradeSDKType, MsgSoftwareUpgradeResponse, MsgSoftwareUpgradeResponseSDKType, MsgCancelUpgrade, MsgCancelUpgradeSDKType, MsgCancelUpgradeResponse, MsgCancelUpgradeResponseSDKType } from "./tx"; -export class Msg { - /** - * SoftwareUpgrade is a governance operation for initiating a software upgrade. - * - * Since: cosmos-sdk 0.46 - */ - static softwareUpgrade(request: MsgSoftwareUpgrade, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.upgrade.v1beta1/softwareUpgrade`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * CancelUpgrade is a governance operation for cancelling a previously - * approvid software upgrade. - * - * Since: cosmos-sdk 0.46 - */ - static cancelUpgrade(request: MsgCancelUpgrade, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.upgrade.v1beta1/cancelUpgrade`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.ts deleted file mode 100644 index 8cdb6a22e..000000000 --- a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/tx.ts +++ /dev/null @@ -1,463 +0,0 @@ -import { Plan, PlanAmino, PlanSDKType } from "./upgrade"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "cosmos.upgrade.v1beta1"; -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgrade { - /** authority is the address of the governance account. */ - authority: string; - /** plan is the upgrade plan. */ - plan: Plan; -} -export interface MsgSoftwareUpgradeProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade"; - value: Uint8Array; -} -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeAmino { - /** authority is the address of the governance account. */ - authority: string; - /** plan is the upgrade plan. */ - plan?: PlanAmino; -} -export interface MsgSoftwareUpgradeAminoMsg { - type: "cosmos-sdk/MsgSoftwareUpgrade"; - value: MsgSoftwareUpgradeAmino; -} -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeSDKType { - authority: string; - plan: PlanSDKType; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeResponse {} -export interface MsgSoftwareUpgradeResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse"; - value: Uint8Array; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeResponseAmino {} -export interface MsgSoftwareUpgradeResponseAminoMsg { - type: "cosmos-sdk/MsgSoftwareUpgradeResponse"; - value: MsgSoftwareUpgradeResponseAmino; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeResponseSDKType {} -/** - * MsgCancelUpgrade is the Msg/CancelUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgrade { - /** authority is the address of the governance account. */ - authority: string; -} -export interface MsgCancelUpgradeProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade"; - value: Uint8Array; -} -/** - * MsgCancelUpgrade is the Msg/CancelUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeAmino { - /** authority is the address of the governance account. */ - authority: string; -} -export interface MsgCancelUpgradeAminoMsg { - type: "cosmos-sdk/MsgCancelUpgrade"; - value: MsgCancelUpgradeAmino; -} -/** - * MsgCancelUpgrade is the Msg/CancelUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeSDKType { - authority: string; -} -/** - * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeResponse {} -export interface MsgCancelUpgradeResponseProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse"; - value: Uint8Array; -} -/** - * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeResponseAmino {} -export interface MsgCancelUpgradeResponseAminoMsg { - type: "cosmos-sdk/MsgCancelUpgradeResponse"; - value: MsgCancelUpgradeResponseAmino; -} -/** - * MsgCancelUpgradeResponse is the Msg/CancelUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgCancelUpgradeResponseSDKType {} -function createBaseMsgSoftwareUpgrade(): MsgSoftwareUpgrade { - return { - authority: "", - plan: Plan.fromPartial({}) - }; -} -export const MsgSoftwareUpgrade = { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - aminoType: "cosmos-sdk/MsgSoftwareUpgrade", - encode(message: MsgSoftwareUpgrade, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.authority !== "") { - writer.uint32(10).string(message.authority); - } - if (message.plan !== undefined) { - Plan.encode(message.plan, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgrade { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSoftwareUpgrade(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.authority = reader.string(); - break; - case 2: - message.plan = Plan.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgSoftwareUpgrade { - const obj = createBaseMsgSoftwareUpgrade(); - if (isSet(object.authority)) obj.authority = String(object.authority); - if (isSet(object.plan)) obj.plan = Plan.fromJSON(object.plan); - return obj; - }, - toJSON(message: MsgSoftwareUpgrade): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - message.plan !== undefined && (obj.plan = message.plan ? Plan.toJSON(message.plan) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgSoftwareUpgrade { - const message = createBaseMsgSoftwareUpgrade(); - message.authority = object.authority ?? ""; - if (object.plan !== undefined && object.plan !== null) { - message.plan = Plan.fromPartial(object.plan); - } - return message; - }, - fromSDK(object: MsgSoftwareUpgradeSDKType): MsgSoftwareUpgrade { - return { - authority: object?.authority, - plan: object.plan ? Plan.fromSDK(object.plan) : undefined - }; - }, - toSDK(message: MsgSoftwareUpgrade): MsgSoftwareUpgradeSDKType { - const obj: any = {}; - obj.authority = message.authority; - message.plan !== undefined && (obj.plan = message.plan ? Plan.toSDK(message.plan) : undefined); - return obj; - }, - fromAmino(object: MsgSoftwareUpgradeAmino): MsgSoftwareUpgrade { - return { - authority: object.authority, - plan: object?.plan ? Plan.fromAmino(object.plan) : undefined - }; - }, - toAmino(message: MsgSoftwareUpgrade): MsgSoftwareUpgradeAmino { - const obj: any = {}; - obj.authority = message.authority; - obj.plan = message.plan ? Plan.toAmino(message.plan) : undefined; - return obj; - }, - fromAminoMsg(object: MsgSoftwareUpgradeAminoMsg): MsgSoftwareUpgrade { - return MsgSoftwareUpgrade.fromAmino(object.value); - }, - toAminoMsg(message: MsgSoftwareUpgrade): MsgSoftwareUpgradeAminoMsg { - return { - type: "cosmos-sdk/MsgSoftwareUpgrade", - value: MsgSoftwareUpgrade.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSoftwareUpgradeProtoMsg): MsgSoftwareUpgrade { - return MsgSoftwareUpgrade.decode(message.value); - }, - toProto(message: MsgSoftwareUpgrade): Uint8Array { - return MsgSoftwareUpgrade.encode(message).finish(); - }, - toProtoMsg(message: MsgSoftwareUpgrade): MsgSoftwareUpgradeProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade", - value: MsgSoftwareUpgrade.encode(message).finish() - }; - } -}; -function createBaseMsgSoftwareUpgradeResponse(): MsgSoftwareUpgradeResponse { - return {}; -} -export const MsgSoftwareUpgradeResponse = { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse", - aminoType: "cosmos-sdk/MsgSoftwareUpgradeResponse", - encode(_: MsgSoftwareUpgradeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgSoftwareUpgradeResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgSoftwareUpgradeResponse { - const obj = createBaseMsgSoftwareUpgradeResponse(); - return obj; - }, - toJSON(_: MsgSoftwareUpgradeResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgSoftwareUpgradeResponse { - const message = createBaseMsgSoftwareUpgradeResponse(); - return message; - }, - fromSDK(_: MsgSoftwareUpgradeResponseSDKType): MsgSoftwareUpgradeResponse { - return {}; - }, - toSDK(_: MsgSoftwareUpgradeResponse): MsgSoftwareUpgradeResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgSoftwareUpgradeResponseAmino): MsgSoftwareUpgradeResponse { - return {}; - }, - toAmino(_: MsgSoftwareUpgradeResponse): MsgSoftwareUpgradeResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgSoftwareUpgradeResponseAminoMsg): MsgSoftwareUpgradeResponse { - return MsgSoftwareUpgradeResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgSoftwareUpgradeResponse): MsgSoftwareUpgradeResponseAminoMsg { - return { - type: "cosmos-sdk/MsgSoftwareUpgradeResponse", - value: MsgSoftwareUpgradeResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgSoftwareUpgradeResponseProtoMsg): MsgSoftwareUpgradeResponse { - return MsgSoftwareUpgradeResponse.decode(message.value); - }, - toProto(message: MsgSoftwareUpgradeResponse): Uint8Array { - return MsgSoftwareUpgradeResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgSoftwareUpgradeResponse): MsgSoftwareUpgradeResponseProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse", - value: MsgSoftwareUpgradeResponse.encode(message).finish() - }; - } -}; -function createBaseMsgCancelUpgrade(): MsgCancelUpgrade { - return { - authority: "" - }; -} -export const MsgCancelUpgrade = { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - aminoType: "cosmos-sdk/MsgCancelUpgrade", - encode(message: MsgCancelUpgrade, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.authority !== "") { - writer.uint32(10).string(message.authority); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgrade { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCancelUpgrade(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.authority = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgCancelUpgrade { - const obj = createBaseMsgCancelUpgrade(); - if (isSet(object.authority)) obj.authority = String(object.authority); - return obj; - }, - toJSON(message: MsgCancelUpgrade): unknown { - const obj: any = {}; - message.authority !== undefined && (obj.authority = message.authority); - return obj; - }, - fromPartial(object: DeepPartial): MsgCancelUpgrade { - const message = createBaseMsgCancelUpgrade(); - message.authority = object.authority ?? ""; - return message; - }, - fromSDK(object: MsgCancelUpgradeSDKType): MsgCancelUpgrade { - return { - authority: object?.authority - }; - }, - toSDK(message: MsgCancelUpgrade): MsgCancelUpgradeSDKType { - const obj: any = {}; - obj.authority = message.authority; - return obj; - }, - fromAmino(object: MsgCancelUpgradeAmino): MsgCancelUpgrade { - return { - authority: object.authority - }; - }, - toAmino(message: MsgCancelUpgrade): MsgCancelUpgradeAmino { - const obj: any = {}; - obj.authority = message.authority; - return obj; - }, - fromAminoMsg(object: MsgCancelUpgradeAminoMsg): MsgCancelUpgrade { - return MsgCancelUpgrade.fromAmino(object.value); - }, - toAminoMsg(message: MsgCancelUpgrade): MsgCancelUpgradeAminoMsg { - return { - type: "cosmos-sdk/MsgCancelUpgrade", - value: MsgCancelUpgrade.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCancelUpgradeProtoMsg): MsgCancelUpgrade { - return MsgCancelUpgrade.decode(message.value); - }, - toProto(message: MsgCancelUpgrade): Uint8Array { - return MsgCancelUpgrade.encode(message).finish(); - }, - toProtoMsg(message: MsgCancelUpgrade): MsgCancelUpgradeProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgrade", - value: MsgCancelUpgrade.encode(message).finish() - }; - } -}; -function createBaseMsgCancelUpgradeResponse(): MsgCancelUpgradeResponse { - return {}; -} -export const MsgCancelUpgradeResponse = { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse", - aminoType: "cosmos-sdk/MsgCancelUpgradeResponse", - encode(_: MsgCancelUpgradeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCancelUpgradeResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgCancelUpgradeResponse { - const obj = createBaseMsgCancelUpgradeResponse(); - return obj; - }, - toJSON(_: MsgCancelUpgradeResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgCancelUpgradeResponse { - const message = createBaseMsgCancelUpgradeResponse(); - return message; - }, - fromSDK(_: MsgCancelUpgradeResponseSDKType): MsgCancelUpgradeResponse { - return {}; - }, - toSDK(_: MsgCancelUpgradeResponse): MsgCancelUpgradeResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgCancelUpgradeResponseAmino): MsgCancelUpgradeResponse { - return {}; - }, - toAmino(_: MsgCancelUpgradeResponse): MsgCancelUpgradeResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgCancelUpgradeResponseAminoMsg): MsgCancelUpgradeResponse { - return MsgCancelUpgradeResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgCancelUpgradeResponse): MsgCancelUpgradeResponseAminoMsg { - return { - type: "cosmos-sdk/MsgCancelUpgradeResponse", - value: MsgCancelUpgradeResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCancelUpgradeResponseProtoMsg): MsgCancelUpgradeResponse { - return MsgCancelUpgradeResponse.decode(message.value); - }, - toProto(message: MsgCancelUpgradeResponse): Uint8Array { - return MsgCancelUpgradeResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgCancelUpgradeResponse): MsgCancelUpgradeResponseProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse", - value: MsgCancelUpgradeResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts b/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts deleted file mode 100644 index 6df08656b..000000000 --- a/quicksilverjs/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +++ /dev/null @@ -1,693 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../google/protobuf/timestamp"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Long, toTimestamp, fromTimestamp, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.upgrade.v1beta1"; -/** Plan specifies information about a planned upgrade and when it should occur. */ -export interface Plan { - /** - * Sets the name for the upgrade. This name will be used by the upgraded - * version of the software to apply any special "on-upgrade" commands during - * the first BeginBlock method after the upgrade is applied. It is also used - * to detect whether a software version can handle a given upgrade. If no - * upgrade handler with this name has been set in the software, it will be - * assumed that the software is out-of-date when the upgrade Time or Height is - * reached and the software will exit. - */ - name: string; - /** - * Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - * has been removed from the SDK. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - time: Date; - /** - * The height at which the upgrade must be performed. - * Only used if Time is not set. - */ - height: Long; - /** - * Any application specific upgrade info to be included on-chain - * such as a git commit that validators could automatically upgrade to - */ - info: string; - /** - * Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been - * moved to the IBC module in the sub module 02-client. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - upgradedClientState: Any; -} -export interface PlanProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.Plan"; - value: Uint8Array; -} -/** Plan specifies information about a planned upgrade and when it should occur. */ -export interface PlanAmino { - /** - * Sets the name for the upgrade. This name will be used by the upgraded - * version of the software to apply any special "on-upgrade" commands during - * the first BeginBlock method after the upgrade is applied. It is also used - * to detect whether a software version can handle a given upgrade. If no - * upgrade handler with this name has been set in the software, it will be - * assumed that the software is out-of-date when the upgrade Time or Height is - * reached and the software will exit. - */ - name: string; - /** - * Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - * has been removed from the SDK. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - time?: Date; - /** - * The height at which the upgrade must be performed. - * Only used if Time is not set. - */ - height: string; - /** - * Any application specific upgrade info to be included on-chain - * such as a git commit that validators could automatically upgrade to - */ - info: string; - /** - * Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been - * moved to the IBC module in the sub module 02-client. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - upgraded_client_state?: AnyAmino; -} -export interface PlanAminoMsg { - type: "cosmos-sdk/Plan"; - value: PlanAmino; -} -/** Plan specifies information about a planned upgrade and when it should occur. */ -export interface PlanSDKType { - name: string; - /** @deprecated */ - time: Date; - height: Long; - info: string; - /** @deprecated */ - upgraded_client_state: AnySDKType; -} -/** - * SoftwareUpgradeProposal is a gov Content type for initiating a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgSoftwareUpgrade. - */ -/** @deprecated */ -export interface SoftwareUpgradeProposal { - title: string; - description: string; - plan: Plan; -} -export interface SoftwareUpgradeProposalProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal"; - value: Uint8Array; -} -/** - * SoftwareUpgradeProposal is a gov Content type for initiating a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgSoftwareUpgrade. - */ -/** @deprecated */ -export interface SoftwareUpgradeProposalAmino { - title: string; - description: string; - plan?: PlanAmino; -} -export interface SoftwareUpgradeProposalAminoMsg { - type: "cosmos-sdk/SoftwareUpgradeProposal"; - value: SoftwareUpgradeProposalAmino; -} -/** - * SoftwareUpgradeProposal is a gov Content type for initiating a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgSoftwareUpgrade. - */ -/** @deprecated */ -export interface SoftwareUpgradeProposalSDKType { - title: string; - description: string; - plan: PlanSDKType; -} -/** - * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgCancelUpgrade. - */ -/** @deprecated */ -export interface CancelSoftwareUpgradeProposal { - title: string; - description: string; -} -export interface CancelSoftwareUpgradeProposalProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal"; - value: Uint8Array; -} -/** - * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgCancelUpgrade. - */ -/** @deprecated */ -export interface CancelSoftwareUpgradeProposalAmino { - title: string; - description: string; -} -export interface CancelSoftwareUpgradeProposalAminoMsg { - type: "cosmos-sdk/CancelSoftwareUpgradeProposal"; - value: CancelSoftwareUpgradeProposalAmino; -} -/** - * CancelSoftwareUpgradeProposal is a gov Content type for cancelling a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgCancelUpgrade. - */ -/** @deprecated */ -export interface CancelSoftwareUpgradeProposalSDKType { - title: string; - description: string; -} -/** - * ModuleVersion specifies a module and its consensus version. - * - * Since: cosmos-sdk 0.43 - */ -export interface ModuleVersion { - /** name of the app module */ - name: string; - /** consensus version of the app module */ - version: Long; -} -export interface ModuleVersionProtoMsg { - typeUrl: "/cosmos.upgrade.v1beta1.ModuleVersion"; - value: Uint8Array; -} -/** - * ModuleVersion specifies a module and its consensus version. - * - * Since: cosmos-sdk 0.43 - */ -export interface ModuleVersionAmino { - /** name of the app module */ - name: string; - /** consensus version of the app module */ - version: string; -} -export interface ModuleVersionAminoMsg { - type: "cosmos-sdk/ModuleVersion"; - value: ModuleVersionAmino; -} -/** - * ModuleVersion specifies a module and its consensus version. - * - * Since: cosmos-sdk 0.43 - */ -export interface ModuleVersionSDKType { - name: string; - version: Long; -} -function createBasePlan(): Plan { - return { - name: "", - time: new Date(), - height: Long.ZERO, - info: "", - upgradedClientState: Any.fromPartial({}) - }; -} -export const Plan = { - typeUrl: "/cosmos.upgrade.v1beta1.Plan", - aminoType: "cosmos-sdk/Plan", - encode(message: Plan, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.time !== undefined) { - Timestamp.encode(toTimestamp(message.time), writer.uint32(18).fork()).ldelim(); - } - if (!message.height.isZero()) { - writer.uint32(24).int64(message.height); - } - if (message.info !== "") { - writer.uint32(34).string(message.info); - } - if (message.upgradedClientState !== undefined) { - Any.encode(message.upgradedClientState, writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Plan { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePlan(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 3: - message.height = (reader.int64() as Long); - break; - case 4: - message.info = reader.string(); - break; - case 5: - message.upgradedClientState = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Plan { - const obj = createBasePlan(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.time)) obj.time = new Date(object.time); - if (isSet(object.height)) obj.height = Long.fromValue(object.height); - if (isSet(object.info)) obj.info = String(object.info); - if (isSet(object.upgradedClientState)) obj.upgradedClientState = Any.fromJSON(object.upgradedClientState); - return obj; - }, - toJSON(message: Plan): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.time !== undefined && (obj.time = message.time.toISOString()); - message.height !== undefined && (obj.height = (message.height || Long.ZERO).toString()); - message.info !== undefined && (obj.info = message.info); - message.upgradedClientState !== undefined && (obj.upgradedClientState = message.upgradedClientState ? Any.toJSON(message.upgradedClientState) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Plan { - const message = createBasePlan(); - message.name = object.name ?? ""; - message.time = object.time ?? undefined; - if (object.height !== undefined && object.height !== null) { - message.height = Long.fromValue(object.height); - } - message.info = object.info ?? ""; - if (object.upgradedClientState !== undefined && object.upgradedClientState !== null) { - message.upgradedClientState = Any.fromPartial(object.upgradedClientState); - } - return message; - }, - fromSDK(object: PlanSDKType): Plan { - return { - name: object?.name, - time: object.time ?? undefined, - height: object?.height, - info: object?.info, - upgradedClientState: object.upgraded_client_state ? Any.fromSDK(object.upgraded_client_state) : undefined - }; - }, - toSDK(message: Plan): PlanSDKType { - const obj: any = {}; - obj.name = message.name; - message.time !== undefined && (obj.time = message.time ?? undefined); - obj.height = message.height; - obj.info = message.info; - message.upgradedClientState !== undefined && (obj.upgraded_client_state = message.upgradedClientState ? Any.toSDK(message.upgradedClientState) : undefined); - return obj; - }, - fromAmino(object: PlanAmino): Plan { - return { - name: object.name, - time: object.time, - height: Long.fromString(object.height), - info: object.info, - upgradedClientState: object?.upgraded_client_state ? Any.fromAmino(object.upgraded_client_state) : undefined - }; - }, - toAmino(message: Plan): PlanAmino { - const obj: any = {}; - obj.name = message.name; - obj.time = message.time; - obj.height = message.height ? message.height.toString() : undefined; - obj.info = message.info; - obj.upgraded_client_state = message.upgradedClientState ? Any.toAmino(message.upgradedClientState) : undefined; - return obj; - }, - fromAminoMsg(object: PlanAminoMsg): Plan { - return Plan.fromAmino(object.value); - }, - toAminoMsg(message: Plan): PlanAminoMsg { - return { - type: "cosmos-sdk/Plan", - value: Plan.toAmino(message) - }; - }, - fromProtoMsg(message: PlanProtoMsg): Plan { - return Plan.decode(message.value); - }, - toProto(message: Plan): Uint8Array { - return Plan.encode(message).finish(); - }, - toProtoMsg(message: Plan): PlanProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.Plan", - value: Plan.encode(message).finish() - }; - } -}; -function createBaseSoftwareUpgradeProposal(): SoftwareUpgradeProposal { - return { - title: "", - description: "", - plan: Plan.fromPartial({}) - }; -} -export const SoftwareUpgradeProposal = { - typeUrl: "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal", - aminoType: "cosmos-sdk/SoftwareUpgradeProposal", - encode(message: SoftwareUpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.plan !== undefined) { - Plan.encode(message.plan, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SoftwareUpgradeProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSoftwareUpgradeProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.plan = Plan.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SoftwareUpgradeProposal { - const obj = createBaseSoftwareUpgradeProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.plan)) obj.plan = Plan.fromJSON(object.plan); - return obj; - }, - toJSON(message: SoftwareUpgradeProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.plan !== undefined && (obj.plan = message.plan ? Plan.toJSON(message.plan) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): SoftwareUpgradeProposal { - const message = createBaseSoftwareUpgradeProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - if (object.plan !== undefined && object.plan !== null) { - message.plan = Plan.fromPartial(object.plan); - } - return message; - }, - fromSDK(object: SoftwareUpgradeProposalSDKType): SoftwareUpgradeProposal { - return { - title: object?.title, - description: object?.description, - plan: object.plan ? Plan.fromSDK(object.plan) : undefined - }; - }, - toSDK(message: SoftwareUpgradeProposal): SoftwareUpgradeProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - message.plan !== undefined && (obj.plan = message.plan ? Plan.toSDK(message.plan) : undefined); - return obj; - }, - fromAmino(object: SoftwareUpgradeProposalAmino): SoftwareUpgradeProposal { - return { - title: object.title, - description: object.description, - plan: object?.plan ? Plan.fromAmino(object.plan) : undefined - }; - }, - toAmino(message: SoftwareUpgradeProposal): SoftwareUpgradeProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.plan = message.plan ? Plan.toAmino(message.plan) : undefined; - return obj; - }, - fromAminoMsg(object: SoftwareUpgradeProposalAminoMsg): SoftwareUpgradeProposal { - return SoftwareUpgradeProposal.fromAmino(object.value); - }, - toAminoMsg(message: SoftwareUpgradeProposal): SoftwareUpgradeProposalAminoMsg { - return { - type: "cosmos-sdk/SoftwareUpgradeProposal", - value: SoftwareUpgradeProposal.toAmino(message) - }; - }, - fromProtoMsg(message: SoftwareUpgradeProposalProtoMsg): SoftwareUpgradeProposal { - return SoftwareUpgradeProposal.decode(message.value); - }, - toProto(message: SoftwareUpgradeProposal): Uint8Array { - return SoftwareUpgradeProposal.encode(message).finish(); - }, - toProtoMsg(message: SoftwareUpgradeProposal): SoftwareUpgradeProposalProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal", - value: SoftwareUpgradeProposal.encode(message).finish() - }; - } -}; -function createBaseCancelSoftwareUpgradeProposal(): CancelSoftwareUpgradeProposal { - return { - title: "", - description: "" - }; -} -export const CancelSoftwareUpgradeProposal = { - typeUrl: "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal", - aminoType: "cosmos-sdk/CancelSoftwareUpgradeProposal", - encode(message: CancelSoftwareUpgradeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CancelSoftwareUpgradeProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCancelSoftwareUpgradeProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CancelSoftwareUpgradeProposal { - const obj = createBaseCancelSoftwareUpgradeProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - return obj; - }, - toJSON(message: CancelSoftwareUpgradeProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - return obj; - }, - fromPartial(object: DeepPartial): CancelSoftwareUpgradeProposal { - const message = createBaseCancelSoftwareUpgradeProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - return message; - }, - fromSDK(object: CancelSoftwareUpgradeProposalSDKType): CancelSoftwareUpgradeProposal { - return { - title: object?.title, - description: object?.description - }; - }, - toSDK(message: CancelSoftwareUpgradeProposal): CancelSoftwareUpgradeProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - return obj; - }, - fromAmino(object: CancelSoftwareUpgradeProposalAmino): CancelSoftwareUpgradeProposal { - return { - title: object.title, - description: object.description - }; - }, - toAmino(message: CancelSoftwareUpgradeProposal): CancelSoftwareUpgradeProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - return obj; - }, - fromAminoMsg(object: CancelSoftwareUpgradeProposalAminoMsg): CancelSoftwareUpgradeProposal { - return CancelSoftwareUpgradeProposal.fromAmino(object.value); - }, - toAminoMsg(message: CancelSoftwareUpgradeProposal): CancelSoftwareUpgradeProposalAminoMsg { - return { - type: "cosmos-sdk/CancelSoftwareUpgradeProposal", - value: CancelSoftwareUpgradeProposal.toAmino(message) - }; - }, - fromProtoMsg(message: CancelSoftwareUpgradeProposalProtoMsg): CancelSoftwareUpgradeProposal { - return CancelSoftwareUpgradeProposal.decode(message.value); - }, - toProto(message: CancelSoftwareUpgradeProposal): Uint8Array { - return CancelSoftwareUpgradeProposal.encode(message).finish(); - }, - toProtoMsg(message: CancelSoftwareUpgradeProposal): CancelSoftwareUpgradeProposalProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.CancelSoftwareUpgradeProposal", - value: CancelSoftwareUpgradeProposal.encode(message).finish() - }; - } -}; -function createBaseModuleVersion(): ModuleVersion { - return { - name: "", - version: Long.UZERO - }; -} -export const ModuleVersion = { - typeUrl: "/cosmos.upgrade.v1beta1.ModuleVersion", - aminoType: "cosmos-sdk/ModuleVersion", - encode(message: ModuleVersion, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (!message.version.isZero()) { - writer.uint32(16).uint64(message.version); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleVersion { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModuleVersion(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.version = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ModuleVersion { - const obj = createBaseModuleVersion(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.version)) obj.version = Long.fromValue(object.version); - return obj; - }, - toJSON(message: ModuleVersion): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.version !== undefined && (obj.version = (message.version || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): ModuleVersion { - const message = createBaseModuleVersion(); - message.name = object.name ?? ""; - if (object.version !== undefined && object.version !== null) { - message.version = Long.fromValue(object.version); - } - return message; - }, - fromSDK(object: ModuleVersionSDKType): ModuleVersion { - return { - name: object?.name, - version: object?.version - }; - }, - toSDK(message: ModuleVersion): ModuleVersionSDKType { - const obj: any = {}; - obj.name = message.name; - obj.version = message.version; - return obj; - }, - fromAmino(object: ModuleVersionAmino): ModuleVersion { - return { - name: object.name, - version: Long.fromString(object.version) - }; - }, - toAmino(message: ModuleVersion): ModuleVersionAmino { - const obj: any = {}; - obj.name = message.name; - obj.version = message.version ? message.version.toString() : undefined; - return obj; - }, - fromAminoMsg(object: ModuleVersionAminoMsg): ModuleVersion { - return ModuleVersion.fromAmino(object.value); - }, - toAminoMsg(message: ModuleVersion): ModuleVersionAminoMsg { - return { - type: "cosmos-sdk/ModuleVersion", - value: ModuleVersion.toAmino(message) - }; - }, - fromProtoMsg(message: ModuleVersionProtoMsg): ModuleVersion { - return ModuleVersion.decode(message.value); - }, - toProto(message: ModuleVersion): Uint8Array { - return ModuleVersion.encode(message).finish(); - }, - toProtoMsg(message: ModuleVersion): ModuleVersionProtoMsg { - return { - typeUrl: "/cosmos.upgrade.v1beta1.ModuleVersion", - value: ModuleVersion.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts b/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts deleted file mode 100644 index b64efdb05..000000000 --- a/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Period, PeriodSDKType } from "./vesting"; -import { MsgCreateVestingAccount, MsgCreateVestingAccountSDKType, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountSDKType, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountSDKType } from "./tx"; -export const AminoConverter = { - "/cosmos.vesting.v1beta1.MsgCreateVestingAccount": { - aminoType: "cosmos-sdk/MsgCreateVestingAccount", - toAmino: MsgCreateVestingAccount.toAmino, - fromAmino: MsgCreateVestingAccount.fromAmino - }, - "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount": { - aminoType: "cosmos-sdk/MsgCreatePermanentLockedAccount", - toAmino: MsgCreatePermanentLockedAccount.toAmino, - fromAmino: MsgCreatePermanentLockedAccount.fromAmino - }, - "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount": { - aminoType: "cosmos-sdk/MsgCreatePeriodicVestingAccount", - toAmino: MsgCreatePeriodicVestingAccount.toAmino, - fromAmino: MsgCreatePeriodicVestingAccount.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts b/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts deleted file mode 100644 index 2add4a8dc..000000000 --- a/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +++ /dev/null @@ -1,112 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Period, PeriodSDKType } from "./vesting"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgCreateVestingAccount, MsgCreateVestingAccountSDKType, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountSDKType, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmos.vesting.v1beta1.MsgCreateVestingAccount", MsgCreateVestingAccount], ["/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", MsgCreatePermanentLockedAccount], ["/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", MsgCreatePeriodicVestingAccount]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - createVestingAccount(value: MsgCreateVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - value: MsgCreateVestingAccount.encode(value).finish() - }; - }, - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - value: MsgCreatePermanentLockedAccount.encode(value).finish() - }; - }, - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - value: MsgCreatePeriodicVestingAccount.encode(value).finish() - }; - } - }, - withTypeUrl: { - createVestingAccount(value: MsgCreateVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - value - }; - }, - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - value - }; - }, - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - value - }; - } - }, - toJSON: { - createVestingAccount(value: MsgCreateVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - value: MsgCreateVestingAccount.toJSON(value) - }; - }, - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - value: MsgCreatePermanentLockedAccount.toJSON(value) - }; - }, - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - value: MsgCreatePeriodicVestingAccount.toJSON(value) - }; - } - }, - fromJSON: { - createVestingAccount(value: any) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - value: MsgCreateVestingAccount.fromJSON(value) - }; - }, - createPermanentLockedAccount(value: any) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - value: MsgCreatePermanentLockedAccount.fromJSON(value) - }; - }, - createPeriodicVestingAccount(value: any) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - value: MsgCreatePeriodicVestingAccount.fromJSON(value) - }; - } - }, - fromPartial: { - createVestingAccount(value: MsgCreateVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - value: MsgCreateVestingAccount.fromPartial(value) - }; - }, - createPermanentLockedAccount(value: MsgCreatePermanentLockedAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - value: MsgCreatePermanentLockedAccount.fromPartial(value) - }; - }, - createPeriodicVestingAccount(value: MsgCreatePeriodicVestingAccount) { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - value: MsgCreatePeriodicVestingAccount.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 4446ac242..000000000 --- a/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Period, PeriodSDKType } from "./vesting"; -import * as fm from "../../../grpc-gateway"; -import { MsgCreateVestingAccount, MsgCreateVestingAccountSDKType, MsgCreateVestingAccountResponse, MsgCreateVestingAccountResponseSDKType, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountSDKType, MsgCreatePermanentLockedAccountResponse, MsgCreatePermanentLockedAccountResponseSDKType, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountSDKType, MsgCreatePeriodicVestingAccountResponse, MsgCreatePeriodicVestingAccountResponseSDKType } from "./tx"; -export class Msg { - /** - * CreateVestingAccount defines a method that enables creating a vesting - * account. - */ - static createVestingAccount(request: MsgCreateVestingAccount, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.vesting.v1beta1/createVestingAccount`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * CreatePermanentLockedAccount defines a method that enables creating a permanent - * locked account. - */ - static createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.vesting.v1beta1/createPermanentLockedAccount`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** - * CreatePeriodicVestingAccount defines a method that enables creating a - * periodic vesting account. - */ - static createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmos.vesting.v1beta1/createPeriodicVestingAccount`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.ts b/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.ts deleted file mode 100644 index de90cf297..000000000 --- a/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/tx.ts +++ /dev/null @@ -1,813 +0,0 @@ -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Period, PeriodAmino, PeriodSDKType } from "./vesting"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.vesting.v1beta1"; -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreateVestingAccount { - fromAddress: string; - toAddress: string; - amount: Coin[]; - endTime: Long; - delayed: boolean; -} -export interface MsgCreateVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount"; - value: Uint8Array; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreateVestingAccountAmino { - from_address: string; - to_address: string; - amount: CoinAmino[]; - end_time: string; - delayed: boolean; -} -export interface MsgCreateVestingAccountAminoMsg { - type: "cosmos-sdk/MsgCreateVestingAccount"; - value: MsgCreateVestingAccountAmino; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreateVestingAccountSDKType { - from_address: string; - to_address: string; - amount: CoinSDKType[]; - end_time: Long; - delayed: boolean; -} -/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ -export interface MsgCreateVestingAccountResponse {} -export interface MsgCreateVestingAccountResponseProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse"; - value: Uint8Array; -} -/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ -export interface MsgCreateVestingAccountResponseAmino {} -export interface MsgCreateVestingAccountResponseAminoMsg { - type: "cosmos-sdk/MsgCreateVestingAccountResponse"; - value: MsgCreateVestingAccountResponseAmino; -} -/** MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. */ -export interface MsgCreateVestingAccountResponseSDKType {} -/** - * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent - * locked account. - */ -export interface MsgCreatePermanentLockedAccount { - fromAddress: string; - toAddress: string; - amount: Coin[]; -} -export interface MsgCreatePermanentLockedAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount"; - value: Uint8Array; -} -/** - * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent - * locked account. - */ -export interface MsgCreatePermanentLockedAccountAmino { - from_address: string; - to_address: string; - amount: CoinAmino[]; -} -export interface MsgCreatePermanentLockedAccountAminoMsg { - type: "cosmos-sdk/MsgCreatePermanentLockedAccount"; - value: MsgCreatePermanentLockedAccountAmino; -} -/** - * MsgCreatePermanentLockedAccount defines a message that enables creating a permanent - * locked account. - */ -export interface MsgCreatePermanentLockedAccountSDKType { - from_address: string; - to_address: string; - amount: CoinSDKType[]; -} -/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ -export interface MsgCreatePermanentLockedAccountResponse {} -export interface MsgCreatePermanentLockedAccountResponseProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse"; - value: Uint8Array; -} -/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ -export interface MsgCreatePermanentLockedAccountResponseAmino {} -export interface MsgCreatePermanentLockedAccountResponseAminoMsg { - type: "cosmos-sdk/MsgCreatePermanentLockedAccountResponse"; - value: MsgCreatePermanentLockedAccountResponseAmino; -} -/** MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. */ -export interface MsgCreatePermanentLockedAccountResponseSDKType {} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreatePeriodicVestingAccount { - fromAddress: string; - toAddress: string; - startTime: Long; - vestingPeriods: Period[]; -} -export interface MsgCreatePeriodicVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount"; - value: Uint8Array; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreatePeriodicVestingAccountAmino { - from_address: string; - to_address: string; - start_time: string; - vesting_periods: PeriodAmino[]; -} -export interface MsgCreatePeriodicVestingAccountAminoMsg { - type: "cosmos-sdk/MsgCreatePeriodicVestingAccount"; - value: MsgCreatePeriodicVestingAccountAmino; -} -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreatePeriodicVestingAccountSDKType { - from_address: string; - to_address: string; - start_time: Long; - vesting_periods: PeriodSDKType[]; -} -/** - * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount - * response type. - */ -export interface MsgCreatePeriodicVestingAccountResponse {} -export interface MsgCreatePeriodicVestingAccountResponseProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse"; - value: Uint8Array; -} -/** - * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount - * response type. - */ -export interface MsgCreatePeriodicVestingAccountResponseAmino {} -export interface MsgCreatePeriodicVestingAccountResponseAminoMsg { - type: "cosmos-sdk/MsgCreatePeriodicVestingAccountResponse"; - value: MsgCreatePeriodicVestingAccountResponseAmino; -} -/** - * MsgCreateVestingAccountResponse defines the Msg/CreatePeriodicVestingAccount - * response type. - */ -export interface MsgCreatePeriodicVestingAccountResponseSDKType {} -function createBaseMsgCreateVestingAccount(): MsgCreateVestingAccount { - return { - fromAddress: "", - toAddress: "", - amount: [], - endTime: Long.ZERO, - delayed: false - }; -} -export const MsgCreateVestingAccount = { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - aminoType: "cosmos-sdk/MsgCreateVestingAccount", - encode(message: MsgCreateVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fromAddress !== "") { - writer.uint32(10).string(message.fromAddress); - } - if (message.toAddress !== "") { - writer.uint32(18).string(message.toAddress); - } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - if (!message.endTime.isZero()) { - writer.uint32(32).int64(message.endTime); - } - if (message.delayed === true) { - writer.uint32(40).bool(message.delayed); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateVestingAccount(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fromAddress = reader.string(); - break; - case 2: - message.toAddress = reader.string(); - break; - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - case 4: - message.endTime = (reader.int64() as Long); - break; - case 5: - message.delayed = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgCreateVestingAccount { - const obj = createBaseMsgCreateVestingAccount(); - if (isSet(object.fromAddress)) obj.fromAddress = String(object.fromAddress); - if (isSet(object.toAddress)) obj.toAddress = String(object.toAddress); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.endTime)) obj.endTime = Long.fromValue(object.endTime); - if (isSet(object.delayed)) obj.delayed = Boolean(object.delayed); - return obj; - }, - toJSON(message: MsgCreateVestingAccount): unknown { - const obj: any = {}; - message.fromAddress !== undefined && (obj.fromAddress = message.fromAddress); - message.toAddress !== undefined && (obj.toAddress = message.toAddress); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - message.endTime !== undefined && (obj.endTime = (message.endTime || Long.ZERO).toString()); - message.delayed !== undefined && (obj.delayed = message.delayed); - return obj; - }, - fromPartial(object: DeepPartial): MsgCreateVestingAccount { - const message = createBaseMsgCreateVestingAccount(); - message.fromAddress = object.fromAddress ?? ""; - message.toAddress = object.toAddress ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - if (object.endTime !== undefined && object.endTime !== null) { - message.endTime = Long.fromValue(object.endTime); - } - message.delayed = object.delayed ?? false; - return message; - }, - fromSDK(object: MsgCreateVestingAccountSDKType): MsgCreateVestingAccount { - return { - fromAddress: object?.from_address, - toAddress: object?.to_address, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [], - endTime: object?.end_time, - delayed: object?.delayed - }; - }, - toSDK(message: MsgCreateVestingAccount): MsgCreateVestingAccountSDKType { - const obj: any = {}; - obj.from_address = message.fromAddress; - obj.to_address = message.toAddress; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - obj.end_time = message.endTime; - obj.delayed = message.delayed; - return obj; - }, - fromAmino(object: MsgCreateVestingAccountAmino): MsgCreateVestingAccount { - return { - fromAddress: object.from_address, - toAddress: object.to_address, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [], - endTime: Long.fromString(object.end_time), - delayed: object.delayed - }; - }, - toAmino(message: MsgCreateVestingAccount): MsgCreateVestingAccountAmino { - const obj: any = {}; - obj.from_address = message.fromAddress; - obj.to_address = message.toAddress; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - obj.end_time = message.endTime ? message.endTime.toString() : undefined; - obj.delayed = message.delayed; - return obj; - }, - fromAminoMsg(object: MsgCreateVestingAccountAminoMsg): MsgCreateVestingAccount { - return MsgCreateVestingAccount.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreateVestingAccount): MsgCreateVestingAccountAminoMsg { - return { - type: "cosmos-sdk/MsgCreateVestingAccount", - value: MsgCreateVestingAccount.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreateVestingAccountProtoMsg): MsgCreateVestingAccount { - return MsgCreateVestingAccount.decode(message.value); - }, - toProto(message: MsgCreateVestingAccount): Uint8Array { - return MsgCreateVestingAccount.encode(message).finish(); - }, - toProtoMsg(message: MsgCreateVestingAccount): MsgCreateVestingAccountProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccount", - value: MsgCreateVestingAccount.encode(message).finish() - }; - } -}; -function createBaseMsgCreateVestingAccountResponse(): MsgCreateVestingAccountResponse { - return {}; -} -export const MsgCreateVestingAccountResponse = { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse", - aminoType: "cosmos-sdk/MsgCreateVestingAccountResponse", - encode(_: MsgCreateVestingAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreateVestingAccountResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgCreateVestingAccountResponse { - const obj = createBaseMsgCreateVestingAccountResponse(); - return obj; - }, - toJSON(_: MsgCreateVestingAccountResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgCreateVestingAccountResponse { - const message = createBaseMsgCreateVestingAccountResponse(); - return message; - }, - fromSDK(_: MsgCreateVestingAccountResponseSDKType): MsgCreateVestingAccountResponse { - return {}; - }, - toSDK(_: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgCreateVestingAccountResponseAmino): MsgCreateVestingAccountResponse { - return {}; - }, - toAmino(_: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgCreateVestingAccountResponseAminoMsg): MsgCreateVestingAccountResponse { - return MsgCreateVestingAccountResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseAminoMsg { - return { - type: "cosmos-sdk/MsgCreateVestingAccountResponse", - value: MsgCreateVestingAccountResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreateVestingAccountResponseProtoMsg): MsgCreateVestingAccountResponse { - return MsgCreateVestingAccountResponse.decode(message.value); - }, - toProto(message: MsgCreateVestingAccountResponse): Uint8Array { - return MsgCreateVestingAccountResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgCreateVestingAccountResponse): MsgCreateVestingAccountResponseProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreateVestingAccountResponse", - value: MsgCreateVestingAccountResponse.encode(message).finish() - }; - } -}; -function createBaseMsgCreatePermanentLockedAccount(): MsgCreatePermanentLockedAccount { - return { - fromAddress: "", - toAddress: "", - amount: [] - }; -} -export const MsgCreatePermanentLockedAccount = { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - aminoType: "cosmos-sdk/MsgCreatePermanentLockedAccount", - encode(message: MsgCreatePermanentLockedAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fromAddress !== "") { - writer.uint32(10).string(message.fromAddress); - } - if (message.toAddress !== "") { - writer.uint32(18).string(message.toAddress); - } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreatePermanentLockedAccount(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fromAddress = reader.string(); - break; - case 2: - message.toAddress = reader.string(); - break; - case 3: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgCreatePermanentLockedAccount { - const obj = createBaseMsgCreatePermanentLockedAccount(); - if (isSet(object.fromAddress)) obj.fromAddress = String(object.fromAddress); - if (isSet(object.toAddress)) obj.toAddress = String(object.toAddress); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: MsgCreatePermanentLockedAccount): unknown { - const obj: any = {}; - message.fromAddress !== undefined && (obj.fromAddress = message.fromAddress); - message.toAddress !== undefined && (obj.toAddress = message.toAddress); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgCreatePermanentLockedAccount { - const message = createBaseMsgCreatePermanentLockedAccount(); - message.fromAddress = object.fromAddress ?? ""; - message.toAddress = object.toAddress ?? ""; - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgCreatePermanentLockedAccountSDKType): MsgCreatePermanentLockedAccount { - return { - fromAddress: object?.from_address, - toAddress: object?.to_address, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountSDKType { - const obj: any = {}; - obj.from_address = message.fromAddress; - obj.to_address = message.toAddress; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAmino(object: MsgCreatePermanentLockedAccountAmino): MsgCreatePermanentLockedAccount { - return { - fromAddress: object.from_address, - toAddress: object.to_address, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountAmino { - const obj: any = {}; - obj.from_address = message.fromAddress; - obj.to_address = message.toAddress; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAminoMsg(object: MsgCreatePermanentLockedAccountAminoMsg): MsgCreatePermanentLockedAccount { - return MsgCreatePermanentLockedAccount.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountAminoMsg { - return { - type: "cosmos-sdk/MsgCreatePermanentLockedAccount", - value: MsgCreatePermanentLockedAccount.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreatePermanentLockedAccountProtoMsg): MsgCreatePermanentLockedAccount { - return MsgCreatePermanentLockedAccount.decode(message.value); - }, - toProto(message: MsgCreatePermanentLockedAccount): Uint8Array { - return MsgCreatePermanentLockedAccount.encode(message).finish(); - }, - toProtoMsg(message: MsgCreatePermanentLockedAccount): MsgCreatePermanentLockedAccountProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccount", - value: MsgCreatePermanentLockedAccount.encode(message).finish() - }; - } -}; -function createBaseMsgCreatePermanentLockedAccountResponse(): MsgCreatePermanentLockedAccountResponse { - return {}; -} -export const MsgCreatePermanentLockedAccountResponse = { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse", - aminoType: "cosmos-sdk/MsgCreatePermanentLockedAccountResponse", - encode(_: MsgCreatePermanentLockedAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreatePermanentLockedAccountResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgCreatePermanentLockedAccountResponse { - const obj = createBaseMsgCreatePermanentLockedAccountResponse(); - return obj; - }, - toJSON(_: MsgCreatePermanentLockedAccountResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgCreatePermanentLockedAccountResponse { - const message = createBaseMsgCreatePermanentLockedAccountResponse(); - return message; - }, - fromSDK(_: MsgCreatePermanentLockedAccountResponseSDKType): MsgCreatePermanentLockedAccountResponse { - return {}; - }, - toSDK(_: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgCreatePermanentLockedAccountResponseAmino): MsgCreatePermanentLockedAccountResponse { - return {}; - }, - toAmino(_: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgCreatePermanentLockedAccountResponseAminoMsg): MsgCreatePermanentLockedAccountResponse { - return MsgCreatePermanentLockedAccountResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseAminoMsg { - return { - type: "cosmos-sdk/MsgCreatePermanentLockedAccountResponse", - value: MsgCreatePermanentLockedAccountResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreatePermanentLockedAccountResponseProtoMsg): MsgCreatePermanentLockedAccountResponse { - return MsgCreatePermanentLockedAccountResponse.decode(message.value); - }, - toProto(message: MsgCreatePermanentLockedAccountResponse): Uint8Array { - return MsgCreatePermanentLockedAccountResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgCreatePermanentLockedAccountResponse): MsgCreatePermanentLockedAccountResponseProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePermanentLockedAccountResponse", - value: MsgCreatePermanentLockedAccountResponse.encode(message).finish() - }; - } -}; -function createBaseMsgCreatePeriodicVestingAccount(): MsgCreatePeriodicVestingAccount { - return { - fromAddress: "", - toAddress: "", - startTime: Long.ZERO, - vestingPeriods: [] - }; -} -export const MsgCreatePeriodicVestingAccount = { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - aminoType: "cosmos-sdk/MsgCreatePeriodicVestingAccount", - encode(message: MsgCreatePeriodicVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fromAddress !== "") { - writer.uint32(10).string(message.fromAddress); - } - if (message.toAddress !== "") { - writer.uint32(18).string(message.toAddress); - } - if (!message.startTime.isZero()) { - writer.uint32(24).int64(message.startTime); - } - for (const v of message.vestingPeriods) { - Period.encode(v!, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreatePeriodicVestingAccount(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fromAddress = reader.string(); - break; - case 2: - message.toAddress = reader.string(); - break; - case 3: - message.startTime = (reader.int64() as Long); - break; - case 4: - message.vestingPeriods.push(Period.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgCreatePeriodicVestingAccount { - const obj = createBaseMsgCreatePeriodicVestingAccount(); - if (isSet(object.fromAddress)) obj.fromAddress = String(object.fromAddress); - if (isSet(object.toAddress)) obj.toAddress = String(object.toAddress); - if (isSet(object.startTime)) obj.startTime = Long.fromValue(object.startTime); - if (Array.isArray(object?.vestingPeriods)) obj.vestingPeriods = object.vestingPeriods.map((e: any) => Period.fromJSON(e)); - return obj; - }, - toJSON(message: MsgCreatePeriodicVestingAccount): unknown { - const obj: any = {}; - message.fromAddress !== undefined && (obj.fromAddress = message.fromAddress); - message.toAddress !== undefined && (obj.toAddress = message.toAddress); - message.startTime !== undefined && (obj.startTime = (message.startTime || Long.ZERO).toString()); - if (message.vestingPeriods) { - obj.vestingPeriods = message.vestingPeriods.map(e => e ? Period.toJSON(e) : undefined); - } else { - obj.vestingPeriods = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgCreatePeriodicVestingAccount { - const message = createBaseMsgCreatePeriodicVestingAccount(); - message.fromAddress = object.fromAddress ?? ""; - message.toAddress = object.toAddress ?? ""; - if (object.startTime !== undefined && object.startTime !== null) { - message.startTime = Long.fromValue(object.startTime); - } - message.vestingPeriods = object.vestingPeriods?.map(e => Period.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgCreatePeriodicVestingAccountSDKType): MsgCreatePeriodicVestingAccount { - return { - fromAddress: object?.from_address, - toAddress: object?.to_address, - startTime: object?.start_time, - vestingPeriods: Array.isArray(object?.vesting_periods) ? object.vesting_periods.map((e: any) => Period.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountSDKType { - const obj: any = {}; - obj.from_address = message.fromAddress; - obj.to_address = message.toAddress; - obj.start_time = message.startTime; - if (message.vestingPeriods) { - obj.vesting_periods = message.vestingPeriods.map(e => e ? Period.toSDK(e) : undefined); - } else { - obj.vesting_periods = []; - } - return obj; - }, - fromAmino(object: MsgCreatePeriodicVestingAccountAmino): MsgCreatePeriodicVestingAccount { - return { - fromAddress: object.from_address, - toAddress: object.to_address, - startTime: Long.fromString(object.start_time), - vestingPeriods: Array.isArray(object?.vesting_periods) ? object.vesting_periods.map((e: any) => Period.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountAmino { - const obj: any = {}; - obj.from_address = message.fromAddress; - obj.to_address = message.toAddress; - obj.start_time = message.startTime ? message.startTime.toString() : undefined; - if (message.vestingPeriods) { - obj.vesting_periods = message.vestingPeriods.map(e => e ? Period.toAmino(e) : undefined); - } else { - obj.vesting_periods = []; - } - return obj; - }, - fromAminoMsg(object: MsgCreatePeriodicVestingAccountAminoMsg): MsgCreatePeriodicVestingAccount { - return MsgCreatePeriodicVestingAccount.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountAminoMsg { - return { - type: "cosmos-sdk/MsgCreatePeriodicVestingAccount", - value: MsgCreatePeriodicVestingAccount.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreatePeriodicVestingAccountProtoMsg): MsgCreatePeriodicVestingAccount { - return MsgCreatePeriodicVestingAccount.decode(message.value); - }, - toProto(message: MsgCreatePeriodicVestingAccount): Uint8Array { - return MsgCreatePeriodicVestingAccount.encode(message).finish(); - }, - toProtoMsg(message: MsgCreatePeriodicVestingAccount): MsgCreatePeriodicVestingAccountProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccount", - value: MsgCreatePeriodicVestingAccount.encode(message).finish() - }; - } -}; -function createBaseMsgCreatePeriodicVestingAccountResponse(): MsgCreatePeriodicVestingAccountResponse { - return {}; -} -export const MsgCreatePeriodicVestingAccountResponse = { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse", - aminoType: "cosmos-sdk/MsgCreatePeriodicVestingAccountResponse", - encode(_: MsgCreatePeriodicVestingAccountResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgCreatePeriodicVestingAccountResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgCreatePeriodicVestingAccountResponse { - const obj = createBaseMsgCreatePeriodicVestingAccountResponse(); - return obj; - }, - toJSON(_: MsgCreatePeriodicVestingAccountResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgCreatePeriodicVestingAccountResponse { - const message = createBaseMsgCreatePeriodicVestingAccountResponse(); - return message; - }, - fromSDK(_: MsgCreatePeriodicVestingAccountResponseSDKType): MsgCreatePeriodicVestingAccountResponse { - return {}; - }, - toSDK(_: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgCreatePeriodicVestingAccountResponseAmino): MsgCreatePeriodicVestingAccountResponse { - return {}; - }, - toAmino(_: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgCreatePeriodicVestingAccountResponseAminoMsg): MsgCreatePeriodicVestingAccountResponse { - return MsgCreatePeriodicVestingAccountResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseAminoMsg { - return { - type: "cosmos-sdk/MsgCreatePeriodicVestingAccountResponse", - value: MsgCreatePeriodicVestingAccountResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgCreatePeriodicVestingAccountResponseProtoMsg): MsgCreatePeriodicVestingAccountResponse { - return MsgCreatePeriodicVestingAccountResponse.decode(message.value); - }, - toProto(message: MsgCreatePeriodicVestingAccountResponse): Uint8Array { - return MsgCreatePeriodicVestingAccountResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgCreatePeriodicVestingAccountResponse): MsgCreatePeriodicVestingAccountResponseProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.MsgCreatePeriodicVestingAccountResponse", - value: MsgCreatePeriodicVestingAccountResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/vesting.ts b/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/vesting.ts deleted file mode 100644 index 952ebf537..000000000 --- a/quicksilverjs/src/codegen/cosmos/vesting/v1beta1/vesting.ts +++ /dev/null @@ -1,924 +0,0 @@ -import { BaseAccount, BaseAccountAmino, BaseAccountSDKType } from "../../auth/v1beta1/auth"; -import { Coin, CoinAmino, CoinSDKType } from "../../base/v1beta1/coin"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmos.vesting.v1beta1"; -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ -export interface BaseVestingAccount { - baseAccount: BaseAccount; - originalVesting: Coin[]; - delegatedFree: Coin[]; - delegatedVesting: Coin[]; - endTime: Long; -} -export interface BaseVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.BaseVestingAccount"; - value: Uint8Array; -} -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ -export interface BaseVestingAccountAmino { - base_account?: BaseAccountAmino; - original_vesting: CoinAmino[]; - delegated_free: CoinAmino[]; - delegated_vesting: CoinAmino[]; - end_time: string; -} -export interface BaseVestingAccountAminoMsg { - type: "cosmos-sdk/BaseVestingAccount"; - value: BaseVestingAccountAmino; -} -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ -export interface BaseVestingAccountSDKType { - base_account: BaseAccountSDKType; - original_vesting: CoinSDKType[]; - delegated_free: CoinSDKType[]; - delegated_vesting: CoinSDKType[]; - end_time: Long; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ -export interface ContinuousVestingAccount { - baseVestingAccount: BaseVestingAccount; - startTime: Long; -} -export interface ContinuousVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.ContinuousVestingAccount"; - value: Uint8Array; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ -export interface ContinuousVestingAccountAmino { - base_vesting_account?: BaseVestingAccountAmino; - start_time: string; -} -export interface ContinuousVestingAccountAminoMsg { - type: "cosmos-sdk/ContinuousVestingAccount"; - value: ContinuousVestingAccountAmino; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ -export interface ContinuousVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType; - start_time: Long; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ -export interface DelayedVestingAccount { - baseVestingAccount: BaseVestingAccount; -} -export interface DelayedVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.DelayedVestingAccount"; - value: Uint8Array; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ -export interface DelayedVestingAccountAmino { - base_vesting_account?: BaseVestingAccountAmino; -} -export interface DelayedVestingAccountAminoMsg { - type: "cosmos-sdk/DelayedVestingAccount"; - value: DelayedVestingAccountAmino; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ -export interface DelayedVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType; -} -/** Period defines a length of time and amount of coins that will vest. */ -export interface Period { - length: Long; - amount: Coin[]; -} -export interface PeriodProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.Period"; - value: Uint8Array; -} -/** Period defines a length of time and amount of coins that will vest. */ -export interface PeriodAmino { - length: string; - amount: CoinAmino[]; -} -export interface PeriodAminoMsg { - type: "cosmos-sdk/Period"; - value: PeriodAmino; -} -/** Period defines a length of time and amount of coins that will vest. */ -export interface PeriodSDKType { - length: Long; - amount: CoinSDKType[]; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ -export interface PeriodicVestingAccount { - baseVestingAccount: BaseVestingAccount; - startTime: Long; - vestingPeriods: Period[]; -} -export interface PeriodicVestingAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.PeriodicVestingAccount"; - value: Uint8Array; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ -export interface PeriodicVestingAccountAmino { - base_vesting_account?: BaseVestingAccountAmino; - start_time: string; - vesting_periods: PeriodAmino[]; -} -export interface PeriodicVestingAccountAminoMsg { - type: "cosmos-sdk/PeriodicVestingAccount"; - value: PeriodicVestingAccountAmino; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ -export interface PeriodicVestingAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType; - start_time: Long; - vesting_periods: PeriodSDKType[]; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ -export interface PermanentLockedAccount { - baseVestingAccount: BaseVestingAccount; -} -export interface PermanentLockedAccountProtoMsg { - typeUrl: "/cosmos.vesting.v1beta1.PermanentLockedAccount"; - value: Uint8Array; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ -export interface PermanentLockedAccountAmino { - base_vesting_account?: BaseVestingAccountAmino; -} -export interface PermanentLockedAccountAminoMsg { - type: "cosmos-sdk/PermanentLockedAccount"; - value: PermanentLockedAccountAmino; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ -export interface PermanentLockedAccountSDKType { - base_vesting_account: BaseVestingAccountSDKType; -} -function createBaseBaseVestingAccount(): BaseVestingAccount { - return { - baseAccount: BaseAccount.fromPartial({}), - originalVesting: [], - delegatedFree: [], - delegatedVesting: [], - endTime: Long.ZERO - }; -} -export const BaseVestingAccount = { - typeUrl: "/cosmos.vesting.v1beta1.BaseVestingAccount", - aminoType: "cosmos-sdk/BaseVestingAccount", - encode(message: BaseVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseAccount !== undefined) { - BaseAccount.encode(message.baseAccount, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.originalVesting) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.delegatedFree) { - Coin.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.delegatedVesting) { - Coin.encode(v!, writer.uint32(34).fork()).ldelim(); - } - if (!message.endTime.isZero()) { - writer.uint32(40).int64(message.endTime); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BaseVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBaseVestingAccount(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.baseAccount = BaseAccount.decode(reader, reader.uint32()); - break; - case 2: - message.originalVesting.push(Coin.decode(reader, reader.uint32())); - break; - case 3: - message.delegatedFree.push(Coin.decode(reader, reader.uint32())); - break; - case 4: - message.delegatedVesting.push(Coin.decode(reader, reader.uint32())); - break; - case 5: - message.endTime = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BaseVestingAccount { - const obj = createBaseBaseVestingAccount(); - if (isSet(object.baseAccount)) obj.baseAccount = BaseAccount.fromJSON(object.baseAccount); - if (Array.isArray(object?.originalVesting)) obj.originalVesting = object.originalVesting.map((e: any) => Coin.fromJSON(e)); - if (Array.isArray(object?.delegatedFree)) obj.delegatedFree = object.delegatedFree.map((e: any) => Coin.fromJSON(e)); - if (Array.isArray(object?.delegatedVesting)) obj.delegatedVesting = object.delegatedVesting.map((e: any) => Coin.fromJSON(e)); - if (isSet(object.endTime)) obj.endTime = Long.fromValue(object.endTime); - return obj; - }, - toJSON(message: BaseVestingAccount): unknown { - const obj: any = {}; - message.baseAccount !== undefined && (obj.baseAccount = message.baseAccount ? BaseAccount.toJSON(message.baseAccount) : undefined); - if (message.originalVesting) { - obj.originalVesting = message.originalVesting.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.originalVesting = []; - } - if (message.delegatedFree) { - obj.delegatedFree = message.delegatedFree.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.delegatedFree = []; - } - if (message.delegatedVesting) { - obj.delegatedVesting = message.delegatedVesting.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.delegatedVesting = []; - } - message.endTime !== undefined && (obj.endTime = (message.endTime || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): BaseVestingAccount { - const message = createBaseBaseVestingAccount(); - if (object.baseAccount !== undefined && object.baseAccount !== null) { - message.baseAccount = BaseAccount.fromPartial(object.baseAccount); - } - message.originalVesting = object.originalVesting?.map(e => Coin.fromPartial(e)) || []; - message.delegatedFree = object.delegatedFree?.map(e => Coin.fromPartial(e)) || []; - message.delegatedVesting = object.delegatedVesting?.map(e => Coin.fromPartial(e)) || []; - if (object.endTime !== undefined && object.endTime !== null) { - message.endTime = Long.fromValue(object.endTime); - } - return message; - }, - fromSDK(object: BaseVestingAccountSDKType): BaseVestingAccount { - return { - baseAccount: object.base_account ? BaseAccount.fromSDK(object.base_account) : undefined, - originalVesting: Array.isArray(object?.original_vesting) ? object.original_vesting.map((e: any) => Coin.fromSDK(e)) : [], - delegatedFree: Array.isArray(object?.delegated_free) ? object.delegated_free.map((e: any) => Coin.fromSDK(e)) : [], - delegatedVesting: Array.isArray(object?.delegated_vesting) ? object.delegated_vesting.map((e: any) => Coin.fromSDK(e)) : [], - endTime: object?.end_time - }; - }, - toSDK(message: BaseVestingAccount): BaseVestingAccountSDKType { - const obj: any = {}; - message.baseAccount !== undefined && (obj.base_account = message.baseAccount ? BaseAccount.toSDK(message.baseAccount) : undefined); - if (message.originalVesting) { - obj.original_vesting = message.originalVesting.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.original_vesting = []; - } - if (message.delegatedFree) { - obj.delegated_free = message.delegatedFree.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.delegated_free = []; - } - if (message.delegatedVesting) { - obj.delegated_vesting = message.delegatedVesting.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.delegated_vesting = []; - } - obj.end_time = message.endTime; - return obj; - }, - fromAmino(object: BaseVestingAccountAmino): BaseVestingAccount { - return { - baseAccount: object?.base_account ? BaseAccount.fromAmino(object.base_account) : undefined, - originalVesting: Array.isArray(object?.original_vesting) ? object.original_vesting.map((e: any) => Coin.fromAmino(e)) : [], - delegatedFree: Array.isArray(object?.delegated_free) ? object.delegated_free.map((e: any) => Coin.fromAmino(e)) : [], - delegatedVesting: Array.isArray(object?.delegated_vesting) ? object.delegated_vesting.map((e: any) => Coin.fromAmino(e)) : [], - endTime: Long.fromString(object.end_time) - }; - }, - toAmino(message: BaseVestingAccount): BaseVestingAccountAmino { - const obj: any = {}; - obj.base_account = message.baseAccount ? BaseAccount.toAmino(message.baseAccount) : undefined; - if (message.originalVesting) { - obj.original_vesting = message.originalVesting.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.original_vesting = []; - } - if (message.delegatedFree) { - obj.delegated_free = message.delegatedFree.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.delegated_free = []; - } - if (message.delegatedVesting) { - obj.delegated_vesting = message.delegatedVesting.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.delegated_vesting = []; - } - obj.end_time = message.endTime ? message.endTime.toString() : undefined; - return obj; - }, - fromAminoMsg(object: BaseVestingAccountAminoMsg): BaseVestingAccount { - return BaseVestingAccount.fromAmino(object.value); - }, - toAminoMsg(message: BaseVestingAccount): BaseVestingAccountAminoMsg { - return { - type: "cosmos-sdk/BaseVestingAccount", - value: BaseVestingAccount.toAmino(message) - }; - }, - fromProtoMsg(message: BaseVestingAccountProtoMsg): BaseVestingAccount { - return BaseVestingAccount.decode(message.value); - }, - toProto(message: BaseVestingAccount): Uint8Array { - return BaseVestingAccount.encode(message).finish(); - }, - toProtoMsg(message: BaseVestingAccount): BaseVestingAccountProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.BaseVestingAccount", - value: BaseVestingAccount.encode(message).finish() - }; - } -}; -function createBaseContinuousVestingAccount(): ContinuousVestingAccount { - return { - baseVestingAccount: BaseVestingAccount.fromPartial({}), - startTime: Long.ZERO - }; -} -export const ContinuousVestingAccount = { - typeUrl: "/cosmos.vesting.v1beta1.ContinuousVestingAccount", - aminoType: "cosmos-sdk/ContinuousVestingAccount", - encode(message: ContinuousVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseVestingAccount !== undefined) { - BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); - } - if (!message.startTime.isZero()) { - writer.uint32(16).int64(message.startTime); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ContinuousVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContinuousVestingAccount(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); - break; - case 2: - message.startTime = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ContinuousVestingAccount { - const obj = createBaseContinuousVestingAccount(); - if (isSet(object.baseVestingAccount)) obj.baseVestingAccount = BaseVestingAccount.fromJSON(object.baseVestingAccount); - if (isSet(object.startTime)) obj.startTime = Long.fromValue(object.startTime); - return obj; - }, - toJSON(message: ContinuousVestingAccount): unknown { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.baseVestingAccount = message.baseVestingAccount ? BaseVestingAccount.toJSON(message.baseVestingAccount) : undefined); - message.startTime !== undefined && (obj.startTime = (message.startTime || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): ContinuousVestingAccount { - const message = createBaseContinuousVestingAccount(); - if (object.baseVestingAccount !== undefined && object.baseVestingAccount !== null) { - message.baseVestingAccount = BaseVestingAccount.fromPartial(object.baseVestingAccount); - } - if (object.startTime !== undefined && object.startTime !== null) { - message.startTime = Long.fromValue(object.startTime); - } - return message; - }, - fromSDK(object: ContinuousVestingAccountSDKType): ContinuousVestingAccount { - return { - baseVestingAccount: object.base_vesting_account ? BaseVestingAccount.fromSDK(object.base_vesting_account) : undefined, - startTime: object?.start_time - }; - }, - toSDK(message: ContinuousVestingAccount): ContinuousVestingAccountSDKType { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.base_vesting_account = message.baseVestingAccount ? BaseVestingAccount.toSDK(message.baseVestingAccount) : undefined); - obj.start_time = message.startTime; - return obj; - }, - fromAmino(object: ContinuousVestingAccountAmino): ContinuousVestingAccount { - return { - baseVestingAccount: object?.base_vesting_account ? BaseVestingAccount.fromAmino(object.base_vesting_account) : undefined, - startTime: Long.fromString(object.start_time) - }; - }, - toAmino(message: ContinuousVestingAccount): ContinuousVestingAccountAmino { - const obj: any = {}; - obj.base_vesting_account = message.baseVestingAccount ? BaseVestingAccount.toAmino(message.baseVestingAccount) : undefined; - obj.start_time = message.startTime ? message.startTime.toString() : undefined; - return obj; - }, - fromAminoMsg(object: ContinuousVestingAccountAminoMsg): ContinuousVestingAccount { - return ContinuousVestingAccount.fromAmino(object.value); - }, - toAminoMsg(message: ContinuousVestingAccount): ContinuousVestingAccountAminoMsg { - return { - type: "cosmos-sdk/ContinuousVestingAccount", - value: ContinuousVestingAccount.toAmino(message) - }; - }, - fromProtoMsg(message: ContinuousVestingAccountProtoMsg): ContinuousVestingAccount { - return ContinuousVestingAccount.decode(message.value); - }, - toProto(message: ContinuousVestingAccount): Uint8Array { - return ContinuousVestingAccount.encode(message).finish(); - }, - toProtoMsg(message: ContinuousVestingAccount): ContinuousVestingAccountProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.ContinuousVestingAccount", - value: ContinuousVestingAccount.encode(message).finish() - }; - } -}; -function createBaseDelayedVestingAccount(): DelayedVestingAccount { - return { - baseVestingAccount: BaseVestingAccount.fromPartial({}) - }; -} -export const DelayedVestingAccount = { - typeUrl: "/cosmos.vesting.v1beta1.DelayedVestingAccount", - aminoType: "cosmos-sdk/DelayedVestingAccount", - encode(message: DelayedVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseVestingAccount !== undefined) { - BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DelayedVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDelayedVestingAccount(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DelayedVestingAccount { - const obj = createBaseDelayedVestingAccount(); - if (isSet(object.baseVestingAccount)) obj.baseVestingAccount = BaseVestingAccount.fromJSON(object.baseVestingAccount); - return obj; - }, - toJSON(message: DelayedVestingAccount): unknown { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.baseVestingAccount = message.baseVestingAccount ? BaseVestingAccount.toJSON(message.baseVestingAccount) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): DelayedVestingAccount { - const message = createBaseDelayedVestingAccount(); - if (object.baseVestingAccount !== undefined && object.baseVestingAccount !== null) { - message.baseVestingAccount = BaseVestingAccount.fromPartial(object.baseVestingAccount); - } - return message; - }, - fromSDK(object: DelayedVestingAccountSDKType): DelayedVestingAccount { - return { - baseVestingAccount: object.base_vesting_account ? BaseVestingAccount.fromSDK(object.base_vesting_account) : undefined - }; - }, - toSDK(message: DelayedVestingAccount): DelayedVestingAccountSDKType { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.base_vesting_account = message.baseVestingAccount ? BaseVestingAccount.toSDK(message.baseVestingAccount) : undefined); - return obj; - }, - fromAmino(object: DelayedVestingAccountAmino): DelayedVestingAccount { - return { - baseVestingAccount: object?.base_vesting_account ? BaseVestingAccount.fromAmino(object.base_vesting_account) : undefined - }; - }, - toAmino(message: DelayedVestingAccount): DelayedVestingAccountAmino { - const obj: any = {}; - obj.base_vesting_account = message.baseVestingAccount ? BaseVestingAccount.toAmino(message.baseVestingAccount) : undefined; - return obj; - }, - fromAminoMsg(object: DelayedVestingAccountAminoMsg): DelayedVestingAccount { - return DelayedVestingAccount.fromAmino(object.value); - }, - toAminoMsg(message: DelayedVestingAccount): DelayedVestingAccountAminoMsg { - return { - type: "cosmos-sdk/DelayedVestingAccount", - value: DelayedVestingAccount.toAmino(message) - }; - }, - fromProtoMsg(message: DelayedVestingAccountProtoMsg): DelayedVestingAccount { - return DelayedVestingAccount.decode(message.value); - }, - toProto(message: DelayedVestingAccount): Uint8Array { - return DelayedVestingAccount.encode(message).finish(); - }, - toProtoMsg(message: DelayedVestingAccount): DelayedVestingAccountProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.DelayedVestingAccount", - value: DelayedVestingAccount.encode(message).finish() - }; - } -}; -function createBasePeriod(): Period { - return { - length: Long.ZERO, - amount: [] - }; -} -export const Period = { - typeUrl: "/cosmos.vesting.v1beta1.Period", - aminoType: "cosmos-sdk/Period", - encode(message: Period, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.length.isZero()) { - writer.uint32(8).int64(message.length); - } - for (const v of message.amount) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Period { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePeriod(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.length = (reader.int64() as Long); - break; - case 2: - message.amount.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Period { - const obj = createBasePeriod(); - if (isSet(object.length)) obj.length = Long.fromValue(object.length); - if (Array.isArray(object?.amount)) obj.amount = object.amount.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: Period): unknown { - const obj: any = {}; - message.length !== undefined && (obj.length = (message.length || Long.ZERO).toString()); - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Period { - const message = createBasePeriod(); - if (object.length !== undefined && object.length !== null) { - message.length = Long.fromValue(object.length); - } - message.amount = object.amount?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: PeriodSDKType): Period { - return { - length: object?.length, - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: Period): PeriodSDKType { - const obj: any = {}; - obj.length = message.length; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAmino(object: PeriodAmino): Period { - return { - length: Long.fromString(object.length), - amount: Array.isArray(object?.amount) ? object.amount.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: Period): PeriodAmino { - const obj: any = {}; - obj.length = message.length ? message.length.toString() : undefined; - if (message.amount) { - obj.amount = message.amount.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.amount = []; - } - return obj; - }, - fromAminoMsg(object: PeriodAminoMsg): Period { - return Period.fromAmino(object.value); - }, - toAminoMsg(message: Period): PeriodAminoMsg { - return { - type: "cosmos-sdk/Period", - value: Period.toAmino(message) - }; - }, - fromProtoMsg(message: PeriodProtoMsg): Period { - return Period.decode(message.value); - }, - toProto(message: Period): Uint8Array { - return Period.encode(message).finish(); - }, - toProtoMsg(message: Period): PeriodProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.Period", - value: Period.encode(message).finish() - }; - } -}; -function createBasePeriodicVestingAccount(): PeriodicVestingAccount { - return { - baseVestingAccount: BaseVestingAccount.fromPartial({}), - startTime: Long.ZERO, - vestingPeriods: [] - }; -} -export const PeriodicVestingAccount = { - typeUrl: "/cosmos.vesting.v1beta1.PeriodicVestingAccount", - aminoType: "cosmos-sdk/PeriodicVestingAccount", - encode(message: PeriodicVestingAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseVestingAccount !== undefined) { - BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); - } - if (!message.startTime.isZero()) { - writer.uint32(16).int64(message.startTime); - } - for (const v of message.vestingPeriods) { - Period.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicVestingAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePeriodicVestingAccount(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); - break; - case 2: - message.startTime = (reader.int64() as Long); - break; - case 3: - message.vestingPeriods.push(Period.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PeriodicVestingAccount { - const obj = createBasePeriodicVestingAccount(); - if (isSet(object.baseVestingAccount)) obj.baseVestingAccount = BaseVestingAccount.fromJSON(object.baseVestingAccount); - if (isSet(object.startTime)) obj.startTime = Long.fromValue(object.startTime); - if (Array.isArray(object?.vestingPeriods)) obj.vestingPeriods = object.vestingPeriods.map((e: any) => Period.fromJSON(e)); - return obj; - }, - toJSON(message: PeriodicVestingAccount): unknown { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.baseVestingAccount = message.baseVestingAccount ? BaseVestingAccount.toJSON(message.baseVestingAccount) : undefined); - message.startTime !== undefined && (obj.startTime = (message.startTime || Long.ZERO).toString()); - if (message.vestingPeriods) { - obj.vestingPeriods = message.vestingPeriods.map(e => e ? Period.toJSON(e) : undefined); - } else { - obj.vestingPeriods = []; - } - return obj; - }, - fromPartial(object: DeepPartial): PeriodicVestingAccount { - const message = createBasePeriodicVestingAccount(); - if (object.baseVestingAccount !== undefined && object.baseVestingAccount !== null) { - message.baseVestingAccount = BaseVestingAccount.fromPartial(object.baseVestingAccount); - } - if (object.startTime !== undefined && object.startTime !== null) { - message.startTime = Long.fromValue(object.startTime); - } - message.vestingPeriods = object.vestingPeriods?.map(e => Period.fromPartial(e)) || []; - return message; - }, - fromSDK(object: PeriodicVestingAccountSDKType): PeriodicVestingAccount { - return { - baseVestingAccount: object.base_vesting_account ? BaseVestingAccount.fromSDK(object.base_vesting_account) : undefined, - startTime: object?.start_time, - vestingPeriods: Array.isArray(object?.vesting_periods) ? object.vesting_periods.map((e: any) => Period.fromSDK(e)) : [] - }; - }, - toSDK(message: PeriodicVestingAccount): PeriodicVestingAccountSDKType { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.base_vesting_account = message.baseVestingAccount ? BaseVestingAccount.toSDK(message.baseVestingAccount) : undefined); - obj.start_time = message.startTime; - if (message.vestingPeriods) { - obj.vesting_periods = message.vestingPeriods.map(e => e ? Period.toSDK(e) : undefined); - } else { - obj.vesting_periods = []; - } - return obj; - }, - fromAmino(object: PeriodicVestingAccountAmino): PeriodicVestingAccount { - return { - baseVestingAccount: object?.base_vesting_account ? BaseVestingAccount.fromAmino(object.base_vesting_account) : undefined, - startTime: Long.fromString(object.start_time), - vestingPeriods: Array.isArray(object?.vesting_periods) ? object.vesting_periods.map((e: any) => Period.fromAmino(e)) : [] - }; - }, - toAmino(message: PeriodicVestingAccount): PeriodicVestingAccountAmino { - const obj: any = {}; - obj.base_vesting_account = message.baseVestingAccount ? BaseVestingAccount.toAmino(message.baseVestingAccount) : undefined; - obj.start_time = message.startTime ? message.startTime.toString() : undefined; - if (message.vestingPeriods) { - obj.vesting_periods = message.vestingPeriods.map(e => e ? Period.toAmino(e) : undefined); - } else { - obj.vesting_periods = []; - } - return obj; - }, - fromAminoMsg(object: PeriodicVestingAccountAminoMsg): PeriodicVestingAccount { - return PeriodicVestingAccount.fromAmino(object.value); - }, - toAminoMsg(message: PeriodicVestingAccount): PeriodicVestingAccountAminoMsg { - return { - type: "cosmos-sdk/PeriodicVestingAccount", - value: PeriodicVestingAccount.toAmino(message) - }; - }, - fromProtoMsg(message: PeriodicVestingAccountProtoMsg): PeriodicVestingAccount { - return PeriodicVestingAccount.decode(message.value); - }, - toProto(message: PeriodicVestingAccount): Uint8Array { - return PeriodicVestingAccount.encode(message).finish(); - }, - toProtoMsg(message: PeriodicVestingAccount): PeriodicVestingAccountProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.PeriodicVestingAccount", - value: PeriodicVestingAccount.encode(message).finish() - }; - } -}; -function createBasePermanentLockedAccount(): PermanentLockedAccount { - return { - baseVestingAccount: BaseVestingAccount.fromPartial({}) - }; -} -export const PermanentLockedAccount = { - typeUrl: "/cosmos.vesting.v1beta1.PermanentLockedAccount", - aminoType: "cosmos-sdk/PermanentLockedAccount", - encode(message: PermanentLockedAccount, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.baseVestingAccount !== undefined) { - BaseVestingAccount.encode(message.baseVestingAccount, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PermanentLockedAccount { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePermanentLockedAccount(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.baseVestingAccount = BaseVestingAccount.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PermanentLockedAccount { - const obj = createBasePermanentLockedAccount(); - if (isSet(object.baseVestingAccount)) obj.baseVestingAccount = BaseVestingAccount.fromJSON(object.baseVestingAccount); - return obj; - }, - toJSON(message: PermanentLockedAccount): unknown { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.baseVestingAccount = message.baseVestingAccount ? BaseVestingAccount.toJSON(message.baseVestingAccount) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): PermanentLockedAccount { - const message = createBasePermanentLockedAccount(); - if (object.baseVestingAccount !== undefined && object.baseVestingAccount !== null) { - message.baseVestingAccount = BaseVestingAccount.fromPartial(object.baseVestingAccount); - } - return message; - }, - fromSDK(object: PermanentLockedAccountSDKType): PermanentLockedAccount { - return { - baseVestingAccount: object.base_vesting_account ? BaseVestingAccount.fromSDK(object.base_vesting_account) : undefined - }; - }, - toSDK(message: PermanentLockedAccount): PermanentLockedAccountSDKType { - const obj: any = {}; - message.baseVestingAccount !== undefined && (obj.base_vesting_account = message.baseVestingAccount ? BaseVestingAccount.toSDK(message.baseVestingAccount) : undefined); - return obj; - }, - fromAmino(object: PermanentLockedAccountAmino): PermanentLockedAccount { - return { - baseVestingAccount: object?.base_vesting_account ? BaseVestingAccount.fromAmino(object.base_vesting_account) : undefined - }; - }, - toAmino(message: PermanentLockedAccount): PermanentLockedAccountAmino { - const obj: any = {}; - obj.base_vesting_account = message.baseVestingAccount ? BaseVestingAccount.toAmino(message.baseVestingAccount) : undefined; - return obj; - }, - fromAminoMsg(object: PermanentLockedAccountAminoMsg): PermanentLockedAccount { - return PermanentLockedAccount.fromAmino(object.value); - }, - toAminoMsg(message: PermanentLockedAccount): PermanentLockedAccountAminoMsg { - return { - type: "cosmos-sdk/PermanentLockedAccount", - value: PermanentLockedAccount.toAmino(message) - }; - }, - fromProtoMsg(message: PermanentLockedAccountProtoMsg): PermanentLockedAccount { - return PermanentLockedAccount.decode(message.value); - }, - toProto(message: PermanentLockedAccount): Uint8Array { - return PermanentLockedAccount.encode(message).finish(); - }, - toProtoMsg(message: PermanentLockedAccount): PermanentLockedAccountProtoMsg { - return { - typeUrl: "/cosmos.vesting.v1beta1.PermanentLockedAccount", - value: PermanentLockedAccount.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos_proto/bundle.ts b/quicksilverjs/src/codegen/cosmos_proto/bundle.ts deleted file mode 100644 index fd4900265..000000000 --- a/quicksilverjs/src/codegen/cosmos_proto/bundle.ts +++ /dev/null @@ -1,4 +0,0 @@ -import * as _1 from "./cosmos"; -export const cosmos_proto = { - ..._1 -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmos_proto/cosmos.ts b/quicksilverjs/src/codegen/cosmos_proto/cosmos.ts deleted file mode 100644 index 4e30564a1..000000000 --- a/quicksilverjs/src/codegen/cosmos_proto/cosmos.ts +++ /dev/null @@ -1,402 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../helpers"; -export const protobufPackage = "cosmos_proto"; -export enum ScalarType { - SCALAR_TYPE_UNSPECIFIED = 0, - SCALAR_TYPE_STRING = 1, - SCALAR_TYPE_BYTES = 2, - UNRECOGNIZED = -1, -} -export const ScalarTypeSDKType = ScalarType; -export const ScalarTypeAmino = ScalarType; -export function scalarTypeFromJSON(object: any): ScalarType { - switch (object) { - case 0: - case "SCALAR_TYPE_UNSPECIFIED": - return ScalarType.SCALAR_TYPE_UNSPECIFIED; - case 1: - case "SCALAR_TYPE_STRING": - return ScalarType.SCALAR_TYPE_STRING; - case 2: - case "SCALAR_TYPE_BYTES": - return ScalarType.SCALAR_TYPE_BYTES; - case -1: - case "UNRECOGNIZED": - default: - return ScalarType.UNRECOGNIZED; - } -} -export function scalarTypeToJSON(object: ScalarType): string { - switch (object) { - case ScalarType.SCALAR_TYPE_UNSPECIFIED: - return "SCALAR_TYPE_UNSPECIFIED"; - case ScalarType.SCALAR_TYPE_STRING: - return "SCALAR_TYPE_STRING"; - case ScalarType.SCALAR_TYPE_BYTES: - return "SCALAR_TYPE_BYTES"; - case ScalarType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ -export interface InterfaceDescriptor { - /** - * name is the name of the interface. It should be a short-name (without - * a period) such that the fully qualified name of the interface will be - * package.name, ex. for the package a.b and interface named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the interface and its - * purpose. - */ - description: string; -} -export interface InterfaceDescriptorProtoMsg { - typeUrl: "/cosmos_proto.InterfaceDescriptor"; - value: Uint8Array; -} -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ -export interface InterfaceDescriptorAmino { - /** - * name is the name of the interface. It should be a short-name (without - * a period) such that the fully qualified name of the interface will be - * package.name, ex. for the package a.b and interface named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the interface and its - * purpose. - */ - description: string; -} -export interface InterfaceDescriptorAminoMsg { - type: "/cosmos_proto.InterfaceDescriptor"; - value: InterfaceDescriptorAmino; -} -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ -export interface InterfaceDescriptorSDKType { - name: string; - description: string; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ -export interface ScalarDescriptor { - /** - * name is the name of the scalar. It should be a short-name (without - * a period) such that the fully qualified name of the scalar will be - * package.name, ex. for the package a.b and scalar named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the scalar and its - * encoding format. For instance a big integer or decimal scalar should - * specify precisely the expected encoding format. - */ - description: string; - /** - * field_type is the type of field with which this scalar can be used. - * Scalars can be used with one and only one type of field so that - * encoding standards and simple and clear. Currently only string and - * bytes fields are supported for scalars. - */ - fieldType: ScalarType[]; -} -export interface ScalarDescriptorProtoMsg { - typeUrl: "/cosmos_proto.ScalarDescriptor"; - value: Uint8Array; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ -export interface ScalarDescriptorAmino { - /** - * name is the name of the scalar. It should be a short-name (without - * a period) such that the fully qualified name of the scalar will be - * package.name, ex. for the package a.b and scalar named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the scalar and its - * encoding format. For instance a big integer or decimal scalar should - * specify precisely the expected encoding format. - */ - description: string; - /** - * field_type is the type of field with which this scalar can be used. - * Scalars can be used with one and only one type of field so that - * encoding standards and simple and clear. Currently only string and - * bytes fields are supported for scalars. - */ - field_type: ScalarType[]; -} -export interface ScalarDescriptorAminoMsg { - type: "/cosmos_proto.ScalarDescriptor"; - value: ScalarDescriptorAmino; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ -export interface ScalarDescriptorSDKType { - name: string; - description: string; - field_type: ScalarType[]; -} -function createBaseInterfaceDescriptor(): InterfaceDescriptor { - return { - name: "", - description: "" - }; -} -export const InterfaceDescriptor = { - typeUrl: "/cosmos_proto.InterfaceDescriptor", - encode(message: InterfaceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInterfaceDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): InterfaceDescriptor { - const obj = createBaseInterfaceDescriptor(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.description)) obj.description = String(object.description); - return obj; - }, - toJSON(message: InterfaceDescriptor): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.description !== undefined && (obj.description = message.description); - return obj; - }, - fromPartial(object: DeepPartial): InterfaceDescriptor { - const message = createBaseInterfaceDescriptor(); - message.name = object.name ?? ""; - message.description = object.description ?? ""; - return message; - }, - fromSDK(object: InterfaceDescriptorSDKType): InterfaceDescriptor { - return { - name: object?.name, - description: object?.description - }; - }, - toSDK(message: InterfaceDescriptor): InterfaceDescriptorSDKType { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - return obj; - }, - fromAmino(object: InterfaceDescriptorAmino): InterfaceDescriptor { - return { - name: object.name, - description: object.description - }; - }, - toAmino(message: InterfaceDescriptor): InterfaceDescriptorAmino { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - return obj; - }, - fromAminoMsg(object: InterfaceDescriptorAminoMsg): InterfaceDescriptor { - return InterfaceDescriptor.fromAmino(object.value); - }, - fromProtoMsg(message: InterfaceDescriptorProtoMsg): InterfaceDescriptor { - return InterfaceDescriptor.decode(message.value); - }, - toProto(message: InterfaceDescriptor): Uint8Array { - return InterfaceDescriptor.encode(message).finish(); - }, - toProtoMsg(message: InterfaceDescriptor): InterfaceDescriptorProtoMsg { - return { - typeUrl: "/cosmos_proto.InterfaceDescriptor", - value: InterfaceDescriptor.encode(message).finish() - }; - } -}; -function createBaseScalarDescriptor(): ScalarDescriptor { - return { - name: "", - description: "", - fieldType: [] - }; -} -export const ScalarDescriptor = { - typeUrl: "/cosmos_proto.ScalarDescriptor", - encode(message: ScalarDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - writer.uint32(26).fork(); - for (const v of message.fieldType) { - writer.int32(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ScalarDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseScalarDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.fieldType.push((reader.int32() as any)); - } - } else { - message.fieldType.push((reader.int32() as any)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ScalarDescriptor { - const obj = createBaseScalarDescriptor(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.description)) obj.description = String(object.description); - if (Array.isArray(object?.fieldType)) obj.fieldType = object.fieldType.map((e: any) => scalarTypeFromJSON(e)); - return obj; - }, - toJSON(message: ScalarDescriptor): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.description !== undefined && (obj.description = message.description); - if (message.fieldType) { - obj.fieldType = message.fieldType.map(e => scalarTypeToJSON(e)); - } else { - obj.fieldType = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ScalarDescriptor { - const message = createBaseScalarDescriptor(); - message.name = object.name ?? ""; - message.description = object.description ?? ""; - message.fieldType = object.fieldType?.map(e => e) || []; - return message; - }, - fromSDK(object: ScalarDescriptorSDKType): ScalarDescriptor { - return { - name: object?.name, - description: object?.description, - fieldType: Array.isArray(object?.field_type) ? object.field_type.map((e: any) => scalarTypeFromJSON(e)) : [] - }; - }, - toSDK(message: ScalarDescriptor): ScalarDescriptorSDKType { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - if (message.fieldType) { - obj.field_type = message.fieldType.map(e => scalarTypeToJSON(e)); - } else { - obj.field_type = []; - } - return obj; - }, - fromAmino(object: ScalarDescriptorAmino): ScalarDescriptor { - return { - name: object.name, - description: object.description, - fieldType: Array.isArray(object?.field_type) ? object.field_type.map((e: any) => scalarTypeFromJSON(e)) : [] - }; - }, - toAmino(message: ScalarDescriptor): ScalarDescriptorAmino { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - if (message.fieldType) { - obj.field_type = message.fieldType.map(e => scalarTypeToJSON(e)); - } else { - obj.field_type = []; - } - return obj; - }, - fromAminoMsg(object: ScalarDescriptorAminoMsg): ScalarDescriptor { - return ScalarDescriptor.fromAmino(object.value); - }, - fromProtoMsg(message: ScalarDescriptorProtoMsg): ScalarDescriptor { - return ScalarDescriptor.decode(message.value); - }, - toProto(message: ScalarDescriptor): Uint8Array { - return ScalarDescriptor.encode(message).finish(); - }, - toProtoMsg(message: ScalarDescriptor): ScalarDescriptorProtoMsg { - return { - typeUrl: "/cosmos_proto.ScalarDescriptor", - value: ScalarDescriptor.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/bundle.ts b/quicksilverjs/src/codegen/cosmwasm/bundle.ts deleted file mode 100644 index ca354294b..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/bundle.ts +++ /dev/null @@ -1,36 +0,0 @@ -import * as _94 from "./wasm/v1/genesis"; -import * as _95 from "./wasm/v1/ibc"; -import * as _96 from "./wasm/v1/proposal"; -import * as _97 from "./wasm/v1/query"; -import * as _98 from "./wasm/v1/tx"; -import * as _99 from "./wasm/v1/types"; -import * as _299 from "./wasm/v1/tx.amino"; -import * as _300 from "./wasm/v1/tx.registry"; -import * as _301 from "./wasm/v1/query.lcd"; -import * as _302 from "./wasm/v1/query.rpc.Query"; -import * as _303 from "./wasm/v1/tx.rpc.msg"; -import * as _357 from "./lcd"; -import * as _358 from "./rpc.query"; -import * as _359 from "./rpc.tx"; -export namespace cosmwasm { - export namespace wasm { - export const v1 = { - ..._94, - ..._95, - ..._96, - ..._97, - ..._98, - ..._99, - ..._299, - ..._300, - ..._301, - ..._302, - ..._303 - }; - } - export const ClientFactory = { - ..._357, - ..._358, - ..._359 - }; -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/client.ts b/quicksilverjs/src/codegen/cosmwasm/client.ts deleted file mode 100644 index 1b6196fc7..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/client.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { GeneratedType, Registry, OfflineSigner } from "@cosmjs/proto-signing"; -import { defaultRegistryTypes, AminoTypes, SigningStargateClient } from "@cosmjs/stargate"; -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -import * as cosmwasmWasmV1TxRegistry from "./wasm/v1/tx.registry"; -import * as cosmwasmWasmV1TxAmino from "./wasm/v1/tx.amino"; -export const cosmwasmAminoConverters = { - ...cosmwasmWasmV1TxAmino.AminoConverter -}; -export const cosmwasmProtoRegistry: ReadonlyArray<[string, GeneratedType]> = [...cosmwasmWasmV1TxRegistry.registry]; -export const getSigningCosmwasmClientOptions = ({ - defaultTypes = defaultRegistryTypes -}: { - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -} = {}): { - registry: Registry; - aminoTypes: AminoTypes; -} => { - const registry = new Registry([...defaultTypes, ...cosmwasmProtoRegistry]); - const aminoTypes = new AminoTypes({ - ...cosmwasmAminoConverters - }); - return { - registry, - aminoTypes - }; -}; -export const getSigningCosmwasmClient = async ({ - rpcEndpoint, - signer, - defaultTypes = defaultRegistryTypes -}: { - rpcEndpoint: string | HttpEndpoint; - signer: OfflineSigner; - defaultTypes?: ReadonlyArray<[string, GeneratedType]>; -}) => { - const { - registry, - aminoTypes - } = getSigningCosmwasmClientOptions({ - defaultTypes - }); - const client = await SigningStargateClient.connectWithSigner(rpcEndpoint, signer, { - registry: (registry as any), - aminoTypes - }); - return client; -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/lcd.ts b/quicksilverjs/src/codegen/cosmwasm/lcd.ts deleted file mode 100644 index 6dfb2b662..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/lcd.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { LCDClient } from "@cosmology/lcd"; -export const createLCDClient = async ({ - restEndpoint -}: { - restEndpoint: string; -}) => { - const requestClient = new LCDClient({ - restEndpoint - }); - return { - cosmos: { - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - base: { - tendermint: { - v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - feegrant: { - v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.lcd")).LCDQueryClient({ - requestClient - }), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - params: { - v1beta1: new (await import("../cosmos/params/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - staking: { - v1beta1: new (await import("../cosmos/staking/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - }, - tx: { - v1beta1: new (await import("../cosmos/tx/v1beta1/service.lcd")).LCDQueryClient({ - requestClient - }) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - }, - cosmwasm: { - wasm: { - v1: new (await import("./wasm/v1/query.lcd")).LCDQueryClient({ - requestClient - }) - } - } - }; -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/rpc.query.ts b/quicksilverjs/src/codegen/cosmwasm/rpc.query.ts deleted file mode 100644 index d0eb317db..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/rpc.query.ts +++ /dev/null @@ -1,70 +0,0 @@ -export const createGrpcGateWayClient = async ({ - endpoint -}: { - endpoint: string; -}) => { - endpoint = endpoint.replace(/\/*$/g, ""); - return { - cosmos: { - app: { - v1alpha1: new (await import("../cosmos/app/v1alpha1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - auth: { - v1beta1: new (await import("../cosmos/auth/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - authz: { - v1beta1: new (await import("../cosmos/authz/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - bank: { - v1beta1: new (await import("../cosmos/bank/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - base: { - tendermint: { - v1beta1: new (await import("../cosmos/base/tendermint/v1beta1/query.rpc.Service")).ServiceClientImpl(endpoint) - } - }, - distribution: { - v1beta1: new (await import("../cosmos/distribution/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - evidence: { - v1beta1: new (await import("../cosmos/evidence/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - feegrant: { - v1beta1: new (await import("../cosmos/feegrant/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - gov: { - v1: new (await import("../cosmos/gov/v1/query.rpc.Query")).QueryClientImpl(endpoint), - v1beta1: new (await import("../cosmos/gov/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - group: { - v1: new (await import("../cosmos/group/v1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - mint: { - v1beta1: new (await import("../cosmos/mint/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - nft: { - v1beta1: new (await import("../cosmos/nft/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - params: { - v1beta1: new (await import("../cosmos/params/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - slashing: { - v1beta1: new (await import("../cosmos/slashing/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - staking: { - v1beta1: new (await import("../cosmos/staking/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - }, - tx: { - v1beta1: new (await import("../cosmos/tx/v1beta1/service.rpc.Service")).ServiceClientImpl(endpoint) - }, - upgrade: { - v1beta1: new (await import("../cosmos/upgrade/v1beta1/query.rpc.Query")).QueryClientImpl(endpoint) - } - }, - cosmwasm: { - wasm: { - v1: new (await import("./wasm/v1/query.rpc.Query")).QueryClientImpl(endpoint) - } - } - }; -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/rpc.tx.ts b/quicksilverjs/src/codegen/cosmwasm/rpc.tx.ts deleted file mode 100644 index e69de29bb..000000000 diff --git a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/genesis.ts b/quicksilverjs/src/codegen/cosmwasm/wasm/v1/genesis.ts deleted file mode 100644 index dc4ed1f45..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/genesis.ts +++ /dev/null @@ -1,836 +0,0 @@ -import { MsgStoreCode, MsgStoreCodeAmino, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractAmino, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractAmino, MsgExecuteContractSDKType } from "./tx"; -import { Params, ParamsAmino, ParamsSDKType, CodeInfo, CodeInfoAmino, CodeInfoSDKType, ContractInfo, ContractInfoAmino, ContractInfoSDKType, Model, ModelAmino, ModelSDKType } from "./types"; -import { Long, isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmwasm.wasm.v1"; -/** GenesisState - genesis state of x/wasm */ -export interface GenesisState { - params: Params; - codes: Code[]; - contracts: Contract[]; - sequences: Sequence[]; - genMsgs: GenesisState_GenMsgs[]; -} -export interface GenesisStateProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.GenesisState"; - value: Uint8Array; -} -/** GenesisState - genesis state of x/wasm */ -export interface GenesisStateAmino { - params?: ParamsAmino; - codes: CodeAmino[]; - contracts: ContractAmino[]; - sequences: SequenceAmino[]; - gen_msgs: GenesisState_GenMsgsAmino[]; -} -export interface GenesisStateAminoMsg { - type: "wasm/GenesisState"; - value: GenesisStateAmino; -} -/** GenesisState - genesis state of x/wasm */ -export interface GenesisStateSDKType { - params: ParamsSDKType; - codes: CodeSDKType[]; - contracts: ContractSDKType[]; - sequences: SequenceSDKType[]; - gen_msgs: GenesisState_GenMsgsSDKType[]; -} -/** - * GenMsgs define the messages that can be executed during genesis phase in - * order. The intention is to have more human readable data that is auditable. - */ -export interface GenesisState_GenMsgs { - storeCode?: MsgStoreCode; - instantiateContract?: MsgInstantiateContract; - executeContract?: MsgExecuteContract; -} -export interface GenesisState_GenMsgsProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.GenMsgs"; - value: Uint8Array; -} -/** - * GenMsgs define the messages that can be executed during genesis phase in - * order. The intention is to have more human readable data that is auditable. - */ -export interface GenesisState_GenMsgsAmino { - store_code?: MsgStoreCodeAmino; - instantiate_contract?: MsgInstantiateContractAmino; - execute_contract?: MsgExecuteContractAmino; -} -export interface GenesisState_GenMsgsAminoMsg { - type: "wasm/GenMsgs"; - value: GenesisState_GenMsgsAmino; -} -/** - * GenMsgs define the messages that can be executed during genesis phase in - * order. The intention is to have more human readable data that is auditable. - */ -export interface GenesisState_GenMsgsSDKType { - store_code?: MsgStoreCodeSDKType; - instantiate_contract?: MsgInstantiateContractSDKType; - execute_contract?: MsgExecuteContractSDKType; -} -/** Code struct encompasses CodeInfo and CodeBytes */ -export interface Code { - codeId: Long; - codeInfo: CodeInfo; - codeBytes: Uint8Array; - /** Pinned to wasmvm cache */ - pinned: boolean; -} -export interface CodeProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.Code"; - value: Uint8Array; -} -/** Code struct encompasses CodeInfo and CodeBytes */ -export interface CodeAmino { - code_id: string; - code_info?: CodeInfoAmino; - code_bytes: Uint8Array; - /** Pinned to wasmvm cache */ - pinned: boolean; -} -export interface CodeAminoMsg { - type: "wasm/Code"; - value: CodeAmino; -} -/** Code struct encompasses CodeInfo and CodeBytes */ -export interface CodeSDKType { - code_id: Long; - code_info: CodeInfoSDKType; - code_bytes: Uint8Array; - pinned: boolean; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ -export interface Contract { - contractAddress: string; - contractInfo: ContractInfo; - contractState: Model[]; -} -export interface ContractProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.Contract"; - value: Uint8Array; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ -export interface ContractAmino { - contract_address: string; - contract_info?: ContractInfoAmino; - contract_state: ModelAmino[]; -} -export interface ContractAminoMsg { - type: "wasm/Contract"; - value: ContractAmino; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ -export interface ContractSDKType { - contract_address: string; - contract_info: ContractInfoSDKType; - contract_state: ModelSDKType[]; -} -/** Sequence key and value of an id generation counter */ -export interface Sequence { - idKey: Uint8Array; - value: Long; -} -export interface SequenceProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.Sequence"; - value: Uint8Array; -} -/** Sequence key and value of an id generation counter */ -export interface SequenceAmino { - id_key: Uint8Array; - value: string; -} -export interface SequenceAminoMsg { - type: "wasm/Sequence"; - value: SequenceAmino; -} -/** Sequence key and value of an id generation counter */ -export interface SequenceSDKType { - id_key: Uint8Array; - value: Long; -} -function createBaseGenesisState(): GenesisState { - return { - params: Params.fromPartial({}), - codes: [], - contracts: [], - sequences: [], - genMsgs: [] - }; -} -export const GenesisState = { - typeUrl: "/cosmwasm.wasm.v1.GenesisState", - aminoType: "wasm/GenesisState", - encode(message: GenesisState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.params !== undefined) { - Params.encode(message.params, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.codes) { - Code.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.contracts) { - Contract.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.sequences) { - Sequence.encode(v!, writer.uint32(34).fork()).ldelim(); - } - for (const v of message.genMsgs) { - GenesisState_GenMsgs.encode(v!, writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.params = Params.decode(reader, reader.uint32()); - break; - case 2: - message.codes.push(Code.decode(reader, reader.uint32())); - break; - case 3: - message.contracts.push(Contract.decode(reader, reader.uint32())); - break; - case 4: - message.sequences.push(Sequence.decode(reader, reader.uint32())); - break; - case 5: - message.genMsgs.push(GenesisState_GenMsgs.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState { - const obj = createBaseGenesisState(); - if (isSet(object.params)) obj.params = Params.fromJSON(object.params); - if (Array.isArray(object?.codes)) obj.codes = object.codes.map((e: any) => Code.fromJSON(e)); - if (Array.isArray(object?.contracts)) obj.contracts = object.contracts.map((e: any) => Contract.fromJSON(e)); - if (Array.isArray(object?.sequences)) obj.sequences = object.sequences.map((e: any) => Sequence.fromJSON(e)); - if (Array.isArray(object?.genMsgs)) obj.genMsgs = object.genMsgs.map((e: any) => GenesisState_GenMsgs.fromJSON(e)); - return obj; - }, - toJSON(message: GenesisState): unknown { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toJSON(message.params) : undefined); - if (message.codes) { - obj.codes = message.codes.map(e => e ? Code.toJSON(e) : undefined); - } else { - obj.codes = []; - } - if (message.contracts) { - obj.contracts = message.contracts.map(e => e ? Contract.toJSON(e) : undefined); - } else { - obj.contracts = []; - } - if (message.sequences) { - obj.sequences = message.sequences.map(e => e ? Sequence.toJSON(e) : undefined); - } else { - obj.sequences = []; - } - if (message.genMsgs) { - obj.genMsgs = message.genMsgs.map(e => e ? GenesisState_GenMsgs.toJSON(e) : undefined); - } else { - obj.genMsgs = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - if (object.params !== undefined && object.params !== null) { - message.params = Params.fromPartial(object.params); - } - message.codes = object.codes?.map(e => Code.fromPartial(e)) || []; - message.contracts = object.contracts?.map(e => Contract.fromPartial(e)) || []; - message.sequences = object.sequences?.map(e => Sequence.fromPartial(e)) || []; - message.genMsgs = object.genMsgs?.map(e => GenesisState_GenMsgs.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenesisStateSDKType): GenesisState { - return { - params: object.params ? Params.fromSDK(object.params) : undefined, - codes: Array.isArray(object?.codes) ? object.codes.map((e: any) => Code.fromSDK(e)) : [], - contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => Contract.fromSDK(e)) : [], - sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Sequence.fromSDK(e)) : [], - genMsgs: Array.isArray(object?.gen_msgs) ? object.gen_msgs.map((e: any) => GenesisState_GenMsgs.fromSDK(e)) : [] - }; - }, - toSDK(message: GenesisState): GenesisStateSDKType { - const obj: any = {}; - message.params !== undefined && (obj.params = message.params ? Params.toSDK(message.params) : undefined); - if (message.codes) { - obj.codes = message.codes.map(e => e ? Code.toSDK(e) : undefined); - } else { - obj.codes = []; - } - if (message.contracts) { - obj.contracts = message.contracts.map(e => e ? Contract.toSDK(e) : undefined); - } else { - obj.contracts = []; - } - if (message.sequences) { - obj.sequences = message.sequences.map(e => e ? Sequence.toSDK(e) : undefined); - } else { - obj.sequences = []; - } - if (message.genMsgs) { - obj.gen_msgs = message.genMsgs.map(e => e ? GenesisState_GenMsgs.toSDK(e) : undefined); - } else { - obj.gen_msgs = []; - } - return obj; - }, - fromAmino(object: GenesisStateAmino): GenesisState { - return { - params: object?.params ? Params.fromAmino(object.params) : undefined, - codes: Array.isArray(object?.codes) ? object.codes.map((e: any) => Code.fromAmino(e)) : [], - contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => Contract.fromAmino(e)) : [], - sequences: Array.isArray(object?.sequences) ? object.sequences.map((e: any) => Sequence.fromAmino(e)) : [], - genMsgs: Array.isArray(object?.gen_msgs) ? object.gen_msgs.map((e: any) => GenesisState_GenMsgs.fromAmino(e)) : [] - }; - }, - toAmino(message: GenesisState): GenesisStateAmino { - const obj: any = {}; - obj.params = message.params ? Params.toAmino(message.params) : undefined; - if (message.codes) { - obj.codes = message.codes.map(e => e ? Code.toAmino(e) : undefined); - } else { - obj.codes = []; - } - if (message.contracts) { - obj.contracts = message.contracts.map(e => e ? Contract.toAmino(e) : undefined); - } else { - obj.contracts = []; - } - if (message.sequences) { - obj.sequences = message.sequences.map(e => e ? Sequence.toAmino(e) : undefined); - } else { - obj.sequences = []; - } - if (message.genMsgs) { - obj.gen_msgs = message.genMsgs.map(e => e ? GenesisState_GenMsgs.toAmino(e) : undefined); - } else { - obj.gen_msgs = []; - } - return obj; - }, - fromAminoMsg(object: GenesisStateAminoMsg): GenesisState { - return GenesisState.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState): GenesisStateAminoMsg { - return { - type: "wasm/GenesisState", - value: GenesisState.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisStateProtoMsg): GenesisState { - return GenesisState.decode(message.value); - }, - toProto(message: GenesisState): Uint8Array { - return GenesisState.encode(message).finish(); - }, - toProtoMsg(message: GenesisState): GenesisStateProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.GenesisState", - value: GenesisState.encode(message).finish() - }; - } -}; -function createBaseGenesisState_GenMsgs(): GenesisState_GenMsgs { - return { - storeCode: undefined, - instantiateContract: undefined, - executeContract: undefined - }; -} -export const GenesisState_GenMsgs = { - typeUrl: "/cosmwasm.wasm.v1.GenMsgs", - aminoType: "wasm/GenMsgs", - encode(message: GenesisState_GenMsgs, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.storeCode !== undefined) { - MsgStoreCode.encode(message.storeCode, writer.uint32(10).fork()).ldelim(); - } - if (message.instantiateContract !== undefined) { - MsgInstantiateContract.encode(message.instantiateContract, writer.uint32(18).fork()).ldelim(); - } - if (message.executeContract !== undefined) { - MsgExecuteContract.encode(message.executeContract, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState_GenMsgs { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenesisState_GenMsgs(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.storeCode = MsgStoreCode.decode(reader, reader.uint32()); - break; - case 2: - message.instantiateContract = MsgInstantiateContract.decode(reader, reader.uint32()); - break; - case 3: - message.executeContract = MsgExecuteContract.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenesisState_GenMsgs { - const obj = createBaseGenesisState_GenMsgs(); - if (isSet(object.storeCode)) obj.storeCode = MsgStoreCode.fromJSON(object.storeCode); - if (isSet(object.instantiateContract)) obj.instantiateContract = MsgInstantiateContract.fromJSON(object.instantiateContract); - if (isSet(object.executeContract)) obj.executeContract = MsgExecuteContract.fromJSON(object.executeContract); - return obj; - }, - toJSON(message: GenesisState_GenMsgs): unknown { - const obj: any = {}; - message.storeCode !== undefined && (obj.storeCode = message.storeCode ? MsgStoreCode.toJSON(message.storeCode) : undefined); - message.instantiateContract !== undefined && (obj.instantiateContract = message.instantiateContract ? MsgInstantiateContract.toJSON(message.instantiateContract) : undefined); - message.executeContract !== undefined && (obj.executeContract = message.executeContract ? MsgExecuteContract.toJSON(message.executeContract) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GenesisState_GenMsgs { - const message = createBaseGenesisState_GenMsgs(); - if (object.storeCode !== undefined && object.storeCode !== null) { - message.storeCode = MsgStoreCode.fromPartial(object.storeCode); - } - if (object.instantiateContract !== undefined && object.instantiateContract !== null) { - message.instantiateContract = MsgInstantiateContract.fromPartial(object.instantiateContract); - } - if (object.executeContract !== undefined && object.executeContract !== null) { - message.executeContract = MsgExecuteContract.fromPartial(object.executeContract); - } - return message; - }, - fromSDK(object: GenesisState_GenMsgsSDKType): GenesisState_GenMsgs { - return { - storeCode: object.store_code ? MsgStoreCode.fromSDK(object.store_code) : undefined, - instantiateContract: object.instantiate_contract ? MsgInstantiateContract.fromSDK(object.instantiate_contract) : undefined, - executeContract: object.execute_contract ? MsgExecuteContract.fromSDK(object.execute_contract) : undefined - }; - }, - toSDK(message: GenesisState_GenMsgs): GenesisState_GenMsgsSDKType { - const obj: any = {}; - message.storeCode !== undefined && (obj.store_code = message.storeCode ? MsgStoreCode.toSDK(message.storeCode) : undefined); - message.instantiateContract !== undefined && (obj.instantiate_contract = message.instantiateContract ? MsgInstantiateContract.toSDK(message.instantiateContract) : undefined); - message.executeContract !== undefined && (obj.execute_contract = message.executeContract ? MsgExecuteContract.toSDK(message.executeContract) : undefined); - return obj; - }, - fromAmino(object: GenesisState_GenMsgsAmino): GenesisState_GenMsgs { - return { - storeCode: object?.store_code ? MsgStoreCode.fromAmino(object.store_code) : undefined, - instantiateContract: object?.instantiate_contract ? MsgInstantiateContract.fromAmino(object.instantiate_contract) : undefined, - executeContract: object?.execute_contract ? MsgExecuteContract.fromAmino(object.execute_contract) : undefined - }; - }, - toAmino(message: GenesisState_GenMsgs): GenesisState_GenMsgsAmino { - const obj: any = {}; - obj.store_code = message.storeCode ? MsgStoreCode.toAmino(message.storeCode) : undefined; - obj.instantiate_contract = message.instantiateContract ? MsgInstantiateContract.toAmino(message.instantiateContract) : undefined; - obj.execute_contract = message.executeContract ? MsgExecuteContract.toAmino(message.executeContract) : undefined; - return obj; - }, - fromAminoMsg(object: GenesisState_GenMsgsAminoMsg): GenesisState_GenMsgs { - return GenesisState_GenMsgs.fromAmino(object.value); - }, - toAminoMsg(message: GenesisState_GenMsgs): GenesisState_GenMsgsAminoMsg { - return { - type: "wasm/GenMsgs", - value: GenesisState_GenMsgs.toAmino(message) - }; - }, - fromProtoMsg(message: GenesisState_GenMsgsProtoMsg): GenesisState_GenMsgs { - return GenesisState_GenMsgs.decode(message.value); - }, - toProto(message: GenesisState_GenMsgs): Uint8Array { - return GenesisState_GenMsgs.encode(message).finish(); - }, - toProtoMsg(message: GenesisState_GenMsgs): GenesisState_GenMsgsProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.GenMsgs", - value: GenesisState_GenMsgs.encode(message).finish() - }; - } -}; -function createBaseCode(): Code { - return { - codeId: Long.UZERO, - codeInfo: CodeInfo.fromPartial({}), - codeBytes: new Uint8Array(), - pinned: false - }; -} -export const Code = { - typeUrl: "/cosmwasm.wasm.v1.Code", - aminoType: "wasm/Code", - encode(message: Code, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - if (message.codeInfo !== undefined) { - CodeInfo.encode(message.codeInfo, writer.uint32(18).fork()).ldelim(); - } - if (message.codeBytes.length !== 0) { - writer.uint32(26).bytes(message.codeBytes); - } - if (message.pinned === true) { - writer.uint32(32).bool(message.pinned); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Code { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCode(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - case 2: - message.codeInfo = CodeInfo.decode(reader, reader.uint32()); - break; - case 3: - message.codeBytes = reader.bytes(); - break; - case 4: - message.pinned = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Code { - const obj = createBaseCode(); - if (isSet(object.codeId)) obj.codeId = Long.fromValue(object.codeId); - if (isSet(object.codeInfo)) obj.codeInfo = CodeInfo.fromJSON(object.codeInfo); - if (isSet(object.codeBytes)) obj.codeBytes = bytesFromBase64(object.codeBytes); - if (isSet(object.pinned)) obj.pinned = Boolean(object.pinned); - return obj; - }, - toJSON(message: Code): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.codeInfo !== undefined && (obj.codeInfo = message.codeInfo ? CodeInfo.toJSON(message.codeInfo) : undefined); - message.codeBytes !== undefined && (obj.codeBytes = base64FromBytes(message.codeBytes !== undefined ? message.codeBytes : new Uint8Array())); - message.pinned !== undefined && (obj.pinned = message.pinned); - return obj; - }, - fromPartial(object: DeepPartial): Code { - const message = createBaseCode(); - if (object.codeId !== undefined && object.codeId !== null) { - message.codeId = Long.fromValue(object.codeId); - } - if (object.codeInfo !== undefined && object.codeInfo !== null) { - message.codeInfo = CodeInfo.fromPartial(object.codeInfo); - } - message.codeBytes = object.codeBytes ?? new Uint8Array(); - message.pinned = object.pinned ?? false; - return message; - }, - fromSDK(object: CodeSDKType): Code { - return { - codeId: object?.code_id, - codeInfo: object.code_info ? CodeInfo.fromSDK(object.code_info) : undefined, - codeBytes: object?.code_bytes, - pinned: object?.pinned - }; - }, - toSDK(message: Code): CodeSDKType { - const obj: any = {}; - obj.code_id = message.codeId; - message.codeInfo !== undefined && (obj.code_info = message.codeInfo ? CodeInfo.toSDK(message.codeInfo) : undefined); - obj.code_bytes = message.codeBytes; - obj.pinned = message.pinned; - return obj; - }, - fromAmino(object: CodeAmino): Code { - return { - codeId: Long.fromString(object.code_id), - codeInfo: object?.code_info ? CodeInfo.fromAmino(object.code_info) : undefined, - codeBytes: object.code_bytes, - pinned: object.pinned - }; - }, - toAmino(message: Code): CodeAmino { - const obj: any = {}; - obj.code_id = message.codeId ? message.codeId.toString() : undefined; - obj.code_info = message.codeInfo ? CodeInfo.toAmino(message.codeInfo) : undefined; - obj.code_bytes = message.codeBytes; - obj.pinned = message.pinned; - return obj; - }, - fromAminoMsg(object: CodeAminoMsg): Code { - return Code.fromAmino(object.value); - }, - toAminoMsg(message: Code): CodeAminoMsg { - return { - type: "wasm/Code", - value: Code.toAmino(message) - }; - }, - fromProtoMsg(message: CodeProtoMsg): Code { - return Code.decode(message.value); - }, - toProto(message: Code): Uint8Array { - return Code.encode(message).finish(); - }, - toProtoMsg(message: Code): CodeProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.Code", - value: Code.encode(message).finish() - }; - } -}; -function createBaseContract(): Contract { - return { - contractAddress: "", - contractInfo: ContractInfo.fromPartial({}), - contractState: [] - }; -} -export const Contract = { - typeUrl: "/cosmwasm.wasm.v1.Contract", - aminoType: "wasm/Contract", - encode(message: Contract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.contractAddress !== "") { - writer.uint32(10).string(message.contractAddress); - } - if (message.contractInfo !== undefined) { - ContractInfo.encode(message.contractInfo, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.contractState) { - Model.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Contract { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContract(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.contractAddress = reader.string(); - break; - case 2: - message.contractInfo = ContractInfo.decode(reader, reader.uint32()); - break; - case 3: - message.contractState.push(Model.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Contract { - const obj = createBaseContract(); - if (isSet(object.contractAddress)) obj.contractAddress = String(object.contractAddress); - if (isSet(object.contractInfo)) obj.contractInfo = ContractInfo.fromJSON(object.contractInfo); - if (Array.isArray(object?.contractState)) obj.contractState = object.contractState.map((e: any) => Model.fromJSON(e)); - return obj; - }, - toJSON(message: Contract): unknown { - const obj: any = {}; - message.contractAddress !== undefined && (obj.contractAddress = message.contractAddress); - message.contractInfo !== undefined && (obj.contractInfo = message.contractInfo ? ContractInfo.toJSON(message.contractInfo) : undefined); - if (message.contractState) { - obj.contractState = message.contractState.map(e => e ? Model.toJSON(e) : undefined); - } else { - obj.contractState = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Contract { - const message = createBaseContract(); - message.contractAddress = object.contractAddress ?? ""; - if (object.contractInfo !== undefined && object.contractInfo !== null) { - message.contractInfo = ContractInfo.fromPartial(object.contractInfo); - } - message.contractState = object.contractState?.map(e => Model.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ContractSDKType): Contract { - return { - contractAddress: object?.contract_address, - contractInfo: object.contract_info ? ContractInfo.fromSDK(object.contract_info) : undefined, - contractState: Array.isArray(object?.contract_state) ? object.contract_state.map((e: any) => Model.fromSDK(e)) : [] - }; - }, - toSDK(message: Contract): ContractSDKType { - const obj: any = {}; - obj.contract_address = message.contractAddress; - message.contractInfo !== undefined && (obj.contract_info = message.contractInfo ? ContractInfo.toSDK(message.contractInfo) : undefined); - if (message.contractState) { - obj.contract_state = message.contractState.map(e => e ? Model.toSDK(e) : undefined); - } else { - obj.contract_state = []; - } - return obj; - }, - fromAmino(object: ContractAmino): Contract { - return { - contractAddress: object.contract_address, - contractInfo: object?.contract_info ? ContractInfo.fromAmino(object.contract_info) : undefined, - contractState: Array.isArray(object?.contract_state) ? object.contract_state.map((e: any) => Model.fromAmino(e)) : [] - }; - }, - toAmino(message: Contract): ContractAmino { - const obj: any = {}; - obj.contract_address = message.contractAddress; - obj.contract_info = message.contractInfo ? ContractInfo.toAmino(message.contractInfo) : undefined; - if (message.contractState) { - obj.contract_state = message.contractState.map(e => e ? Model.toAmino(e) : undefined); - } else { - obj.contract_state = []; - } - return obj; - }, - fromAminoMsg(object: ContractAminoMsg): Contract { - return Contract.fromAmino(object.value); - }, - toAminoMsg(message: Contract): ContractAminoMsg { - return { - type: "wasm/Contract", - value: Contract.toAmino(message) - }; - }, - fromProtoMsg(message: ContractProtoMsg): Contract { - return Contract.decode(message.value); - }, - toProto(message: Contract): Uint8Array { - return Contract.encode(message).finish(); - }, - toProtoMsg(message: Contract): ContractProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.Contract", - value: Contract.encode(message).finish() - }; - } -}; -function createBaseSequence(): Sequence { - return { - idKey: new Uint8Array(), - value: Long.UZERO - }; -} -export const Sequence = { - typeUrl: "/cosmwasm.wasm.v1.Sequence", - aminoType: "wasm/Sequence", - encode(message: Sequence, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.idKey.length !== 0) { - writer.uint32(10).bytes(message.idKey); - } - if (!message.value.isZero()) { - writer.uint32(16).uint64(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Sequence { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSequence(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.idKey = reader.bytes(); - break; - case 2: - message.value = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Sequence { - const obj = createBaseSequence(); - if (isSet(object.idKey)) obj.idKey = bytesFromBase64(object.idKey); - if (isSet(object.value)) obj.value = Long.fromValue(object.value); - return obj; - }, - toJSON(message: Sequence): unknown { - const obj: any = {}; - message.idKey !== undefined && (obj.idKey = base64FromBytes(message.idKey !== undefined ? message.idKey : new Uint8Array())); - message.value !== undefined && (obj.value = (message.value || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): Sequence { - const message = createBaseSequence(); - message.idKey = object.idKey ?? new Uint8Array(); - if (object.value !== undefined && object.value !== null) { - message.value = Long.fromValue(object.value); - } - return message; - }, - fromSDK(object: SequenceSDKType): Sequence { - return { - idKey: object?.id_key, - value: object?.value - }; - }, - toSDK(message: Sequence): SequenceSDKType { - const obj: any = {}; - obj.id_key = message.idKey; - obj.value = message.value; - return obj; - }, - fromAmino(object: SequenceAmino): Sequence { - return { - idKey: object.id_key, - value: Long.fromString(object.value) - }; - }, - toAmino(message: Sequence): SequenceAmino { - const obj: any = {}; - obj.id_key = message.idKey; - obj.value = message.value ? message.value.toString() : undefined; - return obj; - }, - fromAminoMsg(object: SequenceAminoMsg): Sequence { - return Sequence.fromAmino(object.value); - }, - toAminoMsg(message: Sequence): SequenceAminoMsg { - return { - type: "wasm/Sequence", - value: Sequence.toAmino(message) - }; - }, - fromProtoMsg(message: SequenceProtoMsg): Sequence { - return Sequence.decode(message.value); - }, - toProto(message: Sequence): Uint8Array { - return Sequence.encode(message).finish(); - }, - toProtoMsg(message: Sequence): SequenceProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.Sequence", - value: Sequence.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/ibc.ts b/quicksilverjs/src/codegen/cosmwasm/wasm/v1/ibc.ts deleted file mode 100644 index e24620f85..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/ibc.ts +++ /dev/null @@ -1,300 +0,0 @@ -import { Long, isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "cosmwasm.wasm.v1"; -/** MsgIBCSend */ -export interface MsgIBCSend { - /** the channel by which the packet will be sent */ - channel: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - timeoutHeight: Long; - /** - * Timeout timestamp (in nanoseconds) relative to the current block timestamp. - * The timeout is disabled when set to 0. - */ - timeoutTimestamp: Long; - /** - * Data is the payload to transfer. We must not make assumption what format or - * content is in here. - */ - data: Uint8Array; -} -export interface MsgIBCSendProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgIBCSend"; - value: Uint8Array; -} -/** MsgIBCSend */ -export interface MsgIBCSendAmino { - /** the channel by which the packet will be sent */ - channel: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - timeout_height: string; - /** - * Timeout timestamp (in nanoseconds) relative to the current block timestamp. - * The timeout is disabled when set to 0. - */ - timeout_timestamp: string; - /** - * Data is the payload to transfer. We must not make assumption what format or - * content is in here. - */ - data: Uint8Array; -} -export interface MsgIBCSendAminoMsg { - type: "wasm/MsgIBCSend"; - value: MsgIBCSendAmino; -} -/** MsgIBCSend */ -export interface MsgIBCSendSDKType { - channel: string; - timeout_height: Long; - timeout_timestamp: Long; - data: Uint8Array; -} -/** MsgIBCCloseChannel port and channel need to be owned by the contract */ -export interface MsgIBCCloseChannel { - channel: string; -} -export interface MsgIBCCloseChannelProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgIBCCloseChannel"; - value: Uint8Array; -} -/** MsgIBCCloseChannel port and channel need to be owned by the contract */ -export interface MsgIBCCloseChannelAmino { - channel: string; -} -export interface MsgIBCCloseChannelAminoMsg { - type: "wasm/MsgIBCCloseChannel"; - value: MsgIBCCloseChannelAmino; -} -/** MsgIBCCloseChannel port and channel need to be owned by the contract */ -export interface MsgIBCCloseChannelSDKType { - channel: string; -} -function createBaseMsgIBCSend(): MsgIBCSend { - return { - channel: "", - timeoutHeight: Long.UZERO, - timeoutTimestamp: Long.UZERO, - data: new Uint8Array() - }; -} -export const MsgIBCSend = { - typeUrl: "/cosmwasm.wasm.v1.MsgIBCSend", - aminoType: "wasm/MsgIBCSend", - encode(message: MsgIBCSend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.channel !== "") { - writer.uint32(18).string(message.channel); - } - if (!message.timeoutHeight.isZero()) { - writer.uint32(32).uint64(message.timeoutHeight); - } - if (!message.timeoutTimestamp.isZero()) { - writer.uint32(40).uint64(message.timeoutTimestamp); - } - if (message.data.length !== 0) { - writer.uint32(50).bytes(message.data); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCSend { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgIBCSend(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.channel = reader.string(); - break; - case 4: - message.timeoutHeight = (reader.uint64() as Long); - break; - case 5: - message.timeoutTimestamp = (reader.uint64() as Long); - break; - case 6: - message.data = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgIBCSend { - const obj = createBaseMsgIBCSend(); - if (isSet(object.channel)) obj.channel = String(object.channel); - if (isSet(object.timeoutHeight)) obj.timeoutHeight = Long.fromValue(object.timeoutHeight); - if (isSet(object.timeoutTimestamp)) obj.timeoutTimestamp = Long.fromValue(object.timeoutTimestamp); - if (isSet(object.data)) obj.data = bytesFromBase64(object.data); - return obj; - }, - toJSON(message: MsgIBCSend): unknown { - const obj: any = {}; - message.channel !== undefined && (obj.channel = message.channel); - message.timeoutHeight !== undefined && (obj.timeoutHeight = (message.timeoutHeight || Long.UZERO).toString()); - message.timeoutTimestamp !== undefined && (obj.timeoutTimestamp = (message.timeoutTimestamp || Long.UZERO).toString()); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): MsgIBCSend { - const message = createBaseMsgIBCSend(); - message.channel = object.channel ?? ""; - if (object.timeoutHeight !== undefined && object.timeoutHeight !== null) { - message.timeoutHeight = Long.fromValue(object.timeoutHeight); - } - if (object.timeoutTimestamp !== undefined && object.timeoutTimestamp !== null) { - message.timeoutTimestamp = Long.fromValue(object.timeoutTimestamp); - } - message.data = object.data ?? new Uint8Array(); - return message; - }, - fromSDK(object: MsgIBCSendSDKType): MsgIBCSend { - return { - channel: object?.channel, - timeoutHeight: object?.timeout_height, - timeoutTimestamp: object?.timeout_timestamp, - data: object?.data - }; - }, - toSDK(message: MsgIBCSend): MsgIBCSendSDKType { - const obj: any = {}; - obj.channel = message.channel; - obj.timeout_height = message.timeoutHeight; - obj.timeout_timestamp = message.timeoutTimestamp; - obj.data = message.data; - return obj; - }, - fromAmino(object: MsgIBCSendAmino): MsgIBCSend { - return { - channel: object.channel, - timeoutHeight: Long.fromString(object.timeout_height), - timeoutTimestamp: Long.fromString(object.timeout_timestamp), - data: object.data - }; - }, - toAmino(message: MsgIBCSend): MsgIBCSendAmino { - const obj: any = {}; - obj.channel = message.channel; - obj.timeout_height = message.timeoutHeight ? message.timeoutHeight.toString() : undefined; - obj.timeout_timestamp = message.timeoutTimestamp ? message.timeoutTimestamp.toString() : undefined; - obj.data = message.data; - return obj; - }, - fromAminoMsg(object: MsgIBCSendAminoMsg): MsgIBCSend { - return MsgIBCSend.fromAmino(object.value); - }, - toAminoMsg(message: MsgIBCSend): MsgIBCSendAminoMsg { - return { - type: "wasm/MsgIBCSend", - value: MsgIBCSend.toAmino(message) - }; - }, - fromProtoMsg(message: MsgIBCSendProtoMsg): MsgIBCSend { - return MsgIBCSend.decode(message.value); - }, - toProto(message: MsgIBCSend): Uint8Array { - return MsgIBCSend.encode(message).finish(); - }, - toProtoMsg(message: MsgIBCSend): MsgIBCSendProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgIBCSend", - value: MsgIBCSend.encode(message).finish() - }; - } -}; -function createBaseMsgIBCCloseChannel(): MsgIBCCloseChannel { - return { - channel: "" - }; -} -export const MsgIBCCloseChannel = { - typeUrl: "/cosmwasm.wasm.v1.MsgIBCCloseChannel", - aminoType: "wasm/MsgIBCCloseChannel", - encode(message: MsgIBCCloseChannel, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.channel !== "") { - writer.uint32(18).string(message.channel); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCCloseChannel { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgIBCCloseChannel(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.channel = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgIBCCloseChannel { - const obj = createBaseMsgIBCCloseChannel(); - if (isSet(object.channel)) obj.channel = String(object.channel); - return obj; - }, - toJSON(message: MsgIBCCloseChannel): unknown { - const obj: any = {}; - message.channel !== undefined && (obj.channel = message.channel); - return obj; - }, - fromPartial(object: DeepPartial): MsgIBCCloseChannel { - const message = createBaseMsgIBCCloseChannel(); - message.channel = object.channel ?? ""; - return message; - }, - fromSDK(object: MsgIBCCloseChannelSDKType): MsgIBCCloseChannel { - return { - channel: object?.channel - }; - }, - toSDK(message: MsgIBCCloseChannel): MsgIBCCloseChannelSDKType { - const obj: any = {}; - obj.channel = message.channel; - return obj; - }, - fromAmino(object: MsgIBCCloseChannelAmino): MsgIBCCloseChannel { - return { - channel: object.channel - }; - }, - toAmino(message: MsgIBCCloseChannel): MsgIBCCloseChannelAmino { - const obj: any = {}; - obj.channel = message.channel; - return obj; - }, - fromAminoMsg(object: MsgIBCCloseChannelAminoMsg): MsgIBCCloseChannel { - return MsgIBCCloseChannel.fromAmino(object.value); - }, - toAminoMsg(message: MsgIBCCloseChannel): MsgIBCCloseChannelAminoMsg { - return { - type: "wasm/MsgIBCCloseChannel", - value: MsgIBCCloseChannel.toAmino(message) - }; - }, - fromProtoMsg(message: MsgIBCCloseChannelProtoMsg): MsgIBCCloseChannel { - return MsgIBCCloseChannel.decode(message.value); - }, - toProto(message: MsgIBCCloseChannel): Uint8Array { - return MsgIBCCloseChannel.encode(message).finish(); - }, - toProtoMsg(message: MsgIBCCloseChannel): MsgIBCCloseChannelProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgIBCCloseChannel", - value: MsgIBCCloseChannel.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/proposal.ts b/quicksilverjs/src/codegen/cosmwasm/wasm/v1/proposal.ts deleted file mode 100644 index 7c5bd2b9e..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/proposal.ts +++ /dev/null @@ -1,1721 +0,0 @@ -import { AccessConfig, AccessConfigAmino, AccessConfigSDKType } from "./types"; -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { Long, isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { fromBase64, toBase64, toUtf8, fromUtf8 } from "@cosmjs/encoding"; -export const protobufPackage = "cosmwasm.wasm.v1"; -/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ -export interface StoreCodeProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; - /** WASMByteCode can be raw or gzip compressed */ - wasmByteCode: Uint8Array; - /** InstantiatePermission to apply on contract creation, optional */ - instantiatePermission: AccessConfig; -} -export interface StoreCodeProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.StoreCodeProposal"; - value: Uint8Array; -} -/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ -export interface StoreCodeProposalAmino { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - run_as: string; - /** WASMByteCode can be raw or gzip compressed */ - wasm_byte_code: string; - /** InstantiatePermission to apply on contract creation, optional */ - instantiate_permission?: AccessConfigAmino; -} -export interface StoreCodeProposalAminoMsg { - type: "wasm/StoreCodeProposal"; - value: StoreCodeProposalAmino; -} -/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ -export interface StoreCodeProposalSDKType { - title: string; - description: string; - run_as: string; - wasm_byte_code: Uint8Array; - instantiate_permission: AccessConfigSDKType; -} -/** - * InstantiateContractProposal gov proposal content type to instantiate a - * contract. - */ -export interface InstantiateContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; - /** Admin is an optional address that can execute migrations */ - admin: string; - /** CodeID is the reference to the stored WASM code */ - codeId: Long; - /** Label is optional metadata to be stored with a constract instance. */ - label: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - funds: Coin[]; -} -export interface InstantiateContractProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.InstantiateContractProposal"; - value: Uint8Array; -} -/** - * InstantiateContractProposal gov proposal content type to instantiate a - * contract. - */ -export interface InstantiateContractProposalAmino { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - run_as: string; - /** Admin is an optional address that can execute migrations */ - admin: string; - /** CodeID is the reference to the stored WASM code */ - code_id: string; - /** Label is optional metadata to be stored with a constract instance. */ - label: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - funds: CoinAmino[]; -} -export interface InstantiateContractProposalAminoMsg { - type: "wasm/InstantiateContractProposal"; - value: InstantiateContractProposalAmino; -} -/** - * InstantiateContractProposal gov proposal content type to instantiate a - * contract. - */ -export interface InstantiateContractProposalSDKType { - title: string; - description: string; - run_as: string; - admin: string; - code_id: Long; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** MigrateContractProposal gov proposal content type to migrate a contract. */ -export interface MigrateContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** Contract is the address of the smart contract */ - contract: string; - /** CodeID references the new WASM codesudo */ - codeId: Long; - /** Msg json encoded message to be passed to the contract on migration */ - msg: Uint8Array; -} -export interface MigrateContractProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MigrateContractProposal"; - value: Uint8Array; -} -/** MigrateContractProposal gov proposal content type to migrate a contract. */ -export interface MigrateContractProposalAmino { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** Contract is the address of the smart contract */ - contract: string; - /** CodeID references the new WASM codesudo */ - code_id: string; - /** Msg json encoded message to be passed to the contract on migration */ - msg: Uint8Array; -} -export interface MigrateContractProposalAminoMsg { - type: "wasm/MigrateContractProposal"; - value: MigrateContractProposalAmino; -} -/** MigrateContractProposal gov proposal content type to migrate a contract. */ -export interface MigrateContractProposalSDKType { - title: string; - description: string; - contract: string; - code_id: Long; - msg: Uint8Array; -} -/** SudoContractProposal gov proposal content type to call sudo on a contract. */ -export interface SudoContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** Contract is the address of the smart contract */ - contract: string; - /** Msg json encoded message to be passed to the contract as sudo */ - msg: Uint8Array; -} -export interface SudoContractProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.SudoContractProposal"; - value: Uint8Array; -} -/** SudoContractProposal gov proposal content type to call sudo on a contract. */ -export interface SudoContractProposalAmino { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** Contract is the address of the smart contract */ - contract: string; - /** Msg json encoded message to be passed to the contract as sudo */ - msg: Uint8Array; -} -export interface SudoContractProposalAminoMsg { - type: "wasm/SudoContractProposal"; - value: SudoContractProposalAmino; -} -/** SudoContractProposal gov proposal content type to call sudo on a contract. */ -export interface SudoContractProposalSDKType { - title: string; - description: string; - contract: string; - msg: Uint8Array; -} -/** - * ExecuteContractProposal gov proposal content type to call execute on a - * contract. - */ -export interface ExecuteContractProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - runAs: string; - /** Contract is the address of the smart contract */ - contract: string; - /** Msg json encoded message to be passed to the contract as execute */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - funds: Coin[]; -} -export interface ExecuteContractProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.ExecuteContractProposal"; - value: Uint8Array; -} -/** - * ExecuteContractProposal gov proposal content type to call execute on a - * contract. - */ -export interface ExecuteContractProposalAmino { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** RunAs is the address that is passed to the contract's environment as sender */ - run_as: string; - /** Contract is the address of the smart contract */ - contract: string; - /** Msg json encoded message to be passed to the contract as execute */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - funds: CoinAmino[]; -} -export interface ExecuteContractProposalAminoMsg { - type: "wasm/ExecuteContractProposal"; - value: ExecuteContractProposalAmino; -} -/** - * ExecuteContractProposal gov proposal content type to call execute on a - * contract. - */ -export interface ExecuteContractProposalSDKType { - title: string; - description: string; - run_as: string; - contract: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ -export interface UpdateAdminProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** NewAdmin address to be set */ - newAdmin: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface UpdateAdminProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.UpdateAdminProposal"; - value: Uint8Array; -} -/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ -export interface UpdateAdminProposalAmino { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** NewAdmin address to be set */ - new_admin: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface UpdateAdminProposalAminoMsg { - type: "wasm/UpdateAdminProposal"; - value: UpdateAdminProposalAmino; -} -/** UpdateAdminProposal gov proposal content type to set an admin for a contract. */ -export interface UpdateAdminProposalSDKType { - title: string; - description: string; - new_admin: string; - contract: string; -} -/** - * ClearAdminProposal gov proposal content type to clear the admin of a - * contract. - */ -export interface ClearAdminProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface ClearAdminProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.ClearAdminProposal"; - value: Uint8Array; -} -/** - * ClearAdminProposal gov proposal content type to clear the admin of a - * contract. - */ -export interface ClearAdminProposalAmino { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface ClearAdminProposalAminoMsg { - type: "wasm/ClearAdminProposal"; - value: ClearAdminProposalAmino; -} -/** - * ClearAdminProposal gov proposal content type to clear the admin of a - * contract. - */ -export interface ClearAdminProposalSDKType { - title: string; - description: string; - contract: string; -} -/** - * PinCodesProposal gov proposal content type to pin a set of code ids in the - * wasmvm cache. - */ -export interface PinCodesProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** CodeIDs references the new WASM codes */ - codeIds: Long[]; -} -export interface PinCodesProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.PinCodesProposal"; - value: Uint8Array; -} -/** - * PinCodesProposal gov proposal content type to pin a set of code ids in the - * wasmvm cache. - */ -export interface PinCodesProposalAmino { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** CodeIDs references the new WASM codes */ - code_ids: string[]; -} -export interface PinCodesProposalAminoMsg { - type: "wasm/PinCodesProposal"; - value: PinCodesProposalAmino; -} -/** - * PinCodesProposal gov proposal content type to pin a set of code ids in the - * wasmvm cache. - */ -export interface PinCodesProposalSDKType { - title: string; - description: string; - code_ids: Long[]; -} -/** - * UnpinCodesProposal gov proposal content type to unpin a set of code ids in - * the wasmvm cache. - */ -export interface UnpinCodesProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** CodeIDs references the WASM codes */ - codeIds: Long[]; -} -export interface UnpinCodesProposalProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.UnpinCodesProposal"; - value: Uint8Array; -} -/** - * UnpinCodesProposal gov proposal content type to unpin a set of code ids in - * the wasmvm cache. - */ -export interface UnpinCodesProposalAmino { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** CodeIDs references the WASM codes */ - code_ids: string[]; -} -export interface UnpinCodesProposalAminoMsg { - type: "wasm/UnpinCodesProposal"; - value: UnpinCodesProposalAmino; -} -/** - * UnpinCodesProposal gov proposal content type to unpin a set of code ids in - * the wasmvm cache. - */ -export interface UnpinCodesProposalSDKType { - title: string; - description: string; - code_ids: Long[]; -} -function createBaseStoreCodeProposal(): StoreCodeProposal { - return { - title: "", - description: "", - runAs: "", - wasmByteCode: new Uint8Array(), - instantiatePermission: AccessConfig.fromPartial({}) - }; -} -export const StoreCodeProposal = { - typeUrl: "/cosmwasm.wasm.v1.StoreCodeProposal", - aminoType: "wasm/StoreCodeProposal", - encode(message: StoreCodeProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.runAs !== "") { - writer.uint32(26).string(message.runAs); - } - if (message.wasmByteCode.length !== 0) { - writer.uint32(34).bytes(message.wasmByteCode); - } - if (message.instantiatePermission !== undefined) { - AccessConfig.encode(message.instantiatePermission, writer.uint32(58).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): StoreCodeProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStoreCodeProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.runAs = reader.string(); - break; - case 4: - message.wasmByteCode = reader.bytes(); - break; - case 7: - message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): StoreCodeProposal { - const obj = createBaseStoreCodeProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.runAs)) obj.runAs = String(object.runAs); - if (isSet(object.wasmByteCode)) obj.wasmByteCode = bytesFromBase64(object.wasmByteCode); - if (isSet(object.instantiatePermission)) obj.instantiatePermission = AccessConfig.fromJSON(object.instantiatePermission); - return obj; - }, - toJSON(message: StoreCodeProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.runAs !== undefined && (obj.runAs = message.runAs); - message.wasmByteCode !== undefined && (obj.wasmByteCode = base64FromBytes(message.wasmByteCode !== undefined ? message.wasmByteCode : new Uint8Array())); - message.instantiatePermission !== undefined && (obj.instantiatePermission = message.instantiatePermission ? AccessConfig.toJSON(message.instantiatePermission) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): StoreCodeProposal { - const message = createBaseStoreCodeProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.runAs = object.runAs ?? ""; - message.wasmByteCode = object.wasmByteCode ?? new Uint8Array(); - if (object.instantiatePermission !== undefined && object.instantiatePermission !== null) { - message.instantiatePermission = AccessConfig.fromPartial(object.instantiatePermission); - } - return message; - }, - fromSDK(object: StoreCodeProposalSDKType): StoreCodeProposal { - return { - title: object?.title, - description: object?.description, - runAs: object?.run_as, - wasmByteCode: object?.wasm_byte_code, - instantiatePermission: object.instantiate_permission ? AccessConfig.fromSDK(object.instantiate_permission) : undefined - }; - }, - toSDK(message: StoreCodeProposal): StoreCodeProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.run_as = message.runAs; - obj.wasm_byte_code = message.wasmByteCode; - message.instantiatePermission !== undefined && (obj.instantiate_permission = message.instantiatePermission ? AccessConfig.toSDK(message.instantiatePermission) : undefined); - return obj; - }, - fromAmino(object: StoreCodeProposalAmino): StoreCodeProposal { - return { - title: object.title, - description: object.description, - runAs: object.run_as, - wasmByteCode: fromBase64(object.wasm_byte_code), - instantiatePermission: object?.instantiate_permission ? AccessConfig.fromAmino(object.instantiate_permission) : undefined - }; - }, - toAmino(message: StoreCodeProposal): StoreCodeProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.run_as = message.runAs; - obj.wasm_byte_code = message.wasmByteCode ? toBase64(message.wasmByteCode) : undefined; - obj.instantiate_permission = message.instantiatePermission ? AccessConfig.toAmino(message.instantiatePermission) : undefined; - return obj; - }, - fromAminoMsg(object: StoreCodeProposalAminoMsg): StoreCodeProposal { - return StoreCodeProposal.fromAmino(object.value); - }, - toAminoMsg(message: StoreCodeProposal): StoreCodeProposalAminoMsg { - return { - type: "wasm/StoreCodeProposal", - value: StoreCodeProposal.toAmino(message) - }; - }, - fromProtoMsg(message: StoreCodeProposalProtoMsg): StoreCodeProposal { - return StoreCodeProposal.decode(message.value); - }, - toProto(message: StoreCodeProposal): Uint8Array { - return StoreCodeProposal.encode(message).finish(); - }, - toProtoMsg(message: StoreCodeProposal): StoreCodeProposalProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.StoreCodeProposal", - value: StoreCodeProposal.encode(message).finish() - }; - } -}; -function createBaseInstantiateContractProposal(): InstantiateContractProposal { - return { - title: "", - description: "", - runAs: "", - admin: "", - codeId: Long.UZERO, - label: "", - msg: new Uint8Array(), - funds: [] - }; -} -export const InstantiateContractProposal = { - typeUrl: "/cosmwasm.wasm.v1.InstantiateContractProposal", - aminoType: "wasm/InstantiateContractProposal", - encode(message: InstantiateContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.runAs !== "") { - writer.uint32(26).string(message.runAs); - } - if (message.admin !== "") { - writer.uint32(34).string(message.admin); - } - if (!message.codeId.isZero()) { - writer.uint32(40).uint64(message.codeId); - } - if (message.label !== "") { - writer.uint32(50).string(message.label); - } - if (message.msg.length !== 0) { - writer.uint32(58).bytes(message.msg); - } - for (const v of message.funds) { - Coin.encode(v!, writer.uint32(66).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContractProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInstantiateContractProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.runAs = reader.string(); - break; - case 4: - message.admin = reader.string(); - break; - case 5: - message.codeId = (reader.uint64() as Long); - break; - case 6: - message.label = reader.string(); - break; - case 7: - message.msg = reader.bytes(); - break; - case 8: - message.funds.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): InstantiateContractProposal { - const obj = createBaseInstantiateContractProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.runAs)) obj.runAs = String(object.runAs); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.codeId)) obj.codeId = Long.fromValue(object.codeId); - if (isSet(object.label)) obj.label = String(object.label); - if (isSet(object.msg)) obj.msg = bytesFromBase64(object.msg); - if (Array.isArray(object?.funds)) obj.funds = object.funds.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: InstantiateContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.runAs !== undefined && (obj.runAs = message.runAs); - message.admin !== undefined && (obj.admin = message.admin); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.label !== undefined && (obj.label = message.label); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromPartial(object: DeepPartial): InstantiateContractProposal { - const message = createBaseInstantiateContractProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.runAs = object.runAs ?? ""; - message.admin = object.admin ?? ""; - if (object.codeId !== undefined && object.codeId !== null) { - message.codeId = Long.fromValue(object.codeId); - } - message.label = object.label ?? ""; - message.msg = object.msg ?? new Uint8Array(); - message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: InstantiateContractProposalSDKType): InstantiateContractProposal { - return { - title: object?.title, - description: object?.description, - runAs: object?.run_as, - admin: object?.admin, - codeId: object?.code_id, - label: object?.label, - msg: object?.msg, - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: InstantiateContractProposal): InstantiateContractProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.run_as = message.runAs; - obj.admin = message.admin; - obj.code_id = message.codeId; - obj.label = message.label; - obj.msg = message.msg; - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromAmino(object: InstantiateContractProposalAmino): InstantiateContractProposal { - return { - title: object.title, - description: object.description, - runAs: object.run_as, - admin: object.admin, - codeId: Long.fromString(object.code_id), - label: object.label, - msg: toUtf8(JSON.stringify(object.msg)), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: InstantiateContractProposal): InstantiateContractProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.run_as = message.runAs; - obj.admin = message.admin; - obj.code_id = message.codeId ? message.codeId.toString() : undefined; - obj.label = message.label; - obj.msg = message.msg ? JSON.parse(fromUtf8(message.msg)) : undefined; - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromAminoMsg(object: InstantiateContractProposalAminoMsg): InstantiateContractProposal { - return InstantiateContractProposal.fromAmino(object.value); - }, - toAminoMsg(message: InstantiateContractProposal): InstantiateContractProposalAminoMsg { - return { - type: "wasm/InstantiateContractProposal", - value: InstantiateContractProposal.toAmino(message) - }; - }, - fromProtoMsg(message: InstantiateContractProposalProtoMsg): InstantiateContractProposal { - return InstantiateContractProposal.decode(message.value); - }, - toProto(message: InstantiateContractProposal): Uint8Array { - return InstantiateContractProposal.encode(message).finish(); - }, - toProtoMsg(message: InstantiateContractProposal): InstantiateContractProposalProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.InstantiateContractProposal", - value: InstantiateContractProposal.encode(message).finish() - }; - } -}; -function createBaseMigrateContractProposal(): MigrateContractProposal { - return { - title: "", - description: "", - contract: "", - codeId: Long.UZERO, - msg: new Uint8Array() - }; -} -export const MigrateContractProposal = { - typeUrl: "/cosmwasm.wasm.v1.MigrateContractProposal", - aminoType: "wasm/MigrateContractProposal", - encode(message: MigrateContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.contract !== "") { - writer.uint32(34).string(message.contract); - } - if (!message.codeId.isZero()) { - writer.uint32(40).uint64(message.codeId); - } - if (message.msg.length !== 0) { - writer.uint32(50).bytes(message.msg); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MigrateContractProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMigrateContractProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 4: - message.contract = reader.string(); - break; - case 5: - message.codeId = (reader.uint64() as Long); - break; - case 6: - message.msg = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MigrateContractProposal { - const obj = createBaseMigrateContractProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.contract)) obj.contract = String(object.contract); - if (isSet(object.codeId)) obj.codeId = Long.fromValue(object.codeId); - if (isSet(object.msg)) obj.msg = bytesFromBase64(object.msg); - return obj; - }, - toJSON(message: MigrateContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.contract !== undefined && (obj.contract = message.contract); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): MigrateContractProposal { - const message = createBaseMigrateContractProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.contract = object.contract ?? ""; - if (object.codeId !== undefined && object.codeId !== null) { - message.codeId = Long.fromValue(object.codeId); - } - message.msg = object.msg ?? new Uint8Array(); - return message; - }, - fromSDK(object: MigrateContractProposalSDKType): MigrateContractProposal { - return { - title: object?.title, - description: object?.description, - contract: object?.contract, - codeId: object?.code_id, - msg: object?.msg - }; - }, - toSDK(message: MigrateContractProposal): MigrateContractProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.contract = message.contract; - obj.code_id = message.codeId; - obj.msg = message.msg; - return obj; - }, - fromAmino(object: MigrateContractProposalAmino): MigrateContractProposal { - return { - title: object.title, - description: object.description, - contract: object.contract, - codeId: Long.fromString(object.code_id), - msg: toUtf8(JSON.stringify(object.msg)) - }; - }, - toAmino(message: MigrateContractProposal): MigrateContractProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.contract = message.contract; - obj.code_id = message.codeId ? message.codeId.toString() : undefined; - obj.msg = message.msg ? JSON.parse(fromUtf8(message.msg)) : undefined; - return obj; - }, - fromAminoMsg(object: MigrateContractProposalAminoMsg): MigrateContractProposal { - return MigrateContractProposal.fromAmino(object.value); - }, - toAminoMsg(message: MigrateContractProposal): MigrateContractProposalAminoMsg { - return { - type: "wasm/MigrateContractProposal", - value: MigrateContractProposal.toAmino(message) - }; - }, - fromProtoMsg(message: MigrateContractProposalProtoMsg): MigrateContractProposal { - return MigrateContractProposal.decode(message.value); - }, - toProto(message: MigrateContractProposal): Uint8Array { - return MigrateContractProposal.encode(message).finish(); - }, - toProtoMsg(message: MigrateContractProposal): MigrateContractProposalProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MigrateContractProposal", - value: MigrateContractProposal.encode(message).finish() - }; - } -}; -function createBaseSudoContractProposal(): SudoContractProposal { - return { - title: "", - description: "", - contract: "", - msg: new Uint8Array() - }; -} -export const SudoContractProposal = { - typeUrl: "/cosmwasm.wasm.v1.SudoContractProposal", - aminoType: "wasm/SudoContractProposal", - encode(message: SudoContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.contract !== "") { - writer.uint32(26).string(message.contract); - } - if (message.msg.length !== 0) { - writer.uint32(34).bytes(message.msg); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SudoContractProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSudoContractProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.contract = reader.string(); - break; - case 4: - message.msg = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SudoContractProposal { - const obj = createBaseSudoContractProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.contract)) obj.contract = String(object.contract); - if (isSet(object.msg)) obj.msg = bytesFromBase64(object.msg); - return obj; - }, - toJSON(message: SudoContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.contract !== undefined && (obj.contract = message.contract); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): SudoContractProposal { - const message = createBaseSudoContractProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.contract = object.contract ?? ""; - message.msg = object.msg ?? new Uint8Array(); - return message; - }, - fromSDK(object: SudoContractProposalSDKType): SudoContractProposal { - return { - title: object?.title, - description: object?.description, - contract: object?.contract, - msg: object?.msg - }; - }, - toSDK(message: SudoContractProposal): SudoContractProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.contract = message.contract; - obj.msg = message.msg; - return obj; - }, - fromAmino(object: SudoContractProposalAmino): SudoContractProposal { - return { - title: object.title, - description: object.description, - contract: object.contract, - msg: toUtf8(JSON.stringify(object.msg)) - }; - }, - toAmino(message: SudoContractProposal): SudoContractProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.contract = message.contract; - obj.msg = message.msg ? JSON.parse(fromUtf8(message.msg)) : undefined; - return obj; - }, - fromAminoMsg(object: SudoContractProposalAminoMsg): SudoContractProposal { - return SudoContractProposal.fromAmino(object.value); - }, - toAminoMsg(message: SudoContractProposal): SudoContractProposalAminoMsg { - return { - type: "wasm/SudoContractProposal", - value: SudoContractProposal.toAmino(message) - }; - }, - fromProtoMsg(message: SudoContractProposalProtoMsg): SudoContractProposal { - return SudoContractProposal.decode(message.value); - }, - toProto(message: SudoContractProposal): Uint8Array { - return SudoContractProposal.encode(message).finish(); - }, - toProtoMsg(message: SudoContractProposal): SudoContractProposalProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.SudoContractProposal", - value: SudoContractProposal.encode(message).finish() - }; - } -}; -function createBaseExecuteContractProposal(): ExecuteContractProposal { - return { - title: "", - description: "", - runAs: "", - contract: "", - msg: new Uint8Array(), - funds: [] - }; -} -export const ExecuteContractProposal = { - typeUrl: "/cosmwasm.wasm.v1.ExecuteContractProposal", - aminoType: "wasm/ExecuteContractProposal", - encode(message: ExecuteContractProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.runAs !== "") { - writer.uint32(26).string(message.runAs); - } - if (message.contract !== "") { - writer.uint32(34).string(message.contract); - } - if (message.msg.length !== 0) { - writer.uint32(42).bytes(message.msg); - } - for (const v of message.funds) { - Coin.encode(v!, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ExecuteContractProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExecuteContractProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.runAs = reader.string(); - break; - case 4: - message.contract = reader.string(); - break; - case 5: - message.msg = reader.bytes(); - break; - case 6: - message.funds.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ExecuteContractProposal { - const obj = createBaseExecuteContractProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.runAs)) obj.runAs = String(object.runAs); - if (isSet(object.contract)) obj.contract = String(object.contract); - if (isSet(object.msg)) obj.msg = bytesFromBase64(object.msg); - if (Array.isArray(object?.funds)) obj.funds = object.funds.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: ExecuteContractProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.runAs !== undefined && (obj.runAs = message.runAs); - message.contract !== undefined && (obj.contract = message.contract); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ExecuteContractProposal { - const message = createBaseExecuteContractProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.runAs = object.runAs ?? ""; - message.contract = object.contract ?? ""; - message.msg = object.msg ?? new Uint8Array(); - message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ExecuteContractProposalSDKType): ExecuteContractProposal { - return { - title: object?.title, - description: object?.description, - runAs: object?.run_as, - contract: object?.contract, - msg: object?.msg, - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: ExecuteContractProposal): ExecuteContractProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.run_as = message.runAs; - obj.contract = message.contract; - obj.msg = message.msg; - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromAmino(object: ExecuteContractProposalAmino): ExecuteContractProposal { - return { - title: object.title, - description: object.description, - runAs: object.run_as, - contract: object.contract, - msg: toUtf8(JSON.stringify(object.msg)), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: ExecuteContractProposal): ExecuteContractProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.run_as = message.runAs; - obj.contract = message.contract; - obj.msg = message.msg ? JSON.parse(fromUtf8(message.msg)) : undefined; - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromAminoMsg(object: ExecuteContractProposalAminoMsg): ExecuteContractProposal { - return ExecuteContractProposal.fromAmino(object.value); - }, - toAminoMsg(message: ExecuteContractProposal): ExecuteContractProposalAminoMsg { - return { - type: "wasm/ExecuteContractProposal", - value: ExecuteContractProposal.toAmino(message) - }; - }, - fromProtoMsg(message: ExecuteContractProposalProtoMsg): ExecuteContractProposal { - return ExecuteContractProposal.decode(message.value); - }, - toProto(message: ExecuteContractProposal): Uint8Array { - return ExecuteContractProposal.encode(message).finish(); - }, - toProtoMsg(message: ExecuteContractProposal): ExecuteContractProposalProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.ExecuteContractProposal", - value: ExecuteContractProposal.encode(message).finish() - }; - } -}; -function createBaseUpdateAdminProposal(): UpdateAdminProposal { - return { - title: "", - description: "", - newAdmin: "", - contract: "" - }; -} -export const UpdateAdminProposal = { - typeUrl: "/cosmwasm.wasm.v1.UpdateAdminProposal", - aminoType: "wasm/UpdateAdminProposal", - encode(message: UpdateAdminProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.newAdmin !== "") { - writer.uint32(26).string(message.newAdmin); - } - if (message.contract !== "") { - writer.uint32(34).string(message.contract); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAdminProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateAdminProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.newAdmin = reader.string(); - break; - case 4: - message.contract = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UpdateAdminProposal { - const obj = createBaseUpdateAdminProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.newAdmin)) obj.newAdmin = String(object.newAdmin); - if (isSet(object.contract)) obj.contract = String(object.contract); - return obj; - }, - toJSON(message: UpdateAdminProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: DeepPartial): UpdateAdminProposal { - const message = createBaseUpdateAdminProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.newAdmin = object.newAdmin ?? ""; - message.contract = object.contract ?? ""; - return message; - }, - fromSDK(object: UpdateAdminProposalSDKType): UpdateAdminProposal { - return { - title: object?.title, - description: object?.description, - newAdmin: object?.new_admin, - contract: object?.contract - }; - }, - toSDK(message: UpdateAdminProposal): UpdateAdminProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.new_admin = message.newAdmin; - obj.contract = message.contract; - return obj; - }, - fromAmino(object: UpdateAdminProposalAmino): UpdateAdminProposal { - return { - title: object.title, - description: object.description, - newAdmin: object.new_admin, - contract: object.contract - }; - }, - toAmino(message: UpdateAdminProposal): UpdateAdminProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.new_admin = message.newAdmin; - obj.contract = message.contract; - return obj; - }, - fromAminoMsg(object: UpdateAdminProposalAminoMsg): UpdateAdminProposal { - return UpdateAdminProposal.fromAmino(object.value); - }, - toAminoMsg(message: UpdateAdminProposal): UpdateAdminProposalAminoMsg { - return { - type: "wasm/UpdateAdminProposal", - value: UpdateAdminProposal.toAmino(message) - }; - }, - fromProtoMsg(message: UpdateAdminProposalProtoMsg): UpdateAdminProposal { - return UpdateAdminProposal.decode(message.value); - }, - toProto(message: UpdateAdminProposal): Uint8Array { - return UpdateAdminProposal.encode(message).finish(); - }, - toProtoMsg(message: UpdateAdminProposal): UpdateAdminProposalProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.UpdateAdminProposal", - value: UpdateAdminProposal.encode(message).finish() - }; - } -}; -function createBaseClearAdminProposal(): ClearAdminProposal { - return { - title: "", - description: "", - contract: "" - }; -} -export const ClearAdminProposal = { - typeUrl: "/cosmwasm.wasm.v1.ClearAdminProposal", - aminoType: "wasm/ClearAdminProposal", - encode(message: ClearAdminProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.contract !== "") { - writer.uint32(26).string(message.contract); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ClearAdminProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseClearAdminProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.contract = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ClearAdminProposal { - const obj = createBaseClearAdminProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.contract)) obj.contract = String(object.contract); - return obj; - }, - toJSON(message: ClearAdminProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: DeepPartial): ClearAdminProposal { - const message = createBaseClearAdminProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.contract = object.contract ?? ""; - return message; - }, - fromSDK(object: ClearAdminProposalSDKType): ClearAdminProposal { - return { - title: object?.title, - description: object?.description, - contract: object?.contract - }; - }, - toSDK(message: ClearAdminProposal): ClearAdminProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.contract = message.contract; - return obj; - }, - fromAmino(object: ClearAdminProposalAmino): ClearAdminProposal { - return { - title: object.title, - description: object.description, - contract: object.contract - }; - }, - toAmino(message: ClearAdminProposal): ClearAdminProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - obj.contract = message.contract; - return obj; - }, - fromAminoMsg(object: ClearAdminProposalAminoMsg): ClearAdminProposal { - return ClearAdminProposal.fromAmino(object.value); - }, - toAminoMsg(message: ClearAdminProposal): ClearAdminProposalAminoMsg { - return { - type: "wasm/ClearAdminProposal", - value: ClearAdminProposal.toAmino(message) - }; - }, - fromProtoMsg(message: ClearAdminProposalProtoMsg): ClearAdminProposal { - return ClearAdminProposal.decode(message.value); - }, - toProto(message: ClearAdminProposal): Uint8Array { - return ClearAdminProposal.encode(message).finish(); - }, - toProtoMsg(message: ClearAdminProposal): ClearAdminProposalProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.ClearAdminProposal", - value: ClearAdminProposal.encode(message).finish() - }; - } -}; -function createBasePinCodesProposal(): PinCodesProposal { - return { - title: "", - description: "", - codeIds: [] - }; -} -export const PinCodesProposal = { - typeUrl: "/cosmwasm.wasm.v1.PinCodesProposal", - aminoType: "wasm/PinCodesProposal", - encode(message: PinCodesProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - writer.uint32(26).fork(); - for (const v of message.codeIds) { - writer.uint64(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): PinCodesProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePinCodesProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.codeIds.push((reader.uint64() as Long)); - } - } else { - message.codeIds.push((reader.uint64() as Long)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): PinCodesProposal { - const obj = createBasePinCodesProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (Array.isArray(object?.codeIds)) obj.codeIds = object.codeIds.map((e: any) => Long.fromValue(e)); - return obj; - }, - toJSON(message: PinCodesProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - if (message.codeIds) { - obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); - } else { - obj.codeIds = []; - } - return obj; - }, - fromPartial(object: DeepPartial): PinCodesProposal { - const message = createBasePinCodesProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; - return message; - }, - fromSDK(object: PinCodesProposalSDKType): PinCodesProposal { - return { - title: object?.title, - description: object?.description, - codeIds: Array.isArray(object?.code_ids) ? object.code_ids.map((e: any) => e) : [] - }; - }, - toSDK(message: PinCodesProposal): PinCodesProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - if (message.codeIds) { - obj.code_ids = message.codeIds.map(e => e); - } else { - obj.code_ids = []; - } - return obj; - }, - fromAmino(object: PinCodesProposalAmino): PinCodesProposal { - return { - title: object.title, - description: object.description, - codeIds: Array.isArray(object?.code_ids) ? object.code_ids.map((e: any) => e) : [] - }; - }, - toAmino(message: PinCodesProposal): PinCodesProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - if (message.codeIds) { - obj.code_ids = message.codeIds.map(e => e); - } else { - obj.code_ids = []; - } - return obj; - }, - fromAminoMsg(object: PinCodesProposalAminoMsg): PinCodesProposal { - return PinCodesProposal.fromAmino(object.value); - }, - toAminoMsg(message: PinCodesProposal): PinCodesProposalAminoMsg { - return { - type: "wasm/PinCodesProposal", - value: PinCodesProposal.toAmino(message) - }; - }, - fromProtoMsg(message: PinCodesProposalProtoMsg): PinCodesProposal { - return PinCodesProposal.decode(message.value); - }, - toProto(message: PinCodesProposal): Uint8Array { - return PinCodesProposal.encode(message).finish(); - }, - toProtoMsg(message: PinCodesProposal): PinCodesProposalProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.PinCodesProposal", - value: PinCodesProposal.encode(message).finish() - }; - } -}; -function createBaseUnpinCodesProposal(): UnpinCodesProposal { - return { - title: "", - description: "", - codeIds: [] - }; -} -export const UnpinCodesProposal = { - typeUrl: "/cosmwasm.wasm.v1.UnpinCodesProposal", - aminoType: "wasm/UnpinCodesProposal", - encode(message: UnpinCodesProposal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.title !== "") { - writer.uint32(10).string(message.title); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - writer.uint32(26).fork(); - for (const v of message.codeIds) { - writer.uint64(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UnpinCodesProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUnpinCodesProposal(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.title = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.codeIds.push((reader.uint64() as Long)); - } - } else { - message.codeIds.push((reader.uint64() as Long)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UnpinCodesProposal { - const obj = createBaseUnpinCodesProposal(); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.description)) obj.description = String(object.description); - if (Array.isArray(object?.codeIds)) obj.codeIds = object.codeIds.map((e: any) => Long.fromValue(e)); - return obj; - }, - toJSON(message: UnpinCodesProposal): unknown { - const obj: any = {}; - message.title !== undefined && (obj.title = message.title); - message.description !== undefined && (obj.description = message.description); - if (message.codeIds) { - obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); - } else { - obj.codeIds = []; - } - return obj; - }, - fromPartial(object: DeepPartial): UnpinCodesProposal { - const message = createBaseUnpinCodesProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; - return message; - }, - fromSDK(object: UnpinCodesProposalSDKType): UnpinCodesProposal { - return { - title: object?.title, - description: object?.description, - codeIds: Array.isArray(object?.code_ids) ? object.code_ids.map((e: any) => e) : [] - }; - }, - toSDK(message: UnpinCodesProposal): UnpinCodesProposalSDKType { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - if (message.codeIds) { - obj.code_ids = message.codeIds.map(e => e); - } else { - obj.code_ids = []; - } - return obj; - }, - fromAmino(object: UnpinCodesProposalAmino): UnpinCodesProposal { - return { - title: object.title, - description: object.description, - codeIds: Array.isArray(object?.code_ids) ? object.code_ids.map((e: any) => e) : [] - }; - }, - toAmino(message: UnpinCodesProposal): UnpinCodesProposalAmino { - const obj: any = {}; - obj.title = message.title; - obj.description = message.description; - if (message.codeIds) { - obj.code_ids = message.codeIds.map(e => e); - } else { - obj.code_ids = []; - } - return obj; - }, - fromAminoMsg(object: UnpinCodesProposalAminoMsg): UnpinCodesProposal { - return UnpinCodesProposal.fromAmino(object.value); - }, - toAminoMsg(message: UnpinCodesProposal): UnpinCodesProposalAminoMsg { - return { - type: "wasm/UnpinCodesProposal", - value: UnpinCodesProposal.toAmino(message) - }; - }, - fromProtoMsg(message: UnpinCodesProposalProtoMsg): UnpinCodesProposal { - return UnpinCodesProposal.decode(message.value); - }, - toProto(message: UnpinCodesProposal): Uint8Array { - return UnpinCodesProposal.encode(message).finish(); - }, - toProtoMsg(message: UnpinCodesProposal): UnpinCodesProposalProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.UnpinCodesProposal", - value: UnpinCodesProposal.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.lcd.ts b/quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.lcd.ts deleted file mode 100644 index 013c3ea06..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +++ /dev/null @@ -1,103 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType, Model, ModelSDKType } from "./types"; -import { setPaginationParams } from "../../../helpers"; -import { LCDClient } from "@cosmology/lcd"; -import { QueryContractInfoRequest, QueryContractInfoRequestSDKType, QueryContractInfoResponse, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryRequestSDKType, QueryContractHistoryResponse, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeRequestSDKType, QueryContractsByCodeResponse, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateRequestSDKType, QueryAllContractStateResponse, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateRequestSDKType, QueryRawContractStateResponse, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateRequestSDKType, QuerySmartContractStateResponse, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeRequestSDKType, QueryCodeResponse, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesRequestSDKType, QueryCodesResponse, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesRequestSDKType, QueryPinnedCodesResponse, QueryPinnedCodesResponseSDKType } from "./query"; -export class LCDQueryClient { - req: LCDClient; - constructor({ - requestClient - }: { - requestClient: LCDClient; - }) { - this.req = requestClient; - this.contractInfo = this.contractInfo.bind(this); - this.contractHistory = this.contractHistory.bind(this); - this.contractsByCode = this.contractsByCode.bind(this); - this.allContractState = this.allContractState.bind(this); - this.rawContractState = this.rawContractState.bind(this); - this.smartContractState = this.smartContractState.bind(this); - this.code = this.code.bind(this); - this.codes = this.codes.bind(this); - this.pinnedCodes = this.pinnedCodes.bind(this); - } - /* ContractInfo gets the contract meta data */ - async contractInfo(params: QueryContractInfoRequest): Promise { - const endpoint = `cosmwasm/wasm/v1/contract/${params.address}`; - return await this.req.get(endpoint); - } - /* ContractHistory gets the contract code history */ - async contractHistory(params: QueryContractHistoryRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/history`; - return await this.req.get(endpoint, options); - } - /* ContractsByCode lists all smart contracts for a code id */ - async contractsByCode(params: QueryContractsByCodeRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}/contracts`; - return await this.req.get(endpoint, options); - } - /* AllContractState gets all raw store data for a single contract */ - async allContractState(params: QueryAllContractStateRequest): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmwasm/wasm/v1/contract/${params.address}/state`; - return await this.req.get(endpoint, options); - } - /* RawContractState gets single key from the raw store data of a contract */ - async rawContractState(params: QueryRawContractStateRequest): Promise { - const endpoint = `wasm/v1/contract/${params.address}/raw/${params.queryData}`; - return await this.req.get(endpoint); - } - /* SmartContractState get smart query result from the contract */ - async smartContractState(params: QuerySmartContractStateRequest): Promise { - const endpoint = `wasm/v1/contract/${params.address}/smart/${params.queryData}`; - return await this.req.get(endpoint); - } - /* Code gets the binary code and metadata for a singe wasm code */ - async code(params: QueryCodeRequest): Promise { - const endpoint = `cosmwasm/wasm/v1/code/${params.codeId}`; - return await this.req.get(endpoint); - } - /* Codes gets the metadata for all stored wasm codes */ - async codes(params: QueryCodesRequest = { - pagination: PageRequest.fromPartial({}) - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmwasm/wasm/v1/code`; - return await this.req.get(endpoint, options); - } - /* PinnedCodes gets the pinned code ids */ - async pinnedCodes(params: QueryPinnedCodesRequest = { - pagination: PageRequest.fromPartial({}) - }): Promise { - const options: any = { - params: {} - }; - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - const endpoint = `cosmwasm/wasm/v1/codes/pinned`; - return await this.req.get(endpoint, options); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts b/quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts deleted file mode 100644 index 6818e200b..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +++ /dev/null @@ -1,156 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType, Model, ModelSDKType } from "./types"; -import * as fm from "../../../grpc-gateway"; -import { QueryContractInfoRequest, QueryContractInfoRequestSDKType, QueryContractInfoResponse, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryRequestSDKType, QueryContractHistoryResponse, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeRequestSDKType, QueryContractsByCodeResponse, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateRequestSDKType, QueryAllContractStateResponse, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateRequestSDKType, QueryRawContractStateResponse, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateRequestSDKType, QuerySmartContractStateResponse, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeRequestSDKType, QueryCodeResponse, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesRequestSDKType, QueryCodesResponse, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesRequestSDKType, QueryPinnedCodesResponse, QueryPinnedCodesResponseSDKType } from "./query"; -export class Query { - /** ContractInfo gets the contract meta data */ - static contractInfo(request: QueryContractInfoRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm/wasm/v1/contract/${request["address"]}?${fm.renderURLSearchParams({ - ...request - }, ["address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** ContractHistory gets the contract code history */ - static contractHistory(request: QueryContractHistoryRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm/wasm/v1/contract/${request["address"]}/history?${fm.renderURLSearchParams({ - ...request - }, ["address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** ContractsByCode lists all smart contracts for a code id */ - static contractsByCode(request: QueryContractsByCodeRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm/wasm/v1/code/${request["code_id"]}/contracts?${fm.renderURLSearchParams({ - ...request - }, ["code_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** AllContractState gets all raw store data for a single contract */ - static allContractState(request: QueryAllContractStateRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm/wasm/v1/contract/${request["address"]}/state?${fm.renderURLSearchParams({ - ...request - }, ["address"])}`, { - ...initRequest, - method: "GET" - }); - } - /** RawContractState gets single key from the raw store data of a contract */ - static rawContractState(request: QueryRawContractStateRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/wasm/v1/contract/${request["address"]}/raw/${request["query_data"]}?${fm.renderURLSearchParams({ - ...request - }, ["address", "query_data"])}`, { - ...initRequest, - method: "GET" - }); - } - /** SmartContractState get smart query result from the contract */ - static smartContractState(request: QuerySmartContractStateRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/wasm/v1/contract/${request["address"]}/smart/${request["query_data"]}?${fm.renderURLSearchParams({ - ...request - }, ["address", "query_data"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Code gets the binary code and metadata for a singe wasm code */ - static code(request: QueryCodeRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm/wasm/v1/code/${request["code_id"]}?${fm.renderURLSearchParams({ - ...request - }, ["code_id"])}`, { - ...initRequest, - method: "GET" - }); - } - /** Codes gets the metadata for all stored wasm codes */ - static codes(request: QueryCodesRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm/wasm/v1/code?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } - /** PinnedCodes gets the pinned code ids */ - static pinnedCodes(request: QueryPinnedCodesRequest, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm/wasm/v1/codes/pinned?${fm.renderURLSearchParams({ - ...request - }, [])}`, { - ...initRequest, - method: "GET" - }); - } -} -export class QueryClientImpl { - private readonly url: string; - constructor(url: string) { - this.url = url; - } - /** ContractInfo gets the contract meta data */ - async contractInfo(req: QueryContractInfoRequest, headers?: HeadersInit): Promise { - return Query.contractInfo(req, { - headers, - pathPrefix: this.url - }); - } - /** ContractHistory gets the contract code history */ - async contractHistory(req: QueryContractHistoryRequest, headers?: HeadersInit): Promise { - return Query.contractHistory(req, { - headers, - pathPrefix: this.url - }); - } - /** ContractsByCode lists all smart contracts for a code id */ - async contractsByCode(req: QueryContractsByCodeRequest, headers?: HeadersInit): Promise { - return Query.contractsByCode(req, { - headers, - pathPrefix: this.url - }); - } - /** AllContractState gets all raw store data for a single contract */ - async allContractState(req: QueryAllContractStateRequest, headers?: HeadersInit): Promise { - return Query.allContractState(req, { - headers, - pathPrefix: this.url - }); - } - /** RawContractState gets single key from the raw store data of a contract */ - async rawContractState(req: QueryRawContractStateRequest, headers?: HeadersInit): Promise { - return Query.rawContractState(req, { - headers, - pathPrefix: this.url - }); - } - /** SmartContractState get smart query result from the contract */ - async smartContractState(req: QuerySmartContractStateRequest, headers?: HeadersInit): Promise { - return Query.smartContractState(req, { - headers, - pathPrefix: this.url - }); - } - /** Code gets the binary code and metadata for a singe wasm code */ - async code(req: QueryCodeRequest, headers?: HeadersInit): Promise { - return Query.code(req, { - headers, - pathPrefix: this.url - }); - } - /** Codes gets the metadata for all stored wasm codes */ - async codes(req: QueryCodesRequest, headers?: HeadersInit): Promise { - return Query.codes(req, { - headers, - pathPrefix: this.url - }); - } - /** PinnedCodes gets the pinned code ids */ - async pinnedCodes(req: QueryPinnedCodesRequest, headers?: HeadersInit): Promise { - return Query.pinnedCodes(req, { - headers, - pathPrefix: this.url - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.ts b/quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.ts deleted file mode 100644 index 6989b2026..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/query.ts +++ /dev/null @@ -1,2569 +0,0 @@ -import { PageRequest, PageRequestAmino, PageRequestSDKType, PageResponse, PageResponseAmino, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractInfoAmino, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntryAmino, ContractCodeHistoryEntrySDKType, Model, ModelAmino, ModelSDKType } from "./types"; -import { Long, isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { toUtf8, fromUtf8 } from "@cosmjs/encoding"; -export const protobufPackage = "cosmwasm.wasm.v1"; -/** - * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoRequest { - /** address is the address of the contract to query */ - address: string; -} -export interface QueryContractInfoRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoRequest"; - value: Uint8Array; -} -/** - * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoRequestAmino { - /** address is the address of the contract to query */ - address: string; -} -export interface QueryContractInfoRequestAminoMsg { - type: "wasm/QueryContractInfoRequest"; - value: QueryContractInfoRequestAmino; -} -/** - * QueryContractInfoRequest is the request type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoRequestSDKType { - address: string; -} -/** - * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoResponse { - /** address is the address of the contract */ - address: string; - contractInfo: ContractInfo; -} -export interface QueryContractInfoResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoResponse"; - value: Uint8Array; -} -/** - * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoResponseAmino { - /** address is the address of the contract */ - address: string; - contract_info?: ContractInfoAmino; -} -export interface QueryContractInfoResponseAminoMsg { - type: "wasm/QueryContractInfoResponse"; - value: QueryContractInfoResponseAmino; -} -/** - * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoResponseSDKType { - address: string; - contract_info: ContractInfoSDKType; -} -/** - * QueryContractHistoryRequest is the request type for the Query/ContractHistory - * RPC method - */ -export interface QueryContractHistoryRequest { - /** address is the address of the contract to query */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryContractHistoryRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryRequest"; - value: Uint8Array; -} -/** - * QueryContractHistoryRequest is the request type for the Query/ContractHistory - * RPC method - */ -export interface QueryContractHistoryRequestAmino { - /** address is the address of the contract to query */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryContractHistoryRequestAminoMsg { - type: "wasm/QueryContractHistoryRequest"; - value: QueryContractHistoryRequestAmino; -} -/** - * QueryContractHistoryRequest is the request type for the Query/ContractHistory - * RPC method - */ -export interface QueryContractHistoryRequestSDKType { - address: string; - pagination: PageRequestSDKType; -} -/** - * QueryContractHistoryResponse is the response type for the - * Query/ContractHistory RPC method - */ -export interface QueryContractHistoryResponse { - entries: ContractCodeHistoryEntry[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryContractHistoryResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryResponse"; - value: Uint8Array; -} -/** - * QueryContractHistoryResponse is the response type for the - * Query/ContractHistory RPC method - */ -export interface QueryContractHistoryResponseAmino { - entries: ContractCodeHistoryEntryAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryContractHistoryResponseAminoMsg { - type: "wasm/QueryContractHistoryResponse"; - value: QueryContractHistoryResponseAmino; -} -/** - * QueryContractHistoryResponse is the response type for the - * Query/ContractHistory RPC method - */ -export interface QueryContractHistoryResponseSDKType { - entries: ContractCodeHistoryEntrySDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode - * RPC method - */ -export interface QueryContractsByCodeRequest { - /** - * grpc-gateway_out does not support Go style CodID - * pagination defines an optional pagination for the request. - */ - codeId: Long; - pagination: PageRequest; -} -export interface QueryContractsByCodeRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeRequest"; - value: Uint8Array; -} -/** - * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode - * RPC method - */ -export interface QueryContractsByCodeRequestAmino { - /** - * grpc-gateway_out does not support Go style CodID - * pagination defines an optional pagination for the request. - */ - code_id: string; - pagination?: PageRequestAmino; -} -export interface QueryContractsByCodeRequestAminoMsg { - type: "wasm/QueryContractsByCodeRequest"; - value: QueryContractsByCodeRequestAmino; -} -/** - * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode - * RPC method - */ -export interface QueryContractsByCodeRequestSDKType { - code_id: Long; - pagination: PageRequestSDKType; -} -/** - * QueryContractsByCodeResponse is the response type for the - * Query/ContractsByCode RPC method - */ -export interface QueryContractsByCodeResponse { - /** contracts are a set of contract addresses */ - contracts: string[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryContractsByCodeResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeResponse"; - value: Uint8Array; -} -/** - * QueryContractsByCodeResponse is the response type for the - * Query/ContractsByCode RPC method - */ -export interface QueryContractsByCodeResponseAmino { - /** contracts are a set of contract addresses */ - contracts: string[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryContractsByCodeResponseAminoMsg { - type: "wasm/QueryContractsByCodeResponse"; - value: QueryContractsByCodeResponseAmino; -} -/** - * QueryContractsByCodeResponse is the response type for the - * Query/ContractsByCode RPC method - */ -export interface QueryContractsByCodeResponseSDKType { - contracts: string[]; - pagination: PageResponseSDKType; -} -/** - * QueryAllContractStateRequest is the request type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateRequest { - /** address is the address of the contract */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryAllContractStateRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateRequest"; - value: Uint8Array; -} -/** - * QueryAllContractStateRequest is the request type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateRequestAmino { - /** address is the address of the contract */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryAllContractStateRequestAminoMsg { - type: "wasm/QueryAllContractStateRequest"; - value: QueryAllContractStateRequestAmino; -} -/** - * QueryAllContractStateRequest is the request type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateRequestSDKType { - address: string; - pagination: PageRequestSDKType; -} -/** - * QueryAllContractStateResponse is the response type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateResponse { - models: Model[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryAllContractStateResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateResponse"; - value: Uint8Array; -} -/** - * QueryAllContractStateResponse is the response type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateResponseAmino { - models: ModelAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryAllContractStateResponseAminoMsg { - type: "wasm/QueryAllContractStateResponse"; - value: QueryAllContractStateResponseAmino; -} -/** - * QueryAllContractStateResponse is the response type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateResponseSDKType { - models: ModelSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryRawContractStateRequest is the request type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateRequest { - /** address is the address of the contract */ - address: string; - queryData: Uint8Array; -} -export interface QueryRawContractStateRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateRequest"; - value: Uint8Array; -} -/** - * QueryRawContractStateRequest is the request type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateRequestAmino { - /** address is the address of the contract */ - address: string; - query_data: Uint8Array; -} -export interface QueryRawContractStateRequestAminoMsg { - type: "wasm/QueryRawContractStateRequest"; - value: QueryRawContractStateRequestAmino; -} -/** - * QueryRawContractStateRequest is the request type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateRequestSDKType { - address: string; - query_data: Uint8Array; -} -/** - * QueryRawContractStateResponse is the response type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateResponse { - /** Data contains the raw store data */ - data: Uint8Array; -} -export interface QueryRawContractStateResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateResponse"; - value: Uint8Array; -} -/** - * QueryRawContractStateResponse is the response type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateResponseAmino { - /** Data contains the raw store data */ - data: Uint8Array; -} -export interface QueryRawContractStateResponseAminoMsg { - type: "wasm/QueryRawContractStateResponse"; - value: QueryRawContractStateResponseAmino; -} -/** - * QueryRawContractStateResponse is the response type for the - * Query/RawContractState RPC method - */ -export interface QueryRawContractStateResponseSDKType { - data: Uint8Array; -} -/** - * QuerySmartContractStateRequest is the request type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateRequest { - /** address is the address of the contract */ - address: string; - /** QueryData contains the query data passed to the contract */ - queryData: Uint8Array; -} -export interface QuerySmartContractStateRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateRequest"; - value: Uint8Array; -} -/** - * QuerySmartContractStateRequest is the request type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateRequestAmino { - /** address is the address of the contract */ - address: string; - /** QueryData contains the query data passed to the contract */ - query_data: Uint8Array; -} -export interface QuerySmartContractStateRequestAminoMsg { - type: "wasm/QuerySmartContractStateRequest"; - value: QuerySmartContractStateRequestAmino; -} -/** - * QuerySmartContractStateRequest is the request type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateRequestSDKType { - address: string; - query_data: Uint8Array; -} -/** - * QuerySmartContractStateResponse is the response type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateResponse { - /** Data contains the json data returned from the smart contract */ - data: Uint8Array; -} -export interface QuerySmartContractStateResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateResponse"; - value: Uint8Array; -} -/** - * QuerySmartContractStateResponse is the response type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateResponseAmino { - /** Data contains the json data returned from the smart contract */ - data: Uint8Array; -} -export interface QuerySmartContractStateResponseAminoMsg { - type: "wasm/QuerySmartContractStateResponse"; - value: QuerySmartContractStateResponseAmino; -} -/** - * QuerySmartContractStateResponse is the response type for the - * Query/SmartContractState RPC method - */ -export interface QuerySmartContractStateResponseSDKType { - data: Uint8Array; -} -/** QueryCodeRequest is the request type for the Query/Code RPC method */ -export interface QueryCodeRequest { - /** grpc-gateway_out does not support Go style CodID */ - codeId: Long; -} -export interface QueryCodeRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryCodeRequest"; - value: Uint8Array; -} -/** QueryCodeRequest is the request type for the Query/Code RPC method */ -export interface QueryCodeRequestAmino { - /** grpc-gateway_out does not support Go style CodID */ - code_id: string; -} -export interface QueryCodeRequestAminoMsg { - type: "wasm/QueryCodeRequest"; - value: QueryCodeRequestAmino; -} -/** QueryCodeRequest is the request type for the Query/Code RPC method */ -export interface QueryCodeRequestSDKType { - code_id: Long; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ -export interface CodeInfoResponse { - codeId: Long; - creator: string; - dataHash: Uint8Array; -} -export interface CodeInfoResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.CodeInfoResponse"; - value: Uint8Array; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ -export interface CodeInfoResponseAmino { - code_id: string; - creator: string; - data_hash: Uint8Array; -} -export interface CodeInfoResponseAminoMsg { - type: "wasm/CodeInfoResponse"; - value: CodeInfoResponseAmino; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ -export interface CodeInfoResponseSDKType { - code_id: Long; - creator: string; - data_hash: Uint8Array; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ -export interface QueryCodeResponse { - codeInfo: CodeInfoResponse; - data: Uint8Array; -} -export interface QueryCodeResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryCodeResponse"; - value: Uint8Array; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ -export interface QueryCodeResponseAmino { - code_info?: CodeInfoResponseAmino; - data: Uint8Array; -} -export interface QueryCodeResponseAminoMsg { - type: "wasm/QueryCodeResponse"; - value: QueryCodeResponseAmino; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ -export interface QueryCodeResponseSDKType { - code_info: CodeInfoResponseSDKType; - data: Uint8Array; -} -/** QueryCodesRequest is the request type for the Query/Codes RPC method */ -export interface QueryCodesRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryCodesRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryCodesRequest"; - value: Uint8Array; -} -/** QueryCodesRequest is the request type for the Query/Codes RPC method */ -export interface QueryCodesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryCodesRequestAminoMsg { - type: "wasm/QueryCodesRequest"; - value: QueryCodesRequestAmino; -} -/** QueryCodesRequest is the request type for the Query/Codes RPC method */ -export interface QueryCodesRequestSDKType { - pagination: PageRequestSDKType; -} -/** QueryCodesResponse is the response type for the Query/Codes RPC method */ -export interface QueryCodesResponse { - codeInfos: CodeInfoResponse[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryCodesResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryCodesResponse"; - value: Uint8Array; -} -/** QueryCodesResponse is the response type for the Query/Codes RPC method */ -export interface QueryCodesResponseAmino { - code_infos: CodeInfoResponseAmino[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryCodesResponseAminoMsg { - type: "wasm/QueryCodesResponse"; - value: QueryCodesResponseAmino; -} -/** QueryCodesResponse is the response type for the Query/Codes RPC method */ -export interface QueryCodesResponseSDKType { - code_infos: CodeInfoResponseSDKType[]; - pagination: PageResponseSDKType; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ -export interface QueryPinnedCodesRequest { - /** pagination defines an optional pagination for the request. */ - pagination: PageRequest; -} -export interface QueryPinnedCodesRequestProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesRequest"; - value: Uint8Array; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ -export interface QueryPinnedCodesRequestAmino { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequestAmino; -} -export interface QueryPinnedCodesRequestAminoMsg { - type: "wasm/QueryPinnedCodesRequest"; - value: QueryPinnedCodesRequestAmino; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ -export interface QueryPinnedCodesRequestSDKType { - pagination: PageRequestSDKType; -} -/** - * QueryPinnedCodesResponse is the response type for the - * Query/PinnedCodes RPC method - */ -export interface QueryPinnedCodesResponse { - codeIds: Long[]; - /** pagination defines the pagination in the response. */ - pagination: PageResponse; -} -export interface QueryPinnedCodesResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesResponse"; - value: Uint8Array; -} -/** - * QueryPinnedCodesResponse is the response type for the - * Query/PinnedCodes RPC method - */ -export interface QueryPinnedCodesResponseAmino { - code_ids: string[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponseAmino; -} -export interface QueryPinnedCodesResponseAminoMsg { - type: "wasm/QueryPinnedCodesResponse"; - value: QueryPinnedCodesResponseAmino; -} -/** - * QueryPinnedCodesResponse is the response type for the - * Query/PinnedCodes RPC method - */ -export interface QueryPinnedCodesResponseSDKType { - code_ids: Long[]; - pagination: PageResponseSDKType; -} -function createBaseQueryContractInfoRequest(): QueryContractInfoRequest { - return { - address: "" - }; -} -export const QueryContractInfoRequest = { - typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoRequest", - aminoType: "wasm/QueryContractInfoRequest", - encode(message: QueryContractInfoRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractInfoRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryContractInfoRequest { - const obj = createBaseQueryContractInfoRequest(); - if (isSet(object.address)) obj.address = String(object.address); - return obj; - }, - toJSON(message: QueryContractInfoRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: DeepPartial): QueryContractInfoRequest { - const message = createBaseQueryContractInfoRequest(); - message.address = object.address ?? ""; - return message; - }, - fromSDK(object: QueryContractInfoRequestSDKType): QueryContractInfoRequest { - return { - address: object?.address - }; - }, - toSDK(message: QueryContractInfoRequest): QueryContractInfoRequestSDKType { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAmino(object: QueryContractInfoRequestAmino): QueryContractInfoRequest { - return { - address: object.address - }; - }, - toAmino(message: QueryContractInfoRequest): QueryContractInfoRequestAmino { - const obj: any = {}; - obj.address = message.address; - return obj; - }, - fromAminoMsg(object: QueryContractInfoRequestAminoMsg): QueryContractInfoRequest { - return QueryContractInfoRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryContractInfoRequest): QueryContractInfoRequestAminoMsg { - return { - type: "wasm/QueryContractInfoRequest", - value: QueryContractInfoRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryContractInfoRequestProtoMsg): QueryContractInfoRequest { - return QueryContractInfoRequest.decode(message.value); - }, - toProto(message: QueryContractInfoRequest): Uint8Array { - return QueryContractInfoRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryContractInfoRequest): QueryContractInfoRequestProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoRequest", - value: QueryContractInfoRequest.encode(message).finish() - }; - } -}; -function createBaseQueryContractInfoResponse(): QueryContractInfoResponse { - return { - address: "", - contractInfo: ContractInfo.fromPartial({}) - }; -} -export const QueryContractInfoResponse = { - typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoResponse", - aminoType: "wasm/QueryContractInfoResponse", - encode(message: QueryContractInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.contractInfo !== undefined) { - ContractInfo.encode(message.contractInfo, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractInfoResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.contractInfo = ContractInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryContractInfoResponse { - const obj = createBaseQueryContractInfoResponse(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.contractInfo)) obj.contractInfo = ContractInfo.fromJSON(object.contractInfo); - return obj; - }, - toJSON(message: QueryContractInfoResponse): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.contractInfo !== undefined && (obj.contractInfo = message.contractInfo ? ContractInfo.toJSON(message.contractInfo) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryContractInfoResponse { - const message = createBaseQueryContractInfoResponse(); - message.address = object.address ?? ""; - if (object.contractInfo !== undefined && object.contractInfo !== null) { - message.contractInfo = ContractInfo.fromPartial(object.contractInfo); - } - return message; - }, - fromSDK(object: QueryContractInfoResponseSDKType): QueryContractInfoResponse { - return { - address: object?.address, - contractInfo: object.contract_info ? ContractInfo.fromSDK(object.contract_info) : undefined - }; - }, - toSDK(message: QueryContractInfoResponse): QueryContractInfoResponseSDKType { - const obj: any = {}; - obj.address = message.address; - message.contractInfo !== undefined && (obj.contract_info = message.contractInfo ? ContractInfo.toSDK(message.contractInfo) : undefined); - return obj; - }, - fromAmino(object: QueryContractInfoResponseAmino): QueryContractInfoResponse { - return { - address: object.address, - contractInfo: object?.contract_info ? ContractInfo.fromAmino(object.contract_info) : undefined - }; - }, - toAmino(message: QueryContractInfoResponse): QueryContractInfoResponseAmino { - const obj: any = {}; - obj.address = message.address; - obj.contract_info = message.contractInfo ? ContractInfo.toAmino(message.contractInfo) : undefined; - return obj; - }, - fromAminoMsg(object: QueryContractInfoResponseAminoMsg): QueryContractInfoResponse { - return QueryContractInfoResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryContractInfoResponse): QueryContractInfoResponseAminoMsg { - return { - type: "wasm/QueryContractInfoResponse", - value: QueryContractInfoResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryContractInfoResponseProtoMsg): QueryContractInfoResponse { - return QueryContractInfoResponse.decode(message.value); - }, - toProto(message: QueryContractInfoResponse): Uint8Array { - return QueryContractInfoResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryContractInfoResponse): QueryContractInfoResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryContractInfoResponse", - value: QueryContractInfoResponse.encode(message).finish() - }; - } -}; -function createBaseQueryContractHistoryRequest(): QueryContractHistoryRequest { - return { - address: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryContractHistoryRequest = { - typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryRequest", - aminoType: "wasm/QueryContractHistoryRequest", - encode(message: QueryContractHistoryRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractHistoryRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryContractHistoryRequest { - const obj = createBaseQueryContractHistoryRequest(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryContractHistoryRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryContractHistoryRequest { - const message = createBaseQueryContractHistoryRequest(); - message.address = object.address ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryContractHistoryRequestSDKType): QueryContractHistoryRequest { - return { - address: object?.address, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryContractHistoryRequest): QueryContractHistoryRequestSDKType { - const obj: any = {}; - obj.address = message.address; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryContractHistoryRequestAmino): QueryContractHistoryRequest { - return { - address: object.address, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryContractHistoryRequest): QueryContractHistoryRequestAmino { - const obj: any = {}; - obj.address = message.address; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryContractHistoryRequestAminoMsg): QueryContractHistoryRequest { - return QueryContractHistoryRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryContractHistoryRequest): QueryContractHistoryRequestAminoMsg { - return { - type: "wasm/QueryContractHistoryRequest", - value: QueryContractHistoryRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryContractHistoryRequestProtoMsg): QueryContractHistoryRequest { - return QueryContractHistoryRequest.decode(message.value); - }, - toProto(message: QueryContractHistoryRequest): Uint8Array { - return QueryContractHistoryRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryContractHistoryRequest): QueryContractHistoryRequestProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryRequest", - value: QueryContractHistoryRequest.encode(message).finish() - }; - } -}; -function createBaseQueryContractHistoryResponse(): QueryContractHistoryResponse { - return { - entries: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryContractHistoryResponse = { - typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryResponse", - aminoType: "wasm/QueryContractHistoryResponse", - encode(message: QueryContractHistoryResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.entries) { - ContractCodeHistoryEntry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractHistoryResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.entries.push(ContractCodeHistoryEntry.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryContractHistoryResponse { - const obj = createBaseQueryContractHistoryResponse(); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => ContractCodeHistoryEntry.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryContractHistoryResponse): unknown { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? ContractCodeHistoryEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryContractHistoryResponse { - const message = createBaseQueryContractHistoryResponse(); - message.entries = object.entries?.map(e => ContractCodeHistoryEntry.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryContractHistoryResponseSDKType): QueryContractHistoryResponse { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => ContractCodeHistoryEntry.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryContractHistoryResponse): QueryContractHistoryResponseSDKType { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? ContractCodeHistoryEntry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryContractHistoryResponseAmino): QueryContractHistoryResponse { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => ContractCodeHistoryEntry.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryContractHistoryResponse): QueryContractHistoryResponseAmino { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? ContractCodeHistoryEntry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryContractHistoryResponseAminoMsg): QueryContractHistoryResponse { - return QueryContractHistoryResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryContractHistoryResponse): QueryContractHistoryResponseAminoMsg { - return { - type: "wasm/QueryContractHistoryResponse", - value: QueryContractHistoryResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryContractHistoryResponseProtoMsg): QueryContractHistoryResponse { - return QueryContractHistoryResponse.decode(message.value); - }, - toProto(message: QueryContractHistoryResponse): Uint8Array { - return QueryContractHistoryResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryContractHistoryResponse): QueryContractHistoryResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryContractHistoryResponse", - value: QueryContractHistoryResponse.encode(message).finish() - }; - } -}; -function createBaseQueryContractsByCodeRequest(): QueryContractsByCodeRequest { - return { - codeId: Long.UZERO, - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryContractsByCodeRequest = { - typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeRequest", - aminoType: "wasm/QueryContractsByCodeRequest", - encode(message: QueryContractsByCodeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractsByCodeRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryContractsByCodeRequest { - const obj = createBaseQueryContractsByCodeRequest(); - if (isSet(object.codeId)) obj.codeId = Long.fromValue(object.codeId); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryContractsByCodeRequest): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryContractsByCodeRequest { - const message = createBaseQueryContractsByCodeRequest(); - if (object.codeId !== undefined && object.codeId !== null) { - message.codeId = Long.fromValue(object.codeId); - } - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryContractsByCodeRequestSDKType): QueryContractsByCodeRequest { - return { - codeId: object?.code_id, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryContractsByCodeRequest): QueryContractsByCodeRequestSDKType { - const obj: any = {}; - obj.code_id = message.codeId; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryContractsByCodeRequestAmino): QueryContractsByCodeRequest { - return { - codeId: Long.fromString(object.code_id), - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryContractsByCodeRequest): QueryContractsByCodeRequestAmino { - const obj: any = {}; - obj.code_id = message.codeId ? message.codeId.toString() : undefined; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryContractsByCodeRequestAminoMsg): QueryContractsByCodeRequest { - return QueryContractsByCodeRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryContractsByCodeRequest): QueryContractsByCodeRequestAminoMsg { - return { - type: "wasm/QueryContractsByCodeRequest", - value: QueryContractsByCodeRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryContractsByCodeRequestProtoMsg): QueryContractsByCodeRequest { - return QueryContractsByCodeRequest.decode(message.value); - }, - toProto(message: QueryContractsByCodeRequest): Uint8Array { - return QueryContractsByCodeRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryContractsByCodeRequest): QueryContractsByCodeRequestProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeRequest", - value: QueryContractsByCodeRequest.encode(message).finish() - }; - } -}; -function createBaseQueryContractsByCodeResponse(): QueryContractsByCodeResponse { - return { - contracts: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryContractsByCodeResponse = { - typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeResponse", - aminoType: "wasm/QueryContractsByCodeResponse", - encode(message: QueryContractsByCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.contracts) { - writer.uint32(10).string(v!); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractsByCodeResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.contracts.push(reader.string()); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryContractsByCodeResponse { - const obj = createBaseQueryContractsByCodeResponse(); - if (Array.isArray(object?.contracts)) obj.contracts = object.contracts.map((e: any) => String(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryContractsByCodeResponse): unknown { - const obj: any = {}; - if (message.contracts) { - obj.contracts = message.contracts.map(e => e); - } else { - obj.contracts = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryContractsByCodeResponse { - const message = createBaseQueryContractsByCodeResponse(); - message.contracts = object.contracts?.map(e => e) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryContractsByCodeResponseSDKType): QueryContractsByCodeResponse { - return { - contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => e) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryContractsByCodeResponse): QueryContractsByCodeResponseSDKType { - const obj: any = {}; - if (message.contracts) { - obj.contracts = message.contracts.map(e => e); - } else { - obj.contracts = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryContractsByCodeResponseAmino): QueryContractsByCodeResponse { - return { - contracts: Array.isArray(object?.contracts) ? object.contracts.map((e: any) => e) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryContractsByCodeResponse): QueryContractsByCodeResponseAmino { - const obj: any = {}; - if (message.contracts) { - obj.contracts = message.contracts.map(e => e); - } else { - obj.contracts = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryContractsByCodeResponseAminoMsg): QueryContractsByCodeResponse { - return QueryContractsByCodeResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryContractsByCodeResponse): QueryContractsByCodeResponseAminoMsg { - return { - type: "wasm/QueryContractsByCodeResponse", - value: QueryContractsByCodeResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryContractsByCodeResponseProtoMsg): QueryContractsByCodeResponse { - return QueryContractsByCodeResponse.decode(message.value); - }, - toProto(message: QueryContractsByCodeResponse): Uint8Array { - return QueryContractsByCodeResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryContractsByCodeResponse): QueryContractsByCodeResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryContractsByCodeResponse", - value: QueryContractsByCodeResponse.encode(message).finish() - }; - } -}; -function createBaseQueryAllContractStateRequest(): QueryAllContractStateRequest { - return { - address: "", - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryAllContractStateRequest = { - typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateRequest", - aminoType: "wasm/QueryAllContractStateRequest", - encode(message: QueryAllContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllContractStateRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllContractStateRequest { - const obj = createBaseQueryAllContractStateRequest(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAllContractStateRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllContractStateRequest { - const message = createBaseQueryAllContractStateRequest(); - message.address = object.address ?? ""; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAllContractStateRequestSDKType): QueryAllContractStateRequest { - return { - address: object?.address, - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAllContractStateRequest): QueryAllContractStateRequestSDKType { - const obj: any = {}; - obj.address = message.address; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAllContractStateRequestAmino): QueryAllContractStateRequest { - return { - address: object.address, - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAllContractStateRequest): QueryAllContractStateRequestAmino { - const obj: any = {}; - obj.address = message.address; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllContractStateRequestAminoMsg): QueryAllContractStateRequest { - return QueryAllContractStateRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllContractStateRequest): QueryAllContractStateRequestAminoMsg { - return { - type: "wasm/QueryAllContractStateRequest", - value: QueryAllContractStateRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllContractStateRequestProtoMsg): QueryAllContractStateRequest { - return QueryAllContractStateRequest.decode(message.value); - }, - toProto(message: QueryAllContractStateRequest): Uint8Array { - return QueryAllContractStateRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryAllContractStateRequest): QueryAllContractStateRequestProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateRequest", - value: QueryAllContractStateRequest.encode(message).finish() - }; - } -}; -function createBaseQueryAllContractStateResponse(): QueryAllContractStateResponse { - return { - models: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryAllContractStateResponse = { - typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateResponse", - aminoType: "wasm/QueryAllContractStateResponse", - encode(message: QueryAllContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.models) { - Model.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryAllContractStateResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.models.push(Model.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryAllContractStateResponse { - const obj = createBaseQueryAllContractStateResponse(); - if (Array.isArray(object?.models)) obj.models = object.models.map((e: any) => Model.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryAllContractStateResponse): unknown { - const obj: any = {}; - if (message.models) { - obj.models = message.models.map(e => e ? Model.toJSON(e) : undefined); - } else { - obj.models = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryAllContractStateResponse { - const message = createBaseQueryAllContractStateResponse(); - message.models = object.models?.map(e => Model.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryAllContractStateResponseSDKType): QueryAllContractStateResponse { - return { - models: Array.isArray(object?.models) ? object.models.map((e: any) => Model.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryAllContractStateResponse): QueryAllContractStateResponseSDKType { - const obj: any = {}; - if (message.models) { - obj.models = message.models.map(e => e ? Model.toSDK(e) : undefined); - } else { - obj.models = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryAllContractStateResponseAmino): QueryAllContractStateResponse { - return { - models: Array.isArray(object?.models) ? object.models.map((e: any) => Model.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryAllContractStateResponse): QueryAllContractStateResponseAmino { - const obj: any = {}; - if (message.models) { - obj.models = message.models.map(e => e ? Model.toAmino(e) : undefined); - } else { - obj.models = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryAllContractStateResponseAminoMsg): QueryAllContractStateResponse { - return QueryAllContractStateResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryAllContractStateResponse): QueryAllContractStateResponseAminoMsg { - return { - type: "wasm/QueryAllContractStateResponse", - value: QueryAllContractStateResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryAllContractStateResponseProtoMsg): QueryAllContractStateResponse { - return QueryAllContractStateResponse.decode(message.value); - }, - toProto(message: QueryAllContractStateResponse): Uint8Array { - return QueryAllContractStateResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryAllContractStateResponse): QueryAllContractStateResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryAllContractStateResponse", - value: QueryAllContractStateResponse.encode(message).finish() - }; - } -}; -function createBaseQueryRawContractStateRequest(): QueryRawContractStateRequest { - return { - address: "", - queryData: new Uint8Array() - }; -} -export const QueryRawContractStateRequest = { - typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateRequest", - aminoType: "wasm/QueryRawContractStateRequest", - encode(message: QueryRawContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.queryData.length !== 0) { - writer.uint32(18).bytes(message.queryData); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryRawContractStateRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.queryData = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryRawContractStateRequest { - const obj = createBaseQueryRawContractStateRequest(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.queryData)) obj.queryData = bytesFromBase64(object.queryData); - return obj; - }, - toJSON(message: QueryRawContractStateRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.queryData !== undefined && (obj.queryData = base64FromBytes(message.queryData !== undefined ? message.queryData : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): QueryRawContractStateRequest { - const message = createBaseQueryRawContractStateRequest(); - message.address = object.address ?? ""; - message.queryData = object.queryData ?? new Uint8Array(); - return message; - }, - fromSDK(object: QueryRawContractStateRequestSDKType): QueryRawContractStateRequest { - return { - address: object?.address, - queryData: object?.query_data - }; - }, - toSDK(message: QueryRawContractStateRequest): QueryRawContractStateRequestSDKType { - const obj: any = {}; - obj.address = message.address; - obj.query_data = message.queryData; - return obj; - }, - fromAmino(object: QueryRawContractStateRequestAmino): QueryRawContractStateRequest { - return { - address: object.address, - queryData: object.query_data - }; - }, - toAmino(message: QueryRawContractStateRequest): QueryRawContractStateRequestAmino { - const obj: any = {}; - obj.address = message.address; - obj.query_data = message.queryData; - return obj; - }, - fromAminoMsg(object: QueryRawContractStateRequestAminoMsg): QueryRawContractStateRequest { - return QueryRawContractStateRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryRawContractStateRequest): QueryRawContractStateRequestAminoMsg { - return { - type: "wasm/QueryRawContractStateRequest", - value: QueryRawContractStateRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryRawContractStateRequestProtoMsg): QueryRawContractStateRequest { - return QueryRawContractStateRequest.decode(message.value); - }, - toProto(message: QueryRawContractStateRequest): Uint8Array { - return QueryRawContractStateRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryRawContractStateRequest): QueryRawContractStateRequestProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateRequest", - value: QueryRawContractStateRequest.encode(message).finish() - }; - } -}; -function createBaseQueryRawContractStateResponse(): QueryRawContractStateResponse { - return { - data: new Uint8Array() - }; -} -export const QueryRawContractStateResponse = { - typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateResponse", - aminoType: "wasm/QueryRawContractStateResponse", - encode(message: QueryRawContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryRawContractStateResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.data = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryRawContractStateResponse { - const obj = createBaseQueryRawContractStateResponse(); - if (isSet(object.data)) obj.data = bytesFromBase64(object.data); - return obj; - }, - toJSON(message: QueryRawContractStateResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): QueryRawContractStateResponse { - const message = createBaseQueryRawContractStateResponse(); - message.data = object.data ?? new Uint8Array(); - return message; - }, - fromSDK(object: QueryRawContractStateResponseSDKType): QueryRawContractStateResponse { - return { - data: object?.data - }; - }, - toSDK(message: QueryRawContractStateResponse): QueryRawContractStateResponseSDKType { - const obj: any = {}; - obj.data = message.data; - return obj; - }, - fromAmino(object: QueryRawContractStateResponseAmino): QueryRawContractStateResponse { - return { - data: object.data - }; - }, - toAmino(message: QueryRawContractStateResponse): QueryRawContractStateResponseAmino { - const obj: any = {}; - obj.data = message.data; - return obj; - }, - fromAminoMsg(object: QueryRawContractStateResponseAminoMsg): QueryRawContractStateResponse { - return QueryRawContractStateResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryRawContractStateResponse): QueryRawContractStateResponseAminoMsg { - return { - type: "wasm/QueryRawContractStateResponse", - value: QueryRawContractStateResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryRawContractStateResponseProtoMsg): QueryRawContractStateResponse { - return QueryRawContractStateResponse.decode(message.value); - }, - toProto(message: QueryRawContractStateResponse): Uint8Array { - return QueryRawContractStateResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryRawContractStateResponse): QueryRawContractStateResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryRawContractStateResponse", - value: QueryRawContractStateResponse.encode(message).finish() - }; - } -}; -function createBaseQuerySmartContractStateRequest(): QuerySmartContractStateRequest { - return { - address: "", - queryData: new Uint8Array() - }; -} -export const QuerySmartContractStateRequest = { - typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateRequest", - aminoType: "wasm/QuerySmartContractStateRequest", - encode(message: QuerySmartContractStateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.queryData.length !== 0) { - writer.uint32(18).bytes(message.queryData); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySmartContractStateRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.queryData = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySmartContractStateRequest { - const obj = createBaseQuerySmartContractStateRequest(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.queryData)) obj.queryData = bytesFromBase64(object.queryData); - return obj; - }, - toJSON(message: QuerySmartContractStateRequest): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.queryData !== undefined && (obj.queryData = base64FromBytes(message.queryData !== undefined ? message.queryData : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): QuerySmartContractStateRequest { - const message = createBaseQuerySmartContractStateRequest(); - message.address = object.address ?? ""; - message.queryData = object.queryData ?? new Uint8Array(); - return message; - }, - fromSDK(object: QuerySmartContractStateRequestSDKType): QuerySmartContractStateRequest { - return { - address: object?.address, - queryData: object?.query_data - }; - }, - toSDK(message: QuerySmartContractStateRequest): QuerySmartContractStateRequestSDKType { - const obj: any = {}; - obj.address = message.address; - obj.query_data = message.queryData; - return obj; - }, - fromAmino(object: QuerySmartContractStateRequestAmino): QuerySmartContractStateRequest { - return { - address: object.address, - queryData: toUtf8(JSON.stringify(object.query_data)) - }; - }, - toAmino(message: QuerySmartContractStateRequest): QuerySmartContractStateRequestAmino { - const obj: any = {}; - obj.address = message.address; - obj.query_data = message.queryData ? JSON.parse(fromUtf8(message.queryData)) : undefined; - return obj; - }, - fromAminoMsg(object: QuerySmartContractStateRequestAminoMsg): QuerySmartContractStateRequest { - return QuerySmartContractStateRequest.fromAmino(object.value); - }, - toAminoMsg(message: QuerySmartContractStateRequest): QuerySmartContractStateRequestAminoMsg { - return { - type: "wasm/QuerySmartContractStateRequest", - value: QuerySmartContractStateRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySmartContractStateRequestProtoMsg): QuerySmartContractStateRequest { - return QuerySmartContractStateRequest.decode(message.value); - }, - toProto(message: QuerySmartContractStateRequest): Uint8Array { - return QuerySmartContractStateRequest.encode(message).finish(); - }, - toProtoMsg(message: QuerySmartContractStateRequest): QuerySmartContractStateRequestProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateRequest", - value: QuerySmartContractStateRequest.encode(message).finish() - }; - } -}; -function createBaseQuerySmartContractStateResponse(): QuerySmartContractStateResponse { - return { - data: new Uint8Array() - }; -} -export const QuerySmartContractStateResponse = { - typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateResponse", - aminoType: "wasm/QuerySmartContractStateResponse", - encode(message: QuerySmartContractStateResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuerySmartContractStateResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.data = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuerySmartContractStateResponse { - const obj = createBaseQuerySmartContractStateResponse(); - if (isSet(object.data)) obj.data = bytesFromBase64(object.data); - return obj; - }, - toJSON(message: QuerySmartContractStateResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): QuerySmartContractStateResponse { - const message = createBaseQuerySmartContractStateResponse(); - message.data = object.data ?? new Uint8Array(); - return message; - }, - fromSDK(object: QuerySmartContractStateResponseSDKType): QuerySmartContractStateResponse { - return { - data: object?.data - }; - }, - toSDK(message: QuerySmartContractStateResponse): QuerySmartContractStateResponseSDKType { - const obj: any = {}; - obj.data = message.data; - return obj; - }, - fromAmino(object: QuerySmartContractStateResponseAmino): QuerySmartContractStateResponse { - return { - data: toUtf8(JSON.stringify(object.data)) - }; - }, - toAmino(message: QuerySmartContractStateResponse): QuerySmartContractStateResponseAmino { - const obj: any = {}; - obj.data = message.data ? JSON.parse(fromUtf8(message.data)) : undefined; - return obj; - }, - fromAminoMsg(object: QuerySmartContractStateResponseAminoMsg): QuerySmartContractStateResponse { - return QuerySmartContractStateResponse.fromAmino(object.value); - }, - toAminoMsg(message: QuerySmartContractStateResponse): QuerySmartContractStateResponseAminoMsg { - return { - type: "wasm/QuerySmartContractStateResponse", - value: QuerySmartContractStateResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QuerySmartContractStateResponseProtoMsg): QuerySmartContractStateResponse { - return QuerySmartContractStateResponse.decode(message.value); - }, - toProto(message: QuerySmartContractStateResponse): Uint8Array { - return QuerySmartContractStateResponse.encode(message).finish(); - }, - toProtoMsg(message: QuerySmartContractStateResponse): QuerySmartContractStateResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QuerySmartContractStateResponse", - value: QuerySmartContractStateResponse.encode(message).finish() - }; - } -}; -function createBaseQueryCodeRequest(): QueryCodeRequest { - return { - codeId: Long.UZERO - }; -} -export const QueryCodeRequest = { - typeUrl: "/cosmwasm.wasm.v1.QueryCodeRequest", - aminoType: "wasm/QueryCodeRequest", - encode(message: QueryCodeRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCodeRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryCodeRequest { - const obj = createBaseQueryCodeRequest(); - if (isSet(object.codeId)) obj.codeId = Long.fromValue(object.codeId); - return obj; - }, - toJSON(message: QueryCodeRequest): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QueryCodeRequest { - const message = createBaseQueryCodeRequest(); - if (object.codeId !== undefined && object.codeId !== null) { - message.codeId = Long.fromValue(object.codeId); - } - return message; - }, - fromSDK(object: QueryCodeRequestSDKType): QueryCodeRequest { - return { - codeId: object?.code_id - }; - }, - toSDK(message: QueryCodeRequest): QueryCodeRequestSDKType { - const obj: any = {}; - obj.code_id = message.codeId; - return obj; - }, - fromAmino(object: QueryCodeRequestAmino): QueryCodeRequest { - return { - codeId: Long.fromString(object.code_id) - }; - }, - toAmino(message: QueryCodeRequest): QueryCodeRequestAmino { - const obj: any = {}; - obj.code_id = message.codeId ? message.codeId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QueryCodeRequestAminoMsg): QueryCodeRequest { - return QueryCodeRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryCodeRequest): QueryCodeRequestAminoMsg { - return { - type: "wasm/QueryCodeRequest", - value: QueryCodeRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryCodeRequestProtoMsg): QueryCodeRequest { - return QueryCodeRequest.decode(message.value); - }, - toProto(message: QueryCodeRequest): Uint8Array { - return QueryCodeRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryCodeRequest): QueryCodeRequestProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryCodeRequest", - value: QueryCodeRequest.encode(message).finish() - }; - } -}; -function createBaseCodeInfoResponse(): CodeInfoResponse { - return { - codeId: Long.UZERO, - creator: "", - dataHash: new Uint8Array() - }; -} -export const CodeInfoResponse = { - typeUrl: "/cosmwasm.wasm.v1.CodeInfoResponse", - aminoType: "wasm/CodeInfoResponse", - encode(message: CodeInfoResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - if (message.creator !== "") { - writer.uint32(18).string(message.creator); - } - if (message.dataHash.length !== 0) { - writer.uint32(26).bytes(message.dataHash); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfoResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCodeInfoResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - case 2: - message.creator = reader.string(); - break; - case 3: - message.dataHash = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CodeInfoResponse { - const obj = createBaseCodeInfoResponse(); - if (isSet(object.codeId)) obj.codeId = Long.fromValue(object.codeId); - if (isSet(object.creator)) obj.creator = String(object.creator); - if (isSet(object.dataHash)) obj.dataHash = bytesFromBase64(object.dataHash); - return obj; - }, - toJSON(message: CodeInfoResponse): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.creator !== undefined && (obj.creator = message.creator); - message.dataHash !== undefined && (obj.dataHash = base64FromBytes(message.dataHash !== undefined ? message.dataHash : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): CodeInfoResponse { - const message = createBaseCodeInfoResponse(); - if (object.codeId !== undefined && object.codeId !== null) { - message.codeId = Long.fromValue(object.codeId); - } - message.creator = object.creator ?? ""; - message.dataHash = object.dataHash ?? new Uint8Array(); - return message; - }, - fromSDK(object: CodeInfoResponseSDKType): CodeInfoResponse { - return { - codeId: object?.code_id, - creator: object?.creator, - dataHash: object?.data_hash - }; - }, - toSDK(message: CodeInfoResponse): CodeInfoResponseSDKType { - const obj: any = {}; - obj.code_id = message.codeId; - obj.creator = message.creator; - obj.data_hash = message.dataHash; - return obj; - }, - fromAmino(object: CodeInfoResponseAmino): CodeInfoResponse { - return { - codeId: Long.fromString(object.code_id), - creator: object.creator, - dataHash: object.data_hash - }; - }, - toAmino(message: CodeInfoResponse): CodeInfoResponseAmino { - const obj: any = {}; - obj.code_id = message.codeId ? message.codeId.toString() : undefined; - obj.creator = message.creator; - obj.data_hash = message.dataHash; - return obj; - }, - fromAminoMsg(object: CodeInfoResponseAminoMsg): CodeInfoResponse { - return CodeInfoResponse.fromAmino(object.value); - }, - toAminoMsg(message: CodeInfoResponse): CodeInfoResponseAminoMsg { - return { - type: "wasm/CodeInfoResponse", - value: CodeInfoResponse.toAmino(message) - }; - }, - fromProtoMsg(message: CodeInfoResponseProtoMsg): CodeInfoResponse { - return CodeInfoResponse.decode(message.value); - }, - toProto(message: CodeInfoResponse): Uint8Array { - return CodeInfoResponse.encode(message).finish(); - }, - toProtoMsg(message: CodeInfoResponse): CodeInfoResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.CodeInfoResponse", - value: CodeInfoResponse.encode(message).finish() - }; - } -}; -function createBaseQueryCodeResponse(): QueryCodeResponse { - return { - codeInfo: CodeInfoResponse.fromPartial({}), - data: new Uint8Array() - }; -} -export const QueryCodeResponse = { - typeUrl: "/cosmwasm.wasm.v1.QueryCodeResponse", - aminoType: "wasm/QueryCodeResponse", - encode(message: QueryCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.codeInfo !== undefined) { - CodeInfoResponse.encode(message.codeInfo, writer.uint32(10).fork()).ldelim(); - } - if (message.data.length !== 0) { - writer.uint32(18).bytes(message.data); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCodeResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.codeInfo = CodeInfoResponse.decode(reader, reader.uint32()); - break; - case 2: - message.data = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryCodeResponse { - const obj = createBaseQueryCodeResponse(); - if (isSet(object.codeInfo)) obj.codeInfo = CodeInfoResponse.fromJSON(object.codeInfo); - if (isSet(object.data)) obj.data = bytesFromBase64(object.data); - return obj; - }, - toJSON(message: QueryCodeResponse): unknown { - const obj: any = {}; - message.codeInfo !== undefined && (obj.codeInfo = message.codeInfo ? CodeInfoResponse.toJSON(message.codeInfo) : undefined); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): QueryCodeResponse { - const message = createBaseQueryCodeResponse(); - if (object.codeInfo !== undefined && object.codeInfo !== null) { - message.codeInfo = CodeInfoResponse.fromPartial(object.codeInfo); - } - message.data = object.data ?? new Uint8Array(); - return message; - }, - fromSDK(object: QueryCodeResponseSDKType): QueryCodeResponse { - return { - codeInfo: object.code_info ? CodeInfoResponse.fromSDK(object.code_info) : undefined, - data: object?.data - }; - }, - toSDK(message: QueryCodeResponse): QueryCodeResponseSDKType { - const obj: any = {}; - message.codeInfo !== undefined && (obj.code_info = message.codeInfo ? CodeInfoResponse.toSDK(message.codeInfo) : undefined); - obj.data = message.data; - return obj; - }, - fromAmino(object: QueryCodeResponseAmino): QueryCodeResponse { - return { - codeInfo: object?.code_info ? CodeInfoResponse.fromAmino(object.code_info) : undefined, - data: object.data - }; - }, - toAmino(message: QueryCodeResponse): QueryCodeResponseAmino { - const obj: any = {}; - obj.code_info = message.codeInfo ? CodeInfoResponse.toAmino(message.codeInfo) : undefined; - obj.data = message.data; - return obj; - }, - fromAminoMsg(object: QueryCodeResponseAminoMsg): QueryCodeResponse { - return QueryCodeResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryCodeResponse): QueryCodeResponseAminoMsg { - return { - type: "wasm/QueryCodeResponse", - value: QueryCodeResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryCodeResponseProtoMsg): QueryCodeResponse { - return QueryCodeResponse.decode(message.value); - }, - toProto(message: QueryCodeResponse): Uint8Array { - return QueryCodeResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryCodeResponse): QueryCodeResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryCodeResponse", - value: QueryCodeResponse.encode(message).finish() - }; - } -}; -function createBaseQueryCodesRequest(): QueryCodesRequest { - return { - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryCodesRequest = { - typeUrl: "/cosmwasm.wasm.v1.QueryCodesRequest", - aminoType: "wasm/QueryCodesRequest", - encode(message: QueryCodesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCodesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryCodesRequest { - const obj = createBaseQueryCodesRequest(); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryCodesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryCodesRequest { - const message = createBaseQueryCodesRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryCodesRequestSDKType): QueryCodesRequest { - return { - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryCodesRequest): QueryCodesRequestSDKType { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryCodesRequestAmino): QueryCodesRequest { - return { - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryCodesRequest): QueryCodesRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryCodesRequestAminoMsg): QueryCodesRequest { - return QueryCodesRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryCodesRequest): QueryCodesRequestAminoMsg { - return { - type: "wasm/QueryCodesRequest", - value: QueryCodesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryCodesRequestProtoMsg): QueryCodesRequest { - return QueryCodesRequest.decode(message.value); - }, - toProto(message: QueryCodesRequest): Uint8Array { - return QueryCodesRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryCodesRequest): QueryCodesRequestProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryCodesRequest", - value: QueryCodesRequest.encode(message).finish() - }; - } -}; -function createBaseQueryCodesResponse(): QueryCodesResponse { - return { - codeInfos: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryCodesResponse = { - typeUrl: "/cosmwasm.wasm.v1.QueryCodesResponse", - aminoType: "wasm/QueryCodesResponse", - encode(message: QueryCodesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.codeInfos) { - CodeInfoResponse.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryCodesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.codeInfos.push(CodeInfoResponse.decode(reader, reader.uint32())); - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryCodesResponse { - const obj = createBaseQueryCodesResponse(); - if (Array.isArray(object?.codeInfos)) obj.codeInfos = object.codeInfos.map((e: any) => CodeInfoResponse.fromJSON(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryCodesResponse): unknown { - const obj: any = {}; - if (message.codeInfos) { - obj.codeInfos = message.codeInfos.map(e => e ? CodeInfoResponse.toJSON(e) : undefined); - } else { - obj.codeInfos = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryCodesResponse { - const message = createBaseQueryCodesResponse(); - message.codeInfos = object.codeInfos?.map(e => CodeInfoResponse.fromPartial(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryCodesResponseSDKType): QueryCodesResponse { - return { - codeInfos: Array.isArray(object?.code_infos) ? object.code_infos.map((e: any) => CodeInfoResponse.fromSDK(e)) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryCodesResponse): QueryCodesResponseSDKType { - const obj: any = {}; - if (message.codeInfos) { - obj.code_infos = message.codeInfos.map(e => e ? CodeInfoResponse.toSDK(e) : undefined); - } else { - obj.code_infos = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryCodesResponseAmino): QueryCodesResponse { - return { - codeInfos: Array.isArray(object?.code_infos) ? object.code_infos.map((e: any) => CodeInfoResponse.fromAmino(e)) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryCodesResponse): QueryCodesResponseAmino { - const obj: any = {}; - if (message.codeInfos) { - obj.code_infos = message.codeInfos.map(e => e ? CodeInfoResponse.toAmino(e) : undefined); - } else { - obj.code_infos = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryCodesResponseAminoMsg): QueryCodesResponse { - return QueryCodesResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryCodesResponse): QueryCodesResponseAminoMsg { - return { - type: "wasm/QueryCodesResponse", - value: QueryCodesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryCodesResponseProtoMsg): QueryCodesResponse { - return QueryCodesResponse.decode(message.value); - }, - toProto(message: QueryCodesResponse): Uint8Array { - return QueryCodesResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryCodesResponse): QueryCodesResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryCodesResponse", - value: QueryCodesResponse.encode(message).finish() - }; - } -}; -function createBaseQueryPinnedCodesRequest(): QueryPinnedCodesRequest { - return { - pagination: PageRequest.fromPartial({}) - }; -} -export const QueryPinnedCodesRequest = { - typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesRequest", - aminoType: "wasm/QueryPinnedCodesRequest", - encode(message: QueryPinnedCodesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPinnedCodesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryPinnedCodesRequest { - const obj = createBaseQueryPinnedCodesRequest(); - if (isSet(object.pagination)) obj.pagination = PageRequest.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryPinnedCodesRequest): unknown { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryPinnedCodesRequest { - const message = createBaseQueryPinnedCodesRequest(); - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageRequest.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryPinnedCodesRequestSDKType): QueryPinnedCodesRequest { - return { - pagination: object.pagination ? PageRequest.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryPinnedCodesRequest): QueryPinnedCodesRequestSDKType { - const obj: any = {}; - message.pagination !== undefined && (obj.pagination = message.pagination ? PageRequest.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryPinnedCodesRequestAmino): QueryPinnedCodesRequest { - return { - pagination: object?.pagination ? PageRequest.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryPinnedCodesRequest): QueryPinnedCodesRequestAmino { - const obj: any = {}; - obj.pagination = message.pagination ? PageRequest.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryPinnedCodesRequestAminoMsg): QueryPinnedCodesRequest { - return QueryPinnedCodesRequest.fromAmino(object.value); - }, - toAminoMsg(message: QueryPinnedCodesRequest): QueryPinnedCodesRequestAminoMsg { - return { - type: "wasm/QueryPinnedCodesRequest", - value: QueryPinnedCodesRequest.toAmino(message) - }; - }, - fromProtoMsg(message: QueryPinnedCodesRequestProtoMsg): QueryPinnedCodesRequest { - return QueryPinnedCodesRequest.decode(message.value); - }, - toProto(message: QueryPinnedCodesRequest): Uint8Array { - return QueryPinnedCodesRequest.encode(message).finish(); - }, - toProtoMsg(message: QueryPinnedCodesRequest): QueryPinnedCodesRequestProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesRequest", - value: QueryPinnedCodesRequest.encode(message).finish() - }; - } -}; -function createBaseQueryPinnedCodesResponse(): QueryPinnedCodesResponse { - return { - codeIds: [], - pagination: PageResponse.fromPartial({}) - }; -} -export const QueryPinnedCodesResponse = { - typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesResponse", - aminoType: "wasm/QueryPinnedCodesResponse", - encode(message: QueryPinnedCodesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - for (const v of message.codeIds) { - writer.uint64(v); - } - writer.ldelim(); - if (message.pagination !== undefined) { - PageResponse.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryPinnedCodesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.codeIds.push((reader.uint64() as Long)); - } - } else { - message.codeIds.push((reader.uint64() as Long)); - } - break; - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QueryPinnedCodesResponse { - const obj = createBaseQueryPinnedCodesResponse(); - if (Array.isArray(object?.codeIds)) obj.codeIds = object.codeIds.map((e: any) => Long.fromValue(e)); - if (isSet(object.pagination)) obj.pagination = PageResponse.fromJSON(object.pagination); - return obj; - }, - toJSON(message: QueryPinnedCodesResponse): unknown { - const obj: any = {}; - if (message.codeIds) { - obj.codeIds = message.codeIds.map(e => (e || Long.UZERO).toString()); - } else { - obj.codeIds = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toJSON(message.pagination) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QueryPinnedCodesResponse { - const message = createBaseQueryPinnedCodesResponse(); - message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; - if (object.pagination !== undefined && object.pagination !== null) { - message.pagination = PageResponse.fromPartial(object.pagination); - } - return message; - }, - fromSDK(object: QueryPinnedCodesResponseSDKType): QueryPinnedCodesResponse { - return { - codeIds: Array.isArray(object?.code_ids) ? object.code_ids.map((e: any) => e) : [], - pagination: object.pagination ? PageResponse.fromSDK(object.pagination) : undefined - }; - }, - toSDK(message: QueryPinnedCodesResponse): QueryPinnedCodesResponseSDKType { - const obj: any = {}; - if (message.codeIds) { - obj.code_ids = message.codeIds.map(e => e); - } else { - obj.code_ids = []; - } - message.pagination !== undefined && (obj.pagination = message.pagination ? PageResponse.toSDK(message.pagination) : undefined); - return obj; - }, - fromAmino(object: QueryPinnedCodesResponseAmino): QueryPinnedCodesResponse { - return { - codeIds: Array.isArray(object?.code_ids) ? object.code_ids.map((e: any) => e) : [], - pagination: object?.pagination ? PageResponse.fromAmino(object.pagination) : undefined - }; - }, - toAmino(message: QueryPinnedCodesResponse): QueryPinnedCodesResponseAmino { - const obj: any = {}; - if (message.codeIds) { - obj.code_ids = message.codeIds.map(e => e); - } else { - obj.code_ids = []; - } - obj.pagination = message.pagination ? PageResponse.toAmino(message.pagination) : undefined; - return obj; - }, - fromAminoMsg(object: QueryPinnedCodesResponseAminoMsg): QueryPinnedCodesResponse { - return QueryPinnedCodesResponse.fromAmino(object.value); - }, - toAminoMsg(message: QueryPinnedCodesResponse): QueryPinnedCodesResponseAminoMsg { - return { - type: "wasm/QueryPinnedCodesResponse", - value: QueryPinnedCodesResponse.toAmino(message) - }; - }, - fromProtoMsg(message: QueryPinnedCodesResponseProtoMsg): QueryPinnedCodesResponse { - return QueryPinnedCodesResponse.decode(message.value); - }, - toProto(message: QueryPinnedCodesResponse): Uint8Array { - return QueryPinnedCodesResponse.encode(message).finish(); - }, - toProtoMsg(message: QueryPinnedCodesResponse): QueryPinnedCodesResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.QueryPinnedCodesResponse", - value: QueryPinnedCodesResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.amino.ts b/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.amino.ts deleted file mode 100644 index 800a92e7a..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { AccessConfig, AccessConfigSDKType } from "./types"; -import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { MsgStoreCode, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractSDKType, MsgMigrateContract, MsgMigrateContractSDKType, MsgUpdateAdmin, MsgUpdateAdminSDKType, MsgClearAdmin, MsgClearAdminSDKType } from "./tx"; -export const AminoConverter = { - "/cosmwasm.wasm.v1.MsgStoreCode": { - aminoType: "wasm/MsgStoreCode", - toAmino: MsgStoreCode.toAmino, - fromAmino: MsgStoreCode.fromAmino - }, - "/cosmwasm.wasm.v1.MsgInstantiateContract": { - aminoType: "wasm/MsgInstantiateContract", - toAmino: MsgInstantiateContract.toAmino, - fromAmino: MsgInstantiateContract.fromAmino - }, - "/cosmwasm.wasm.v1.MsgExecuteContract": { - aminoType: "wasm/MsgExecuteContract", - toAmino: MsgExecuteContract.toAmino, - fromAmino: MsgExecuteContract.fromAmino - }, - "/cosmwasm.wasm.v1.MsgMigrateContract": { - aminoType: "wasm/MsgMigrateContract", - toAmino: MsgMigrateContract.toAmino, - fromAmino: MsgMigrateContract.fromAmino - }, - "/cosmwasm.wasm.v1.MsgUpdateAdmin": { - aminoType: "wasm/MsgUpdateAdmin", - toAmino: MsgUpdateAdmin.toAmino, - fromAmino: MsgUpdateAdmin.fromAmino - }, - "/cosmwasm.wasm.v1.MsgClearAdmin": { - aminoType: "wasm/MsgClearAdmin", - toAmino: MsgClearAdmin.toAmino, - fromAmino: MsgClearAdmin.fromAmino - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.registry.ts b/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.registry.ts deleted file mode 100644 index f5f468179..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +++ /dev/null @@ -1,202 +0,0 @@ -import { AccessConfig, AccessConfigSDKType } from "./types"; -import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { GeneratedType, Registry } from "@cosmjs/proto-signing"; -import { MsgStoreCode, MsgStoreCodeSDKType, MsgInstantiateContract, MsgInstantiateContractSDKType, MsgExecuteContract, MsgExecuteContractSDKType, MsgMigrateContract, MsgMigrateContractSDKType, MsgUpdateAdmin, MsgUpdateAdminSDKType, MsgClearAdmin, MsgClearAdminSDKType } from "./tx"; -export const registry: ReadonlyArray<[string, GeneratedType]> = [["/cosmwasm.wasm.v1.MsgStoreCode", MsgStoreCode], ["/cosmwasm.wasm.v1.MsgInstantiateContract", MsgInstantiateContract], ["/cosmwasm.wasm.v1.MsgExecuteContract", MsgExecuteContract], ["/cosmwasm.wasm.v1.MsgMigrateContract", MsgMigrateContract], ["/cosmwasm.wasm.v1.MsgUpdateAdmin", MsgUpdateAdmin], ["/cosmwasm.wasm.v1.MsgClearAdmin", MsgClearAdmin]]; -export const load = (protoRegistry: Registry) => { - registry.forEach(([typeUrl, mod]) => { - protoRegistry.register(typeUrl, mod); - }); -}; -export const MessageComposer = { - encoded: { - storeCode(value: MsgStoreCode) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - value: MsgStoreCode.encode(value).finish() - }; - }, - instantiateContract(value: MsgInstantiateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - value: MsgInstantiateContract.encode(value).finish() - }; - }, - executeContract(value: MsgExecuteContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.encode(value).finish() - }; - }, - migrateContract(value: MsgMigrateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - value: MsgMigrateContract.encode(value).finish() - }; - }, - updateAdmin(value: MsgUpdateAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - value: MsgUpdateAdmin.encode(value).finish() - }; - }, - clearAdmin(value: MsgClearAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - value: MsgClearAdmin.encode(value).finish() - }; - } - }, - withTypeUrl: { - storeCode(value: MsgStoreCode) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - value - }; - }, - instantiateContract(value: MsgInstantiateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - value - }; - }, - executeContract(value: MsgExecuteContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value - }; - }, - migrateContract(value: MsgMigrateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - value - }; - }, - updateAdmin(value: MsgUpdateAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - value - }; - }, - clearAdmin(value: MsgClearAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - value - }; - } - }, - toJSON: { - storeCode(value: MsgStoreCode) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - value: MsgStoreCode.toJSON(value) - }; - }, - instantiateContract(value: MsgInstantiateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - value: MsgInstantiateContract.toJSON(value) - }; - }, - executeContract(value: MsgExecuteContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.toJSON(value) - }; - }, - migrateContract(value: MsgMigrateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - value: MsgMigrateContract.toJSON(value) - }; - }, - updateAdmin(value: MsgUpdateAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - value: MsgUpdateAdmin.toJSON(value) - }; - }, - clearAdmin(value: MsgClearAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - value: MsgClearAdmin.toJSON(value) - }; - } - }, - fromJSON: { - storeCode(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - value: MsgStoreCode.fromJSON(value) - }; - }, - instantiateContract(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - value: MsgInstantiateContract.fromJSON(value) - }; - }, - executeContract(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromJSON(value) - }; - }, - migrateContract(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - value: MsgMigrateContract.fromJSON(value) - }; - }, - updateAdmin(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - value: MsgUpdateAdmin.fromJSON(value) - }; - }, - clearAdmin(value: any) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - value: MsgClearAdmin.fromJSON(value) - }; - } - }, - fromPartial: { - storeCode(value: MsgStoreCode) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - value: MsgStoreCode.fromPartial(value) - }; - }, - instantiateContract(value: MsgInstantiateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - value: MsgInstantiateContract.fromPartial(value) - }; - }, - executeContract(value: MsgExecuteContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial(value) - }; - }, - migrateContract(value: MsgMigrateContract) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - value: MsgMigrateContract.fromPartial(value) - }; - }, - updateAdmin(value: MsgUpdateAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - value: MsgUpdateAdmin.fromPartial(value) - }; - }, - clearAdmin(value: MsgClearAdmin) { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - value: MsgClearAdmin.fromPartial(value) - }; - } - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts b/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts deleted file mode 100644 index 198ea7921..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { AccessConfig, AccessConfigSDKType } from "./types"; -import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import * as fm from "../../../grpc-gateway"; -import { MsgStoreCode, MsgStoreCodeSDKType, MsgStoreCodeResponse, MsgStoreCodeResponseSDKType, MsgInstantiateContract, MsgInstantiateContractSDKType, MsgInstantiateContractResponse, MsgInstantiateContractResponseSDKType, MsgExecuteContract, MsgExecuteContractSDKType, MsgExecuteContractResponse, MsgExecuteContractResponseSDKType, MsgMigrateContract, MsgMigrateContractSDKType, MsgMigrateContractResponse, MsgMigrateContractResponseSDKType, MsgUpdateAdmin, MsgUpdateAdminSDKType, MsgUpdateAdminResponse, MsgUpdateAdminResponseSDKType, MsgClearAdmin, MsgClearAdminSDKType, MsgClearAdminResponse, MsgClearAdminResponseSDKType } from "./tx"; -export class Msg { - /** StoreCode to submit Wasm code to the system */ - static storeCode(request: MsgStoreCode, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm.wasm.v1/storeCode`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** Instantiate creates a new smart contract instance for the given code id. */ - static instantiateContract(request: MsgInstantiateContract, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm.wasm.v1/instantiateContract`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** Execute submits the given message data to a smart contract */ - static executeContract(request: MsgExecuteContract, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm.wasm.v1/executeContract`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** Migrate runs a code upgrade/ downgrade for a smart contract */ - static migrateContract(request: MsgMigrateContract, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm.wasm.v1/migrateContract`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** UpdateAdmin sets a new admin for a smart contract */ - static updateAdmin(request: MsgUpdateAdmin, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm.wasm.v1/updateAdmin`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } - /** ClearAdmin removes any admin stored for a smart contract */ - static clearAdmin(request: MsgClearAdmin, initRequest?: fm.InitReq): Promise { - return fm.fetchReq(`/cosmwasm.wasm.v1/clearAdmin`, { - ...initRequest, - method: "POST", - body: JSON.stringify(request, fm.replacer) - }); - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.ts b/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.ts deleted file mode 100644 index b78b38a3d..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/tx.ts +++ /dev/null @@ -1,1652 +0,0 @@ -import { AccessConfig, AccessConfigAmino, AccessConfigSDKType } from "./types"; -import { Coin, CoinAmino, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import { Long, isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { fromBase64, toBase64, toUtf8, fromUtf8 } from "@cosmjs/encoding"; -export const protobufPackage = "cosmwasm.wasm.v1"; -/** MsgStoreCode submit Wasm code to the system */ -export interface MsgStoreCode { - /** Sender is the that actor that signed the messages */ - sender: string; - /** WASMByteCode can be raw or gzip compressed */ - wasmByteCode: Uint8Array; - /** - * InstantiatePermission access control to apply on contract creation, - * optional - */ - instantiatePermission: AccessConfig; -} -export interface MsgStoreCodeProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode"; - value: Uint8Array; -} -/** MsgStoreCode submit Wasm code to the system */ -export interface MsgStoreCodeAmino { - /** Sender is the that actor that signed the messages */ - sender: string; - /** WASMByteCode can be raw or gzip compressed */ - wasm_byte_code: string; - /** - * InstantiatePermission access control to apply on contract creation, - * optional - */ - instantiate_permission?: AccessConfigAmino; -} -export interface MsgStoreCodeAminoMsg { - type: "wasm/MsgStoreCode"; - value: MsgStoreCodeAmino; -} -/** MsgStoreCode submit Wasm code to the system */ -export interface MsgStoreCodeSDKType { - sender: string; - wasm_byte_code: Uint8Array; - instantiate_permission: AccessConfigSDKType; -} -/** MsgStoreCodeResponse returns store result data. */ -export interface MsgStoreCodeResponse { - /** CodeID is the reference to the stored WASM code */ - codeId: Long; -} -export interface MsgStoreCodeResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCodeResponse"; - value: Uint8Array; -} -/** MsgStoreCodeResponse returns store result data. */ -export interface MsgStoreCodeResponseAmino { - /** CodeID is the reference to the stored WASM code */ - code_id: string; -} -export interface MsgStoreCodeResponseAminoMsg { - type: "wasm/MsgStoreCodeResponse"; - value: MsgStoreCodeResponseAmino; -} -/** MsgStoreCodeResponse returns store result data. */ -export interface MsgStoreCodeResponseSDKType { - code_id: Long; -} -/** - * MsgInstantiateContract create a new smart contract instance for the given - * code id. - */ -export interface MsgInstantiateContract { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Admin is an optional address that can execute migrations */ - admin: string; - /** CodeID is the reference to the stored WASM code */ - codeId: Long; - /** Label is optional metadata to be stored with a contract instance. */ - label: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - funds: Coin[]; -} -export interface MsgInstantiateContractProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract"; - value: Uint8Array; -} -/** - * MsgInstantiateContract create a new smart contract instance for the given - * code id. - */ -export interface MsgInstantiateContractAmino { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Admin is an optional address that can execute migrations */ - admin: string; - /** CodeID is the reference to the stored WASM code */ - code_id: string; - /** Label is optional metadata to be stored with a contract instance. */ - label: string; - /** Msg json encoded message to be passed to the contract on instantiation */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - funds: CoinAmino[]; -} -export interface MsgInstantiateContractAminoMsg { - type: "wasm/MsgInstantiateContract"; - value: MsgInstantiateContractAmino; -} -/** - * MsgInstantiateContract create a new smart contract instance for the given - * code id. - */ -export interface MsgInstantiateContractSDKType { - sender: string; - admin: string; - code_id: Long; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** MsgInstantiateContractResponse return instantiation result data */ -export interface MsgInstantiateContractResponse { - /** Address is the bech32 address of the new contract instance. */ - address: string; - /** Data contains base64-encoded bytes to returned from the contract */ - data: Uint8Array; -} -export interface MsgInstantiateContractResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContractResponse"; - value: Uint8Array; -} -/** MsgInstantiateContractResponse return instantiation result data */ -export interface MsgInstantiateContractResponseAmino { - /** Address is the bech32 address of the new contract instance. */ - address: string; - /** Data contains base64-encoded bytes to returned from the contract */ - data: Uint8Array; -} -export interface MsgInstantiateContractResponseAminoMsg { - type: "wasm/MsgInstantiateContractResponse"; - value: MsgInstantiateContractResponseAmino; -} -/** MsgInstantiateContractResponse return instantiation result data */ -export interface MsgInstantiateContractResponseSDKType { - address: string; - data: Uint8Array; -} -/** MsgExecuteContract submits the given message data to a smart contract */ -export interface MsgExecuteContract { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - contract: string; - /** Msg json encoded message to be passed to the contract */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on execution */ - funds: Coin[]; -} -export interface MsgExecuteContractProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract"; - value: Uint8Array; -} -/** MsgExecuteContract submits the given message data to a smart contract */ -export interface MsgExecuteContractAmino { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - contract: string; - /** Msg json encoded message to be passed to the contract */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on execution */ - funds: CoinAmino[]; -} -export interface MsgExecuteContractAminoMsg { - type: "wasm/MsgExecuteContract"; - value: MsgExecuteContractAmino; -} -/** MsgExecuteContract submits the given message data to a smart contract */ -export interface MsgExecuteContractSDKType { - sender: string; - contract: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** MsgExecuteContractResponse returns execution result data. */ -export interface MsgExecuteContractResponse { - /** Data contains base64-encoded bytes to returned from the contract */ - data: Uint8Array; -} -export interface MsgExecuteContractResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContractResponse"; - value: Uint8Array; -} -/** MsgExecuteContractResponse returns execution result data. */ -export interface MsgExecuteContractResponseAmino { - /** Data contains base64-encoded bytes to returned from the contract */ - data: Uint8Array; -} -export interface MsgExecuteContractResponseAminoMsg { - type: "wasm/MsgExecuteContractResponse"; - value: MsgExecuteContractResponseAmino; -} -/** MsgExecuteContractResponse returns execution result data. */ -export interface MsgExecuteContractResponseSDKType { - data: Uint8Array; -} -/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ -export interface MsgMigrateContract { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - contract: string; - /** CodeID references the new WASM code */ - codeId: Long; - /** Msg json encoded message to be passed to the contract on migration */ - msg: Uint8Array; -} -export interface MsgMigrateContractProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract"; - value: Uint8Array; -} -/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ -export interface MsgMigrateContractAmino { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - contract: string; - /** CodeID references the new WASM code */ - code_id: string; - /** Msg json encoded message to be passed to the contract on migration */ - msg: Uint8Array; -} -export interface MsgMigrateContractAminoMsg { - type: "wasm/MsgMigrateContract"; - value: MsgMigrateContractAmino; -} -/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */ -export interface MsgMigrateContractSDKType { - sender: string; - contract: string; - code_id: Long; - msg: Uint8Array; -} -/** MsgMigrateContractResponse returns contract migration result data. */ -export interface MsgMigrateContractResponse { - /** - * Data contains same raw bytes returned as data from the wasm contract. - * (May be empty) - */ - data: Uint8Array; -} -export interface MsgMigrateContractResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContractResponse"; - value: Uint8Array; -} -/** MsgMigrateContractResponse returns contract migration result data. */ -export interface MsgMigrateContractResponseAmino { - /** - * Data contains same raw bytes returned as data from the wasm contract. - * (May be empty) - */ - data: Uint8Array; -} -export interface MsgMigrateContractResponseAminoMsg { - type: "wasm/MsgMigrateContractResponse"; - value: MsgMigrateContractResponseAmino; -} -/** MsgMigrateContractResponse returns contract migration result data. */ -export interface MsgMigrateContractResponseSDKType { - data: Uint8Array; -} -/** MsgUpdateAdmin sets a new admin for a smart contract */ -export interface MsgUpdateAdmin { - /** Sender is the that actor that signed the messages */ - sender: string; - /** NewAdmin address to be set */ - newAdmin: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface MsgUpdateAdminProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin"; - value: Uint8Array; -} -/** MsgUpdateAdmin sets a new admin for a smart contract */ -export interface MsgUpdateAdminAmino { - /** Sender is the that actor that signed the messages */ - sender: string; - /** NewAdmin address to be set */ - new_admin: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface MsgUpdateAdminAminoMsg { - type: "wasm/MsgUpdateAdmin"; - value: MsgUpdateAdminAmino; -} -/** MsgUpdateAdmin sets a new admin for a smart contract */ -export interface MsgUpdateAdminSDKType { - sender: string; - new_admin: string; - contract: string; -} -/** MsgUpdateAdminResponse returns empty data */ -export interface MsgUpdateAdminResponse {} -export interface MsgUpdateAdminResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdminResponse"; - value: Uint8Array; -} -/** MsgUpdateAdminResponse returns empty data */ -export interface MsgUpdateAdminResponseAmino {} -export interface MsgUpdateAdminResponseAminoMsg { - type: "wasm/MsgUpdateAdminResponse"; - value: MsgUpdateAdminResponseAmino; -} -/** MsgUpdateAdminResponse returns empty data */ -export interface MsgUpdateAdminResponseSDKType {} -/** MsgClearAdmin removes any admin stored for a smart contract */ -export interface MsgClearAdmin { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface MsgClearAdminProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin"; - value: Uint8Array; -} -/** MsgClearAdmin removes any admin stored for a smart contract */ -export interface MsgClearAdminAmino { - /** Sender is the that actor that signed the messages */ - sender: string; - /** Contract is the address of the smart contract */ - contract: string; -} -export interface MsgClearAdminAminoMsg { - type: "wasm/MsgClearAdmin"; - value: MsgClearAdminAmino; -} -/** MsgClearAdmin removes any admin stored for a smart contract */ -export interface MsgClearAdminSDKType { - sender: string; - contract: string; -} -/** MsgClearAdminResponse returns empty data */ -export interface MsgClearAdminResponse {} -export interface MsgClearAdminResponseProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdminResponse"; - value: Uint8Array; -} -/** MsgClearAdminResponse returns empty data */ -export interface MsgClearAdminResponseAmino {} -export interface MsgClearAdminResponseAminoMsg { - type: "wasm/MsgClearAdminResponse"; - value: MsgClearAdminResponseAmino; -} -/** MsgClearAdminResponse returns empty data */ -export interface MsgClearAdminResponseSDKType {} -function createBaseMsgStoreCode(): MsgStoreCode { - return { - sender: "", - wasmByteCode: new Uint8Array(), - instantiatePermission: AccessConfig.fromPartial({}) - }; -} -export const MsgStoreCode = { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - aminoType: "wasm/MsgStoreCode", - encode(message: MsgStoreCode, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - if (message.wasmByteCode.length !== 0) { - writer.uint32(18).bytes(message.wasmByteCode); - } - if (message.instantiatePermission !== undefined) { - AccessConfig.encode(message.instantiatePermission, writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCode { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgStoreCode(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - case 2: - message.wasmByteCode = reader.bytes(); - break; - case 5: - message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgStoreCode { - const obj = createBaseMsgStoreCode(); - if (isSet(object.sender)) obj.sender = String(object.sender); - if (isSet(object.wasmByteCode)) obj.wasmByteCode = bytesFromBase64(object.wasmByteCode); - if (isSet(object.instantiatePermission)) obj.instantiatePermission = AccessConfig.fromJSON(object.instantiatePermission); - return obj; - }, - toJSON(message: MsgStoreCode): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.wasmByteCode !== undefined && (obj.wasmByteCode = base64FromBytes(message.wasmByteCode !== undefined ? message.wasmByteCode : new Uint8Array())); - message.instantiatePermission !== undefined && (obj.instantiatePermission = message.instantiatePermission ? AccessConfig.toJSON(message.instantiatePermission) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MsgStoreCode { - const message = createBaseMsgStoreCode(); - message.sender = object.sender ?? ""; - message.wasmByteCode = object.wasmByteCode ?? new Uint8Array(); - if (object.instantiatePermission !== undefined && object.instantiatePermission !== null) { - message.instantiatePermission = AccessConfig.fromPartial(object.instantiatePermission); - } - return message; - }, - fromSDK(object: MsgStoreCodeSDKType): MsgStoreCode { - return { - sender: object?.sender, - wasmByteCode: object?.wasm_byte_code, - instantiatePermission: object.instantiate_permission ? AccessConfig.fromSDK(object.instantiate_permission) : undefined - }; - }, - toSDK(message: MsgStoreCode): MsgStoreCodeSDKType { - const obj: any = {}; - obj.sender = message.sender; - obj.wasm_byte_code = message.wasmByteCode; - message.instantiatePermission !== undefined && (obj.instantiate_permission = message.instantiatePermission ? AccessConfig.toSDK(message.instantiatePermission) : undefined); - return obj; - }, - fromAmino(object: MsgStoreCodeAmino): MsgStoreCode { - return { - sender: object.sender, - wasmByteCode: fromBase64(object.wasm_byte_code), - instantiatePermission: object?.instantiate_permission ? AccessConfig.fromAmino(object.instantiate_permission) : undefined - }; - }, - toAmino(message: MsgStoreCode): MsgStoreCodeAmino { - const obj: any = {}; - obj.sender = message.sender; - obj.wasm_byte_code = message.wasmByteCode ? toBase64(message.wasmByteCode) : undefined; - obj.instantiate_permission = message.instantiatePermission ? AccessConfig.toAmino(message.instantiatePermission) : undefined; - return obj; - }, - fromAminoMsg(object: MsgStoreCodeAminoMsg): MsgStoreCode { - return MsgStoreCode.fromAmino(object.value); - }, - toAminoMsg(message: MsgStoreCode): MsgStoreCodeAminoMsg { - return { - type: "wasm/MsgStoreCode", - value: MsgStoreCode.toAmino(message) - }; - }, - fromProtoMsg(message: MsgStoreCodeProtoMsg): MsgStoreCode { - return MsgStoreCode.decode(message.value); - }, - toProto(message: MsgStoreCode): Uint8Array { - return MsgStoreCode.encode(message).finish(); - }, - toProtoMsg(message: MsgStoreCode): MsgStoreCodeProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", - value: MsgStoreCode.encode(message).finish() - }; - } -}; -function createBaseMsgStoreCodeResponse(): MsgStoreCodeResponse { - return { - codeId: Long.UZERO - }; -} -export const MsgStoreCodeResponse = { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCodeResponse", - aminoType: "wasm/MsgStoreCodeResponse", - encode(message: MsgStoreCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgStoreCodeResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgStoreCodeResponse { - const obj = createBaseMsgStoreCodeResponse(); - if (isSet(object.codeId)) obj.codeId = Long.fromValue(object.codeId); - return obj; - }, - toJSON(message: MsgStoreCodeResponse): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): MsgStoreCodeResponse { - const message = createBaseMsgStoreCodeResponse(); - if (object.codeId !== undefined && object.codeId !== null) { - message.codeId = Long.fromValue(object.codeId); - } - return message; - }, - fromSDK(object: MsgStoreCodeResponseSDKType): MsgStoreCodeResponse { - return { - codeId: object?.code_id - }; - }, - toSDK(message: MsgStoreCodeResponse): MsgStoreCodeResponseSDKType { - const obj: any = {}; - obj.code_id = message.codeId; - return obj; - }, - fromAmino(object: MsgStoreCodeResponseAmino): MsgStoreCodeResponse { - return { - codeId: Long.fromString(object.code_id) - }; - }, - toAmino(message: MsgStoreCodeResponse): MsgStoreCodeResponseAmino { - const obj: any = {}; - obj.code_id = message.codeId ? message.codeId.toString() : undefined; - return obj; - }, - fromAminoMsg(object: MsgStoreCodeResponseAminoMsg): MsgStoreCodeResponse { - return MsgStoreCodeResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgStoreCodeResponse): MsgStoreCodeResponseAminoMsg { - return { - type: "wasm/MsgStoreCodeResponse", - value: MsgStoreCodeResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgStoreCodeResponseProtoMsg): MsgStoreCodeResponse { - return MsgStoreCodeResponse.decode(message.value); - }, - toProto(message: MsgStoreCodeResponse): Uint8Array { - return MsgStoreCodeResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgStoreCodeResponse): MsgStoreCodeResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgStoreCodeResponse", - value: MsgStoreCodeResponse.encode(message).finish() - }; - } -}; -function createBaseMsgInstantiateContract(): MsgInstantiateContract { - return { - sender: "", - admin: "", - codeId: Long.UZERO, - label: "", - msg: new Uint8Array(), - funds: [] - }; -} -export const MsgInstantiateContract = { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - aminoType: "wasm/MsgInstantiateContract", - encode(message: MsgInstantiateContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - if (message.admin !== "") { - writer.uint32(18).string(message.admin); - } - if (!message.codeId.isZero()) { - writer.uint32(24).uint64(message.codeId); - } - if (message.label !== "") { - writer.uint32(34).string(message.label); - } - if (message.msg.length !== 0) { - writer.uint32(42).bytes(message.msg); - } - for (const v of message.funds) { - Coin.encode(v!, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgInstantiateContract(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - case 2: - message.admin = reader.string(); - break; - case 3: - message.codeId = (reader.uint64() as Long); - break; - case 4: - message.label = reader.string(); - break; - case 5: - message.msg = reader.bytes(); - break; - case 6: - message.funds.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgInstantiateContract { - const obj = createBaseMsgInstantiateContract(); - if (isSet(object.sender)) obj.sender = String(object.sender); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.codeId)) obj.codeId = Long.fromValue(object.codeId); - if (isSet(object.label)) obj.label = String(object.label); - if (isSet(object.msg)) obj.msg = bytesFromBase64(object.msg); - if (Array.isArray(object?.funds)) obj.funds = object.funds.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: MsgInstantiateContract): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.admin !== undefined && (obj.admin = message.admin); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.label !== undefined && (obj.label = message.label); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgInstantiateContract { - const message = createBaseMsgInstantiateContract(); - message.sender = object.sender ?? ""; - message.admin = object.admin ?? ""; - if (object.codeId !== undefined && object.codeId !== null) { - message.codeId = Long.fromValue(object.codeId); - } - message.label = object.label ?? ""; - message.msg = object.msg ?? new Uint8Array(); - message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgInstantiateContractSDKType): MsgInstantiateContract { - return { - sender: object?.sender, - admin: object?.admin, - codeId: object?.code_id, - label: object?.label, - msg: object?.msg, - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgInstantiateContract): MsgInstantiateContractSDKType { - const obj: any = {}; - obj.sender = message.sender; - obj.admin = message.admin; - obj.code_id = message.codeId; - obj.label = message.label; - obj.msg = message.msg; - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromAmino(object: MsgInstantiateContractAmino): MsgInstantiateContract { - return { - sender: object.sender, - admin: object.admin, - codeId: Long.fromString(object.code_id), - label: object.label, - msg: toUtf8(JSON.stringify(object.msg)), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgInstantiateContract): MsgInstantiateContractAmino { - const obj: any = {}; - obj.sender = message.sender; - obj.admin = message.admin; - obj.code_id = message.codeId ? message.codeId.toString() : undefined; - obj.label = message.label; - obj.msg = message.msg ? JSON.parse(fromUtf8(message.msg)) : undefined; - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromAminoMsg(object: MsgInstantiateContractAminoMsg): MsgInstantiateContract { - return MsgInstantiateContract.fromAmino(object.value); - }, - toAminoMsg(message: MsgInstantiateContract): MsgInstantiateContractAminoMsg { - return { - type: "wasm/MsgInstantiateContract", - value: MsgInstantiateContract.toAmino(message) - }; - }, - fromProtoMsg(message: MsgInstantiateContractProtoMsg): MsgInstantiateContract { - return MsgInstantiateContract.decode(message.value); - }, - toProto(message: MsgInstantiateContract): Uint8Array { - return MsgInstantiateContract.encode(message).finish(); - }, - toProtoMsg(message: MsgInstantiateContract): MsgInstantiateContractProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", - value: MsgInstantiateContract.encode(message).finish() - }; - } -}; -function createBaseMsgInstantiateContractResponse(): MsgInstantiateContractResponse { - return { - address: "", - data: new Uint8Array() - }; -} -export const MsgInstantiateContractResponse = { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContractResponse", - aminoType: "wasm/MsgInstantiateContractResponse", - encode(message: MsgInstantiateContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.address !== "") { - writer.uint32(10).string(message.address); - } - if (message.data.length !== 0) { - writer.uint32(18).bytes(message.data); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgInstantiateContractResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.address = reader.string(); - break; - case 2: - message.data = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgInstantiateContractResponse { - const obj = createBaseMsgInstantiateContractResponse(); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.data)) obj.data = bytesFromBase64(object.data); - return obj; - }, - toJSON(message: MsgInstantiateContractResponse): unknown { - const obj: any = {}; - message.address !== undefined && (obj.address = message.address); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): MsgInstantiateContractResponse { - const message = createBaseMsgInstantiateContractResponse(); - message.address = object.address ?? ""; - message.data = object.data ?? new Uint8Array(); - return message; - }, - fromSDK(object: MsgInstantiateContractResponseSDKType): MsgInstantiateContractResponse { - return { - address: object?.address, - data: object?.data - }; - }, - toSDK(message: MsgInstantiateContractResponse): MsgInstantiateContractResponseSDKType { - const obj: any = {}; - obj.address = message.address; - obj.data = message.data; - return obj; - }, - fromAmino(object: MsgInstantiateContractResponseAmino): MsgInstantiateContractResponse { - return { - address: object.address, - data: object.data - }; - }, - toAmino(message: MsgInstantiateContractResponse): MsgInstantiateContractResponseAmino { - const obj: any = {}; - obj.address = message.address; - obj.data = message.data; - return obj; - }, - fromAminoMsg(object: MsgInstantiateContractResponseAminoMsg): MsgInstantiateContractResponse { - return MsgInstantiateContractResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgInstantiateContractResponse): MsgInstantiateContractResponseAminoMsg { - return { - type: "wasm/MsgInstantiateContractResponse", - value: MsgInstantiateContractResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgInstantiateContractResponseProtoMsg): MsgInstantiateContractResponse { - return MsgInstantiateContractResponse.decode(message.value); - }, - toProto(message: MsgInstantiateContractResponse): Uint8Array { - return MsgInstantiateContractResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgInstantiateContractResponse): MsgInstantiateContractResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContractResponse", - value: MsgInstantiateContractResponse.encode(message).finish() - }; - } -}; -function createBaseMsgExecuteContract(): MsgExecuteContract { - return { - sender: "", - contract: "", - msg: new Uint8Array(), - funds: [] - }; -} -export const MsgExecuteContract = { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - aminoType: "wasm/MsgExecuteContract", - encode(message: MsgExecuteContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - if (message.contract !== "") { - writer.uint32(18).string(message.contract); - } - if (message.msg.length !== 0) { - writer.uint32(26).bytes(message.msg); - } - for (const v of message.funds) { - Coin.encode(v!, writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContract { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecuteContract(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - case 2: - message.contract = reader.string(); - break; - case 3: - message.msg = reader.bytes(); - break; - case 5: - message.funds.push(Coin.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgExecuteContract { - const obj = createBaseMsgExecuteContract(); - if (isSet(object.sender)) obj.sender = String(object.sender); - if (isSet(object.contract)) obj.contract = String(object.contract); - if (isSet(object.msg)) obj.msg = bytesFromBase64(object.msg); - if (Array.isArray(object?.funds)) obj.funds = object.funds.map((e: any) => Coin.fromJSON(e)); - return obj; - }, - toJSON(message: MsgExecuteContract): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.contract !== undefined && (obj.contract = message.contract); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toJSON(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MsgExecuteContract { - const message = createBaseMsgExecuteContract(); - message.sender = object.sender ?? ""; - message.contract = object.contract ?? ""; - message.msg = object.msg ?? new Uint8Array(); - message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MsgExecuteContractSDKType): MsgExecuteContract { - return { - sender: object?.sender, - contract: object?.contract, - msg: object?.msg, - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromSDK(e)) : [] - }; - }, - toSDK(message: MsgExecuteContract): MsgExecuteContractSDKType { - const obj: any = {}; - obj.sender = message.sender; - obj.contract = message.contract; - obj.msg = message.msg; - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toSDK(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromAmino(object: MsgExecuteContractAmino): MsgExecuteContract { - return { - sender: object.sender, - contract: object.contract, - msg: toUtf8(JSON.stringify(object.msg)), - funds: Array.isArray(object?.funds) ? object.funds.map((e: any) => Coin.fromAmino(e)) : [] - }; - }, - toAmino(message: MsgExecuteContract): MsgExecuteContractAmino { - const obj: any = {}; - obj.sender = message.sender; - obj.contract = message.contract; - obj.msg = message.msg ? JSON.parse(fromUtf8(message.msg)) : undefined; - if (message.funds) { - obj.funds = message.funds.map(e => e ? Coin.toAmino(e) : undefined); - } else { - obj.funds = []; - } - return obj; - }, - fromAminoMsg(object: MsgExecuteContractAminoMsg): MsgExecuteContract { - return MsgExecuteContract.fromAmino(object.value); - }, - toAminoMsg(message: MsgExecuteContract): MsgExecuteContractAminoMsg { - return { - type: "wasm/MsgExecuteContract", - value: MsgExecuteContract.toAmino(message) - }; - }, - fromProtoMsg(message: MsgExecuteContractProtoMsg): MsgExecuteContract { - return MsgExecuteContract.decode(message.value); - }, - toProto(message: MsgExecuteContract): Uint8Array { - return MsgExecuteContract.encode(message).finish(); - }, - toProtoMsg(message: MsgExecuteContract): MsgExecuteContractProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.encode(message).finish() - }; - } -}; -function createBaseMsgExecuteContractResponse(): MsgExecuteContractResponse { - return { - data: new Uint8Array() - }; -} -export const MsgExecuteContractResponse = { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContractResponse", - aminoType: "wasm/MsgExecuteContractResponse", - encode(message: MsgExecuteContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgExecuteContractResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.data = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgExecuteContractResponse { - const obj = createBaseMsgExecuteContractResponse(); - if (isSet(object.data)) obj.data = bytesFromBase64(object.data); - return obj; - }, - toJSON(message: MsgExecuteContractResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): MsgExecuteContractResponse { - const message = createBaseMsgExecuteContractResponse(); - message.data = object.data ?? new Uint8Array(); - return message; - }, - fromSDK(object: MsgExecuteContractResponseSDKType): MsgExecuteContractResponse { - return { - data: object?.data - }; - }, - toSDK(message: MsgExecuteContractResponse): MsgExecuteContractResponseSDKType { - const obj: any = {}; - obj.data = message.data; - return obj; - }, - fromAmino(object: MsgExecuteContractResponseAmino): MsgExecuteContractResponse { - return { - data: object.data - }; - }, - toAmino(message: MsgExecuteContractResponse): MsgExecuteContractResponseAmino { - const obj: any = {}; - obj.data = message.data; - return obj; - }, - fromAminoMsg(object: MsgExecuteContractResponseAminoMsg): MsgExecuteContractResponse { - return MsgExecuteContractResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgExecuteContractResponse): MsgExecuteContractResponseAminoMsg { - return { - type: "wasm/MsgExecuteContractResponse", - value: MsgExecuteContractResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgExecuteContractResponseProtoMsg): MsgExecuteContractResponse { - return MsgExecuteContractResponse.decode(message.value); - }, - toProto(message: MsgExecuteContractResponse): Uint8Array { - return MsgExecuteContractResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgExecuteContractResponse): MsgExecuteContractResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContractResponse", - value: MsgExecuteContractResponse.encode(message).finish() - }; - } -}; -function createBaseMsgMigrateContract(): MsgMigrateContract { - return { - sender: "", - contract: "", - codeId: Long.UZERO, - msg: new Uint8Array() - }; -} -export const MsgMigrateContract = { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - aminoType: "wasm/MsgMigrateContract", - encode(message: MsgMigrateContract, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - if (message.contract !== "") { - writer.uint32(18).string(message.contract); - } - if (!message.codeId.isZero()) { - writer.uint32(24).uint64(message.codeId); - } - if (message.msg.length !== 0) { - writer.uint32(34).bytes(message.msg); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContract { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgMigrateContract(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - case 2: - message.contract = reader.string(); - break; - case 3: - message.codeId = (reader.uint64() as Long); - break; - case 4: - message.msg = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgMigrateContract { - const obj = createBaseMsgMigrateContract(); - if (isSet(object.sender)) obj.sender = String(object.sender); - if (isSet(object.contract)) obj.contract = String(object.contract); - if (isSet(object.codeId)) obj.codeId = Long.fromValue(object.codeId); - if (isSet(object.msg)) obj.msg = bytesFromBase64(object.msg); - return obj; - }, - toJSON(message: MsgMigrateContract): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.contract !== undefined && (obj.contract = message.contract); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): MsgMigrateContract { - const message = createBaseMsgMigrateContract(); - message.sender = object.sender ?? ""; - message.contract = object.contract ?? ""; - if (object.codeId !== undefined && object.codeId !== null) { - message.codeId = Long.fromValue(object.codeId); - } - message.msg = object.msg ?? new Uint8Array(); - return message; - }, - fromSDK(object: MsgMigrateContractSDKType): MsgMigrateContract { - return { - sender: object?.sender, - contract: object?.contract, - codeId: object?.code_id, - msg: object?.msg - }; - }, - toSDK(message: MsgMigrateContract): MsgMigrateContractSDKType { - const obj: any = {}; - obj.sender = message.sender; - obj.contract = message.contract; - obj.code_id = message.codeId; - obj.msg = message.msg; - return obj; - }, - fromAmino(object: MsgMigrateContractAmino): MsgMigrateContract { - return { - sender: object.sender, - contract: object.contract, - codeId: Long.fromString(object.code_id), - msg: toUtf8(JSON.stringify(object.msg)) - }; - }, - toAmino(message: MsgMigrateContract): MsgMigrateContractAmino { - const obj: any = {}; - obj.sender = message.sender; - obj.contract = message.contract; - obj.code_id = message.codeId ? message.codeId.toString() : undefined; - obj.msg = message.msg ? JSON.parse(fromUtf8(message.msg)) : undefined; - return obj; - }, - fromAminoMsg(object: MsgMigrateContractAminoMsg): MsgMigrateContract { - return MsgMigrateContract.fromAmino(object.value); - }, - toAminoMsg(message: MsgMigrateContract): MsgMigrateContractAminoMsg { - return { - type: "wasm/MsgMigrateContract", - value: MsgMigrateContract.toAmino(message) - }; - }, - fromProtoMsg(message: MsgMigrateContractProtoMsg): MsgMigrateContract { - return MsgMigrateContract.decode(message.value); - }, - toProto(message: MsgMigrateContract): Uint8Array { - return MsgMigrateContract.encode(message).finish(); - }, - toProtoMsg(message: MsgMigrateContract): MsgMigrateContractProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContract", - value: MsgMigrateContract.encode(message).finish() - }; - } -}; -function createBaseMsgMigrateContractResponse(): MsgMigrateContractResponse { - return { - data: new Uint8Array() - }; -} -export const MsgMigrateContractResponse = { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContractResponse", - aminoType: "wasm/MsgMigrateContractResponse", - encode(message: MsgMigrateContractResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.data.length !== 0) { - writer.uint32(10).bytes(message.data); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgMigrateContractResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.data = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgMigrateContractResponse { - const obj = createBaseMsgMigrateContractResponse(); - if (isSet(object.data)) obj.data = bytesFromBase64(object.data); - return obj; - }, - toJSON(message: MsgMigrateContractResponse): unknown { - const obj: any = {}; - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): MsgMigrateContractResponse { - const message = createBaseMsgMigrateContractResponse(); - message.data = object.data ?? new Uint8Array(); - return message; - }, - fromSDK(object: MsgMigrateContractResponseSDKType): MsgMigrateContractResponse { - return { - data: object?.data - }; - }, - toSDK(message: MsgMigrateContractResponse): MsgMigrateContractResponseSDKType { - const obj: any = {}; - obj.data = message.data; - return obj; - }, - fromAmino(object: MsgMigrateContractResponseAmino): MsgMigrateContractResponse { - return { - data: object.data - }; - }, - toAmino(message: MsgMigrateContractResponse): MsgMigrateContractResponseAmino { - const obj: any = {}; - obj.data = message.data; - return obj; - }, - fromAminoMsg(object: MsgMigrateContractResponseAminoMsg): MsgMigrateContractResponse { - return MsgMigrateContractResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgMigrateContractResponse): MsgMigrateContractResponseAminoMsg { - return { - type: "wasm/MsgMigrateContractResponse", - value: MsgMigrateContractResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgMigrateContractResponseProtoMsg): MsgMigrateContractResponse { - return MsgMigrateContractResponse.decode(message.value); - }, - toProto(message: MsgMigrateContractResponse): Uint8Array { - return MsgMigrateContractResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgMigrateContractResponse): MsgMigrateContractResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgMigrateContractResponse", - value: MsgMigrateContractResponse.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateAdmin(): MsgUpdateAdmin { - return { - sender: "", - newAdmin: "", - contract: "" - }; -} -export const MsgUpdateAdmin = { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - aminoType: "wasm/MsgUpdateAdmin", - encode(message: MsgUpdateAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - if (message.newAdmin !== "") { - writer.uint32(18).string(message.newAdmin); - } - if (message.contract !== "") { - writer.uint32(26).string(message.contract); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdmin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateAdmin(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - case 2: - message.newAdmin = reader.string(); - break; - case 3: - message.contract = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgUpdateAdmin { - const obj = createBaseMsgUpdateAdmin(); - if (isSet(object.sender)) obj.sender = String(object.sender); - if (isSet(object.newAdmin)) obj.newAdmin = String(object.newAdmin); - if (isSet(object.contract)) obj.contract = String(object.contract); - return obj; - }, - toJSON(message: MsgUpdateAdmin): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.newAdmin !== undefined && (obj.newAdmin = message.newAdmin); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: DeepPartial): MsgUpdateAdmin { - const message = createBaseMsgUpdateAdmin(); - message.sender = object.sender ?? ""; - message.newAdmin = object.newAdmin ?? ""; - message.contract = object.contract ?? ""; - return message; - }, - fromSDK(object: MsgUpdateAdminSDKType): MsgUpdateAdmin { - return { - sender: object?.sender, - newAdmin: object?.new_admin, - contract: object?.contract - }; - }, - toSDK(message: MsgUpdateAdmin): MsgUpdateAdminSDKType { - const obj: any = {}; - obj.sender = message.sender; - obj.new_admin = message.newAdmin; - obj.contract = message.contract; - return obj; - }, - fromAmino(object: MsgUpdateAdminAmino): MsgUpdateAdmin { - return { - sender: object.sender, - newAdmin: object.new_admin, - contract: object.contract - }; - }, - toAmino(message: MsgUpdateAdmin): MsgUpdateAdminAmino { - const obj: any = {}; - obj.sender = message.sender; - obj.new_admin = message.newAdmin; - obj.contract = message.contract; - return obj; - }, - fromAminoMsg(object: MsgUpdateAdminAminoMsg): MsgUpdateAdmin { - return MsgUpdateAdmin.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateAdmin): MsgUpdateAdminAminoMsg { - return { - type: "wasm/MsgUpdateAdmin", - value: MsgUpdateAdmin.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateAdminProtoMsg): MsgUpdateAdmin { - return MsgUpdateAdmin.decode(message.value); - }, - toProto(message: MsgUpdateAdmin): Uint8Array { - return MsgUpdateAdmin.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateAdmin): MsgUpdateAdminProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdmin", - value: MsgUpdateAdmin.encode(message).finish() - }; - } -}; -function createBaseMsgUpdateAdminResponse(): MsgUpdateAdminResponse { - return {}; -} -export const MsgUpdateAdminResponse = { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdminResponse", - aminoType: "wasm/MsgUpdateAdminResponse", - encode(_: MsgUpdateAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgUpdateAdminResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgUpdateAdminResponse { - const obj = createBaseMsgUpdateAdminResponse(); - return obj; - }, - toJSON(_: MsgUpdateAdminResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgUpdateAdminResponse { - const message = createBaseMsgUpdateAdminResponse(); - return message; - }, - fromSDK(_: MsgUpdateAdminResponseSDKType): MsgUpdateAdminResponse { - return {}; - }, - toSDK(_: MsgUpdateAdminResponse): MsgUpdateAdminResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgUpdateAdminResponseAmino): MsgUpdateAdminResponse { - return {}; - }, - toAmino(_: MsgUpdateAdminResponse): MsgUpdateAdminResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgUpdateAdminResponseAminoMsg): MsgUpdateAdminResponse { - return MsgUpdateAdminResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgUpdateAdminResponse): MsgUpdateAdminResponseAminoMsg { - return { - type: "wasm/MsgUpdateAdminResponse", - value: MsgUpdateAdminResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgUpdateAdminResponseProtoMsg): MsgUpdateAdminResponse { - return MsgUpdateAdminResponse.decode(message.value); - }, - toProto(message: MsgUpdateAdminResponse): Uint8Array { - return MsgUpdateAdminResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgUpdateAdminResponse): MsgUpdateAdminResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgUpdateAdminResponse", - value: MsgUpdateAdminResponse.encode(message).finish() - }; - } -}; -function createBaseMsgClearAdmin(): MsgClearAdmin { - return { - sender: "", - contract: "" - }; -} -export const MsgClearAdmin = { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - aminoType: "wasm/MsgClearAdmin", - encode(message: MsgClearAdmin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sender !== "") { - writer.uint32(10).string(message.sender); - } - if (message.contract !== "") { - writer.uint32(26).string(message.contract); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdmin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgClearAdmin(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sender = reader.string(); - break; - case 3: - message.contract = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MsgClearAdmin { - const obj = createBaseMsgClearAdmin(); - if (isSet(object.sender)) obj.sender = String(object.sender); - if (isSet(object.contract)) obj.contract = String(object.contract); - return obj; - }, - toJSON(message: MsgClearAdmin): unknown { - const obj: any = {}; - message.sender !== undefined && (obj.sender = message.sender); - message.contract !== undefined && (obj.contract = message.contract); - return obj; - }, - fromPartial(object: DeepPartial): MsgClearAdmin { - const message = createBaseMsgClearAdmin(); - message.sender = object.sender ?? ""; - message.contract = object.contract ?? ""; - return message; - }, - fromSDK(object: MsgClearAdminSDKType): MsgClearAdmin { - return { - sender: object?.sender, - contract: object?.contract - }; - }, - toSDK(message: MsgClearAdmin): MsgClearAdminSDKType { - const obj: any = {}; - obj.sender = message.sender; - obj.contract = message.contract; - return obj; - }, - fromAmino(object: MsgClearAdminAmino): MsgClearAdmin { - return { - sender: object.sender, - contract: object.contract - }; - }, - toAmino(message: MsgClearAdmin): MsgClearAdminAmino { - const obj: any = {}; - obj.sender = message.sender; - obj.contract = message.contract; - return obj; - }, - fromAminoMsg(object: MsgClearAdminAminoMsg): MsgClearAdmin { - return MsgClearAdmin.fromAmino(object.value); - }, - toAminoMsg(message: MsgClearAdmin): MsgClearAdminAminoMsg { - return { - type: "wasm/MsgClearAdmin", - value: MsgClearAdmin.toAmino(message) - }; - }, - fromProtoMsg(message: MsgClearAdminProtoMsg): MsgClearAdmin { - return MsgClearAdmin.decode(message.value); - }, - toProto(message: MsgClearAdmin): Uint8Array { - return MsgClearAdmin.encode(message).finish(); - }, - toProtoMsg(message: MsgClearAdmin): MsgClearAdminProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdmin", - value: MsgClearAdmin.encode(message).finish() - }; - } -}; -function createBaseMsgClearAdminResponse(): MsgClearAdminResponse { - return {}; -} -export const MsgClearAdminResponse = { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdminResponse", - aminoType: "wasm/MsgClearAdminResponse", - encode(_: MsgClearAdminResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgClearAdminResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): MsgClearAdminResponse { - const obj = createBaseMsgClearAdminResponse(); - return obj; - }, - toJSON(_: MsgClearAdminResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): MsgClearAdminResponse { - const message = createBaseMsgClearAdminResponse(); - return message; - }, - fromSDK(_: MsgClearAdminResponseSDKType): MsgClearAdminResponse { - return {}; - }, - toSDK(_: MsgClearAdminResponse): MsgClearAdminResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: MsgClearAdminResponseAmino): MsgClearAdminResponse { - return {}; - }, - toAmino(_: MsgClearAdminResponse): MsgClearAdminResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: MsgClearAdminResponseAminoMsg): MsgClearAdminResponse { - return MsgClearAdminResponse.fromAmino(object.value); - }, - toAminoMsg(message: MsgClearAdminResponse): MsgClearAdminResponseAminoMsg { - return { - type: "wasm/MsgClearAdminResponse", - value: MsgClearAdminResponse.toAmino(message) - }; - }, - fromProtoMsg(message: MsgClearAdminResponseProtoMsg): MsgClearAdminResponse { - return MsgClearAdminResponse.decode(message.value); - }, - toProto(message: MsgClearAdminResponse): Uint8Array { - return MsgClearAdminResponse.encode(message).finish(); - }, - toProtoMsg(message: MsgClearAdminResponse): MsgClearAdminResponseProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgClearAdminResponse", - value: MsgClearAdminResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/types.ts b/quicksilverjs/src/codegen/cosmwasm/wasm/v1/types.ts deleted file mode 100644 index b1be74add..000000000 --- a/quicksilverjs/src/codegen/cosmwasm/wasm/v1/types.ts +++ /dev/null @@ -1,1339 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../google/protobuf/any"; -import { Long, isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { toUtf8, fromUtf8 } from "@cosmjs/encoding"; -export const protobufPackage = "cosmwasm.wasm.v1"; -/** AccessType permission types */ -export enum AccessType { - /** ACCESS_TYPE_UNSPECIFIED - AccessTypeUnspecified placeholder for empty value */ - ACCESS_TYPE_UNSPECIFIED = 0, - /** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */ - ACCESS_TYPE_NOBODY = 1, - /** ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to an address */ - ACCESS_TYPE_ONLY_ADDRESS = 2, - /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ - ACCESS_TYPE_EVERYBODY = 3, - UNRECOGNIZED = -1, -} -export const AccessTypeSDKType = AccessType; -export const AccessTypeAmino = AccessType; -export function accessTypeFromJSON(object: any): AccessType { - switch (object) { - case 0: - case "ACCESS_TYPE_UNSPECIFIED": - return AccessType.ACCESS_TYPE_UNSPECIFIED; - case 1: - case "ACCESS_TYPE_NOBODY": - return AccessType.ACCESS_TYPE_NOBODY; - case 2: - case "ACCESS_TYPE_ONLY_ADDRESS": - return AccessType.ACCESS_TYPE_ONLY_ADDRESS; - case 3: - case "ACCESS_TYPE_EVERYBODY": - return AccessType.ACCESS_TYPE_EVERYBODY; - case -1: - case "UNRECOGNIZED": - default: - return AccessType.UNRECOGNIZED; - } -} -export function accessTypeToJSON(object: AccessType): string { - switch (object) { - case AccessType.ACCESS_TYPE_UNSPECIFIED: - return "ACCESS_TYPE_UNSPECIFIED"; - case AccessType.ACCESS_TYPE_NOBODY: - return "ACCESS_TYPE_NOBODY"; - case AccessType.ACCESS_TYPE_ONLY_ADDRESS: - return "ACCESS_TYPE_ONLY_ADDRESS"; - case AccessType.ACCESS_TYPE_EVERYBODY: - return "ACCESS_TYPE_EVERYBODY"; - case AccessType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** ContractCodeHistoryOperationType actions that caused a code change */ -export enum ContractCodeHistoryOperationType { - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED - ContractCodeHistoryOperationTypeUnspecified placeholder for empty value */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED = 0, - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT - ContractCodeHistoryOperationTypeInit on chain contract instantiation */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT = 1, - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE - ContractCodeHistoryOperationTypeMigrate code migration */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE = 2, - /** CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS - ContractCodeHistoryOperationTypeGenesis based on genesis data */ - CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS = 3, - UNRECOGNIZED = -1, -} -export const ContractCodeHistoryOperationTypeSDKType = ContractCodeHistoryOperationType; -export const ContractCodeHistoryOperationTypeAmino = ContractCodeHistoryOperationType; -export function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType { - switch (object) { - case 0: - case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED": - return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED; - case 1: - case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT": - return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT; - case 2: - case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE": - return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE; - case 3: - case "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS": - return ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS; - case -1: - case "UNRECOGNIZED": - default: - return ContractCodeHistoryOperationType.UNRECOGNIZED; - } -} -export function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHistoryOperationType): string { - switch (object) { - case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED: - return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_UNSPECIFIED"; - case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT: - return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT"; - case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE: - return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_MIGRATE"; - case ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS: - return "CONTRACT_CODE_HISTORY_OPERATION_TYPE_GENESIS"; - case ContractCodeHistoryOperationType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** AccessTypeParam */ -export interface AccessTypeParam { - value: AccessType; -} -export interface AccessTypeParamProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.AccessTypeParam"; - value: Uint8Array; -} -/** AccessTypeParam */ -export interface AccessTypeParamAmino { - value: AccessType; -} -export interface AccessTypeParamAminoMsg { - type: "wasm/AccessTypeParam"; - value: AccessTypeParamAmino; -} -/** AccessTypeParam */ -export interface AccessTypeParamSDKType { - value: AccessType; -} -/** AccessConfig access control type. */ -export interface AccessConfig { - permission: AccessType; - address: string; -} -export interface AccessConfigProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.AccessConfig"; - value: Uint8Array; -} -/** AccessConfig access control type. */ -export interface AccessConfigAmino { - permission: AccessType; - address: string; -} -export interface AccessConfigAminoMsg { - type: "wasm/AccessConfig"; - value: AccessConfigAmino; -} -/** AccessConfig access control type. */ -export interface AccessConfigSDKType { - permission: AccessType; - address: string; -} -/** Params defines the set of wasm parameters. */ -export interface Params { - codeUploadAccess: AccessConfig; - instantiateDefaultPermission: AccessType; - maxWasmCodeSize: Long; -} -export interface ParamsProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.Params"; - value: Uint8Array; -} -/** Params defines the set of wasm parameters. */ -export interface ParamsAmino { - code_upload_access?: AccessConfigAmino; - instantiate_default_permission: AccessType; - max_wasm_code_size: string; -} -export interface ParamsAminoMsg { - type: "wasm/Params"; - value: ParamsAmino; -} -/** Params defines the set of wasm parameters. */ -export interface ParamsSDKType { - code_upload_access: AccessConfigSDKType; - instantiate_default_permission: AccessType; - max_wasm_code_size: Long; -} -/** CodeInfo is data for the uploaded contract WASM code */ -export interface CodeInfo { - /** CodeHash is the unique identifier created by wasmvm */ - codeHash: Uint8Array; - /** Creator address who initially stored the code */ - creator: string; - /** InstantiateConfig access control to apply on contract creation, optional */ - instantiateConfig: AccessConfig; -} -export interface CodeInfoProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.CodeInfo"; - value: Uint8Array; -} -/** CodeInfo is data for the uploaded contract WASM code */ -export interface CodeInfoAmino { - /** CodeHash is the unique identifier created by wasmvm */ - code_hash: Uint8Array; - /** Creator address who initially stored the code */ - creator: string; - /** InstantiateConfig access control to apply on contract creation, optional */ - instantiate_config?: AccessConfigAmino; -} -export interface CodeInfoAminoMsg { - type: "wasm/CodeInfo"; - value: CodeInfoAmino; -} -/** CodeInfo is data for the uploaded contract WASM code */ -export interface CodeInfoSDKType { - code_hash: Uint8Array; - creator: string; - instantiate_config: AccessConfigSDKType; -} -/** ContractInfo stores a WASM contract instance */ -export interface ContractInfo { - /** CodeID is the reference to the stored Wasm code */ - codeId: Long; - /** Creator address who initially instantiated the contract */ - creator: string; - /** Admin is an optional address that can execute migrations */ - admin: string; - /** Label is optional metadata to be stored with a contract instance. */ - label: string; - /** - * Created Tx position when the contract was instantiated. - * This data should kept internal and not be exposed via query results. Just - * use for sorting - */ - created: AbsoluteTxPosition; - ibcPortId: string; - /** - * Extension is an extension point to store custom metadata within the - * persistence model. - */ - extension: Any | undefined; -} -export interface ContractInfoProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.ContractInfo"; - value: Uint8Array; -} -export type ContractInfoEncoded = Omit & { - /** - * Extension is an extension point to store custom metadata within the - * persistence model. - */ - extension?: AnyProtoMsg | undefined; -}; -/** ContractInfo stores a WASM contract instance */ -export interface ContractInfoAmino { - /** CodeID is the reference to the stored Wasm code */ - code_id: string; - /** Creator address who initially instantiated the contract */ - creator: string; - /** Admin is an optional address that can execute migrations */ - admin: string; - /** Label is optional metadata to be stored with a contract instance. */ - label: string; - /** - * Created Tx position when the contract was instantiated. - * This data should kept internal and not be exposed via query results. Just - * use for sorting - */ - created?: AbsoluteTxPositionAmino; - ibc_port_id: string; - /** - * Extension is an extension point to store custom metadata within the - * persistence model. - */ - extension?: AnyAmino; -} -export interface ContractInfoAminoMsg { - type: "wasm/ContractInfo"; - value: ContractInfoAmino; -} -/** ContractInfo stores a WASM contract instance */ -export interface ContractInfoSDKType { - code_id: Long; - creator: string; - admin: string; - label: string; - created: AbsoluteTxPositionSDKType; - ibc_port_id: string; - extension: AnySDKType | undefined; -} -/** ContractCodeHistoryEntry metadata to a contract. */ -export interface ContractCodeHistoryEntry { - operation: ContractCodeHistoryOperationType; - /** CodeID is the reference to the stored WASM code */ - codeId: Long; - /** Updated Tx position when the operation was executed. */ - updated: AbsoluteTxPosition; - msg: Uint8Array; -} -export interface ContractCodeHistoryEntryProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.ContractCodeHistoryEntry"; - value: Uint8Array; -} -/** ContractCodeHistoryEntry metadata to a contract. */ -export interface ContractCodeHistoryEntryAmino { - operation: ContractCodeHistoryOperationType; - /** CodeID is the reference to the stored WASM code */ - code_id: string; - /** Updated Tx position when the operation was executed. */ - updated?: AbsoluteTxPositionAmino; - msg: Uint8Array; -} -export interface ContractCodeHistoryEntryAminoMsg { - type: "wasm/ContractCodeHistoryEntry"; - value: ContractCodeHistoryEntryAmino; -} -/** ContractCodeHistoryEntry metadata to a contract. */ -export interface ContractCodeHistoryEntrySDKType { - operation: ContractCodeHistoryOperationType; - code_id: Long; - updated: AbsoluteTxPositionSDKType; - msg: Uint8Array; -} -/** - * AbsoluteTxPosition is a unique transaction position that allows for global - * ordering of transactions. - */ -export interface AbsoluteTxPosition { - /** BlockHeight is the block the contract was created at */ - blockHeight: Long; - /** - * TxIndex is a monotonic counter within the block (actual transaction index, - * or gas consumed) - */ - txIndex: Long; -} -export interface AbsoluteTxPositionProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.AbsoluteTxPosition"; - value: Uint8Array; -} -/** - * AbsoluteTxPosition is a unique transaction position that allows for global - * ordering of transactions. - */ -export interface AbsoluteTxPositionAmino { - /** BlockHeight is the block the contract was created at */ - block_height: string; - /** - * TxIndex is a monotonic counter within the block (actual transaction index, - * or gas consumed) - */ - tx_index: string; -} -export interface AbsoluteTxPositionAminoMsg { - type: "wasm/AbsoluteTxPosition"; - value: AbsoluteTxPositionAmino; -} -/** - * AbsoluteTxPosition is a unique transaction position that allows for global - * ordering of transactions. - */ -export interface AbsoluteTxPositionSDKType { - block_height: Long; - tx_index: Long; -} -/** Model is a struct that holds a KV pair */ -export interface Model { - /** hex-encode key to read it better (this is often ascii) */ - key: Uint8Array; - /** base64-encode raw value */ - value: Uint8Array; -} -export interface ModelProtoMsg { - typeUrl: "/cosmwasm.wasm.v1.Model"; - value: Uint8Array; -} -/** Model is a struct that holds a KV pair */ -export interface ModelAmino { - /** hex-encode key to read it better (this is often ascii) */ - key: Uint8Array; - /** base64-encode raw value */ - value: Uint8Array; -} -export interface ModelAminoMsg { - type: "wasm/Model"; - value: ModelAmino; -} -/** Model is a struct that holds a KV pair */ -export interface ModelSDKType { - key: Uint8Array; - value: Uint8Array; -} -function createBaseAccessTypeParam(): AccessTypeParam { - return { - value: 0 - }; -} -export const AccessTypeParam = { - typeUrl: "/cosmwasm.wasm.v1.AccessTypeParam", - aminoType: "wasm/AccessTypeParam", - encode(message: AccessTypeParam, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== 0) { - writer.uint32(8).int32(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AccessTypeParam { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAccessTypeParam(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.value = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AccessTypeParam { - const obj = createBaseAccessTypeParam(); - if (isSet(object.value)) obj.value = accessTypeFromJSON(object.value); - return obj; - }, - toJSON(message: AccessTypeParam): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = accessTypeToJSON(message.value)); - return obj; - }, - fromPartial(object: DeepPartial): AccessTypeParam { - const message = createBaseAccessTypeParam(); - message.value = object.value ?? 0; - return message; - }, - fromSDK(object: AccessTypeParamSDKType): AccessTypeParam { - return { - value: isSet(object.value) ? accessTypeFromJSON(object.value) : -1 - }; - }, - toSDK(message: AccessTypeParam): AccessTypeParamSDKType { - const obj: any = {}; - message.value !== undefined && (obj.value = accessTypeToJSON(message.value)); - return obj; - }, - fromAmino(object: AccessTypeParamAmino): AccessTypeParam { - return { - value: isSet(object.value) ? accessTypeFromJSON(object.value) : -1 - }; - }, - toAmino(message: AccessTypeParam): AccessTypeParamAmino { - const obj: any = {}; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: AccessTypeParamAminoMsg): AccessTypeParam { - return AccessTypeParam.fromAmino(object.value); - }, - toAminoMsg(message: AccessTypeParam): AccessTypeParamAminoMsg { - return { - type: "wasm/AccessTypeParam", - value: AccessTypeParam.toAmino(message) - }; - }, - fromProtoMsg(message: AccessTypeParamProtoMsg): AccessTypeParam { - return AccessTypeParam.decode(message.value); - }, - toProto(message: AccessTypeParam): Uint8Array { - return AccessTypeParam.encode(message).finish(); - }, - toProtoMsg(message: AccessTypeParam): AccessTypeParamProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.AccessTypeParam", - value: AccessTypeParam.encode(message).finish() - }; - } -}; -function createBaseAccessConfig(): AccessConfig { - return { - permission: 0, - address: "" - }; -} -export const AccessConfig = { - typeUrl: "/cosmwasm.wasm.v1.AccessConfig", - aminoType: "wasm/AccessConfig", - encode(message: AccessConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.permission !== 0) { - writer.uint32(8).int32(message.permission); - } - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfig { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAccessConfig(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.permission = (reader.int32() as any); - break; - case 2: - message.address = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AccessConfig { - const obj = createBaseAccessConfig(); - if (isSet(object.permission)) obj.permission = accessTypeFromJSON(object.permission); - if (isSet(object.address)) obj.address = String(object.address); - return obj; - }, - toJSON(message: AccessConfig): unknown { - const obj: any = {}; - message.permission !== undefined && (obj.permission = accessTypeToJSON(message.permission)); - message.address !== undefined && (obj.address = message.address); - return obj; - }, - fromPartial(object: DeepPartial): AccessConfig { - const message = createBaseAccessConfig(); - message.permission = object.permission ?? 0; - message.address = object.address ?? ""; - return message; - }, - fromSDK(object: AccessConfigSDKType): AccessConfig { - return { - permission: isSet(object.permission) ? accessTypeFromJSON(object.permission) : -1, - address: object?.address - }; - }, - toSDK(message: AccessConfig): AccessConfigSDKType { - const obj: any = {}; - message.permission !== undefined && (obj.permission = accessTypeToJSON(message.permission)); - obj.address = message.address; - return obj; - }, - fromAmino(object: AccessConfigAmino): AccessConfig { - return { - permission: isSet(object.permission) ? accessTypeFromJSON(object.permission) : -1, - address: object.address - }; - }, - toAmino(message: AccessConfig): AccessConfigAmino { - const obj: any = {}; - obj.permission = message.permission; - obj.address = message.address; - return obj; - }, - fromAminoMsg(object: AccessConfigAminoMsg): AccessConfig { - return AccessConfig.fromAmino(object.value); - }, - toAminoMsg(message: AccessConfig): AccessConfigAminoMsg { - return { - type: "wasm/AccessConfig", - value: AccessConfig.toAmino(message) - }; - }, - fromProtoMsg(message: AccessConfigProtoMsg): AccessConfig { - return AccessConfig.decode(message.value); - }, - toProto(message: AccessConfig): Uint8Array { - return AccessConfig.encode(message).finish(); - }, - toProtoMsg(message: AccessConfig): AccessConfigProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.AccessConfig", - value: AccessConfig.encode(message).finish() - }; - } -}; -function createBaseParams(): Params { - return { - codeUploadAccess: AccessConfig.fromPartial({}), - instantiateDefaultPermission: 0, - maxWasmCodeSize: Long.UZERO - }; -} -export const Params = { - typeUrl: "/cosmwasm.wasm.v1.Params", - aminoType: "wasm/Params", - encode(message: Params, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.codeUploadAccess !== undefined) { - AccessConfig.encode(message.codeUploadAccess, writer.uint32(10).fork()).ldelim(); - } - if (message.instantiateDefaultPermission !== 0) { - writer.uint32(16).int32(message.instantiateDefaultPermission); - } - if (!message.maxWasmCodeSize.isZero()) { - writer.uint32(24).uint64(message.maxWasmCodeSize); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Params { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParams(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.codeUploadAccess = AccessConfig.decode(reader, reader.uint32()); - break; - case 2: - message.instantiateDefaultPermission = (reader.int32() as any); - break; - case 3: - message.maxWasmCodeSize = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Params { - const obj = createBaseParams(); - if (isSet(object.codeUploadAccess)) obj.codeUploadAccess = AccessConfig.fromJSON(object.codeUploadAccess); - if (isSet(object.instantiateDefaultPermission)) obj.instantiateDefaultPermission = accessTypeFromJSON(object.instantiateDefaultPermission); - if (isSet(object.maxWasmCodeSize)) obj.maxWasmCodeSize = Long.fromValue(object.maxWasmCodeSize); - return obj; - }, - toJSON(message: Params): unknown { - const obj: any = {}; - message.codeUploadAccess !== undefined && (obj.codeUploadAccess = message.codeUploadAccess ? AccessConfig.toJSON(message.codeUploadAccess) : undefined); - message.instantiateDefaultPermission !== undefined && (obj.instantiateDefaultPermission = accessTypeToJSON(message.instantiateDefaultPermission)); - message.maxWasmCodeSize !== undefined && (obj.maxWasmCodeSize = (message.maxWasmCodeSize || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): Params { - const message = createBaseParams(); - if (object.codeUploadAccess !== undefined && object.codeUploadAccess !== null) { - message.codeUploadAccess = AccessConfig.fromPartial(object.codeUploadAccess); - } - message.instantiateDefaultPermission = object.instantiateDefaultPermission ?? 0; - if (object.maxWasmCodeSize !== undefined && object.maxWasmCodeSize !== null) { - message.maxWasmCodeSize = Long.fromValue(object.maxWasmCodeSize); - } - return message; - }, - fromSDK(object: ParamsSDKType): Params { - return { - codeUploadAccess: object.code_upload_access ? AccessConfig.fromSDK(object.code_upload_access) : undefined, - instantiateDefaultPermission: isSet(object.instantiate_default_permission) ? accessTypeFromJSON(object.instantiate_default_permission) : -1, - maxWasmCodeSize: object?.max_wasm_code_size - }; - }, - toSDK(message: Params): ParamsSDKType { - const obj: any = {}; - message.codeUploadAccess !== undefined && (obj.code_upload_access = message.codeUploadAccess ? AccessConfig.toSDK(message.codeUploadAccess) : undefined); - message.instantiateDefaultPermission !== undefined && (obj.instantiate_default_permission = accessTypeToJSON(message.instantiateDefaultPermission)); - obj.max_wasm_code_size = message.maxWasmCodeSize; - return obj; - }, - fromAmino(object: ParamsAmino): Params { - return { - codeUploadAccess: object?.code_upload_access ? AccessConfig.fromAmino(object.code_upload_access) : undefined, - instantiateDefaultPermission: isSet(object.instantiate_default_permission) ? accessTypeFromJSON(object.instantiate_default_permission) : -1, - maxWasmCodeSize: Long.fromString(object.max_wasm_code_size) - }; - }, - toAmino(message: Params): ParamsAmino { - const obj: any = {}; - obj.code_upload_access = message.codeUploadAccess ? AccessConfig.toAmino(message.codeUploadAccess) : undefined; - obj.instantiate_default_permission = message.instantiateDefaultPermission; - obj.max_wasm_code_size = message.maxWasmCodeSize ? message.maxWasmCodeSize.toString() : undefined; - return obj; - }, - fromAminoMsg(object: ParamsAminoMsg): Params { - return Params.fromAmino(object.value); - }, - toAminoMsg(message: Params): ParamsAminoMsg { - return { - type: "wasm/Params", - value: Params.toAmino(message) - }; - }, - fromProtoMsg(message: ParamsProtoMsg): Params { - return Params.decode(message.value); - }, - toProto(message: Params): Uint8Array { - return Params.encode(message).finish(); - }, - toProtoMsg(message: Params): ParamsProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.Params", - value: Params.encode(message).finish() - }; - } -}; -function createBaseCodeInfo(): CodeInfo { - return { - codeHash: new Uint8Array(), - creator: "", - instantiateConfig: AccessConfig.fromPartial({}) - }; -} -export const CodeInfo = { - typeUrl: "/cosmwasm.wasm.v1.CodeInfo", - aminoType: "wasm/CodeInfo", - encode(message: CodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.codeHash.length !== 0) { - writer.uint32(10).bytes(message.codeHash); - } - if (message.creator !== "") { - writer.uint32(18).string(message.creator); - } - if (message.instantiateConfig !== undefined) { - AccessConfig.encode(message.instantiateConfig, writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCodeInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.codeHash = reader.bytes(); - break; - case 2: - message.creator = reader.string(); - break; - case 5: - message.instantiateConfig = AccessConfig.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CodeInfo { - const obj = createBaseCodeInfo(); - if (isSet(object.codeHash)) obj.codeHash = bytesFromBase64(object.codeHash); - if (isSet(object.creator)) obj.creator = String(object.creator); - if (isSet(object.instantiateConfig)) obj.instantiateConfig = AccessConfig.fromJSON(object.instantiateConfig); - return obj; - }, - toJSON(message: CodeInfo): unknown { - const obj: any = {}; - message.codeHash !== undefined && (obj.codeHash = base64FromBytes(message.codeHash !== undefined ? message.codeHash : new Uint8Array())); - message.creator !== undefined && (obj.creator = message.creator); - message.instantiateConfig !== undefined && (obj.instantiateConfig = message.instantiateConfig ? AccessConfig.toJSON(message.instantiateConfig) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CodeInfo { - const message = createBaseCodeInfo(); - message.codeHash = object.codeHash ?? new Uint8Array(); - message.creator = object.creator ?? ""; - if (object.instantiateConfig !== undefined && object.instantiateConfig !== null) { - message.instantiateConfig = AccessConfig.fromPartial(object.instantiateConfig); - } - return message; - }, - fromSDK(object: CodeInfoSDKType): CodeInfo { - return { - codeHash: object?.code_hash, - creator: object?.creator, - instantiateConfig: object.instantiate_config ? AccessConfig.fromSDK(object.instantiate_config) : undefined - }; - }, - toSDK(message: CodeInfo): CodeInfoSDKType { - const obj: any = {}; - obj.code_hash = message.codeHash; - obj.creator = message.creator; - message.instantiateConfig !== undefined && (obj.instantiate_config = message.instantiateConfig ? AccessConfig.toSDK(message.instantiateConfig) : undefined); - return obj; - }, - fromAmino(object: CodeInfoAmino): CodeInfo { - return { - codeHash: object.code_hash, - creator: object.creator, - instantiateConfig: object?.instantiate_config ? AccessConfig.fromAmino(object.instantiate_config) : undefined - }; - }, - toAmino(message: CodeInfo): CodeInfoAmino { - const obj: any = {}; - obj.code_hash = message.codeHash; - obj.creator = message.creator; - obj.instantiate_config = message.instantiateConfig ? AccessConfig.toAmino(message.instantiateConfig) : undefined; - return obj; - }, - fromAminoMsg(object: CodeInfoAminoMsg): CodeInfo { - return CodeInfo.fromAmino(object.value); - }, - toAminoMsg(message: CodeInfo): CodeInfoAminoMsg { - return { - type: "wasm/CodeInfo", - value: CodeInfo.toAmino(message) - }; - }, - fromProtoMsg(message: CodeInfoProtoMsg): CodeInfo { - return CodeInfo.decode(message.value); - }, - toProto(message: CodeInfo): Uint8Array { - return CodeInfo.encode(message).finish(); - }, - toProtoMsg(message: CodeInfo): CodeInfoProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.CodeInfo", - value: CodeInfo.encode(message).finish() - }; - } -}; -function createBaseContractInfo(): ContractInfo { - return { - codeId: Long.UZERO, - creator: "", - admin: "", - label: "", - created: AbsoluteTxPosition.fromPartial({}), - ibcPortId: "", - extension: Any.fromPartial({}) - }; -} -export const ContractInfo = { - typeUrl: "/cosmwasm.wasm.v1.ContractInfo", - aminoType: "wasm/ContractInfo", - encode(message: ContractInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - if (message.creator !== "") { - writer.uint32(18).string(message.creator); - } - if (message.admin !== "") { - writer.uint32(26).string(message.admin); - } - if (message.label !== "") { - writer.uint32(34).string(message.label); - } - if (message.created !== undefined) { - AbsoluteTxPosition.encode(message.created, writer.uint32(42).fork()).ldelim(); - } - if (message.ibcPortId !== "") { - writer.uint32(50).string(message.ibcPortId); - } - if (message.extension !== undefined) { - Any.encode((message.extension as Any), writer.uint32(58).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContractInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - case 2: - message.creator = reader.string(); - break; - case 3: - message.admin = reader.string(); - break; - case 4: - message.label = reader.string(); - break; - case 5: - message.created = AbsoluteTxPosition.decode(reader, reader.uint32()); - break; - case 6: - message.ibcPortId = reader.string(); - break; - case 7: - message.extension = (ContractInfoExtension_InterfaceDecoder(reader) as Any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ContractInfo { - const obj = createBaseContractInfo(); - if (isSet(object.codeId)) obj.codeId = Long.fromValue(object.codeId); - if (isSet(object.creator)) obj.creator = String(object.creator); - if (isSet(object.admin)) obj.admin = String(object.admin); - if (isSet(object.label)) obj.label = String(object.label); - if (isSet(object.created)) obj.created = AbsoluteTxPosition.fromJSON(object.created); - if (isSet(object.ibcPortId)) obj.ibcPortId = String(object.ibcPortId); - if (isSet(object.extension)) obj.extension = Any.fromJSON(object.extension); - return obj; - }, - toJSON(message: ContractInfo): unknown { - const obj: any = {}; - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.creator !== undefined && (obj.creator = message.creator); - message.admin !== undefined && (obj.admin = message.admin); - message.label !== undefined && (obj.label = message.label); - message.created !== undefined && (obj.created = message.created ? AbsoluteTxPosition.toJSON(message.created) : undefined); - message.ibcPortId !== undefined && (obj.ibcPortId = message.ibcPortId); - message.extension !== undefined && (obj.extension = message.extension ? Any.toJSON(message.extension) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ContractInfo { - const message = createBaseContractInfo(); - if (object.codeId !== undefined && object.codeId !== null) { - message.codeId = Long.fromValue(object.codeId); - } - message.creator = object.creator ?? ""; - message.admin = object.admin ?? ""; - message.label = object.label ?? ""; - if (object.created !== undefined && object.created !== null) { - message.created = AbsoluteTxPosition.fromPartial(object.created); - } - message.ibcPortId = object.ibcPortId ?? ""; - if (object.extension !== undefined && object.extension !== null) { - message.extension = Any.fromPartial(object.extension); - } - return message; - }, - fromSDK(object: ContractInfoSDKType): ContractInfo { - return { - codeId: object?.code_id, - creator: object?.creator, - admin: object?.admin, - label: object?.label, - created: object.created ? AbsoluteTxPosition.fromSDK(object.created) : undefined, - ibcPortId: object?.ibc_port_id, - extension: object.extension ? Any.fromSDK(object.extension) : undefined - }; - }, - toSDK(message: ContractInfo): ContractInfoSDKType { - const obj: any = {}; - obj.code_id = message.codeId; - obj.creator = message.creator; - obj.admin = message.admin; - obj.label = message.label; - message.created !== undefined && (obj.created = message.created ? AbsoluteTxPosition.toSDK(message.created) : undefined); - obj.ibc_port_id = message.ibcPortId; - message.extension !== undefined && (obj.extension = message.extension ? Any.toSDK(message.extension) : undefined); - return obj; - }, - fromAmino(object: ContractInfoAmino): ContractInfo { - return { - codeId: Long.fromString(object.code_id), - creator: object.creator, - admin: object.admin, - label: object.label, - created: object?.created ? AbsoluteTxPosition.fromAmino(object.created) : undefined, - ibcPortId: object.ibc_port_id, - extension: object?.extension ? ContractInfoExtension_FromAmino(object.extension) : undefined - }; - }, - toAmino(message: ContractInfo): ContractInfoAmino { - const obj: any = {}; - obj.code_id = message.codeId ? message.codeId.toString() : undefined; - obj.creator = message.creator; - obj.admin = message.admin; - obj.label = message.label; - obj.created = message.created ? AbsoluteTxPosition.toAmino(message.created) : undefined; - obj.ibc_port_id = message.ibcPortId; - obj.extension = message.extension ? ContractInfoExtension_ToAmino((message.extension as Any)) : undefined; - return obj; - }, - fromAminoMsg(object: ContractInfoAminoMsg): ContractInfo { - return ContractInfo.fromAmino(object.value); - }, - toAminoMsg(message: ContractInfo): ContractInfoAminoMsg { - return { - type: "wasm/ContractInfo", - value: ContractInfo.toAmino(message) - }; - }, - fromProtoMsg(message: ContractInfoProtoMsg): ContractInfo { - return ContractInfo.decode(message.value); - }, - toProto(message: ContractInfo): Uint8Array { - return ContractInfo.encode(message).finish(); - }, - toProtoMsg(message: ContractInfo): ContractInfoProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.ContractInfo", - value: ContractInfo.encode(message).finish() - }; - } -}; -function createBaseContractCodeHistoryEntry(): ContractCodeHistoryEntry { - return { - operation: 0, - codeId: Long.UZERO, - updated: AbsoluteTxPosition.fromPartial({}), - msg: new Uint8Array() - }; -} -export const ContractCodeHistoryEntry = { - typeUrl: "/cosmwasm.wasm.v1.ContractCodeHistoryEntry", - aminoType: "wasm/ContractCodeHistoryEntry", - encode(message: ContractCodeHistoryEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.operation !== 0) { - writer.uint32(8).int32(message.operation); - } - if (!message.codeId.isZero()) { - writer.uint32(16).uint64(message.codeId); - } - if (message.updated !== undefined) { - AbsoluteTxPosition.encode(message.updated, writer.uint32(26).fork()).ldelim(); - } - if (message.msg.length !== 0) { - writer.uint32(34).bytes(message.msg); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ContractCodeHistoryEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContractCodeHistoryEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.operation = (reader.int32() as any); - break; - case 2: - message.codeId = (reader.uint64() as Long); - break; - case 3: - message.updated = AbsoluteTxPosition.decode(reader, reader.uint32()); - break; - case 4: - message.msg = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ContractCodeHistoryEntry { - const obj = createBaseContractCodeHistoryEntry(); - if (isSet(object.operation)) obj.operation = contractCodeHistoryOperationTypeFromJSON(object.operation); - if (isSet(object.codeId)) obj.codeId = Long.fromValue(object.codeId); - if (isSet(object.updated)) obj.updated = AbsoluteTxPosition.fromJSON(object.updated); - if (isSet(object.msg)) obj.msg = bytesFromBase64(object.msg); - return obj; - }, - toJSON(message: ContractCodeHistoryEntry): unknown { - const obj: any = {}; - message.operation !== undefined && (obj.operation = contractCodeHistoryOperationTypeToJSON(message.operation)); - message.codeId !== undefined && (obj.codeId = (message.codeId || Long.UZERO).toString()); - message.updated !== undefined && (obj.updated = message.updated ? AbsoluteTxPosition.toJSON(message.updated) : undefined); - message.msg !== undefined && (obj.msg = base64FromBytes(message.msg !== undefined ? message.msg : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): ContractCodeHistoryEntry { - const message = createBaseContractCodeHistoryEntry(); - message.operation = object.operation ?? 0; - if (object.codeId !== undefined && object.codeId !== null) { - message.codeId = Long.fromValue(object.codeId); - } - if (object.updated !== undefined && object.updated !== null) { - message.updated = AbsoluteTxPosition.fromPartial(object.updated); - } - message.msg = object.msg ?? new Uint8Array(); - return message; - }, - fromSDK(object: ContractCodeHistoryEntrySDKType): ContractCodeHistoryEntry { - return { - operation: isSet(object.operation) ? contractCodeHistoryOperationTypeFromJSON(object.operation) : -1, - codeId: object?.code_id, - updated: object.updated ? AbsoluteTxPosition.fromSDK(object.updated) : undefined, - msg: object?.msg - }; - }, - toSDK(message: ContractCodeHistoryEntry): ContractCodeHistoryEntrySDKType { - const obj: any = {}; - message.operation !== undefined && (obj.operation = contractCodeHistoryOperationTypeToJSON(message.operation)); - obj.code_id = message.codeId; - message.updated !== undefined && (obj.updated = message.updated ? AbsoluteTxPosition.toSDK(message.updated) : undefined); - obj.msg = message.msg; - return obj; - }, - fromAmino(object: ContractCodeHistoryEntryAmino): ContractCodeHistoryEntry { - return { - operation: isSet(object.operation) ? contractCodeHistoryOperationTypeFromJSON(object.operation) : -1, - codeId: Long.fromString(object.code_id), - updated: object?.updated ? AbsoluteTxPosition.fromAmino(object.updated) : undefined, - msg: toUtf8(JSON.stringify(object.msg)) - }; - }, - toAmino(message: ContractCodeHistoryEntry): ContractCodeHistoryEntryAmino { - const obj: any = {}; - obj.operation = message.operation; - obj.code_id = message.codeId ? message.codeId.toString() : undefined; - obj.updated = message.updated ? AbsoluteTxPosition.toAmino(message.updated) : undefined; - obj.msg = message.msg ? JSON.parse(fromUtf8(message.msg)) : undefined; - return obj; - }, - fromAminoMsg(object: ContractCodeHistoryEntryAminoMsg): ContractCodeHistoryEntry { - return ContractCodeHistoryEntry.fromAmino(object.value); - }, - toAminoMsg(message: ContractCodeHistoryEntry): ContractCodeHistoryEntryAminoMsg { - return { - type: "wasm/ContractCodeHistoryEntry", - value: ContractCodeHistoryEntry.toAmino(message) - }; - }, - fromProtoMsg(message: ContractCodeHistoryEntryProtoMsg): ContractCodeHistoryEntry { - return ContractCodeHistoryEntry.decode(message.value); - }, - toProto(message: ContractCodeHistoryEntry): Uint8Array { - return ContractCodeHistoryEntry.encode(message).finish(); - }, - toProtoMsg(message: ContractCodeHistoryEntry): ContractCodeHistoryEntryProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.ContractCodeHistoryEntry", - value: ContractCodeHistoryEntry.encode(message).finish() - }; - } -}; -function createBaseAbsoluteTxPosition(): AbsoluteTxPosition { - return { - blockHeight: Long.UZERO, - txIndex: Long.UZERO - }; -} -export const AbsoluteTxPosition = { - typeUrl: "/cosmwasm.wasm.v1.AbsoluteTxPosition", - aminoType: "wasm/AbsoluteTxPosition", - encode(message: AbsoluteTxPosition, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.blockHeight.isZero()) { - writer.uint32(8).uint64(message.blockHeight); - } - if (!message.txIndex.isZero()) { - writer.uint32(16).uint64(message.txIndex); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAbsoluteTxPosition(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.blockHeight = (reader.uint64() as Long); - break; - case 2: - message.txIndex = (reader.uint64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AbsoluteTxPosition { - const obj = createBaseAbsoluteTxPosition(); - if (isSet(object.blockHeight)) obj.blockHeight = Long.fromValue(object.blockHeight); - if (isSet(object.txIndex)) obj.txIndex = Long.fromValue(object.txIndex); - return obj; - }, - toJSON(message: AbsoluteTxPosition): unknown { - const obj: any = {}; - message.blockHeight !== undefined && (obj.blockHeight = (message.blockHeight || Long.UZERO).toString()); - message.txIndex !== undefined && (obj.txIndex = (message.txIndex || Long.UZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): AbsoluteTxPosition { - const message = createBaseAbsoluteTxPosition(); - if (object.blockHeight !== undefined && object.blockHeight !== null) { - message.blockHeight = Long.fromValue(object.blockHeight); - } - if (object.txIndex !== undefined && object.txIndex !== null) { - message.txIndex = Long.fromValue(object.txIndex); - } - return message; - }, - fromSDK(object: AbsoluteTxPositionSDKType): AbsoluteTxPosition { - return { - blockHeight: object?.block_height, - txIndex: object?.tx_index - }; - }, - toSDK(message: AbsoluteTxPosition): AbsoluteTxPositionSDKType { - const obj: any = {}; - obj.block_height = message.blockHeight; - obj.tx_index = message.txIndex; - return obj; - }, - fromAmino(object: AbsoluteTxPositionAmino): AbsoluteTxPosition { - return { - blockHeight: Long.fromString(object.block_height), - txIndex: Long.fromString(object.tx_index) - }; - }, - toAmino(message: AbsoluteTxPosition): AbsoluteTxPositionAmino { - const obj: any = {}; - obj.block_height = message.blockHeight ? message.blockHeight.toString() : undefined; - obj.tx_index = message.txIndex ? message.txIndex.toString() : undefined; - return obj; - }, - fromAminoMsg(object: AbsoluteTxPositionAminoMsg): AbsoluteTxPosition { - return AbsoluteTxPosition.fromAmino(object.value); - }, - toAminoMsg(message: AbsoluteTxPosition): AbsoluteTxPositionAminoMsg { - return { - type: "wasm/AbsoluteTxPosition", - value: AbsoluteTxPosition.toAmino(message) - }; - }, - fromProtoMsg(message: AbsoluteTxPositionProtoMsg): AbsoluteTxPosition { - return AbsoluteTxPosition.decode(message.value); - }, - toProto(message: AbsoluteTxPosition): Uint8Array { - return AbsoluteTxPosition.encode(message).finish(); - }, - toProtoMsg(message: AbsoluteTxPosition): AbsoluteTxPositionProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.AbsoluteTxPosition", - value: AbsoluteTxPosition.encode(message).finish() - }; - } -}; -function createBaseModel(): Model { - return { - key: new Uint8Array(), - value: new Uint8Array() - }; -} -export const Model = { - typeUrl: "/cosmwasm.wasm.v1.Model", - aminoType: "wasm/Model", - encode(message: Model, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key.length !== 0) { - writer.uint32(10).bytes(message.key); - } - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Model { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseModel(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.bytes(); - break; - case 2: - message.value = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Model { - const obj = createBaseModel(); - if (isSet(object.key)) obj.key = bytesFromBase64(object.key); - if (isSet(object.value)) obj.value = bytesFromBase64(object.value); - return obj; - }, - toJSON(message: Model): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = base64FromBytes(message.key !== undefined ? message.key : new Uint8Array())); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): Model { - const message = createBaseModel(); - message.key = object.key ?? new Uint8Array(); - message.value = object.value ?? new Uint8Array(); - return message; - }, - fromSDK(object: ModelSDKType): Model { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: Model): ModelSDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: ModelAmino): Model { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: Model): ModelAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: ModelAminoMsg): Model { - return Model.fromAmino(object.value); - }, - toAminoMsg(message: Model): ModelAminoMsg { - return { - type: "wasm/Model", - value: Model.toAmino(message) - }; - }, - fromProtoMsg(message: ModelProtoMsg): Model { - return Model.decode(message.value); - }, - toProto(message: Model): Uint8Array { - return Model.encode(message).finish(); - }, - toProtoMsg(message: Model): ModelProtoMsg { - return { - typeUrl: "/cosmwasm.wasm.v1.Model", - value: Model.encode(message).finish() - }; - } -}; -export const ContractInfoExtension_InterfaceDecoder = (input: _m0.Reader | Uint8Array): Any => { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - const data = Any.decode(reader, reader.uint32()); - switch (data.typeUrl) { - default: - return data; - } -}; -export const ContractInfoExtension_FromAmino = (content: AnyAmino) => { - return Any.fromAmino(content); -}; -export const ContractInfoExtension_ToAmino = (content: Any) => { - return Any.toAmino(content); -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/gogoproto/bundle.ts b/quicksilverjs/src/codegen/gogoproto/bundle.ts deleted file mode 100644 index 33a6fc1b6..000000000 --- a/quicksilverjs/src/codegen/gogoproto/bundle.ts +++ /dev/null @@ -1,4 +0,0 @@ -import * as _100 from "./gogo"; -export const gogoproto = { - ..._100 -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/gogoproto/gogo.ts b/quicksilverjs/src/codegen/gogoproto/gogo.ts deleted file mode 100644 index 693da49fc..000000000 --- a/quicksilverjs/src/codegen/gogoproto/gogo.ts +++ /dev/null @@ -1 +0,0 @@ -export {} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/annotations.ts b/quicksilverjs/src/codegen/google/api/annotations.ts deleted file mode 100644 index 693da49fc..000000000 --- a/quicksilverjs/src/codegen/google/api/annotations.ts +++ /dev/null @@ -1 +0,0 @@ -export {} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/auth.ts b/quicksilverjs/src/codegen/google/api/auth.ts deleted file mode 100644 index 2e0336679..000000000 --- a/quicksilverjs/src/codegen/google/api/auth.ts +++ /dev/null @@ -1,1297 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * `Authentication` defines the authentication configuration for API methods - * provided by an API service. - * - * Example: - * - * name: calendar.googleapis.com - * authentication: - * providers: - * - id: google_calendar_auth - * jwks_uri: https://www.googleapis.com/oauth2/v1/certs - * issuer: https://securetoken.google.com - * rules: - * - selector: "*" - * requirements: - * provider_id: google_calendar_auth - * - selector: google.calendar.Delegate - * oauth: - * canonical_scopes: https://www.googleapis.com/auth/calendar.read - */ -export interface Authentication { - /** - * A list of authentication rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: AuthenticationRule[]; - /** Defines a set of authentication providers that a service supports. */ - providers: AuthProvider[]; -} -export interface AuthenticationProtoMsg { - typeUrl: "/google.api.Authentication"; - value: Uint8Array; -} -/** - * `Authentication` defines the authentication configuration for API methods - * provided by an API service. - * - * Example: - * - * name: calendar.googleapis.com - * authentication: - * providers: - * - id: google_calendar_auth - * jwks_uri: https://www.googleapis.com/oauth2/v1/certs - * issuer: https://securetoken.google.com - * rules: - * - selector: "*" - * requirements: - * provider_id: google_calendar_auth - * - selector: google.calendar.Delegate - * oauth: - * canonical_scopes: https://www.googleapis.com/auth/calendar.read - */ -export interface AuthenticationAmino { - /** - * A list of authentication rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: AuthenticationRuleAmino[]; - /** Defines a set of authentication providers that a service supports. */ - providers: AuthProviderAmino[]; -} -export interface AuthenticationAminoMsg { - type: "/google.api.Authentication"; - value: AuthenticationAmino; -} -/** - * `Authentication` defines the authentication configuration for API methods - * provided by an API service. - * - * Example: - * - * name: calendar.googleapis.com - * authentication: - * providers: - * - id: google_calendar_auth - * jwks_uri: https://www.googleapis.com/oauth2/v1/certs - * issuer: https://securetoken.google.com - * rules: - * - selector: "*" - * requirements: - * provider_id: google_calendar_auth - * - selector: google.calendar.Delegate - * oauth: - * canonical_scopes: https://www.googleapis.com/auth/calendar.read - */ -export interface AuthenticationSDKType { - rules: AuthenticationRuleSDKType[]; - providers: AuthProviderSDKType[]; -} -/** - * Authentication rules for the service. - * - * By default, if a method has any authentication requirements, every request - * must include a valid credential matching one of the requirements. - * It's an error to include more than one kind of credential in a single - * request. - * - * If a method doesn't have any auth requirements, request credentials will be - * ignored. - */ -export interface AuthenticationRule { - /** - * Selects the methods to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** The requirements for OAuth credentials. */ - oauth: OAuthRequirements; - /** - * If true, the service accepts API keys without any other credential. - * This flag only applies to HTTP and gRPC requests. - */ - allowWithoutCredential: boolean; - /** Requirements for additional authentication providers. */ - requirements: AuthRequirement[]; -} -export interface AuthenticationRuleProtoMsg { - typeUrl: "/google.api.AuthenticationRule"; - value: Uint8Array; -} -/** - * Authentication rules for the service. - * - * By default, if a method has any authentication requirements, every request - * must include a valid credential matching one of the requirements. - * It's an error to include more than one kind of credential in a single - * request. - * - * If a method doesn't have any auth requirements, request credentials will be - * ignored. - */ -export interface AuthenticationRuleAmino { - /** - * Selects the methods to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** The requirements for OAuth credentials. */ - oauth?: OAuthRequirementsAmino; - /** - * If true, the service accepts API keys without any other credential. - * This flag only applies to HTTP and gRPC requests. - */ - allow_without_credential: boolean; - /** Requirements for additional authentication providers. */ - requirements: AuthRequirementAmino[]; -} -export interface AuthenticationRuleAminoMsg { - type: "/google.api.AuthenticationRule"; - value: AuthenticationRuleAmino; -} -/** - * Authentication rules for the service. - * - * By default, if a method has any authentication requirements, every request - * must include a valid credential matching one of the requirements. - * It's an error to include more than one kind of credential in a single - * request. - * - * If a method doesn't have any auth requirements, request credentials will be - * ignored. - */ -export interface AuthenticationRuleSDKType { - selector: string; - oauth: OAuthRequirementsSDKType; - allow_without_credential: boolean; - requirements: AuthRequirementSDKType[]; -} -/** Specifies a location to extract JWT from an API request. */ -export interface JwtLocation { - /** Specifies HTTP header name to extract JWT token. */ - header?: string; - /** Specifies URL query parameter name to extract JWT token. */ - query?: string; - /** - * The value prefix. The value format is "value_prefix{token}" - * Only applies to "in" header type. Must be empty for "in" query type. - * If not empty, the header value has to match (case sensitive) this prefix. - * If not matched, JWT will not be extracted. If matched, JWT will be - * extracted after the prefix is removed. - * - * For example, for "Authorization: Bearer {JWT}", - * value_prefix="Bearer " with a space at the end. - */ - valuePrefix: string; -} -export interface JwtLocationProtoMsg { - typeUrl: "/google.api.JwtLocation"; - value: Uint8Array; -} -/** Specifies a location to extract JWT from an API request. */ -export interface JwtLocationAmino { - /** Specifies HTTP header name to extract JWT token. */ - header?: string; - /** Specifies URL query parameter name to extract JWT token. */ - query?: string; - /** - * The value prefix. The value format is "value_prefix{token}" - * Only applies to "in" header type. Must be empty for "in" query type. - * If not empty, the header value has to match (case sensitive) this prefix. - * If not matched, JWT will not be extracted. If matched, JWT will be - * extracted after the prefix is removed. - * - * For example, for "Authorization: Bearer {JWT}", - * value_prefix="Bearer " with a space at the end. - */ - value_prefix: string; -} -export interface JwtLocationAminoMsg { - type: "/google.api.JwtLocation"; - value: JwtLocationAmino; -} -/** Specifies a location to extract JWT from an API request. */ -export interface JwtLocationSDKType { - header?: string; - query?: string; - value_prefix: string; -} -/** - * Configuration for an authentication provider, including support for - * [JSON Web Token - * (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). - */ -export interface AuthProvider { - /** - * The unique identifier of the auth provider. It will be referred to by - * `AuthRequirement.provider_id`. - * - * Example: "bookstore_auth". - */ - id: string; - /** - * Identifies the principal that issued the JWT. See - * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 - * Usually a URL or an email address. - * - * Example: https://securetoken.google.com - * Example: 1234567-compute@developer.gserviceaccount.com - */ - issuer: string; - /** - * URL of the provider's public key set to validate signature of the JWT. See - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). - * Optional if the key set document: - * - can be retrieved from - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) - * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google - * service account). - * - * Example: https://www.googleapis.com/oauth2/v1/certs - */ - jwksUri: string; - /** - * The list of JWT - * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). - * that are allowed to access. A JWT containing any of these audiences will - * be accepted. When this setting is absent, JWTs with audiences: - * - "https://[service.name]/[google.protobuf.Api.name]" - * - "https://[service.name]/" - * will be accepted. - * For example, if no audiences are in the setting, LibraryService API will - * accept JWTs with the following audiences: - * - - * https://library-example.googleapis.com/google.example.library.v1.LibraryService - * - https://library-example.googleapis.com/ - * - * Example: - * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com - */ - audiences: string; - /** - * Redirect URL if JWT token is required but not present or is expired. - * Implement authorizationUrl of securityDefinitions in OpenAPI spec. - */ - authorizationUrl: string; - /** - * Defines the locations to extract the JWT. - * - * JWT locations can be either from HTTP headers or URL query parameters. - * The rule is that the first match wins. The checking order is: checking - * all headers first, then URL query parameters. - * - * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter - * - * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token - */ - jwtLocations: JwtLocation[]; -} -export interface AuthProviderProtoMsg { - typeUrl: "/google.api.AuthProvider"; - value: Uint8Array; -} -/** - * Configuration for an authentication provider, including support for - * [JSON Web Token - * (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). - */ -export interface AuthProviderAmino { - /** - * The unique identifier of the auth provider. It will be referred to by - * `AuthRequirement.provider_id`. - * - * Example: "bookstore_auth". - */ - id: string; - /** - * Identifies the principal that issued the JWT. See - * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 - * Usually a URL or an email address. - * - * Example: https://securetoken.google.com - * Example: 1234567-compute@developer.gserviceaccount.com - */ - issuer: string; - /** - * URL of the provider's public key set to validate signature of the JWT. See - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). - * Optional if the key set document: - * - can be retrieved from - * [OpenID - * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) - * of the issuer. - * - can be inferred from the email domain of the issuer (e.g. a Google - * service account). - * - * Example: https://www.googleapis.com/oauth2/v1/certs - */ - jwks_uri: string; - /** - * The list of JWT - * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). - * that are allowed to access. A JWT containing any of these audiences will - * be accepted. When this setting is absent, JWTs with audiences: - * - "https://[service.name]/[google.protobuf.Api.name]" - * - "https://[service.name]/" - * will be accepted. - * For example, if no audiences are in the setting, LibraryService API will - * accept JWTs with the following audiences: - * - - * https://library-example.googleapis.com/google.example.library.v1.LibraryService - * - https://library-example.googleapis.com/ - * - * Example: - * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com - */ - audiences: string; - /** - * Redirect URL if JWT token is required but not present or is expired. - * Implement authorizationUrl of securityDefinitions in OpenAPI spec. - */ - authorization_url: string; - /** - * Defines the locations to extract the JWT. - * - * JWT locations can be either from HTTP headers or URL query parameters. - * The rule is that the first match wins. The checking order is: checking - * all headers first, then URL query parameters. - * - * If not specified, default to use following 3 locations: - * 1) Authorization: Bearer - * 2) x-goog-iap-jwt-assertion - * 3) access_token query parameter - * - * Default locations can be specified as followings: - * jwt_locations: - * - header: Authorization - * value_prefix: "Bearer " - * - header: x-goog-iap-jwt-assertion - * - query: access_token - */ - jwt_locations: JwtLocationAmino[]; -} -export interface AuthProviderAminoMsg { - type: "/google.api.AuthProvider"; - value: AuthProviderAmino; -} -/** - * Configuration for an authentication provider, including support for - * [JSON Web Token - * (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). - */ -export interface AuthProviderSDKType { - id: string; - issuer: string; - jwks_uri: string; - audiences: string; - authorization_url: string; - jwt_locations: JwtLocationSDKType[]; -} -/** - * OAuth scopes are a way to define data and permissions on data. For example, - * there are scopes defined for "Read-only access to Google Calendar" and - * "Access to Cloud Platform". Users can consent to a scope for an application, - * giving it permission to access that data on their behalf. - * - * OAuth scope specifications should be fairly coarse grained; a user will need - * to see and understand the text description of what your scope means. - * - * In most cases: use one or at most two OAuth scopes for an entire family of - * products. If your product has multiple APIs, you should probably be sharing - * the OAuth scope across all of those APIs. - * - * When you need finer grained OAuth consent screens: talk with your product - * management about how developers will use them in practice. - * - * Please note that even though each of the canonical scopes is enough for a - * request to be accepted and passed to the backend, a request can still fail - * due to the backend requiring additional scopes or permissions. - */ -export interface OAuthRequirements { - /** - * The list of publicly documented OAuth scopes that are allowed access. An - * OAuth token containing any of these scopes will be accepted. - * - * Example: - * - * canonical_scopes: https://www.googleapis.com/auth/calendar, - * https://www.googleapis.com/auth/calendar.read - */ - canonicalScopes: string; -} -export interface OAuthRequirementsProtoMsg { - typeUrl: "/google.api.OAuthRequirements"; - value: Uint8Array; -} -/** - * OAuth scopes are a way to define data and permissions on data. For example, - * there are scopes defined for "Read-only access to Google Calendar" and - * "Access to Cloud Platform". Users can consent to a scope for an application, - * giving it permission to access that data on their behalf. - * - * OAuth scope specifications should be fairly coarse grained; a user will need - * to see and understand the text description of what your scope means. - * - * In most cases: use one or at most two OAuth scopes for an entire family of - * products. If your product has multiple APIs, you should probably be sharing - * the OAuth scope across all of those APIs. - * - * When you need finer grained OAuth consent screens: talk with your product - * management about how developers will use them in practice. - * - * Please note that even though each of the canonical scopes is enough for a - * request to be accepted and passed to the backend, a request can still fail - * due to the backend requiring additional scopes or permissions. - */ -export interface OAuthRequirementsAmino { - /** - * The list of publicly documented OAuth scopes that are allowed access. An - * OAuth token containing any of these scopes will be accepted. - * - * Example: - * - * canonical_scopes: https://www.googleapis.com/auth/calendar, - * https://www.googleapis.com/auth/calendar.read - */ - canonical_scopes: string; -} -export interface OAuthRequirementsAminoMsg { - type: "/google.api.OAuthRequirements"; - value: OAuthRequirementsAmino; -} -/** - * OAuth scopes are a way to define data and permissions on data. For example, - * there are scopes defined for "Read-only access to Google Calendar" and - * "Access to Cloud Platform". Users can consent to a scope for an application, - * giving it permission to access that data on their behalf. - * - * OAuth scope specifications should be fairly coarse grained; a user will need - * to see and understand the text description of what your scope means. - * - * In most cases: use one or at most two OAuth scopes for an entire family of - * products. If your product has multiple APIs, you should probably be sharing - * the OAuth scope across all of those APIs. - * - * When you need finer grained OAuth consent screens: talk with your product - * management about how developers will use them in practice. - * - * Please note that even though each of the canonical scopes is enough for a - * request to be accepted and passed to the backend, a request can still fail - * due to the backend requiring additional scopes or permissions. - */ -export interface OAuthRequirementsSDKType { - canonical_scopes: string; -} -/** - * User-defined authentication requirements, including support for - * [JSON Web Token - * (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). - */ -export interface AuthRequirement { - /** - * [id][google.api.AuthProvider.id] from authentication provider. - * - * Example: - * - * provider_id: bookstore_auth - */ - providerId: string; - /** - * NOTE: This will be deprecated soon, once AuthProvider.audiences is - * implemented and accepted in all the runtime components. - * - * The list of JWT - * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). - * that are allowed to access. A JWT containing any of these audiences will - * be accepted. When this setting is absent, only JWTs with audience - * "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" - * will be accepted. For example, if no audiences are in the setting, - * LibraryService API will only accept JWTs with the following audience - * "https://library-example.googleapis.com/google.example.library.v1.LibraryService". - * - * Example: - * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com - */ - audiences: string; -} -export interface AuthRequirementProtoMsg { - typeUrl: "/google.api.AuthRequirement"; - value: Uint8Array; -} -/** - * User-defined authentication requirements, including support for - * [JSON Web Token - * (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). - */ -export interface AuthRequirementAmino { - /** - * [id][google.api.AuthProvider.id] from authentication provider. - * - * Example: - * - * provider_id: bookstore_auth - */ - provider_id: string; - /** - * NOTE: This will be deprecated soon, once AuthProvider.audiences is - * implemented and accepted in all the runtime components. - * - * The list of JWT - * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). - * that are allowed to access. A JWT containing any of these audiences will - * be accepted. When this setting is absent, only JWTs with audience - * "https://[Service_name][google.api.Service.name]/[API_name][google.protobuf.Api.name]" - * will be accepted. For example, if no audiences are in the setting, - * LibraryService API will only accept JWTs with the following audience - * "https://library-example.googleapis.com/google.example.library.v1.LibraryService". - * - * Example: - * - * audiences: bookstore_android.apps.googleusercontent.com, - * bookstore_web.apps.googleusercontent.com - */ - audiences: string; -} -export interface AuthRequirementAminoMsg { - type: "/google.api.AuthRequirement"; - value: AuthRequirementAmino; -} -/** - * User-defined authentication requirements, including support for - * [JSON Web Token - * (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). - */ -export interface AuthRequirementSDKType { - provider_id: string; - audiences: string; -} -function createBaseAuthentication(): Authentication { - return { - rules: [], - providers: [] - }; -} -export const Authentication = { - typeUrl: "/google.api.Authentication", - encode(message: Authentication, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rules) { - AuthenticationRule.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.providers) { - AuthProvider.encode(v!, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Authentication { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAuthentication(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 3: - message.rules.push(AuthenticationRule.decode(reader, reader.uint32())); - break; - case 4: - message.providers.push(AuthProvider.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Authentication { - const obj = createBaseAuthentication(); - if (Array.isArray(object?.rules)) obj.rules = object.rules.map((e: any) => AuthenticationRule.fromJSON(e)); - if (Array.isArray(object?.providers)) obj.providers = object.providers.map((e: any) => AuthProvider.fromJSON(e)); - return obj; - }, - toJSON(message: Authentication): unknown { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? AuthenticationRule.toJSON(e) : undefined); - } else { - obj.rules = []; - } - if (message.providers) { - obj.providers = message.providers.map(e => e ? AuthProvider.toJSON(e) : undefined); - } else { - obj.providers = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Authentication { - const message = createBaseAuthentication(); - message.rules = object.rules?.map(e => AuthenticationRule.fromPartial(e)) || []; - message.providers = object.providers?.map(e => AuthProvider.fromPartial(e)) || []; - return message; - }, - fromSDK(object: AuthenticationSDKType): Authentication { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => AuthenticationRule.fromSDK(e)) : [], - providers: Array.isArray(object?.providers) ? object.providers.map((e: any) => AuthProvider.fromSDK(e)) : [] - }; - }, - toSDK(message: Authentication): AuthenticationSDKType { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? AuthenticationRule.toSDK(e) : undefined); - } else { - obj.rules = []; - } - if (message.providers) { - obj.providers = message.providers.map(e => e ? AuthProvider.toSDK(e) : undefined); - } else { - obj.providers = []; - } - return obj; - }, - fromAmino(object: AuthenticationAmino): Authentication { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => AuthenticationRule.fromAmino(e)) : [], - providers: Array.isArray(object?.providers) ? object.providers.map((e: any) => AuthProvider.fromAmino(e)) : [] - }; - }, - toAmino(message: Authentication): AuthenticationAmino { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? AuthenticationRule.toAmino(e) : undefined); - } else { - obj.rules = []; - } - if (message.providers) { - obj.providers = message.providers.map(e => e ? AuthProvider.toAmino(e) : undefined); - } else { - obj.providers = []; - } - return obj; - }, - fromAminoMsg(object: AuthenticationAminoMsg): Authentication { - return Authentication.fromAmino(object.value); - }, - fromProtoMsg(message: AuthenticationProtoMsg): Authentication { - return Authentication.decode(message.value); - }, - toProto(message: Authentication): Uint8Array { - return Authentication.encode(message).finish(); - }, - toProtoMsg(message: Authentication): AuthenticationProtoMsg { - return { - typeUrl: "/google.api.Authentication", - value: Authentication.encode(message).finish() - }; - } -}; -function createBaseAuthenticationRule(): AuthenticationRule { - return { - selector: "", - oauth: OAuthRequirements.fromPartial({}), - allowWithoutCredential: false, - requirements: [] - }; -} -export const AuthenticationRule = { - typeUrl: "/google.api.AuthenticationRule", - encode(message: AuthenticationRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.selector !== "") { - writer.uint32(10).string(message.selector); - } - if (message.oauth !== undefined) { - OAuthRequirements.encode(message.oauth, writer.uint32(18).fork()).ldelim(); - } - if (message.allowWithoutCredential === true) { - writer.uint32(40).bool(message.allowWithoutCredential); - } - for (const v of message.requirements) { - AuthRequirement.encode(v!, writer.uint32(58).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AuthenticationRule { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAuthenticationRule(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - message.oauth = OAuthRequirements.decode(reader, reader.uint32()); - break; - case 5: - message.allowWithoutCredential = reader.bool(); - break; - case 7: - message.requirements.push(AuthRequirement.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AuthenticationRule { - const obj = createBaseAuthenticationRule(); - if (isSet(object.selector)) obj.selector = String(object.selector); - if (isSet(object.oauth)) obj.oauth = OAuthRequirements.fromJSON(object.oauth); - if (isSet(object.allowWithoutCredential)) obj.allowWithoutCredential = Boolean(object.allowWithoutCredential); - if (Array.isArray(object?.requirements)) obj.requirements = object.requirements.map((e: any) => AuthRequirement.fromJSON(e)); - return obj; - }, - toJSON(message: AuthenticationRule): unknown { - const obj: any = {}; - message.selector !== undefined && (obj.selector = message.selector); - message.oauth !== undefined && (obj.oauth = message.oauth ? OAuthRequirements.toJSON(message.oauth) : undefined); - message.allowWithoutCredential !== undefined && (obj.allowWithoutCredential = message.allowWithoutCredential); - if (message.requirements) { - obj.requirements = message.requirements.map(e => e ? AuthRequirement.toJSON(e) : undefined); - } else { - obj.requirements = []; - } - return obj; - }, - fromPartial(object: DeepPartial): AuthenticationRule { - const message = createBaseAuthenticationRule(); - message.selector = object.selector ?? ""; - if (object.oauth !== undefined && object.oauth !== null) { - message.oauth = OAuthRequirements.fromPartial(object.oauth); - } - message.allowWithoutCredential = object.allowWithoutCredential ?? false; - message.requirements = object.requirements?.map(e => AuthRequirement.fromPartial(e)) || []; - return message; - }, - fromSDK(object: AuthenticationRuleSDKType): AuthenticationRule { - return { - selector: object?.selector, - oauth: object.oauth ? OAuthRequirements.fromSDK(object.oauth) : undefined, - allowWithoutCredential: object?.allow_without_credential, - requirements: Array.isArray(object?.requirements) ? object.requirements.map((e: any) => AuthRequirement.fromSDK(e)) : [] - }; - }, - toSDK(message: AuthenticationRule): AuthenticationRuleSDKType { - const obj: any = {}; - obj.selector = message.selector; - message.oauth !== undefined && (obj.oauth = message.oauth ? OAuthRequirements.toSDK(message.oauth) : undefined); - obj.allow_without_credential = message.allowWithoutCredential; - if (message.requirements) { - obj.requirements = message.requirements.map(e => e ? AuthRequirement.toSDK(e) : undefined); - } else { - obj.requirements = []; - } - return obj; - }, - fromAmino(object: AuthenticationRuleAmino): AuthenticationRule { - return { - selector: object.selector, - oauth: object?.oauth ? OAuthRequirements.fromAmino(object.oauth) : undefined, - allowWithoutCredential: object.allow_without_credential, - requirements: Array.isArray(object?.requirements) ? object.requirements.map((e: any) => AuthRequirement.fromAmino(e)) : [] - }; - }, - toAmino(message: AuthenticationRule): AuthenticationRuleAmino { - const obj: any = {}; - obj.selector = message.selector; - obj.oauth = message.oauth ? OAuthRequirements.toAmino(message.oauth) : undefined; - obj.allow_without_credential = message.allowWithoutCredential; - if (message.requirements) { - obj.requirements = message.requirements.map(e => e ? AuthRequirement.toAmino(e) : undefined); - } else { - obj.requirements = []; - } - return obj; - }, - fromAminoMsg(object: AuthenticationRuleAminoMsg): AuthenticationRule { - return AuthenticationRule.fromAmino(object.value); - }, - fromProtoMsg(message: AuthenticationRuleProtoMsg): AuthenticationRule { - return AuthenticationRule.decode(message.value); - }, - toProto(message: AuthenticationRule): Uint8Array { - return AuthenticationRule.encode(message).finish(); - }, - toProtoMsg(message: AuthenticationRule): AuthenticationRuleProtoMsg { - return { - typeUrl: "/google.api.AuthenticationRule", - value: AuthenticationRule.encode(message).finish() - }; - } -}; -function createBaseJwtLocation(): JwtLocation { - return { - header: undefined, - query: undefined, - valuePrefix: "" - }; -} -export const JwtLocation = { - typeUrl: "/google.api.JwtLocation", - encode(message: JwtLocation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.header !== undefined) { - writer.uint32(10).string(message.header); - } - if (message.query !== undefined) { - writer.uint32(18).string(message.query); - } - if (message.valuePrefix !== "") { - writer.uint32(26).string(message.valuePrefix); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): JwtLocation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseJwtLocation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.header = reader.string(); - break; - case 2: - message.query = reader.string(); - break; - case 3: - message.valuePrefix = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): JwtLocation { - const obj = createBaseJwtLocation(); - if (isSet(object.header)) obj.header = String(object.header); - if (isSet(object.query)) obj.query = String(object.query); - if (isSet(object.valuePrefix)) obj.valuePrefix = String(object.valuePrefix); - return obj; - }, - toJSON(message: JwtLocation): unknown { - const obj: any = {}; - message.header !== undefined && (obj.header = message.header); - message.query !== undefined && (obj.query = message.query); - message.valuePrefix !== undefined && (obj.valuePrefix = message.valuePrefix); - return obj; - }, - fromPartial(object: DeepPartial): JwtLocation { - const message = createBaseJwtLocation(); - message.header = object.header ?? undefined; - message.query = object.query ?? undefined; - message.valuePrefix = object.valuePrefix ?? ""; - return message; - }, - fromSDK(object: JwtLocationSDKType): JwtLocation { - return { - header: object?.header, - query: object?.query, - valuePrefix: object?.value_prefix - }; - }, - toSDK(message: JwtLocation): JwtLocationSDKType { - const obj: any = {}; - obj.header = message.header; - obj.query = message.query; - obj.value_prefix = message.valuePrefix; - return obj; - }, - fromAmino(object: JwtLocationAmino): JwtLocation { - return { - header: object?.header, - query: object?.query, - valuePrefix: object.value_prefix - }; - }, - toAmino(message: JwtLocation): JwtLocationAmino { - const obj: any = {}; - obj.header = message.header; - obj.query = message.query; - obj.value_prefix = message.valuePrefix; - return obj; - }, - fromAminoMsg(object: JwtLocationAminoMsg): JwtLocation { - return JwtLocation.fromAmino(object.value); - }, - fromProtoMsg(message: JwtLocationProtoMsg): JwtLocation { - return JwtLocation.decode(message.value); - }, - toProto(message: JwtLocation): Uint8Array { - return JwtLocation.encode(message).finish(); - }, - toProtoMsg(message: JwtLocation): JwtLocationProtoMsg { - return { - typeUrl: "/google.api.JwtLocation", - value: JwtLocation.encode(message).finish() - }; - } -}; -function createBaseAuthProvider(): AuthProvider { - return { - id: "", - issuer: "", - jwksUri: "", - audiences: "", - authorizationUrl: "", - jwtLocations: [] - }; -} -export const AuthProvider = { - typeUrl: "/google.api.AuthProvider", - encode(message: AuthProvider, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== "") { - writer.uint32(10).string(message.id); - } - if (message.issuer !== "") { - writer.uint32(18).string(message.issuer); - } - if (message.jwksUri !== "") { - writer.uint32(26).string(message.jwksUri); - } - if (message.audiences !== "") { - writer.uint32(34).string(message.audiences); - } - if (message.authorizationUrl !== "") { - writer.uint32(42).string(message.authorizationUrl); - } - for (const v of message.jwtLocations) { - JwtLocation.encode(v!, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AuthProvider { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAuthProvider(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - case 2: - message.issuer = reader.string(); - break; - case 3: - message.jwksUri = reader.string(); - break; - case 4: - message.audiences = reader.string(); - break; - case 5: - message.authorizationUrl = reader.string(); - break; - case 6: - message.jwtLocations.push(JwtLocation.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AuthProvider { - const obj = createBaseAuthProvider(); - if (isSet(object.id)) obj.id = String(object.id); - if (isSet(object.issuer)) obj.issuer = String(object.issuer); - if (isSet(object.jwksUri)) obj.jwksUri = String(object.jwksUri); - if (isSet(object.audiences)) obj.audiences = String(object.audiences); - if (isSet(object.authorizationUrl)) obj.authorizationUrl = String(object.authorizationUrl); - if (Array.isArray(object?.jwtLocations)) obj.jwtLocations = object.jwtLocations.map((e: any) => JwtLocation.fromJSON(e)); - return obj; - }, - toJSON(message: AuthProvider): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - message.issuer !== undefined && (obj.issuer = message.issuer); - message.jwksUri !== undefined && (obj.jwksUri = message.jwksUri); - message.audiences !== undefined && (obj.audiences = message.audiences); - message.authorizationUrl !== undefined && (obj.authorizationUrl = message.authorizationUrl); - if (message.jwtLocations) { - obj.jwtLocations = message.jwtLocations.map(e => e ? JwtLocation.toJSON(e) : undefined); - } else { - obj.jwtLocations = []; - } - return obj; - }, - fromPartial(object: DeepPartial): AuthProvider { - const message = createBaseAuthProvider(); - message.id = object.id ?? ""; - message.issuer = object.issuer ?? ""; - message.jwksUri = object.jwksUri ?? ""; - message.audiences = object.audiences ?? ""; - message.authorizationUrl = object.authorizationUrl ?? ""; - message.jwtLocations = object.jwtLocations?.map(e => JwtLocation.fromPartial(e)) || []; - return message; - }, - fromSDK(object: AuthProviderSDKType): AuthProvider { - return { - id: object?.id, - issuer: object?.issuer, - jwksUri: object?.jwks_uri, - audiences: object?.audiences, - authorizationUrl: object?.authorization_url, - jwtLocations: Array.isArray(object?.jwt_locations) ? object.jwt_locations.map((e: any) => JwtLocation.fromSDK(e)) : [] - }; - }, - toSDK(message: AuthProvider): AuthProviderSDKType { - const obj: any = {}; - obj.id = message.id; - obj.issuer = message.issuer; - obj.jwks_uri = message.jwksUri; - obj.audiences = message.audiences; - obj.authorization_url = message.authorizationUrl; - if (message.jwtLocations) { - obj.jwt_locations = message.jwtLocations.map(e => e ? JwtLocation.toSDK(e) : undefined); - } else { - obj.jwt_locations = []; - } - return obj; - }, - fromAmino(object: AuthProviderAmino): AuthProvider { - return { - id: object.id, - issuer: object.issuer, - jwksUri: object.jwks_uri, - audiences: object.audiences, - authorizationUrl: object.authorization_url, - jwtLocations: Array.isArray(object?.jwt_locations) ? object.jwt_locations.map((e: any) => JwtLocation.fromAmino(e)) : [] - }; - }, - toAmino(message: AuthProvider): AuthProviderAmino { - const obj: any = {}; - obj.id = message.id; - obj.issuer = message.issuer; - obj.jwks_uri = message.jwksUri; - obj.audiences = message.audiences; - obj.authorization_url = message.authorizationUrl; - if (message.jwtLocations) { - obj.jwt_locations = message.jwtLocations.map(e => e ? JwtLocation.toAmino(e) : undefined); - } else { - obj.jwt_locations = []; - } - return obj; - }, - fromAminoMsg(object: AuthProviderAminoMsg): AuthProvider { - return AuthProvider.fromAmino(object.value); - }, - fromProtoMsg(message: AuthProviderProtoMsg): AuthProvider { - return AuthProvider.decode(message.value); - }, - toProto(message: AuthProvider): Uint8Array { - return AuthProvider.encode(message).finish(); - }, - toProtoMsg(message: AuthProvider): AuthProviderProtoMsg { - return { - typeUrl: "/google.api.AuthProvider", - value: AuthProvider.encode(message).finish() - }; - } -}; -function createBaseOAuthRequirements(): OAuthRequirements { - return { - canonicalScopes: "" - }; -} -export const OAuthRequirements = { - typeUrl: "/google.api.OAuthRequirements", - encode(message: OAuthRequirements, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.canonicalScopes !== "") { - writer.uint32(10).string(message.canonicalScopes); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): OAuthRequirements { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOAuthRequirements(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.canonicalScopes = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): OAuthRequirements { - const obj = createBaseOAuthRequirements(); - if (isSet(object.canonicalScopes)) obj.canonicalScopes = String(object.canonicalScopes); - return obj; - }, - toJSON(message: OAuthRequirements): unknown { - const obj: any = {}; - message.canonicalScopes !== undefined && (obj.canonicalScopes = message.canonicalScopes); - return obj; - }, - fromPartial(object: DeepPartial): OAuthRequirements { - const message = createBaseOAuthRequirements(); - message.canonicalScopes = object.canonicalScopes ?? ""; - return message; - }, - fromSDK(object: OAuthRequirementsSDKType): OAuthRequirements { - return { - canonicalScopes: object?.canonical_scopes - }; - }, - toSDK(message: OAuthRequirements): OAuthRequirementsSDKType { - const obj: any = {}; - obj.canonical_scopes = message.canonicalScopes; - return obj; - }, - fromAmino(object: OAuthRequirementsAmino): OAuthRequirements { - return { - canonicalScopes: object.canonical_scopes - }; - }, - toAmino(message: OAuthRequirements): OAuthRequirementsAmino { - const obj: any = {}; - obj.canonical_scopes = message.canonicalScopes; - return obj; - }, - fromAminoMsg(object: OAuthRequirementsAminoMsg): OAuthRequirements { - return OAuthRequirements.fromAmino(object.value); - }, - fromProtoMsg(message: OAuthRequirementsProtoMsg): OAuthRequirements { - return OAuthRequirements.decode(message.value); - }, - toProto(message: OAuthRequirements): Uint8Array { - return OAuthRequirements.encode(message).finish(); - }, - toProtoMsg(message: OAuthRequirements): OAuthRequirementsProtoMsg { - return { - typeUrl: "/google.api.OAuthRequirements", - value: OAuthRequirements.encode(message).finish() - }; - } -}; -function createBaseAuthRequirement(): AuthRequirement { - return { - providerId: "", - audiences: "" - }; -} -export const AuthRequirement = { - typeUrl: "/google.api.AuthRequirement", - encode(message: AuthRequirement, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.providerId !== "") { - writer.uint32(10).string(message.providerId); - } - if (message.audiences !== "") { - writer.uint32(18).string(message.audiences); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AuthRequirement { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAuthRequirement(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.providerId = reader.string(); - break; - case 2: - message.audiences = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AuthRequirement { - const obj = createBaseAuthRequirement(); - if (isSet(object.providerId)) obj.providerId = String(object.providerId); - if (isSet(object.audiences)) obj.audiences = String(object.audiences); - return obj; - }, - toJSON(message: AuthRequirement): unknown { - const obj: any = {}; - message.providerId !== undefined && (obj.providerId = message.providerId); - message.audiences !== undefined && (obj.audiences = message.audiences); - return obj; - }, - fromPartial(object: DeepPartial): AuthRequirement { - const message = createBaseAuthRequirement(); - message.providerId = object.providerId ?? ""; - message.audiences = object.audiences ?? ""; - return message; - }, - fromSDK(object: AuthRequirementSDKType): AuthRequirement { - return { - providerId: object?.provider_id, - audiences: object?.audiences - }; - }, - toSDK(message: AuthRequirement): AuthRequirementSDKType { - const obj: any = {}; - obj.provider_id = message.providerId; - obj.audiences = message.audiences; - return obj; - }, - fromAmino(object: AuthRequirementAmino): AuthRequirement { - return { - providerId: object.provider_id, - audiences: object.audiences - }; - }, - toAmino(message: AuthRequirement): AuthRequirementAmino { - const obj: any = {}; - obj.provider_id = message.providerId; - obj.audiences = message.audiences; - return obj; - }, - fromAminoMsg(object: AuthRequirementAminoMsg): AuthRequirement { - return AuthRequirement.fromAmino(object.value); - }, - fromProtoMsg(message: AuthRequirementProtoMsg): AuthRequirement { - return AuthRequirement.decode(message.value); - }, - toProto(message: AuthRequirement): Uint8Array { - return AuthRequirement.encode(message).finish(); - }, - toProtoMsg(message: AuthRequirement): AuthRequirementProtoMsg { - return { - typeUrl: "/google.api.AuthRequirement", - value: AuthRequirement.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/backend.ts b/quicksilverjs/src/codegen/google/api/backend.ts deleted file mode 100644 index e9843a4e2..000000000 --- a/quicksilverjs/src/codegen/google/api/backend.ts +++ /dev/null @@ -1,602 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * Path Translation specifies how to combine the backend address with the - * request path in order to produce the appropriate forwarding URL for the - * request. - * - * Path Translation is applicable only to HTTP-based backends. Backends which - * do not accept requests over HTTP/HTTPS should leave `path_translation` - * unspecified. - */ -export enum BackendRule_PathTranslation { - PATH_TRANSLATION_UNSPECIFIED = 0, - /** - * CONSTANT_ADDRESS - Use the backend address as-is, with no modification to the path. If the - * URL pattern contains variables, the variable names and values will be - * appended to the query string. If a query string parameter and a URL - * pattern variable have the same name, this may result in duplicate keys in - * the query string. - * - * # Examples - * - * Given the following operation config: - * - * Method path: /api/company/{cid}/user/{uid} - * Backend address: https://example.cloudfunctions.net/getUser - * - * Requests to the following request paths will call the backend at the - * translated path: - * - * Request path: /api/company/widgetworks/user/johndoe - * Translated: - * https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe - * - * Request path: /api/company/widgetworks/user/johndoe?timezone=EST - * Translated: - * https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe - */ - CONSTANT_ADDRESS = 1, - /** - * APPEND_PATH_TO_ADDRESS - The request path will be appended to the backend address. - * - * # Examples - * - * Given the following operation config: - * - * Method path: /api/company/{cid}/user/{uid} - * Backend address: https://example.appspot.com - * - * Requests to the following request paths will call the backend at the - * translated path: - * - * Request path: /api/company/widgetworks/user/johndoe - * Translated: - * https://example.appspot.com/api/company/widgetworks/user/johndoe - * - * Request path: /api/company/widgetworks/user/johndoe?timezone=EST - * Translated: - * https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST - */ - APPEND_PATH_TO_ADDRESS = 2, - UNRECOGNIZED = -1, -} -export const BackendRule_PathTranslationSDKType = BackendRule_PathTranslation; -export const BackendRule_PathTranslationAmino = BackendRule_PathTranslation; -export function backendRule_PathTranslationFromJSON(object: any): BackendRule_PathTranslation { - switch (object) { - case 0: - case "PATH_TRANSLATION_UNSPECIFIED": - return BackendRule_PathTranslation.PATH_TRANSLATION_UNSPECIFIED; - case 1: - case "CONSTANT_ADDRESS": - return BackendRule_PathTranslation.CONSTANT_ADDRESS; - case 2: - case "APPEND_PATH_TO_ADDRESS": - return BackendRule_PathTranslation.APPEND_PATH_TO_ADDRESS; - case -1: - case "UNRECOGNIZED": - default: - return BackendRule_PathTranslation.UNRECOGNIZED; - } -} -export function backendRule_PathTranslationToJSON(object: BackendRule_PathTranslation): string { - switch (object) { - case BackendRule_PathTranslation.PATH_TRANSLATION_UNSPECIFIED: - return "PATH_TRANSLATION_UNSPECIFIED"; - case BackendRule_PathTranslation.CONSTANT_ADDRESS: - return "CONSTANT_ADDRESS"; - case BackendRule_PathTranslation.APPEND_PATH_TO_ADDRESS: - return "APPEND_PATH_TO_ADDRESS"; - case BackendRule_PathTranslation.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** `Backend` defines the backend configuration for a service. */ -export interface Backend { - /** - * A list of API backend rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: BackendRule[]; -} -export interface BackendProtoMsg { - typeUrl: "/google.api.Backend"; - value: Uint8Array; -} -/** `Backend` defines the backend configuration for a service. */ -export interface BackendAmino { - /** - * A list of API backend rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: BackendRuleAmino[]; -} -export interface BackendAminoMsg { - type: "/google.api.Backend"; - value: BackendAmino; -} -/** `Backend` defines the backend configuration for a service. */ -export interface BackendSDKType { - rules: BackendRuleSDKType[]; -} -/** A backend rule provides configuration for an individual API element. */ -export interface BackendRule { - /** - * Selects the methods to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * The address of the API backend. - * - * The scheme is used to determine the backend protocol and security. - * The following schemes are accepted: - * - * SCHEME PROTOCOL SECURITY - * http:// HTTP None - * https:// HTTP TLS - * grpc:// gRPC None - * grpcs:// gRPC TLS - * - * It is recommended to explicitly include a scheme. Leaving out the scheme - * may cause constrasting behaviors across platforms. - * - * If the port is unspecified, the default is: - * - 80 for schemes without TLS - * - 443 for schemes with TLS - * - * For HTTP backends, use [protocol][google.api.BackendRule.protocol] - * to specify the protocol version. - */ - address: string; - /** - * The number of seconds to wait for a response from a request. The default - * varies based on the request protocol and deployment environment. - */ - deadline: number; - /** - * Minimum deadline in seconds needed for this method. Calls having deadline - * value lower than this will be rejected. - */ - minDeadline: number; - /** - * The number of seconds to wait for the completion of a long running - * operation. The default is no deadline. - */ - operationDeadline: number; - pathTranslation: BackendRule_PathTranslation; - /** - * The JWT audience is used when generating a JWT ID token for the backend. - * This ID token will be added in the HTTP "authorization" header, and sent - * to the backend. - */ - jwtAudience?: string; - /** - * When disable_auth is true, a JWT ID token won't be generated and the - * original "Authorization" HTTP header will be preserved. If the header is - * used to carry the original token and is expected by the backend, this - * field must be set to true to preserve the header. - */ - disableAuth?: boolean; - /** - * The protocol used for sending a request to the backend. - * The supported values are "http/1.1" and "h2". - * - * The default value is inferred from the scheme in the - * [address][google.api.BackendRule.address] field: - * - * SCHEME PROTOCOL - * http:// http/1.1 - * https:// http/1.1 - * grpc:// h2 - * grpcs:// h2 - * - * For secure HTTP backends (https://) that support HTTP/2, set this field - * to "h2" for improved performance. - * - * Configuring this field to non-default values is only supported for secure - * HTTP backends. This field will be ignored for all other backends. - * - * See - * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids - * for more details on the supported values. - */ - protocol: string; -} -export interface BackendRuleProtoMsg { - typeUrl: "/google.api.BackendRule"; - value: Uint8Array; -} -/** A backend rule provides configuration for an individual API element. */ -export interface BackendRuleAmino { - /** - * Selects the methods to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * The address of the API backend. - * - * The scheme is used to determine the backend protocol and security. - * The following schemes are accepted: - * - * SCHEME PROTOCOL SECURITY - * http:// HTTP None - * https:// HTTP TLS - * grpc:// gRPC None - * grpcs:// gRPC TLS - * - * It is recommended to explicitly include a scheme. Leaving out the scheme - * may cause constrasting behaviors across platforms. - * - * If the port is unspecified, the default is: - * - 80 for schemes without TLS - * - 443 for schemes with TLS - * - * For HTTP backends, use [protocol][google.api.BackendRule.protocol] - * to specify the protocol version. - */ - address: string; - /** - * The number of seconds to wait for a response from a request. The default - * varies based on the request protocol and deployment environment. - */ - deadline: number; - /** - * Minimum deadline in seconds needed for this method. Calls having deadline - * value lower than this will be rejected. - */ - min_deadline: number; - /** - * The number of seconds to wait for the completion of a long running - * operation. The default is no deadline. - */ - operation_deadline: number; - path_translation: BackendRule_PathTranslation; - /** - * The JWT audience is used when generating a JWT ID token for the backend. - * This ID token will be added in the HTTP "authorization" header, and sent - * to the backend. - */ - jwt_audience?: string; - /** - * When disable_auth is true, a JWT ID token won't be generated and the - * original "Authorization" HTTP header will be preserved. If the header is - * used to carry the original token and is expected by the backend, this - * field must be set to true to preserve the header. - */ - disable_auth?: boolean; - /** - * The protocol used for sending a request to the backend. - * The supported values are "http/1.1" and "h2". - * - * The default value is inferred from the scheme in the - * [address][google.api.BackendRule.address] field: - * - * SCHEME PROTOCOL - * http:// http/1.1 - * https:// http/1.1 - * grpc:// h2 - * grpcs:// h2 - * - * For secure HTTP backends (https://) that support HTTP/2, set this field - * to "h2" for improved performance. - * - * Configuring this field to non-default values is only supported for secure - * HTTP backends. This field will be ignored for all other backends. - * - * See - * https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids - * for more details on the supported values. - */ - protocol: string; -} -export interface BackendRuleAminoMsg { - type: "/google.api.BackendRule"; - value: BackendRuleAmino; -} -/** A backend rule provides configuration for an individual API element. */ -export interface BackendRuleSDKType { - selector: string; - address: string; - deadline: number; - min_deadline: number; - operation_deadline: number; - path_translation: BackendRule_PathTranslation; - jwt_audience?: string; - disable_auth?: boolean; - protocol: string; -} -function createBaseBackend(): Backend { - return { - rules: [] - }; -} -export const Backend = { - typeUrl: "/google.api.Backend", - encode(message: Backend, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rules) { - BackendRule.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Backend { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBackend(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rules.push(BackendRule.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Backend { - const obj = createBaseBackend(); - if (Array.isArray(object?.rules)) obj.rules = object.rules.map((e: any) => BackendRule.fromJSON(e)); - return obj; - }, - toJSON(message: Backend): unknown { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? BackendRule.toJSON(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Backend { - const message = createBaseBackend(); - message.rules = object.rules?.map(e => BackendRule.fromPartial(e)) || []; - return message; - }, - fromSDK(object: BackendSDKType): Backend { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => BackendRule.fromSDK(e)) : [] - }; - }, - toSDK(message: Backend): BackendSDKType { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? BackendRule.toSDK(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromAmino(object: BackendAmino): Backend { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => BackendRule.fromAmino(e)) : [] - }; - }, - toAmino(message: Backend): BackendAmino { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? BackendRule.toAmino(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromAminoMsg(object: BackendAminoMsg): Backend { - return Backend.fromAmino(object.value); - }, - fromProtoMsg(message: BackendProtoMsg): Backend { - return Backend.decode(message.value); - }, - toProto(message: Backend): Uint8Array { - return Backend.encode(message).finish(); - }, - toProtoMsg(message: Backend): BackendProtoMsg { - return { - typeUrl: "/google.api.Backend", - value: Backend.encode(message).finish() - }; - } -}; -function createBaseBackendRule(): BackendRule { - return { - selector: "", - address: "", - deadline: 0, - minDeadline: 0, - operationDeadline: 0, - pathTranslation: 0, - jwtAudience: undefined, - disableAuth: undefined, - protocol: "" - }; -} -export const BackendRule = { - typeUrl: "/google.api.BackendRule", - encode(message: BackendRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.selector !== "") { - writer.uint32(10).string(message.selector); - } - if (message.address !== "") { - writer.uint32(18).string(message.address); - } - if (message.deadline !== 0) { - writer.uint32(25).double(message.deadline); - } - if (message.minDeadline !== 0) { - writer.uint32(33).double(message.minDeadline); - } - if (message.operationDeadline !== 0) { - writer.uint32(41).double(message.operationDeadline); - } - if (message.pathTranslation !== 0) { - writer.uint32(48).int32(message.pathTranslation); - } - if (message.jwtAudience !== undefined) { - writer.uint32(58).string(message.jwtAudience); - } - if (message.disableAuth !== undefined) { - writer.uint32(64).bool(message.disableAuth); - } - if (message.protocol !== "") { - writer.uint32(74).string(message.protocol); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BackendRule { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBackendRule(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - message.address = reader.string(); - break; - case 3: - message.deadline = reader.double(); - break; - case 4: - message.minDeadline = reader.double(); - break; - case 5: - message.operationDeadline = reader.double(); - break; - case 6: - message.pathTranslation = (reader.int32() as any); - break; - case 7: - message.jwtAudience = reader.string(); - break; - case 8: - message.disableAuth = reader.bool(); - break; - case 9: - message.protocol = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BackendRule { - const obj = createBaseBackendRule(); - if (isSet(object.selector)) obj.selector = String(object.selector); - if (isSet(object.address)) obj.address = String(object.address); - if (isSet(object.deadline)) obj.deadline = Number(object.deadline); - if (isSet(object.minDeadline)) obj.minDeadline = Number(object.minDeadline); - if (isSet(object.operationDeadline)) obj.operationDeadline = Number(object.operationDeadline); - if (isSet(object.pathTranslation)) obj.pathTranslation = backendRule_PathTranslationFromJSON(object.pathTranslation); - if (isSet(object.jwtAudience)) obj.jwtAudience = String(object.jwtAudience); - if (isSet(object.disableAuth)) obj.disableAuth = Boolean(object.disableAuth); - if (isSet(object.protocol)) obj.protocol = String(object.protocol); - return obj; - }, - toJSON(message: BackendRule): unknown { - const obj: any = {}; - message.selector !== undefined && (obj.selector = message.selector); - message.address !== undefined && (obj.address = message.address); - message.deadline !== undefined && (obj.deadline = message.deadline); - message.minDeadline !== undefined && (obj.minDeadline = message.minDeadline); - message.operationDeadline !== undefined && (obj.operationDeadline = message.operationDeadline); - message.pathTranslation !== undefined && (obj.pathTranslation = backendRule_PathTranslationToJSON(message.pathTranslation)); - message.jwtAudience !== undefined && (obj.jwtAudience = message.jwtAudience); - message.disableAuth !== undefined && (obj.disableAuth = message.disableAuth); - message.protocol !== undefined && (obj.protocol = message.protocol); - return obj; - }, - fromPartial(object: DeepPartial): BackendRule { - const message = createBaseBackendRule(); - message.selector = object.selector ?? ""; - message.address = object.address ?? ""; - message.deadline = object.deadline ?? 0; - message.minDeadline = object.minDeadline ?? 0; - message.operationDeadline = object.operationDeadline ?? 0; - message.pathTranslation = object.pathTranslation ?? 0; - message.jwtAudience = object.jwtAudience ?? undefined; - message.disableAuth = object.disableAuth ?? undefined; - message.protocol = object.protocol ?? ""; - return message; - }, - fromSDK(object: BackendRuleSDKType): BackendRule { - return { - selector: object?.selector, - address: object?.address, - deadline: object?.deadline, - minDeadline: object?.min_deadline, - operationDeadline: object?.operation_deadline, - pathTranslation: isSet(object.path_translation) ? backendRule_PathTranslationFromJSON(object.path_translation) : -1, - jwtAudience: object?.jwt_audience, - disableAuth: object?.disable_auth, - protocol: object?.protocol - }; - }, - toSDK(message: BackendRule): BackendRuleSDKType { - const obj: any = {}; - obj.selector = message.selector; - obj.address = message.address; - obj.deadline = message.deadline; - obj.min_deadline = message.minDeadline; - obj.operation_deadline = message.operationDeadline; - message.pathTranslation !== undefined && (obj.path_translation = backendRule_PathTranslationToJSON(message.pathTranslation)); - obj.jwt_audience = message.jwtAudience; - obj.disable_auth = message.disableAuth; - obj.protocol = message.protocol; - return obj; - }, - fromAmino(object: BackendRuleAmino): BackendRule { - return { - selector: object.selector, - address: object.address, - deadline: object.deadline, - minDeadline: object.min_deadline, - operationDeadline: object.operation_deadline, - pathTranslation: isSet(object.path_translation) ? backendRule_PathTranslationFromJSON(object.path_translation) : -1, - jwtAudience: object?.jwt_audience, - disableAuth: object?.disable_auth, - protocol: object.protocol - }; - }, - toAmino(message: BackendRule): BackendRuleAmino { - const obj: any = {}; - obj.selector = message.selector; - obj.address = message.address; - obj.deadline = message.deadline; - obj.min_deadline = message.minDeadline; - obj.operation_deadline = message.operationDeadline; - obj.path_translation = message.pathTranslation; - obj.jwt_audience = message.jwtAudience; - obj.disable_auth = message.disableAuth; - obj.protocol = message.protocol; - return obj; - }, - fromAminoMsg(object: BackendRuleAminoMsg): BackendRule { - return BackendRule.fromAmino(object.value); - }, - fromProtoMsg(message: BackendRuleProtoMsg): BackendRule { - return BackendRule.decode(message.value); - }, - toProto(message: BackendRule): Uint8Array { - return BackendRule.encode(message).finish(); - }, - toProtoMsg(message: BackendRule): BackendRuleProtoMsg { - return { - typeUrl: "/google.api.BackendRule", - value: BackendRule.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/billing.ts b/quicksilverjs/src/codegen/google/api/billing.ts deleted file mode 100644 index 53b361033..000000000 --- a/quicksilverjs/src/codegen/google/api/billing.ts +++ /dev/null @@ -1,382 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * Billing related configuration of the service. - * - * The following example shows how to configure monitored resources and metrics - * for billing, `consumer_destinations` is the only supported destination and - * the monitored resources need at least one label key - * `cloud.googleapis.com/location` to indicate the location of the billing - * usage, using different monitored resources between monitoring and billing is - * recommended so they can be evolved independently: - * - * - * monitored_resources: - * - type: library.googleapis.com/billing_branch - * labels: - * - key: cloud.googleapis.com/location - * description: | - * Predefined label to support billing location restriction. - * - key: city - * description: | - * Custom label to define the city where the library branch is located - * in. - * - key: name - * description: Custom label to define the name of the library branch. - * metrics: - * - name: library.googleapis.com/book/borrowed_count - * metric_kind: DELTA - * value_type: INT64 - * unit: "1" - * billing: - * consumer_destinations: - * - monitored_resource: library.googleapis.com/billing_branch - * metrics: - * - library.googleapis.com/book/borrowed_count - */ -export interface Billing { - /** - * Billing configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations per service, each one must have - * a different monitored resource type. A metric can be used in at most - * one consumer destination. - */ - consumerDestinations: Billing_BillingDestination[]; -} -export interface BillingProtoMsg { - typeUrl: "/google.api.Billing"; - value: Uint8Array; -} -/** - * Billing related configuration of the service. - * - * The following example shows how to configure monitored resources and metrics - * for billing, `consumer_destinations` is the only supported destination and - * the monitored resources need at least one label key - * `cloud.googleapis.com/location` to indicate the location of the billing - * usage, using different monitored resources between monitoring and billing is - * recommended so they can be evolved independently: - * - * - * monitored_resources: - * - type: library.googleapis.com/billing_branch - * labels: - * - key: cloud.googleapis.com/location - * description: | - * Predefined label to support billing location restriction. - * - key: city - * description: | - * Custom label to define the city where the library branch is located - * in. - * - key: name - * description: Custom label to define the name of the library branch. - * metrics: - * - name: library.googleapis.com/book/borrowed_count - * metric_kind: DELTA - * value_type: INT64 - * unit: "1" - * billing: - * consumer_destinations: - * - monitored_resource: library.googleapis.com/billing_branch - * metrics: - * - library.googleapis.com/book/borrowed_count - */ -export interface BillingAmino { - /** - * Billing configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations per service, each one must have - * a different monitored resource type. A metric can be used in at most - * one consumer destination. - */ - consumer_destinations: Billing_BillingDestinationAmino[]; -} -export interface BillingAminoMsg { - type: "/google.api.Billing"; - value: BillingAmino; -} -/** - * Billing related configuration of the service. - * - * The following example shows how to configure monitored resources and metrics - * for billing, `consumer_destinations` is the only supported destination and - * the monitored resources need at least one label key - * `cloud.googleapis.com/location` to indicate the location of the billing - * usage, using different monitored resources between monitoring and billing is - * recommended so they can be evolved independently: - * - * - * monitored_resources: - * - type: library.googleapis.com/billing_branch - * labels: - * - key: cloud.googleapis.com/location - * description: | - * Predefined label to support billing location restriction. - * - key: city - * description: | - * Custom label to define the city where the library branch is located - * in. - * - key: name - * description: Custom label to define the name of the library branch. - * metrics: - * - name: library.googleapis.com/book/borrowed_count - * metric_kind: DELTA - * value_type: INT64 - * unit: "1" - * billing: - * consumer_destinations: - * - monitored_resource: library.googleapis.com/billing_branch - * metrics: - * - library.googleapis.com/book/borrowed_count - */ -export interface BillingSDKType { - consumer_destinations: Billing_BillingDestinationSDKType[]; -} -/** - * Configuration of a specific billing destination (Currently only support - * bill against consumer project). - */ -export interface Billing_BillingDestination { - /** - * The monitored resource type. The type must be defined in - * [Service.monitored_resources][google.api.Service.monitored_resources] section. - */ - monitoredResource: string; - /** - * Names of the metrics to report to this billing destination. - * Each name must be defined in [Service.metrics][google.api.Service.metrics] section. - */ - metrics: string[]; -} -export interface Billing_BillingDestinationProtoMsg { - typeUrl: "/google.api.BillingDestination"; - value: Uint8Array; -} -/** - * Configuration of a specific billing destination (Currently only support - * bill against consumer project). - */ -export interface Billing_BillingDestinationAmino { - /** - * The monitored resource type. The type must be defined in - * [Service.monitored_resources][google.api.Service.monitored_resources] section. - */ - monitored_resource: string; - /** - * Names of the metrics to report to this billing destination. - * Each name must be defined in [Service.metrics][google.api.Service.metrics] section. - */ - metrics: string[]; -} -export interface Billing_BillingDestinationAminoMsg { - type: "/google.api.BillingDestination"; - value: Billing_BillingDestinationAmino; -} -/** - * Configuration of a specific billing destination (Currently only support - * bill against consumer project). - */ -export interface Billing_BillingDestinationSDKType { - monitored_resource: string; - metrics: string[]; -} -function createBaseBilling(): Billing { - return { - consumerDestinations: [] - }; -} -export const Billing = { - typeUrl: "/google.api.Billing", - encode(message: Billing, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.consumerDestinations) { - Billing_BillingDestination.encode(v!, writer.uint32(66).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Billing { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBilling(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 8: - message.consumerDestinations.push(Billing_BillingDestination.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Billing { - const obj = createBaseBilling(); - if (Array.isArray(object?.consumerDestinations)) obj.consumerDestinations = object.consumerDestinations.map((e: any) => Billing_BillingDestination.fromJSON(e)); - return obj; - }, - toJSON(message: Billing): unknown { - const obj: any = {}; - if (message.consumerDestinations) { - obj.consumerDestinations = message.consumerDestinations.map(e => e ? Billing_BillingDestination.toJSON(e) : undefined); - } else { - obj.consumerDestinations = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Billing { - const message = createBaseBilling(); - message.consumerDestinations = object.consumerDestinations?.map(e => Billing_BillingDestination.fromPartial(e)) || []; - return message; - }, - fromSDK(object: BillingSDKType): Billing { - return { - consumerDestinations: Array.isArray(object?.consumer_destinations) ? object.consumer_destinations.map((e: any) => Billing_BillingDestination.fromSDK(e)) : [] - }; - }, - toSDK(message: Billing): BillingSDKType { - const obj: any = {}; - if (message.consumerDestinations) { - obj.consumer_destinations = message.consumerDestinations.map(e => e ? Billing_BillingDestination.toSDK(e) : undefined); - } else { - obj.consumer_destinations = []; - } - return obj; - }, - fromAmino(object: BillingAmino): Billing { - return { - consumerDestinations: Array.isArray(object?.consumer_destinations) ? object.consumer_destinations.map((e: any) => Billing_BillingDestination.fromAmino(e)) : [] - }; - }, - toAmino(message: Billing): BillingAmino { - const obj: any = {}; - if (message.consumerDestinations) { - obj.consumer_destinations = message.consumerDestinations.map(e => e ? Billing_BillingDestination.toAmino(e) : undefined); - } else { - obj.consumer_destinations = []; - } - return obj; - }, - fromAminoMsg(object: BillingAminoMsg): Billing { - return Billing.fromAmino(object.value); - }, - fromProtoMsg(message: BillingProtoMsg): Billing { - return Billing.decode(message.value); - }, - toProto(message: Billing): Uint8Array { - return Billing.encode(message).finish(); - }, - toProtoMsg(message: Billing): BillingProtoMsg { - return { - typeUrl: "/google.api.Billing", - value: Billing.encode(message).finish() - }; - } -}; -function createBaseBilling_BillingDestination(): Billing_BillingDestination { - return { - monitoredResource: "", - metrics: [] - }; -} -export const Billing_BillingDestination = { - typeUrl: "/google.api.BillingDestination", - encode(message: Billing_BillingDestination, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.monitoredResource !== "") { - writer.uint32(10).string(message.monitoredResource); - } - for (const v of message.metrics) { - writer.uint32(18).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Billing_BillingDestination { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBilling_BillingDestination(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.monitoredResource = reader.string(); - break; - case 2: - message.metrics.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Billing_BillingDestination { - const obj = createBaseBilling_BillingDestination(); - if (isSet(object.monitoredResource)) obj.monitoredResource = String(object.monitoredResource); - if (Array.isArray(object?.metrics)) obj.metrics = object.metrics.map((e: any) => String(e)); - return obj; - }, - toJSON(message: Billing_BillingDestination): unknown { - const obj: any = {}; - message.monitoredResource !== undefined && (obj.monitoredResource = message.monitoredResource); - if (message.metrics) { - obj.metrics = message.metrics.map(e => e); - } else { - obj.metrics = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Billing_BillingDestination { - const message = createBaseBilling_BillingDestination(); - message.monitoredResource = object.monitoredResource ?? ""; - message.metrics = object.metrics?.map(e => e) || []; - return message; - }, - fromSDK(object: Billing_BillingDestinationSDKType): Billing_BillingDestination { - return { - monitoredResource: object?.monitored_resource, - metrics: Array.isArray(object?.metrics) ? object.metrics.map((e: any) => e) : [] - }; - }, - toSDK(message: Billing_BillingDestination): Billing_BillingDestinationSDKType { - const obj: any = {}; - obj.monitored_resource = message.monitoredResource; - if (message.metrics) { - obj.metrics = message.metrics.map(e => e); - } else { - obj.metrics = []; - } - return obj; - }, - fromAmino(object: Billing_BillingDestinationAmino): Billing_BillingDestination { - return { - monitoredResource: object.monitored_resource, - metrics: Array.isArray(object?.metrics) ? object.metrics.map((e: any) => e) : [] - }; - }, - toAmino(message: Billing_BillingDestination): Billing_BillingDestinationAmino { - const obj: any = {}; - obj.monitored_resource = message.monitoredResource; - if (message.metrics) { - obj.metrics = message.metrics.map(e => e); - } else { - obj.metrics = []; - } - return obj; - }, - fromAminoMsg(object: Billing_BillingDestinationAminoMsg): Billing_BillingDestination { - return Billing_BillingDestination.fromAmino(object.value); - }, - fromProtoMsg(message: Billing_BillingDestinationProtoMsg): Billing_BillingDestination { - return Billing_BillingDestination.decode(message.value); - }, - toProto(message: Billing_BillingDestination): Uint8Array { - return Billing_BillingDestination.encode(message).finish(); - }, - toProtoMsg(message: Billing_BillingDestination): Billing_BillingDestinationProtoMsg { - return { - typeUrl: "/google.api.BillingDestination", - value: Billing_BillingDestination.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/client.ts b/quicksilverjs/src/codegen/google/api/client.ts deleted file mode 100644 index 693da49fc..000000000 --- a/quicksilverjs/src/codegen/google/api/client.ts +++ /dev/null @@ -1 +0,0 @@ -export {} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/config_change.ts b/quicksilverjs/src/codegen/google/api/config_change.ts deleted file mode 100644 index 92b9e25e9..000000000 --- a/quicksilverjs/src/codegen/google/api/config_change.ts +++ /dev/null @@ -1,432 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * Classifies set of possible modifications to an object in the service - * configuration. - */ -export enum ChangeType { - /** CHANGE_TYPE_UNSPECIFIED - No value was provided. */ - CHANGE_TYPE_UNSPECIFIED = 0, - /** - * ADDED - The changed object exists in the 'new' service configuration, but not - * in the 'old' service configuration. - */ - ADDED = 1, - /** - * REMOVED - The changed object exists in the 'old' service configuration, but not - * in the 'new' service configuration. - */ - REMOVED = 2, - /** - * MODIFIED - The changed object exists in both service configurations, but its value - * is different. - */ - MODIFIED = 3, - UNRECOGNIZED = -1, -} -export const ChangeTypeSDKType = ChangeType; -export const ChangeTypeAmino = ChangeType; -export function changeTypeFromJSON(object: any): ChangeType { - switch (object) { - case 0: - case "CHANGE_TYPE_UNSPECIFIED": - return ChangeType.CHANGE_TYPE_UNSPECIFIED; - case 1: - case "ADDED": - return ChangeType.ADDED; - case 2: - case "REMOVED": - return ChangeType.REMOVED; - case 3: - case "MODIFIED": - return ChangeType.MODIFIED; - case -1: - case "UNRECOGNIZED": - default: - return ChangeType.UNRECOGNIZED; - } -} -export function changeTypeToJSON(object: ChangeType): string { - switch (object) { - case ChangeType.CHANGE_TYPE_UNSPECIFIED: - return "CHANGE_TYPE_UNSPECIFIED"; - case ChangeType.ADDED: - return "ADDED"; - case ChangeType.REMOVED: - return "REMOVED"; - case ChangeType.MODIFIED: - return "MODIFIED"; - case ChangeType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * Output generated from semantically comparing two versions of a service - * configuration. - * - * Includes detailed information about a field that have changed with - * applicable advice about potential consequences for the change, such as - * backwards-incompatibility. - */ -export interface ConfigChange { - /** - * Object hierarchy path to the change, with levels separated by a '.' - * character. For repeated fields, an applicable unique identifier field is - * used for the index (usually selector, name, or id). For maps, the term - * 'key' is used. If the field has no unique identifier, the numeric index - * is used. - * Examples: - * - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction - * - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value - * - logging.producer_destinations[0] - */ - element: string; - /** - * Value of the changed object in the old Service configuration, - * in JSON format. This field will not be populated if ChangeType == ADDED. - */ - oldValue: string; - /** - * Value of the changed object in the new Service configuration, - * in JSON format. This field will not be populated if ChangeType == REMOVED. - */ - newValue: string; - /** The type for this change, either ADDED, REMOVED, or MODIFIED. */ - changeType: ChangeType; - /** - * Collection of advice provided for this change, useful for determining the - * possible impact of this change. - */ - advices: Advice[]; -} -export interface ConfigChangeProtoMsg { - typeUrl: "/google.api.ConfigChange"; - value: Uint8Array; -} -/** - * Output generated from semantically comparing two versions of a service - * configuration. - * - * Includes detailed information about a field that have changed with - * applicable advice about potential consequences for the change, such as - * backwards-incompatibility. - */ -export interface ConfigChangeAmino { - /** - * Object hierarchy path to the change, with levels separated by a '.' - * character. For repeated fields, an applicable unique identifier field is - * used for the index (usually selector, name, or id). For maps, the term - * 'key' is used. If the field has no unique identifier, the numeric index - * is used. - * Examples: - * - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction - * - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value - * - logging.producer_destinations[0] - */ - element: string; - /** - * Value of the changed object in the old Service configuration, - * in JSON format. This field will not be populated if ChangeType == ADDED. - */ - old_value: string; - /** - * Value of the changed object in the new Service configuration, - * in JSON format. This field will not be populated if ChangeType == REMOVED. - */ - new_value: string; - /** The type for this change, either ADDED, REMOVED, or MODIFIED. */ - change_type: ChangeType; - /** - * Collection of advice provided for this change, useful for determining the - * possible impact of this change. - */ - advices: AdviceAmino[]; -} -export interface ConfigChangeAminoMsg { - type: "/google.api.ConfigChange"; - value: ConfigChangeAmino; -} -/** - * Output generated from semantically comparing two versions of a service - * configuration. - * - * Includes detailed information about a field that have changed with - * applicable advice about potential consequences for the change, such as - * backwards-incompatibility. - */ -export interface ConfigChangeSDKType { - element: string; - old_value: string; - new_value: string; - change_type: ChangeType; - advices: AdviceSDKType[]; -} -/** - * Generated advice about this change, used for providing more - * information about how a change will affect the existing service. - */ -export interface Advice { - /** - * Useful description for why this advice was applied and what actions should - * be taken to mitigate any implied risks. - */ - description: string; -} -export interface AdviceProtoMsg { - typeUrl: "/google.api.Advice"; - value: Uint8Array; -} -/** - * Generated advice about this change, used for providing more - * information about how a change will affect the existing service. - */ -export interface AdviceAmino { - /** - * Useful description for why this advice was applied and what actions should - * be taken to mitigate any implied risks. - */ - description: string; -} -export interface AdviceAminoMsg { - type: "/google.api.Advice"; - value: AdviceAmino; -} -/** - * Generated advice about this change, used for providing more - * information about how a change will affect the existing service. - */ -export interface AdviceSDKType { - description: string; -} -function createBaseConfigChange(): ConfigChange { - return { - element: "", - oldValue: "", - newValue: "", - changeType: 0, - advices: [] - }; -} -export const ConfigChange = { - typeUrl: "/google.api.ConfigChange", - encode(message: ConfigChange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.element !== "") { - writer.uint32(10).string(message.element); - } - if (message.oldValue !== "") { - writer.uint32(18).string(message.oldValue); - } - if (message.newValue !== "") { - writer.uint32(26).string(message.newValue); - } - if (message.changeType !== 0) { - writer.uint32(32).int32(message.changeType); - } - for (const v of message.advices) { - Advice.encode(v!, writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ConfigChange { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConfigChange(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.element = reader.string(); - break; - case 2: - message.oldValue = reader.string(); - break; - case 3: - message.newValue = reader.string(); - break; - case 4: - message.changeType = (reader.int32() as any); - break; - case 5: - message.advices.push(Advice.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ConfigChange { - const obj = createBaseConfigChange(); - if (isSet(object.element)) obj.element = String(object.element); - if (isSet(object.oldValue)) obj.oldValue = String(object.oldValue); - if (isSet(object.newValue)) obj.newValue = String(object.newValue); - if (isSet(object.changeType)) obj.changeType = changeTypeFromJSON(object.changeType); - if (Array.isArray(object?.advices)) obj.advices = object.advices.map((e: any) => Advice.fromJSON(e)); - return obj; - }, - toJSON(message: ConfigChange): unknown { - const obj: any = {}; - message.element !== undefined && (obj.element = message.element); - message.oldValue !== undefined && (obj.oldValue = message.oldValue); - message.newValue !== undefined && (obj.newValue = message.newValue); - message.changeType !== undefined && (obj.changeType = changeTypeToJSON(message.changeType)); - if (message.advices) { - obj.advices = message.advices.map(e => e ? Advice.toJSON(e) : undefined); - } else { - obj.advices = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ConfigChange { - const message = createBaseConfigChange(); - message.element = object.element ?? ""; - message.oldValue = object.oldValue ?? ""; - message.newValue = object.newValue ?? ""; - message.changeType = object.changeType ?? 0; - message.advices = object.advices?.map(e => Advice.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ConfigChangeSDKType): ConfigChange { - return { - element: object?.element, - oldValue: object?.old_value, - newValue: object?.new_value, - changeType: isSet(object.change_type) ? changeTypeFromJSON(object.change_type) : -1, - advices: Array.isArray(object?.advices) ? object.advices.map((e: any) => Advice.fromSDK(e)) : [] - }; - }, - toSDK(message: ConfigChange): ConfigChangeSDKType { - const obj: any = {}; - obj.element = message.element; - obj.old_value = message.oldValue; - obj.new_value = message.newValue; - message.changeType !== undefined && (obj.change_type = changeTypeToJSON(message.changeType)); - if (message.advices) { - obj.advices = message.advices.map(e => e ? Advice.toSDK(e) : undefined); - } else { - obj.advices = []; - } - return obj; - }, - fromAmino(object: ConfigChangeAmino): ConfigChange { - return { - element: object.element, - oldValue: object.old_value, - newValue: object.new_value, - changeType: isSet(object.change_type) ? changeTypeFromJSON(object.change_type) : -1, - advices: Array.isArray(object?.advices) ? object.advices.map((e: any) => Advice.fromAmino(e)) : [] - }; - }, - toAmino(message: ConfigChange): ConfigChangeAmino { - const obj: any = {}; - obj.element = message.element; - obj.old_value = message.oldValue; - obj.new_value = message.newValue; - obj.change_type = message.changeType; - if (message.advices) { - obj.advices = message.advices.map(e => e ? Advice.toAmino(e) : undefined); - } else { - obj.advices = []; - } - return obj; - }, - fromAminoMsg(object: ConfigChangeAminoMsg): ConfigChange { - return ConfigChange.fromAmino(object.value); - }, - fromProtoMsg(message: ConfigChangeProtoMsg): ConfigChange { - return ConfigChange.decode(message.value); - }, - toProto(message: ConfigChange): Uint8Array { - return ConfigChange.encode(message).finish(); - }, - toProtoMsg(message: ConfigChange): ConfigChangeProtoMsg { - return { - typeUrl: "/google.api.ConfigChange", - value: ConfigChange.encode(message).finish() - }; - } -}; -function createBaseAdvice(): Advice { - return { - description: "" - }; -} -export const Advice = { - typeUrl: "/google.api.Advice", - encode(message: Advice, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Advice { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAdvice(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.description = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Advice { - const obj = createBaseAdvice(); - if (isSet(object.description)) obj.description = String(object.description); - return obj; - }, - toJSON(message: Advice): unknown { - const obj: any = {}; - message.description !== undefined && (obj.description = message.description); - return obj; - }, - fromPartial(object: DeepPartial): Advice { - const message = createBaseAdvice(); - message.description = object.description ?? ""; - return message; - }, - fromSDK(object: AdviceSDKType): Advice { - return { - description: object?.description - }; - }, - toSDK(message: Advice): AdviceSDKType { - const obj: any = {}; - obj.description = message.description; - return obj; - }, - fromAmino(object: AdviceAmino): Advice { - return { - description: object.description - }; - }, - toAmino(message: Advice): AdviceAmino { - const obj: any = {}; - obj.description = message.description; - return obj; - }, - fromAminoMsg(object: AdviceAminoMsg): Advice { - return Advice.fromAmino(object.value); - }, - fromProtoMsg(message: AdviceProtoMsg): Advice { - return Advice.decode(message.value); - }, - toProto(message: Advice): Uint8Array { - return Advice.encode(message).finish(); - }, - toProtoMsg(message: Advice): AdviceProtoMsg { - return { - typeUrl: "/google.api.Advice", - value: Advice.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/consumer.ts b/quicksilverjs/src/codegen/google/api/consumer.ts deleted file mode 100644 index c4546e4e0..000000000 --- a/quicksilverjs/src/codegen/google/api/consumer.ts +++ /dev/null @@ -1,399 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../helpers"; -export const protobufPackage = "google.api"; -/** Supported data type of the property values */ -export enum Property_PropertyType { - /** UNSPECIFIED - The type is unspecified, and will result in an error. */ - UNSPECIFIED = 0, - /** INT64 - The type is `int64`. */ - INT64 = 1, - /** BOOL - The type is `bool`. */ - BOOL = 2, - /** STRING - The type is `string`. */ - STRING = 3, - /** DOUBLE - The type is 'double'. */ - DOUBLE = 4, - UNRECOGNIZED = -1, -} -export const Property_PropertyTypeSDKType = Property_PropertyType; -export const Property_PropertyTypeAmino = Property_PropertyType; -export function property_PropertyTypeFromJSON(object: any): Property_PropertyType { - switch (object) { - case 0: - case "UNSPECIFIED": - return Property_PropertyType.UNSPECIFIED; - case 1: - case "INT64": - return Property_PropertyType.INT64; - case 2: - case "BOOL": - return Property_PropertyType.BOOL; - case 3: - case "STRING": - return Property_PropertyType.STRING; - case 4: - case "DOUBLE": - return Property_PropertyType.DOUBLE; - case -1: - case "UNRECOGNIZED": - default: - return Property_PropertyType.UNRECOGNIZED; - } -} -export function property_PropertyTypeToJSON(object: Property_PropertyType): string { - switch (object) { - case Property_PropertyType.UNSPECIFIED: - return "UNSPECIFIED"; - case Property_PropertyType.INT64: - return "INT64"; - case Property_PropertyType.BOOL: - return "BOOL"; - case Property_PropertyType.STRING: - return "STRING"; - case Property_PropertyType.DOUBLE: - return "DOUBLE"; - case Property_PropertyType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * A descriptor for defining project properties for a service. One service may - * have many consumer projects, and the service may want to behave differently - * depending on some properties on the project. For example, a project may be - * associated with a school, or a business, or a government agency, a business - * type property on the project may affect how a service responds to the client. - * This descriptor defines which properties are allowed to be set on a project. - * - * Example: - * - * project_properties: - * properties: - * - name: NO_WATERMARK - * type: BOOL - * description: Allows usage of the API without watermarks. - * - name: EXTENDED_TILE_CACHE_PERIOD - * type: INT64 - */ -export interface ProjectProperties { - /** List of per consumer project-specific properties. */ - properties: Property[]; -} -export interface ProjectPropertiesProtoMsg { - typeUrl: "/google.api.ProjectProperties"; - value: Uint8Array; -} -/** - * A descriptor for defining project properties for a service. One service may - * have many consumer projects, and the service may want to behave differently - * depending on some properties on the project. For example, a project may be - * associated with a school, or a business, or a government agency, a business - * type property on the project may affect how a service responds to the client. - * This descriptor defines which properties are allowed to be set on a project. - * - * Example: - * - * project_properties: - * properties: - * - name: NO_WATERMARK - * type: BOOL - * description: Allows usage of the API without watermarks. - * - name: EXTENDED_TILE_CACHE_PERIOD - * type: INT64 - */ -export interface ProjectPropertiesAmino { - /** List of per consumer project-specific properties. */ - properties: PropertyAmino[]; -} -export interface ProjectPropertiesAminoMsg { - type: "/google.api.ProjectProperties"; - value: ProjectPropertiesAmino; -} -/** - * A descriptor for defining project properties for a service. One service may - * have many consumer projects, and the service may want to behave differently - * depending on some properties on the project. For example, a project may be - * associated with a school, or a business, or a government agency, a business - * type property on the project may affect how a service responds to the client. - * This descriptor defines which properties are allowed to be set on a project. - * - * Example: - * - * project_properties: - * properties: - * - name: NO_WATERMARK - * type: BOOL - * description: Allows usage of the API without watermarks. - * - name: EXTENDED_TILE_CACHE_PERIOD - * type: INT64 - */ -export interface ProjectPropertiesSDKType { - properties: PropertySDKType[]; -} -/** - * Defines project properties. - * - * API services can define properties that can be assigned to consumer projects - * so that backends can perform response customization without having to make - * additional calls or maintain additional storage. For example, Maps API - * defines properties that controls map tile cache period, or whether to embed a - * watermark in a result. - * - * These values can be set via API producer console. Only API providers can - * define and set these properties. - */ -export interface Property { - /** The name of the property (a.k.a key). */ - name: string; - /** The type of this property. */ - type: Property_PropertyType; - /** The description of the property */ - description: string; -} -export interface PropertyProtoMsg { - typeUrl: "/google.api.Property"; - value: Uint8Array; -} -/** - * Defines project properties. - * - * API services can define properties that can be assigned to consumer projects - * so that backends can perform response customization without having to make - * additional calls or maintain additional storage. For example, Maps API - * defines properties that controls map tile cache period, or whether to embed a - * watermark in a result. - * - * These values can be set via API producer console. Only API providers can - * define and set these properties. - */ -export interface PropertyAmino { - /** The name of the property (a.k.a key). */ - name: string; - /** The type of this property. */ - type: Property_PropertyType; - /** The description of the property */ - description: string; -} -export interface PropertyAminoMsg { - type: "/google.api.Property"; - value: PropertyAmino; -} -/** - * Defines project properties. - * - * API services can define properties that can be assigned to consumer projects - * so that backends can perform response customization without having to make - * additional calls or maintain additional storage. For example, Maps API - * defines properties that controls map tile cache period, or whether to embed a - * watermark in a result. - * - * These values can be set via API producer console. Only API providers can - * define and set these properties. - */ -export interface PropertySDKType { - name: string; - type: Property_PropertyType; - description: string; -} -function createBaseProjectProperties(): ProjectProperties { - return { - properties: [] - }; -} -export const ProjectProperties = { - typeUrl: "/google.api.ProjectProperties", - encode(message: ProjectProperties, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.properties) { - Property.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ProjectProperties { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProjectProperties(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.properties.push(Property.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ProjectProperties { - const obj = createBaseProjectProperties(); - if (Array.isArray(object?.properties)) obj.properties = object.properties.map((e: any) => Property.fromJSON(e)); - return obj; - }, - toJSON(message: ProjectProperties): unknown { - const obj: any = {}; - if (message.properties) { - obj.properties = message.properties.map(e => e ? Property.toJSON(e) : undefined); - } else { - obj.properties = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ProjectProperties { - const message = createBaseProjectProperties(); - message.properties = object.properties?.map(e => Property.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ProjectPropertiesSDKType): ProjectProperties { - return { - properties: Array.isArray(object?.properties) ? object.properties.map((e: any) => Property.fromSDK(e)) : [] - }; - }, - toSDK(message: ProjectProperties): ProjectPropertiesSDKType { - const obj: any = {}; - if (message.properties) { - obj.properties = message.properties.map(e => e ? Property.toSDK(e) : undefined); - } else { - obj.properties = []; - } - return obj; - }, - fromAmino(object: ProjectPropertiesAmino): ProjectProperties { - return { - properties: Array.isArray(object?.properties) ? object.properties.map((e: any) => Property.fromAmino(e)) : [] - }; - }, - toAmino(message: ProjectProperties): ProjectPropertiesAmino { - const obj: any = {}; - if (message.properties) { - obj.properties = message.properties.map(e => e ? Property.toAmino(e) : undefined); - } else { - obj.properties = []; - } - return obj; - }, - fromAminoMsg(object: ProjectPropertiesAminoMsg): ProjectProperties { - return ProjectProperties.fromAmino(object.value); - }, - fromProtoMsg(message: ProjectPropertiesProtoMsg): ProjectProperties { - return ProjectProperties.decode(message.value); - }, - toProto(message: ProjectProperties): Uint8Array { - return ProjectProperties.encode(message).finish(); - }, - toProtoMsg(message: ProjectProperties): ProjectPropertiesProtoMsg { - return { - typeUrl: "/google.api.ProjectProperties", - value: ProjectProperties.encode(message).finish() - }; - } -}; -function createBaseProperty(): Property { - return { - name: "", - type: 0, - description: "" - }; -} -export const Property = { - typeUrl: "/google.api.Property", - encode(message: Property, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.type !== 0) { - writer.uint32(16).int32(message.type); - } - if (message.description !== "") { - writer.uint32(26).string(message.description); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Property { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseProperty(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.type = (reader.int32() as any); - break; - case 3: - message.description = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Property { - const obj = createBaseProperty(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.type)) obj.type = property_PropertyTypeFromJSON(object.type); - if (isSet(object.description)) obj.description = String(object.description); - return obj; - }, - toJSON(message: Property): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.type !== undefined && (obj.type = property_PropertyTypeToJSON(message.type)); - message.description !== undefined && (obj.description = message.description); - return obj; - }, - fromPartial(object: DeepPartial): Property { - const message = createBaseProperty(); - message.name = object.name ?? ""; - message.type = object.type ?? 0; - message.description = object.description ?? ""; - return message; - }, - fromSDK(object: PropertySDKType): Property { - return { - name: object?.name, - type: isSet(object.type) ? property_PropertyTypeFromJSON(object.type) : -1, - description: object?.description - }; - }, - toSDK(message: Property): PropertySDKType { - const obj: any = {}; - obj.name = message.name; - message.type !== undefined && (obj.type = property_PropertyTypeToJSON(message.type)); - obj.description = message.description; - return obj; - }, - fromAmino(object: PropertyAmino): Property { - return { - name: object.name, - type: isSet(object.type) ? property_PropertyTypeFromJSON(object.type) : -1, - description: object.description - }; - }, - toAmino(message: Property): PropertyAmino { - const obj: any = {}; - obj.name = message.name; - obj.type = message.type; - obj.description = message.description; - return obj; - }, - fromAminoMsg(object: PropertyAminoMsg): Property { - return Property.fromAmino(object.value); - }, - fromProtoMsg(message: PropertyProtoMsg): Property { - return Property.decode(message.value); - }, - toProto(message: Property): Uint8Array { - return Property.encode(message).finish(); - }, - toProtoMsg(message: Property): PropertyProtoMsg { - return { - typeUrl: "/google.api.Property", - value: Property.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/context.ts b/quicksilverjs/src/codegen/google/api/context.ts deleted file mode 100644 index 91470a20f..000000000 --- a/quicksilverjs/src/codegen/google/api/context.ts +++ /dev/null @@ -1,493 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * `Context` defines which contexts an API requests. - * - * Example: - * - * context: - * rules: - * - selector: "*" - * requested: - * - google.rpc.context.ProjectContext - * - google.rpc.context.OriginContext - * - * The above specifies that all methods in the API request - * `google.rpc.context.ProjectContext` and - * `google.rpc.context.OriginContext`. - * - * Available context types are defined in package - * `google.rpc.context`. - * - * This also provides mechanism to allowlist any protobuf message extension that - * can be sent in grpc metadata using “x-goog-ext--bin” and - * “x-goog-ext--jspb” format. For example, list any service - * specific protobuf types that can appear in grpc metadata as follows in your - * yaml file: - * - * Example: - * - * context: - * rules: - * - selector: "google.example.library.v1.LibraryService.CreateBook" - * allowed_request_extensions: - * - google.foo.v1.NewExtension - * allowed_response_extensions: - * - google.foo.v1.NewExtension - * - * You can also specify extension ID instead of fully qualified extension name - * here. - */ -export interface Context { - /** - * A list of RPC context rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: ContextRule[]; -} -export interface ContextProtoMsg { - typeUrl: "/google.api.Context"; - value: Uint8Array; -} -/** - * `Context` defines which contexts an API requests. - * - * Example: - * - * context: - * rules: - * - selector: "*" - * requested: - * - google.rpc.context.ProjectContext - * - google.rpc.context.OriginContext - * - * The above specifies that all methods in the API request - * `google.rpc.context.ProjectContext` and - * `google.rpc.context.OriginContext`. - * - * Available context types are defined in package - * `google.rpc.context`. - * - * This also provides mechanism to allowlist any protobuf message extension that - * can be sent in grpc metadata using “x-goog-ext--bin” and - * “x-goog-ext--jspb” format. For example, list any service - * specific protobuf types that can appear in grpc metadata as follows in your - * yaml file: - * - * Example: - * - * context: - * rules: - * - selector: "google.example.library.v1.LibraryService.CreateBook" - * allowed_request_extensions: - * - google.foo.v1.NewExtension - * allowed_response_extensions: - * - google.foo.v1.NewExtension - * - * You can also specify extension ID instead of fully qualified extension name - * here. - */ -export interface ContextAmino { - /** - * A list of RPC context rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: ContextRuleAmino[]; -} -export interface ContextAminoMsg { - type: "/google.api.Context"; - value: ContextAmino; -} -/** - * `Context` defines which contexts an API requests. - * - * Example: - * - * context: - * rules: - * - selector: "*" - * requested: - * - google.rpc.context.ProjectContext - * - google.rpc.context.OriginContext - * - * The above specifies that all methods in the API request - * `google.rpc.context.ProjectContext` and - * `google.rpc.context.OriginContext`. - * - * Available context types are defined in package - * `google.rpc.context`. - * - * This also provides mechanism to allowlist any protobuf message extension that - * can be sent in grpc metadata using “x-goog-ext--bin” and - * “x-goog-ext--jspb” format. For example, list any service - * specific protobuf types that can appear in grpc metadata as follows in your - * yaml file: - * - * Example: - * - * context: - * rules: - * - selector: "google.example.library.v1.LibraryService.CreateBook" - * allowed_request_extensions: - * - google.foo.v1.NewExtension - * allowed_response_extensions: - * - google.foo.v1.NewExtension - * - * You can also specify extension ID instead of fully qualified extension name - * here. - */ -export interface ContextSDKType { - rules: ContextRuleSDKType[]; -} -/** - * A context rule provides information about the context for an individual API - * element. - */ -export interface ContextRule { - /** - * Selects the methods to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** A list of full type names of requested contexts. */ - requested: string[]; - /** A list of full type names of provided contexts. */ - provided: string[]; - /** - * A list of full type names or extension IDs of extensions allowed in grpc - * side channel from client to backend. - */ - allowedRequestExtensions: string[]; - /** - * A list of full type names or extension IDs of extensions allowed in grpc - * side channel from backend to client. - */ - allowedResponseExtensions: string[]; -} -export interface ContextRuleProtoMsg { - typeUrl: "/google.api.ContextRule"; - value: Uint8Array; -} -/** - * A context rule provides information about the context for an individual API - * element. - */ -export interface ContextRuleAmino { - /** - * Selects the methods to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** A list of full type names of requested contexts. */ - requested: string[]; - /** A list of full type names of provided contexts. */ - provided: string[]; - /** - * A list of full type names or extension IDs of extensions allowed in grpc - * side channel from client to backend. - */ - allowed_request_extensions: string[]; - /** - * A list of full type names or extension IDs of extensions allowed in grpc - * side channel from backend to client. - */ - allowed_response_extensions: string[]; -} -export interface ContextRuleAminoMsg { - type: "/google.api.ContextRule"; - value: ContextRuleAmino; -} -/** - * A context rule provides information about the context for an individual API - * element. - */ -export interface ContextRuleSDKType { - selector: string; - requested: string[]; - provided: string[]; - allowed_request_extensions: string[]; - allowed_response_extensions: string[]; -} -function createBaseContext(): Context { - return { - rules: [] - }; -} -export const Context = { - typeUrl: "/google.api.Context", - encode(message: Context, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rules) { - ContextRule.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Context { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContext(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rules.push(ContextRule.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Context { - const obj = createBaseContext(); - if (Array.isArray(object?.rules)) obj.rules = object.rules.map((e: any) => ContextRule.fromJSON(e)); - return obj; - }, - toJSON(message: Context): unknown { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? ContextRule.toJSON(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Context { - const message = createBaseContext(); - message.rules = object.rules?.map(e => ContextRule.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ContextSDKType): Context { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => ContextRule.fromSDK(e)) : [] - }; - }, - toSDK(message: Context): ContextSDKType { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? ContextRule.toSDK(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromAmino(object: ContextAmino): Context { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => ContextRule.fromAmino(e)) : [] - }; - }, - toAmino(message: Context): ContextAmino { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? ContextRule.toAmino(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromAminoMsg(object: ContextAminoMsg): Context { - return Context.fromAmino(object.value); - }, - fromProtoMsg(message: ContextProtoMsg): Context { - return Context.decode(message.value); - }, - toProto(message: Context): Uint8Array { - return Context.encode(message).finish(); - }, - toProtoMsg(message: Context): ContextProtoMsg { - return { - typeUrl: "/google.api.Context", - value: Context.encode(message).finish() - }; - } -}; -function createBaseContextRule(): ContextRule { - return { - selector: "", - requested: [], - provided: [], - allowedRequestExtensions: [], - allowedResponseExtensions: [] - }; -} -export const ContextRule = { - typeUrl: "/google.api.ContextRule", - encode(message: ContextRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.selector !== "") { - writer.uint32(10).string(message.selector); - } - for (const v of message.requested) { - writer.uint32(18).string(v!); - } - for (const v of message.provided) { - writer.uint32(26).string(v!); - } - for (const v of message.allowedRequestExtensions) { - writer.uint32(34).string(v!); - } - for (const v of message.allowedResponseExtensions) { - writer.uint32(42).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ContextRule { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContextRule(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - message.requested.push(reader.string()); - break; - case 3: - message.provided.push(reader.string()); - break; - case 4: - message.allowedRequestExtensions.push(reader.string()); - break; - case 5: - message.allowedResponseExtensions.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ContextRule { - const obj = createBaseContextRule(); - if (isSet(object.selector)) obj.selector = String(object.selector); - if (Array.isArray(object?.requested)) obj.requested = object.requested.map((e: any) => String(e)); - if (Array.isArray(object?.provided)) obj.provided = object.provided.map((e: any) => String(e)); - if (Array.isArray(object?.allowedRequestExtensions)) obj.allowedRequestExtensions = object.allowedRequestExtensions.map((e: any) => String(e)); - if (Array.isArray(object?.allowedResponseExtensions)) obj.allowedResponseExtensions = object.allowedResponseExtensions.map((e: any) => String(e)); - return obj; - }, - toJSON(message: ContextRule): unknown { - const obj: any = {}; - message.selector !== undefined && (obj.selector = message.selector); - if (message.requested) { - obj.requested = message.requested.map(e => e); - } else { - obj.requested = []; - } - if (message.provided) { - obj.provided = message.provided.map(e => e); - } else { - obj.provided = []; - } - if (message.allowedRequestExtensions) { - obj.allowedRequestExtensions = message.allowedRequestExtensions.map(e => e); - } else { - obj.allowedRequestExtensions = []; - } - if (message.allowedResponseExtensions) { - obj.allowedResponseExtensions = message.allowedResponseExtensions.map(e => e); - } else { - obj.allowedResponseExtensions = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ContextRule { - const message = createBaseContextRule(); - message.selector = object.selector ?? ""; - message.requested = object.requested?.map(e => e) || []; - message.provided = object.provided?.map(e => e) || []; - message.allowedRequestExtensions = object.allowedRequestExtensions?.map(e => e) || []; - message.allowedResponseExtensions = object.allowedResponseExtensions?.map(e => e) || []; - return message; - }, - fromSDK(object: ContextRuleSDKType): ContextRule { - return { - selector: object?.selector, - requested: Array.isArray(object?.requested) ? object.requested.map((e: any) => e) : [], - provided: Array.isArray(object?.provided) ? object.provided.map((e: any) => e) : [], - allowedRequestExtensions: Array.isArray(object?.allowed_request_extensions) ? object.allowed_request_extensions.map((e: any) => e) : [], - allowedResponseExtensions: Array.isArray(object?.allowed_response_extensions) ? object.allowed_response_extensions.map((e: any) => e) : [] - }; - }, - toSDK(message: ContextRule): ContextRuleSDKType { - const obj: any = {}; - obj.selector = message.selector; - if (message.requested) { - obj.requested = message.requested.map(e => e); - } else { - obj.requested = []; - } - if (message.provided) { - obj.provided = message.provided.map(e => e); - } else { - obj.provided = []; - } - if (message.allowedRequestExtensions) { - obj.allowed_request_extensions = message.allowedRequestExtensions.map(e => e); - } else { - obj.allowed_request_extensions = []; - } - if (message.allowedResponseExtensions) { - obj.allowed_response_extensions = message.allowedResponseExtensions.map(e => e); - } else { - obj.allowed_response_extensions = []; - } - return obj; - }, - fromAmino(object: ContextRuleAmino): ContextRule { - return { - selector: object.selector, - requested: Array.isArray(object?.requested) ? object.requested.map((e: any) => e) : [], - provided: Array.isArray(object?.provided) ? object.provided.map((e: any) => e) : [], - allowedRequestExtensions: Array.isArray(object?.allowed_request_extensions) ? object.allowed_request_extensions.map((e: any) => e) : [], - allowedResponseExtensions: Array.isArray(object?.allowed_response_extensions) ? object.allowed_response_extensions.map((e: any) => e) : [] - }; - }, - toAmino(message: ContextRule): ContextRuleAmino { - const obj: any = {}; - obj.selector = message.selector; - if (message.requested) { - obj.requested = message.requested.map(e => e); - } else { - obj.requested = []; - } - if (message.provided) { - obj.provided = message.provided.map(e => e); - } else { - obj.provided = []; - } - if (message.allowedRequestExtensions) { - obj.allowed_request_extensions = message.allowedRequestExtensions.map(e => e); - } else { - obj.allowed_request_extensions = []; - } - if (message.allowedResponseExtensions) { - obj.allowed_response_extensions = message.allowedResponseExtensions.map(e => e); - } else { - obj.allowed_response_extensions = []; - } - return obj; - }, - fromAminoMsg(object: ContextRuleAminoMsg): ContextRule { - return ContextRule.fromAmino(object.value); - }, - fromProtoMsg(message: ContextRuleProtoMsg): ContextRule { - return ContextRule.decode(message.value); - }, - toProto(message: ContextRule): Uint8Array { - return ContextRule.encode(message).finish(); - }, - toProtoMsg(message: ContextRule): ContextRuleProtoMsg { - return { - typeUrl: "/google.api.ContextRule", - value: ContextRule.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/control.ts b/quicksilverjs/src/codegen/google/api/control.ts deleted file mode 100644 index 4a8f93c31..000000000 --- a/quicksilverjs/src/codegen/google/api/control.ts +++ /dev/null @@ -1,124 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * Selects and configures the service controller used by the service. The - * service controller handles features like abuse, quota, billing, logging, - * monitoring, etc. - */ -export interface Control { - /** - * The service control environment to use. If empty, no control plane - * feature (like quota and billing) will be enabled. - */ - environment: string; -} -export interface ControlProtoMsg { - typeUrl: "/google.api.Control"; - value: Uint8Array; -} -/** - * Selects and configures the service controller used by the service. The - * service controller handles features like abuse, quota, billing, logging, - * monitoring, etc. - */ -export interface ControlAmino { - /** - * The service control environment to use. If empty, no control plane - * feature (like quota and billing) will be enabled. - */ - environment: string; -} -export interface ControlAminoMsg { - type: "/google.api.Control"; - value: ControlAmino; -} -/** - * Selects and configures the service controller used by the service. The - * service controller handles features like abuse, quota, billing, logging, - * monitoring, etc. - */ -export interface ControlSDKType { - environment: string; -} -function createBaseControl(): Control { - return { - environment: "" - }; -} -export const Control = { - typeUrl: "/google.api.Control", - encode(message: Control, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.environment !== "") { - writer.uint32(10).string(message.environment); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Control { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseControl(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.environment = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Control { - const obj = createBaseControl(); - if (isSet(object.environment)) obj.environment = String(object.environment); - return obj; - }, - toJSON(message: Control): unknown { - const obj: any = {}; - message.environment !== undefined && (obj.environment = message.environment); - return obj; - }, - fromPartial(object: DeepPartial): Control { - const message = createBaseControl(); - message.environment = object.environment ?? ""; - return message; - }, - fromSDK(object: ControlSDKType): Control { - return { - environment: object?.environment - }; - }, - toSDK(message: Control): ControlSDKType { - const obj: any = {}; - obj.environment = message.environment; - return obj; - }, - fromAmino(object: ControlAmino): Control { - return { - environment: object.environment - }; - }, - toAmino(message: Control): ControlAmino { - const obj: any = {}; - obj.environment = message.environment; - return obj; - }, - fromAminoMsg(object: ControlAminoMsg): Control { - return Control.fromAmino(object.value); - }, - fromProtoMsg(message: ControlProtoMsg): Control { - return Control.decode(message.value); - }, - toProto(message: Control): Uint8Array { - return Control.encode(message).finish(); - }, - toProtoMsg(message: Control): ControlProtoMsg { - return { - typeUrl: "/google.api.Control", - value: Control.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/distribution.ts b/quicksilverjs/src/codegen/google/api/distribution.ts deleted file mode 100644 index 99893bfa0..000000000 --- a/quicksilverjs/src/codegen/google/api/distribution.ts +++ /dev/null @@ -1,1404 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../protobuf/timestamp"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../protobuf/any"; -import { Long, isSet, DeepPartial, toTimestamp, fromTimestamp } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api"; -/** - * `Distribution` contains summary statistics for a population of values. It - * optionally contains a histogram representing the distribution of those values - * across a set of buckets. - * - * The summary statistics are the count, mean, sum of the squared deviation from - * the mean, the minimum, and the maximum of the set of population of values. - * The histogram is based on a sequence of buckets and gives a count of values - * that fall into each bucket. The boundaries of the buckets are given either - * explicitly or by formulas for buckets of fixed or exponentially increasing - * widths. - * - * Although it is not forbidden, it is generally a bad idea to include - * non-finite values (infinities or NaNs) in the population of values, as this - * will render the `mean` and `sum_of_squared_deviation` fields meaningless. - */ -export interface Distribution { - /** - * The number of values in the population. Must be non-negative. This value - * must equal the sum of the values in `bucket_counts` if a histogram is - * provided. - */ - count: Long; - /** - * The arithmetic mean of the values in the population. If `count` is zero - * then this field must be zero. - */ - mean: number; - /** - * The sum of squared deviations from the mean of the values in the - * population. For values x_i this is: - * - * Sum[i=1..n]((x_i - mean)^2) - * - * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition - * describes Welford's method for accumulating this sum in one pass. - * - * If `count` is zero then this field must be zero. - */ - sumOfSquaredDeviation: number; - /** - * If specified, contains the range of the population values. The field - * must not be present if the `count` is zero. - */ - range: Distribution_Range; - /** - * Defines the histogram bucket boundaries. If the distribution does not - * contain a histogram, then omit this field. - */ - bucketOptions: Distribution_BucketOptions; - /** - * The number of values in each bucket of the histogram, as described in - * `bucket_options`. If the distribution does not have a histogram, then omit - * this field. If there is a histogram, then the sum of the values in - * `bucket_counts` must equal the value in the `count` field of the - * distribution. - * - * If present, `bucket_counts` should contain N values, where N is the number - * of buckets specified in `bucket_options`. If you supply fewer than N - * values, the remaining values are assumed to be 0. - * - * The order of the values in `bucket_counts` follows the bucket numbering - * schemes described for the three bucket types. The first value must be the - * count for the underflow bucket (number 0). The next N-2 values are the - * counts for the finite buckets (number 1 through N-2). The N'th value in - * `bucket_counts` is the count for the overflow bucket (number N-1). - */ - bucketCounts: Long[]; - /** Must be in increasing order of `value` field. */ - exemplars: Distribution_Exemplar[]; -} -export interface DistributionProtoMsg { - typeUrl: "/google.api.Distribution"; - value: Uint8Array; -} -/** - * `Distribution` contains summary statistics for a population of values. It - * optionally contains a histogram representing the distribution of those values - * across a set of buckets. - * - * The summary statistics are the count, mean, sum of the squared deviation from - * the mean, the minimum, and the maximum of the set of population of values. - * The histogram is based on a sequence of buckets and gives a count of values - * that fall into each bucket. The boundaries of the buckets are given either - * explicitly or by formulas for buckets of fixed or exponentially increasing - * widths. - * - * Although it is not forbidden, it is generally a bad idea to include - * non-finite values (infinities or NaNs) in the population of values, as this - * will render the `mean` and `sum_of_squared_deviation` fields meaningless. - */ -export interface DistributionAmino { - /** - * The number of values in the population. Must be non-negative. This value - * must equal the sum of the values in `bucket_counts` if a histogram is - * provided. - */ - count: string; - /** - * The arithmetic mean of the values in the population. If `count` is zero - * then this field must be zero. - */ - mean: number; - /** - * The sum of squared deviations from the mean of the values in the - * population. For values x_i this is: - * - * Sum[i=1..n]((x_i - mean)^2) - * - * Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition - * describes Welford's method for accumulating this sum in one pass. - * - * If `count` is zero then this field must be zero. - */ - sum_of_squared_deviation: number; - /** - * If specified, contains the range of the population values. The field - * must not be present if the `count` is zero. - */ - range?: Distribution_RangeAmino; - /** - * Defines the histogram bucket boundaries. If the distribution does not - * contain a histogram, then omit this field. - */ - bucket_options?: Distribution_BucketOptionsAmino; - /** - * The number of values in each bucket of the histogram, as described in - * `bucket_options`. If the distribution does not have a histogram, then omit - * this field. If there is a histogram, then the sum of the values in - * `bucket_counts` must equal the value in the `count` field of the - * distribution. - * - * If present, `bucket_counts` should contain N values, where N is the number - * of buckets specified in `bucket_options`. If you supply fewer than N - * values, the remaining values are assumed to be 0. - * - * The order of the values in `bucket_counts` follows the bucket numbering - * schemes described for the three bucket types. The first value must be the - * count for the underflow bucket (number 0). The next N-2 values are the - * counts for the finite buckets (number 1 through N-2). The N'th value in - * `bucket_counts` is the count for the overflow bucket (number N-1). - */ - bucket_counts: string[]; - /** Must be in increasing order of `value` field. */ - exemplars: Distribution_ExemplarAmino[]; -} -export interface DistributionAminoMsg { - type: "/google.api.Distribution"; - value: DistributionAmino; -} -/** - * `Distribution` contains summary statistics for a population of values. It - * optionally contains a histogram representing the distribution of those values - * across a set of buckets. - * - * The summary statistics are the count, mean, sum of the squared deviation from - * the mean, the minimum, and the maximum of the set of population of values. - * The histogram is based on a sequence of buckets and gives a count of values - * that fall into each bucket. The boundaries of the buckets are given either - * explicitly or by formulas for buckets of fixed or exponentially increasing - * widths. - * - * Although it is not forbidden, it is generally a bad idea to include - * non-finite values (infinities or NaNs) in the population of values, as this - * will render the `mean` and `sum_of_squared_deviation` fields meaningless. - */ -export interface DistributionSDKType { - count: Long; - mean: number; - sum_of_squared_deviation: number; - range: Distribution_RangeSDKType; - bucket_options: Distribution_BucketOptionsSDKType; - bucket_counts: Long[]; - exemplars: Distribution_ExemplarSDKType[]; -} -/** The range of the population values. */ -export interface Distribution_Range { - /** The minimum of the population values. */ - min: number; - /** The maximum of the population values. */ - max: number; -} -export interface Distribution_RangeProtoMsg { - typeUrl: "/google.api.Range"; - value: Uint8Array; -} -/** The range of the population values. */ -export interface Distribution_RangeAmino { - /** The minimum of the population values. */ - min: number; - /** The maximum of the population values. */ - max: number; -} -export interface Distribution_RangeAminoMsg { - type: "/google.api.Range"; - value: Distribution_RangeAmino; -} -/** The range of the population values. */ -export interface Distribution_RangeSDKType { - min: number; - max: number; -} -/** - * `BucketOptions` describes the bucket boundaries used to create a histogram - * for the distribution. The buckets can be in a linear sequence, an - * exponential sequence, or each bucket can be specified explicitly. - * `BucketOptions` does not include the number of values in each bucket. - * - * A bucket has an inclusive lower bound and exclusive upper bound for the - * values that are counted for that bucket. The upper bound of a bucket must - * be strictly greater than the lower bound. The sequence of N buckets for a - * distribution consists of an underflow bucket (number 0), zero or more - * finite buckets (number 1 through N - 2) and an overflow bucket (number N - - * 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the - * same as the upper bound of bucket i - 1. The buckets span the whole range - * of finite values: lower bound of the underflow bucket is -infinity and the - * upper bound of the overflow bucket is +infinity. The finite buckets are - * so-called because both bounds are finite. - */ -export interface Distribution_BucketOptions { - /** The linear bucket. */ - linearBuckets?: Distribution_BucketOptions_Linear; - /** The exponential buckets. */ - exponentialBuckets?: Distribution_BucketOptions_Exponential; - /** The explicit buckets. */ - explicitBuckets?: Distribution_BucketOptions_Explicit; -} -export interface Distribution_BucketOptionsProtoMsg { - typeUrl: "/google.api.BucketOptions"; - value: Uint8Array; -} -/** - * `BucketOptions` describes the bucket boundaries used to create a histogram - * for the distribution. The buckets can be in a linear sequence, an - * exponential sequence, or each bucket can be specified explicitly. - * `BucketOptions` does not include the number of values in each bucket. - * - * A bucket has an inclusive lower bound and exclusive upper bound for the - * values that are counted for that bucket. The upper bound of a bucket must - * be strictly greater than the lower bound. The sequence of N buckets for a - * distribution consists of an underflow bucket (number 0), zero or more - * finite buckets (number 1 through N - 2) and an overflow bucket (number N - - * 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the - * same as the upper bound of bucket i - 1. The buckets span the whole range - * of finite values: lower bound of the underflow bucket is -infinity and the - * upper bound of the overflow bucket is +infinity. The finite buckets are - * so-called because both bounds are finite. - */ -export interface Distribution_BucketOptionsAmino { - /** The linear bucket. */ - linear_buckets?: Distribution_BucketOptions_LinearAmino; - /** The exponential buckets. */ - exponential_buckets?: Distribution_BucketOptions_ExponentialAmino; - /** The explicit buckets. */ - explicit_buckets?: Distribution_BucketOptions_ExplicitAmino; -} -export interface Distribution_BucketOptionsAminoMsg { - type: "/google.api.BucketOptions"; - value: Distribution_BucketOptionsAmino; -} -/** - * `BucketOptions` describes the bucket boundaries used to create a histogram - * for the distribution. The buckets can be in a linear sequence, an - * exponential sequence, or each bucket can be specified explicitly. - * `BucketOptions` does not include the number of values in each bucket. - * - * A bucket has an inclusive lower bound and exclusive upper bound for the - * values that are counted for that bucket. The upper bound of a bucket must - * be strictly greater than the lower bound. The sequence of N buckets for a - * distribution consists of an underflow bucket (number 0), zero or more - * finite buckets (number 1 through N - 2) and an overflow bucket (number N - - * 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the - * same as the upper bound of bucket i - 1. The buckets span the whole range - * of finite values: lower bound of the underflow bucket is -infinity and the - * upper bound of the overflow bucket is +infinity. The finite buckets are - * so-called because both bounds are finite. - */ -export interface Distribution_BucketOptionsSDKType { - linear_buckets?: Distribution_BucketOptions_LinearSDKType; - exponential_buckets?: Distribution_BucketOptions_ExponentialSDKType; - explicit_buckets?: Distribution_BucketOptions_ExplicitSDKType; -} -/** - * Specifies a linear sequence of buckets that all have the same width - * (except overflow and underflow). Each bucket represents a constant - * absolute uncertainty on the specific value in the bucket. - * - * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the - * following boundaries: - * - * Upper bound (0 <= i < N-1): offset + (width * i). - * Lower bound (1 <= i < N): offset + (width * (i - 1)). - */ -export interface Distribution_BucketOptions_Linear { - /** Must be greater than 0. */ - numFiniteBuckets: number; - /** Must be greater than 0. */ - width: number; - /** Lower bound of the first bucket. */ - offset: number; -} -export interface Distribution_BucketOptions_LinearProtoMsg { - typeUrl: "/google.api.Linear"; - value: Uint8Array; -} -/** - * Specifies a linear sequence of buckets that all have the same width - * (except overflow and underflow). Each bucket represents a constant - * absolute uncertainty on the specific value in the bucket. - * - * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the - * following boundaries: - * - * Upper bound (0 <= i < N-1): offset + (width * i). - * Lower bound (1 <= i < N): offset + (width * (i - 1)). - */ -export interface Distribution_BucketOptions_LinearAmino { - /** Must be greater than 0. */ - num_finite_buckets: number; - /** Must be greater than 0. */ - width: number; - /** Lower bound of the first bucket. */ - offset: number; -} -export interface Distribution_BucketOptions_LinearAminoMsg { - type: "/google.api.Linear"; - value: Distribution_BucketOptions_LinearAmino; -} -/** - * Specifies a linear sequence of buckets that all have the same width - * (except overflow and underflow). Each bucket represents a constant - * absolute uncertainty on the specific value in the bucket. - * - * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the - * following boundaries: - * - * Upper bound (0 <= i < N-1): offset + (width * i). - * Lower bound (1 <= i < N): offset + (width * (i - 1)). - */ -export interface Distribution_BucketOptions_LinearSDKType { - num_finite_buckets: number; - width: number; - offset: number; -} -/** - * Specifies an exponential sequence of buckets that have a width that is - * proportional to the value of the lower bound. Each bucket represents a - * constant relative uncertainty on a specific value in the bucket. - * - * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the - * following boundaries: - * - * Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). - * Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). - */ -export interface Distribution_BucketOptions_Exponential { - /** Must be greater than 0. */ - numFiniteBuckets: number; - /** Must be greater than 1. */ - growthFactor: number; - /** Must be greater than 0. */ - scale: number; -} -export interface Distribution_BucketOptions_ExponentialProtoMsg { - typeUrl: "/google.api.Exponential"; - value: Uint8Array; -} -/** - * Specifies an exponential sequence of buckets that have a width that is - * proportional to the value of the lower bound. Each bucket represents a - * constant relative uncertainty on a specific value in the bucket. - * - * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the - * following boundaries: - * - * Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). - * Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). - */ -export interface Distribution_BucketOptions_ExponentialAmino { - /** Must be greater than 0. */ - num_finite_buckets: number; - /** Must be greater than 1. */ - growth_factor: number; - /** Must be greater than 0. */ - scale: number; -} -export interface Distribution_BucketOptions_ExponentialAminoMsg { - type: "/google.api.Exponential"; - value: Distribution_BucketOptions_ExponentialAmino; -} -/** - * Specifies an exponential sequence of buckets that have a width that is - * proportional to the value of the lower bound. Each bucket represents a - * constant relative uncertainty on a specific value in the bucket. - * - * There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the - * following boundaries: - * - * Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). - * Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). - */ -export interface Distribution_BucketOptions_ExponentialSDKType { - num_finite_buckets: number; - growth_factor: number; - scale: number; -} -/** - * Specifies a set of buckets with arbitrary widths. - * - * There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following - * boundaries: - * - * Upper bound (0 <= i < N-1): bounds[i] - * Lower bound (1 <= i < N); bounds[i - 1] - * - * The `bounds` field must contain at least one element. If `bounds` has - * only one element, then there are no finite buckets, and that single - * element is the common boundary of the overflow and underflow buckets. - */ -export interface Distribution_BucketOptions_Explicit { - /** The values must be monotonically increasing. */ - bounds: number[]; -} -export interface Distribution_BucketOptions_ExplicitProtoMsg { - typeUrl: "/google.api.Explicit"; - value: Uint8Array; -} -/** - * Specifies a set of buckets with arbitrary widths. - * - * There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following - * boundaries: - * - * Upper bound (0 <= i < N-1): bounds[i] - * Lower bound (1 <= i < N); bounds[i - 1] - * - * The `bounds` field must contain at least one element. If `bounds` has - * only one element, then there are no finite buckets, and that single - * element is the common boundary of the overflow and underflow buckets. - */ -export interface Distribution_BucketOptions_ExplicitAmino { - /** The values must be monotonically increasing. */ - bounds: number[]; -} -export interface Distribution_BucketOptions_ExplicitAminoMsg { - type: "/google.api.Explicit"; - value: Distribution_BucketOptions_ExplicitAmino; -} -/** - * Specifies a set of buckets with arbitrary widths. - * - * There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following - * boundaries: - * - * Upper bound (0 <= i < N-1): bounds[i] - * Lower bound (1 <= i < N); bounds[i - 1] - * - * The `bounds` field must contain at least one element. If `bounds` has - * only one element, then there are no finite buckets, and that single - * element is the common boundary of the overflow and underflow buckets. - */ -export interface Distribution_BucketOptions_ExplicitSDKType { - bounds: number[]; -} -/** - * Exemplars are example points that may be used to annotate aggregated - * distribution values. They are metadata that gives information about a - * particular value added to a Distribution bucket, such as a trace ID that - * was active when a value was added. They may contain further information, - * such as a example values and timestamps, origin, etc. - */ -export interface Distribution_Exemplar { - /** - * Value of the exemplar point. This value determines to which bucket the - * exemplar belongs. - */ - value: number; - /** The observation (sampling) time of the above value. */ - timestamp: Date; - /** - * Contextual information about the example value. Examples are: - * - * Trace: type.googleapis.com/google.monitoring.v3.SpanContext - * - * Literal string: type.googleapis.com/google.protobuf.StringValue - * - * Labels dropped during aggregation: - * type.googleapis.com/google.monitoring.v3.DroppedLabels - * - * There may be only a single attachment of any given message type in a - * single exemplar, and this is enforced by the system. - */ - attachments: Any[]; -} -export interface Distribution_ExemplarProtoMsg { - typeUrl: "/google.api.Exemplar"; - value: Uint8Array; -} -/** - * Exemplars are example points that may be used to annotate aggregated - * distribution values. They are metadata that gives information about a - * particular value added to a Distribution bucket, such as a trace ID that - * was active when a value was added. They may contain further information, - * such as a example values and timestamps, origin, etc. - */ -export interface Distribution_ExemplarAmino { - /** - * Value of the exemplar point. This value determines to which bucket the - * exemplar belongs. - */ - value: number; - /** The observation (sampling) time of the above value. */ - timestamp?: Date; - /** - * Contextual information about the example value. Examples are: - * - * Trace: type.googleapis.com/google.monitoring.v3.SpanContext - * - * Literal string: type.googleapis.com/google.protobuf.StringValue - * - * Labels dropped during aggregation: - * type.googleapis.com/google.monitoring.v3.DroppedLabels - * - * There may be only a single attachment of any given message type in a - * single exemplar, and this is enforced by the system. - */ - attachments: AnyAmino[]; -} -export interface Distribution_ExemplarAminoMsg { - type: "/google.api.Exemplar"; - value: Distribution_ExemplarAmino; -} -/** - * Exemplars are example points that may be used to annotate aggregated - * distribution values. They are metadata that gives information about a - * particular value added to a Distribution bucket, such as a trace ID that - * was active when a value was added. They may contain further information, - * such as a example values and timestamps, origin, etc. - */ -export interface Distribution_ExemplarSDKType { - value: number; - timestamp: Date; - attachments: AnySDKType[]; -} -function createBaseDistribution(): Distribution { - return { - count: Long.ZERO, - mean: 0, - sumOfSquaredDeviation: 0, - range: Distribution_Range.fromPartial({}), - bucketOptions: Distribution_BucketOptions.fromPartial({}), - bucketCounts: [], - exemplars: [] - }; -} -export const Distribution = { - typeUrl: "/google.api.Distribution", - encode(message: Distribution, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.count.isZero()) { - writer.uint32(8).int64(message.count); - } - if (message.mean !== 0) { - writer.uint32(17).double(message.mean); - } - if (message.sumOfSquaredDeviation !== 0) { - writer.uint32(25).double(message.sumOfSquaredDeviation); - } - if (message.range !== undefined) { - Distribution_Range.encode(message.range, writer.uint32(34).fork()).ldelim(); - } - if (message.bucketOptions !== undefined) { - Distribution_BucketOptions.encode(message.bucketOptions, writer.uint32(50).fork()).ldelim(); - } - writer.uint32(58).fork(); - for (const v of message.bucketCounts) { - writer.int64(v); - } - writer.ldelim(); - for (const v of message.exemplars) { - Distribution_Exemplar.encode(v!, writer.uint32(82).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Distribution { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDistribution(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.count = (reader.int64() as Long); - break; - case 2: - message.mean = reader.double(); - break; - case 3: - message.sumOfSquaredDeviation = reader.double(); - break; - case 4: - message.range = Distribution_Range.decode(reader, reader.uint32()); - break; - case 6: - message.bucketOptions = Distribution_BucketOptions.decode(reader, reader.uint32()); - break; - case 7: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.bucketCounts.push((reader.int64() as Long)); - } - } else { - message.bucketCounts.push((reader.int64() as Long)); - } - break; - case 10: - message.exemplars.push(Distribution_Exemplar.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Distribution { - const obj = createBaseDistribution(); - if (isSet(object.count)) obj.count = Long.fromValue(object.count); - if (isSet(object.mean)) obj.mean = Number(object.mean); - if (isSet(object.sumOfSquaredDeviation)) obj.sumOfSquaredDeviation = Number(object.sumOfSquaredDeviation); - if (isSet(object.range)) obj.range = Distribution_Range.fromJSON(object.range); - if (isSet(object.bucketOptions)) obj.bucketOptions = Distribution_BucketOptions.fromJSON(object.bucketOptions); - if (Array.isArray(object?.bucketCounts)) obj.bucketCounts = object.bucketCounts.map((e: any) => Long.fromValue(e)); - if (Array.isArray(object?.exemplars)) obj.exemplars = object.exemplars.map((e: any) => Distribution_Exemplar.fromJSON(e)); - return obj; - }, - toJSON(message: Distribution): unknown { - const obj: any = {}; - message.count !== undefined && (obj.count = (message.count || Long.ZERO).toString()); - message.mean !== undefined && (obj.mean = message.mean); - message.sumOfSquaredDeviation !== undefined && (obj.sumOfSquaredDeviation = message.sumOfSquaredDeviation); - message.range !== undefined && (obj.range = message.range ? Distribution_Range.toJSON(message.range) : undefined); - message.bucketOptions !== undefined && (obj.bucketOptions = message.bucketOptions ? Distribution_BucketOptions.toJSON(message.bucketOptions) : undefined); - if (message.bucketCounts) { - obj.bucketCounts = message.bucketCounts.map(e => (e || Long.ZERO).toString()); - } else { - obj.bucketCounts = []; - } - if (message.exemplars) { - obj.exemplars = message.exemplars.map(e => e ? Distribution_Exemplar.toJSON(e) : undefined); - } else { - obj.exemplars = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Distribution { - const message = createBaseDistribution(); - if (object.count !== undefined && object.count !== null) { - message.count = Long.fromValue(object.count); - } - message.mean = object.mean ?? 0; - message.sumOfSquaredDeviation = object.sumOfSquaredDeviation ?? 0; - if (object.range !== undefined && object.range !== null) { - message.range = Distribution_Range.fromPartial(object.range); - } - if (object.bucketOptions !== undefined && object.bucketOptions !== null) { - message.bucketOptions = Distribution_BucketOptions.fromPartial(object.bucketOptions); - } - message.bucketCounts = object.bucketCounts?.map(e => Long.fromValue(e)) || []; - message.exemplars = object.exemplars?.map(e => Distribution_Exemplar.fromPartial(e)) || []; - return message; - }, - fromSDK(object: DistributionSDKType): Distribution { - return { - count: object?.count, - mean: object?.mean, - sumOfSquaredDeviation: object?.sum_of_squared_deviation, - range: object.range ? Distribution_Range.fromSDK(object.range) : undefined, - bucketOptions: object.bucket_options ? Distribution_BucketOptions.fromSDK(object.bucket_options) : undefined, - bucketCounts: Array.isArray(object?.bucket_counts) ? object.bucket_counts.map((e: any) => e) : [], - exemplars: Array.isArray(object?.exemplars) ? object.exemplars.map((e: any) => Distribution_Exemplar.fromSDK(e)) : [] - }; - }, - toSDK(message: Distribution): DistributionSDKType { - const obj: any = {}; - obj.count = message.count; - obj.mean = message.mean; - obj.sum_of_squared_deviation = message.sumOfSquaredDeviation; - message.range !== undefined && (obj.range = message.range ? Distribution_Range.toSDK(message.range) : undefined); - message.bucketOptions !== undefined && (obj.bucket_options = message.bucketOptions ? Distribution_BucketOptions.toSDK(message.bucketOptions) : undefined); - if (message.bucketCounts) { - obj.bucket_counts = message.bucketCounts.map(e => e); - } else { - obj.bucket_counts = []; - } - if (message.exemplars) { - obj.exemplars = message.exemplars.map(e => e ? Distribution_Exemplar.toSDK(e) : undefined); - } else { - obj.exemplars = []; - } - return obj; - }, - fromAmino(object: DistributionAmino): Distribution { - return { - count: Long.fromString(object.count), - mean: object.mean, - sumOfSquaredDeviation: object.sum_of_squared_deviation, - range: object?.range ? Distribution_Range.fromAmino(object.range) : undefined, - bucketOptions: object?.bucket_options ? Distribution_BucketOptions.fromAmino(object.bucket_options) : undefined, - bucketCounts: Array.isArray(object?.bucket_counts) ? object.bucket_counts.map((e: any) => e) : [], - exemplars: Array.isArray(object?.exemplars) ? object.exemplars.map((e: any) => Distribution_Exemplar.fromAmino(e)) : [] - }; - }, - toAmino(message: Distribution): DistributionAmino { - const obj: any = {}; - obj.count = message.count ? message.count.toString() : undefined; - obj.mean = message.mean; - obj.sum_of_squared_deviation = message.sumOfSquaredDeviation; - obj.range = message.range ? Distribution_Range.toAmino(message.range) : undefined; - obj.bucket_options = message.bucketOptions ? Distribution_BucketOptions.toAmino(message.bucketOptions) : undefined; - if (message.bucketCounts) { - obj.bucket_counts = message.bucketCounts.map(e => e); - } else { - obj.bucket_counts = []; - } - if (message.exemplars) { - obj.exemplars = message.exemplars.map(e => e ? Distribution_Exemplar.toAmino(e) : undefined); - } else { - obj.exemplars = []; - } - return obj; - }, - fromAminoMsg(object: DistributionAminoMsg): Distribution { - return Distribution.fromAmino(object.value); - }, - fromProtoMsg(message: DistributionProtoMsg): Distribution { - return Distribution.decode(message.value); - }, - toProto(message: Distribution): Uint8Array { - return Distribution.encode(message).finish(); - }, - toProtoMsg(message: Distribution): DistributionProtoMsg { - return { - typeUrl: "/google.api.Distribution", - value: Distribution.encode(message).finish() - }; - } -}; -function createBaseDistribution_Range(): Distribution_Range { - return { - min: 0, - max: 0 - }; -} -export const Distribution_Range = { - typeUrl: "/google.api.Range", - encode(message: Distribution_Range, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.min !== 0) { - writer.uint32(9).double(message.min); - } - if (message.max !== 0) { - writer.uint32(17).double(message.max); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Distribution_Range { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDistribution_Range(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.min = reader.double(); - break; - case 2: - message.max = reader.double(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Distribution_Range { - const obj = createBaseDistribution_Range(); - if (isSet(object.min)) obj.min = Number(object.min); - if (isSet(object.max)) obj.max = Number(object.max); - return obj; - }, - toJSON(message: Distribution_Range): unknown { - const obj: any = {}; - message.min !== undefined && (obj.min = message.min); - message.max !== undefined && (obj.max = message.max); - return obj; - }, - fromPartial(object: DeepPartial): Distribution_Range { - const message = createBaseDistribution_Range(); - message.min = object.min ?? 0; - message.max = object.max ?? 0; - return message; - }, - fromSDK(object: Distribution_RangeSDKType): Distribution_Range { - return { - min: object?.min, - max: object?.max - }; - }, - toSDK(message: Distribution_Range): Distribution_RangeSDKType { - const obj: any = {}; - obj.min = message.min; - obj.max = message.max; - return obj; - }, - fromAmino(object: Distribution_RangeAmino): Distribution_Range { - return { - min: object.min, - max: object.max - }; - }, - toAmino(message: Distribution_Range): Distribution_RangeAmino { - const obj: any = {}; - obj.min = message.min; - obj.max = message.max; - return obj; - }, - fromAminoMsg(object: Distribution_RangeAminoMsg): Distribution_Range { - return Distribution_Range.fromAmino(object.value); - }, - fromProtoMsg(message: Distribution_RangeProtoMsg): Distribution_Range { - return Distribution_Range.decode(message.value); - }, - toProto(message: Distribution_Range): Uint8Array { - return Distribution_Range.encode(message).finish(); - }, - toProtoMsg(message: Distribution_Range): Distribution_RangeProtoMsg { - return { - typeUrl: "/google.api.Range", - value: Distribution_Range.encode(message).finish() - }; - } -}; -function createBaseDistribution_BucketOptions(): Distribution_BucketOptions { - return { - linearBuckets: undefined, - exponentialBuckets: undefined, - explicitBuckets: undefined - }; -} -export const Distribution_BucketOptions = { - typeUrl: "/google.api.BucketOptions", - encode(message: Distribution_BucketOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.linearBuckets !== undefined) { - Distribution_BucketOptions_Linear.encode(message.linearBuckets, writer.uint32(10).fork()).ldelim(); - } - if (message.exponentialBuckets !== undefined) { - Distribution_BucketOptions_Exponential.encode(message.exponentialBuckets, writer.uint32(18).fork()).ldelim(); - } - if (message.explicitBuckets !== undefined) { - Distribution_BucketOptions_Explicit.encode(message.explicitBuckets, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Distribution_BucketOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDistribution_BucketOptions(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.linearBuckets = Distribution_BucketOptions_Linear.decode(reader, reader.uint32()); - break; - case 2: - message.exponentialBuckets = Distribution_BucketOptions_Exponential.decode(reader, reader.uint32()); - break; - case 3: - message.explicitBuckets = Distribution_BucketOptions_Explicit.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Distribution_BucketOptions { - const obj = createBaseDistribution_BucketOptions(); - if (isSet(object.linearBuckets)) obj.linearBuckets = Distribution_BucketOptions_Linear.fromJSON(object.linearBuckets); - if (isSet(object.exponentialBuckets)) obj.exponentialBuckets = Distribution_BucketOptions_Exponential.fromJSON(object.exponentialBuckets); - if (isSet(object.explicitBuckets)) obj.explicitBuckets = Distribution_BucketOptions_Explicit.fromJSON(object.explicitBuckets); - return obj; - }, - toJSON(message: Distribution_BucketOptions): unknown { - const obj: any = {}; - message.linearBuckets !== undefined && (obj.linearBuckets = message.linearBuckets ? Distribution_BucketOptions_Linear.toJSON(message.linearBuckets) : undefined); - message.exponentialBuckets !== undefined && (obj.exponentialBuckets = message.exponentialBuckets ? Distribution_BucketOptions_Exponential.toJSON(message.exponentialBuckets) : undefined); - message.explicitBuckets !== undefined && (obj.explicitBuckets = message.explicitBuckets ? Distribution_BucketOptions_Explicit.toJSON(message.explicitBuckets) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Distribution_BucketOptions { - const message = createBaseDistribution_BucketOptions(); - if (object.linearBuckets !== undefined && object.linearBuckets !== null) { - message.linearBuckets = Distribution_BucketOptions_Linear.fromPartial(object.linearBuckets); - } - if (object.exponentialBuckets !== undefined && object.exponentialBuckets !== null) { - message.exponentialBuckets = Distribution_BucketOptions_Exponential.fromPartial(object.exponentialBuckets); - } - if (object.explicitBuckets !== undefined && object.explicitBuckets !== null) { - message.explicitBuckets = Distribution_BucketOptions_Explicit.fromPartial(object.explicitBuckets); - } - return message; - }, - fromSDK(object: Distribution_BucketOptionsSDKType): Distribution_BucketOptions { - return { - linearBuckets: object.linear_buckets ? Distribution_BucketOptions_Linear.fromSDK(object.linear_buckets) : undefined, - exponentialBuckets: object.exponential_buckets ? Distribution_BucketOptions_Exponential.fromSDK(object.exponential_buckets) : undefined, - explicitBuckets: object.explicit_buckets ? Distribution_BucketOptions_Explicit.fromSDK(object.explicit_buckets) : undefined - }; - }, - toSDK(message: Distribution_BucketOptions): Distribution_BucketOptionsSDKType { - const obj: any = {}; - message.linearBuckets !== undefined && (obj.linear_buckets = message.linearBuckets ? Distribution_BucketOptions_Linear.toSDK(message.linearBuckets) : undefined); - message.exponentialBuckets !== undefined && (obj.exponential_buckets = message.exponentialBuckets ? Distribution_BucketOptions_Exponential.toSDK(message.exponentialBuckets) : undefined); - message.explicitBuckets !== undefined && (obj.explicit_buckets = message.explicitBuckets ? Distribution_BucketOptions_Explicit.toSDK(message.explicitBuckets) : undefined); - return obj; - }, - fromAmino(object: Distribution_BucketOptionsAmino): Distribution_BucketOptions { - return { - linearBuckets: object?.linear_buckets ? Distribution_BucketOptions_Linear.fromAmino(object.linear_buckets) : undefined, - exponentialBuckets: object?.exponential_buckets ? Distribution_BucketOptions_Exponential.fromAmino(object.exponential_buckets) : undefined, - explicitBuckets: object?.explicit_buckets ? Distribution_BucketOptions_Explicit.fromAmino(object.explicit_buckets) : undefined - }; - }, - toAmino(message: Distribution_BucketOptions): Distribution_BucketOptionsAmino { - const obj: any = {}; - obj.linear_buckets = message.linearBuckets ? Distribution_BucketOptions_Linear.toAmino(message.linearBuckets) : undefined; - obj.exponential_buckets = message.exponentialBuckets ? Distribution_BucketOptions_Exponential.toAmino(message.exponentialBuckets) : undefined; - obj.explicit_buckets = message.explicitBuckets ? Distribution_BucketOptions_Explicit.toAmino(message.explicitBuckets) : undefined; - return obj; - }, - fromAminoMsg(object: Distribution_BucketOptionsAminoMsg): Distribution_BucketOptions { - return Distribution_BucketOptions.fromAmino(object.value); - }, - fromProtoMsg(message: Distribution_BucketOptionsProtoMsg): Distribution_BucketOptions { - return Distribution_BucketOptions.decode(message.value); - }, - toProto(message: Distribution_BucketOptions): Uint8Array { - return Distribution_BucketOptions.encode(message).finish(); - }, - toProtoMsg(message: Distribution_BucketOptions): Distribution_BucketOptionsProtoMsg { - return { - typeUrl: "/google.api.BucketOptions", - value: Distribution_BucketOptions.encode(message).finish() - }; - } -}; -function createBaseDistribution_BucketOptions_Linear(): Distribution_BucketOptions_Linear { - return { - numFiniteBuckets: 0, - width: 0, - offset: 0 - }; -} -export const Distribution_BucketOptions_Linear = { - typeUrl: "/google.api.Linear", - encode(message: Distribution_BucketOptions_Linear, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.numFiniteBuckets !== 0) { - writer.uint32(8).int32(message.numFiniteBuckets); - } - if (message.width !== 0) { - writer.uint32(17).double(message.width); - } - if (message.offset !== 0) { - writer.uint32(25).double(message.offset); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Distribution_BucketOptions_Linear { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDistribution_BucketOptions_Linear(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.numFiniteBuckets = reader.int32(); - break; - case 2: - message.width = reader.double(); - break; - case 3: - message.offset = reader.double(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Distribution_BucketOptions_Linear { - const obj = createBaseDistribution_BucketOptions_Linear(); - if (isSet(object.numFiniteBuckets)) obj.numFiniteBuckets = Number(object.numFiniteBuckets); - if (isSet(object.width)) obj.width = Number(object.width); - if (isSet(object.offset)) obj.offset = Number(object.offset); - return obj; - }, - toJSON(message: Distribution_BucketOptions_Linear): unknown { - const obj: any = {}; - message.numFiniteBuckets !== undefined && (obj.numFiniteBuckets = Math.round(message.numFiniteBuckets)); - message.width !== undefined && (obj.width = message.width); - message.offset !== undefined && (obj.offset = message.offset); - return obj; - }, - fromPartial(object: DeepPartial): Distribution_BucketOptions_Linear { - const message = createBaseDistribution_BucketOptions_Linear(); - message.numFiniteBuckets = object.numFiniteBuckets ?? 0; - message.width = object.width ?? 0; - message.offset = object.offset ?? 0; - return message; - }, - fromSDK(object: Distribution_BucketOptions_LinearSDKType): Distribution_BucketOptions_Linear { - return { - numFiniteBuckets: object?.num_finite_buckets, - width: object?.width, - offset: object?.offset - }; - }, - toSDK(message: Distribution_BucketOptions_Linear): Distribution_BucketOptions_LinearSDKType { - const obj: any = {}; - obj.num_finite_buckets = message.numFiniteBuckets; - obj.width = message.width; - obj.offset = message.offset; - return obj; - }, - fromAmino(object: Distribution_BucketOptions_LinearAmino): Distribution_BucketOptions_Linear { - return { - numFiniteBuckets: object.num_finite_buckets, - width: object.width, - offset: object.offset - }; - }, - toAmino(message: Distribution_BucketOptions_Linear): Distribution_BucketOptions_LinearAmino { - const obj: any = {}; - obj.num_finite_buckets = message.numFiniteBuckets; - obj.width = message.width; - obj.offset = message.offset; - return obj; - }, - fromAminoMsg(object: Distribution_BucketOptions_LinearAminoMsg): Distribution_BucketOptions_Linear { - return Distribution_BucketOptions_Linear.fromAmino(object.value); - }, - fromProtoMsg(message: Distribution_BucketOptions_LinearProtoMsg): Distribution_BucketOptions_Linear { - return Distribution_BucketOptions_Linear.decode(message.value); - }, - toProto(message: Distribution_BucketOptions_Linear): Uint8Array { - return Distribution_BucketOptions_Linear.encode(message).finish(); - }, - toProtoMsg(message: Distribution_BucketOptions_Linear): Distribution_BucketOptions_LinearProtoMsg { - return { - typeUrl: "/google.api.Linear", - value: Distribution_BucketOptions_Linear.encode(message).finish() - }; - } -}; -function createBaseDistribution_BucketOptions_Exponential(): Distribution_BucketOptions_Exponential { - return { - numFiniteBuckets: 0, - growthFactor: 0, - scale: 0 - }; -} -export const Distribution_BucketOptions_Exponential = { - typeUrl: "/google.api.Exponential", - encode(message: Distribution_BucketOptions_Exponential, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.numFiniteBuckets !== 0) { - writer.uint32(8).int32(message.numFiniteBuckets); - } - if (message.growthFactor !== 0) { - writer.uint32(17).double(message.growthFactor); - } - if (message.scale !== 0) { - writer.uint32(25).double(message.scale); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Distribution_BucketOptions_Exponential { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDistribution_BucketOptions_Exponential(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.numFiniteBuckets = reader.int32(); - break; - case 2: - message.growthFactor = reader.double(); - break; - case 3: - message.scale = reader.double(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Distribution_BucketOptions_Exponential { - const obj = createBaseDistribution_BucketOptions_Exponential(); - if (isSet(object.numFiniteBuckets)) obj.numFiniteBuckets = Number(object.numFiniteBuckets); - if (isSet(object.growthFactor)) obj.growthFactor = Number(object.growthFactor); - if (isSet(object.scale)) obj.scale = Number(object.scale); - return obj; - }, - toJSON(message: Distribution_BucketOptions_Exponential): unknown { - const obj: any = {}; - message.numFiniteBuckets !== undefined && (obj.numFiniteBuckets = Math.round(message.numFiniteBuckets)); - message.growthFactor !== undefined && (obj.growthFactor = message.growthFactor); - message.scale !== undefined && (obj.scale = message.scale); - return obj; - }, - fromPartial(object: DeepPartial): Distribution_BucketOptions_Exponential { - const message = createBaseDistribution_BucketOptions_Exponential(); - message.numFiniteBuckets = object.numFiniteBuckets ?? 0; - message.growthFactor = object.growthFactor ?? 0; - message.scale = object.scale ?? 0; - return message; - }, - fromSDK(object: Distribution_BucketOptions_ExponentialSDKType): Distribution_BucketOptions_Exponential { - return { - numFiniteBuckets: object?.num_finite_buckets, - growthFactor: object?.growth_factor, - scale: object?.scale - }; - }, - toSDK(message: Distribution_BucketOptions_Exponential): Distribution_BucketOptions_ExponentialSDKType { - const obj: any = {}; - obj.num_finite_buckets = message.numFiniteBuckets; - obj.growth_factor = message.growthFactor; - obj.scale = message.scale; - return obj; - }, - fromAmino(object: Distribution_BucketOptions_ExponentialAmino): Distribution_BucketOptions_Exponential { - return { - numFiniteBuckets: object.num_finite_buckets, - growthFactor: object.growth_factor, - scale: object.scale - }; - }, - toAmino(message: Distribution_BucketOptions_Exponential): Distribution_BucketOptions_ExponentialAmino { - const obj: any = {}; - obj.num_finite_buckets = message.numFiniteBuckets; - obj.growth_factor = message.growthFactor; - obj.scale = message.scale; - return obj; - }, - fromAminoMsg(object: Distribution_BucketOptions_ExponentialAminoMsg): Distribution_BucketOptions_Exponential { - return Distribution_BucketOptions_Exponential.fromAmino(object.value); - }, - fromProtoMsg(message: Distribution_BucketOptions_ExponentialProtoMsg): Distribution_BucketOptions_Exponential { - return Distribution_BucketOptions_Exponential.decode(message.value); - }, - toProto(message: Distribution_BucketOptions_Exponential): Uint8Array { - return Distribution_BucketOptions_Exponential.encode(message).finish(); - }, - toProtoMsg(message: Distribution_BucketOptions_Exponential): Distribution_BucketOptions_ExponentialProtoMsg { - return { - typeUrl: "/google.api.Exponential", - value: Distribution_BucketOptions_Exponential.encode(message).finish() - }; - } -}; -function createBaseDistribution_BucketOptions_Explicit(): Distribution_BucketOptions_Explicit { - return { - bounds: [] - }; -} -export const Distribution_BucketOptions_Explicit = { - typeUrl: "/google.api.Explicit", - encode(message: Distribution_BucketOptions_Explicit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - for (const v of message.bounds) { - writer.double(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Distribution_BucketOptions_Explicit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDistribution_BucketOptions_Explicit(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.bounds.push(reader.double()); - } - } else { - message.bounds.push(reader.double()); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Distribution_BucketOptions_Explicit { - const obj = createBaseDistribution_BucketOptions_Explicit(); - if (Array.isArray(object?.bounds)) obj.bounds = object.bounds.map((e: any) => Number(e)); - return obj; - }, - toJSON(message: Distribution_BucketOptions_Explicit): unknown { - const obj: any = {}; - if (message.bounds) { - obj.bounds = message.bounds.map(e => e); - } else { - obj.bounds = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Distribution_BucketOptions_Explicit { - const message = createBaseDistribution_BucketOptions_Explicit(); - message.bounds = object.bounds?.map(e => e) || []; - return message; - }, - fromSDK(object: Distribution_BucketOptions_ExplicitSDKType): Distribution_BucketOptions_Explicit { - return { - bounds: Array.isArray(object?.bounds) ? object.bounds.map((e: any) => e) : [] - }; - }, - toSDK(message: Distribution_BucketOptions_Explicit): Distribution_BucketOptions_ExplicitSDKType { - const obj: any = {}; - if (message.bounds) { - obj.bounds = message.bounds.map(e => e); - } else { - obj.bounds = []; - } - return obj; - }, - fromAmino(object: Distribution_BucketOptions_ExplicitAmino): Distribution_BucketOptions_Explicit { - return { - bounds: Array.isArray(object?.bounds) ? object.bounds.map((e: any) => e) : [] - }; - }, - toAmino(message: Distribution_BucketOptions_Explicit): Distribution_BucketOptions_ExplicitAmino { - const obj: any = {}; - if (message.bounds) { - obj.bounds = message.bounds.map(e => e); - } else { - obj.bounds = []; - } - return obj; - }, - fromAminoMsg(object: Distribution_BucketOptions_ExplicitAminoMsg): Distribution_BucketOptions_Explicit { - return Distribution_BucketOptions_Explicit.fromAmino(object.value); - }, - fromProtoMsg(message: Distribution_BucketOptions_ExplicitProtoMsg): Distribution_BucketOptions_Explicit { - return Distribution_BucketOptions_Explicit.decode(message.value); - }, - toProto(message: Distribution_BucketOptions_Explicit): Uint8Array { - return Distribution_BucketOptions_Explicit.encode(message).finish(); - }, - toProtoMsg(message: Distribution_BucketOptions_Explicit): Distribution_BucketOptions_ExplicitProtoMsg { - return { - typeUrl: "/google.api.Explicit", - value: Distribution_BucketOptions_Explicit.encode(message).finish() - }; - } -}; -function createBaseDistribution_Exemplar(): Distribution_Exemplar { - return { - value: 0, - timestamp: new Date(), - attachments: [] - }; -} -export const Distribution_Exemplar = { - typeUrl: "/google.api.Exemplar", - encode(message: Distribution_Exemplar, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== 0) { - writer.uint32(9).double(message.value); - } - if (message.timestamp !== undefined) { - Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim(); - } - for (const v of message.attachments) { - Any.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Distribution_Exemplar { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDistribution_Exemplar(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.value = reader.double(); - break; - case 2: - message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 3: - message.attachments.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Distribution_Exemplar { - const obj = createBaseDistribution_Exemplar(); - if (isSet(object.value)) obj.value = Number(object.value); - if (isSet(object.timestamp)) obj.timestamp = new Date(object.timestamp); - if (Array.isArray(object?.attachments)) obj.attachments = object.attachments.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: Distribution_Exemplar): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value); - message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString()); - if (message.attachments) { - obj.attachments = message.attachments.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.attachments = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Distribution_Exemplar { - const message = createBaseDistribution_Exemplar(); - message.value = object.value ?? 0; - message.timestamp = object.timestamp ?? undefined; - message.attachments = object.attachments?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: Distribution_ExemplarSDKType): Distribution_Exemplar { - return { - value: object?.value, - timestamp: object.timestamp ?? undefined, - attachments: Array.isArray(object?.attachments) ? object.attachments.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: Distribution_Exemplar): Distribution_ExemplarSDKType { - const obj: any = {}; - obj.value = message.value; - message.timestamp !== undefined && (obj.timestamp = message.timestamp ?? undefined); - if (message.attachments) { - obj.attachments = message.attachments.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.attachments = []; - } - return obj; - }, - fromAmino(object: Distribution_ExemplarAmino): Distribution_Exemplar { - return { - value: object.value, - timestamp: object.timestamp, - attachments: Array.isArray(object?.attachments) ? object.attachments.map((e: any) => Any.fromAmino(e)) : [] - }; - }, - toAmino(message: Distribution_Exemplar): Distribution_ExemplarAmino { - const obj: any = {}; - obj.value = message.value; - obj.timestamp = message.timestamp; - if (message.attachments) { - obj.attachments = message.attachments.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.attachments = []; - } - return obj; - }, - fromAminoMsg(object: Distribution_ExemplarAminoMsg): Distribution_Exemplar { - return Distribution_Exemplar.fromAmino(object.value); - }, - fromProtoMsg(message: Distribution_ExemplarProtoMsg): Distribution_Exemplar { - return Distribution_Exemplar.decode(message.value); - }, - toProto(message: Distribution_Exemplar): Uint8Array { - return Distribution_Exemplar.encode(message).finish(); - }, - toProtoMsg(message: Distribution_Exemplar): Distribution_ExemplarProtoMsg { - return { - typeUrl: "/google.api.Exemplar", - value: Distribution_Exemplar.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/documentation.ts b/quicksilverjs/src/codegen/google/api/documentation.ts deleted file mode 100644 index 44d1fea37..000000000 --- a/quicksilverjs/src/codegen/google/api/documentation.ts +++ /dev/null @@ -1,810 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * `Documentation` provides the information for describing a service. - * - * Example: - *
documentation:
- *   summary: >
- *     The Google Calendar API gives access
- *     to most calendar features.
- *   pages:
- *   - name: Overview
- *     content: (== include google/foo/overview.md ==)
- *   - name: Tutorial
- *     content: (== include google/foo/tutorial.md ==)
- *     subpages;
- *     - name: Java
- *       content: (== include google/foo/tutorial_java.md ==)
- *   rules:
- *   - selector: google.calendar.Calendar.Get
- *     description: >
- *       ...
- *   - selector: google.calendar.Calendar.Put
- *     description: >
- *       ...
- * 
- * Documentation is provided in markdown syntax. In addition to - * standard markdown features, definition lists, tables and fenced - * code blocks are supported. Section headers can be provided and are - * interpreted relative to the section nesting of the context where - * a documentation fragment is embedded. - * - * Documentation from the IDL is merged with documentation defined - * via the config at normalization time, where documentation provided - * by config rules overrides IDL provided. - * - * A number of constructs specific to the API platform are supported - * in documentation text. - * - * In order to reference a proto element, the following - * notation can be used: - *
[fully.qualified.proto.name][]
- * To override the display text used for the link, this can be used: - *
[display text][fully.qualified.proto.name]
- * Text can be excluded from doc using the following notation: - *
(-- internal comment --)
- * - * A few directives are available in documentation. Note that - * directives must appear on a single line to be properly - * identified. The `include` directive includes a markdown file from - * an external source: - *
(== include path/to/file ==)
- * The `resource_for` directive marks a message to be the resource of - * a collection in REST view. If it is not specified, tools attempt - * to infer the resource from the operations in a collection: - *
(== resource_for v1.shelves.books ==)
- * The directive `suppress_warning` does not directly affect documentation - * and is documented together with service config validation. - */ -export interface Documentation { - /** - * A short summary of what the service does. Can only be provided by - * plain text. - */ - summary: string; - /** The top level pages for the documentation set. */ - pages: Page[]; - /** - * A list of documentation rules that apply to individual API elements. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: DocumentationRule[]; - /** The URL to the root of documentation. */ - documentationRootUrl: string; - /** - * Specifies the service root url if the default one (the service name - * from the yaml file) is not suitable. This can be seen in any fully - * specified service urls as well as sections that show a base that other - * urls are relative to. - */ - serviceRootUrl: string; - /** - * Declares a single overview page. For example: - *
documentation:
-   *   summary: ...
-   *   overview: (== include overview.md ==)
-   * 
- * This is a shortcut for the following declaration (using pages style): - *
documentation:
-   *   summary: ...
-   *   pages:
-   *   - name: Overview
-   *     content: (== include overview.md ==)
-   * 
- * Note: you cannot specify both `overview` field and `pages` field. - */ - overview: string; -} -export interface DocumentationProtoMsg { - typeUrl: "/google.api.Documentation"; - value: Uint8Array; -} -/** - * `Documentation` provides the information for describing a service. - * - * Example: - *
documentation:
- *   summary: >
- *     The Google Calendar API gives access
- *     to most calendar features.
- *   pages:
- *   - name: Overview
- *     content: (== include google/foo/overview.md ==)
- *   - name: Tutorial
- *     content: (== include google/foo/tutorial.md ==)
- *     subpages;
- *     - name: Java
- *       content: (== include google/foo/tutorial_java.md ==)
- *   rules:
- *   - selector: google.calendar.Calendar.Get
- *     description: >
- *       ...
- *   - selector: google.calendar.Calendar.Put
- *     description: >
- *       ...
- * 
- * Documentation is provided in markdown syntax. In addition to - * standard markdown features, definition lists, tables and fenced - * code blocks are supported. Section headers can be provided and are - * interpreted relative to the section nesting of the context where - * a documentation fragment is embedded. - * - * Documentation from the IDL is merged with documentation defined - * via the config at normalization time, where documentation provided - * by config rules overrides IDL provided. - * - * A number of constructs specific to the API platform are supported - * in documentation text. - * - * In order to reference a proto element, the following - * notation can be used: - *
[fully.qualified.proto.name][]
- * To override the display text used for the link, this can be used: - *
[display text][fully.qualified.proto.name]
- * Text can be excluded from doc using the following notation: - *
(-- internal comment --)
- * - * A few directives are available in documentation. Note that - * directives must appear on a single line to be properly - * identified. The `include` directive includes a markdown file from - * an external source: - *
(== include path/to/file ==)
- * The `resource_for` directive marks a message to be the resource of - * a collection in REST view. If it is not specified, tools attempt - * to infer the resource from the operations in a collection: - *
(== resource_for v1.shelves.books ==)
- * The directive `suppress_warning` does not directly affect documentation - * and is documented together with service config validation. - */ -export interface DocumentationAmino { - /** - * A short summary of what the service does. Can only be provided by - * plain text. - */ - summary: string; - /** The top level pages for the documentation set. */ - pages: PageAmino[]; - /** - * A list of documentation rules that apply to individual API elements. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: DocumentationRuleAmino[]; - /** The URL to the root of documentation. */ - documentation_root_url: string; - /** - * Specifies the service root url if the default one (the service name - * from the yaml file) is not suitable. This can be seen in any fully - * specified service urls as well as sections that show a base that other - * urls are relative to. - */ - service_root_url: string; - /** - * Declares a single overview page. For example: - *
documentation:
-   *   summary: ...
-   *   overview: (== include overview.md ==)
-   * 
- * This is a shortcut for the following declaration (using pages style): - *
documentation:
-   *   summary: ...
-   *   pages:
-   *   - name: Overview
-   *     content: (== include overview.md ==)
-   * 
- * Note: you cannot specify both `overview` field and `pages` field. - */ - overview: string; -} -export interface DocumentationAminoMsg { - type: "/google.api.Documentation"; - value: DocumentationAmino; -} -/** - * `Documentation` provides the information for describing a service. - * - * Example: - *
documentation:
- *   summary: >
- *     The Google Calendar API gives access
- *     to most calendar features.
- *   pages:
- *   - name: Overview
- *     content: (== include google/foo/overview.md ==)
- *   - name: Tutorial
- *     content: (== include google/foo/tutorial.md ==)
- *     subpages;
- *     - name: Java
- *       content: (== include google/foo/tutorial_java.md ==)
- *   rules:
- *   - selector: google.calendar.Calendar.Get
- *     description: >
- *       ...
- *   - selector: google.calendar.Calendar.Put
- *     description: >
- *       ...
- * 
- * Documentation is provided in markdown syntax. In addition to - * standard markdown features, definition lists, tables and fenced - * code blocks are supported. Section headers can be provided and are - * interpreted relative to the section nesting of the context where - * a documentation fragment is embedded. - * - * Documentation from the IDL is merged with documentation defined - * via the config at normalization time, where documentation provided - * by config rules overrides IDL provided. - * - * A number of constructs specific to the API platform are supported - * in documentation text. - * - * In order to reference a proto element, the following - * notation can be used: - *
[fully.qualified.proto.name][]
- * To override the display text used for the link, this can be used: - *
[display text][fully.qualified.proto.name]
- * Text can be excluded from doc using the following notation: - *
(-- internal comment --)
- * - * A few directives are available in documentation. Note that - * directives must appear on a single line to be properly - * identified. The `include` directive includes a markdown file from - * an external source: - *
(== include path/to/file ==)
- * The `resource_for` directive marks a message to be the resource of - * a collection in REST view. If it is not specified, tools attempt - * to infer the resource from the operations in a collection: - *
(== resource_for v1.shelves.books ==)
- * The directive `suppress_warning` does not directly affect documentation - * and is documented together with service config validation. - */ -export interface DocumentationSDKType { - summary: string; - pages: PageSDKType[]; - rules: DocumentationRuleSDKType[]; - documentation_root_url: string; - service_root_url: string; - overview: string; -} -/** A documentation rule provides information about individual API elements. */ -export interface DocumentationRule { - /** - * The selector is a comma-separated list of patterns. Each pattern is a - * qualified name of the element which may end in "*", indicating a wildcard. - * Wildcards are only allowed at the end and for a whole component of the - * qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A - * wildcard will match one or more components. To specify a default for all - * applicable elements, the whole pattern "*" is used. - */ - selector: string; - /** Description of the selected API(s). */ - description: string; - /** - * Deprecation description of the selected element(s). It can be provided if - * an element is marked as `deprecated`. - */ - deprecationDescription: string; -} -export interface DocumentationRuleProtoMsg { - typeUrl: "/google.api.DocumentationRule"; - value: Uint8Array; -} -/** A documentation rule provides information about individual API elements. */ -export interface DocumentationRuleAmino { - /** - * The selector is a comma-separated list of patterns. Each pattern is a - * qualified name of the element which may end in "*", indicating a wildcard. - * Wildcards are only allowed at the end and for a whole component of the - * qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A - * wildcard will match one or more components. To specify a default for all - * applicable elements, the whole pattern "*" is used. - */ - selector: string; - /** Description of the selected API(s). */ - description: string; - /** - * Deprecation description of the selected element(s). It can be provided if - * an element is marked as `deprecated`. - */ - deprecation_description: string; -} -export interface DocumentationRuleAminoMsg { - type: "/google.api.DocumentationRule"; - value: DocumentationRuleAmino; -} -/** A documentation rule provides information about individual API elements. */ -export interface DocumentationRuleSDKType { - selector: string; - description: string; - deprecation_description: string; -} -/** - * Represents a documentation page. A page can contain subpages to represent - * nested documentation set structure. - */ -export interface Page { - /** - * The name of the page. It will be used as an identity of the page to - * generate URI of the page, text of the link to this page in navigation, - * etc. The full page name (start from the root page name to this page - * concatenated with `.`) can be used as reference to the page in your - * documentation. For example: - *
pages:
-   * - name: Tutorial
-   *   content: (== include tutorial.md ==)
-   *   subpages:
-   *   - name: Java
-   *     content: (== include tutorial_java.md ==)
-   * 
- * You can reference `Java` page using Markdown reference link syntax: - * `[Java][Tutorial.Java]`. - */ - name: string; - /** - * The Markdown content of the page. You can use (== include {path} - * ==) to include content from a Markdown file. - */ - content: string; - /** - * Subpages of this page. The order of subpages specified here will be - * honored in the generated docset. - */ - subpages: Page[]; -} -export interface PageProtoMsg { - typeUrl: "/google.api.Page"; - value: Uint8Array; -} -/** - * Represents a documentation page. A page can contain subpages to represent - * nested documentation set structure. - */ -export interface PageAmino { - /** - * The name of the page. It will be used as an identity of the page to - * generate URI of the page, text of the link to this page in navigation, - * etc. The full page name (start from the root page name to this page - * concatenated with `.`) can be used as reference to the page in your - * documentation. For example: - *
pages:
-   * - name: Tutorial
-   *   content: (== include tutorial.md ==)
-   *   subpages:
-   *   - name: Java
-   *     content: (== include tutorial_java.md ==)
-   * 
- * You can reference `Java` page using Markdown reference link syntax: - * `[Java][Tutorial.Java]`. - */ - name: string; - /** - * The Markdown content of the page. You can use (== include {path} - * ==) to include content from a Markdown file. - */ - content: string; - /** - * Subpages of this page. The order of subpages specified here will be - * honored in the generated docset. - */ - subpages: PageAmino[]; -} -export interface PageAminoMsg { - type: "/google.api.Page"; - value: PageAmino; -} -/** - * Represents a documentation page. A page can contain subpages to represent - * nested documentation set structure. - */ -export interface PageSDKType { - name: string; - content: string; - subpages: PageSDKType[]; -} -function createBaseDocumentation(): Documentation { - return { - summary: "", - pages: [], - rules: [], - documentationRootUrl: "", - serviceRootUrl: "", - overview: "" - }; -} -export const Documentation = { - typeUrl: "/google.api.Documentation", - encode(message: Documentation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.summary !== "") { - writer.uint32(10).string(message.summary); - } - for (const v of message.pages) { - Page.encode(v!, writer.uint32(42).fork()).ldelim(); - } - for (const v of message.rules) { - DocumentationRule.encode(v!, writer.uint32(26).fork()).ldelim(); - } - if (message.documentationRootUrl !== "") { - writer.uint32(34).string(message.documentationRootUrl); - } - if (message.serviceRootUrl !== "") { - writer.uint32(50).string(message.serviceRootUrl); - } - if (message.overview !== "") { - writer.uint32(18).string(message.overview); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Documentation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDocumentation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.summary = reader.string(); - break; - case 5: - message.pages.push(Page.decode(reader, reader.uint32())); - break; - case 3: - message.rules.push(DocumentationRule.decode(reader, reader.uint32())); - break; - case 4: - message.documentationRootUrl = reader.string(); - break; - case 6: - message.serviceRootUrl = reader.string(); - break; - case 2: - message.overview = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Documentation { - const obj = createBaseDocumentation(); - if (isSet(object.summary)) obj.summary = String(object.summary); - if (Array.isArray(object?.pages)) obj.pages = object.pages.map((e: any) => Page.fromJSON(e)); - if (Array.isArray(object?.rules)) obj.rules = object.rules.map((e: any) => DocumentationRule.fromJSON(e)); - if (isSet(object.documentationRootUrl)) obj.documentationRootUrl = String(object.documentationRootUrl); - if (isSet(object.serviceRootUrl)) obj.serviceRootUrl = String(object.serviceRootUrl); - if (isSet(object.overview)) obj.overview = String(object.overview); - return obj; - }, - toJSON(message: Documentation): unknown { - const obj: any = {}; - message.summary !== undefined && (obj.summary = message.summary); - if (message.pages) { - obj.pages = message.pages.map(e => e ? Page.toJSON(e) : undefined); - } else { - obj.pages = []; - } - if (message.rules) { - obj.rules = message.rules.map(e => e ? DocumentationRule.toJSON(e) : undefined); - } else { - obj.rules = []; - } - message.documentationRootUrl !== undefined && (obj.documentationRootUrl = message.documentationRootUrl); - message.serviceRootUrl !== undefined && (obj.serviceRootUrl = message.serviceRootUrl); - message.overview !== undefined && (obj.overview = message.overview); - return obj; - }, - fromPartial(object: DeepPartial): Documentation { - const message = createBaseDocumentation(); - message.summary = object.summary ?? ""; - message.pages = object.pages?.map(e => Page.fromPartial(e)) || []; - message.rules = object.rules?.map(e => DocumentationRule.fromPartial(e)) || []; - message.documentationRootUrl = object.documentationRootUrl ?? ""; - message.serviceRootUrl = object.serviceRootUrl ?? ""; - message.overview = object.overview ?? ""; - return message; - }, - fromSDK(object: DocumentationSDKType): Documentation { - return { - summary: object?.summary, - pages: Array.isArray(object?.pages) ? object.pages.map((e: any) => Page.fromSDK(e)) : [], - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => DocumentationRule.fromSDK(e)) : [], - documentationRootUrl: object?.documentation_root_url, - serviceRootUrl: object?.service_root_url, - overview: object?.overview - }; - }, - toSDK(message: Documentation): DocumentationSDKType { - const obj: any = {}; - obj.summary = message.summary; - if (message.pages) { - obj.pages = message.pages.map(e => e ? Page.toSDK(e) : undefined); - } else { - obj.pages = []; - } - if (message.rules) { - obj.rules = message.rules.map(e => e ? DocumentationRule.toSDK(e) : undefined); - } else { - obj.rules = []; - } - obj.documentation_root_url = message.documentationRootUrl; - obj.service_root_url = message.serviceRootUrl; - obj.overview = message.overview; - return obj; - }, - fromAmino(object: DocumentationAmino): Documentation { - return { - summary: object.summary, - pages: Array.isArray(object?.pages) ? object.pages.map((e: any) => Page.fromAmino(e)) : [], - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => DocumentationRule.fromAmino(e)) : [], - documentationRootUrl: object.documentation_root_url, - serviceRootUrl: object.service_root_url, - overview: object.overview - }; - }, - toAmino(message: Documentation): DocumentationAmino { - const obj: any = {}; - obj.summary = message.summary; - if (message.pages) { - obj.pages = message.pages.map(e => e ? Page.toAmino(e) : undefined); - } else { - obj.pages = []; - } - if (message.rules) { - obj.rules = message.rules.map(e => e ? DocumentationRule.toAmino(e) : undefined); - } else { - obj.rules = []; - } - obj.documentation_root_url = message.documentationRootUrl; - obj.service_root_url = message.serviceRootUrl; - obj.overview = message.overview; - return obj; - }, - fromAminoMsg(object: DocumentationAminoMsg): Documentation { - return Documentation.fromAmino(object.value); - }, - fromProtoMsg(message: DocumentationProtoMsg): Documentation { - return Documentation.decode(message.value); - }, - toProto(message: Documentation): Uint8Array { - return Documentation.encode(message).finish(); - }, - toProtoMsg(message: Documentation): DocumentationProtoMsg { - return { - typeUrl: "/google.api.Documentation", - value: Documentation.encode(message).finish() - }; - } -}; -function createBaseDocumentationRule(): DocumentationRule { - return { - selector: "", - description: "", - deprecationDescription: "" - }; -} -export const DocumentationRule = { - typeUrl: "/google.api.DocumentationRule", - encode(message: DocumentationRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.selector !== "") { - writer.uint32(10).string(message.selector); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.deprecationDescription !== "") { - writer.uint32(26).string(message.deprecationDescription); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DocumentationRule { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDocumentationRule(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.deprecationDescription = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DocumentationRule { - const obj = createBaseDocumentationRule(); - if (isSet(object.selector)) obj.selector = String(object.selector); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.deprecationDescription)) obj.deprecationDescription = String(object.deprecationDescription); - return obj; - }, - toJSON(message: DocumentationRule): unknown { - const obj: any = {}; - message.selector !== undefined && (obj.selector = message.selector); - message.description !== undefined && (obj.description = message.description); - message.deprecationDescription !== undefined && (obj.deprecationDescription = message.deprecationDescription); - return obj; - }, - fromPartial(object: DeepPartial): DocumentationRule { - const message = createBaseDocumentationRule(); - message.selector = object.selector ?? ""; - message.description = object.description ?? ""; - message.deprecationDescription = object.deprecationDescription ?? ""; - return message; - }, - fromSDK(object: DocumentationRuleSDKType): DocumentationRule { - return { - selector: object?.selector, - description: object?.description, - deprecationDescription: object?.deprecation_description - }; - }, - toSDK(message: DocumentationRule): DocumentationRuleSDKType { - const obj: any = {}; - obj.selector = message.selector; - obj.description = message.description; - obj.deprecation_description = message.deprecationDescription; - return obj; - }, - fromAmino(object: DocumentationRuleAmino): DocumentationRule { - return { - selector: object.selector, - description: object.description, - deprecationDescription: object.deprecation_description - }; - }, - toAmino(message: DocumentationRule): DocumentationRuleAmino { - const obj: any = {}; - obj.selector = message.selector; - obj.description = message.description; - obj.deprecation_description = message.deprecationDescription; - return obj; - }, - fromAminoMsg(object: DocumentationRuleAminoMsg): DocumentationRule { - return DocumentationRule.fromAmino(object.value); - }, - fromProtoMsg(message: DocumentationRuleProtoMsg): DocumentationRule { - return DocumentationRule.decode(message.value); - }, - toProto(message: DocumentationRule): Uint8Array { - return DocumentationRule.encode(message).finish(); - }, - toProtoMsg(message: DocumentationRule): DocumentationRuleProtoMsg { - return { - typeUrl: "/google.api.DocumentationRule", - value: DocumentationRule.encode(message).finish() - }; - } -}; -function createBasePage(): Page { - return { - name: "", - content: "", - subpages: [] - }; -} -export const Page = { - typeUrl: "/google.api.Page", - encode(message: Page, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.content !== "") { - writer.uint32(18).string(message.content); - } - for (const v of message.subpages) { - Page.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Page { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBasePage(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.content = reader.string(); - break; - case 3: - message.subpages.push(Page.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Page { - const obj = createBasePage(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.content)) obj.content = String(object.content); - if (Array.isArray(object?.subpages)) obj.subpages = object.subpages.map((e: any) => Page.fromJSON(e)); - return obj; - }, - toJSON(message: Page): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.content !== undefined && (obj.content = message.content); - if (message.subpages) { - obj.subpages = message.subpages.map(e => e ? Page.toJSON(e) : undefined); - } else { - obj.subpages = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Page { - const message = createBasePage(); - message.name = object.name ?? ""; - message.content = object.content ?? ""; - message.subpages = object.subpages?.map(e => Page.fromPartial(e)) || []; - return message; - }, - fromSDK(object: PageSDKType): Page { - return { - name: object?.name, - content: object?.content, - subpages: Array.isArray(object?.subpages) ? object.subpages.map((e: any) => Page.fromSDK(e)) : [] - }; - }, - toSDK(message: Page): PageSDKType { - const obj: any = {}; - obj.name = message.name; - obj.content = message.content; - if (message.subpages) { - obj.subpages = message.subpages.map(e => e ? Page.toSDK(e) : undefined); - } else { - obj.subpages = []; - } - return obj; - }, - fromAmino(object: PageAmino): Page { - return { - name: object.name, - content: object.content, - subpages: Array.isArray(object?.subpages) ? object.subpages.map((e: any) => Page.fromAmino(e)) : [] - }; - }, - toAmino(message: Page): PageAmino { - const obj: any = {}; - obj.name = message.name; - obj.content = message.content; - if (message.subpages) { - obj.subpages = message.subpages.map(e => e ? Page.toAmino(e) : undefined); - } else { - obj.subpages = []; - } - return obj; - }, - fromAminoMsg(object: PageAminoMsg): Page { - return Page.fromAmino(object.value); - }, - fromProtoMsg(message: PageProtoMsg): Page { - return Page.decode(message.value); - }, - toProto(message: Page): Uint8Array { - return Page.encode(message).finish(); - }, - toProtoMsg(message: Page): PageProtoMsg { - return { - typeUrl: "/google.api.Page", - value: Page.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/endpoint.ts b/quicksilverjs/src/codegen/google/api/endpoint.ts deleted file mode 100644 index e487c08dc..000000000 --- a/quicksilverjs/src/codegen/google/api/endpoint.ts +++ /dev/null @@ -1,271 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * `Endpoint` describes a network endpoint of a service that serves a set of - * APIs. It is commonly known as a service endpoint. A service may expose - * any number of service endpoints, and all service endpoints share the same - * service definition, such as quota limits and monitoring metrics. - * - * Example service configuration: - * - * name: library-example.googleapis.com - * endpoints: - * # Below entry makes 'google.example.library.v1.Library' - * # API be served from endpoint address library-example.googleapis.com. - * # It also allows HTTP OPTIONS calls to be passed to the backend, for - * # it to decide whether the subsequent cross-origin request is - * # allowed to proceed. - * - name: library-example.googleapis.com - * allow_cors: true - */ -export interface Endpoint { - /** The canonical name of this endpoint. */ - name: string; - /** - * Unimplemented. Dot not use. - * - * DEPRECATED: This field is no longer supported. Instead of using aliases, - * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended - * aliases. - * - * Additional names that this endpoint will be hosted on. - */ - /** @deprecated */ - aliases: string[]; - /** - * The specification of an Internet routable address of API frontend that will - * handle requests to this [API - * Endpoint](https://cloud.google.com/apis/design/glossary). It should be - * either a valid IPv4 address or a fully-qualified domain name. For example, - * "8.8.8.8" or "myservice.appspot.com". - */ - target: string; - /** - * Allowing - * [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka - * cross-domain traffic, would allow the backends served from this endpoint to - * receive and respond to HTTP OPTIONS requests. The response will be used by - * the browser to determine whether the subsequent cross-origin request is - * allowed to proceed. - */ - allowCors: boolean; -} -export interface EndpointProtoMsg { - typeUrl: "/google.api.Endpoint"; - value: Uint8Array; -} -/** - * `Endpoint` describes a network endpoint of a service that serves a set of - * APIs. It is commonly known as a service endpoint. A service may expose - * any number of service endpoints, and all service endpoints share the same - * service definition, such as quota limits and monitoring metrics. - * - * Example service configuration: - * - * name: library-example.googleapis.com - * endpoints: - * # Below entry makes 'google.example.library.v1.Library' - * # API be served from endpoint address library-example.googleapis.com. - * # It also allows HTTP OPTIONS calls to be passed to the backend, for - * # it to decide whether the subsequent cross-origin request is - * # allowed to proceed. - * - name: library-example.googleapis.com - * allow_cors: true - */ -export interface EndpointAmino { - /** The canonical name of this endpoint. */ - name: string; - /** - * Unimplemented. Dot not use. - * - * DEPRECATED: This field is no longer supported. Instead of using aliases, - * please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended - * aliases. - * - * Additional names that this endpoint will be hosted on. - */ - /** @deprecated */ - aliases: string[]; - /** - * The specification of an Internet routable address of API frontend that will - * handle requests to this [API - * Endpoint](https://cloud.google.com/apis/design/glossary). It should be - * either a valid IPv4 address or a fully-qualified domain name. For example, - * "8.8.8.8" or "myservice.appspot.com". - */ - target: string; - /** - * Allowing - * [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka - * cross-domain traffic, would allow the backends served from this endpoint to - * receive and respond to HTTP OPTIONS requests. The response will be used by - * the browser to determine whether the subsequent cross-origin request is - * allowed to proceed. - */ - allow_cors: boolean; -} -export interface EndpointAminoMsg { - type: "/google.api.Endpoint"; - value: EndpointAmino; -} -/** - * `Endpoint` describes a network endpoint of a service that serves a set of - * APIs. It is commonly known as a service endpoint. A service may expose - * any number of service endpoints, and all service endpoints share the same - * service definition, such as quota limits and monitoring metrics. - * - * Example service configuration: - * - * name: library-example.googleapis.com - * endpoints: - * # Below entry makes 'google.example.library.v1.Library' - * # API be served from endpoint address library-example.googleapis.com. - * # It also allows HTTP OPTIONS calls to be passed to the backend, for - * # it to decide whether the subsequent cross-origin request is - * # allowed to proceed. - * - name: library-example.googleapis.com - * allow_cors: true - */ -export interface EndpointSDKType { - name: string; - /** @deprecated */ - aliases: string[]; - target: string; - allow_cors: boolean; -} -function createBaseEndpoint(): Endpoint { - return { - name: "", - aliases: [], - target: "", - allowCors: false - }; -} -export const Endpoint = { - typeUrl: "/google.api.Endpoint", - encode(message: Endpoint, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - for (const v of message.aliases) { - writer.uint32(18).string(v!); - } - if (message.target !== "") { - writer.uint32(810).string(message.target); - } - if (message.allowCors === true) { - writer.uint32(40).bool(message.allowCors); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Endpoint { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEndpoint(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.aliases.push(reader.string()); - break; - case 101: - message.target = reader.string(); - break; - case 5: - message.allowCors = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Endpoint { - const obj = createBaseEndpoint(); - if (isSet(object.name)) obj.name = String(object.name); - if (Array.isArray(object?.aliases)) obj.aliases = object.aliases.map((e: any) => String(e)); - if (isSet(object.target)) obj.target = String(object.target); - if (isSet(object.allowCors)) obj.allowCors = Boolean(object.allowCors); - return obj; - }, - toJSON(message: Endpoint): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.aliases) { - obj.aliases = message.aliases.map(e => e); - } else { - obj.aliases = []; - } - message.target !== undefined && (obj.target = message.target); - message.allowCors !== undefined && (obj.allowCors = message.allowCors); - return obj; - }, - fromPartial(object: DeepPartial): Endpoint { - const message = createBaseEndpoint(); - message.name = object.name ?? ""; - message.aliases = object.aliases?.map(e => e) || []; - message.target = object.target ?? ""; - message.allowCors = object.allowCors ?? false; - return message; - }, - fromSDK(object: EndpointSDKType): Endpoint { - return { - name: object?.name, - aliases: Array.isArray(object?.aliases) ? object.aliases.map((e: any) => e) : [], - target: object?.target, - allowCors: object?.allow_cors - }; - }, - toSDK(message: Endpoint): EndpointSDKType { - const obj: any = {}; - obj.name = message.name; - if (message.aliases) { - obj.aliases = message.aliases.map(e => e); - } else { - obj.aliases = []; - } - obj.target = message.target; - obj.allow_cors = message.allowCors; - return obj; - }, - fromAmino(object: EndpointAmino): Endpoint { - return { - name: object.name, - aliases: Array.isArray(object?.aliases) ? object.aliases.map((e: any) => e) : [], - target: object.target, - allowCors: object.allow_cors - }; - }, - toAmino(message: Endpoint): EndpointAmino { - const obj: any = {}; - obj.name = message.name; - if (message.aliases) { - obj.aliases = message.aliases.map(e => e); - } else { - obj.aliases = []; - } - obj.target = message.target; - obj.allow_cors = message.allowCors; - return obj; - }, - fromAminoMsg(object: EndpointAminoMsg): Endpoint { - return Endpoint.fromAmino(object.value); - }, - fromProtoMsg(message: EndpointProtoMsg): Endpoint { - return Endpoint.decode(message.value); - }, - toProto(message: Endpoint): Uint8Array { - return Endpoint.encode(message).finish(); - }, - toProtoMsg(message: Endpoint): EndpointProtoMsg { - return { - typeUrl: "/google.api.Endpoint", - value: Endpoint.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/error_reason.ts b/quicksilverjs/src/codegen/google/api/error_reason.ts deleted file mode 100644 index 2241db705..000000000 --- a/quicksilverjs/src/codegen/google/api/error_reason.ts +++ /dev/null @@ -1,513 +0,0 @@ -export const protobufPackage = "google.api"; -/** - * Defines the supported values for `google.rpc.ErrorInfo.reason` for the - * `googleapis.com` error domain. This error domain is reserved for [Service - * Infrastructure](https://cloud.google.com/service-infrastructure/docs/overview). - * For each error info of this domain, the metadata key "service" refers to the - * logical identifier of an API service, such as "pubsub.googleapis.com". The - * "consumer" refers to the entity that consumes an API Service. It typically is - * a Google project that owns the client application or the server resource, - * such as "projects/123". Other metadata keys are specific to each error - * reason. For more information, see the definition of the specific error - * reason. - */ -export enum ErrorReason { - /** ERROR_REASON_UNSPECIFIED - Do not use this default value. */ - ERROR_REASON_UNSPECIFIED = 0, - /** - * SERVICE_DISABLED - The request is calling a disabled service for a consumer. - * - * Example of an ErrorInfo when the consumer "projects/123" contacting - * "pubsub.googleapis.com" service which is disabled: - * - * { "reason": "SERVICE_DISABLED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } - * - * This response indicates the "pubsub.googleapis.com" has been disabled in - * "projects/123". - */ - SERVICE_DISABLED = 1, - /** - * BILLING_DISABLED - The request whose associated billing account is disabled. - * - * Example of an ErrorInfo when the consumer "projects/123" fails to contact - * "pubsub.googleapis.com" service because the associated billing account is - * disabled: - * - * { "reason": "BILLING_DISABLED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com" - * } - * } - * - * This response indicates the billing account associated has been disabled. - */ - BILLING_DISABLED = 2, - /** - * API_KEY_INVALID - The request is denied because the provided [API - * key](https://cloud.google.com/docs/authentication/api-keys) is invalid. It - * may be in a bad format, cannot be found, or has been expired). - * - * Example of an ErrorInfo when the request is contacting - * "storage.googleapis.com" service with an invalid API key: - * - * { "reason": "API_KEY_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * } - * } - */ - API_KEY_INVALID = 3, - /** - * API_KEY_SERVICE_BLOCKED - The request is denied because it violates [API key API - * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions). - * - * Example of an ErrorInfo when the consumer "projects/123" fails to call the - * "storage.googleapis.com" service because this service is restricted in the - * API key: - * - * { "reason": "API_KEY_SERVICE_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } - */ - API_KEY_SERVICE_BLOCKED = 4, - /** - * API_KEY_HTTP_REFERRER_BLOCKED - The request is denied because it violates [API key HTTP - * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_http_restrictions). - * - * Example of an ErrorInfo when the consumer "projects/123" fails to call - * "storage.googleapis.com" service because the http referrer of the request - * violates API key HTTP restrictions: - * - * { "reason": "API_KEY_HTTP_REFERRER_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com", - * } - * } - */ - API_KEY_HTTP_REFERRER_BLOCKED = 7, - /** - * API_KEY_IP_ADDRESS_BLOCKED - The request is denied because it violates [API key IP address - * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions). - * - * Example of an ErrorInfo when the consumer "projects/123" fails to call - * "storage.googleapis.com" service because the caller IP of the request - * violates API key IP address restrictions: - * - * { "reason": "API_KEY_IP_ADDRESS_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com", - * } - * } - */ - API_KEY_IP_ADDRESS_BLOCKED = 8, - /** - * API_KEY_ANDROID_APP_BLOCKED - The request is denied because it violates [API key Android application - * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions). - * - * Example of an ErrorInfo when the consumer "projects/123" fails to call - * "storage.googleapis.com" service because the request from the Android apps - * violates the API key Android application restrictions: - * - * { "reason": "API_KEY_ANDROID_APP_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } - */ - API_KEY_ANDROID_APP_BLOCKED = 9, - /** - * API_KEY_IOS_APP_BLOCKED - The request is denied because it violates [API key iOS application - * restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions). - * - * Example of an ErrorInfo when the consumer "projects/123" fails to call - * "storage.googleapis.com" service because the request from the iOS apps - * violates the API key iOS application restrictions: - * - * { "reason": "API_KEY_IOS_APP_BLOCKED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } - */ - API_KEY_IOS_APP_BLOCKED = 13, - /** - * RATE_LIMIT_EXCEEDED - The request is denied because there is not enough rate quota for the - * consumer. - * - * Example of an ErrorInfo when the consumer "projects/123" fails to contact - * "pubsub.googleapis.com" service because consumer's rate quota usage has - * reached the maximum value set for the quota limit - * "ReadsPerMinutePerProject" on the quota metric - * "pubsub.googleapis.com/read_requests": - * - * { "reason": "RATE_LIMIT_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "pubsub.googleapis.com", - * "quota_metric": "pubsub.googleapis.com/read_requests", - * "quota_limit": "ReadsPerMinutePerProject" - * } - * } - * - * Example of an ErrorInfo when the consumer "projects/123" checks quota on - * the service "dataflow.googleapis.com" and hits the organization quota - * limit "DefaultRequestsPerMinutePerOrganization" on the metric - * "dataflow.googleapis.com/default_requests". - * - * { "reason": "RATE_LIMIT_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "dataflow.googleapis.com", - * "quota_metric": "dataflow.googleapis.com/default_requests", - * "quota_limit": "DefaultRequestsPerMinutePerOrganization" - * } - * } - */ - RATE_LIMIT_EXCEEDED = 5, - /** - * RESOURCE_QUOTA_EXCEEDED - The request is denied because there is not enough resource quota for the - * consumer. - * - * Example of an ErrorInfo when the consumer "projects/123" fails to contact - * "compute.googleapis.com" service because consumer's resource quota usage - * has reached the maximum value set for the quota limit "VMsPerProject" - * on the quota metric "compute.googleapis.com/vms": - * - * { "reason": "RESOURCE_QUOTA_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "compute.googleapis.com", - * "quota_metric": "compute.googleapis.com/vms", - * "quota_limit": "VMsPerProject" - * } - * } - * - * Example of an ErrorInfo when the consumer "projects/123" checks resource - * quota on the service "dataflow.googleapis.com" and hits the organization - * quota limit "jobs-per-organization" on the metric - * "dataflow.googleapis.com/job_count". - * - * { "reason": "RESOURCE_QUOTA_EXCEEDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "dataflow.googleapis.com", - * "quota_metric": "dataflow.googleapis.com/job_count", - * "quota_limit": "jobs-per-organization" - * } - * } - */ - RESOURCE_QUOTA_EXCEEDED = 6, - /** - * LOCATION_TAX_POLICY_VIOLATED - The request whose associated billing account address is in a tax restricted - * location, violates the local tax restrictions when creating resources in - * the restricted region. - * - * Example of an ErrorInfo when creating the Cloud Storage Bucket in the - * container "projects/123" under a tax restricted region - * "locations/asia-northeast3": - * - * { "reason": "LOCATION_TAX_POLICY_VIOLATED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com", - * "location": "locations/asia-northeast3" - * } - * } - * - * This response indicates creating the Cloud Storage Bucket in - * "locations/asia-northeast3" violates the location tax restriction. - */ - LOCATION_TAX_POLICY_VIOLATED = 10, - /** - * USER_PROJECT_DENIED - The request is denied because the caller does not have required permission - * on the user project "projects/123" or the user project is invalid. For more - * information, check the [userProject System - * Parameters](https://cloud.google.com/apis/docs/system-parameters). - * - * Example of an ErrorInfo when the caller is calling Cloud Storage service - * with insufficient permissions on the user project: - * - * { "reason": "USER_PROJECT_DENIED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } - */ - USER_PROJECT_DENIED = 11, - /** - * CONSUMER_SUSPENDED - The request is denied because the consumer "projects/123" is suspended due - * to Terms of Service(Tos) violations. Check [Project suspension - * guidelines](https://cloud.google.com/resource-manager/docs/project-suspension-guidelines) - * for more information. - * - * Example of an ErrorInfo when calling Cloud Storage service with the - * suspended consumer "projects/123": - * - * { "reason": "CONSUMER_SUSPENDED", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } - */ - CONSUMER_SUSPENDED = 12, - /** - * CONSUMER_INVALID - The request is denied because the associated consumer is invalid. It may be - * in a bad format, cannot be found, or have been deleted. - * - * Example of an ErrorInfo when calling Cloud Storage service with the - * invalid consumer "projects/123": - * - * { "reason": "CONSUMER_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } - */ - CONSUMER_INVALID = 14, - /** - * SECURITY_POLICY_VIOLATED - The request is denied because it violates [VPC Service - * Controls](https://cloud.google.com/vpc-service-controls/docs/overview). - * The 'uid' field is a random generated identifier that customer can use it - * to search the audit log for a request rejected by VPC Service Controls. For - * more information, please refer [VPC Service Controls - * Troubleshooting](https://cloud.google.com/vpc-service-controls/docs/troubleshooting#unique-id) - * - * Example of an ErrorInfo when the consumer "projects/123" fails to call - * Cloud Storage service because the request is prohibited by the VPC Service - * Controls. - * - * { "reason": "SECURITY_POLICY_VIOLATED", - * "domain": "googleapis.com", - * "metadata": { - * "uid": "123456789abcde", - * "consumer": "projects/123", - * "service": "storage.googleapis.com" - * } - * } - */ - SECURITY_POLICY_VIOLATED = 15, - /** - * ACCESS_TOKEN_EXPIRED - The request is denied because the provided access token has expired. - * - * Example of an ErrorInfo when the request is calling Cloud Storage service - * with an expired access token: - * - * { "reason": "ACCESS_TOKEN_EXPIRED", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject" - * } - * } - */ - ACCESS_TOKEN_EXPIRED = 16, - /** - * ACCESS_TOKEN_SCOPE_INSUFFICIENT - The request is denied because the provided access token doesn't have at - * least one of the acceptable scopes required for the API. Please check - * [OAuth 2.0 Scopes for Google - * APIs](https://developers.google.com/identity/protocols/oauth2/scopes) for - * the list of the OAuth 2.0 scopes that you might need to request to access - * the API. - * - * Example of an ErrorInfo when the request is calling Cloud Storage service - * with an access token that is missing required scopes: - * - * { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject" - * } - * } - */ - ACCESS_TOKEN_SCOPE_INSUFFICIENT = 17, - /** - * ACCOUNT_STATE_INVALID - The request is denied because the account associated with the provided - * access token is in an invalid state, such as disabled or deleted. - * For more information, see https://cloud.google.com/docs/authentication. - * - * Warning: For privacy reasons, the server may not be able to disclose the - * email address for some accounts. The client MUST NOT depend on the - * availability of the `email` attribute. - * - * Example of an ErrorInfo when the request is to the Cloud Storage API with - * an access token that is associated with a disabled or deleted [service - * account](http://cloud/iam/docs/service-accounts): - * - * { "reason": "ACCOUNT_STATE_INVALID", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject", - * "email": "user@123.iam.gserviceaccount.com" - * } - * } - */ - ACCOUNT_STATE_INVALID = 18, - /** - * ACCESS_TOKEN_TYPE_UNSUPPORTED - The request is denied because the type of the provided access token is not - * supported by the API being called. - * - * Example of an ErrorInfo when the request is to the Cloud Storage API with - * an unsupported token type. - * - * { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED", - * "domain": "googleapis.com", - * "metadata": { - * "service": "storage.googleapis.com", - * "method": "google.storage.v1.Storage.GetObject" - * } - * } - */ - ACCESS_TOKEN_TYPE_UNSUPPORTED = 19, - UNRECOGNIZED = -1, -} -export const ErrorReasonSDKType = ErrorReason; -export const ErrorReasonAmino = ErrorReason; -export function errorReasonFromJSON(object: any): ErrorReason { - switch (object) { - case 0: - case "ERROR_REASON_UNSPECIFIED": - return ErrorReason.ERROR_REASON_UNSPECIFIED; - case 1: - case "SERVICE_DISABLED": - return ErrorReason.SERVICE_DISABLED; - case 2: - case "BILLING_DISABLED": - return ErrorReason.BILLING_DISABLED; - case 3: - case "API_KEY_INVALID": - return ErrorReason.API_KEY_INVALID; - case 4: - case "API_KEY_SERVICE_BLOCKED": - return ErrorReason.API_KEY_SERVICE_BLOCKED; - case 7: - case "API_KEY_HTTP_REFERRER_BLOCKED": - return ErrorReason.API_KEY_HTTP_REFERRER_BLOCKED; - case 8: - case "API_KEY_IP_ADDRESS_BLOCKED": - return ErrorReason.API_KEY_IP_ADDRESS_BLOCKED; - case 9: - case "API_KEY_ANDROID_APP_BLOCKED": - return ErrorReason.API_KEY_ANDROID_APP_BLOCKED; - case 13: - case "API_KEY_IOS_APP_BLOCKED": - return ErrorReason.API_KEY_IOS_APP_BLOCKED; - case 5: - case "RATE_LIMIT_EXCEEDED": - return ErrorReason.RATE_LIMIT_EXCEEDED; - case 6: - case "RESOURCE_QUOTA_EXCEEDED": - return ErrorReason.RESOURCE_QUOTA_EXCEEDED; - case 10: - case "LOCATION_TAX_POLICY_VIOLATED": - return ErrorReason.LOCATION_TAX_POLICY_VIOLATED; - case 11: - case "USER_PROJECT_DENIED": - return ErrorReason.USER_PROJECT_DENIED; - case 12: - case "CONSUMER_SUSPENDED": - return ErrorReason.CONSUMER_SUSPENDED; - case 14: - case "CONSUMER_INVALID": - return ErrorReason.CONSUMER_INVALID; - case 15: - case "SECURITY_POLICY_VIOLATED": - return ErrorReason.SECURITY_POLICY_VIOLATED; - case 16: - case "ACCESS_TOKEN_EXPIRED": - return ErrorReason.ACCESS_TOKEN_EXPIRED; - case 17: - case "ACCESS_TOKEN_SCOPE_INSUFFICIENT": - return ErrorReason.ACCESS_TOKEN_SCOPE_INSUFFICIENT; - case 18: - case "ACCOUNT_STATE_INVALID": - return ErrorReason.ACCOUNT_STATE_INVALID; - case 19: - case "ACCESS_TOKEN_TYPE_UNSUPPORTED": - return ErrorReason.ACCESS_TOKEN_TYPE_UNSUPPORTED; - case -1: - case "UNRECOGNIZED": - default: - return ErrorReason.UNRECOGNIZED; - } -} -export function errorReasonToJSON(object: ErrorReason): string { - switch (object) { - case ErrorReason.ERROR_REASON_UNSPECIFIED: - return "ERROR_REASON_UNSPECIFIED"; - case ErrorReason.SERVICE_DISABLED: - return "SERVICE_DISABLED"; - case ErrorReason.BILLING_DISABLED: - return "BILLING_DISABLED"; - case ErrorReason.API_KEY_INVALID: - return "API_KEY_INVALID"; - case ErrorReason.API_KEY_SERVICE_BLOCKED: - return "API_KEY_SERVICE_BLOCKED"; - case ErrorReason.API_KEY_HTTP_REFERRER_BLOCKED: - return "API_KEY_HTTP_REFERRER_BLOCKED"; - case ErrorReason.API_KEY_IP_ADDRESS_BLOCKED: - return "API_KEY_IP_ADDRESS_BLOCKED"; - case ErrorReason.API_KEY_ANDROID_APP_BLOCKED: - return "API_KEY_ANDROID_APP_BLOCKED"; - case ErrorReason.API_KEY_IOS_APP_BLOCKED: - return "API_KEY_IOS_APP_BLOCKED"; - case ErrorReason.RATE_LIMIT_EXCEEDED: - return "RATE_LIMIT_EXCEEDED"; - case ErrorReason.RESOURCE_QUOTA_EXCEEDED: - return "RESOURCE_QUOTA_EXCEEDED"; - case ErrorReason.LOCATION_TAX_POLICY_VIOLATED: - return "LOCATION_TAX_POLICY_VIOLATED"; - case ErrorReason.USER_PROJECT_DENIED: - return "USER_PROJECT_DENIED"; - case ErrorReason.CONSUMER_SUSPENDED: - return "CONSUMER_SUSPENDED"; - case ErrorReason.CONSUMER_INVALID: - return "CONSUMER_INVALID"; - case ErrorReason.SECURITY_POLICY_VIOLATED: - return "SECURITY_POLICY_VIOLATED"; - case ErrorReason.ACCESS_TOKEN_EXPIRED: - return "ACCESS_TOKEN_EXPIRED"; - case ErrorReason.ACCESS_TOKEN_SCOPE_INSUFFICIENT: - return "ACCESS_TOKEN_SCOPE_INSUFFICIENT"; - case ErrorReason.ACCOUNT_STATE_INVALID: - return "ACCOUNT_STATE_INVALID"; - case ErrorReason.ACCESS_TOKEN_TYPE_UNSUPPORTED: - return "ACCESS_TOKEN_TYPE_UNSUPPORTED"; - case ErrorReason.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/expr/conformance/v1alpha1/conformance_service.ts b/quicksilverjs/src/codegen/google/api/expr/conformance/v1alpha1/conformance_service.ts deleted file mode 100644 index c240eac3a..000000000 --- a/quicksilverjs/src/codegen/google/api/expr/conformance/v1alpha1/conformance_service.ts +++ /dev/null @@ -1,1319 +0,0 @@ -import { ParsedExpr, ParsedExprAmino, ParsedExprSDKType, SourcePosition, SourcePositionAmino, SourcePositionSDKType } from "../../v1alpha1/syntax"; -import { Decl, DeclAmino, DeclSDKType, CheckedExpr, CheckedExprAmino, CheckedExprSDKType } from "../../v1alpha1/checked"; -import { ExprValue, ExprValueAmino, ExprValueSDKType } from "../../v1alpha1/eval"; -import { Status, StatusAmino, StatusSDKType } from "../../../../rpc/status"; -import { Long, isSet, DeepPartial, isObject } from "../../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.expr.conformance.v1alpha1"; -/** Severities of issues. */ -export enum IssueDetails_Severity { - /** SEVERITY_UNSPECIFIED - An unspecified severity. */ - SEVERITY_UNSPECIFIED = 0, - /** - * DEPRECATION - Deprecation issue for statements and method that may no longer be - * supported or maintained. - */ - DEPRECATION = 1, - /** WARNING - Warnings such as: unused variables. */ - WARNING = 2, - /** ERROR - Errors such as: unmatched curly braces or variable redefinition. */ - ERROR = 3, - UNRECOGNIZED = -1, -} -export const IssueDetails_SeveritySDKType = IssueDetails_Severity; -export const IssueDetails_SeverityAmino = IssueDetails_Severity; -export function issueDetails_SeverityFromJSON(object: any): IssueDetails_Severity { - switch (object) { - case 0: - case "SEVERITY_UNSPECIFIED": - return IssueDetails_Severity.SEVERITY_UNSPECIFIED; - case 1: - case "DEPRECATION": - return IssueDetails_Severity.DEPRECATION; - case 2: - case "WARNING": - return IssueDetails_Severity.WARNING; - case 3: - case "ERROR": - return IssueDetails_Severity.ERROR; - case -1: - case "UNRECOGNIZED": - default: - return IssueDetails_Severity.UNRECOGNIZED; - } -} -export function issueDetails_SeverityToJSON(object: IssueDetails_Severity): string { - switch (object) { - case IssueDetails_Severity.SEVERITY_UNSPECIFIED: - return "SEVERITY_UNSPECIFIED"; - case IssueDetails_Severity.DEPRECATION: - return "DEPRECATION"; - case IssueDetails_Severity.WARNING: - return "WARNING"; - case IssueDetails_Severity.ERROR: - return "ERROR"; - case IssueDetails_Severity.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Request message for the Parse method. */ -export interface ParseRequest { - /** Required. Source text in CEL syntax. */ - celSource: string; - /** Tag for version of CEL syntax, for future use. */ - syntaxVersion: string; - /** File or resource for source text, used in [SourceInfo][google.api.SourceInfo]. */ - sourceLocation: string; - /** Prevent macro expansion. See "Macros" in Language Defiinition. */ - disableMacros: boolean; -} -export interface ParseRequestProtoMsg { - typeUrl: "/google.api.expr.conformance.v1alpha1.ParseRequest"; - value: Uint8Array; -} -/** Request message for the Parse method. */ -export interface ParseRequestAmino { - /** Required. Source text in CEL syntax. */ - cel_source: string; - /** Tag for version of CEL syntax, for future use. */ - syntax_version: string; - /** File or resource for source text, used in [SourceInfo][google.api.SourceInfo]. */ - source_location: string; - /** Prevent macro expansion. See "Macros" in Language Defiinition. */ - disable_macros: boolean; -} -export interface ParseRequestAminoMsg { - type: "/google.api.expr.conformance.v1alpha1.ParseRequest"; - value: ParseRequestAmino; -} -/** Request message for the Parse method. */ -export interface ParseRequestSDKType { - cel_source: string; - syntax_version: string; - source_location: string; - disable_macros: boolean; -} -/** Response message for the Parse method. */ -export interface ParseResponse { - /** The parsed representation, or unset if parsing failed. */ - parsedExpr: ParsedExpr; - /** Any number of issues with [StatusDetails][] as the details. */ - issues: Status[]; -} -export interface ParseResponseProtoMsg { - typeUrl: "/google.api.expr.conformance.v1alpha1.ParseResponse"; - value: Uint8Array; -} -/** Response message for the Parse method. */ -export interface ParseResponseAmino { - /** The parsed representation, or unset if parsing failed. */ - parsed_expr?: ParsedExprAmino; - /** Any number of issues with [StatusDetails][] as the details. */ - issues: StatusAmino[]; -} -export interface ParseResponseAminoMsg { - type: "/google.api.expr.conformance.v1alpha1.ParseResponse"; - value: ParseResponseAmino; -} -/** Response message for the Parse method. */ -export interface ParseResponseSDKType { - parsed_expr: ParsedExprSDKType; - issues: StatusSDKType[]; -} -/** Request message for the Check method. */ -export interface CheckRequest { - /** Required. The parsed representation of the CEL program. */ - parsedExpr: ParsedExpr; - /** - * Declarations of types for external variables and functions. - * Required if program uses external variables or functions - * not in the default environment. - */ - typeEnv: Decl[]; - /** - * The protocol buffer context. See "Name Resolution" in the - * Language Definition. - */ - container: string; - /** - * If true, use only the declarations in [type_env][google.api.expr.conformance.v1alpha1.CheckRequest.type_env]. If false (default), - * add declarations for the standard definitions to the type environment. See - * "Standard Definitions" in the Language Definition. - */ - noStdEnv: boolean; -} -export interface CheckRequestProtoMsg { - typeUrl: "/google.api.expr.conformance.v1alpha1.CheckRequest"; - value: Uint8Array; -} -/** Request message for the Check method. */ -export interface CheckRequestAmino { - /** Required. The parsed representation of the CEL program. */ - parsed_expr?: ParsedExprAmino; - /** - * Declarations of types for external variables and functions. - * Required if program uses external variables or functions - * not in the default environment. - */ - type_env: DeclAmino[]; - /** - * The protocol buffer context. See "Name Resolution" in the - * Language Definition. - */ - container: string; - /** - * If true, use only the declarations in [type_env][google.api.expr.conformance.v1alpha1.CheckRequest.type_env]. If false (default), - * add declarations for the standard definitions to the type environment. See - * "Standard Definitions" in the Language Definition. - */ - no_std_env: boolean; -} -export interface CheckRequestAminoMsg { - type: "/google.api.expr.conformance.v1alpha1.CheckRequest"; - value: CheckRequestAmino; -} -/** Request message for the Check method. */ -export interface CheckRequestSDKType { - parsed_expr: ParsedExprSDKType; - type_env: DeclSDKType[]; - container: string; - no_std_env: boolean; -} -/** Response message for the Check method. */ -export interface CheckResponse { - /** The annotated representation, or unset if checking failed. */ - checkedExpr: CheckedExpr; - /** Any number of issues with [StatusDetails][] as the details. */ - issues: Status[]; -} -export interface CheckResponseProtoMsg { - typeUrl: "/google.api.expr.conformance.v1alpha1.CheckResponse"; - value: Uint8Array; -} -/** Response message for the Check method. */ -export interface CheckResponseAmino { - /** The annotated representation, or unset if checking failed. */ - checked_expr?: CheckedExprAmino; - /** Any number of issues with [StatusDetails][] as the details. */ - issues: StatusAmino[]; -} -export interface CheckResponseAminoMsg { - type: "/google.api.expr.conformance.v1alpha1.CheckResponse"; - value: CheckResponseAmino; -} -/** Response message for the Check method. */ -export interface CheckResponseSDKType { - checked_expr: CheckedExprSDKType; - issues: StatusSDKType[]; -} -export interface EvalRequest_BindingsEntry { - key: string; - value: ExprValue; -} -export interface EvalRequest_BindingsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface EvalRequest_BindingsEntryAmino { - key: string; - value?: ExprValueAmino; -} -export interface EvalRequest_BindingsEntryAminoMsg { - type: string; - value: EvalRequest_BindingsEntryAmino; -} -export interface EvalRequest_BindingsEntrySDKType { - key: string; - value: ExprValueSDKType; -} -/** Request message for the Eval method. */ -export interface EvalRequest { - /** Evaluate based on the parsed representation. */ - parsedExpr?: ParsedExpr; - /** Evaluate based on the checked representation. */ - checkedExpr?: CheckedExpr; - /** - * Bindings for the external variables. The types SHOULD be compatible - * with the type environment in [CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest], if checked. - */ - bindings: { - [key: string]: ExprValue; - }; - /** SHOULD be the same container as used in [CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest], if checked. */ - container: string; -} -export interface EvalRequestProtoMsg { - typeUrl: "/google.api.expr.conformance.v1alpha1.EvalRequest"; - value: Uint8Array; -} -/** Request message for the Eval method. */ -export interface EvalRequestAmino { - /** Evaluate based on the parsed representation. */ - parsed_expr?: ParsedExprAmino; - /** Evaluate based on the checked representation. */ - checked_expr?: CheckedExprAmino; - /** - * Bindings for the external variables. The types SHOULD be compatible - * with the type environment in [CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest], if checked. - */ - bindings?: { - [key: string]: ExprValueAmino; - }; - /** SHOULD be the same container as used in [CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest], if checked. */ - container: string; -} -export interface EvalRequestAminoMsg { - type: "/google.api.expr.conformance.v1alpha1.EvalRequest"; - value: EvalRequestAmino; -} -/** Request message for the Eval method. */ -export interface EvalRequestSDKType { - parsed_expr?: ParsedExprSDKType; - checked_expr?: CheckedExprSDKType; - bindings: { - [key: string]: ExprValueSDKType; - }; - container: string; -} -/** Response message for the Eval method. */ -export interface EvalResponse { - /** The execution result, or unset if execution couldn't start. */ - result: ExprValue; - /** - * Any number of issues with [StatusDetails][] as the details. - * Note that CEL execution errors are reified into [ExprValue][]. - * Nevertheless, we'll allow out-of-band issues to be raised, - * which also makes the replies more regular. - */ - issues: Status[]; -} -export interface EvalResponseProtoMsg { - typeUrl: "/google.api.expr.conformance.v1alpha1.EvalResponse"; - value: Uint8Array; -} -/** Response message for the Eval method. */ -export interface EvalResponseAmino { - /** The execution result, or unset if execution couldn't start. */ - result?: ExprValueAmino; - /** - * Any number of issues with [StatusDetails][] as the details. - * Note that CEL execution errors are reified into [ExprValue][]. - * Nevertheless, we'll allow out-of-band issues to be raised, - * which also makes the replies more regular. - */ - issues: StatusAmino[]; -} -export interface EvalResponseAminoMsg { - type: "/google.api.expr.conformance.v1alpha1.EvalResponse"; - value: EvalResponseAmino; -} -/** Response message for the Eval method. */ -export interface EvalResponseSDKType { - result: ExprValueSDKType; - issues: StatusSDKType[]; -} -/** - * Warnings or errors in service execution are represented by - * [google.rpc.Status][google.rpc.Status] messages, with the following message - * in the details field. - */ -export interface IssueDetails { - /** The severity of the issue. */ - severity: IssueDetails_Severity; - /** Position in the source, if known. */ - position: SourcePosition; - /** Expression ID from [Expr][], 0 if unknown. */ - id: Long; -} -export interface IssueDetailsProtoMsg { - typeUrl: "/google.api.expr.conformance.v1alpha1.IssueDetails"; - value: Uint8Array; -} -/** - * Warnings or errors in service execution are represented by - * [google.rpc.Status][google.rpc.Status] messages, with the following message - * in the details field. - */ -export interface IssueDetailsAmino { - /** The severity of the issue. */ - severity: IssueDetails_Severity; - /** Position in the source, if known. */ - position?: SourcePositionAmino; - /** Expression ID from [Expr][], 0 if unknown. */ - id: string; -} -export interface IssueDetailsAminoMsg { - type: "/google.api.expr.conformance.v1alpha1.IssueDetails"; - value: IssueDetailsAmino; -} -/** - * Warnings or errors in service execution are represented by - * [google.rpc.Status][google.rpc.Status] messages, with the following message - * in the details field. - */ -export interface IssueDetailsSDKType { - severity: IssueDetails_Severity; - position: SourcePositionSDKType; - id: Long; -} -function createBaseParseRequest(): ParseRequest { - return { - celSource: "", - syntaxVersion: "", - sourceLocation: "", - disableMacros: false - }; -} -export const ParseRequest = { - typeUrl: "/google.api.expr.conformance.v1alpha1.ParseRequest", - encode(message: ParseRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.celSource !== "") { - writer.uint32(10).string(message.celSource); - } - if (message.syntaxVersion !== "") { - writer.uint32(18).string(message.syntaxVersion); - } - if (message.sourceLocation !== "") { - writer.uint32(26).string(message.sourceLocation); - } - if (message.disableMacros === true) { - writer.uint32(32).bool(message.disableMacros); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ParseRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParseRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.celSource = reader.string(); - break; - case 2: - message.syntaxVersion = reader.string(); - break; - case 3: - message.sourceLocation = reader.string(); - break; - case 4: - message.disableMacros = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ParseRequest { - const obj = createBaseParseRequest(); - if (isSet(object.celSource)) obj.celSource = String(object.celSource); - if (isSet(object.syntaxVersion)) obj.syntaxVersion = String(object.syntaxVersion); - if (isSet(object.sourceLocation)) obj.sourceLocation = String(object.sourceLocation); - if (isSet(object.disableMacros)) obj.disableMacros = Boolean(object.disableMacros); - return obj; - }, - toJSON(message: ParseRequest): unknown { - const obj: any = {}; - message.celSource !== undefined && (obj.celSource = message.celSource); - message.syntaxVersion !== undefined && (obj.syntaxVersion = message.syntaxVersion); - message.sourceLocation !== undefined && (obj.sourceLocation = message.sourceLocation); - message.disableMacros !== undefined && (obj.disableMacros = message.disableMacros); - return obj; - }, - fromPartial(object: DeepPartial): ParseRequest { - const message = createBaseParseRequest(); - message.celSource = object.celSource ?? ""; - message.syntaxVersion = object.syntaxVersion ?? ""; - message.sourceLocation = object.sourceLocation ?? ""; - message.disableMacros = object.disableMacros ?? false; - return message; - }, - fromSDK(object: ParseRequestSDKType): ParseRequest { - return { - celSource: object?.cel_source, - syntaxVersion: object?.syntax_version, - sourceLocation: object?.source_location, - disableMacros: object?.disable_macros - }; - }, - toSDK(message: ParseRequest): ParseRequestSDKType { - const obj: any = {}; - obj.cel_source = message.celSource; - obj.syntax_version = message.syntaxVersion; - obj.source_location = message.sourceLocation; - obj.disable_macros = message.disableMacros; - return obj; - }, - fromAmino(object: ParseRequestAmino): ParseRequest { - return { - celSource: object.cel_source, - syntaxVersion: object.syntax_version, - sourceLocation: object.source_location, - disableMacros: object.disable_macros - }; - }, - toAmino(message: ParseRequest): ParseRequestAmino { - const obj: any = {}; - obj.cel_source = message.celSource; - obj.syntax_version = message.syntaxVersion; - obj.source_location = message.sourceLocation; - obj.disable_macros = message.disableMacros; - return obj; - }, - fromAminoMsg(object: ParseRequestAminoMsg): ParseRequest { - return ParseRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ParseRequestProtoMsg): ParseRequest { - return ParseRequest.decode(message.value); - }, - toProto(message: ParseRequest): Uint8Array { - return ParseRequest.encode(message).finish(); - }, - toProtoMsg(message: ParseRequest): ParseRequestProtoMsg { - return { - typeUrl: "/google.api.expr.conformance.v1alpha1.ParseRequest", - value: ParseRequest.encode(message).finish() - }; - } -}; -function createBaseParseResponse(): ParseResponse { - return { - parsedExpr: ParsedExpr.fromPartial({}), - issues: [] - }; -} -export const ParseResponse = { - typeUrl: "/google.api.expr.conformance.v1alpha1.ParseResponse", - encode(message: ParseResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parsedExpr !== undefined) { - ParsedExpr.encode(message.parsedExpr, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.issues) { - Status.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ParseResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParseResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parsedExpr = ParsedExpr.decode(reader, reader.uint32()); - break; - case 2: - message.issues.push(Status.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ParseResponse { - const obj = createBaseParseResponse(); - if (isSet(object.parsedExpr)) obj.parsedExpr = ParsedExpr.fromJSON(object.parsedExpr); - if (Array.isArray(object?.issues)) obj.issues = object.issues.map((e: any) => Status.fromJSON(e)); - return obj; - }, - toJSON(message: ParseResponse): unknown { - const obj: any = {}; - message.parsedExpr !== undefined && (obj.parsedExpr = message.parsedExpr ? ParsedExpr.toJSON(message.parsedExpr) : undefined); - if (message.issues) { - obj.issues = message.issues.map(e => e ? Status.toJSON(e) : undefined); - } else { - obj.issues = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ParseResponse { - const message = createBaseParseResponse(); - if (object.parsedExpr !== undefined && object.parsedExpr !== null) { - message.parsedExpr = ParsedExpr.fromPartial(object.parsedExpr); - } - message.issues = object.issues?.map(e => Status.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ParseResponseSDKType): ParseResponse { - return { - parsedExpr: object.parsed_expr ? ParsedExpr.fromSDK(object.parsed_expr) : undefined, - issues: Array.isArray(object?.issues) ? object.issues.map((e: any) => Status.fromSDK(e)) : [] - }; - }, - toSDK(message: ParseResponse): ParseResponseSDKType { - const obj: any = {}; - message.parsedExpr !== undefined && (obj.parsed_expr = message.parsedExpr ? ParsedExpr.toSDK(message.parsedExpr) : undefined); - if (message.issues) { - obj.issues = message.issues.map(e => e ? Status.toSDK(e) : undefined); - } else { - obj.issues = []; - } - return obj; - }, - fromAmino(object: ParseResponseAmino): ParseResponse { - return { - parsedExpr: object?.parsed_expr ? ParsedExpr.fromAmino(object.parsed_expr) : undefined, - issues: Array.isArray(object?.issues) ? object.issues.map((e: any) => Status.fromAmino(e)) : [] - }; - }, - toAmino(message: ParseResponse): ParseResponseAmino { - const obj: any = {}; - obj.parsed_expr = message.parsedExpr ? ParsedExpr.toAmino(message.parsedExpr) : undefined; - if (message.issues) { - obj.issues = message.issues.map(e => e ? Status.toAmino(e) : undefined); - } else { - obj.issues = []; - } - return obj; - }, - fromAminoMsg(object: ParseResponseAminoMsg): ParseResponse { - return ParseResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ParseResponseProtoMsg): ParseResponse { - return ParseResponse.decode(message.value); - }, - toProto(message: ParseResponse): Uint8Array { - return ParseResponse.encode(message).finish(); - }, - toProtoMsg(message: ParseResponse): ParseResponseProtoMsg { - return { - typeUrl: "/google.api.expr.conformance.v1alpha1.ParseResponse", - value: ParseResponse.encode(message).finish() - }; - } -}; -function createBaseCheckRequest(): CheckRequest { - return { - parsedExpr: ParsedExpr.fromPartial({}), - typeEnv: [], - container: "", - noStdEnv: false - }; -} -export const CheckRequest = { - typeUrl: "/google.api.expr.conformance.v1alpha1.CheckRequest", - encode(message: CheckRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parsedExpr !== undefined) { - ParsedExpr.encode(message.parsedExpr, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.typeEnv) { - Decl.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.container !== "") { - writer.uint32(26).string(message.container); - } - if (message.noStdEnv === true) { - writer.uint32(32).bool(message.noStdEnv); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parsedExpr = ParsedExpr.decode(reader, reader.uint32()); - break; - case 2: - message.typeEnv.push(Decl.decode(reader, reader.uint32())); - break; - case 3: - message.container = reader.string(); - break; - case 4: - message.noStdEnv = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckRequest { - const obj = createBaseCheckRequest(); - if (isSet(object.parsedExpr)) obj.parsedExpr = ParsedExpr.fromJSON(object.parsedExpr); - if (Array.isArray(object?.typeEnv)) obj.typeEnv = object.typeEnv.map((e: any) => Decl.fromJSON(e)); - if (isSet(object.container)) obj.container = String(object.container); - if (isSet(object.noStdEnv)) obj.noStdEnv = Boolean(object.noStdEnv); - return obj; - }, - toJSON(message: CheckRequest): unknown { - const obj: any = {}; - message.parsedExpr !== undefined && (obj.parsedExpr = message.parsedExpr ? ParsedExpr.toJSON(message.parsedExpr) : undefined); - if (message.typeEnv) { - obj.typeEnv = message.typeEnv.map(e => e ? Decl.toJSON(e) : undefined); - } else { - obj.typeEnv = []; - } - message.container !== undefined && (obj.container = message.container); - message.noStdEnv !== undefined && (obj.noStdEnv = message.noStdEnv); - return obj; - }, - fromPartial(object: DeepPartial): CheckRequest { - const message = createBaseCheckRequest(); - if (object.parsedExpr !== undefined && object.parsedExpr !== null) { - message.parsedExpr = ParsedExpr.fromPartial(object.parsedExpr); - } - message.typeEnv = object.typeEnv?.map(e => Decl.fromPartial(e)) || []; - message.container = object.container ?? ""; - message.noStdEnv = object.noStdEnv ?? false; - return message; - }, - fromSDK(object: CheckRequestSDKType): CheckRequest { - return { - parsedExpr: object.parsed_expr ? ParsedExpr.fromSDK(object.parsed_expr) : undefined, - typeEnv: Array.isArray(object?.type_env) ? object.type_env.map((e: any) => Decl.fromSDK(e)) : [], - container: object?.container, - noStdEnv: object?.no_std_env - }; - }, - toSDK(message: CheckRequest): CheckRequestSDKType { - const obj: any = {}; - message.parsedExpr !== undefined && (obj.parsed_expr = message.parsedExpr ? ParsedExpr.toSDK(message.parsedExpr) : undefined); - if (message.typeEnv) { - obj.type_env = message.typeEnv.map(e => e ? Decl.toSDK(e) : undefined); - } else { - obj.type_env = []; - } - obj.container = message.container; - obj.no_std_env = message.noStdEnv; - return obj; - }, - fromAmino(object: CheckRequestAmino): CheckRequest { - return { - parsedExpr: object?.parsed_expr ? ParsedExpr.fromAmino(object.parsed_expr) : undefined, - typeEnv: Array.isArray(object?.type_env) ? object.type_env.map((e: any) => Decl.fromAmino(e)) : [], - container: object.container, - noStdEnv: object.no_std_env - }; - }, - toAmino(message: CheckRequest): CheckRequestAmino { - const obj: any = {}; - obj.parsed_expr = message.parsedExpr ? ParsedExpr.toAmino(message.parsedExpr) : undefined; - if (message.typeEnv) { - obj.type_env = message.typeEnv.map(e => e ? Decl.toAmino(e) : undefined); - } else { - obj.type_env = []; - } - obj.container = message.container; - obj.no_std_env = message.noStdEnv; - return obj; - }, - fromAminoMsg(object: CheckRequestAminoMsg): CheckRequest { - return CheckRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CheckRequestProtoMsg): CheckRequest { - return CheckRequest.decode(message.value); - }, - toProto(message: CheckRequest): Uint8Array { - return CheckRequest.encode(message).finish(); - }, - toProtoMsg(message: CheckRequest): CheckRequestProtoMsg { - return { - typeUrl: "/google.api.expr.conformance.v1alpha1.CheckRequest", - value: CheckRequest.encode(message).finish() - }; - } -}; -function createBaseCheckResponse(): CheckResponse { - return { - checkedExpr: CheckedExpr.fromPartial({}), - issues: [] - }; -} -export const CheckResponse = { - typeUrl: "/google.api.expr.conformance.v1alpha1.CheckResponse", - encode(message: CheckResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.checkedExpr !== undefined) { - CheckedExpr.encode(message.checkedExpr, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.issues) { - Status.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.checkedExpr = CheckedExpr.decode(reader, reader.uint32()); - break; - case 2: - message.issues.push(Status.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckResponse { - const obj = createBaseCheckResponse(); - if (isSet(object.checkedExpr)) obj.checkedExpr = CheckedExpr.fromJSON(object.checkedExpr); - if (Array.isArray(object?.issues)) obj.issues = object.issues.map((e: any) => Status.fromJSON(e)); - return obj; - }, - toJSON(message: CheckResponse): unknown { - const obj: any = {}; - message.checkedExpr !== undefined && (obj.checkedExpr = message.checkedExpr ? CheckedExpr.toJSON(message.checkedExpr) : undefined); - if (message.issues) { - obj.issues = message.issues.map(e => e ? Status.toJSON(e) : undefined); - } else { - obj.issues = []; - } - return obj; - }, - fromPartial(object: DeepPartial): CheckResponse { - const message = createBaseCheckResponse(); - if (object.checkedExpr !== undefined && object.checkedExpr !== null) { - message.checkedExpr = CheckedExpr.fromPartial(object.checkedExpr); - } - message.issues = object.issues?.map(e => Status.fromPartial(e)) || []; - return message; - }, - fromSDK(object: CheckResponseSDKType): CheckResponse { - return { - checkedExpr: object.checked_expr ? CheckedExpr.fromSDK(object.checked_expr) : undefined, - issues: Array.isArray(object?.issues) ? object.issues.map((e: any) => Status.fromSDK(e)) : [] - }; - }, - toSDK(message: CheckResponse): CheckResponseSDKType { - const obj: any = {}; - message.checkedExpr !== undefined && (obj.checked_expr = message.checkedExpr ? CheckedExpr.toSDK(message.checkedExpr) : undefined); - if (message.issues) { - obj.issues = message.issues.map(e => e ? Status.toSDK(e) : undefined); - } else { - obj.issues = []; - } - return obj; - }, - fromAmino(object: CheckResponseAmino): CheckResponse { - return { - checkedExpr: object?.checked_expr ? CheckedExpr.fromAmino(object.checked_expr) : undefined, - issues: Array.isArray(object?.issues) ? object.issues.map((e: any) => Status.fromAmino(e)) : [] - }; - }, - toAmino(message: CheckResponse): CheckResponseAmino { - const obj: any = {}; - obj.checked_expr = message.checkedExpr ? CheckedExpr.toAmino(message.checkedExpr) : undefined; - if (message.issues) { - obj.issues = message.issues.map(e => e ? Status.toAmino(e) : undefined); - } else { - obj.issues = []; - } - return obj; - }, - fromAminoMsg(object: CheckResponseAminoMsg): CheckResponse { - return CheckResponse.fromAmino(object.value); - }, - fromProtoMsg(message: CheckResponseProtoMsg): CheckResponse { - return CheckResponse.decode(message.value); - }, - toProto(message: CheckResponse): Uint8Array { - return CheckResponse.encode(message).finish(); - }, - toProtoMsg(message: CheckResponse): CheckResponseProtoMsg { - return { - typeUrl: "/google.api.expr.conformance.v1alpha1.CheckResponse", - value: CheckResponse.encode(message).finish() - }; - } -}; -function createBaseEvalRequest_BindingsEntry(): EvalRequest_BindingsEntry { - return { - key: "", - value: ExprValue.fromPartial({}) - }; -} -export const EvalRequest_BindingsEntry = { - encode(message: EvalRequest_BindingsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== undefined) { - ExprValue.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EvalRequest_BindingsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvalRequest_BindingsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = ExprValue.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EvalRequest_BindingsEntry { - const obj = createBaseEvalRequest_BindingsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = ExprValue.fromJSON(object.value); - return obj; - }, - toJSON(message: EvalRequest_BindingsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value ? ExprValue.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): EvalRequest_BindingsEntry { - const message = createBaseEvalRequest_BindingsEntry(); - message.key = object.key ?? ""; - if (object.value !== undefined && object.value !== null) { - message.value = ExprValue.fromPartial(object.value); - } - return message; - }, - fromSDK(object: EvalRequest_BindingsEntrySDKType): EvalRequest_BindingsEntry { - return { - key: object?.key, - value: object.value ? ExprValue.fromSDK(object.value) : undefined - }; - }, - toSDK(message: EvalRequest_BindingsEntry): EvalRequest_BindingsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - message.value !== undefined && (obj.value = message.value ? ExprValue.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: EvalRequest_BindingsEntryAmino): EvalRequest_BindingsEntry { - return { - key: object.key, - value: object?.value ? ExprValue.fromAmino(object.value) : undefined - }; - }, - toAmino(message: EvalRequest_BindingsEntry): EvalRequest_BindingsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value ? ExprValue.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: EvalRequest_BindingsEntryAminoMsg): EvalRequest_BindingsEntry { - return EvalRequest_BindingsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: EvalRequest_BindingsEntryProtoMsg): EvalRequest_BindingsEntry { - return EvalRequest_BindingsEntry.decode(message.value); - }, - toProto(message: EvalRequest_BindingsEntry): Uint8Array { - return EvalRequest_BindingsEntry.encode(message).finish(); - } -}; -function createBaseEvalRequest(): EvalRequest { - return { - parsedExpr: undefined, - checkedExpr: undefined, - bindings: {}, - container: "" - }; -} -export const EvalRequest = { - typeUrl: "/google.api.expr.conformance.v1alpha1.EvalRequest", - encode(message: EvalRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parsedExpr !== undefined) { - ParsedExpr.encode(message.parsedExpr, writer.uint32(10).fork()).ldelim(); - } - if (message.checkedExpr !== undefined) { - CheckedExpr.encode(message.checkedExpr, writer.uint32(18).fork()).ldelim(); - } - Object.entries(message.bindings).forEach(([key, value]) => { - EvalRequest_BindingsEntry.encode({ - key: (key as any), - value - }, writer.uint32(26).fork()).ldelim(); - }); - if (message.container !== "") { - writer.uint32(34).string(message.container); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EvalRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvalRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parsedExpr = ParsedExpr.decode(reader, reader.uint32()); - break; - case 2: - message.checkedExpr = CheckedExpr.decode(reader, reader.uint32()); - break; - case 3: - const entry3 = EvalRequest_BindingsEntry.decode(reader, reader.uint32()); - if (entry3.value !== undefined) { - message.bindings[entry3.key] = entry3.value; - } - break; - case 4: - message.container = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EvalRequest { - const obj = createBaseEvalRequest(); - if (isSet(object.parsedExpr)) obj.parsedExpr = ParsedExpr.fromJSON(object.parsedExpr); - if (isSet(object.checkedExpr)) obj.checkedExpr = CheckedExpr.fromJSON(object.checkedExpr); - if (isObject(object.bindings)) obj.bindings = Object.entries(object.bindings).reduce<{ - [key: string]: ExprValue; - }>((acc, [key, value]) => { - acc[key] = ExprValue.fromJSON(value); - return acc; - }, {}); - if (isSet(object.container)) obj.container = String(object.container); - return obj; - }, - toJSON(message: EvalRequest): unknown { - const obj: any = {}; - message.parsedExpr !== undefined && (obj.parsedExpr = message.parsedExpr ? ParsedExpr.toJSON(message.parsedExpr) : undefined); - message.checkedExpr !== undefined && (obj.checkedExpr = message.checkedExpr ? CheckedExpr.toJSON(message.checkedExpr) : undefined); - obj.bindings = {}; - if (message.bindings) { - Object.entries(message.bindings).forEach(([k, v]) => { - obj.bindings[k] = ExprValue.toJSON(v); - }); - } - message.container !== undefined && (obj.container = message.container); - return obj; - }, - fromPartial(object: DeepPartial): EvalRequest { - const message = createBaseEvalRequest(); - if (object.parsedExpr !== undefined && object.parsedExpr !== null) { - message.parsedExpr = ParsedExpr.fromPartial(object.parsedExpr); - } - if (object.checkedExpr !== undefined && object.checkedExpr !== null) { - message.checkedExpr = CheckedExpr.fromPartial(object.checkedExpr); - } - message.bindings = Object.entries(object.bindings ?? {}).reduce<{ - [key: string]: ExprValue; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = ExprValue.fromPartial(value); - } - return acc; - }, {}); - message.container = object.container ?? ""; - return message; - }, - fromSDK(object: EvalRequestSDKType): EvalRequest { - return { - parsedExpr: object.parsed_expr ? ParsedExpr.fromSDK(object.parsed_expr) : undefined, - checkedExpr: object.checked_expr ? CheckedExpr.fromSDK(object.checked_expr) : undefined, - bindings: isObject(object.bindings) ? Object.entries(object.bindings).reduce<{ - [key: string]: ExprValue; - }>((acc, [key, value]) => { - acc[key] = ExprValue.fromSDK(value); - return acc; - }, {}) : {}, - container: object?.container - }; - }, - toSDK(message: EvalRequest): EvalRequestSDKType { - const obj: any = {}; - message.parsedExpr !== undefined && (obj.parsed_expr = message.parsedExpr ? ParsedExpr.toSDK(message.parsedExpr) : undefined); - message.checkedExpr !== undefined && (obj.checked_expr = message.checkedExpr ? CheckedExpr.toSDK(message.checkedExpr) : undefined); - obj.bindings = {}; - if (message.bindings) { - Object.entries(message.bindings).forEach(([k, v]) => { - obj.bindings[k] = ExprValue.toSDK(v); - }); - } - obj.container = message.container; - return obj; - }, - fromAmino(object: EvalRequestAmino): EvalRequest { - return { - parsedExpr: object?.parsed_expr ? ParsedExpr.fromAmino(object.parsed_expr) : undefined, - checkedExpr: object?.checked_expr ? CheckedExpr.fromAmino(object.checked_expr) : undefined, - bindings: isObject(object.bindings) ? Object.entries(object.bindings).reduce<{ - [key: string]: ExprValue; - }>((acc, [key, value]) => { - acc[key] = ExprValue.fromAmino(value); - return acc; - }, {}) : {}, - container: object.container - }; - }, - toAmino(message: EvalRequest): EvalRequestAmino { - const obj: any = {}; - obj.parsed_expr = message.parsedExpr ? ParsedExpr.toAmino(message.parsedExpr) : undefined; - obj.checked_expr = message.checkedExpr ? CheckedExpr.toAmino(message.checkedExpr) : undefined; - obj.bindings = {}; - if (message.bindings) { - Object.entries(message.bindings).forEach(([k, v]) => { - obj.bindings[k] = ExprValue.toAmino(v); - }); - } - obj.container = message.container; - return obj; - }, - fromAminoMsg(object: EvalRequestAminoMsg): EvalRequest { - return EvalRequest.fromAmino(object.value); - }, - fromProtoMsg(message: EvalRequestProtoMsg): EvalRequest { - return EvalRequest.decode(message.value); - }, - toProto(message: EvalRequest): Uint8Array { - return EvalRequest.encode(message).finish(); - }, - toProtoMsg(message: EvalRequest): EvalRequestProtoMsg { - return { - typeUrl: "/google.api.expr.conformance.v1alpha1.EvalRequest", - value: EvalRequest.encode(message).finish() - }; - } -}; -function createBaseEvalResponse(): EvalResponse { - return { - result: ExprValue.fromPartial({}), - issues: [] - }; -} -export const EvalResponse = { - typeUrl: "/google.api.expr.conformance.v1alpha1.EvalResponse", - encode(message: EvalResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.result !== undefined) { - ExprValue.encode(message.result, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.issues) { - Status.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EvalResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvalResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.result = ExprValue.decode(reader, reader.uint32()); - break; - case 2: - message.issues.push(Status.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EvalResponse { - const obj = createBaseEvalResponse(); - if (isSet(object.result)) obj.result = ExprValue.fromJSON(object.result); - if (Array.isArray(object?.issues)) obj.issues = object.issues.map((e: any) => Status.fromJSON(e)); - return obj; - }, - toJSON(message: EvalResponse): unknown { - const obj: any = {}; - message.result !== undefined && (obj.result = message.result ? ExprValue.toJSON(message.result) : undefined); - if (message.issues) { - obj.issues = message.issues.map(e => e ? Status.toJSON(e) : undefined); - } else { - obj.issues = []; - } - return obj; - }, - fromPartial(object: DeepPartial): EvalResponse { - const message = createBaseEvalResponse(); - if (object.result !== undefined && object.result !== null) { - message.result = ExprValue.fromPartial(object.result); - } - message.issues = object.issues?.map(e => Status.fromPartial(e)) || []; - return message; - }, - fromSDK(object: EvalResponseSDKType): EvalResponse { - return { - result: object.result ? ExprValue.fromSDK(object.result) : undefined, - issues: Array.isArray(object?.issues) ? object.issues.map((e: any) => Status.fromSDK(e)) : [] - }; - }, - toSDK(message: EvalResponse): EvalResponseSDKType { - const obj: any = {}; - message.result !== undefined && (obj.result = message.result ? ExprValue.toSDK(message.result) : undefined); - if (message.issues) { - obj.issues = message.issues.map(e => e ? Status.toSDK(e) : undefined); - } else { - obj.issues = []; - } - return obj; - }, - fromAmino(object: EvalResponseAmino): EvalResponse { - return { - result: object?.result ? ExprValue.fromAmino(object.result) : undefined, - issues: Array.isArray(object?.issues) ? object.issues.map((e: any) => Status.fromAmino(e)) : [] - }; - }, - toAmino(message: EvalResponse): EvalResponseAmino { - const obj: any = {}; - obj.result = message.result ? ExprValue.toAmino(message.result) : undefined; - if (message.issues) { - obj.issues = message.issues.map(e => e ? Status.toAmino(e) : undefined); - } else { - obj.issues = []; - } - return obj; - }, - fromAminoMsg(object: EvalResponseAminoMsg): EvalResponse { - return EvalResponse.fromAmino(object.value); - }, - fromProtoMsg(message: EvalResponseProtoMsg): EvalResponse { - return EvalResponse.decode(message.value); - }, - toProto(message: EvalResponse): Uint8Array { - return EvalResponse.encode(message).finish(); - }, - toProtoMsg(message: EvalResponse): EvalResponseProtoMsg { - return { - typeUrl: "/google.api.expr.conformance.v1alpha1.EvalResponse", - value: EvalResponse.encode(message).finish() - }; - } -}; -function createBaseIssueDetails(): IssueDetails { - return { - severity: 0, - position: SourcePosition.fromPartial({}), - id: Long.ZERO - }; -} -export const IssueDetails = { - typeUrl: "/google.api.expr.conformance.v1alpha1.IssueDetails", - encode(message: IssueDetails, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.severity !== 0) { - writer.uint32(8).int32(message.severity); - } - if (message.position !== undefined) { - SourcePosition.encode(message.position, writer.uint32(18).fork()).ldelim(); - } - if (!message.id.isZero()) { - writer.uint32(24).int64(message.id); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): IssueDetails { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseIssueDetails(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.severity = (reader.int32() as any); - break; - case 2: - message.position = SourcePosition.decode(reader, reader.uint32()); - break; - case 3: - message.id = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): IssueDetails { - const obj = createBaseIssueDetails(); - if (isSet(object.severity)) obj.severity = issueDetails_SeverityFromJSON(object.severity); - if (isSet(object.position)) obj.position = SourcePosition.fromJSON(object.position); - if (isSet(object.id)) obj.id = Long.fromValue(object.id); - return obj; - }, - toJSON(message: IssueDetails): unknown { - const obj: any = {}; - message.severity !== undefined && (obj.severity = issueDetails_SeverityToJSON(message.severity)); - message.position !== undefined && (obj.position = message.position ? SourcePosition.toJSON(message.position) : undefined); - message.id !== undefined && (obj.id = (message.id || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): IssueDetails { - const message = createBaseIssueDetails(); - message.severity = object.severity ?? 0; - if (object.position !== undefined && object.position !== null) { - message.position = SourcePosition.fromPartial(object.position); - } - if (object.id !== undefined && object.id !== null) { - message.id = Long.fromValue(object.id); - } - return message; - }, - fromSDK(object: IssueDetailsSDKType): IssueDetails { - return { - severity: isSet(object.severity) ? issueDetails_SeverityFromJSON(object.severity) : -1, - position: object.position ? SourcePosition.fromSDK(object.position) : undefined, - id: object?.id - }; - }, - toSDK(message: IssueDetails): IssueDetailsSDKType { - const obj: any = {}; - message.severity !== undefined && (obj.severity = issueDetails_SeverityToJSON(message.severity)); - message.position !== undefined && (obj.position = message.position ? SourcePosition.toSDK(message.position) : undefined); - obj.id = message.id; - return obj; - }, - fromAmino(object: IssueDetailsAmino): IssueDetails { - return { - severity: isSet(object.severity) ? issueDetails_SeverityFromJSON(object.severity) : -1, - position: object?.position ? SourcePosition.fromAmino(object.position) : undefined, - id: Long.fromString(object.id) - }; - }, - toAmino(message: IssueDetails): IssueDetailsAmino { - const obj: any = {}; - obj.severity = message.severity; - obj.position = message.position ? SourcePosition.toAmino(message.position) : undefined; - obj.id = message.id ? message.id.toString() : undefined; - return obj; - }, - fromAminoMsg(object: IssueDetailsAminoMsg): IssueDetails { - return IssueDetails.fromAmino(object.value); - }, - fromProtoMsg(message: IssueDetailsProtoMsg): IssueDetails { - return IssueDetails.decode(message.value); - }, - toProto(message: IssueDetails): Uint8Array { - return IssueDetails.encode(message).finish(); - }, - toProtoMsg(message: IssueDetails): IssueDetailsProtoMsg { - return { - typeUrl: "/google.api.expr.conformance.v1alpha1.IssueDetails", - value: IssueDetails.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/expr/v1alpha1/checked.ts b/quicksilverjs/src/codegen/google/api/expr/v1alpha1/checked.ts deleted file mode 100644 index 2c25d6d79..000000000 --- a/quicksilverjs/src/codegen/google/api/expr/v1alpha1/checked.ts +++ /dev/null @@ -1,2591 +0,0 @@ -import { SourceInfo, SourceInfoAmino, SourceInfoSDKType, Expr, ExprAmino, ExprSDKType, Constant, ConstantAmino, ConstantSDKType } from "./syntax"; -import { Empty, EmptyAmino, EmptySDKType } from "../../../protobuf/empty"; -import { NullValue, NullValueSDKType, nullValueFromJSON, nullValueToJSON } from "../../../protobuf/struct"; -import { Long, isSet, DeepPartial, isObject } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.expr.v1alpha1"; -/** CEL primitive types. */ -export enum Type_PrimitiveType { - /** PRIMITIVE_TYPE_UNSPECIFIED - Unspecified type. */ - PRIMITIVE_TYPE_UNSPECIFIED = 0, - /** BOOL - Boolean type. */ - BOOL = 1, - /** - * INT64 - Int64 type. - * - * Proto-based integer values are widened to int64. - */ - INT64 = 2, - /** - * UINT64 - Uint64 type. - * - * Proto-based unsigned integer values are widened to uint64. - */ - UINT64 = 3, - /** - * DOUBLE - Double type. - * - * Proto-based float values are widened to double values. - */ - DOUBLE = 4, - /** STRING - String type. */ - STRING = 5, - /** BYTES - Bytes type. */ - BYTES = 6, - UNRECOGNIZED = -1, -} -export const Type_PrimitiveTypeSDKType = Type_PrimitiveType; -export const Type_PrimitiveTypeAmino = Type_PrimitiveType; -export function type_PrimitiveTypeFromJSON(object: any): Type_PrimitiveType { - switch (object) { - case 0: - case "PRIMITIVE_TYPE_UNSPECIFIED": - return Type_PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED; - case 1: - case "BOOL": - return Type_PrimitiveType.BOOL; - case 2: - case "INT64": - return Type_PrimitiveType.INT64; - case 3: - case "UINT64": - return Type_PrimitiveType.UINT64; - case 4: - case "DOUBLE": - return Type_PrimitiveType.DOUBLE; - case 5: - case "STRING": - return Type_PrimitiveType.STRING; - case 6: - case "BYTES": - return Type_PrimitiveType.BYTES; - case -1: - case "UNRECOGNIZED": - default: - return Type_PrimitiveType.UNRECOGNIZED; - } -} -export function type_PrimitiveTypeToJSON(object: Type_PrimitiveType): string { - switch (object) { - case Type_PrimitiveType.PRIMITIVE_TYPE_UNSPECIFIED: - return "PRIMITIVE_TYPE_UNSPECIFIED"; - case Type_PrimitiveType.BOOL: - return "BOOL"; - case Type_PrimitiveType.INT64: - return "INT64"; - case Type_PrimitiveType.UINT64: - return "UINT64"; - case Type_PrimitiveType.DOUBLE: - return "DOUBLE"; - case Type_PrimitiveType.STRING: - return "STRING"; - case Type_PrimitiveType.BYTES: - return "BYTES"; - case Type_PrimitiveType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Well-known protobuf types treated with first-class support in CEL. */ -export enum Type_WellKnownType { - /** WELL_KNOWN_TYPE_UNSPECIFIED - Unspecified type. */ - WELL_KNOWN_TYPE_UNSPECIFIED = 0, - /** - * ANY - Well-known protobuf.Any type. - * - * Any types are a polymorphic message type. During type-checking they are - * treated like `DYN` types, but at runtime they are resolved to a specific - * message type specified at evaluation time. - */ - ANY = 1, - /** TIMESTAMP - Well-known protobuf.Timestamp type, internally referenced as `timestamp`. */ - TIMESTAMP = 2, - /** DURATION - Well-known protobuf.Duration type, internally referenced as `duration`. */ - DURATION = 3, - UNRECOGNIZED = -1, -} -export const Type_WellKnownTypeSDKType = Type_WellKnownType; -export const Type_WellKnownTypeAmino = Type_WellKnownType; -export function type_WellKnownTypeFromJSON(object: any): Type_WellKnownType { - switch (object) { - case 0: - case "WELL_KNOWN_TYPE_UNSPECIFIED": - return Type_WellKnownType.WELL_KNOWN_TYPE_UNSPECIFIED; - case 1: - case "ANY": - return Type_WellKnownType.ANY; - case 2: - case "TIMESTAMP": - return Type_WellKnownType.TIMESTAMP; - case 3: - case "DURATION": - return Type_WellKnownType.DURATION; - case -1: - case "UNRECOGNIZED": - default: - return Type_WellKnownType.UNRECOGNIZED; - } -} -export function type_WellKnownTypeToJSON(object: Type_WellKnownType): string { - switch (object) { - case Type_WellKnownType.WELL_KNOWN_TYPE_UNSPECIFIED: - return "WELL_KNOWN_TYPE_UNSPECIFIED"; - case Type_WellKnownType.ANY: - return "ANY"; - case Type_WellKnownType.TIMESTAMP: - return "TIMESTAMP"; - case Type_WellKnownType.DURATION: - return "DURATION"; - case Type_WellKnownType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export interface CheckedExpr_ReferenceMapEntry { - key: Long; - value: Reference; -} -export interface CheckedExpr_ReferenceMapEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface CheckedExpr_ReferenceMapEntryAmino { - key: string; - value?: ReferenceAmino; -} -export interface CheckedExpr_ReferenceMapEntryAminoMsg { - type: string; - value: CheckedExpr_ReferenceMapEntryAmino; -} -export interface CheckedExpr_ReferenceMapEntrySDKType { - key: Long; - value: ReferenceSDKType; -} -export interface CheckedExpr_TypeMapEntry { - key: Long; - value: Type; -} -export interface CheckedExpr_TypeMapEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface CheckedExpr_TypeMapEntryAmino { - key: string; - value?: TypeAmino; -} -export interface CheckedExpr_TypeMapEntryAminoMsg { - type: string; - value: CheckedExpr_TypeMapEntryAmino; -} -export interface CheckedExpr_TypeMapEntrySDKType { - key: Long; - value: TypeSDKType; -} -/** A CEL expression which has been successfully type checked. */ -export interface CheckedExpr { - /** - * A map from expression ids to resolved references. - * - * The following entries are in this table: - * - * - An Ident or Select expression is represented here if it resolves to a - * declaration. For instance, if `a.b.c` is represented by - * `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, - * while `c` is a field selection, then the reference is attached to the - * nested select expression (but not to the id or or the outer select). - * In turn, if `a` resolves to a declaration and `b.c` are field selections, - * the reference is attached to the ident expression. - * - Every Call expression has an entry here, identifying the function being - * called. - * - Every CreateStruct expression for a message has an entry, identifying - * the message. - */ - referenceMap: { - [key: Long]: Reference; - }; - /** - * A map from expression ids to types. - * - * Every expression node which has a type different than DYN has a mapping - * here. If an expression has type DYN, it is omitted from this map to save - * space. - */ - typeMap: { - [key: Long]: Type; - }; - /** - * The source info derived from input that generated the parsed `expr` and - * any optimizations made during the type-checking pass. - */ - sourceInfo: SourceInfo; - /** - * The expr version indicates the major / minor version number of the `expr` - * representation. - * - * The most common reason for a version change will be to indicate to the CEL - * runtimes that transformations have been performed on the expr during static - * analysis. In some cases, this will save the runtime the work of applying - * the same or similar transformations prior to evaluation. - */ - exprVersion: string; - /** - * The checked expression. Semantically equivalent to the parsed `expr`, but - * may have structural differences. - */ - expr: Expr; -} -export interface CheckedExprProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.CheckedExpr"; - value: Uint8Array; -} -/** A CEL expression which has been successfully type checked. */ -export interface CheckedExprAmino { - /** - * A map from expression ids to resolved references. - * - * The following entries are in this table: - * - * - An Ident or Select expression is represented here if it resolves to a - * declaration. For instance, if `a.b.c` is represented by - * `select(select(id(a), b), c)`, and `a.b` resolves to a declaration, - * while `c` is a field selection, then the reference is attached to the - * nested select expression (but not to the id or or the outer select). - * In turn, if `a` resolves to a declaration and `b.c` are field selections, - * the reference is attached to the ident expression. - * - Every Call expression has an entry here, identifying the function being - * called. - * - Every CreateStruct expression for a message has an entry, identifying - * the message. - */ - reference_map?: { - [key: string]: ReferenceAmino; - }; - /** - * A map from expression ids to types. - * - * Every expression node which has a type different than DYN has a mapping - * here. If an expression has type DYN, it is omitted from this map to save - * space. - */ - type_map?: { - [key: string]: TypeAmino; - }; - /** - * The source info derived from input that generated the parsed `expr` and - * any optimizations made during the type-checking pass. - */ - source_info?: SourceInfoAmino; - /** - * The expr version indicates the major / minor version number of the `expr` - * representation. - * - * The most common reason for a version change will be to indicate to the CEL - * runtimes that transformations have been performed on the expr during static - * analysis. In some cases, this will save the runtime the work of applying - * the same or similar transformations prior to evaluation. - */ - expr_version: string; - /** - * The checked expression. Semantically equivalent to the parsed `expr`, but - * may have structural differences. - */ - expr?: ExprAmino; -} -export interface CheckedExprAminoMsg { - type: "/google.api.expr.v1alpha1.CheckedExpr"; - value: CheckedExprAmino; -} -/** A CEL expression which has been successfully type checked. */ -export interface CheckedExprSDKType { - reference_map: { - [key: Long]: ReferenceSDKType; - }; - type_map: { - [key: Long]: TypeSDKType; - }; - source_info: SourceInfoSDKType; - expr_version: string; - expr: ExprSDKType; -} -/** Represents a CEL type. */ -export interface Type { - /** Dynamic type. */ - dyn?: Empty; - /** Null value. */ - null?: NullValue; - /** Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`. */ - primitive?: Type_PrimitiveType; - /** Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`. */ - wrapper?: Type_PrimitiveType; - /** Well-known protobuf type such as `google.protobuf.Timestamp`. */ - wellKnown?: Type_WellKnownType; - /** Parameterized list with elements of `list_type`, e.g. `list`. */ - listType?: Type_ListType; - /** Parameterized map with typed keys and values. */ - mapType?: Type_MapType; - /** Function type. */ - function?: Type_FunctionType; - /** - * Protocol buffer message type. - * - * The `message_type` string specifies the qualified message type name. For - * example, `google.plus.Profile`. - */ - messageType?: string; - /** - * Type param type. - * - * The `type_param` string specifies the type parameter name, e.g. `list` - * would be a `list_type` whose element type was a `type_param` type - * named `E`. - */ - typeParam?: string; - /** - * Type type. - * - * The `type` value specifies the target type. e.g. int is type with a - * target type of `Primitive.INT`. - */ - type?: Type; - /** - * Error type. - * - * During type-checking if an expression is an error, its type is propagated - * as the `ERROR` type. This permits the type-checker to discover other - * errors present in the expression. - */ - error?: Empty; - /** Abstract, application defined type. */ - abstractType?: Type_AbstractType; -} -export interface TypeProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Type"; - value: Uint8Array; -} -/** Represents a CEL type. */ -export interface TypeAmino { - /** Dynamic type. */ - dyn?: EmptyAmino; - /** Null value. */ - null?: NullValue; - /** Primitive types: `true`, `1u`, `-2.0`, `'string'`, `b'bytes'`. */ - primitive?: Type_PrimitiveType; - /** Wrapper of a primitive type, e.g. `google.protobuf.Int64Value`. */ - wrapper?: Type_PrimitiveType; - /** Well-known protobuf type such as `google.protobuf.Timestamp`. */ - well_known?: Type_WellKnownType; - /** Parameterized list with elements of `list_type`, e.g. `list`. */ - list_type?: Type_ListTypeAmino; - /** Parameterized map with typed keys and values. */ - map_type?: Type_MapTypeAmino; - /** Function type. */ - function?: Type_FunctionTypeAmino; - /** - * Protocol buffer message type. - * - * The `message_type` string specifies the qualified message type name. For - * example, `google.plus.Profile`. - */ - message_type?: string; - /** - * Type param type. - * - * The `type_param` string specifies the type parameter name, e.g. `list` - * would be a `list_type` whose element type was a `type_param` type - * named `E`. - */ - type_param?: string; - /** - * Type type. - * - * The `type` value specifies the target type. e.g. int is type with a - * target type of `Primitive.INT`. - */ - type?: TypeAmino; - /** - * Error type. - * - * During type-checking if an expression is an error, its type is propagated - * as the `ERROR` type. This permits the type-checker to discover other - * errors present in the expression. - */ - error?: EmptyAmino; - /** Abstract, application defined type. */ - abstract_type?: Type_AbstractTypeAmino; -} -export interface TypeAminoMsg { - type: "/google.api.expr.v1alpha1.Type"; - value: TypeAmino; -} -/** Represents a CEL type. */ -export interface TypeSDKType { - dyn?: EmptySDKType; - null?: NullValue; - primitive?: Type_PrimitiveType; - wrapper?: Type_PrimitiveType; - well_known?: Type_WellKnownType; - list_type?: Type_ListTypeSDKType; - map_type?: Type_MapTypeSDKType; - function?: Type_FunctionTypeSDKType; - message_type?: string; - type_param?: string; - type?: TypeSDKType; - error?: EmptySDKType; - abstract_type?: Type_AbstractTypeSDKType; -} -/** List type with typed elements, e.g. `list`. */ -export interface Type_ListType { - /** The element type. */ - elemType: Type; -} -export interface Type_ListTypeProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.ListType"; - value: Uint8Array; -} -/** List type with typed elements, e.g. `list`. */ -export interface Type_ListTypeAmino { - /** The element type. */ - elem_type?: TypeAmino; -} -export interface Type_ListTypeAminoMsg { - type: "/google.api.expr.v1alpha1.ListType"; - value: Type_ListTypeAmino; -} -/** List type with typed elements, e.g. `list`. */ -export interface Type_ListTypeSDKType { - elem_type: TypeSDKType; -} -/** Map type with parameterized key and value types, e.g. `map`. */ -export interface Type_MapType { - /** The type of the key. */ - keyType: Type; - /** The type of the value. */ - valueType: Type; -} -export interface Type_MapTypeProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.MapType"; - value: Uint8Array; -} -/** Map type with parameterized key and value types, e.g. `map`. */ -export interface Type_MapTypeAmino { - /** The type of the key. */ - key_type?: TypeAmino; - /** The type of the value. */ - value_type?: TypeAmino; -} -export interface Type_MapTypeAminoMsg { - type: "/google.api.expr.v1alpha1.MapType"; - value: Type_MapTypeAmino; -} -/** Map type with parameterized key and value types, e.g. `map`. */ -export interface Type_MapTypeSDKType { - key_type: TypeSDKType; - value_type: TypeSDKType; -} -/** Function type with result and arg types. */ -export interface Type_FunctionType { - /** Result type of the function. */ - resultType: Type; - /** Argument types of the function. */ - argTypes: Type[]; -} -export interface Type_FunctionTypeProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.FunctionType"; - value: Uint8Array; -} -/** Function type with result and arg types. */ -export interface Type_FunctionTypeAmino { - /** Result type of the function. */ - result_type?: TypeAmino; - /** Argument types of the function. */ - arg_types: TypeAmino[]; -} -export interface Type_FunctionTypeAminoMsg { - type: "/google.api.expr.v1alpha1.FunctionType"; - value: Type_FunctionTypeAmino; -} -/** Function type with result and arg types. */ -export interface Type_FunctionTypeSDKType { - result_type: TypeSDKType; - arg_types: TypeSDKType[]; -} -/** Application defined abstract type. */ -export interface Type_AbstractType { - /** The fully qualified name of this abstract type. */ - name: string; - /** Parameter types for this abstract type. */ - parameterTypes: Type[]; -} -export interface Type_AbstractTypeProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.AbstractType"; - value: Uint8Array; -} -/** Application defined abstract type. */ -export interface Type_AbstractTypeAmino { - /** The fully qualified name of this abstract type. */ - name: string; - /** Parameter types for this abstract type. */ - parameter_types: TypeAmino[]; -} -export interface Type_AbstractTypeAminoMsg { - type: "/google.api.expr.v1alpha1.AbstractType"; - value: Type_AbstractTypeAmino; -} -/** Application defined abstract type. */ -export interface Type_AbstractTypeSDKType { - name: string; - parameter_types: TypeSDKType[]; -} -/** - * Represents a declaration of a named value or function. - * - * A declaration is part of the contract between the expression, the agent - * evaluating that expression, and the caller requesting evaluation. - */ -export interface Decl { - /** - * The fully qualified name of the declaration. - * - * Declarations are organized in containers and this represents the full path - * to the declaration in its container, as in `google.api.expr.Decl`. - * - * Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not - * have a name depending on whether the overload is function declaration or a - * function definition containing a result [Expr][google.api.expr.v1alpha1.Expr]. - */ - name: string; - /** Identifier declaration. */ - ident?: Decl_IdentDecl; - /** Function declaration. */ - function?: Decl_FunctionDecl; -} -export interface DeclProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Decl"; - value: Uint8Array; -} -/** - * Represents a declaration of a named value or function. - * - * A declaration is part of the contract between the expression, the agent - * evaluating that expression, and the caller requesting evaluation. - */ -export interface DeclAmino { - /** - * The fully qualified name of the declaration. - * - * Declarations are organized in containers and this represents the full path - * to the declaration in its container, as in `google.api.expr.Decl`. - * - * Declarations used as [FunctionDecl.Overload][google.api.expr.v1alpha1.Decl.FunctionDecl.Overload] parameters may or may not - * have a name depending on whether the overload is function declaration or a - * function definition containing a result [Expr][google.api.expr.v1alpha1.Expr]. - */ - name: string; - /** Identifier declaration. */ - ident?: Decl_IdentDeclAmino; - /** Function declaration. */ - function?: Decl_FunctionDeclAmino; -} -export interface DeclAminoMsg { - type: "/google.api.expr.v1alpha1.Decl"; - value: DeclAmino; -} -/** - * Represents a declaration of a named value or function. - * - * A declaration is part of the contract between the expression, the agent - * evaluating that expression, and the caller requesting evaluation. - */ -export interface DeclSDKType { - name: string; - ident?: Decl_IdentDeclSDKType; - function?: Decl_FunctionDeclSDKType; -} -/** - * Identifier declaration which specifies its type and optional `Expr` value. - * - * An identifier without a value is a declaration that must be provided at - * evaluation time. An identifier with a value should resolve to a constant, - * but may be used in conjunction with other identifiers bound at evaluation - * time. - */ -export interface Decl_IdentDecl { - /** Required. The type of the identifier. */ - type: Type; - /** - * The constant value of the identifier. If not specified, the identifier - * must be supplied at evaluation time. - */ - value: Constant; - /** Documentation string for the identifier. */ - doc: string; -} -export interface Decl_IdentDeclProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.IdentDecl"; - value: Uint8Array; -} -/** - * Identifier declaration which specifies its type and optional `Expr` value. - * - * An identifier without a value is a declaration that must be provided at - * evaluation time. An identifier with a value should resolve to a constant, - * but may be used in conjunction with other identifiers bound at evaluation - * time. - */ -export interface Decl_IdentDeclAmino { - /** Required. The type of the identifier. */ - type?: TypeAmino; - /** - * The constant value of the identifier. If not specified, the identifier - * must be supplied at evaluation time. - */ - value?: ConstantAmino; - /** Documentation string for the identifier. */ - doc: string; -} -export interface Decl_IdentDeclAminoMsg { - type: "/google.api.expr.v1alpha1.IdentDecl"; - value: Decl_IdentDeclAmino; -} -/** - * Identifier declaration which specifies its type and optional `Expr` value. - * - * An identifier without a value is a declaration that must be provided at - * evaluation time. An identifier with a value should resolve to a constant, - * but may be used in conjunction with other identifiers bound at evaluation - * time. - */ -export interface Decl_IdentDeclSDKType { - type: TypeSDKType; - value: ConstantSDKType; - doc: string; -} -/** - * Function declaration specifies one or more overloads which indicate the - * function's parameter types and return type. - * - * Functions have no observable side-effects (there may be side-effects like - * logging which are not observable from CEL). - */ -export interface Decl_FunctionDecl { - /** Required. List of function overloads, must contain at least one overload. */ - overloads: Decl_FunctionDecl_Overload[]; -} -export interface Decl_FunctionDeclProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.FunctionDecl"; - value: Uint8Array; -} -/** - * Function declaration specifies one or more overloads which indicate the - * function's parameter types and return type. - * - * Functions have no observable side-effects (there may be side-effects like - * logging which are not observable from CEL). - */ -export interface Decl_FunctionDeclAmino { - /** Required. List of function overloads, must contain at least one overload. */ - overloads: Decl_FunctionDecl_OverloadAmino[]; -} -export interface Decl_FunctionDeclAminoMsg { - type: "/google.api.expr.v1alpha1.FunctionDecl"; - value: Decl_FunctionDeclAmino; -} -/** - * Function declaration specifies one or more overloads which indicate the - * function's parameter types and return type. - * - * Functions have no observable side-effects (there may be side-effects like - * logging which are not observable from CEL). - */ -export interface Decl_FunctionDeclSDKType { - overloads: Decl_FunctionDecl_OverloadSDKType[]; -} -/** - * An overload indicates a function's parameter types and return type, and - * may optionally include a function body described in terms of [Expr][google.api.expr.v1alpha1.Expr] - * values. - * - * Functions overloads are declared in either a function or method - * call-style. For methods, the `params[0]` is the expected type of the - * target receiver. - * - * Overloads must have non-overlapping argument types after erasure of all - * parameterized type variables (similar as type erasure in Java). - */ -export interface Decl_FunctionDecl_Overload { - /** - * Required. Globally unique overload name of the function which reflects - * the function name and argument types. - * - * This will be used by a [Reference][google.api.expr.v1alpha1.Reference] to indicate the `overload_id` that - * was resolved for the function `name`. - */ - overloadId: string; - /** - * List of function parameter [Type][google.api.expr.v1alpha1.Type] values. - * - * Param types are disjoint after generic type parameters have been - * replaced with the type `DYN`. Since the `DYN` type is compatible with - * any other type, this means that if `A` is a type parameter, the - * function types `int` and `int` are not disjoint. Likewise, - * `map` is not disjoint from `map`. - * - * When the `result_type` of a function is a generic type param, the - * type param name also appears as the `type` of on at least one params. - */ - params: Type[]; - /** - * The type param names associated with the function declaration. - * - * For example, `function ex(K key, map map) : V` would yield - * the type params of `K, V`. - */ - typeParams: string[]; - /** - * Required. The result type of the function. For example, the operator - * `string.isEmpty()` would have `result_type` of `kind: BOOL`. - */ - resultType: Type; - /** - * Whether the function is to be used in a method call-style `x.f(...)` - * of a function call-style `f(x, ...)`. - * - * For methods, the first parameter declaration, `params[0]` is the - * expected type of the target receiver. - */ - isInstanceFunction: boolean; - /** Documentation string for the overload. */ - doc: string; -} -export interface Decl_FunctionDecl_OverloadProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Overload"; - value: Uint8Array; -} -/** - * An overload indicates a function's parameter types and return type, and - * may optionally include a function body described in terms of [Expr][google.api.expr.v1alpha1.Expr] - * values. - * - * Functions overloads are declared in either a function or method - * call-style. For methods, the `params[0]` is the expected type of the - * target receiver. - * - * Overloads must have non-overlapping argument types after erasure of all - * parameterized type variables (similar as type erasure in Java). - */ -export interface Decl_FunctionDecl_OverloadAmino { - /** - * Required. Globally unique overload name of the function which reflects - * the function name and argument types. - * - * This will be used by a [Reference][google.api.expr.v1alpha1.Reference] to indicate the `overload_id` that - * was resolved for the function `name`. - */ - overload_id: string; - /** - * List of function parameter [Type][google.api.expr.v1alpha1.Type] values. - * - * Param types are disjoint after generic type parameters have been - * replaced with the type `DYN`. Since the `DYN` type is compatible with - * any other type, this means that if `A` is a type parameter, the - * function types `int` and `int` are not disjoint. Likewise, - * `map` is not disjoint from `map`. - * - * When the `result_type` of a function is a generic type param, the - * type param name also appears as the `type` of on at least one params. - */ - params: TypeAmino[]; - /** - * The type param names associated with the function declaration. - * - * For example, `function ex(K key, map map) : V` would yield - * the type params of `K, V`. - */ - type_params: string[]; - /** - * Required. The result type of the function. For example, the operator - * `string.isEmpty()` would have `result_type` of `kind: BOOL`. - */ - result_type?: TypeAmino; - /** - * Whether the function is to be used in a method call-style `x.f(...)` - * of a function call-style `f(x, ...)`. - * - * For methods, the first parameter declaration, `params[0]` is the - * expected type of the target receiver. - */ - is_instance_function: boolean; - /** Documentation string for the overload. */ - doc: string; -} -export interface Decl_FunctionDecl_OverloadAminoMsg { - type: "/google.api.expr.v1alpha1.Overload"; - value: Decl_FunctionDecl_OverloadAmino; -} -/** - * An overload indicates a function's parameter types and return type, and - * may optionally include a function body described in terms of [Expr][google.api.expr.v1alpha1.Expr] - * values. - * - * Functions overloads are declared in either a function or method - * call-style. For methods, the `params[0]` is the expected type of the - * target receiver. - * - * Overloads must have non-overlapping argument types after erasure of all - * parameterized type variables (similar as type erasure in Java). - */ -export interface Decl_FunctionDecl_OverloadSDKType { - overload_id: string; - params: TypeSDKType[]; - type_params: string[]; - result_type: TypeSDKType; - is_instance_function: boolean; - doc: string; -} -/** Describes a resolved reference to a declaration. */ -export interface Reference { - /** The fully qualified name of the declaration. */ - name: string; - /** - * For references to functions, this is a list of `Overload.overload_id` - * values which match according to typing rules. - * - * If the list has more than one element, overload resolution among the - * presented candidates must happen at runtime because of dynamic types. The - * type checker attempts to narrow down this list as much as possible. - * - * Empty if this is not a reference to a [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl]. - */ - overloadId: string[]; - /** - * For references to constants, this may contain the value of the - * constant if known at compile time. - */ - value: Constant; -} -export interface ReferenceProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Reference"; - value: Uint8Array; -} -/** Describes a resolved reference to a declaration. */ -export interface ReferenceAmino { - /** The fully qualified name of the declaration. */ - name: string; - /** - * For references to functions, this is a list of `Overload.overload_id` - * values which match according to typing rules. - * - * If the list has more than one element, overload resolution among the - * presented candidates must happen at runtime because of dynamic types. The - * type checker attempts to narrow down this list as much as possible. - * - * Empty if this is not a reference to a [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl]. - */ - overload_id: string[]; - /** - * For references to constants, this may contain the value of the - * constant if known at compile time. - */ - value?: ConstantAmino; -} -export interface ReferenceAminoMsg { - type: "/google.api.expr.v1alpha1.Reference"; - value: ReferenceAmino; -} -/** Describes a resolved reference to a declaration. */ -export interface ReferenceSDKType { - name: string; - overload_id: string[]; - value: ConstantSDKType; -} -function createBaseCheckedExpr_ReferenceMapEntry(): CheckedExpr_ReferenceMapEntry { - return { - key: Long.ZERO, - value: Reference.fromPartial({}) - }; -} -export const CheckedExpr_ReferenceMapEntry = { - encode(message: CheckedExpr_ReferenceMapEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.key.isZero()) { - writer.uint32(8).int64(message.key); - } - if (message.value !== undefined) { - Reference.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckedExpr_ReferenceMapEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckedExpr_ReferenceMapEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = (reader.int64() as Long); - break; - case 2: - message.value = Reference.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckedExpr_ReferenceMapEntry { - const obj = createBaseCheckedExpr_ReferenceMapEntry(); - if (isSet(object.key)) obj.key = Long.fromValue(object.key); - if (isSet(object.value)) obj.value = Reference.fromJSON(object.value); - return obj; - }, - toJSON(message: CheckedExpr_ReferenceMapEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = (message.key || Long.ZERO).toString()); - message.value !== undefined && (obj.value = message.value ? Reference.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CheckedExpr_ReferenceMapEntry { - const message = createBaseCheckedExpr_ReferenceMapEntry(); - if (object.key !== undefined && object.key !== null) { - message.key = Long.fromValue(object.key); - } - if (object.value !== undefined && object.value !== null) { - message.value = Reference.fromPartial(object.value); - } - return message; - }, - fromSDK(object: CheckedExpr_ReferenceMapEntrySDKType): CheckedExpr_ReferenceMapEntry { - return { - key: object?.key, - value: object.value ? Reference.fromSDK(object.value) : undefined - }; - }, - toSDK(message: CheckedExpr_ReferenceMapEntry): CheckedExpr_ReferenceMapEntrySDKType { - const obj: any = {}; - obj.key = message.key; - message.value !== undefined && (obj.value = message.value ? Reference.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: CheckedExpr_ReferenceMapEntryAmino): CheckedExpr_ReferenceMapEntry { - return { - key: Long.fromString(object.key), - value: object?.value ? Reference.fromAmino(object.value) : undefined - }; - }, - toAmino(message: CheckedExpr_ReferenceMapEntry): CheckedExpr_ReferenceMapEntryAmino { - const obj: any = {}; - obj.key = message.key ? message.key.toString() : undefined; - obj.value = message.value ? Reference.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: CheckedExpr_ReferenceMapEntryAminoMsg): CheckedExpr_ReferenceMapEntry { - return CheckedExpr_ReferenceMapEntry.fromAmino(object.value); - }, - fromProtoMsg(message: CheckedExpr_ReferenceMapEntryProtoMsg): CheckedExpr_ReferenceMapEntry { - return CheckedExpr_ReferenceMapEntry.decode(message.value); - }, - toProto(message: CheckedExpr_ReferenceMapEntry): Uint8Array { - return CheckedExpr_ReferenceMapEntry.encode(message).finish(); - } -}; -function createBaseCheckedExpr_TypeMapEntry(): CheckedExpr_TypeMapEntry { - return { - key: Long.ZERO, - value: Type.fromPartial({}) - }; -} -export const CheckedExpr_TypeMapEntry = { - encode(message: CheckedExpr_TypeMapEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.key.isZero()) { - writer.uint32(8).int64(message.key); - } - if (message.value !== undefined) { - Type.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckedExpr_TypeMapEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckedExpr_TypeMapEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = (reader.int64() as Long); - break; - case 2: - message.value = Type.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckedExpr_TypeMapEntry { - const obj = createBaseCheckedExpr_TypeMapEntry(); - if (isSet(object.key)) obj.key = Long.fromValue(object.key); - if (isSet(object.value)) obj.value = Type.fromJSON(object.value); - return obj; - }, - toJSON(message: CheckedExpr_TypeMapEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = (message.key || Long.ZERO).toString()); - message.value !== undefined && (obj.value = message.value ? Type.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CheckedExpr_TypeMapEntry { - const message = createBaseCheckedExpr_TypeMapEntry(); - if (object.key !== undefined && object.key !== null) { - message.key = Long.fromValue(object.key); - } - if (object.value !== undefined && object.value !== null) { - message.value = Type.fromPartial(object.value); - } - return message; - }, - fromSDK(object: CheckedExpr_TypeMapEntrySDKType): CheckedExpr_TypeMapEntry { - return { - key: object?.key, - value: object.value ? Type.fromSDK(object.value) : undefined - }; - }, - toSDK(message: CheckedExpr_TypeMapEntry): CheckedExpr_TypeMapEntrySDKType { - const obj: any = {}; - obj.key = message.key; - message.value !== undefined && (obj.value = message.value ? Type.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: CheckedExpr_TypeMapEntryAmino): CheckedExpr_TypeMapEntry { - return { - key: Long.fromString(object.key), - value: object?.value ? Type.fromAmino(object.value) : undefined - }; - }, - toAmino(message: CheckedExpr_TypeMapEntry): CheckedExpr_TypeMapEntryAmino { - const obj: any = {}; - obj.key = message.key ? message.key.toString() : undefined; - obj.value = message.value ? Type.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: CheckedExpr_TypeMapEntryAminoMsg): CheckedExpr_TypeMapEntry { - return CheckedExpr_TypeMapEntry.fromAmino(object.value); - }, - fromProtoMsg(message: CheckedExpr_TypeMapEntryProtoMsg): CheckedExpr_TypeMapEntry { - return CheckedExpr_TypeMapEntry.decode(message.value); - }, - toProto(message: CheckedExpr_TypeMapEntry): Uint8Array { - return CheckedExpr_TypeMapEntry.encode(message).finish(); - } -}; -function createBaseCheckedExpr(): CheckedExpr { - return { - referenceMap: {}, - typeMap: {}, - sourceInfo: SourceInfo.fromPartial({}), - exprVersion: "", - expr: Expr.fromPartial({}) - }; -} -export const CheckedExpr = { - typeUrl: "/google.api.expr.v1alpha1.CheckedExpr", - encode(message: CheckedExpr, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - Object.entries(message.referenceMap).forEach(([key, value]) => { - CheckedExpr_ReferenceMapEntry.encode({ - key: (key as any), - value - }, writer.uint32(18).fork()).ldelim(); - }); - Object.entries(message.typeMap).forEach(([key, value]) => { - CheckedExpr_TypeMapEntry.encode({ - key: (key as any), - value - }, writer.uint32(26).fork()).ldelim(); - }); - if (message.sourceInfo !== undefined) { - SourceInfo.encode(message.sourceInfo, writer.uint32(42).fork()).ldelim(); - } - if (message.exprVersion !== "") { - writer.uint32(50).string(message.exprVersion); - } - if (message.expr !== undefined) { - Expr.encode(message.expr, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckedExpr { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckedExpr(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - const entry2 = CheckedExpr_ReferenceMapEntry.decode(reader, reader.uint32()); - if (entry2.value !== undefined) { - message.referenceMap[entry2.key] = entry2.value; - } - break; - case 3: - const entry3 = CheckedExpr_TypeMapEntry.decode(reader, reader.uint32()); - if (entry3.value !== undefined) { - message.typeMap[entry3.key] = entry3.value; - } - break; - case 5: - message.sourceInfo = SourceInfo.decode(reader, reader.uint32()); - break; - case 6: - message.exprVersion = reader.string(); - break; - case 4: - message.expr = Expr.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckedExpr { - const obj = createBaseCheckedExpr(); - if (isObject(object.referenceMap)) obj.referenceMap = Object.entries(object.referenceMap).reduce<{ - [key: Long]: Reference; - }>((acc, [key, value]) => { - acc[Number(key)] = Reference.fromJSON(value); - return acc; - }, {}); - if (isObject(object.typeMap)) obj.typeMap = Object.entries(object.typeMap).reduce<{ - [key: Long]: Type; - }>((acc, [key, value]) => { - acc[Number(key)] = Type.fromJSON(value); - return acc; - }, {}); - if (isSet(object.sourceInfo)) obj.sourceInfo = SourceInfo.fromJSON(object.sourceInfo); - if (isSet(object.exprVersion)) obj.exprVersion = String(object.exprVersion); - if (isSet(object.expr)) obj.expr = Expr.fromJSON(object.expr); - return obj; - }, - toJSON(message: CheckedExpr): unknown { - const obj: any = {}; - obj.referenceMap = {}; - if (message.referenceMap) { - Object.entries(message.referenceMap).forEach(([k, v]) => { - obj.referenceMap[k] = Reference.toJSON(v); - }); - } - obj.typeMap = {}; - if (message.typeMap) { - Object.entries(message.typeMap).forEach(([k, v]) => { - obj.typeMap[k] = Type.toJSON(v); - }); - } - message.sourceInfo !== undefined && (obj.sourceInfo = message.sourceInfo ? SourceInfo.toJSON(message.sourceInfo) : undefined); - message.exprVersion !== undefined && (obj.exprVersion = message.exprVersion); - message.expr !== undefined && (obj.expr = message.expr ? Expr.toJSON(message.expr) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CheckedExpr { - const message = createBaseCheckedExpr(); - message.referenceMap = Object.entries(object.referenceMap ?? {}).reduce<{ - [key: Long]: Reference; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[Number(key)] = Reference.fromPartial(value); - } - return acc; - }, {}); - message.typeMap = Object.entries(object.typeMap ?? {}).reduce<{ - [key: Long]: Type; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[Number(key)] = Type.fromPartial(value); - } - return acc; - }, {}); - if (object.sourceInfo !== undefined && object.sourceInfo !== null) { - message.sourceInfo = SourceInfo.fromPartial(object.sourceInfo); - } - message.exprVersion = object.exprVersion ?? ""; - if (object.expr !== undefined && object.expr !== null) { - message.expr = Expr.fromPartial(object.expr); - } - return message; - }, - fromSDK(object: CheckedExprSDKType): CheckedExpr { - return { - referenceMap: isObject(object.reference_map) ? Object.entries(object.reference_map).reduce<{ - [key: Long]: Reference; - }>((acc, [key, value]) => { - acc[Number(key)] = Reference.fromSDK(value); - return acc; - }, {}) : {}, - typeMap: isObject(object.type_map) ? Object.entries(object.type_map).reduce<{ - [key: Long]: Type; - }>((acc, [key, value]) => { - acc[Number(key)] = Type.fromSDK(value); - return acc; - }, {}) : {}, - sourceInfo: object.source_info ? SourceInfo.fromSDK(object.source_info) : undefined, - exprVersion: object?.expr_version, - expr: object.expr ? Expr.fromSDK(object.expr) : undefined - }; - }, - toSDK(message: CheckedExpr): CheckedExprSDKType { - const obj: any = {}; - obj.reference_map = {}; - if (message.referenceMap) { - Object.entries(message.referenceMap).forEach(([k, v]) => { - obj.reference_map[k] = Reference.toSDK(v); - }); - } - obj.type_map = {}; - if (message.typeMap) { - Object.entries(message.typeMap).forEach(([k, v]) => { - obj.type_map[k] = Type.toSDK(v); - }); - } - message.sourceInfo !== undefined && (obj.source_info = message.sourceInfo ? SourceInfo.toSDK(message.sourceInfo) : undefined); - obj.expr_version = message.exprVersion; - message.expr !== undefined && (obj.expr = message.expr ? Expr.toSDK(message.expr) : undefined); - return obj; - }, - fromAmino(object: CheckedExprAmino): CheckedExpr { - return { - referenceMap: isObject(object.reference_map) ? Object.entries(object.reference_map).reduce<{ - [key: Long]: Reference; - }>((acc, [key, value]) => { - acc[Number(key)] = Reference.fromAmino(value); - return acc; - }, {}) : {}, - typeMap: isObject(object.type_map) ? Object.entries(object.type_map).reduce<{ - [key: Long]: Type; - }>((acc, [key, value]) => { - acc[Number(key)] = Type.fromAmino(value); - return acc; - }, {}) : {}, - sourceInfo: object?.source_info ? SourceInfo.fromAmino(object.source_info) : undefined, - exprVersion: object.expr_version, - expr: object?.expr ? Expr.fromAmino(object.expr) : undefined - }; - }, - toAmino(message: CheckedExpr): CheckedExprAmino { - const obj: any = {}; - obj.reference_map = {}; - if (message.referenceMap) { - Object.entries(message.referenceMap).forEach(([k, v]) => { - obj.reference_map[k] = Reference.toAmino(v); - }); - } - obj.type_map = {}; - if (message.typeMap) { - Object.entries(message.typeMap).forEach(([k, v]) => { - obj.type_map[k] = Type.toAmino(v); - }); - } - obj.source_info = message.sourceInfo ? SourceInfo.toAmino(message.sourceInfo) : undefined; - obj.expr_version = message.exprVersion; - obj.expr = message.expr ? Expr.toAmino(message.expr) : undefined; - return obj; - }, - fromAminoMsg(object: CheckedExprAminoMsg): CheckedExpr { - return CheckedExpr.fromAmino(object.value); - }, - fromProtoMsg(message: CheckedExprProtoMsg): CheckedExpr { - return CheckedExpr.decode(message.value); - }, - toProto(message: CheckedExpr): Uint8Array { - return CheckedExpr.encode(message).finish(); - }, - toProtoMsg(message: CheckedExpr): CheckedExprProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.CheckedExpr", - value: CheckedExpr.encode(message).finish() - }; - } -}; -function createBaseType(): Type { - return { - dyn: undefined, - null: undefined, - primitive: undefined, - wrapper: undefined, - wellKnown: undefined, - listType: undefined, - mapType: undefined, - function: undefined, - messageType: undefined, - typeParam: undefined, - type: undefined, - error: undefined, - abstractType: undefined - }; -} -export const Type = { - typeUrl: "/google.api.expr.v1alpha1.Type", - encode(message: Type, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.dyn !== undefined) { - Empty.encode(message.dyn, writer.uint32(10).fork()).ldelim(); - } - if (message.null !== undefined) { - writer.uint32(16).int32(message.null); - } - if (message.primitive !== undefined) { - writer.uint32(24).int32(message.primitive); - } - if (message.wrapper !== undefined) { - writer.uint32(32).int32(message.wrapper); - } - if (message.wellKnown !== undefined) { - writer.uint32(40).int32(message.wellKnown); - } - if (message.listType !== undefined) { - Type_ListType.encode(message.listType, writer.uint32(50).fork()).ldelim(); - } - if (message.mapType !== undefined) { - Type_MapType.encode(message.mapType, writer.uint32(58).fork()).ldelim(); - } - if (message.function !== undefined) { - Type_FunctionType.encode(message.function, writer.uint32(66).fork()).ldelim(); - } - if (message.messageType !== undefined) { - writer.uint32(74).string(message.messageType); - } - if (message.typeParam !== undefined) { - writer.uint32(82).string(message.typeParam); - } - if (message.type !== undefined) { - Type.encode(message.type, writer.uint32(90).fork()).ldelim(); - } - if (message.error !== undefined) { - Empty.encode(message.error, writer.uint32(98).fork()).ldelim(); - } - if (message.abstractType !== undefined) { - Type_AbstractType.encode(message.abstractType, writer.uint32(114).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Type { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseType(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.dyn = Empty.decode(reader, reader.uint32()); - break; - case 2: - message.null = (reader.int32() as any); - break; - case 3: - message.primitive = (reader.int32() as any); - break; - case 4: - message.wrapper = (reader.int32() as any); - break; - case 5: - message.wellKnown = (reader.int32() as any); - break; - case 6: - message.listType = Type_ListType.decode(reader, reader.uint32()); - break; - case 7: - message.mapType = Type_MapType.decode(reader, reader.uint32()); - break; - case 8: - message.function = Type_FunctionType.decode(reader, reader.uint32()); - break; - case 9: - message.messageType = reader.string(); - break; - case 10: - message.typeParam = reader.string(); - break; - case 11: - message.type = Type.decode(reader, reader.uint32()); - break; - case 12: - message.error = Empty.decode(reader, reader.uint32()); - break; - case 14: - message.abstractType = Type_AbstractType.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Type { - const obj = createBaseType(); - if (isSet(object.dyn)) obj.dyn = Empty.fromJSON(object.dyn); - if (isSet(object.null)) obj.null = nullValueFromJSON(object.null); - if (isSet(object.primitive)) obj.primitive = type_PrimitiveTypeFromJSON(object.primitive); - if (isSet(object.wrapper)) obj.wrapper = type_PrimitiveTypeFromJSON(object.wrapper); - if (isSet(object.wellKnown)) obj.wellKnown = type_WellKnownTypeFromJSON(object.wellKnown); - if (isSet(object.listType)) obj.listType = Type_ListType.fromJSON(object.listType); - if (isSet(object.mapType)) obj.mapType = Type_MapType.fromJSON(object.mapType); - if (isSet(object.function)) obj.function = Type_FunctionType.fromJSON(object.function); - if (isSet(object.messageType)) obj.messageType = String(object.messageType); - if (isSet(object.typeParam)) obj.typeParam = String(object.typeParam); - if (isSet(object.type)) obj.type = Type.fromJSON(object.type); - if (isSet(object.error)) obj.error = Empty.fromJSON(object.error); - if (isSet(object.abstractType)) obj.abstractType = Type_AbstractType.fromJSON(object.abstractType); - return obj; - }, - toJSON(message: Type): unknown { - const obj: any = {}; - message.dyn !== undefined && (obj.dyn = message.dyn ? Empty.toJSON(message.dyn) : undefined); - message.null !== undefined && (obj.null = nullValueToJSON(message.null)); - message.primitive !== undefined && (obj.primitive = type_PrimitiveTypeToJSON(message.primitive)); - message.wrapper !== undefined && (obj.wrapper = type_PrimitiveTypeToJSON(message.wrapper)); - message.wellKnown !== undefined && (obj.wellKnown = type_WellKnownTypeToJSON(message.wellKnown)); - message.listType !== undefined && (obj.listType = message.listType ? Type_ListType.toJSON(message.listType) : undefined); - message.mapType !== undefined && (obj.mapType = message.mapType ? Type_MapType.toJSON(message.mapType) : undefined); - message.function !== undefined && (obj.function = message.function ? Type_FunctionType.toJSON(message.function) : undefined); - message.messageType !== undefined && (obj.messageType = message.messageType); - message.typeParam !== undefined && (obj.typeParam = message.typeParam); - message.type !== undefined && (obj.type = message.type ? Type.toJSON(message.type) : undefined); - message.error !== undefined && (obj.error = message.error ? Empty.toJSON(message.error) : undefined); - message.abstractType !== undefined && (obj.abstractType = message.abstractType ? Type_AbstractType.toJSON(message.abstractType) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Type { - const message = createBaseType(); - if (object.dyn !== undefined && object.dyn !== null) { - message.dyn = Empty.fromPartial(object.dyn); - } - message.null = object.null ?? undefined; - message.primitive = object.primitive ?? undefined; - message.wrapper = object.wrapper ?? undefined; - message.wellKnown = object.wellKnown ?? undefined; - if (object.listType !== undefined && object.listType !== null) { - message.listType = Type_ListType.fromPartial(object.listType); - } - if (object.mapType !== undefined && object.mapType !== null) { - message.mapType = Type_MapType.fromPartial(object.mapType); - } - if (object.function !== undefined && object.function !== null) { - message.function = Type_FunctionType.fromPartial(object.function); - } - message.messageType = object.messageType ?? undefined; - message.typeParam = object.typeParam ?? undefined; - if (object.type !== undefined && object.type !== null) { - message.type = Type.fromPartial(object.type); - } - if (object.error !== undefined && object.error !== null) { - message.error = Empty.fromPartial(object.error); - } - if (object.abstractType !== undefined && object.abstractType !== null) { - message.abstractType = Type_AbstractType.fromPartial(object.abstractType); - } - return message; - }, - fromSDK(object: TypeSDKType): Type { - return { - dyn: object.dyn ? Empty.fromSDK(object.dyn) : undefined, - null: isSet(object.null) ? nullValueFromJSON(object.null) : undefined, - primitive: isSet(object.primitive) ? type_PrimitiveTypeFromJSON(object.primitive) : undefined, - wrapper: isSet(object.wrapper) ? type_PrimitiveTypeFromJSON(object.wrapper) : undefined, - wellKnown: isSet(object.well_known) ? type_WellKnownTypeFromJSON(object.well_known) : undefined, - listType: object.list_type ? Type_ListType.fromSDK(object.list_type) : undefined, - mapType: object.map_type ? Type_MapType.fromSDK(object.map_type) : undefined, - function: object.function ? Type_FunctionType.fromSDK(object.function) : undefined, - messageType: object?.message_type, - typeParam: object?.type_param, - type: object.type ? Type.fromSDK(object.type) : undefined, - error: object.error ? Empty.fromSDK(object.error) : undefined, - abstractType: object.abstract_type ? Type_AbstractType.fromSDK(object.abstract_type) : undefined - }; - }, - toSDK(message: Type): TypeSDKType { - const obj: any = {}; - message.dyn !== undefined && (obj.dyn = message.dyn ? Empty.toSDK(message.dyn) : undefined); - message.null !== undefined && (obj.null = nullValueToJSON(message.null)); - message.primitive !== undefined && (obj.primitive = type_PrimitiveTypeToJSON(message.primitive)); - message.wrapper !== undefined && (obj.wrapper = type_PrimitiveTypeToJSON(message.wrapper)); - message.wellKnown !== undefined && (obj.well_known = type_WellKnownTypeToJSON(message.wellKnown)); - message.listType !== undefined && (obj.list_type = message.listType ? Type_ListType.toSDK(message.listType) : undefined); - message.mapType !== undefined && (obj.map_type = message.mapType ? Type_MapType.toSDK(message.mapType) : undefined); - message.function !== undefined && (obj.function = message.function ? Type_FunctionType.toSDK(message.function) : undefined); - obj.message_type = message.messageType; - obj.type_param = message.typeParam; - message.type !== undefined && (obj.type = message.type ? Type.toSDK(message.type) : undefined); - message.error !== undefined && (obj.error = message.error ? Empty.toSDK(message.error) : undefined); - message.abstractType !== undefined && (obj.abstract_type = message.abstractType ? Type_AbstractType.toSDK(message.abstractType) : undefined); - return obj; - }, - fromAmino(object: TypeAmino): Type { - return { - dyn: object?.dyn ? Empty.fromAmino(object.dyn) : undefined, - null: isSet(object.null) ? nullValueFromJSON(object.null) : undefined, - primitive: isSet(object.primitive) ? type_PrimitiveTypeFromJSON(object.primitive) : undefined, - wrapper: isSet(object.wrapper) ? type_PrimitiveTypeFromJSON(object.wrapper) : undefined, - wellKnown: isSet(object.well_known) ? type_WellKnownTypeFromJSON(object.well_known) : undefined, - listType: object?.list_type ? Type_ListType.fromAmino(object.list_type) : undefined, - mapType: object?.map_type ? Type_MapType.fromAmino(object.map_type) : undefined, - function: object?.function ? Type_FunctionType.fromAmino(object.function) : undefined, - messageType: object?.message_type, - typeParam: object?.type_param, - type: object?.type ? Type.fromAmino(object.type) : undefined, - error: object?.error ? Empty.fromAmino(object.error) : undefined, - abstractType: object?.abstract_type ? Type_AbstractType.fromAmino(object.abstract_type) : undefined - }; - }, - toAmino(message: Type): TypeAmino { - const obj: any = {}; - obj.dyn = message.dyn ? Empty.toAmino(message.dyn) : undefined; - obj.null = message.null; - obj.primitive = message.primitive; - obj.wrapper = message.wrapper; - obj.well_known = message.wellKnown; - obj.list_type = message.listType ? Type_ListType.toAmino(message.listType) : undefined; - obj.map_type = message.mapType ? Type_MapType.toAmino(message.mapType) : undefined; - obj.function = message.function ? Type_FunctionType.toAmino(message.function) : undefined; - obj.message_type = message.messageType; - obj.type_param = message.typeParam; - obj.type = message.type ? Type.toAmino(message.type) : undefined; - obj.error = message.error ? Empty.toAmino(message.error) : undefined; - obj.abstract_type = message.abstractType ? Type_AbstractType.toAmino(message.abstractType) : undefined; - return obj; - }, - fromAminoMsg(object: TypeAminoMsg): Type { - return Type.fromAmino(object.value); - }, - fromProtoMsg(message: TypeProtoMsg): Type { - return Type.decode(message.value); - }, - toProto(message: Type): Uint8Array { - return Type.encode(message).finish(); - }, - toProtoMsg(message: Type): TypeProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Type", - value: Type.encode(message).finish() - }; - } -}; -function createBaseType_ListType(): Type_ListType { - return { - elemType: Type.fromPartial({}) - }; -} -export const Type_ListType = { - typeUrl: "/google.api.expr.v1alpha1.ListType", - encode(message: Type_ListType, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.elemType !== undefined) { - Type.encode(message.elemType, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Type_ListType { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseType_ListType(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.elemType = Type.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Type_ListType { - const obj = createBaseType_ListType(); - if (isSet(object.elemType)) obj.elemType = Type.fromJSON(object.elemType); - return obj; - }, - toJSON(message: Type_ListType): unknown { - const obj: any = {}; - message.elemType !== undefined && (obj.elemType = message.elemType ? Type.toJSON(message.elemType) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Type_ListType { - const message = createBaseType_ListType(); - if (object.elemType !== undefined && object.elemType !== null) { - message.elemType = Type.fromPartial(object.elemType); - } - return message; - }, - fromSDK(object: Type_ListTypeSDKType): Type_ListType { - return { - elemType: object.elem_type ? Type.fromSDK(object.elem_type) : undefined - }; - }, - toSDK(message: Type_ListType): Type_ListTypeSDKType { - const obj: any = {}; - message.elemType !== undefined && (obj.elem_type = message.elemType ? Type.toSDK(message.elemType) : undefined); - return obj; - }, - fromAmino(object: Type_ListTypeAmino): Type_ListType { - return { - elemType: object?.elem_type ? Type.fromAmino(object.elem_type) : undefined - }; - }, - toAmino(message: Type_ListType): Type_ListTypeAmino { - const obj: any = {}; - obj.elem_type = message.elemType ? Type.toAmino(message.elemType) : undefined; - return obj; - }, - fromAminoMsg(object: Type_ListTypeAminoMsg): Type_ListType { - return Type_ListType.fromAmino(object.value); - }, - fromProtoMsg(message: Type_ListTypeProtoMsg): Type_ListType { - return Type_ListType.decode(message.value); - }, - toProto(message: Type_ListType): Uint8Array { - return Type_ListType.encode(message).finish(); - }, - toProtoMsg(message: Type_ListType): Type_ListTypeProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.ListType", - value: Type_ListType.encode(message).finish() - }; - } -}; -function createBaseType_MapType(): Type_MapType { - return { - keyType: Type.fromPartial({}), - valueType: Type.fromPartial({}) - }; -} -export const Type_MapType = { - typeUrl: "/google.api.expr.v1alpha1.MapType", - encode(message: Type_MapType, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.keyType !== undefined) { - Type.encode(message.keyType, writer.uint32(10).fork()).ldelim(); - } - if (message.valueType !== undefined) { - Type.encode(message.valueType, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Type_MapType { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseType_MapType(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.keyType = Type.decode(reader, reader.uint32()); - break; - case 2: - message.valueType = Type.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Type_MapType { - const obj = createBaseType_MapType(); - if (isSet(object.keyType)) obj.keyType = Type.fromJSON(object.keyType); - if (isSet(object.valueType)) obj.valueType = Type.fromJSON(object.valueType); - return obj; - }, - toJSON(message: Type_MapType): unknown { - const obj: any = {}; - message.keyType !== undefined && (obj.keyType = message.keyType ? Type.toJSON(message.keyType) : undefined); - message.valueType !== undefined && (obj.valueType = message.valueType ? Type.toJSON(message.valueType) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Type_MapType { - const message = createBaseType_MapType(); - if (object.keyType !== undefined && object.keyType !== null) { - message.keyType = Type.fromPartial(object.keyType); - } - if (object.valueType !== undefined && object.valueType !== null) { - message.valueType = Type.fromPartial(object.valueType); - } - return message; - }, - fromSDK(object: Type_MapTypeSDKType): Type_MapType { - return { - keyType: object.key_type ? Type.fromSDK(object.key_type) : undefined, - valueType: object.value_type ? Type.fromSDK(object.value_type) : undefined - }; - }, - toSDK(message: Type_MapType): Type_MapTypeSDKType { - const obj: any = {}; - message.keyType !== undefined && (obj.key_type = message.keyType ? Type.toSDK(message.keyType) : undefined); - message.valueType !== undefined && (obj.value_type = message.valueType ? Type.toSDK(message.valueType) : undefined); - return obj; - }, - fromAmino(object: Type_MapTypeAmino): Type_MapType { - return { - keyType: object?.key_type ? Type.fromAmino(object.key_type) : undefined, - valueType: object?.value_type ? Type.fromAmino(object.value_type) : undefined - }; - }, - toAmino(message: Type_MapType): Type_MapTypeAmino { - const obj: any = {}; - obj.key_type = message.keyType ? Type.toAmino(message.keyType) : undefined; - obj.value_type = message.valueType ? Type.toAmino(message.valueType) : undefined; - return obj; - }, - fromAminoMsg(object: Type_MapTypeAminoMsg): Type_MapType { - return Type_MapType.fromAmino(object.value); - }, - fromProtoMsg(message: Type_MapTypeProtoMsg): Type_MapType { - return Type_MapType.decode(message.value); - }, - toProto(message: Type_MapType): Uint8Array { - return Type_MapType.encode(message).finish(); - }, - toProtoMsg(message: Type_MapType): Type_MapTypeProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.MapType", - value: Type_MapType.encode(message).finish() - }; - } -}; -function createBaseType_FunctionType(): Type_FunctionType { - return { - resultType: Type.fromPartial({}), - argTypes: [] - }; -} -export const Type_FunctionType = { - typeUrl: "/google.api.expr.v1alpha1.FunctionType", - encode(message: Type_FunctionType, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.resultType !== undefined) { - Type.encode(message.resultType, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.argTypes) { - Type.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Type_FunctionType { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseType_FunctionType(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.resultType = Type.decode(reader, reader.uint32()); - break; - case 2: - message.argTypes.push(Type.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Type_FunctionType { - const obj = createBaseType_FunctionType(); - if (isSet(object.resultType)) obj.resultType = Type.fromJSON(object.resultType); - if (Array.isArray(object?.argTypes)) obj.argTypes = object.argTypes.map((e: any) => Type.fromJSON(e)); - return obj; - }, - toJSON(message: Type_FunctionType): unknown { - const obj: any = {}; - message.resultType !== undefined && (obj.resultType = message.resultType ? Type.toJSON(message.resultType) : undefined); - if (message.argTypes) { - obj.argTypes = message.argTypes.map(e => e ? Type.toJSON(e) : undefined); - } else { - obj.argTypes = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Type_FunctionType { - const message = createBaseType_FunctionType(); - if (object.resultType !== undefined && object.resultType !== null) { - message.resultType = Type.fromPartial(object.resultType); - } - message.argTypes = object.argTypes?.map(e => Type.fromPartial(e)) || []; - return message; - }, - fromSDK(object: Type_FunctionTypeSDKType): Type_FunctionType { - return { - resultType: object.result_type ? Type.fromSDK(object.result_type) : undefined, - argTypes: Array.isArray(object?.arg_types) ? object.arg_types.map((e: any) => Type.fromSDK(e)) : [] - }; - }, - toSDK(message: Type_FunctionType): Type_FunctionTypeSDKType { - const obj: any = {}; - message.resultType !== undefined && (obj.result_type = message.resultType ? Type.toSDK(message.resultType) : undefined); - if (message.argTypes) { - obj.arg_types = message.argTypes.map(e => e ? Type.toSDK(e) : undefined); - } else { - obj.arg_types = []; - } - return obj; - }, - fromAmino(object: Type_FunctionTypeAmino): Type_FunctionType { - return { - resultType: object?.result_type ? Type.fromAmino(object.result_type) : undefined, - argTypes: Array.isArray(object?.arg_types) ? object.arg_types.map((e: any) => Type.fromAmino(e)) : [] - }; - }, - toAmino(message: Type_FunctionType): Type_FunctionTypeAmino { - const obj: any = {}; - obj.result_type = message.resultType ? Type.toAmino(message.resultType) : undefined; - if (message.argTypes) { - obj.arg_types = message.argTypes.map(e => e ? Type.toAmino(e) : undefined); - } else { - obj.arg_types = []; - } - return obj; - }, - fromAminoMsg(object: Type_FunctionTypeAminoMsg): Type_FunctionType { - return Type_FunctionType.fromAmino(object.value); - }, - fromProtoMsg(message: Type_FunctionTypeProtoMsg): Type_FunctionType { - return Type_FunctionType.decode(message.value); - }, - toProto(message: Type_FunctionType): Uint8Array { - return Type_FunctionType.encode(message).finish(); - }, - toProtoMsg(message: Type_FunctionType): Type_FunctionTypeProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.FunctionType", - value: Type_FunctionType.encode(message).finish() - }; - } -}; -function createBaseType_AbstractType(): Type_AbstractType { - return { - name: "", - parameterTypes: [] - }; -} -export const Type_AbstractType = { - typeUrl: "/google.api.expr.v1alpha1.AbstractType", - encode(message: Type_AbstractType, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - for (const v of message.parameterTypes) { - Type.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Type_AbstractType { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseType_AbstractType(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.parameterTypes.push(Type.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Type_AbstractType { - const obj = createBaseType_AbstractType(); - if (isSet(object.name)) obj.name = String(object.name); - if (Array.isArray(object?.parameterTypes)) obj.parameterTypes = object.parameterTypes.map((e: any) => Type.fromJSON(e)); - return obj; - }, - toJSON(message: Type_AbstractType): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.parameterTypes) { - obj.parameterTypes = message.parameterTypes.map(e => e ? Type.toJSON(e) : undefined); - } else { - obj.parameterTypes = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Type_AbstractType { - const message = createBaseType_AbstractType(); - message.name = object.name ?? ""; - message.parameterTypes = object.parameterTypes?.map(e => Type.fromPartial(e)) || []; - return message; - }, - fromSDK(object: Type_AbstractTypeSDKType): Type_AbstractType { - return { - name: object?.name, - parameterTypes: Array.isArray(object?.parameter_types) ? object.parameter_types.map((e: any) => Type.fromSDK(e)) : [] - }; - }, - toSDK(message: Type_AbstractType): Type_AbstractTypeSDKType { - const obj: any = {}; - obj.name = message.name; - if (message.parameterTypes) { - obj.parameter_types = message.parameterTypes.map(e => e ? Type.toSDK(e) : undefined); - } else { - obj.parameter_types = []; - } - return obj; - }, - fromAmino(object: Type_AbstractTypeAmino): Type_AbstractType { - return { - name: object.name, - parameterTypes: Array.isArray(object?.parameter_types) ? object.parameter_types.map((e: any) => Type.fromAmino(e)) : [] - }; - }, - toAmino(message: Type_AbstractType): Type_AbstractTypeAmino { - const obj: any = {}; - obj.name = message.name; - if (message.parameterTypes) { - obj.parameter_types = message.parameterTypes.map(e => e ? Type.toAmino(e) : undefined); - } else { - obj.parameter_types = []; - } - return obj; - }, - fromAminoMsg(object: Type_AbstractTypeAminoMsg): Type_AbstractType { - return Type_AbstractType.fromAmino(object.value); - }, - fromProtoMsg(message: Type_AbstractTypeProtoMsg): Type_AbstractType { - return Type_AbstractType.decode(message.value); - }, - toProto(message: Type_AbstractType): Uint8Array { - return Type_AbstractType.encode(message).finish(); - }, - toProtoMsg(message: Type_AbstractType): Type_AbstractTypeProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.AbstractType", - value: Type_AbstractType.encode(message).finish() - }; - } -}; -function createBaseDecl(): Decl { - return { - name: "", - ident: undefined, - function: undefined - }; -} -export const Decl = { - typeUrl: "/google.api.expr.v1alpha1.Decl", - encode(message: Decl, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.ident !== undefined) { - Decl_IdentDecl.encode(message.ident, writer.uint32(18).fork()).ldelim(); - } - if (message.function !== undefined) { - Decl_FunctionDecl.encode(message.function, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Decl { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDecl(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.ident = Decl_IdentDecl.decode(reader, reader.uint32()); - break; - case 3: - message.function = Decl_FunctionDecl.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Decl { - const obj = createBaseDecl(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.ident)) obj.ident = Decl_IdentDecl.fromJSON(object.ident); - if (isSet(object.function)) obj.function = Decl_FunctionDecl.fromJSON(object.function); - return obj; - }, - toJSON(message: Decl): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.ident !== undefined && (obj.ident = message.ident ? Decl_IdentDecl.toJSON(message.ident) : undefined); - message.function !== undefined && (obj.function = message.function ? Decl_FunctionDecl.toJSON(message.function) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Decl { - const message = createBaseDecl(); - message.name = object.name ?? ""; - if (object.ident !== undefined && object.ident !== null) { - message.ident = Decl_IdentDecl.fromPartial(object.ident); - } - if (object.function !== undefined && object.function !== null) { - message.function = Decl_FunctionDecl.fromPartial(object.function); - } - return message; - }, - fromSDK(object: DeclSDKType): Decl { - return { - name: object?.name, - ident: object.ident ? Decl_IdentDecl.fromSDK(object.ident) : undefined, - function: object.function ? Decl_FunctionDecl.fromSDK(object.function) : undefined - }; - }, - toSDK(message: Decl): DeclSDKType { - const obj: any = {}; - obj.name = message.name; - message.ident !== undefined && (obj.ident = message.ident ? Decl_IdentDecl.toSDK(message.ident) : undefined); - message.function !== undefined && (obj.function = message.function ? Decl_FunctionDecl.toSDK(message.function) : undefined); - return obj; - }, - fromAmino(object: DeclAmino): Decl { - return { - name: object.name, - ident: object?.ident ? Decl_IdentDecl.fromAmino(object.ident) : undefined, - function: object?.function ? Decl_FunctionDecl.fromAmino(object.function) : undefined - }; - }, - toAmino(message: Decl): DeclAmino { - const obj: any = {}; - obj.name = message.name; - obj.ident = message.ident ? Decl_IdentDecl.toAmino(message.ident) : undefined; - obj.function = message.function ? Decl_FunctionDecl.toAmino(message.function) : undefined; - return obj; - }, - fromAminoMsg(object: DeclAminoMsg): Decl { - return Decl.fromAmino(object.value); - }, - fromProtoMsg(message: DeclProtoMsg): Decl { - return Decl.decode(message.value); - }, - toProto(message: Decl): Uint8Array { - return Decl.encode(message).finish(); - }, - toProtoMsg(message: Decl): DeclProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Decl", - value: Decl.encode(message).finish() - }; - } -}; -function createBaseDecl_IdentDecl(): Decl_IdentDecl { - return { - type: Type.fromPartial({}), - value: Constant.fromPartial({}), - doc: "" - }; -} -export const Decl_IdentDecl = { - typeUrl: "/google.api.expr.v1alpha1.IdentDecl", - encode(message: Decl_IdentDecl, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== undefined) { - Type.encode(message.type, writer.uint32(10).fork()).ldelim(); - } - if (message.value !== undefined) { - Constant.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - if (message.doc !== "") { - writer.uint32(26).string(message.doc); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Decl_IdentDecl { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDecl_IdentDecl(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.type = Type.decode(reader, reader.uint32()); - break; - case 2: - message.value = Constant.decode(reader, reader.uint32()); - break; - case 3: - message.doc = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Decl_IdentDecl { - const obj = createBaseDecl_IdentDecl(); - if (isSet(object.type)) obj.type = Type.fromJSON(object.type); - if (isSet(object.value)) obj.value = Constant.fromJSON(object.value); - if (isSet(object.doc)) obj.doc = String(object.doc); - return obj; - }, - toJSON(message: Decl_IdentDecl): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type ? Type.toJSON(message.type) : undefined); - message.value !== undefined && (obj.value = message.value ? Constant.toJSON(message.value) : undefined); - message.doc !== undefined && (obj.doc = message.doc); - return obj; - }, - fromPartial(object: DeepPartial): Decl_IdentDecl { - const message = createBaseDecl_IdentDecl(); - if (object.type !== undefined && object.type !== null) { - message.type = Type.fromPartial(object.type); - } - if (object.value !== undefined && object.value !== null) { - message.value = Constant.fromPartial(object.value); - } - message.doc = object.doc ?? ""; - return message; - }, - fromSDK(object: Decl_IdentDeclSDKType): Decl_IdentDecl { - return { - type: object.type ? Type.fromSDK(object.type) : undefined, - value: object.value ? Constant.fromSDK(object.value) : undefined, - doc: object?.doc - }; - }, - toSDK(message: Decl_IdentDecl): Decl_IdentDeclSDKType { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type ? Type.toSDK(message.type) : undefined); - message.value !== undefined && (obj.value = message.value ? Constant.toSDK(message.value) : undefined); - obj.doc = message.doc; - return obj; - }, - fromAmino(object: Decl_IdentDeclAmino): Decl_IdentDecl { - return { - type: object?.type ? Type.fromAmino(object.type) : undefined, - value: object?.value ? Constant.fromAmino(object.value) : undefined, - doc: object.doc - }; - }, - toAmino(message: Decl_IdentDecl): Decl_IdentDeclAmino { - const obj: any = {}; - obj.type = message.type ? Type.toAmino(message.type) : undefined; - obj.value = message.value ? Constant.toAmino(message.value) : undefined; - obj.doc = message.doc; - return obj; - }, - fromAminoMsg(object: Decl_IdentDeclAminoMsg): Decl_IdentDecl { - return Decl_IdentDecl.fromAmino(object.value); - }, - fromProtoMsg(message: Decl_IdentDeclProtoMsg): Decl_IdentDecl { - return Decl_IdentDecl.decode(message.value); - }, - toProto(message: Decl_IdentDecl): Uint8Array { - return Decl_IdentDecl.encode(message).finish(); - }, - toProtoMsg(message: Decl_IdentDecl): Decl_IdentDeclProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.IdentDecl", - value: Decl_IdentDecl.encode(message).finish() - }; - } -}; -function createBaseDecl_FunctionDecl(): Decl_FunctionDecl { - return { - overloads: [] - }; -} -export const Decl_FunctionDecl = { - typeUrl: "/google.api.expr.v1alpha1.FunctionDecl", - encode(message: Decl_FunctionDecl, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.overloads) { - Decl_FunctionDecl_Overload.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Decl_FunctionDecl { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDecl_FunctionDecl(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.overloads.push(Decl_FunctionDecl_Overload.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Decl_FunctionDecl { - const obj = createBaseDecl_FunctionDecl(); - if (Array.isArray(object?.overloads)) obj.overloads = object.overloads.map((e: any) => Decl_FunctionDecl_Overload.fromJSON(e)); - return obj; - }, - toJSON(message: Decl_FunctionDecl): unknown { - const obj: any = {}; - if (message.overloads) { - obj.overloads = message.overloads.map(e => e ? Decl_FunctionDecl_Overload.toJSON(e) : undefined); - } else { - obj.overloads = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Decl_FunctionDecl { - const message = createBaseDecl_FunctionDecl(); - message.overloads = object.overloads?.map(e => Decl_FunctionDecl_Overload.fromPartial(e)) || []; - return message; - }, - fromSDK(object: Decl_FunctionDeclSDKType): Decl_FunctionDecl { - return { - overloads: Array.isArray(object?.overloads) ? object.overloads.map((e: any) => Decl_FunctionDecl_Overload.fromSDK(e)) : [] - }; - }, - toSDK(message: Decl_FunctionDecl): Decl_FunctionDeclSDKType { - const obj: any = {}; - if (message.overloads) { - obj.overloads = message.overloads.map(e => e ? Decl_FunctionDecl_Overload.toSDK(e) : undefined); - } else { - obj.overloads = []; - } - return obj; - }, - fromAmino(object: Decl_FunctionDeclAmino): Decl_FunctionDecl { - return { - overloads: Array.isArray(object?.overloads) ? object.overloads.map((e: any) => Decl_FunctionDecl_Overload.fromAmino(e)) : [] - }; - }, - toAmino(message: Decl_FunctionDecl): Decl_FunctionDeclAmino { - const obj: any = {}; - if (message.overloads) { - obj.overloads = message.overloads.map(e => e ? Decl_FunctionDecl_Overload.toAmino(e) : undefined); - } else { - obj.overloads = []; - } - return obj; - }, - fromAminoMsg(object: Decl_FunctionDeclAminoMsg): Decl_FunctionDecl { - return Decl_FunctionDecl.fromAmino(object.value); - }, - fromProtoMsg(message: Decl_FunctionDeclProtoMsg): Decl_FunctionDecl { - return Decl_FunctionDecl.decode(message.value); - }, - toProto(message: Decl_FunctionDecl): Uint8Array { - return Decl_FunctionDecl.encode(message).finish(); - }, - toProtoMsg(message: Decl_FunctionDecl): Decl_FunctionDeclProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.FunctionDecl", - value: Decl_FunctionDecl.encode(message).finish() - }; - } -}; -function createBaseDecl_FunctionDecl_Overload(): Decl_FunctionDecl_Overload { - return { - overloadId: "", - params: [], - typeParams: [], - resultType: Type.fromPartial({}), - isInstanceFunction: false, - doc: "" - }; -} -export const Decl_FunctionDecl_Overload = { - typeUrl: "/google.api.expr.v1alpha1.Overload", - encode(message: Decl_FunctionDecl_Overload, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.overloadId !== "") { - writer.uint32(10).string(message.overloadId); - } - for (const v of message.params) { - Type.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.typeParams) { - writer.uint32(26).string(v!); - } - if (message.resultType !== undefined) { - Type.encode(message.resultType, writer.uint32(34).fork()).ldelim(); - } - if (message.isInstanceFunction === true) { - writer.uint32(40).bool(message.isInstanceFunction); - } - if (message.doc !== "") { - writer.uint32(50).string(message.doc); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Decl_FunctionDecl_Overload { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDecl_FunctionDecl_Overload(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.overloadId = reader.string(); - break; - case 2: - message.params.push(Type.decode(reader, reader.uint32())); - break; - case 3: - message.typeParams.push(reader.string()); - break; - case 4: - message.resultType = Type.decode(reader, reader.uint32()); - break; - case 5: - message.isInstanceFunction = reader.bool(); - break; - case 6: - message.doc = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Decl_FunctionDecl_Overload { - const obj = createBaseDecl_FunctionDecl_Overload(); - if (isSet(object.overloadId)) obj.overloadId = String(object.overloadId); - if (Array.isArray(object?.params)) obj.params = object.params.map((e: any) => Type.fromJSON(e)); - if (Array.isArray(object?.typeParams)) obj.typeParams = object.typeParams.map((e: any) => String(e)); - if (isSet(object.resultType)) obj.resultType = Type.fromJSON(object.resultType); - if (isSet(object.isInstanceFunction)) obj.isInstanceFunction = Boolean(object.isInstanceFunction); - if (isSet(object.doc)) obj.doc = String(object.doc); - return obj; - }, - toJSON(message: Decl_FunctionDecl_Overload): unknown { - const obj: any = {}; - message.overloadId !== undefined && (obj.overloadId = message.overloadId); - if (message.params) { - obj.params = message.params.map(e => e ? Type.toJSON(e) : undefined); - } else { - obj.params = []; - } - if (message.typeParams) { - obj.typeParams = message.typeParams.map(e => e); - } else { - obj.typeParams = []; - } - message.resultType !== undefined && (obj.resultType = message.resultType ? Type.toJSON(message.resultType) : undefined); - message.isInstanceFunction !== undefined && (obj.isInstanceFunction = message.isInstanceFunction); - message.doc !== undefined && (obj.doc = message.doc); - return obj; - }, - fromPartial(object: DeepPartial): Decl_FunctionDecl_Overload { - const message = createBaseDecl_FunctionDecl_Overload(); - message.overloadId = object.overloadId ?? ""; - message.params = object.params?.map(e => Type.fromPartial(e)) || []; - message.typeParams = object.typeParams?.map(e => e) || []; - if (object.resultType !== undefined && object.resultType !== null) { - message.resultType = Type.fromPartial(object.resultType); - } - message.isInstanceFunction = object.isInstanceFunction ?? false; - message.doc = object.doc ?? ""; - return message; - }, - fromSDK(object: Decl_FunctionDecl_OverloadSDKType): Decl_FunctionDecl_Overload { - return { - overloadId: object?.overload_id, - params: Array.isArray(object?.params) ? object.params.map((e: any) => Type.fromSDK(e)) : [], - typeParams: Array.isArray(object?.type_params) ? object.type_params.map((e: any) => e) : [], - resultType: object.result_type ? Type.fromSDK(object.result_type) : undefined, - isInstanceFunction: object?.is_instance_function, - doc: object?.doc - }; - }, - toSDK(message: Decl_FunctionDecl_Overload): Decl_FunctionDecl_OverloadSDKType { - const obj: any = {}; - obj.overload_id = message.overloadId; - if (message.params) { - obj.params = message.params.map(e => e ? Type.toSDK(e) : undefined); - } else { - obj.params = []; - } - if (message.typeParams) { - obj.type_params = message.typeParams.map(e => e); - } else { - obj.type_params = []; - } - message.resultType !== undefined && (obj.result_type = message.resultType ? Type.toSDK(message.resultType) : undefined); - obj.is_instance_function = message.isInstanceFunction; - obj.doc = message.doc; - return obj; - }, - fromAmino(object: Decl_FunctionDecl_OverloadAmino): Decl_FunctionDecl_Overload { - return { - overloadId: object.overload_id, - params: Array.isArray(object?.params) ? object.params.map((e: any) => Type.fromAmino(e)) : [], - typeParams: Array.isArray(object?.type_params) ? object.type_params.map((e: any) => e) : [], - resultType: object?.result_type ? Type.fromAmino(object.result_type) : undefined, - isInstanceFunction: object.is_instance_function, - doc: object.doc - }; - }, - toAmino(message: Decl_FunctionDecl_Overload): Decl_FunctionDecl_OverloadAmino { - const obj: any = {}; - obj.overload_id = message.overloadId; - if (message.params) { - obj.params = message.params.map(e => e ? Type.toAmino(e) : undefined); - } else { - obj.params = []; - } - if (message.typeParams) { - obj.type_params = message.typeParams.map(e => e); - } else { - obj.type_params = []; - } - obj.result_type = message.resultType ? Type.toAmino(message.resultType) : undefined; - obj.is_instance_function = message.isInstanceFunction; - obj.doc = message.doc; - return obj; - }, - fromAminoMsg(object: Decl_FunctionDecl_OverloadAminoMsg): Decl_FunctionDecl_Overload { - return Decl_FunctionDecl_Overload.fromAmino(object.value); - }, - fromProtoMsg(message: Decl_FunctionDecl_OverloadProtoMsg): Decl_FunctionDecl_Overload { - return Decl_FunctionDecl_Overload.decode(message.value); - }, - toProto(message: Decl_FunctionDecl_Overload): Uint8Array { - return Decl_FunctionDecl_Overload.encode(message).finish(); - }, - toProtoMsg(message: Decl_FunctionDecl_Overload): Decl_FunctionDecl_OverloadProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Overload", - value: Decl_FunctionDecl_Overload.encode(message).finish() - }; - } -}; -function createBaseReference(): Reference { - return { - name: "", - overloadId: [], - value: Constant.fromPartial({}) - }; -} -export const Reference = { - typeUrl: "/google.api.expr.v1alpha1.Reference", - encode(message: Reference, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - for (const v of message.overloadId) { - writer.uint32(26).string(v!); - } - if (message.value !== undefined) { - Constant.encode(message.value, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Reference { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseReference(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.overloadId.push(reader.string()); - break; - case 4: - message.value = Constant.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Reference { - const obj = createBaseReference(); - if (isSet(object.name)) obj.name = String(object.name); - if (Array.isArray(object?.overloadId)) obj.overloadId = object.overloadId.map((e: any) => String(e)); - if (isSet(object.value)) obj.value = Constant.fromJSON(object.value); - return obj; - }, - toJSON(message: Reference): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.overloadId) { - obj.overloadId = message.overloadId.map(e => e); - } else { - obj.overloadId = []; - } - message.value !== undefined && (obj.value = message.value ? Constant.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Reference { - const message = createBaseReference(); - message.name = object.name ?? ""; - message.overloadId = object.overloadId?.map(e => e) || []; - if (object.value !== undefined && object.value !== null) { - message.value = Constant.fromPartial(object.value); - } - return message; - }, - fromSDK(object: ReferenceSDKType): Reference { - return { - name: object?.name, - overloadId: Array.isArray(object?.overload_id) ? object.overload_id.map((e: any) => e) : [], - value: object.value ? Constant.fromSDK(object.value) : undefined - }; - }, - toSDK(message: Reference): ReferenceSDKType { - const obj: any = {}; - obj.name = message.name; - if (message.overloadId) { - obj.overload_id = message.overloadId.map(e => e); - } else { - obj.overload_id = []; - } - message.value !== undefined && (obj.value = message.value ? Constant.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: ReferenceAmino): Reference { - return { - name: object.name, - overloadId: Array.isArray(object?.overload_id) ? object.overload_id.map((e: any) => e) : [], - value: object?.value ? Constant.fromAmino(object.value) : undefined - }; - }, - toAmino(message: Reference): ReferenceAmino { - const obj: any = {}; - obj.name = message.name; - if (message.overloadId) { - obj.overload_id = message.overloadId.map(e => e); - } else { - obj.overload_id = []; - } - obj.value = message.value ? Constant.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: ReferenceAminoMsg): Reference { - return Reference.fromAmino(object.value); - }, - fromProtoMsg(message: ReferenceProtoMsg): Reference { - return Reference.decode(message.value); - }, - toProto(message: Reference): Uint8Array { - return Reference.encode(message).finish(); - }, - toProtoMsg(message: Reference): ReferenceProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Reference", - value: Reference.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/expr/v1alpha1/eval.ts b/quicksilverjs/src/codegen/google/api/expr/v1alpha1/eval.ts deleted file mode 100644 index c7c281e95..000000000 --- a/quicksilverjs/src/codegen/google/api/expr/v1alpha1/eval.ts +++ /dev/null @@ -1,793 +0,0 @@ -import { Value, ValueAmino, ValueSDKType } from "./value"; -import { Status, StatusAmino, StatusSDKType } from "../../../rpc/status"; -import { Long, DeepPartial, isSet } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.expr.v1alpha1"; -/** - * The state of an evaluation. - * - * Can represent an inital, partial, or completed state of evaluation. - */ -export interface EvalState { - /** The unique values referenced in this message. */ - values: ExprValue[]; - /** - * An ordered list of results. - * - * Tracks the flow of evaluation through the expression. - * May be sparse. - */ - results: EvalState_Result[]; -} -export interface EvalStateProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.EvalState"; - value: Uint8Array; -} -/** - * The state of an evaluation. - * - * Can represent an inital, partial, or completed state of evaluation. - */ -export interface EvalStateAmino { - /** The unique values referenced in this message. */ - values: ExprValueAmino[]; - /** - * An ordered list of results. - * - * Tracks the flow of evaluation through the expression. - * May be sparse. - */ - results: EvalState_ResultAmino[]; -} -export interface EvalStateAminoMsg { - type: "/google.api.expr.v1alpha1.EvalState"; - value: EvalStateAmino; -} -/** - * The state of an evaluation. - * - * Can represent an inital, partial, or completed state of evaluation. - */ -export interface EvalStateSDKType { - values: ExprValueSDKType[]; - results: EvalState_ResultSDKType[]; -} -/** A single evalution result. */ -export interface EvalState_Result { - /** The id of the expression this result if for. */ - expr: Long; - /** The index in `values` of the resulting value. */ - value: Long; -} -export interface EvalState_ResultProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Result"; - value: Uint8Array; -} -/** A single evalution result. */ -export interface EvalState_ResultAmino { - /** The id of the expression this result if for. */ - expr: string; - /** The index in `values` of the resulting value. */ - value: string; -} -export interface EvalState_ResultAminoMsg { - type: "/google.api.expr.v1alpha1.Result"; - value: EvalState_ResultAmino; -} -/** A single evalution result. */ -export interface EvalState_ResultSDKType { - expr: Long; - value: Long; -} -/** The value of an evaluated expression. */ -export interface ExprValue { - /** A concrete value. */ - value?: Value; - /** - * The set of errors in the critical path of evalution. - * - * Only errors in the critical path are included. For example, - * `( || true) && ` will only result in ``, - * while ` || ` will result in both `` and - * ``. - * - * Errors cause by the presence of other errors are not included in the - * set. For example `.foo`, `foo()`, and ` + 1` will - * only result in ``. - * - * Multiple errors *might* be included when evaluation could result - * in different errors. For example ` + ` and - * `foo(, )` may result in ``, `` or both. - * The exact subset of errors included for this case is unspecified and - * depends on the implementation details of the evaluator. - */ - error?: ErrorSet; - /** - * The set of unknowns in the critical path of evaluation. - * - * Unknown behaves identically to Error with regards to propagation. - * Specifically, only unknowns in the critical path are included, unknowns - * caused by the presence of other unknowns are not included, and multiple - * unknowns *might* be included included when evaluation could result in - * different unknowns. For example: - * - * ( || true) && -> - * || -> - * .foo -> - * foo() -> - * + -> or - * - * Unknown takes precidence over Error in cases where a `Value` can short - * circuit the result: - * - * || -> - * && -> - * - * Errors take precidence in all other cases: - * - * + -> - * foo(, ) -> - */ - unknown?: UnknownSet; -} -export interface ExprValueProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.ExprValue"; - value: Uint8Array; -} -/** The value of an evaluated expression. */ -export interface ExprValueAmino { - /** A concrete value. */ - value?: ValueAmino; - /** - * The set of errors in the critical path of evalution. - * - * Only errors in the critical path are included. For example, - * `( || true) && ` will only result in ``, - * while ` || ` will result in both `` and - * ``. - * - * Errors cause by the presence of other errors are not included in the - * set. For example `.foo`, `foo()`, and ` + 1` will - * only result in ``. - * - * Multiple errors *might* be included when evaluation could result - * in different errors. For example ` + ` and - * `foo(, )` may result in ``, `` or both. - * The exact subset of errors included for this case is unspecified and - * depends on the implementation details of the evaluator. - */ - error?: ErrorSetAmino; - /** - * The set of unknowns in the critical path of evaluation. - * - * Unknown behaves identically to Error with regards to propagation. - * Specifically, only unknowns in the critical path are included, unknowns - * caused by the presence of other unknowns are not included, and multiple - * unknowns *might* be included included when evaluation could result in - * different unknowns. For example: - * - * ( || true) && -> - * || -> - * .foo -> - * foo() -> - * + -> or - * - * Unknown takes precidence over Error in cases where a `Value` can short - * circuit the result: - * - * || -> - * && -> - * - * Errors take precidence in all other cases: - * - * + -> - * foo(, ) -> - */ - unknown?: UnknownSetAmino; -} -export interface ExprValueAminoMsg { - type: "/google.api.expr.v1alpha1.ExprValue"; - value: ExprValueAmino; -} -/** The value of an evaluated expression. */ -export interface ExprValueSDKType { - value?: ValueSDKType; - error?: ErrorSetSDKType; - unknown?: UnknownSetSDKType; -} -/** - * A set of errors. - * - * The errors included depend on the context. See `ExprValue.error`. - */ -export interface ErrorSet { - /** The errors in the set. */ - errors: Status[]; -} -export interface ErrorSetProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.ErrorSet"; - value: Uint8Array; -} -/** - * A set of errors. - * - * The errors included depend on the context. See `ExprValue.error`. - */ -export interface ErrorSetAmino { - /** The errors in the set. */ - errors: StatusAmino[]; -} -export interface ErrorSetAminoMsg { - type: "/google.api.expr.v1alpha1.ErrorSet"; - value: ErrorSetAmino; -} -/** - * A set of errors. - * - * The errors included depend on the context. See `ExprValue.error`. - */ -export interface ErrorSetSDKType { - errors: StatusSDKType[]; -} -/** - * A set of expressions for which the value is unknown. - * - * The unknowns included depend on the context. See `ExprValue.unknown`. - */ -export interface UnknownSet { - /** The ids of the expressions with unknown values. */ - exprs: Long[]; -} -export interface UnknownSetProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.UnknownSet"; - value: Uint8Array; -} -/** - * A set of expressions for which the value is unknown. - * - * The unknowns included depend on the context. See `ExprValue.unknown`. - */ -export interface UnknownSetAmino { - /** The ids of the expressions with unknown values. */ - exprs: string[]; -} -export interface UnknownSetAminoMsg { - type: "/google.api.expr.v1alpha1.UnknownSet"; - value: UnknownSetAmino; -} -/** - * A set of expressions for which the value is unknown. - * - * The unknowns included depend on the context. See `ExprValue.unknown`. - */ -export interface UnknownSetSDKType { - exprs: Long[]; -} -function createBaseEvalState(): EvalState { - return { - values: [], - results: [] - }; -} -export const EvalState = { - typeUrl: "/google.api.expr.v1alpha1.EvalState", - encode(message: EvalState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.values) { - ExprValue.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.results) { - EvalState_Result.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EvalState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvalState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.values.push(ExprValue.decode(reader, reader.uint32())); - break; - case 3: - message.results.push(EvalState_Result.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EvalState { - const obj = createBaseEvalState(); - if (Array.isArray(object?.values)) obj.values = object.values.map((e: any) => ExprValue.fromJSON(e)); - if (Array.isArray(object?.results)) obj.results = object.results.map((e: any) => EvalState_Result.fromJSON(e)); - return obj; - }, - toJSON(message: EvalState): unknown { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? ExprValue.toJSON(e) : undefined); - } else { - obj.values = []; - } - if (message.results) { - obj.results = message.results.map(e => e ? EvalState_Result.toJSON(e) : undefined); - } else { - obj.results = []; - } - return obj; - }, - fromPartial(object: DeepPartial): EvalState { - const message = createBaseEvalState(); - message.values = object.values?.map(e => ExprValue.fromPartial(e)) || []; - message.results = object.results?.map(e => EvalState_Result.fromPartial(e)) || []; - return message; - }, - fromSDK(object: EvalStateSDKType): EvalState { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => ExprValue.fromSDK(e)) : [], - results: Array.isArray(object?.results) ? object.results.map((e: any) => EvalState_Result.fromSDK(e)) : [] - }; - }, - toSDK(message: EvalState): EvalStateSDKType { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? ExprValue.toSDK(e) : undefined); - } else { - obj.values = []; - } - if (message.results) { - obj.results = message.results.map(e => e ? EvalState_Result.toSDK(e) : undefined); - } else { - obj.results = []; - } - return obj; - }, - fromAmino(object: EvalStateAmino): EvalState { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => ExprValue.fromAmino(e)) : [], - results: Array.isArray(object?.results) ? object.results.map((e: any) => EvalState_Result.fromAmino(e)) : [] - }; - }, - toAmino(message: EvalState): EvalStateAmino { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? ExprValue.toAmino(e) : undefined); - } else { - obj.values = []; - } - if (message.results) { - obj.results = message.results.map(e => e ? EvalState_Result.toAmino(e) : undefined); - } else { - obj.results = []; - } - return obj; - }, - fromAminoMsg(object: EvalStateAminoMsg): EvalState { - return EvalState.fromAmino(object.value); - }, - fromProtoMsg(message: EvalStateProtoMsg): EvalState { - return EvalState.decode(message.value); - }, - toProto(message: EvalState): Uint8Array { - return EvalState.encode(message).finish(); - }, - toProtoMsg(message: EvalState): EvalStateProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.EvalState", - value: EvalState.encode(message).finish() - }; - } -}; -function createBaseEvalState_Result(): EvalState_Result { - return { - expr: Long.ZERO, - value: Long.ZERO - }; -} -export const EvalState_Result = { - typeUrl: "/google.api.expr.v1alpha1.Result", - encode(message: EvalState_Result, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.expr.isZero()) { - writer.uint32(8).int64(message.expr); - } - if (!message.value.isZero()) { - writer.uint32(16).int64(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EvalState_Result { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvalState_Result(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.expr = (reader.int64() as Long); - break; - case 2: - message.value = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EvalState_Result { - const obj = createBaseEvalState_Result(); - if (isSet(object.expr)) obj.expr = Long.fromValue(object.expr); - if (isSet(object.value)) obj.value = Long.fromValue(object.value); - return obj; - }, - toJSON(message: EvalState_Result): unknown { - const obj: any = {}; - message.expr !== undefined && (obj.expr = (message.expr || Long.ZERO).toString()); - message.value !== undefined && (obj.value = (message.value || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): EvalState_Result { - const message = createBaseEvalState_Result(); - if (object.expr !== undefined && object.expr !== null) { - message.expr = Long.fromValue(object.expr); - } - if (object.value !== undefined && object.value !== null) { - message.value = Long.fromValue(object.value); - } - return message; - }, - fromSDK(object: EvalState_ResultSDKType): EvalState_Result { - return { - expr: object?.expr, - value: object?.value - }; - }, - toSDK(message: EvalState_Result): EvalState_ResultSDKType { - const obj: any = {}; - obj.expr = message.expr; - obj.value = message.value; - return obj; - }, - fromAmino(object: EvalState_ResultAmino): EvalState_Result { - return { - expr: Long.fromString(object.expr), - value: Long.fromString(object.value) - }; - }, - toAmino(message: EvalState_Result): EvalState_ResultAmino { - const obj: any = {}; - obj.expr = message.expr ? message.expr.toString() : undefined; - obj.value = message.value ? message.value.toString() : undefined; - return obj; - }, - fromAminoMsg(object: EvalState_ResultAminoMsg): EvalState_Result { - return EvalState_Result.fromAmino(object.value); - }, - fromProtoMsg(message: EvalState_ResultProtoMsg): EvalState_Result { - return EvalState_Result.decode(message.value); - }, - toProto(message: EvalState_Result): Uint8Array { - return EvalState_Result.encode(message).finish(); - }, - toProtoMsg(message: EvalState_Result): EvalState_ResultProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Result", - value: EvalState_Result.encode(message).finish() - }; - } -}; -function createBaseExprValue(): ExprValue { - return { - value: undefined, - error: undefined, - unknown: undefined - }; -} -export const ExprValue = { - typeUrl: "/google.api.expr.v1alpha1.ExprValue", - encode(message: ExprValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== undefined) { - Value.encode(message.value, writer.uint32(10).fork()).ldelim(); - } - if (message.error !== undefined) { - ErrorSet.encode(message.error, writer.uint32(18).fork()).ldelim(); - } - if (message.unknown !== undefined) { - UnknownSet.encode(message.unknown, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ExprValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExprValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.value = Value.decode(reader, reader.uint32()); - break; - case 2: - message.error = ErrorSet.decode(reader, reader.uint32()); - break; - case 3: - message.unknown = UnknownSet.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ExprValue { - const obj = createBaseExprValue(); - if (isSet(object.value)) obj.value = Value.fromJSON(object.value); - if (isSet(object.error)) obj.error = ErrorSet.fromJSON(object.error); - if (isSet(object.unknown)) obj.unknown = UnknownSet.fromJSON(object.unknown); - return obj; - }, - toJSON(message: ExprValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value ? Value.toJSON(message.value) : undefined); - message.error !== undefined && (obj.error = message.error ? ErrorSet.toJSON(message.error) : undefined); - message.unknown !== undefined && (obj.unknown = message.unknown ? UnknownSet.toJSON(message.unknown) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ExprValue { - const message = createBaseExprValue(); - if (object.value !== undefined && object.value !== null) { - message.value = Value.fromPartial(object.value); - } - if (object.error !== undefined && object.error !== null) { - message.error = ErrorSet.fromPartial(object.error); - } - if (object.unknown !== undefined && object.unknown !== null) { - message.unknown = UnknownSet.fromPartial(object.unknown); - } - return message; - }, - fromSDK(object: ExprValueSDKType): ExprValue { - return { - value: object.value ? Value.fromSDK(object.value) : undefined, - error: object.error ? ErrorSet.fromSDK(object.error) : undefined, - unknown: object.unknown ? UnknownSet.fromSDK(object.unknown) : undefined - }; - }, - toSDK(message: ExprValue): ExprValueSDKType { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value ? Value.toSDK(message.value) : undefined); - message.error !== undefined && (obj.error = message.error ? ErrorSet.toSDK(message.error) : undefined); - message.unknown !== undefined && (obj.unknown = message.unknown ? UnknownSet.toSDK(message.unknown) : undefined); - return obj; - }, - fromAmino(object: ExprValueAmino): ExprValue { - return { - value: object?.value ? Value.fromAmino(object.value) : undefined, - error: object?.error ? ErrorSet.fromAmino(object.error) : undefined, - unknown: object?.unknown ? UnknownSet.fromAmino(object.unknown) : undefined - }; - }, - toAmino(message: ExprValue): ExprValueAmino { - const obj: any = {}; - obj.value = message.value ? Value.toAmino(message.value) : undefined; - obj.error = message.error ? ErrorSet.toAmino(message.error) : undefined; - obj.unknown = message.unknown ? UnknownSet.toAmino(message.unknown) : undefined; - return obj; - }, - fromAminoMsg(object: ExprValueAminoMsg): ExprValue { - return ExprValue.fromAmino(object.value); - }, - fromProtoMsg(message: ExprValueProtoMsg): ExprValue { - return ExprValue.decode(message.value); - }, - toProto(message: ExprValue): Uint8Array { - return ExprValue.encode(message).finish(); - }, - toProtoMsg(message: ExprValue): ExprValueProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.ExprValue", - value: ExprValue.encode(message).finish() - }; - } -}; -function createBaseErrorSet(): ErrorSet { - return { - errors: [] - }; -} -export const ErrorSet = { - typeUrl: "/google.api.expr.v1alpha1.ErrorSet", - encode(message: ErrorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.errors) { - Status.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ErrorSet { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseErrorSet(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.errors.push(Status.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ErrorSet { - const obj = createBaseErrorSet(); - if (Array.isArray(object?.errors)) obj.errors = object.errors.map((e: any) => Status.fromJSON(e)); - return obj; - }, - toJSON(message: ErrorSet): unknown { - const obj: any = {}; - if (message.errors) { - obj.errors = message.errors.map(e => e ? Status.toJSON(e) : undefined); - } else { - obj.errors = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ErrorSet { - const message = createBaseErrorSet(); - message.errors = object.errors?.map(e => Status.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ErrorSetSDKType): ErrorSet { - return { - errors: Array.isArray(object?.errors) ? object.errors.map((e: any) => Status.fromSDK(e)) : [] - }; - }, - toSDK(message: ErrorSet): ErrorSetSDKType { - const obj: any = {}; - if (message.errors) { - obj.errors = message.errors.map(e => e ? Status.toSDK(e) : undefined); - } else { - obj.errors = []; - } - return obj; - }, - fromAmino(object: ErrorSetAmino): ErrorSet { - return { - errors: Array.isArray(object?.errors) ? object.errors.map((e: any) => Status.fromAmino(e)) : [] - }; - }, - toAmino(message: ErrorSet): ErrorSetAmino { - const obj: any = {}; - if (message.errors) { - obj.errors = message.errors.map(e => e ? Status.toAmino(e) : undefined); - } else { - obj.errors = []; - } - return obj; - }, - fromAminoMsg(object: ErrorSetAminoMsg): ErrorSet { - return ErrorSet.fromAmino(object.value); - }, - fromProtoMsg(message: ErrorSetProtoMsg): ErrorSet { - return ErrorSet.decode(message.value); - }, - toProto(message: ErrorSet): Uint8Array { - return ErrorSet.encode(message).finish(); - }, - toProtoMsg(message: ErrorSet): ErrorSetProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.ErrorSet", - value: ErrorSet.encode(message).finish() - }; - } -}; -function createBaseUnknownSet(): UnknownSet { - return { - exprs: [] - }; -} -export const UnknownSet = { - typeUrl: "/google.api.expr.v1alpha1.UnknownSet", - encode(message: UnknownSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - for (const v of message.exprs) { - writer.int64(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UnknownSet { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUnknownSet(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.exprs.push((reader.int64() as Long)); - } - } else { - message.exprs.push((reader.int64() as Long)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UnknownSet { - const obj = createBaseUnknownSet(); - if (Array.isArray(object?.exprs)) obj.exprs = object.exprs.map((e: any) => Long.fromValue(e)); - return obj; - }, - toJSON(message: UnknownSet): unknown { - const obj: any = {}; - if (message.exprs) { - obj.exprs = message.exprs.map(e => (e || Long.ZERO).toString()); - } else { - obj.exprs = []; - } - return obj; - }, - fromPartial(object: DeepPartial): UnknownSet { - const message = createBaseUnknownSet(); - message.exprs = object.exprs?.map(e => Long.fromValue(e)) || []; - return message; - }, - fromSDK(object: UnknownSetSDKType): UnknownSet { - return { - exprs: Array.isArray(object?.exprs) ? object.exprs.map((e: any) => e) : [] - }; - }, - toSDK(message: UnknownSet): UnknownSetSDKType { - const obj: any = {}; - if (message.exprs) { - obj.exprs = message.exprs.map(e => e); - } else { - obj.exprs = []; - } - return obj; - }, - fromAmino(object: UnknownSetAmino): UnknownSet { - return { - exprs: Array.isArray(object?.exprs) ? object.exprs.map((e: any) => e) : [] - }; - }, - toAmino(message: UnknownSet): UnknownSetAmino { - const obj: any = {}; - if (message.exprs) { - obj.exprs = message.exprs.map(e => e); - } else { - obj.exprs = []; - } - return obj; - }, - fromAminoMsg(object: UnknownSetAminoMsg): UnknownSet { - return UnknownSet.fromAmino(object.value); - }, - fromProtoMsg(message: UnknownSetProtoMsg): UnknownSet { - return UnknownSet.decode(message.value); - }, - toProto(message: UnknownSet): Uint8Array { - return UnknownSet.encode(message).finish(); - }, - toProtoMsg(message: UnknownSet): UnknownSetProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.UnknownSet", - value: UnknownSet.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/expr/v1alpha1/explain.ts b/quicksilverjs/src/codegen/google/api/expr/v1alpha1/explain.ts deleted file mode 100644 index 20bf12e04..000000000 --- a/quicksilverjs/src/codegen/google/api/expr/v1alpha1/explain.ts +++ /dev/null @@ -1,308 +0,0 @@ -import { Value, ValueAmino, ValueSDKType } from "./value"; -import { Long, DeepPartial, isSet } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.expr.v1alpha1"; -/** - * Values of intermediate expressions produced when evaluating expression. - * Deprecated, use `EvalState` instead. - */ -/** @deprecated */ -export interface Explain { - /** - * All of the observed values. - * - * The field value_index is an index in the values list. - * Separating values from steps is needed to remove redundant values. - */ - values: Value[]; - /** - * List of steps. - * - * Repeated evaluations of the same expression generate new ExprStep - * instances. The order of such ExprStep instances matches the order of - * elements returned by Comprehension.iter_range. - */ - exprSteps: Explain_ExprStep[]; -} -export interface ExplainProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Explain"; - value: Uint8Array; -} -/** - * Values of intermediate expressions produced when evaluating expression. - * Deprecated, use `EvalState` instead. - */ -/** @deprecated */ -export interface ExplainAmino { - /** - * All of the observed values. - * - * The field value_index is an index in the values list. - * Separating values from steps is needed to remove redundant values. - */ - values: ValueAmino[]; - /** - * List of steps. - * - * Repeated evaluations of the same expression generate new ExprStep - * instances. The order of such ExprStep instances matches the order of - * elements returned by Comprehension.iter_range. - */ - expr_steps: Explain_ExprStepAmino[]; -} -export interface ExplainAminoMsg { - type: "/google.api.expr.v1alpha1.Explain"; - value: ExplainAmino; -} -/** - * Values of intermediate expressions produced when evaluating expression. - * Deprecated, use `EvalState` instead. - */ -/** @deprecated */ -export interface ExplainSDKType { - values: ValueSDKType[]; - expr_steps: Explain_ExprStepSDKType[]; -} -/** ID and value index of one step. */ -export interface Explain_ExprStep { - /** ID of corresponding Expr node. */ - id: Long; - /** Index of the value in the values list. */ - valueIndex: number; -} -export interface Explain_ExprStepProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.ExprStep"; - value: Uint8Array; -} -/** ID and value index of one step. */ -export interface Explain_ExprStepAmino { - /** ID of corresponding Expr node. */ - id: string; - /** Index of the value in the values list. */ - value_index: number; -} -export interface Explain_ExprStepAminoMsg { - type: "/google.api.expr.v1alpha1.ExprStep"; - value: Explain_ExprStepAmino; -} -/** ID and value index of one step. */ -export interface Explain_ExprStepSDKType { - id: Long; - value_index: number; -} -function createBaseExplain(): Explain { - return { - values: [], - exprSteps: [] - }; -} -export const Explain = { - typeUrl: "/google.api.expr.v1alpha1.Explain", - encode(message: Explain, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.values) { - Value.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.exprSteps) { - Explain_ExprStep.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Explain { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExplain(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.values.push(Value.decode(reader, reader.uint32())); - break; - case 2: - message.exprSteps.push(Explain_ExprStep.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Explain { - const obj = createBaseExplain(); - if (Array.isArray(object?.values)) obj.values = object.values.map((e: any) => Value.fromJSON(e)); - if (Array.isArray(object?.exprSteps)) obj.exprSteps = object.exprSteps.map((e: any) => Explain_ExprStep.fromJSON(e)); - return obj; - }, - toJSON(message: Explain): unknown { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toJSON(e) : undefined); - } else { - obj.values = []; - } - if (message.exprSteps) { - obj.exprSteps = message.exprSteps.map(e => e ? Explain_ExprStep.toJSON(e) : undefined); - } else { - obj.exprSteps = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Explain { - const message = createBaseExplain(); - message.values = object.values?.map(e => Value.fromPartial(e)) || []; - message.exprSteps = object.exprSteps?.map(e => Explain_ExprStep.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ExplainSDKType): Explain { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromSDK(e)) : [], - exprSteps: Array.isArray(object?.expr_steps) ? object.expr_steps.map((e: any) => Explain_ExprStep.fromSDK(e)) : [] - }; - }, - toSDK(message: Explain): ExplainSDKType { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toSDK(e) : undefined); - } else { - obj.values = []; - } - if (message.exprSteps) { - obj.expr_steps = message.exprSteps.map(e => e ? Explain_ExprStep.toSDK(e) : undefined); - } else { - obj.expr_steps = []; - } - return obj; - }, - fromAmino(object: ExplainAmino): Explain { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromAmino(e)) : [], - exprSteps: Array.isArray(object?.expr_steps) ? object.expr_steps.map((e: any) => Explain_ExprStep.fromAmino(e)) : [] - }; - }, - toAmino(message: Explain): ExplainAmino { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toAmino(e) : undefined); - } else { - obj.values = []; - } - if (message.exprSteps) { - obj.expr_steps = message.exprSteps.map(e => e ? Explain_ExprStep.toAmino(e) : undefined); - } else { - obj.expr_steps = []; - } - return obj; - }, - fromAminoMsg(object: ExplainAminoMsg): Explain { - return Explain.fromAmino(object.value); - }, - fromProtoMsg(message: ExplainProtoMsg): Explain { - return Explain.decode(message.value); - }, - toProto(message: Explain): Uint8Array { - return Explain.encode(message).finish(); - }, - toProtoMsg(message: Explain): ExplainProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Explain", - value: Explain.encode(message).finish() - }; - } -}; -function createBaseExplain_ExprStep(): Explain_ExprStep { - return { - id: Long.ZERO, - valueIndex: 0 - }; -} -export const Explain_ExprStep = { - typeUrl: "/google.api.expr.v1alpha1.ExprStep", - encode(message: Explain_ExprStep, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.id.isZero()) { - writer.uint32(8).int64(message.id); - } - if (message.valueIndex !== 0) { - writer.uint32(16).int32(message.valueIndex); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Explain_ExprStep { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExplain_ExprStep(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = (reader.int64() as Long); - break; - case 2: - message.valueIndex = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Explain_ExprStep { - const obj = createBaseExplain_ExprStep(); - if (isSet(object.id)) obj.id = Long.fromValue(object.id); - if (isSet(object.valueIndex)) obj.valueIndex = Number(object.valueIndex); - return obj; - }, - toJSON(message: Explain_ExprStep): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || Long.ZERO).toString()); - message.valueIndex !== undefined && (obj.valueIndex = Math.round(message.valueIndex)); - return obj; - }, - fromPartial(object: DeepPartial): Explain_ExprStep { - const message = createBaseExplain_ExprStep(); - if (object.id !== undefined && object.id !== null) { - message.id = Long.fromValue(object.id); - } - message.valueIndex = object.valueIndex ?? 0; - return message; - }, - fromSDK(object: Explain_ExprStepSDKType): Explain_ExprStep { - return { - id: object?.id, - valueIndex: object?.value_index - }; - }, - toSDK(message: Explain_ExprStep): Explain_ExprStepSDKType { - const obj: any = {}; - obj.id = message.id; - obj.value_index = message.valueIndex; - return obj; - }, - fromAmino(object: Explain_ExprStepAmino): Explain_ExprStep { - return { - id: Long.fromString(object.id), - valueIndex: object.value_index - }; - }, - toAmino(message: Explain_ExprStep): Explain_ExprStepAmino { - const obj: any = {}; - obj.id = message.id ? message.id.toString() : undefined; - obj.value_index = message.valueIndex; - return obj; - }, - fromAminoMsg(object: Explain_ExprStepAminoMsg): Explain_ExprStep { - return Explain_ExprStep.fromAmino(object.value); - }, - fromProtoMsg(message: Explain_ExprStepProtoMsg): Explain_ExprStep { - return Explain_ExprStep.decode(message.value); - }, - toProto(message: Explain_ExprStep): Uint8Array { - return Explain_ExprStep.encode(message).finish(); - }, - toProtoMsg(message: Explain_ExprStep): Explain_ExprStepProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.ExprStep", - value: Explain_ExprStep.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/expr/v1alpha1/syntax.ts b/quicksilverjs/src/codegen/google/api/expr/v1alpha1/syntax.ts deleted file mode 100644 index e213032bf..000000000 --- a/quicksilverjs/src/codegen/google/api/expr/v1alpha1/syntax.ts +++ /dev/null @@ -1,2760 +0,0 @@ -import { NullValue, NullValueSDKType, nullValueFromJSON, nullValueToJSON } from "../../../protobuf/struct"; -import { Duration, DurationAmino, DurationSDKType } from "../../../protobuf/duration"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../protobuf/timestamp"; -import { Long, isSet, DeepPartial, toTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes, isObject } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.expr.v1alpha1"; -/** An expression together with source information as returned by the parser. */ -export interface ParsedExpr { - /** The parsed expression. */ - expr: Expr; - /** The source info derived from input that generated the parsed `expr`. */ - sourceInfo: SourceInfo; -} -export interface ParsedExprProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.ParsedExpr"; - value: Uint8Array; -} -/** An expression together with source information as returned by the parser. */ -export interface ParsedExprAmino { - /** The parsed expression. */ - expr?: ExprAmino; - /** The source info derived from input that generated the parsed `expr`. */ - source_info?: SourceInfoAmino; -} -export interface ParsedExprAminoMsg { - type: "/google.api.expr.v1alpha1.ParsedExpr"; - value: ParsedExprAmino; -} -/** An expression together with source information as returned by the parser. */ -export interface ParsedExprSDKType { - expr: ExprSDKType; - source_info: SourceInfoSDKType; -} -/** - * An abstract representation of a common expression. - * - * Expressions are abstractly represented as a collection of identifiers, - * select statements, function calls, literals, and comprehensions. All - * operators with the exception of the '.' operator are modelled as function - * calls. This makes it easy to represent new operators into the existing AST. - * - * All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at - * type-check for an expression to be valid. A reference may either be a bare - * identifier `name` or a qualified identifier `google.api.name`. References - * may either refer to a value or a function declaration. - * - * For example, the expression `google.api.name.startsWith('expr')` references - * the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and - * the function declaration `startsWith`. - */ -export interface Expr { - /** - * Required. An id assigned to this node by the parser which is unique in a - * given expression tree. This is used to associate type information and other - * attributes to a node in the parse tree. - */ - id: Long; - /** A literal expression. */ - constExpr?: Constant; - /** An identifier expression. */ - identExpr?: Expr_Ident; - /** A field selection expression, e.g. `request.auth`. */ - selectExpr?: Expr_Select; - /** A call expression, including calls to predefined functions and operators. */ - callExpr?: Expr_Call; - /** A list creation expression. */ - listExpr?: Expr_CreateList; - /** A map or message creation expression. */ - structExpr?: Expr_CreateStruct; - /** A comprehension expression. */ - comprehensionExpr?: Expr_Comprehension; -} -export interface ExprProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Expr"; - value: Uint8Array; -} -/** - * An abstract representation of a common expression. - * - * Expressions are abstractly represented as a collection of identifiers, - * select statements, function calls, literals, and comprehensions. All - * operators with the exception of the '.' operator are modelled as function - * calls. This makes it easy to represent new operators into the existing AST. - * - * All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at - * type-check for an expression to be valid. A reference may either be a bare - * identifier `name` or a qualified identifier `google.api.name`. References - * may either refer to a value or a function declaration. - * - * For example, the expression `google.api.name.startsWith('expr')` references - * the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and - * the function declaration `startsWith`. - */ -export interface ExprAmino { - /** - * Required. An id assigned to this node by the parser which is unique in a - * given expression tree. This is used to associate type information and other - * attributes to a node in the parse tree. - */ - id: string; - /** A literal expression. */ - const_expr?: ConstantAmino; - /** An identifier expression. */ - ident_expr?: Expr_IdentAmino; - /** A field selection expression, e.g. `request.auth`. */ - select_expr?: Expr_SelectAmino; - /** A call expression, including calls to predefined functions and operators. */ - call_expr?: Expr_CallAmino; - /** A list creation expression. */ - list_expr?: Expr_CreateListAmino; - /** A map or message creation expression. */ - struct_expr?: Expr_CreateStructAmino; - /** A comprehension expression. */ - comprehension_expr?: Expr_ComprehensionAmino; -} -export interface ExprAminoMsg { - type: "/google.api.expr.v1alpha1.Expr"; - value: ExprAmino; -} -/** - * An abstract representation of a common expression. - * - * Expressions are abstractly represented as a collection of identifiers, - * select statements, function calls, literals, and comprehensions. All - * operators with the exception of the '.' operator are modelled as function - * calls. This makes it easy to represent new operators into the existing AST. - * - * All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at - * type-check for an expression to be valid. A reference may either be a bare - * identifier `name` or a qualified identifier `google.api.name`. References - * may either refer to a value or a function declaration. - * - * For example, the expression `google.api.name.startsWith('expr')` references - * the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and - * the function declaration `startsWith`. - */ -export interface ExprSDKType { - id: Long; - const_expr?: ConstantSDKType; - ident_expr?: Expr_IdentSDKType; - select_expr?: Expr_SelectSDKType; - call_expr?: Expr_CallSDKType; - list_expr?: Expr_CreateListSDKType; - struct_expr?: Expr_CreateStructSDKType; - comprehension_expr?: Expr_ComprehensionSDKType; -} -/** An identifier expression. e.g. `request`. */ -export interface Expr_Ident { - /** - * Required. Holds a single, unqualified identifier, possibly preceded by a - * '.'. - * - * Qualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression. - */ - name: string; -} -export interface Expr_IdentProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Ident"; - value: Uint8Array; -} -/** An identifier expression. e.g. `request`. */ -export interface Expr_IdentAmino { - /** - * Required. Holds a single, unqualified identifier, possibly preceded by a - * '.'. - * - * Qualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression. - */ - name: string; -} -export interface Expr_IdentAminoMsg { - type: "/google.api.expr.v1alpha1.Ident"; - value: Expr_IdentAmino; -} -/** An identifier expression. e.g. `request`. */ -export interface Expr_IdentSDKType { - name: string; -} -/** A field selection expression. e.g. `request.auth`. */ -export interface Expr_Select { - /** - * Required. The target of the selection expression. - * - * For example, in the select expression `request.auth`, the `request` - * portion of the expression is the `operand`. - */ - operand: Expr; - /** - * Required. The name of the field to select. - * - * For example, in the select expression `request.auth`, the `auth` portion - * of the expression would be the `field`. - */ - field: string; - /** - * Whether the select is to be interpreted as a field presence test. - * - * This results from the macro `has(request.auth)`. - */ - testOnly: boolean; -} -export interface Expr_SelectProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Select"; - value: Uint8Array; -} -/** A field selection expression. e.g. `request.auth`. */ -export interface Expr_SelectAmino { - /** - * Required. The target of the selection expression. - * - * For example, in the select expression `request.auth`, the `request` - * portion of the expression is the `operand`. - */ - operand?: ExprAmino; - /** - * Required. The name of the field to select. - * - * For example, in the select expression `request.auth`, the `auth` portion - * of the expression would be the `field`. - */ - field: string; - /** - * Whether the select is to be interpreted as a field presence test. - * - * This results from the macro `has(request.auth)`. - */ - test_only: boolean; -} -export interface Expr_SelectAminoMsg { - type: "/google.api.expr.v1alpha1.Select"; - value: Expr_SelectAmino; -} -/** A field selection expression. e.g. `request.auth`. */ -export interface Expr_SelectSDKType { - operand: ExprSDKType; - field: string; - test_only: boolean; -} -/** - * A call expression, including calls to predefined functions and operators. - * - * For example, `value == 10`, `size(map_value)`. - */ -export interface Expr_Call { - /** - * The target of an method call-style expression. For example, `x` in - * `x.f()`. - */ - target: Expr; - /** Required. The name of the function or method being called. */ - function: string; - /** The arguments. */ - args: Expr[]; -} -export interface Expr_CallProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Call"; - value: Uint8Array; -} -/** - * A call expression, including calls to predefined functions and operators. - * - * For example, `value == 10`, `size(map_value)`. - */ -export interface Expr_CallAmino { - /** - * The target of an method call-style expression. For example, `x` in - * `x.f()`. - */ - target?: ExprAmino; - /** Required. The name of the function or method being called. */ - function: string; - /** The arguments. */ - args: ExprAmino[]; -} -export interface Expr_CallAminoMsg { - type: "/google.api.expr.v1alpha1.Call"; - value: Expr_CallAmino; -} -/** - * A call expression, including calls to predefined functions and operators. - * - * For example, `value == 10`, `size(map_value)`. - */ -export interface Expr_CallSDKType { - target: ExprSDKType; - function: string; - args: ExprSDKType[]; -} -/** - * A list creation expression. - * - * Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g. - * `dyn([1, 'hello', 2.0])` - */ -export interface Expr_CreateList { - /** The elements part of the list. */ - elements: Expr[]; -} -export interface Expr_CreateListProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.CreateList"; - value: Uint8Array; -} -/** - * A list creation expression. - * - * Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g. - * `dyn([1, 'hello', 2.0])` - */ -export interface Expr_CreateListAmino { - /** The elements part of the list. */ - elements: ExprAmino[]; -} -export interface Expr_CreateListAminoMsg { - type: "/google.api.expr.v1alpha1.CreateList"; - value: Expr_CreateListAmino; -} -/** - * A list creation expression. - * - * Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g. - * `dyn([1, 'hello', 2.0])` - */ -export interface Expr_CreateListSDKType { - elements: ExprSDKType[]; -} -/** - * A map or message creation expression. - * - * Maps are constructed as `{'key_name': 'value'}`. Message construction is - * similar, but prefixed with a type name and composed of field ids: - * `types.MyType{field_id: 'value'}`. - */ -export interface Expr_CreateStruct { - /** - * The type name of the message to be created, empty when creating map - * literals. - */ - messageName: string; - /** The entries in the creation expression. */ - entries: Expr_CreateStruct_Entry[]; -} -export interface Expr_CreateStructProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.CreateStruct"; - value: Uint8Array; -} -/** - * A map or message creation expression. - * - * Maps are constructed as `{'key_name': 'value'}`. Message construction is - * similar, but prefixed with a type name and composed of field ids: - * `types.MyType{field_id: 'value'}`. - */ -export interface Expr_CreateStructAmino { - /** - * The type name of the message to be created, empty when creating map - * literals. - */ - message_name: string; - /** The entries in the creation expression. */ - entries: Expr_CreateStruct_EntryAmino[]; -} -export interface Expr_CreateStructAminoMsg { - type: "/google.api.expr.v1alpha1.CreateStruct"; - value: Expr_CreateStructAmino; -} -/** - * A map or message creation expression. - * - * Maps are constructed as `{'key_name': 'value'}`. Message construction is - * similar, but prefixed with a type name and composed of field ids: - * `types.MyType{field_id: 'value'}`. - */ -export interface Expr_CreateStructSDKType { - message_name: string; - entries: Expr_CreateStruct_EntrySDKType[]; -} -/** Represents an entry. */ -export interface Expr_CreateStruct_Entry { - /** - * Required. An id assigned to this node by the parser which is unique - * in a given expression tree. This is used to associate type - * information and other attributes to the node. - */ - id: Long; - /** The field key for a message creator statement. */ - fieldKey?: string; - /** The key expression for a map creation statement. */ - mapKey?: Expr; - /** Required. The value assigned to the key. */ - value: Expr; -} -export interface Expr_CreateStruct_EntryProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Entry"; - value: Uint8Array; -} -/** Represents an entry. */ -export interface Expr_CreateStruct_EntryAmino { - /** - * Required. An id assigned to this node by the parser which is unique - * in a given expression tree. This is used to associate type - * information and other attributes to the node. - */ - id: string; - /** The field key for a message creator statement. */ - field_key?: string; - /** The key expression for a map creation statement. */ - map_key?: ExprAmino; - /** Required. The value assigned to the key. */ - value?: ExprAmino; -} -export interface Expr_CreateStruct_EntryAminoMsg { - type: "/google.api.expr.v1alpha1.Entry"; - value: Expr_CreateStruct_EntryAmino; -} -/** Represents an entry. */ -export interface Expr_CreateStruct_EntrySDKType { - id: Long; - field_key?: string; - map_key?: ExprSDKType; - value: ExprSDKType; -} -/** - * A comprehension expression applied to a list or map. - * - * Comprehensions are not part of the core syntax, but enabled with macros. - * A macro matches a specific call signature within a parsed AST and replaces - * the call with an alternate AST block. Macro expansion happens at parse - * time. - * - * The following macros are supported within CEL: - * - * Aggregate type macros may be applied to all elements in a list or all keys - * in a map: - * - * * `all`, `exists`, `exists_one` - test a predicate expression against - * the inputs and return `true` if the predicate is satisfied for all, - * any, or only one value `list.all(x, x < 10)`. - * * `filter` - test a predicate expression against the inputs and return - * the subset of elements which satisfy the predicate: - * `payments.filter(p, p > 1000)`. - * * `map` - apply an expression to all elements in the input and return the - * output aggregate type: `[1, 2, 3].map(i, i * i)`. - * - * The `has(m.x)` macro tests whether the property `x` is present in struct - * `m`. The semantics of this macro depend on the type of `m`. For proto2 - * messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the - * macro tests whether the property is set to its default. For map and struct - * types, the macro tests whether the property `x` is defined on `m`. - */ -export interface Expr_Comprehension { - /** The name of the iteration variable. */ - iterVar: string; - /** The range over which var iterates. */ - iterRange: Expr; - /** The name of the variable used for accumulation of the result. */ - accuVar: string; - /** The initial value of the accumulator. */ - accuInit: Expr; - /** - * An expression which can contain iter_var and accu_var. - * - * Returns false when the result has been computed and may be used as - * a hint to short-circuit the remainder of the comprehension. - */ - loopCondition: Expr; - /** - * An expression which can contain iter_var and accu_var. - * - * Computes the next value of accu_var. - */ - loopStep: Expr; - /** - * An expression which can contain accu_var. - * - * Computes the result. - */ - result: Expr; -} -export interface Expr_ComprehensionProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Comprehension"; - value: Uint8Array; -} -/** - * A comprehension expression applied to a list or map. - * - * Comprehensions are not part of the core syntax, but enabled with macros. - * A macro matches a specific call signature within a parsed AST and replaces - * the call with an alternate AST block. Macro expansion happens at parse - * time. - * - * The following macros are supported within CEL: - * - * Aggregate type macros may be applied to all elements in a list or all keys - * in a map: - * - * * `all`, `exists`, `exists_one` - test a predicate expression against - * the inputs and return `true` if the predicate is satisfied for all, - * any, or only one value `list.all(x, x < 10)`. - * * `filter` - test a predicate expression against the inputs and return - * the subset of elements which satisfy the predicate: - * `payments.filter(p, p > 1000)`. - * * `map` - apply an expression to all elements in the input and return the - * output aggregate type: `[1, 2, 3].map(i, i * i)`. - * - * The `has(m.x)` macro tests whether the property `x` is present in struct - * `m`. The semantics of this macro depend on the type of `m`. For proto2 - * messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the - * macro tests whether the property is set to its default. For map and struct - * types, the macro tests whether the property `x` is defined on `m`. - */ -export interface Expr_ComprehensionAmino { - /** The name of the iteration variable. */ - iter_var: string; - /** The range over which var iterates. */ - iter_range?: ExprAmino; - /** The name of the variable used for accumulation of the result. */ - accu_var: string; - /** The initial value of the accumulator. */ - accu_init?: ExprAmino; - /** - * An expression which can contain iter_var and accu_var. - * - * Returns false when the result has been computed and may be used as - * a hint to short-circuit the remainder of the comprehension. - */ - loop_condition?: ExprAmino; - /** - * An expression which can contain iter_var and accu_var. - * - * Computes the next value of accu_var. - */ - loop_step?: ExprAmino; - /** - * An expression which can contain accu_var. - * - * Computes the result. - */ - result?: ExprAmino; -} -export interface Expr_ComprehensionAminoMsg { - type: "/google.api.expr.v1alpha1.Comprehension"; - value: Expr_ComprehensionAmino; -} -/** - * A comprehension expression applied to a list or map. - * - * Comprehensions are not part of the core syntax, but enabled with macros. - * A macro matches a specific call signature within a parsed AST and replaces - * the call with an alternate AST block. Macro expansion happens at parse - * time. - * - * The following macros are supported within CEL: - * - * Aggregate type macros may be applied to all elements in a list or all keys - * in a map: - * - * * `all`, `exists`, `exists_one` - test a predicate expression against - * the inputs and return `true` if the predicate is satisfied for all, - * any, or only one value `list.all(x, x < 10)`. - * * `filter` - test a predicate expression against the inputs and return - * the subset of elements which satisfy the predicate: - * `payments.filter(p, p > 1000)`. - * * `map` - apply an expression to all elements in the input and return the - * output aggregate type: `[1, 2, 3].map(i, i * i)`. - * - * The `has(m.x)` macro tests whether the property `x` is present in struct - * `m`. The semantics of this macro depend on the type of `m`. For proto2 - * messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the - * macro tests whether the property is set to its default. For map and struct - * types, the macro tests whether the property `x` is defined on `m`. - */ -export interface Expr_ComprehensionSDKType { - iter_var: string; - iter_range: ExprSDKType; - accu_var: string; - accu_init: ExprSDKType; - loop_condition: ExprSDKType; - loop_step: ExprSDKType; - result: ExprSDKType; -} -/** - * Represents a primitive literal. - * - * Named 'Constant' here for backwards compatibility. - * - * This is similar as the primitives supported in the well-known type - * `google.protobuf.Value`, but richer so it can represent CEL's full range of - * primitives. - * - * Lists and structs are not included as constants as these aggregate types may - * contain [Expr][google.api.expr.v1alpha1.Expr] elements which require evaluation and are thus not constant. - * - * Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, - * `true`, `null`. - */ -export interface Constant { - /** null value. */ - nullValue?: NullValue; - /** boolean value. */ - boolValue?: boolean; - /** int64 value. */ - int64Value?: Long; - /** uint64 value. */ - uint64Value?: Long; - /** double value. */ - doubleValue?: number; - /** string value. */ - stringValue?: string; - /** bytes value. */ - bytesValue?: Uint8Array; - /** - * protobuf.Duration value. - * - * Deprecated: duration is no longer considered a builtin cel type. - */ - /** @deprecated */ - durationValue?: Duration; - /** - * protobuf.Timestamp value. - * - * Deprecated: timestamp is no longer considered a builtin cel type. - */ - /** @deprecated */ - timestampValue?: Date; -} -export interface ConstantProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Constant"; - value: Uint8Array; -} -/** - * Represents a primitive literal. - * - * Named 'Constant' here for backwards compatibility. - * - * This is similar as the primitives supported in the well-known type - * `google.protobuf.Value`, but richer so it can represent CEL's full range of - * primitives. - * - * Lists and structs are not included as constants as these aggregate types may - * contain [Expr][google.api.expr.v1alpha1.Expr] elements which require evaluation and are thus not constant. - * - * Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, - * `true`, `null`. - */ -export interface ConstantAmino { - /** null value. */ - null_value?: NullValue; - /** boolean value. */ - bool_value?: boolean; - /** int64 value. */ - int64_value?: string; - /** uint64 value. */ - uint64_value?: string; - /** double value. */ - double_value?: number; - /** string value. */ - string_value?: string; - /** bytes value. */ - bytes_value?: Uint8Array; - /** - * protobuf.Duration value. - * - * Deprecated: duration is no longer considered a builtin cel type. - */ - /** @deprecated */ - duration_value?: DurationAmino; - /** - * protobuf.Timestamp value. - * - * Deprecated: timestamp is no longer considered a builtin cel type. - */ - /** @deprecated */ - timestamp_value?: Date; -} -export interface ConstantAminoMsg { - type: "/google.api.expr.v1alpha1.Constant"; - value: ConstantAmino; -} -/** - * Represents a primitive literal. - * - * Named 'Constant' here for backwards compatibility. - * - * This is similar as the primitives supported in the well-known type - * `google.protobuf.Value`, but richer so it can represent CEL's full range of - * primitives. - * - * Lists and structs are not included as constants as these aggregate types may - * contain [Expr][google.api.expr.v1alpha1.Expr] elements which require evaluation and are thus not constant. - * - * Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, - * `true`, `null`. - */ -export interface ConstantSDKType { - null_value?: NullValue; - bool_value?: boolean; - int64_value?: Long; - uint64_value?: Long; - double_value?: number; - string_value?: string; - bytes_value?: Uint8Array; - /** @deprecated */ - duration_value?: DurationSDKType; - /** @deprecated */ - timestamp_value?: Date; -} -export interface SourceInfo_PositionsEntry { - key: Long; - value: number; -} -export interface SourceInfo_PositionsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface SourceInfo_PositionsEntryAmino { - key: string; - value: number; -} -export interface SourceInfo_PositionsEntryAminoMsg { - type: string; - value: SourceInfo_PositionsEntryAmino; -} -export interface SourceInfo_PositionsEntrySDKType { - key: Long; - value: number; -} -export interface SourceInfo_MacroCallsEntry { - key: Long; - value: Expr; -} -export interface SourceInfo_MacroCallsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface SourceInfo_MacroCallsEntryAmino { - key: string; - value?: ExprAmino; -} -export interface SourceInfo_MacroCallsEntryAminoMsg { - type: string; - value: SourceInfo_MacroCallsEntryAmino; -} -export interface SourceInfo_MacroCallsEntrySDKType { - key: Long; - value: ExprSDKType; -} -/** Source information collected at parse time. */ -export interface SourceInfo { - /** The syntax version of the source, e.g. `cel1`. */ - syntaxVersion: string; - /** - * The location name. All position information attached to an expression is - * relative to this location. - * - * The location could be a file, UI element, or similar. For example, - * `acme/app/AnvilPolicy.cel`. - */ - location: string; - /** - * Monotonically increasing list of code point offsets where newlines - * `\n` appear. - * - * The line number of a given position is the index `i` where for a given - * `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The - * column may be derivd from `id_positions[id] - line_offsets[i]`. - */ - lineOffsets: number[]; - /** - * A map from the parse node id (e.g. `Expr.id`) to the code point offset - * within the source. - */ - positions: { - [key: Long]: number; - }; - /** - * A map from the parse node id where a macro replacement was made to the - * call `Expr` that resulted in a macro expansion. - * - * For example, `has(value.field)` is a function call that is replaced by a - * `test_only` field selection in the AST. Likewise, the call - * `list.exists(e, e > 10)` translates to a comprehension expression. The key - * in the map corresponds to the expression id of the expanded macro, and the - * value is the call `Expr` that was replaced. - */ - macroCalls: { - [key: Long]: Expr; - }; -} -export interface SourceInfoProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.SourceInfo"; - value: Uint8Array; -} -/** Source information collected at parse time. */ -export interface SourceInfoAmino { - /** The syntax version of the source, e.g. `cel1`. */ - syntax_version: string; - /** - * The location name. All position information attached to an expression is - * relative to this location. - * - * The location could be a file, UI element, or similar. For example, - * `acme/app/AnvilPolicy.cel`. - */ - location: string; - /** - * Monotonically increasing list of code point offsets where newlines - * `\n` appear. - * - * The line number of a given position is the index `i` where for a given - * `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The - * column may be derivd from `id_positions[id] - line_offsets[i]`. - */ - line_offsets: number[]; - /** - * A map from the parse node id (e.g. `Expr.id`) to the code point offset - * within the source. - */ - positions: { - [key: string]: number; - }; - /** - * A map from the parse node id where a macro replacement was made to the - * call `Expr` that resulted in a macro expansion. - * - * For example, `has(value.field)` is a function call that is replaced by a - * `test_only` field selection in the AST. Likewise, the call - * `list.exists(e, e > 10)` translates to a comprehension expression. The key - * in the map corresponds to the expression id of the expanded macro, and the - * value is the call `Expr` that was replaced. - */ - macro_calls?: { - [key: string]: ExprAmino; - }; -} -export interface SourceInfoAminoMsg { - type: "/google.api.expr.v1alpha1.SourceInfo"; - value: SourceInfoAmino; -} -/** Source information collected at parse time. */ -export interface SourceInfoSDKType { - syntax_version: string; - location: string; - line_offsets: number[]; - positions: { - [key: Long]: number; - }; - macro_calls: { - [key: Long]: ExprSDKType; - }; -} -/** A specific position in source. */ -export interface SourcePosition { - /** The soucre location name (e.g. file name). */ - location: string; - /** The UTF-8 code unit offset. */ - offset: number; - /** - * The 1-based index of the starting line in the source text - * where the issue occurs, or 0 if unknown. - */ - line: number; - /** - * The 0-based index of the starting position within the line of source text - * where the issue occurs. Only meaningful if line is nonzero. - */ - column: number; -} -export interface SourcePositionProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.SourcePosition"; - value: Uint8Array; -} -/** A specific position in source. */ -export interface SourcePositionAmino { - /** The soucre location name (e.g. file name). */ - location: string; - /** The UTF-8 code unit offset. */ - offset: number; - /** - * The 1-based index of the starting line in the source text - * where the issue occurs, or 0 if unknown. - */ - line: number; - /** - * The 0-based index of the starting position within the line of source text - * where the issue occurs. Only meaningful if line is nonzero. - */ - column: number; -} -export interface SourcePositionAminoMsg { - type: "/google.api.expr.v1alpha1.SourcePosition"; - value: SourcePositionAmino; -} -/** A specific position in source. */ -export interface SourcePositionSDKType { - location: string; - offset: number; - line: number; - column: number; -} -function createBaseParsedExpr(): ParsedExpr { - return { - expr: Expr.fromPartial({}), - sourceInfo: SourceInfo.fromPartial({}) - }; -} -export const ParsedExpr = { - typeUrl: "/google.api.expr.v1alpha1.ParsedExpr", - encode(message: ParsedExpr, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.expr !== undefined) { - Expr.encode(message.expr, writer.uint32(18).fork()).ldelim(); - } - if (message.sourceInfo !== undefined) { - SourceInfo.encode(message.sourceInfo, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ParsedExpr { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParsedExpr(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.expr = Expr.decode(reader, reader.uint32()); - break; - case 3: - message.sourceInfo = SourceInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ParsedExpr { - const obj = createBaseParsedExpr(); - if (isSet(object.expr)) obj.expr = Expr.fromJSON(object.expr); - if (isSet(object.sourceInfo)) obj.sourceInfo = SourceInfo.fromJSON(object.sourceInfo); - return obj; - }, - toJSON(message: ParsedExpr): unknown { - const obj: any = {}; - message.expr !== undefined && (obj.expr = message.expr ? Expr.toJSON(message.expr) : undefined); - message.sourceInfo !== undefined && (obj.sourceInfo = message.sourceInfo ? SourceInfo.toJSON(message.sourceInfo) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ParsedExpr { - const message = createBaseParsedExpr(); - if (object.expr !== undefined && object.expr !== null) { - message.expr = Expr.fromPartial(object.expr); - } - if (object.sourceInfo !== undefined && object.sourceInfo !== null) { - message.sourceInfo = SourceInfo.fromPartial(object.sourceInfo); - } - return message; - }, - fromSDK(object: ParsedExprSDKType): ParsedExpr { - return { - expr: object.expr ? Expr.fromSDK(object.expr) : undefined, - sourceInfo: object.source_info ? SourceInfo.fromSDK(object.source_info) : undefined - }; - }, - toSDK(message: ParsedExpr): ParsedExprSDKType { - const obj: any = {}; - message.expr !== undefined && (obj.expr = message.expr ? Expr.toSDK(message.expr) : undefined); - message.sourceInfo !== undefined && (obj.source_info = message.sourceInfo ? SourceInfo.toSDK(message.sourceInfo) : undefined); - return obj; - }, - fromAmino(object: ParsedExprAmino): ParsedExpr { - return { - expr: object?.expr ? Expr.fromAmino(object.expr) : undefined, - sourceInfo: object?.source_info ? SourceInfo.fromAmino(object.source_info) : undefined - }; - }, - toAmino(message: ParsedExpr): ParsedExprAmino { - const obj: any = {}; - obj.expr = message.expr ? Expr.toAmino(message.expr) : undefined; - obj.source_info = message.sourceInfo ? SourceInfo.toAmino(message.sourceInfo) : undefined; - return obj; - }, - fromAminoMsg(object: ParsedExprAminoMsg): ParsedExpr { - return ParsedExpr.fromAmino(object.value); - }, - fromProtoMsg(message: ParsedExprProtoMsg): ParsedExpr { - return ParsedExpr.decode(message.value); - }, - toProto(message: ParsedExpr): Uint8Array { - return ParsedExpr.encode(message).finish(); - }, - toProtoMsg(message: ParsedExpr): ParsedExprProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.ParsedExpr", - value: ParsedExpr.encode(message).finish() - }; - } -}; -function createBaseExpr(): Expr { - return { - id: Long.ZERO, - constExpr: undefined, - identExpr: undefined, - selectExpr: undefined, - callExpr: undefined, - listExpr: undefined, - structExpr: undefined, - comprehensionExpr: undefined - }; -} -export const Expr = { - typeUrl: "/google.api.expr.v1alpha1.Expr", - encode(message: Expr, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.id.isZero()) { - writer.uint32(16).int64(message.id); - } - if (message.constExpr !== undefined) { - Constant.encode(message.constExpr, writer.uint32(26).fork()).ldelim(); - } - if (message.identExpr !== undefined) { - Expr_Ident.encode(message.identExpr, writer.uint32(34).fork()).ldelim(); - } - if (message.selectExpr !== undefined) { - Expr_Select.encode(message.selectExpr, writer.uint32(42).fork()).ldelim(); - } - if (message.callExpr !== undefined) { - Expr_Call.encode(message.callExpr, writer.uint32(50).fork()).ldelim(); - } - if (message.listExpr !== undefined) { - Expr_CreateList.encode(message.listExpr, writer.uint32(58).fork()).ldelim(); - } - if (message.structExpr !== undefined) { - Expr_CreateStruct.encode(message.structExpr, writer.uint32(66).fork()).ldelim(); - } - if (message.comprehensionExpr !== undefined) { - Expr_Comprehension.encode(message.comprehensionExpr, writer.uint32(74).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.id = (reader.int64() as Long); - break; - case 3: - message.constExpr = Constant.decode(reader, reader.uint32()); - break; - case 4: - message.identExpr = Expr_Ident.decode(reader, reader.uint32()); - break; - case 5: - message.selectExpr = Expr_Select.decode(reader, reader.uint32()); - break; - case 6: - message.callExpr = Expr_Call.decode(reader, reader.uint32()); - break; - case 7: - message.listExpr = Expr_CreateList.decode(reader, reader.uint32()); - break; - case 8: - message.structExpr = Expr_CreateStruct.decode(reader, reader.uint32()); - break; - case 9: - message.comprehensionExpr = Expr_Comprehension.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr { - const obj = createBaseExpr(); - if (isSet(object.id)) obj.id = Long.fromValue(object.id); - if (isSet(object.constExpr)) obj.constExpr = Constant.fromJSON(object.constExpr); - if (isSet(object.identExpr)) obj.identExpr = Expr_Ident.fromJSON(object.identExpr); - if (isSet(object.selectExpr)) obj.selectExpr = Expr_Select.fromJSON(object.selectExpr); - if (isSet(object.callExpr)) obj.callExpr = Expr_Call.fromJSON(object.callExpr); - if (isSet(object.listExpr)) obj.listExpr = Expr_CreateList.fromJSON(object.listExpr); - if (isSet(object.structExpr)) obj.structExpr = Expr_CreateStruct.fromJSON(object.structExpr); - if (isSet(object.comprehensionExpr)) obj.comprehensionExpr = Expr_Comprehension.fromJSON(object.comprehensionExpr); - return obj; - }, - toJSON(message: Expr): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || Long.ZERO).toString()); - message.constExpr !== undefined && (obj.constExpr = message.constExpr ? Constant.toJSON(message.constExpr) : undefined); - message.identExpr !== undefined && (obj.identExpr = message.identExpr ? Expr_Ident.toJSON(message.identExpr) : undefined); - message.selectExpr !== undefined && (obj.selectExpr = message.selectExpr ? Expr_Select.toJSON(message.selectExpr) : undefined); - message.callExpr !== undefined && (obj.callExpr = message.callExpr ? Expr_Call.toJSON(message.callExpr) : undefined); - message.listExpr !== undefined && (obj.listExpr = message.listExpr ? Expr_CreateList.toJSON(message.listExpr) : undefined); - message.structExpr !== undefined && (obj.structExpr = message.structExpr ? Expr_CreateStruct.toJSON(message.structExpr) : undefined); - message.comprehensionExpr !== undefined && (obj.comprehensionExpr = message.comprehensionExpr ? Expr_Comprehension.toJSON(message.comprehensionExpr) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Expr { - const message = createBaseExpr(); - if (object.id !== undefined && object.id !== null) { - message.id = Long.fromValue(object.id); - } - if (object.constExpr !== undefined && object.constExpr !== null) { - message.constExpr = Constant.fromPartial(object.constExpr); - } - if (object.identExpr !== undefined && object.identExpr !== null) { - message.identExpr = Expr_Ident.fromPartial(object.identExpr); - } - if (object.selectExpr !== undefined && object.selectExpr !== null) { - message.selectExpr = Expr_Select.fromPartial(object.selectExpr); - } - if (object.callExpr !== undefined && object.callExpr !== null) { - message.callExpr = Expr_Call.fromPartial(object.callExpr); - } - if (object.listExpr !== undefined && object.listExpr !== null) { - message.listExpr = Expr_CreateList.fromPartial(object.listExpr); - } - if (object.structExpr !== undefined && object.structExpr !== null) { - message.structExpr = Expr_CreateStruct.fromPartial(object.structExpr); - } - if (object.comprehensionExpr !== undefined && object.comprehensionExpr !== null) { - message.comprehensionExpr = Expr_Comprehension.fromPartial(object.comprehensionExpr); - } - return message; - }, - fromSDK(object: ExprSDKType): Expr { - return { - id: object?.id, - constExpr: object.const_expr ? Constant.fromSDK(object.const_expr) : undefined, - identExpr: object.ident_expr ? Expr_Ident.fromSDK(object.ident_expr) : undefined, - selectExpr: object.select_expr ? Expr_Select.fromSDK(object.select_expr) : undefined, - callExpr: object.call_expr ? Expr_Call.fromSDK(object.call_expr) : undefined, - listExpr: object.list_expr ? Expr_CreateList.fromSDK(object.list_expr) : undefined, - structExpr: object.struct_expr ? Expr_CreateStruct.fromSDK(object.struct_expr) : undefined, - comprehensionExpr: object.comprehension_expr ? Expr_Comprehension.fromSDK(object.comprehension_expr) : undefined - }; - }, - toSDK(message: Expr): ExprSDKType { - const obj: any = {}; - obj.id = message.id; - message.constExpr !== undefined && (obj.const_expr = message.constExpr ? Constant.toSDK(message.constExpr) : undefined); - message.identExpr !== undefined && (obj.ident_expr = message.identExpr ? Expr_Ident.toSDK(message.identExpr) : undefined); - message.selectExpr !== undefined && (obj.select_expr = message.selectExpr ? Expr_Select.toSDK(message.selectExpr) : undefined); - message.callExpr !== undefined && (obj.call_expr = message.callExpr ? Expr_Call.toSDK(message.callExpr) : undefined); - message.listExpr !== undefined && (obj.list_expr = message.listExpr ? Expr_CreateList.toSDK(message.listExpr) : undefined); - message.structExpr !== undefined && (obj.struct_expr = message.structExpr ? Expr_CreateStruct.toSDK(message.structExpr) : undefined); - message.comprehensionExpr !== undefined && (obj.comprehension_expr = message.comprehensionExpr ? Expr_Comprehension.toSDK(message.comprehensionExpr) : undefined); - return obj; - }, - fromAmino(object: ExprAmino): Expr { - return { - id: Long.fromString(object.id), - constExpr: object?.const_expr ? Constant.fromAmino(object.const_expr) : undefined, - identExpr: object?.ident_expr ? Expr_Ident.fromAmino(object.ident_expr) : undefined, - selectExpr: object?.select_expr ? Expr_Select.fromAmino(object.select_expr) : undefined, - callExpr: object?.call_expr ? Expr_Call.fromAmino(object.call_expr) : undefined, - listExpr: object?.list_expr ? Expr_CreateList.fromAmino(object.list_expr) : undefined, - structExpr: object?.struct_expr ? Expr_CreateStruct.fromAmino(object.struct_expr) : undefined, - comprehensionExpr: object?.comprehension_expr ? Expr_Comprehension.fromAmino(object.comprehension_expr) : undefined - }; - }, - toAmino(message: Expr): ExprAmino { - const obj: any = {}; - obj.id = message.id ? message.id.toString() : undefined; - obj.const_expr = message.constExpr ? Constant.toAmino(message.constExpr) : undefined; - obj.ident_expr = message.identExpr ? Expr_Ident.toAmino(message.identExpr) : undefined; - obj.select_expr = message.selectExpr ? Expr_Select.toAmino(message.selectExpr) : undefined; - obj.call_expr = message.callExpr ? Expr_Call.toAmino(message.callExpr) : undefined; - obj.list_expr = message.listExpr ? Expr_CreateList.toAmino(message.listExpr) : undefined; - obj.struct_expr = message.structExpr ? Expr_CreateStruct.toAmino(message.structExpr) : undefined; - obj.comprehension_expr = message.comprehensionExpr ? Expr_Comprehension.toAmino(message.comprehensionExpr) : undefined; - return obj; - }, - fromAminoMsg(object: ExprAminoMsg): Expr { - return Expr.fromAmino(object.value); - }, - fromProtoMsg(message: ExprProtoMsg): Expr { - return Expr.decode(message.value); - }, - toProto(message: Expr): Uint8Array { - return Expr.encode(message).finish(); - }, - toProtoMsg(message: Expr): ExprProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Expr", - value: Expr.encode(message).finish() - }; - } -}; -function createBaseExpr_Ident(): Expr_Ident { - return { - name: "" - }; -} -export const Expr_Ident = { - typeUrl: "/google.api.expr.v1alpha1.Ident", - encode(message: Expr_Ident, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_Ident { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_Ident(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_Ident { - const obj = createBaseExpr_Ident(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: Expr_Ident): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): Expr_Ident { - const message = createBaseExpr_Ident(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: Expr_IdentSDKType): Expr_Ident { - return { - name: object?.name - }; - }, - toSDK(message: Expr_Ident): Expr_IdentSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: Expr_IdentAmino): Expr_Ident { - return { - name: object.name - }; - }, - toAmino(message: Expr_Ident): Expr_IdentAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: Expr_IdentAminoMsg): Expr_Ident { - return Expr_Ident.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_IdentProtoMsg): Expr_Ident { - return Expr_Ident.decode(message.value); - }, - toProto(message: Expr_Ident): Uint8Array { - return Expr_Ident.encode(message).finish(); - }, - toProtoMsg(message: Expr_Ident): Expr_IdentProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Ident", - value: Expr_Ident.encode(message).finish() - }; - } -}; -function createBaseExpr_Select(): Expr_Select { - return { - operand: Expr.fromPartial({}), - field: "", - testOnly: false - }; -} -export const Expr_Select = { - typeUrl: "/google.api.expr.v1alpha1.Select", - encode(message: Expr_Select, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.operand !== undefined) { - Expr.encode(message.operand, writer.uint32(10).fork()).ldelim(); - } - if (message.field !== "") { - writer.uint32(18).string(message.field); - } - if (message.testOnly === true) { - writer.uint32(24).bool(message.testOnly); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_Select { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_Select(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.operand = Expr.decode(reader, reader.uint32()); - break; - case 2: - message.field = reader.string(); - break; - case 3: - message.testOnly = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_Select { - const obj = createBaseExpr_Select(); - if (isSet(object.operand)) obj.operand = Expr.fromJSON(object.operand); - if (isSet(object.field)) obj.field = String(object.field); - if (isSet(object.testOnly)) obj.testOnly = Boolean(object.testOnly); - return obj; - }, - toJSON(message: Expr_Select): unknown { - const obj: any = {}; - message.operand !== undefined && (obj.operand = message.operand ? Expr.toJSON(message.operand) : undefined); - message.field !== undefined && (obj.field = message.field); - message.testOnly !== undefined && (obj.testOnly = message.testOnly); - return obj; - }, - fromPartial(object: DeepPartial): Expr_Select { - const message = createBaseExpr_Select(); - if (object.operand !== undefined && object.operand !== null) { - message.operand = Expr.fromPartial(object.operand); - } - message.field = object.field ?? ""; - message.testOnly = object.testOnly ?? false; - return message; - }, - fromSDK(object: Expr_SelectSDKType): Expr_Select { - return { - operand: object.operand ? Expr.fromSDK(object.operand) : undefined, - field: object?.field, - testOnly: object?.test_only - }; - }, - toSDK(message: Expr_Select): Expr_SelectSDKType { - const obj: any = {}; - message.operand !== undefined && (obj.operand = message.operand ? Expr.toSDK(message.operand) : undefined); - obj.field = message.field; - obj.test_only = message.testOnly; - return obj; - }, - fromAmino(object: Expr_SelectAmino): Expr_Select { - return { - operand: object?.operand ? Expr.fromAmino(object.operand) : undefined, - field: object.field, - testOnly: object.test_only - }; - }, - toAmino(message: Expr_Select): Expr_SelectAmino { - const obj: any = {}; - obj.operand = message.operand ? Expr.toAmino(message.operand) : undefined; - obj.field = message.field; - obj.test_only = message.testOnly; - return obj; - }, - fromAminoMsg(object: Expr_SelectAminoMsg): Expr_Select { - return Expr_Select.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_SelectProtoMsg): Expr_Select { - return Expr_Select.decode(message.value); - }, - toProto(message: Expr_Select): Uint8Array { - return Expr_Select.encode(message).finish(); - }, - toProtoMsg(message: Expr_Select): Expr_SelectProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Select", - value: Expr_Select.encode(message).finish() - }; - } -}; -function createBaseExpr_Call(): Expr_Call { - return { - target: Expr.fromPartial({}), - function: "", - args: [] - }; -} -export const Expr_Call = { - typeUrl: "/google.api.expr.v1alpha1.Call", - encode(message: Expr_Call, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.target !== undefined) { - Expr.encode(message.target, writer.uint32(10).fork()).ldelim(); - } - if (message.function !== "") { - writer.uint32(18).string(message.function); - } - for (const v of message.args) { - Expr.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_Call { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_Call(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.target = Expr.decode(reader, reader.uint32()); - break; - case 2: - message.function = reader.string(); - break; - case 3: - message.args.push(Expr.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_Call { - const obj = createBaseExpr_Call(); - if (isSet(object.target)) obj.target = Expr.fromJSON(object.target); - if (isSet(object.function)) obj.function = String(object.function); - if (Array.isArray(object?.args)) obj.args = object.args.map((e: any) => Expr.fromJSON(e)); - return obj; - }, - toJSON(message: Expr_Call): unknown { - const obj: any = {}; - message.target !== undefined && (obj.target = message.target ? Expr.toJSON(message.target) : undefined); - message.function !== undefined && (obj.function = message.function); - if (message.args) { - obj.args = message.args.map(e => e ? Expr.toJSON(e) : undefined); - } else { - obj.args = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Expr_Call { - const message = createBaseExpr_Call(); - if (object.target !== undefined && object.target !== null) { - message.target = Expr.fromPartial(object.target); - } - message.function = object.function ?? ""; - message.args = object.args?.map(e => Expr.fromPartial(e)) || []; - return message; - }, - fromSDK(object: Expr_CallSDKType): Expr_Call { - return { - target: object.target ? Expr.fromSDK(object.target) : undefined, - function: object?.function, - args: Array.isArray(object?.args) ? object.args.map((e: any) => Expr.fromSDK(e)) : [] - }; - }, - toSDK(message: Expr_Call): Expr_CallSDKType { - const obj: any = {}; - message.target !== undefined && (obj.target = message.target ? Expr.toSDK(message.target) : undefined); - obj.function = message.function; - if (message.args) { - obj.args = message.args.map(e => e ? Expr.toSDK(e) : undefined); - } else { - obj.args = []; - } - return obj; - }, - fromAmino(object: Expr_CallAmino): Expr_Call { - return { - target: object?.target ? Expr.fromAmino(object.target) : undefined, - function: object.function, - args: Array.isArray(object?.args) ? object.args.map((e: any) => Expr.fromAmino(e)) : [] - }; - }, - toAmino(message: Expr_Call): Expr_CallAmino { - const obj: any = {}; - obj.target = message.target ? Expr.toAmino(message.target) : undefined; - obj.function = message.function; - if (message.args) { - obj.args = message.args.map(e => e ? Expr.toAmino(e) : undefined); - } else { - obj.args = []; - } - return obj; - }, - fromAminoMsg(object: Expr_CallAminoMsg): Expr_Call { - return Expr_Call.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_CallProtoMsg): Expr_Call { - return Expr_Call.decode(message.value); - }, - toProto(message: Expr_Call): Uint8Array { - return Expr_Call.encode(message).finish(); - }, - toProtoMsg(message: Expr_Call): Expr_CallProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Call", - value: Expr_Call.encode(message).finish() - }; - } -}; -function createBaseExpr_CreateList(): Expr_CreateList { - return { - elements: [] - }; -} -export const Expr_CreateList = { - typeUrl: "/google.api.expr.v1alpha1.CreateList", - encode(message: Expr_CreateList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.elements) { - Expr.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_CreateList { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_CreateList(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.elements.push(Expr.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_CreateList { - const obj = createBaseExpr_CreateList(); - if (Array.isArray(object?.elements)) obj.elements = object.elements.map((e: any) => Expr.fromJSON(e)); - return obj; - }, - toJSON(message: Expr_CreateList): unknown { - const obj: any = {}; - if (message.elements) { - obj.elements = message.elements.map(e => e ? Expr.toJSON(e) : undefined); - } else { - obj.elements = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Expr_CreateList { - const message = createBaseExpr_CreateList(); - message.elements = object.elements?.map(e => Expr.fromPartial(e)) || []; - return message; - }, - fromSDK(object: Expr_CreateListSDKType): Expr_CreateList { - return { - elements: Array.isArray(object?.elements) ? object.elements.map((e: any) => Expr.fromSDK(e)) : [] - }; - }, - toSDK(message: Expr_CreateList): Expr_CreateListSDKType { - const obj: any = {}; - if (message.elements) { - obj.elements = message.elements.map(e => e ? Expr.toSDK(e) : undefined); - } else { - obj.elements = []; - } - return obj; - }, - fromAmino(object: Expr_CreateListAmino): Expr_CreateList { - return { - elements: Array.isArray(object?.elements) ? object.elements.map((e: any) => Expr.fromAmino(e)) : [] - }; - }, - toAmino(message: Expr_CreateList): Expr_CreateListAmino { - const obj: any = {}; - if (message.elements) { - obj.elements = message.elements.map(e => e ? Expr.toAmino(e) : undefined); - } else { - obj.elements = []; - } - return obj; - }, - fromAminoMsg(object: Expr_CreateListAminoMsg): Expr_CreateList { - return Expr_CreateList.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_CreateListProtoMsg): Expr_CreateList { - return Expr_CreateList.decode(message.value); - }, - toProto(message: Expr_CreateList): Uint8Array { - return Expr_CreateList.encode(message).finish(); - }, - toProtoMsg(message: Expr_CreateList): Expr_CreateListProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.CreateList", - value: Expr_CreateList.encode(message).finish() - }; - } -}; -function createBaseExpr_CreateStruct(): Expr_CreateStruct { - return { - messageName: "", - entries: [] - }; -} -export const Expr_CreateStruct = { - typeUrl: "/google.api.expr.v1alpha1.CreateStruct", - encode(message: Expr_CreateStruct, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.messageName !== "") { - writer.uint32(10).string(message.messageName); - } - for (const v of message.entries) { - Expr_CreateStruct_Entry.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_CreateStruct { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_CreateStruct(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.messageName = reader.string(); - break; - case 2: - message.entries.push(Expr_CreateStruct_Entry.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_CreateStruct { - const obj = createBaseExpr_CreateStruct(); - if (isSet(object.messageName)) obj.messageName = String(object.messageName); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => Expr_CreateStruct_Entry.fromJSON(e)); - return obj; - }, - toJSON(message: Expr_CreateStruct): unknown { - const obj: any = {}; - message.messageName !== undefined && (obj.messageName = message.messageName); - if (message.entries) { - obj.entries = message.entries.map(e => e ? Expr_CreateStruct_Entry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Expr_CreateStruct { - const message = createBaseExpr_CreateStruct(); - message.messageName = object.messageName ?? ""; - message.entries = object.entries?.map(e => Expr_CreateStruct_Entry.fromPartial(e)) || []; - return message; - }, - fromSDK(object: Expr_CreateStructSDKType): Expr_CreateStruct { - return { - messageName: object?.message_name, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => Expr_CreateStruct_Entry.fromSDK(e)) : [] - }; - }, - toSDK(message: Expr_CreateStruct): Expr_CreateStructSDKType { - const obj: any = {}; - obj.message_name = message.messageName; - if (message.entries) { - obj.entries = message.entries.map(e => e ? Expr_CreateStruct_Entry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAmino(object: Expr_CreateStructAmino): Expr_CreateStruct { - return { - messageName: object.message_name, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => Expr_CreateStruct_Entry.fromAmino(e)) : [] - }; - }, - toAmino(message: Expr_CreateStruct): Expr_CreateStructAmino { - const obj: any = {}; - obj.message_name = message.messageName; - if (message.entries) { - obj.entries = message.entries.map(e => e ? Expr_CreateStruct_Entry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAminoMsg(object: Expr_CreateStructAminoMsg): Expr_CreateStruct { - return Expr_CreateStruct.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_CreateStructProtoMsg): Expr_CreateStruct { - return Expr_CreateStruct.decode(message.value); - }, - toProto(message: Expr_CreateStruct): Uint8Array { - return Expr_CreateStruct.encode(message).finish(); - }, - toProtoMsg(message: Expr_CreateStruct): Expr_CreateStructProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.CreateStruct", - value: Expr_CreateStruct.encode(message).finish() - }; - } -}; -function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { - return { - id: Long.ZERO, - fieldKey: undefined, - mapKey: undefined, - value: Expr.fromPartial({}) - }; -} -export const Expr_CreateStruct_Entry = { - typeUrl: "/google.api.expr.v1alpha1.Entry", - encode(message: Expr_CreateStruct_Entry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.id.isZero()) { - writer.uint32(8).int64(message.id); - } - if (message.fieldKey !== undefined) { - writer.uint32(18).string(message.fieldKey); - } - if (message.mapKey !== undefined) { - Expr.encode(message.mapKey, writer.uint32(26).fork()).ldelim(); - } - if (message.value !== undefined) { - Expr.encode(message.value, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_CreateStruct_Entry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_CreateStruct_Entry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = (reader.int64() as Long); - break; - case 2: - message.fieldKey = reader.string(); - break; - case 3: - message.mapKey = Expr.decode(reader, reader.uint32()); - break; - case 4: - message.value = Expr.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_CreateStruct_Entry { - const obj = createBaseExpr_CreateStruct_Entry(); - if (isSet(object.id)) obj.id = Long.fromValue(object.id); - if (isSet(object.fieldKey)) obj.fieldKey = String(object.fieldKey); - if (isSet(object.mapKey)) obj.mapKey = Expr.fromJSON(object.mapKey); - if (isSet(object.value)) obj.value = Expr.fromJSON(object.value); - return obj; - }, - toJSON(message: Expr_CreateStruct_Entry): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = (message.id || Long.ZERO).toString()); - message.fieldKey !== undefined && (obj.fieldKey = message.fieldKey); - message.mapKey !== undefined && (obj.mapKey = message.mapKey ? Expr.toJSON(message.mapKey) : undefined); - message.value !== undefined && (obj.value = message.value ? Expr.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Expr_CreateStruct_Entry { - const message = createBaseExpr_CreateStruct_Entry(); - if (object.id !== undefined && object.id !== null) { - message.id = Long.fromValue(object.id); - } - message.fieldKey = object.fieldKey ?? undefined; - if (object.mapKey !== undefined && object.mapKey !== null) { - message.mapKey = Expr.fromPartial(object.mapKey); - } - if (object.value !== undefined && object.value !== null) { - message.value = Expr.fromPartial(object.value); - } - return message; - }, - fromSDK(object: Expr_CreateStruct_EntrySDKType): Expr_CreateStruct_Entry { - return { - id: object?.id, - fieldKey: object?.field_key, - mapKey: object.map_key ? Expr.fromSDK(object.map_key) : undefined, - value: object.value ? Expr.fromSDK(object.value) : undefined - }; - }, - toSDK(message: Expr_CreateStruct_Entry): Expr_CreateStruct_EntrySDKType { - const obj: any = {}; - obj.id = message.id; - obj.field_key = message.fieldKey; - message.mapKey !== undefined && (obj.map_key = message.mapKey ? Expr.toSDK(message.mapKey) : undefined); - message.value !== undefined && (obj.value = message.value ? Expr.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: Expr_CreateStruct_EntryAmino): Expr_CreateStruct_Entry { - return { - id: Long.fromString(object.id), - fieldKey: object?.field_key, - mapKey: object?.map_key ? Expr.fromAmino(object.map_key) : undefined, - value: object?.value ? Expr.fromAmino(object.value) : undefined - }; - }, - toAmino(message: Expr_CreateStruct_Entry): Expr_CreateStruct_EntryAmino { - const obj: any = {}; - obj.id = message.id ? message.id.toString() : undefined; - obj.field_key = message.fieldKey; - obj.map_key = message.mapKey ? Expr.toAmino(message.mapKey) : undefined; - obj.value = message.value ? Expr.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: Expr_CreateStruct_EntryAminoMsg): Expr_CreateStruct_Entry { - return Expr_CreateStruct_Entry.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_CreateStruct_EntryProtoMsg): Expr_CreateStruct_Entry { - return Expr_CreateStruct_Entry.decode(message.value); - }, - toProto(message: Expr_CreateStruct_Entry): Uint8Array { - return Expr_CreateStruct_Entry.encode(message).finish(); - }, - toProtoMsg(message: Expr_CreateStruct_Entry): Expr_CreateStruct_EntryProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Entry", - value: Expr_CreateStruct_Entry.encode(message).finish() - }; - } -}; -function createBaseExpr_Comprehension(): Expr_Comprehension { - return { - iterVar: "", - iterRange: Expr.fromPartial({}), - accuVar: "", - accuInit: Expr.fromPartial({}), - loopCondition: Expr.fromPartial({}), - loopStep: Expr.fromPartial({}), - result: Expr.fromPartial({}) - }; -} -export const Expr_Comprehension = { - typeUrl: "/google.api.expr.v1alpha1.Comprehension", - encode(message: Expr_Comprehension, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.iterVar !== "") { - writer.uint32(10).string(message.iterVar); - } - if (message.iterRange !== undefined) { - Expr.encode(message.iterRange, writer.uint32(18).fork()).ldelim(); - } - if (message.accuVar !== "") { - writer.uint32(26).string(message.accuVar); - } - if (message.accuInit !== undefined) { - Expr.encode(message.accuInit, writer.uint32(34).fork()).ldelim(); - } - if (message.loopCondition !== undefined) { - Expr.encode(message.loopCondition, writer.uint32(42).fork()).ldelim(); - } - if (message.loopStep !== undefined) { - Expr.encode(message.loopStep, writer.uint32(50).fork()).ldelim(); - } - if (message.result !== undefined) { - Expr.encode(message.result, writer.uint32(58).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_Comprehension { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_Comprehension(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.iterVar = reader.string(); - break; - case 2: - message.iterRange = Expr.decode(reader, reader.uint32()); - break; - case 3: - message.accuVar = reader.string(); - break; - case 4: - message.accuInit = Expr.decode(reader, reader.uint32()); - break; - case 5: - message.loopCondition = Expr.decode(reader, reader.uint32()); - break; - case 6: - message.loopStep = Expr.decode(reader, reader.uint32()); - break; - case 7: - message.result = Expr.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_Comprehension { - const obj = createBaseExpr_Comprehension(); - if (isSet(object.iterVar)) obj.iterVar = String(object.iterVar); - if (isSet(object.iterRange)) obj.iterRange = Expr.fromJSON(object.iterRange); - if (isSet(object.accuVar)) obj.accuVar = String(object.accuVar); - if (isSet(object.accuInit)) obj.accuInit = Expr.fromJSON(object.accuInit); - if (isSet(object.loopCondition)) obj.loopCondition = Expr.fromJSON(object.loopCondition); - if (isSet(object.loopStep)) obj.loopStep = Expr.fromJSON(object.loopStep); - if (isSet(object.result)) obj.result = Expr.fromJSON(object.result); - return obj; - }, - toJSON(message: Expr_Comprehension): unknown { - const obj: any = {}; - message.iterVar !== undefined && (obj.iterVar = message.iterVar); - message.iterRange !== undefined && (obj.iterRange = message.iterRange ? Expr.toJSON(message.iterRange) : undefined); - message.accuVar !== undefined && (obj.accuVar = message.accuVar); - message.accuInit !== undefined && (obj.accuInit = message.accuInit ? Expr.toJSON(message.accuInit) : undefined); - message.loopCondition !== undefined && (obj.loopCondition = message.loopCondition ? Expr.toJSON(message.loopCondition) : undefined); - message.loopStep !== undefined && (obj.loopStep = message.loopStep ? Expr.toJSON(message.loopStep) : undefined); - message.result !== undefined && (obj.result = message.result ? Expr.toJSON(message.result) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Expr_Comprehension { - const message = createBaseExpr_Comprehension(); - message.iterVar = object.iterVar ?? ""; - if (object.iterRange !== undefined && object.iterRange !== null) { - message.iterRange = Expr.fromPartial(object.iterRange); - } - message.accuVar = object.accuVar ?? ""; - if (object.accuInit !== undefined && object.accuInit !== null) { - message.accuInit = Expr.fromPartial(object.accuInit); - } - if (object.loopCondition !== undefined && object.loopCondition !== null) { - message.loopCondition = Expr.fromPartial(object.loopCondition); - } - if (object.loopStep !== undefined && object.loopStep !== null) { - message.loopStep = Expr.fromPartial(object.loopStep); - } - if (object.result !== undefined && object.result !== null) { - message.result = Expr.fromPartial(object.result); - } - return message; - }, - fromSDK(object: Expr_ComprehensionSDKType): Expr_Comprehension { - return { - iterVar: object?.iter_var, - iterRange: object.iter_range ? Expr.fromSDK(object.iter_range) : undefined, - accuVar: object?.accu_var, - accuInit: object.accu_init ? Expr.fromSDK(object.accu_init) : undefined, - loopCondition: object.loop_condition ? Expr.fromSDK(object.loop_condition) : undefined, - loopStep: object.loop_step ? Expr.fromSDK(object.loop_step) : undefined, - result: object.result ? Expr.fromSDK(object.result) : undefined - }; - }, - toSDK(message: Expr_Comprehension): Expr_ComprehensionSDKType { - const obj: any = {}; - obj.iter_var = message.iterVar; - message.iterRange !== undefined && (obj.iter_range = message.iterRange ? Expr.toSDK(message.iterRange) : undefined); - obj.accu_var = message.accuVar; - message.accuInit !== undefined && (obj.accu_init = message.accuInit ? Expr.toSDK(message.accuInit) : undefined); - message.loopCondition !== undefined && (obj.loop_condition = message.loopCondition ? Expr.toSDK(message.loopCondition) : undefined); - message.loopStep !== undefined && (obj.loop_step = message.loopStep ? Expr.toSDK(message.loopStep) : undefined); - message.result !== undefined && (obj.result = message.result ? Expr.toSDK(message.result) : undefined); - return obj; - }, - fromAmino(object: Expr_ComprehensionAmino): Expr_Comprehension { - return { - iterVar: object.iter_var, - iterRange: object?.iter_range ? Expr.fromAmino(object.iter_range) : undefined, - accuVar: object.accu_var, - accuInit: object?.accu_init ? Expr.fromAmino(object.accu_init) : undefined, - loopCondition: object?.loop_condition ? Expr.fromAmino(object.loop_condition) : undefined, - loopStep: object?.loop_step ? Expr.fromAmino(object.loop_step) : undefined, - result: object?.result ? Expr.fromAmino(object.result) : undefined - }; - }, - toAmino(message: Expr_Comprehension): Expr_ComprehensionAmino { - const obj: any = {}; - obj.iter_var = message.iterVar; - obj.iter_range = message.iterRange ? Expr.toAmino(message.iterRange) : undefined; - obj.accu_var = message.accuVar; - obj.accu_init = message.accuInit ? Expr.toAmino(message.accuInit) : undefined; - obj.loop_condition = message.loopCondition ? Expr.toAmino(message.loopCondition) : undefined; - obj.loop_step = message.loopStep ? Expr.toAmino(message.loopStep) : undefined; - obj.result = message.result ? Expr.toAmino(message.result) : undefined; - return obj; - }, - fromAminoMsg(object: Expr_ComprehensionAminoMsg): Expr_Comprehension { - return Expr_Comprehension.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_ComprehensionProtoMsg): Expr_Comprehension { - return Expr_Comprehension.decode(message.value); - }, - toProto(message: Expr_Comprehension): Uint8Array { - return Expr_Comprehension.encode(message).finish(); - }, - toProtoMsg(message: Expr_Comprehension): Expr_ComprehensionProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Comprehension", - value: Expr_Comprehension.encode(message).finish() - }; - } -}; -function createBaseConstant(): Constant { - return { - nullValue: undefined, - boolValue: undefined, - int64Value: undefined, - uint64Value: undefined, - doubleValue: undefined, - stringValue: undefined, - bytesValue: undefined, - durationValue: undefined, - timestampValue: undefined - }; -} -export const Constant = { - typeUrl: "/google.api.expr.v1alpha1.Constant", - encode(message: Constant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nullValue !== undefined) { - writer.uint32(8).int32(message.nullValue); - } - if (message.boolValue !== undefined) { - writer.uint32(16).bool(message.boolValue); - } - if (message.int64Value !== undefined) { - writer.uint32(24).int64(message.int64Value); - } - if (message.uint64Value !== undefined) { - writer.uint32(32).uint64(message.uint64Value); - } - if (message.doubleValue !== undefined) { - writer.uint32(41).double(message.doubleValue); - } - if (message.stringValue !== undefined) { - writer.uint32(50).string(message.stringValue); - } - if (message.bytesValue !== undefined) { - writer.uint32(58).bytes(message.bytesValue); - } - if (message.durationValue !== undefined) { - Duration.encode(message.durationValue, writer.uint32(66).fork()).ldelim(); - } - if (message.timestampValue !== undefined) { - Timestamp.encode(toTimestamp(message.timestampValue), writer.uint32(74).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Constant { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConstant(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.nullValue = (reader.int32() as any); - break; - case 2: - message.boolValue = reader.bool(); - break; - case 3: - message.int64Value = (reader.int64() as Long); - break; - case 4: - message.uint64Value = (reader.uint64() as Long); - break; - case 5: - message.doubleValue = reader.double(); - break; - case 6: - message.stringValue = reader.string(); - break; - case 7: - message.bytesValue = reader.bytes(); - break; - case 8: - message.durationValue = Duration.decode(reader, reader.uint32()); - break; - case 9: - message.timestampValue = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Constant { - const obj = createBaseConstant(); - if (isSet(object.nullValue)) obj.nullValue = nullValueFromJSON(object.nullValue); - if (isSet(object.boolValue)) obj.boolValue = Boolean(object.boolValue); - if (isSet(object.int64Value)) obj.int64Value = Long.fromValue(object.int64Value); - if (isSet(object.uint64Value)) obj.uint64Value = Long.fromValue(object.uint64Value); - if (isSet(object.doubleValue)) obj.doubleValue = Number(object.doubleValue); - if (isSet(object.stringValue)) obj.stringValue = String(object.stringValue); - if (isSet(object.bytesValue)) obj.bytesValue = bytesFromBase64(object.bytesValue); - if (isSet(object.durationValue)) obj.durationValue = Duration.fromJSON(object.durationValue); - if (isSet(object.timestampValue)) obj.timestampValue = new Date(object.timestampValue); - return obj; - }, - toJSON(message: Constant): unknown { - const obj: any = {}; - message.nullValue !== undefined && (obj.nullValue = nullValueToJSON(message.nullValue)); - message.boolValue !== undefined && (obj.boolValue = message.boolValue); - message.int64Value !== undefined && (obj.int64Value = (message.int64Value || undefined).toString()); - message.uint64Value !== undefined && (obj.uint64Value = (message.uint64Value || undefined).toString()); - message.doubleValue !== undefined && (obj.doubleValue = message.doubleValue); - message.stringValue !== undefined && (obj.stringValue = message.stringValue); - message.bytesValue !== undefined && (obj.bytesValue = message.bytesValue !== undefined ? base64FromBytes(message.bytesValue) : undefined); - message.durationValue !== undefined && (obj.durationValue = message.durationValue ? Duration.toJSON(message.durationValue) : undefined); - message.timestampValue !== undefined && (obj.timestampValue = message.timestampValue.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): Constant { - const message = createBaseConstant(); - message.nullValue = object.nullValue ?? undefined; - message.boolValue = object.boolValue ?? undefined; - if (object.int64Value !== undefined && object.int64Value !== null) { - message.int64Value = Long.fromValue(object.int64Value); - } - if (object.uint64Value !== undefined && object.uint64Value !== null) { - message.uint64Value = Long.fromValue(object.uint64Value); - } - message.doubleValue = object.doubleValue ?? undefined; - message.stringValue = object.stringValue ?? undefined; - message.bytesValue = object.bytesValue ?? undefined; - if (object.durationValue !== undefined && object.durationValue !== null) { - message.durationValue = Duration.fromPartial(object.durationValue); - } - message.timestampValue = object.timestampValue ?? undefined; - return message; - }, - fromSDK(object: ConstantSDKType): Constant { - return { - nullValue: isSet(object.null_value) ? nullValueFromJSON(object.null_value) : undefined, - boolValue: object?.bool_value, - int64Value: object?.int64_value, - uint64Value: object?.uint64_value, - doubleValue: object?.double_value, - stringValue: object?.string_value, - bytesValue: object?.bytes_value, - durationValue: object.duration_value ? Duration.fromSDK(object.duration_value) : undefined, - timestampValue: object.timestamp_value ?? undefined - }; - }, - toSDK(message: Constant): ConstantSDKType { - const obj: any = {}; - message.nullValue !== undefined && (obj.null_value = nullValueToJSON(message.nullValue)); - obj.bool_value = message.boolValue; - obj.int64_value = message.int64Value; - obj.uint64_value = message.uint64Value; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - obj.bytes_value = message.bytesValue; - message.durationValue !== undefined && (obj.duration_value = message.durationValue ? Duration.toSDK(message.durationValue) : undefined); - message.timestampValue !== undefined && (obj.timestamp_value = message.timestampValue ?? undefined); - return obj; - }, - fromAmino(object: ConstantAmino): Constant { - return { - nullValue: isSet(object.null_value) ? nullValueFromJSON(object.null_value) : undefined, - boolValue: object?.bool_value, - int64Value: object?.int64_value ? Long.fromString(object.int64_value) : undefined, - uint64Value: object?.uint64_value ? Long.fromString(object.uint64_value) : undefined, - doubleValue: object?.double_value, - stringValue: object?.string_value, - bytesValue: object?.bytes_value, - durationValue: object?.duration_value ? Duration.fromAmino(object.duration_value) : undefined, - timestampValue: object?.timestamp_value - }; - }, - toAmino(message: Constant): ConstantAmino { - const obj: any = {}; - obj.null_value = message.nullValue; - obj.bool_value = message.boolValue; - obj.int64_value = message.int64Value ? message.int64Value.toString() : undefined; - obj.uint64_value = message.uint64Value ? message.uint64Value.toString() : undefined; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - obj.bytes_value = message.bytesValue; - obj.duration_value = message.durationValue ? Duration.toAmino(message.durationValue) : undefined; - obj.timestamp_value = message.timestampValue; - return obj; - }, - fromAminoMsg(object: ConstantAminoMsg): Constant { - return Constant.fromAmino(object.value); - }, - fromProtoMsg(message: ConstantProtoMsg): Constant { - return Constant.decode(message.value); - }, - toProto(message: Constant): Uint8Array { - return Constant.encode(message).finish(); - }, - toProtoMsg(message: Constant): ConstantProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Constant", - value: Constant.encode(message).finish() - }; - } -}; -function createBaseSourceInfo_PositionsEntry(): SourceInfo_PositionsEntry { - return { - key: Long.ZERO, - value: 0 - }; -} -export const SourceInfo_PositionsEntry = { - encode(message: SourceInfo_PositionsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.key.isZero()) { - writer.uint32(8).int64(message.key); - } - if (message.value !== 0) { - writer.uint32(16).int32(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SourceInfo_PositionsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourceInfo_PositionsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = (reader.int64() as Long); - break; - case 2: - message.value = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SourceInfo_PositionsEntry { - const obj = createBaseSourceInfo_PositionsEntry(); - if (isSet(object.key)) obj.key = Long.fromValue(object.key); - if (isSet(object.value)) obj.value = Number(object.value); - return obj; - }, - toJSON(message: SourceInfo_PositionsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = (message.key || Long.ZERO).toString()); - message.value !== undefined && (obj.value = Math.round(message.value)); - return obj; - }, - fromPartial(object: DeepPartial): SourceInfo_PositionsEntry { - const message = createBaseSourceInfo_PositionsEntry(); - if (object.key !== undefined && object.key !== null) { - message.key = Long.fromValue(object.key); - } - message.value = object.value ?? 0; - return message; - }, - fromSDK(object: SourceInfo_PositionsEntrySDKType): SourceInfo_PositionsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: SourceInfo_PositionsEntry): SourceInfo_PositionsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: SourceInfo_PositionsEntryAmino): SourceInfo_PositionsEntry { - return { - key: Long.fromString(object.key), - value: object.value - }; - }, - toAmino(message: SourceInfo_PositionsEntry): SourceInfo_PositionsEntryAmino { - const obj: any = {}; - obj.key = message.key ? message.key.toString() : undefined; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: SourceInfo_PositionsEntryAminoMsg): SourceInfo_PositionsEntry { - return SourceInfo_PositionsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: SourceInfo_PositionsEntryProtoMsg): SourceInfo_PositionsEntry { - return SourceInfo_PositionsEntry.decode(message.value); - }, - toProto(message: SourceInfo_PositionsEntry): Uint8Array { - return SourceInfo_PositionsEntry.encode(message).finish(); - } -}; -function createBaseSourceInfo_MacroCallsEntry(): SourceInfo_MacroCallsEntry { - return { - key: Long.ZERO, - value: Expr.fromPartial({}) - }; -} -export const SourceInfo_MacroCallsEntry = { - encode(message: SourceInfo_MacroCallsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.key.isZero()) { - writer.uint32(8).int64(message.key); - } - if (message.value !== undefined) { - Expr.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SourceInfo_MacroCallsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourceInfo_MacroCallsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = (reader.int64() as Long); - break; - case 2: - message.value = Expr.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SourceInfo_MacroCallsEntry { - const obj = createBaseSourceInfo_MacroCallsEntry(); - if (isSet(object.key)) obj.key = Long.fromValue(object.key); - if (isSet(object.value)) obj.value = Expr.fromJSON(object.value); - return obj; - }, - toJSON(message: SourceInfo_MacroCallsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = (message.key || Long.ZERO).toString()); - message.value !== undefined && (obj.value = message.value ? Expr.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): SourceInfo_MacroCallsEntry { - const message = createBaseSourceInfo_MacroCallsEntry(); - if (object.key !== undefined && object.key !== null) { - message.key = Long.fromValue(object.key); - } - if (object.value !== undefined && object.value !== null) { - message.value = Expr.fromPartial(object.value); - } - return message; - }, - fromSDK(object: SourceInfo_MacroCallsEntrySDKType): SourceInfo_MacroCallsEntry { - return { - key: object?.key, - value: object.value ? Expr.fromSDK(object.value) : undefined - }; - }, - toSDK(message: SourceInfo_MacroCallsEntry): SourceInfo_MacroCallsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - message.value !== undefined && (obj.value = message.value ? Expr.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: SourceInfo_MacroCallsEntryAmino): SourceInfo_MacroCallsEntry { - return { - key: Long.fromString(object.key), - value: object?.value ? Expr.fromAmino(object.value) : undefined - }; - }, - toAmino(message: SourceInfo_MacroCallsEntry): SourceInfo_MacroCallsEntryAmino { - const obj: any = {}; - obj.key = message.key ? message.key.toString() : undefined; - obj.value = message.value ? Expr.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: SourceInfo_MacroCallsEntryAminoMsg): SourceInfo_MacroCallsEntry { - return SourceInfo_MacroCallsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: SourceInfo_MacroCallsEntryProtoMsg): SourceInfo_MacroCallsEntry { - return SourceInfo_MacroCallsEntry.decode(message.value); - }, - toProto(message: SourceInfo_MacroCallsEntry): Uint8Array { - return SourceInfo_MacroCallsEntry.encode(message).finish(); - } -}; -function createBaseSourceInfo(): SourceInfo { - return { - syntaxVersion: "", - location: "", - lineOffsets: [], - positions: {}, - macroCalls: {} - }; -} -export const SourceInfo = { - typeUrl: "/google.api.expr.v1alpha1.SourceInfo", - encode(message: SourceInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.syntaxVersion !== "") { - writer.uint32(10).string(message.syntaxVersion); - } - if (message.location !== "") { - writer.uint32(18).string(message.location); - } - writer.uint32(26).fork(); - for (const v of message.lineOffsets) { - writer.int32(v); - } - writer.ldelim(); - Object.entries(message.positions).forEach(([key, value]) => { - SourceInfo_PositionsEntry.encode({ - key: (key as any), - value - }, writer.uint32(32).fork()).ldelim(); - }); - Object.entries(message.macroCalls).forEach(([key, value]) => { - SourceInfo_MacroCallsEntry.encode({ - key: (key as any), - value - }, writer.uint32(42).fork()).ldelim(); - }); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SourceInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourceInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.syntaxVersion = reader.string(); - break; - case 2: - message.location = reader.string(); - break; - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.lineOffsets.push(reader.int32()); - } - } else { - message.lineOffsets.push(reader.int32()); - } - break; - case 4: - const entry4 = SourceInfo_PositionsEntry.decode(reader, reader.uint32()); - if (entry4.value !== undefined) { - message.positions[entry4.key] = entry4.value; - } - break; - case 5: - const entry5 = SourceInfo_MacroCallsEntry.decode(reader, reader.uint32()); - if (entry5.value !== undefined) { - message.macroCalls[entry5.key] = entry5.value; - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SourceInfo { - const obj = createBaseSourceInfo(); - if (isSet(object.syntaxVersion)) obj.syntaxVersion = String(object.syntaxVersion); - if (isSet(object.location)) obj.location = String(object.location); - if (Array.isArray(object?.lineOffsets)) obj.lineOffsets = object.lineOffsets.map((e: any) => Number(e)); - if (isObject(object.positions)) obj.positions = Object.entries(object.positions).reduce<{ - [key: Long]: number; - }>((acc, [key, value]) => { - acc[Number(key)] = Number(value); - return acc; - }, {}); - if (isObject(object.macroCalls)) obj.macroCalls = Object.entries(object.macroCalls).reduce<{ - [key: Long]: Expr; - }>((acc, [key, value]) => { - acc[Number(key)] = Expr.fromJSON(value); - return acc; - }, {}); - return obj; - }, - toJSON(message: SourceInfo): unknown { - const obj: any = {}; - message.syntaxVersion !== undefined && (obj.syntaxVersion = message.syntaxVersion); - message.location !== undefined && (obj.location = message.location); - if (message.lineOffsets) { - obj.lineOffsets = message.lineOffsets.map(e => Math.round(e)); - } else { - obj.lineOffsets = []; - } - obj.positions = {}; - if (message.positions) { - Object.entries(message.positions).forEach(([k, v]) => { - obj.positions[k] = Math.round(v); - }); - } - obj.macroCalls = {}; - if (message.macroCalls) { - Object.entries(message.macroCalls).forEach(([k, v]) => { - obj.macroCalls[k] = Expr.toJSON(v); - }); - } - return obj; - }, - fromPartial(object: DeepPartial): SourceInfo { - const message = createBaseSourceInfo(); - message.syntaxVersion = object.syntaxVersion ?? ""; - message.location = object.location ?? ""; - message.lineOffsets = object.lineOffsets?.map(e => e) || []; - message.positions = Object.entries(object.positions ?? {}).reduce<{ - [key: Long]: number; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[Number(key)] = Number(value); - } - return acc; - }, {}); - message.macroCalls = Object.entries(object.macroCalls ?? {}).reduce<{ - [key: Long]: Expr; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[Number(key)] = Expr.fromPartial(value); - } - return acc; - }, {}); - return message; - }, - fromSDK(object: SourceInfoSDKType): SourceInfo { - return { - syntaxVersion: object?.syntax_version, - location: object?.location, - lineOffsets: Array.isArray(object?.line_offsets) ? object.line_offsets.map((e: any) => e) : [], - positions: isObject(object.positions) ? Object.entries(object.positions).reduce<{ - [key: Long]: number; - }>((acc, [key, value]) => { - acc[Number(key)] = Number(value); - return acc; - }, {}) : {}, - macroCalls: isObject(object.macro_calls) ? Object.entries(object.macro_calls).reduce<{ - [key: Long]: Expr; - }>((acc, [key, value]) => { - acc[Number(key)] = Expr.fromSDK(value); - return acc; - }, {}) : {} - }; - }, - toSDK(message: SourceInfo): SourceInfoSDKType { - const obj: any = {}; - obj.syntax_version = message.syntaxVersion; - obj.location = message.location; - if (message.lineOffsets) { - obj.line_offsets = message.lineOffsets.map(e => e); - } else { - obj.line_offsets = []; - } - obj.positions = {}; - if (message.positions) { - Object.entries(message.positions).forEach(([k, v]) => { - obj.positions[k] = Math.round(v); - }); - } - obj.macro_calls = {}; - if (message.macroCalls) { - Object.entries(message.macroCalls).forEach(([k, v]) => { - obj.macro_calls[k] = Expr.toSDK(v); - }); - } - return obj; - }, - fromAmino(object: SourceInfoAmino): SourceInfo { - return { - syntaxVersion: object.syntax_version, - location: object.location, - lineOffsets: Array.isArray(object?.line_offsets) ? object.line_offsets.map((e: any) => e) : [], - positions: isObject(object.positions) ? Object.entries(object.positions).reduce<{ - [key: Long]: number; - }>((acc, [key, value]) => { - acc[Number(key)] = Number(value); - return acc; - }, {}) : {}, - macroCalls: isObject(object.macro_calls) ? Object.entries(object.macro_calls).reduce<{ - [key: Long]: Expr; - }>((acc, [key, value]) => { - acc[Number(key)] = Expr.fromAmino(value); - return acc; - }, {}) : {} - }; - }, - toAmino(message: SourceInfo): SourceInfoAmino { - const obj: any = {}; - obj.syntax_version = message.syntaxVersion; - obj.location = message.location; - if (message.lineOffsets) { - obj.line_offsets = message.lineOffsets.map(e => e); - } else { - obj.line_offsets = []; - } - obj.positions = {}; - if (message.positions) { - Object.entries(message.positions).forEach(([k, v]) => { - obj.positions[k] = Math.round(v); - }); - } - obj.macro_calls = {}; - if (message.macroCalls) { - Object.entries(message.macroCalls).forEach(([k, v]) => { - obj.macro_calls[k] = Expr.toAmino(v); - }); - } - return obj; - }, - fromAminoMsg(object: SourceInfoAminoMsg): SourceInfo { - return SourceInfo.fromAmino(object.value); - }, - fromProtoMsg(message: SourceInfoProtoMsg): SourceInfo { - return SourceInfo.decode(message.value); - }, - toProto(message: SourceInfo): Uint8Array { - return SourceInfo.encode(message).finish(); - }, - toProtoMsg(message: SourceInfo): SourceInfoProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.SourceInfo", - value: SourceInfo.encode(message).finish() - }; - } -}; -function createBaseSourcePosition(): SourcePosition { - return { - location: "", - offset: 0, - line: 0, - column: 0 - }; -} -export const SourcePosition = { - typeUrl: "/google.api.expr.v1alpha1.SourcePosition", - encode(message: SourcePosition, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.location !== "") { - writer.uint32(10).string(message.location); - } - if (message.offset !== 0) { - writer.uint32(16).int32(message.offset); - } - if (message.line !== 0) { - writer.uint32(24).int32(message.line); - } - if (message.column !== 0) { - writer.uint32(32).int32(message.column); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SourcePosition { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourcePosition(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.location = reader.string(); - break; - case 2: - message.offset = reader.int32(); - break; - case 3: - message.line = reader.int32(); - break; - case 4: - message.column = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SourcePosition { - const obj = createBaseSourcePosition(); - if (isSet(object.location)) obj.location = String(object.location); - if (isSet(object.offset)) obj.offset = Number(object.offset); - if (isSet(object.line)) obj.line = Number(object.line); - if (isSet(object.column)) obj.column = Number(object.column); - return obj; - }, - toJSON(message: SourcePosition): unknown { - const obj: any = {}; - message.location !== undefined && (obj.location = message.location); - message.offset !== undefined && (obj.offset = Math.round(message.offset)); - message.line !== undefined && (obj.line = Math.round(message.line)); - message.column !== undefined && (obj.column = Math.round(message.column)); - return obj; - }, - fromPartial(object: DeepPartial): SourcePosition { - const message = createBaseSourcePosition(); - message.location = object.location ?? ""; - message.offset = object.offset ?? 0; - message.line = object.line ?? 0; - message.column = object.column ?? 0; - return message; - }, - fromSDK(object: SourcePositionSDKType): SourcePosition { - return { - location: object?.location, - offset: object?.offset, - line: object?.line, - column: object?.column - }; - }, - toSDK(message: SourcePosition): SourcePositionSDKType { - const obj: any = {}; - obj.location = message.location; - obj.offset = message.offset; - obj.line = message.line; - obj.column = message.column; - return obj; - }, - fromAmino(object: SourcePositionAmino): SourcePosition { - return { - location: object.location, - offset: object.offset, - line: object.line, - column: object.column - }; - }, - toAmino(message: SourcePosition): SourcePositionAmino { - const obj: any = {}; - obj.location = message.location; - obj.offset = message.offset; - obj.line = message.line; - obj.column = message.column; - return obj; - }, - fromAminoMsg(object: SourcePositionAminoMsg): SourcePosition { - return SourcePosition.fromAmino(object.value); - }, - fromProtoMsg(message: SourcePositionProtoMsg): SourcePosition { - return SourcePosition.decode(message.value); - }, - toProto(message: SourcePosition): Uint8Array { - return SourcePosition.encode(message).finish(); - }, - toProtoMsg(message: SourcePosition): SourcePositionProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.SourcePosition", - value: SourcePosition.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/expr/v1alpha1/value.ts b/quicksilverjs/src/codegen/google/api/expr/v1alpha1/value.ts deleted file mode 100644 index 36a8f58d4..000000000 --- a/quicksilverjs/src/codegen/google/api/expr/v1alpha1/value.ts +++ /dev/null @@ -1,872 +0,0 @@ -import { NullValue, NullValueSDKType, nullValueFromJSON, nullValueToJSON } from "../../../protobuf/struct"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../protobuf/any"; -import { Long, isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.expr.v1alpha1"; -/** - * Represents a CEL value. - * - * This is similar to `google.protobuf.Value`, but can represent CEL's full - * range of values. - */ -export interface Value { - /** Null value. */ - nullValue?: NullValue; - /** Boolean value. */ - boolValue?: boolean; - /** Signed integer value. */ - int64Value?: Long; - /** Unsigned integer value. */ - uint64Value?: Long; - /** Floating point value. */ - doubleValue?: number; - /** UTF-8 string value. */ - stringValue?: string; - /** Byte string value. */ - bytesValue?: Uint8Array; - /** An enum value. */ - enumValue?: EnumValue; - /** The proto message backing an object value. */ - objectValue?: Any; - /** Map value. */ - mapValue?: MapValue; - /** List value. */ - listValue?: ListValue; - /** Type value. */ - typeValue?: string; -} -export interface ValueProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Value"; - value: Uint8Array; -} -/** - * Represents a CEL value. - * - * This is similar to `google.protobuf.Value`, but can represent CEL's full - * range of values. - */ -export interface ValueAmino { - /** Null value. */ - null_value?: NullValue; - /** Boolean value. */ - bool_value?: boolean; - /** Signed integer value. */ - int64_value?: string; - /** Unsigned integer value. */ - uint64_value?: string; - /** Floating point value. */ - double_value?: number; - /** UTF-8 string value. */ - string_value?: string; - /** Byte string value. */ - bytes_value?: Uint8Array; - /** An enum value. */ - enum_value?: EnumValueAmino; - /** The proto message backing an object value. */ - object_value?: AnyAmino; - /** Map value. */ - map_value?: MapValueAmino; - /** List value. */ - list_value?: ListValueAmino; - /** Type value. */ - type_value?: string; -} -export interface ValueAminoMsg { - type: "/google.api.expr.v1alpha1.Value"; - value: ValueAmino; -} -/** - * Represents a CEL value. - * - * This is similar to `google.protobuf.Value`, but can represent CEL's full - * range of values. - */ -export interface ValueSDKType { - null_value?: NullValue; - bool_value?: boolean; - int64_value?: Long; - uint64_value?: Long; - double_value?: number; - string_value?: string; - bytes_value?: Uint8Array; - enum_value?: EnumValueSDKType; - object_value?: AnySDKType; - map_value?: MapValueSDKType; - list_value?: ListValueSDKType; - type_value?: string; -} -/** An enum value. */ -export interface EnumValue { - /** The fully qualified name of the enum type. */ - type: string; - /** The value of the enum. */ - value: number; -} -export interface EnumValueProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.EnumValue"; - value: Uint8Array; -} -/** An enum value. */ -export interface EnumValueAmino { - /** The fully qualified name of the enum type. */ - type: string; - /** The value of the enum. */ - value: number; -} -export interface EnumValueAminoMsg { - type: "/google.api.expr.v1alpha1.EnumValue"; - value: EnumValueAmino; -} -/** An enum value. */ -export interface EnumValueSDKType { - type: string; - value: number; -} -/** - * A list. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface ListValue { - /** The ordered values in the list. */ - values: Value[]; -} -export interface ListValueProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.ListValue"; - value: Uint8Array; -} -/** - * A list. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface ListValueAmino { - /** The ordered values in the list. */ - values: ValueAmino[]; -} -export interface ListValueAminoMsg { - type: "/google.api.expr.v1alpha1.ListValue"; - value: ListValueAmino; -} -/** - * A list. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface ListValueSDKType { - values: ValueSDKType[]; -} -/** - * A map. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface MapValue { - /** - * The set of map entries. - * - * CEL has fewer restrictions on keys, so a protobuf map represenation - * cannot be used. - */ - entries: MapValue_Entry[]; -} -export interface MapValueProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.MapValue"; - value: Uint8Array; -} -/** - * A map. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface MapValueAmino { - /** - * The set of map entries. - * - * CEL has fewer restrictions on keys, so a protobuf map represenation - * cannot be used. - */ - entries: MapValue_EntryAmino[]; -} -export interface MapValueAminoMsg { - type: "/google.api.expr.v1alpha1.MapValue"; - value: MapValueAmino; -} -/** - * A map. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface MapValueSDKType { - entries: MapValue_EntrySDKType[]; -} -/** An entry in the map. */ -export interface MapValue_Entry { - /** - * The key. - * - * Must be unique with in the map. - * Currently only boolean, int, uint, and string values can be keys. - */ - key: Value; - /** The value. */ - value: Value; -} -export interface MapValue_EntryProtoMsg { - typeUrl: "/google.api.expr.v1alpha1.Entry"; - value: Uint8Array; -} -/** An entry in the map. */ -export interface MapValue_EntryAmino { - /** - * The key. - * - * Must be unique with in the map. - * Currently only boolean, int, uint, and string values can be keys. - */ - key?: ValueAmino; - /** The value. */ - value?: ValueAmino; -} -export interface MapValue_EntryAminoMsg { - type: "/google.api.expr.v1alpha1.Entry"; - value: MapValue_EntryAmino; -} -/** An entry in the map. */ -export interface MapValue_EntrySDKType { - key: ValueSDKType; - value: ValueSDKType; -} -function createBaseValue(): Value { - return { - nullValue: undefined, - boolValue: undefined, - int64Value: undefined, - uint64Value: undefined, - doubleValue: undefined, - stringValue: undefined, - bytesValue: undefined, - enumValue: undefined, - objectValue: undefined, - mapValue: undefined, - listValue: undefined, - typeValue: undefined - }; -} -export const Value = { - typeUrl: "/google.api.expr.v1alpha1.Value", - encode(message: Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nullValue !== undefined) { - writer.uint32(8).int32(message.nullValue); - } - if (message.boolValue !== undefined) { - writer.uint32(16).bool(message.boolValue); - } - if (message.int64Value !== undefined) { - writer.uint32(24).int64(message.int64Value); - } - if (message.uint64Value !== undefined) { - writer.uint32(32).uint64(message.uint64Value); - } - if (message.doubleValue !== undefined) { - writer.uint32(41).double(message.doubleValue); - } - if (message.stringValue !== undefined) { - writer.uint32(50).string(message.stringValue); - } - if (message.bytesValue !== undefined) { - writer.uint32(58).bytes(message.bytesValue); - } - if (message.enumValue !== undefined) { - EnumValue.encode(message.enumValue, writer.uint32(74).fork()).ldelim(); - } - if (message.objectValue !== undefined) { - Any.encode(message.objectValue, writer.uint32(82).fork()).ldelim(); - } - if (message.mapValue !== undefined) { - MapValue.encode(message.mapValue, writer.uint32(90).fork()).ldelim(); - } - if (message.listValue !== undefined) { - ListValue.encode(message.listValue, writer.uint32(98).fork()).ldelim(); - } - if (message.typeValue !== undefined) { - writer.uint32(122).string(message.typeValue); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.nullValue = (reader.int32() as any); - break; - case 2: - message.boolValue = reader.bool(); - break; - case 3: - message.int64Value = (reader.int64() as Long); - break; - case 4: - message.uint64Value = (reader.uint64() as Long); - break; - case 5: - message.doubleValue = reader.double(); - break; - case 6: - message.stringValue = reader.string(); - break; - case 7: - message.bytesValue = reader.bytes(); - break; - case 9: - message.enumValue = EnumValue.decode(reader, reader.uint32()); - break; - case 10: - message.objectValue = Any.decode(reader, reader.uint32()); - break; - case 11: - message.mapValue = MapValue.decode(reader, reader.uint32()); - break; - case 12: - message.listValue = ListValue.decode(reader, reader.uint32()); - break; - case 15: - message.typeValue = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Value { - const obj = createBaseValue(); - if (isSet(object.nullValue)) obj.nullValue = nullValueFromJSON(object.nullValue); - if (isSet(object.boolValue)) obj.boolValue = Boolean(object.boolValue); - if (isSet(object.int64Value)) obj.int64Value = Long.fromValue(object.int64Value); - if (isSet(object.uint64Value)) obj.uint64Value = Long.fromValue(object.uint64Value); - if (isSet(object.doubleValue)) obj.doubleValue = Number(object.doubleValue); - if (isSet(object.stringValue)) obj.stringValue = String(object.stringValue); - if (isSet(object.bytesValue)) obj.bytesValue = bytesFromBase64(object.bytesValue); - if (isSet(object.enumValue)) obj.enumValue = EnumValue.fromJSON(object.enumValue); - if (isSet(object.objectValue)) obj.objectValue = Any.fromJSON(object.objectValue); - if (isSet(object.mapValue)) obj.mapValue = MapValue.fromJSON(object.mapValue); - if (isSet(object.listValue)) obj.listValue = ListValue.fromJSON(object.listValue); - if (isSet(object.typeValue)) obj.typeValue = String(object.typeValue); - return obj; - }, - toJSON(message: Value): unknown { - const obj: any = {}; - message.nullValue !== undefined && (obj.nullValue = nullValueToJSON(message.nullValue)); - message.boolValue !== undefined && (obj.boolValue = message.boolValue); - message.int64Value !== undefined && (obj.int64Value = (message.int64Value || undefined).toString()); - message.uint64Value !== undefined && (obj.uint64Value = (message.uint64Value || undefined).toString()); - message.doubleValue !== undefined && (obj.doubleValue = message.doubleValue); - message.stringValue !== undefined && (obj.stringValue = message.stringValue); - message.bytesValue !== undefined && (obj.bytesValue = message.bytesValue !== undefined ? base64FromBytes(message.bytesValue) : undefined); - message.enumValue !== undefined && (obj.enumValue = message.enumValue ? EnumValue.toJSON(message.enumValue) : undefined); - message.objectValue !== undefined && (obj.objectValue = message.objectValue ? Any.toJSON(message.objectValue) : undefined); - message.mapValue !== undefined && (obj.mapValue = message.mapValue ? MapValue.toJSON(message.mapValue) : undefined); - message.listValue !== undefined && (obj.listValue = message.listValue ? ListValue.toJSON(message.listValue) : undefined); - message.typeValue !== undefined && (obj.typeValue = message.typeValue); - return obj; - }, - fromPartial(object: DeepPartial): Value { - const message = createBaseValue(); - message.nullValue = object.nullValue ?? undefined; - message.boolValue = object.boolValue ?? undefined; - if (object.int64Value !== undefined && object.int64Value !== null) { - message.int64Value = Long.fromValue(object.int64Value); - } - if (object.uint64Value !== undefined && object.uint64Value !== null) { - message.uint64Value = Long.fromValue(object.uint64Value); - } - message.doubleValue = object.doubleValue ?? undefined; - message.stringValue = object.stringValue ?? undefined; - message.bytesValue = object.bytesValue ?? undefined; - if (object.enumValue !== undefined && object.enumValue !== null) { - message.enumValue = EnumValue.fromPartial(object.enumValue); - } - if (object.objectValue !== undefined && object.objectValue !== null) { - message.objectValue = Any.fromPartial(object.objectValue); - } - if (object.mapValue !== undefined && object.mapValue !== null) { - message.mapValue = MapValue.fromPartial(object.mapValue); - } - if (object.listValue !== undefined && object.listValue !== null) { - message.listValue = ListValue.fromPartial(object.listValue); - } - message.typeValue = object.typeValue ?? undefined; - return message; - }, - fromSDK(object: ValueSDKType): Value { - return { - nullValue: isSet(object.null_value) ? nullValueFromJSON(object.null_value) : undefined, - boolValue: object?.bool_value, - int64Value: object?.int64_value, - uint64Value: object?.uint64_value, - doubleValue: object?.double_value, - stringValue: object?.string_value, - bytesValue: object?.bytes_value, - enumValue: object.enum_value ? EnumValue.fromSDK(object.enum_value) : undefined, - objectValue: object.object_value ? Any.fromSDK(object.object_value) : undefined, - mapValue: object.map_value ? MapValue.fromSDK(object.map_value) : undefined, - listValue: object.list_value ? ListValue.fromSDK(object.list_value) : undefined, - typeValue: object?.type_value - }; - }, - toSDK(message: Value): ValueSDKType { - const obj: any = {}; - message.nullValue !== undefined && (obj.null_value = nullValueToJSON(message.nullValue)); - obj.bool_value = message.boolValue; - obj.int64_value = message.int64Value; - obj.uint64_value = message.uint64Value; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - obj.bytes_value = message.bytesValue; - message.enumValue !== undefined && (obj.enum_value = message.enumValue ? EnumValue.toSDK(message.enumValue) : undefined); - message.objectValue !== undefined && (obj.object_value = message.objectValue ? Any.toSDK(message.objectValue) : undefined); - message.mapValue !== undefined && (obj.map_value = message.mapValue ? MapValue.toSDK(message.mapValue) : undefined); - message.listValue !== undefined && (obj.list_value = message.listValue ? ListValue.toSDK(message.listValue) : undefined); - obj.type_value = message.typeValue; - return obj; - }, - fromAmino(object: ValueAmino): Value { - return { - nullValue: isSet(object.null_value) ? nullValueFromJSON(object.null_value) : undefined, - boolValue: object?.bool_value, - int64Value: object?.int64_value ? Long.fromString(object.int64_value) : undefined, - uint64Value: object?.uint64_value ? Long.fromString(object.uint64_value) : undefined, - doubleValue: object?.double_value, - stringValue: object?.string_value, - bytesValue: object?.bytes_value, - enumValue: object?.enum_value ? EnumValue.fromAmino(object.enum_value) : undefined, - objectValue: object?.object_value ? Any.fromAmino(object.object_value) : undefined, - mapValue: object?.map_value ? MapValue.fromAmino(object.map_value) : undefined, - listValue: object?.list_value ? ListValue.fromAmino(object.list_value) : undefined, - typeValue: object?.type_value - }; - }, - toAmino(message: Value): ValueAmino { - const obj: any = {}; - obj.null_value = message.nullValue; - obj.bool_value = message.boolValue; - obj.int64_value = message.int64Value ? message.int64Value.toString() : undefined; - obj.uint64_value = message.uint64Value ? message.uint64Value.toString() : undefined; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - obj.bytes_value = message.bytesValue; - obj.enum_value = message.enumValue ? EnumValue.toAmino(message.enumValue) : undefined; - obj.object_value = message.objectValue ? Any.toAmino(message.objectValue) : undefined; - obj.map_value = message.mapValue ? MapValue.toAmino(message.mapValue) : undefined; - obj.list_value = message.listValue ? ListValue.toAmino(message.listValue) : undefined; - obj.type_value = message.typeValue; - return obj; - }, - fromAminoMsg(object: ValueAminoMsg): Value { - return Value.fromAmino(object.value); - }, - fromProtoMsg(message: ValueProtoMsg): Value { - return Value.decode(message.value); - }, - toProto(message: Value): Uint8Array { - return Value.encode(message).finish(); - }, - toProtoMsg(message: Value): ValueProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Value", - value: Value.encode(message).finish() - }; - } -}; -function createBaseEnumValue(): EnumValue { - return { - type: "", - value: 0 - }; -} -export const EnumValue = { - typeUrl: "/google.api.expr.v1alpha1.EnumValue", - encode(message: EnumValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== "") { - writer.uint32(10).string(message.type); - } - if (message.value !== 0) { - writer.uint32(16).int32(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EnumValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - message.value = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EnumValue { - const obj = createBaseEnumValue(); - if (isSet(object.type)) obj.type = String(object.type); - if (isSet(object.value)) obj.value = Number(object.value); - return obj; - }, - toJSON(message: EnumValue): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - message.value !== undefined && (obj.value = Math.round(message.value)); - return obj; - }, - fromPartial(object: DeepPartial): EnumValue { - const message = createBaseEnumValue(); - message.type = object.type ?? ""; - message.value = object.value ?? 0; - return message; - }, - fromSDK(object: EnumValueSDKType): EnumValue { - return { - type: object?.type, - value: object?.value - }; - }, - toSDK(message: EnumValue): EnumValueSDKType { - const obj: any = {}; - obj.type = message.type; - obj.value = message.value; - return obj; - }, - fromAmino(object: EnumValueAmino): EnumValue { - return { - type: object.type, - value: object.value - }; - }, - toAmino(message: EnumValue): EnumValueAmino { - const obj: any = {}; - obj.type = message.type; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: EnumValueAminoMsg): EnumValue { - return EnumValue.fromAmino(object.value); - }, - fromProtoMsg(message: EnumValueProtoMsg): EnumValue { - return EnumValue.decode(message.value); - }, - toProto(message: EnumValue): Uint8Array { - return EnumValue.encode(message).finish(); - }, - toProtoMsg(message: EnumValue): EnumValueProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.EnumValue", - value: EnumValue.encode(message).finish() - }; - } -}; -function createBaseListValue(): ListValue { - return { - values: [] - }; -} -export const ListValue = { - typeUrl: "/google.api.expr.v1alpha1.ListValue", - encode(message: ListValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.values) { - Value.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.values.push(Value.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListValue { - const obj = createBaseListValue(); - if (Array.isArray(object?.values)) obj.values = object.values.map((e: any) => Value.fromJSON(e)); - return obj; - }, - toJSON(message: ListValue): unknown { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toJSON(e) : undefined); - } else { - obj.values = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ListValue { - const message = createBaseListValue(); - message.values = object.values?.map(e => Value.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ListValueSDKType): ListValue { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromSDK(e)) : [] - }; - }, - toSDK(message: ListValue): ListValueSDKType { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toSDK(e) : undefined); - } else { - obj.values = []; - } - return obj; - }, - fromAmino(object: ListValueAmino): ListValue { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromAmino(e)) : [] - }; - }, - toAmino(message: ListValue): ListValueAmino { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toAmino(e) : undefined); - } else { - obj.values = []; - } - return obj; - }, - fromAminoMsg(object: ListValueAminoMsg): ListValue { - return ListValue.fromAmino(object.value); - }, - fromProtoMsg(message: ListValueProtoMsg): ListValue { - return ListValue.decode(message.value); - }, - toProto(message: ListValue): Uint8Array { - return ListValue.encode(message).finish(); - }, - toProtoMsg(message: ListValue): ListValueProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.ListValue", - value: ListValue.encode(message).finish() - }; - } -}; -function createBaseMapValue(): MapValue { - return { - entries: [] - }; -} -export const MapValue = { - typeUrl: "/google.api.expr.v1alpha1.MapValue", - encode(message: MapValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.entries) { - MapValue_Entry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MapValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMapValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.entries.push(MapValue_Entry.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MapValue { - const obj = createBaseMapValue(); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => MapValue_Entry.fromJSON(e)); - return obj; - }, - toJSON(message: MapValue): unknown { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? MapValue_Entry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MapValue { - const message = createBaseMapValue(); - message.entries = object.entries?.map(e => MapValue_Entry.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MapValueSDKType): MapValue { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => MapValue_Entry.fromSDK(e)) : [] - }; - }, - toSDK(message: MapValue): MapValueSDKType { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? MapValue_Entry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAmino(object: MapValueAmino): MapValue { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => MapValue_Entry.fromAmino(e)) : [] - }; - }, - toAmino(message: MapValue): MapValueAmino { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? MapValue_Entry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAminoMsg(object: MapValueAminoMsg): MapValue { - return MapValue.fromAmino(object.value); - }, - fromProtoMsg(message: MapValueProtoMsg): MapValue { - return MapValue.decode(message.value); - }, - toProto(message: MapValue): Uint8Array { - return MapValue.encode(message).finish(); - }, - toProtoMsg(message: MapValue): MapValueProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.MapValue", - value: MapValue.encode(message).finish() - }; - } -}; -function createBaseMapValue_Entry(): MapValue_Entry { - return { - key: Value.fromPartial({}), - value: Value.fromPartial({}) - }; -} -export const MapValue_Entry = { - typeUrl: "/google.api.expr.v1alpha1.Entry", - encode(message: MapValue_Entry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== undefined) { - Value.encode(message.key, writer.uint32(10).fork()).ldelim(); - } - if (message.value !== undefined) { - Value.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MapValue_Entry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMapValue_Entry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = Value.decode(reader, reader.uint32()); - break; - case 2: - message.value = Value.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MapValue_Entry { - const obj = createBaseMapValue_Entry(); - if (isSet(object.key)) obj.key = Value.fromJSON(object.key); - if (isSet(object.value)) obj.value = Value.fromJSON(object.value); - return obj; - }, - toJSON(message: MapValue_Entry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key ? Value.toJSON(message.key) : undefined); - message.value !== undefined && (obj.value = message.value ? Value.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MapValue_Entry { - const message = createBaseMapValue_Entry(); - if (object.key !== undefined && object.key !== null) { - message.key = Value.fromPartial(object.key); - } - if (object.value !== undefined && object.value !== null) { - message.value = Value.fromPartial(object.value); - } - return message; - }, - fromSDK(object: MapValue_EntrySDKType): MapValue_Entry { - return { - key: object.key ? Value.fromSDK(object.key) : undefined, - value: object.value ? Value.fromSDK(object.value) : undefined - }; - }, - toSDK(message: MapValue_Entry): MapValue_EntrySDKType { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key ? Value.toSDK(message.key) : undefined); - message.value !== undefined && (obj.value = message.value ? Value.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: MapValue_EntryAmino): MapValue_Entry { - return { - key: object?.key ? Value.fromAmino(object.key) : undefined, - value: object?.value ? Value.fromAmino(object.value) : undefined - }; - }, - toAmino(message: MapValue_Entry): MapValue_EntryAmino { - const obj: any = {}; - obj.key = message.key ? Value.toAmino(message.key) : undefined; - obj.value = message.value ? Value.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: MapValue_EntryAminoMsg): MapValue_Entry { - return MapValue_Entry.fromAmino(object.value); - }, - fromProtoMsg(message: MapValue_EntryProtoMsg): MapValue_Entry { - return MapValue_Entry.decode(message.value); - }, - toProto(message: MapValue_Entry): Uint8Array { - return MapValue_Entry.encode(message).finish(); - }, - toProtoMsg(message: MapValue_Entry): MapValue_EntryProtoMsg { - return { - typeUrl: "/google.api.expr.v1alpha1.Entry", - value: MapValue_Entry.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/expr/v1beta1/decl.ts b/quicksilverjs/src/codegen/google/api/expr/v1beta1/decl.ts deleted file mode 100644 index dbebb2380..000000000 --- a/quicksilverjs/src/codegen/google/api/expr/v1beta1/decl.ts +++ /dev/null @@ -1,642 +0,0 @@ -import { Expr, ExprAmino, ExprSDKType } from "./expr"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../../helpers"; -export const protobufPackage = "google.api.expr.v1beta1"; -/** A declaration. */ -export interface Decl { - /** The id of the declaration. */ - id: number; - /** The name of the declaration. */ - name: string; - /** The documentation string for the declaration. */ - doc: string; - /** An identifier declaration. */ - ident?: IdentDecl; - /** A function declaration. */ - function?: FunctionDecl; -} -export interface DeclProtoMsg { - typeUrl: "/google.api.expr.v1beta1.Decl"; - value: Uint8Array; -} -/** A declaration. */ -export interface DeclAmino { - /** The id of the declaration. */ - id: number; - /** The name of the declaration. */ - name: string; - /** The documentation string for the declaration. */ - doc: string; - /** An identifier declaration. */ - ident?: IdentDeclAmino; - /** A function declaration. */ - function?: FunctionDeclAmino; -} -export interface DeclAminoMsg { - type: "/google.api.expr.v1beta1.Decl"; - value: DeclAmino; -} -/** A declaration. */ -export interface DeclSDKType { - id: number; - name: string; - doc: string; - ident?: IdentDeclSDKType; - function?: FunctionDeclSDKType; -} -/** - * The declared type of a variable. - * - * Extends runtime type values with extra information used for type checking - * and dispatching. - */ -export interface DeclType { - /** The expression id of the declared type, if applicable. */ - id: number; - /** The type name, e.g. 'int', 'my.type.Type' or 'T' */ - type: string; - /** - * An ordered list of type parameters, e.g. ``. - * Only applies to a subset of types, e.g. `map`, `list`. - */ - typeParams: DeclType[]; -} -export interface DeclTypeProtoMsg { - typeUrl: "/google.api.expr.v1beta1.DeclType"; - value: Uint8Array; -} -/** - * The declared type of a variable. - * - * Extends runtime type values with extra information used for type checking - * and dispatching. - */ -export interface DeclTypeAmino { - /** The expression id of the declared type, if applicable. */ - id: number; - /** The type name, e.g. 'int', 'my.type.Type' or 'T' */ - type: string; - /** - * An ordered list of type parameters, e.g. ``. - * Only applies to a subset of types, e.g. `map`, `list`. - */ - type_params: DeclTypeAmino[]; -} -export interface DeclTypeAminoMsg { - type: "/google.api.expr.v1beta1.DeclType"; - value: DeclTypeAmino; -} -/** - * The declared type of a variable. - * - * Extends runtime type values with extra information used for type checking - * and dispatching. - */ -export interface DeclTypeSDKType { - id: number; - type: string; - type_params: DeclTypeSDKType[]; -} -/** An identifier declaration. */ -export interface IdentDecl { - /** Optional type of the identifier. */ - type: DeclType; - /** Optional value of the identifier. */ - value: Expr; -} -export interface IdentDeclProtoMsg { - typeUrl: "/google.api.expr.v1beta1.IdentDecl"; - value: Uint8Array; -} -/** An identifier declaration. */ -export interface IdentDeclAmino { - /** Optional type of the identifier. */ - type?: DeclTypeAmino; - /** Optional value of the identifier. */ - value?: ExprAmino; -} -export interface IdentDeclAminoMsg { - type: "/google.api.expr.v1beta1.IdentDecl"; - value: IdentDeclAmino; -} -/** An identifier declaration. */ -export interface IdentDeclSDKType { - type: DeclTypeSDKType; - value: ExprSDKType; -} -/** A function declaration. */ -export interface FunctionDecl { - /** The function arguments. */ - args: IdentDecl[]; - /** Optional declared return type. */ - returnType: DeclType; - /** If the first argument of the function is the receiver. */ - receiverFunction: boolean; -} -export interface FunctionDeclProtoMsg { - typeUrl: "/google.api.expr.v1beta1.FunctionDecl"; - value: Uint8Array; -} -/** A function declaration. */ -export interface FunctionDeclAmino { - /** The function arguments. */ - args: IdentDeclAmino[]; - /** Optional declared return type. */ - return_type?: DeclTypeAmino; - /** If the first argument of the function is the receiver. */ - receiver_function: boolean; -} -export interface FunctionDeclAminoMsg { - type: "/google.api.expr.v1beta1.FunctionDecl"; - value: FunctionDeclAmino; -} -/** A function declaration. */ -export interface FunctionDeclSDKType { - args: IdentDeclSDKType[]; - return_type: DeclTypeSDKType; - receiver_function: boolean; -} -function createBaseDecl(): Decl { - return { - id: 0, - name: "", - doc: "", - ident: undefined, - function: undefined - }; -} -export const Decl = { - typeUrl: "/google.api.expr.v1beta1.Decl", - encode(message: Decl, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== 0) { - writer.uint32(8).int32(message.id); - } - if (message.name !== "") { - writer.uint32(18).string(message.name); - } - if (message.doc !== "") { - writer.uint32(26).string(message.doc); - } - if (message.ident !== undefined) { - IdentDecl.encode(message.ident, writer.uint32(34).fork()).ldelim(); - } - if (message.function !== undefined) { - FunctionDecl.encode(message.function, writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Decl { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDecl(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.int32(); - break; - case 2: - message.name = reader.string(); - break; - case 3: - message.doc = reader.string(); - break; - case 4: - message.ident = IdentDecl.decode(reader, reader.uint32()); - break; - case 5: - message.function = FunctionDecl.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Decl { - const obj = createBaseDecl(); - if (isSet(object.id)) obj.id = Number(object.id); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.doc)) obj.doc = String(object.doc); - if (isSet(object.ident)) obj.ident = IdentDecl.fromJSON(object.ident); - if (isSet(object.function)) obj.function = FunctionDecl.fromJSON(object.function); - return obj; - }, - toJSON(message: Decl): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = Math.round(message.id)); - message.name !== undefined && (obj.name = message.name); - message.doc !== undefined && (obj.doc = message.doc); - message.ident !== undefined && (obj.ident = message.ident ? IdentDecl.toJSON(message.ident) : undefined); - message.function !== undefined && (obj.function = message.function ? FunctionDecl.toJSON(message.function) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Decl { - const message = createBaseDecl(); - message.id = object.id ?? 0; - message.name = object.name ?? ""; - message.doc = object.doc ?? ""; - if (object.ident !== undefined && object.ident !== null) { - message.ident = IdentDecl.fromPartial(object.ident); - } - if (object.function !== undefined && object.function !== null) { - message.function = FunctionDecl.fromPartial(object.function); - } - return message; - }, - fromSDK(object: DeclSDKType): Decl { - return { - id: object?.id, - name: object?.name, - doc: object?.doc, - ident: object.ident ? IdentDecl.fromSDK(object.ident) : undefined, - function: object.function ? FunctionDecl.fromSDK(object.function) : undefined - }; - }, - toSDK(message: Decl): DeclSDKType { - const obj: any = {}; - obj.id = message.id; - obj.name = message.name; - obj.doc = message.doc; - message.ident !== undefined && (obj.ident = message.ident ? IdentDecl.toSDK(message.ident) : undefined); - message.function !== undefined && (obj.function = message.function ? FunctionDecl.toSDK(message.function) : undefined); - return obj; - }, - fromAmino(object: DeclAmino): Decl { - return { - id: object.id, - name: object.name, - doc: object.doc, - ident: object?.ident ? IdentDecl.fromAmino(object.ident) : undefined, - function: object?.function ? FunctionDecl.fromAmino(object.function) : undefined - }; - }, - toAmino(message: Decl): DeclAmino { - const obj: any = {}; - obj.id = message.id; - obj.name = message.name; - obj.doc = message.doc; - obj.ident = message.ident ? IdentDecl.toAmino(message.ident) : undefined; - obj.function = message.function ? FunctionDecl.toAmino(message.function) : undefined; - return obj; - }, - fromAminoMsg(object: DeclAminoMsg): Decl { - return Decl.fromAmino(object.value); - }, - fromProtoMsg(message: DeclProtoMsg): Decl { - return Decl.decode(message.value); - }, - toProto(message: Decl): Uint8Array { - return Decl.encode(message).finish(); - }, - toProtoMsg(message: Decl): DeclProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.Decl", - value: Decl.encode(message).finish() - }; - } -}; -function createBaseDeclType(): DeclType { - return { - id: 0, - type: "", - typeParams: [] - }; -} -export const DeclType = { - typeUrl: "/google.api.expr.v1beta1.DeclType", - encode(message: DeclType, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== 0) { - writer.uint32(8).int32(message.id); - } - if (message.type !== "") { - writer.uint32(18).string(message.type); - } - for (const v of message.typeParams) { - DeclType.encode(v!, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeclType { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeclType(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.int32(); - break; - case 2: - message.type = reader.string(); - break; - case 4: - message.typeParams.push(DeclType.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DeclType { - const obj = createBaseDeclType(); - if (isSet(object.id)) obj.id = Number(object.id); - if (isSet(object.type)) obj.type = String(object.type); - if (Array.isArray(object?.typeParams)) obj.typeParams = object.typeParams.map((e: any) => DeclType.fromJSON(e)); - return obj; - }, - toJSON(message: DeclType): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = Math.round(message.id)); - message.type !== undefined && (obj.type = message.type); - if (message.typeParams) { - obj.typeParams = message.typeParams.map(e => e ? DeclType.toJSON(e) : undefined); - } else { - obj.typeParams = []; - } - return obj; - }, - fromPartial(object: DeepPartial): DeclType { - const message = createBaseDeclType(); - message.id = object.id ?? 0; - message.type = object.type ?? ""; - message.typeParams = object.typeParams?.map(e => DeclType.fromPartial(e)) || []; - return message; - }, - fromSDK(object: DeclTypeSDKType): DeclType { - return { - id: object?.id, - type: object?.type, - typeParams: Array.isArray(object?.type_params) ? object.type_params.map((e: any) => DeclType.fromSDK(e)) : [] - }; - }, - toSDK(message: DeclType): DeclTypeSDKType { - const obj: any = {}; - obj.id = message.id; - obj.type = message.type; - if (message.typeParams) { - obj.type_params = message.typeParams.map(e => e ? DeclType.toSDK(e) : undefined); - } else { - obj.type_params = []; - } - return obj; - }, - fromAmino(object: DeclTypeAmino): DeclType { - return { - id: object.id, - type: object.type, - typeParams: Array.isArray(object?.type_params) ? object.type_params.map((e: any) => DeclType.fromAmino(e)) : [] - }; - }, - toAmino(message: DeclType): DeclTypeAmino { - const obj: any = {}; - obj.id = message.id; - obj.type = message.type; - if (message.typeParams) { - obj.type_params = message.typeParams.map(e => e ? DeclType.toAmino(e) : undefined); - } else { - obj.type_params = []; - } - return obj; - }, - fromAminoMsg(object: DeclTypeAminoMsg): DeclType { - return DeclType.fromAmino(object.value); - }, - fromProtoMsg(message: DeclTypeProtoMsg): DeclType { - return DeclType.decode(message.value); - }, - toProto(message: DeclType): Uint8Array { - return DeclType.encode(message).finish(); - }, - toProtoMsg(message: DeclType): DeclTypeProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.DeclType", - value: DeclType.encode(message).finish() - }; - } -}; -function createBaseIdentDecl(): IdentDecl { - return { - type: DeclType.fromPartial({}), - value: Expr.fromPartial({}) - }; -} -export const IdentDecl = { - typeUrl: "/google.api.expr.v1beta1.IdentDecl", - encode(message: IdentDecl, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== undefined) { - DeclType.encode(message.type, writer.uint32(26).fork()).ldelim(); - } - if (message.value !== undefined) { - Expr.encode(message.value, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): IdentDecl { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseIdentDecl(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 3: - message.type = DeclType.decode(reader, reader.uint32()); - break; - case 4: - message.value = Expr.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): IdentDecl { - const obj = createBaseIdentDecl(); - if (isSet(object.type)) obj.type = DeclType.fromJSON(object.type); - if (isSet(object.value)) obj.value = Expr.fromJSON(object.value); - return obj; - }, - toJSON(message: IdentDecl): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type ? DeclType.toJSON(message.type) : undefined); - message.value !== undefined && (obj.value = message.value ? Expr.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): IdentDecl { - const message = createBaseIdentDecl(); - if (object.type !== undefined && object.type !== null) { - message.type = DeclType.fromPartial(object.type); - } - if (object.value !== undefined && object.value !== null) { - message.value = Expr.fromPartial(object.value); - } - return message; - }, - fromSDK(object: IdentDeclSDKType): IdentDecl { - return { - type: object.type ? DeclType.fromSDK(object.type) : undefined, - value: object.value ? Expr.fromSDK(object.value) : undefined - }; - }, - toSDK(message: IdentDecl): IdentDeclSDKType { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type ? DeclType.toSDK(message.type) : undefined); - message.value !== undefined && (obj.value = message.value ? Expr.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: IdentDeclAmino): IdentDecl { - return { - type: object?.type ? DeclType.fromAmino(object.type) : undefined, - value: object?.value ? Expr.fromAmino(object.value) : undefined - }; - }, - toAmino(message: IdentDecl): IdentDeclAmino { - const obj: any = {}; - obj.type = message.type ? DeclType.toAmino(message.type) : undefined; - obj.value = message.value ? Expr.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: IdentDeclAminoMsg): IdentDecl { - return IdentDecl.fromAmino(object.value); - }, - fromProtoMsg(message: IdentDeclProtoMsg): IdentDecl { - return IdentDecl.decode(message.value); - }, - toProto(message: IdentDecl): Uint8Array { - return IdentDecl.encode(message).finish(); - }, - toProtoMsg(message: IdentDecl): IdentDeclProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.IdentDecl", - value: IdentDecl.encode(message).finish() - }; - } -}; -function createBaseFunctionDecl(): FunctionDecl { - return { - args: [], - returnType: DeclType.fromPartial({}), - receiverFunction: false - }; -} -export const FunctionDecl = { - typeUrl: "/google.api.expr.v1beta1.FunctionDecl", - encode(message: FunctionDecl, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.args) { - IdentDecl.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.returnType !== undefined) { - DeclType.encode(message.returnType, writer.uint32(18).fork()).ldelim(); - } - if (message.receiverFunction === true) { - writer.uint32(24).bool(message.receiverFunction); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): FunctionDecl { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFunctionDecl(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.args.push(IdentDecl.decode(reader, reader.uint32())); - break; - case 2: - message.returnType = DeclType.decode(reader, reader.uint32()); - break; - case 3: - message.receiverFunction = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): FunctionDecl { - const obj = createBaseFunctionDecl(); - if (Array.isArray(object?.args)) obj.args = object.args.map((e: any) => IdentDecl.fromJSON(e)); - if (isSet(object.returnType)) obj.returnType = DeclType.fromJSON(object.returnType); - if (isSet(object.receiverFunction)) obj.receiverFunction = Boolean(object.receiverFunction); - return obj; - }, - toJSON(message: FunctionDecl): unknown { - const obj: any = {}; - if (message.args) { - obj.args = message.args.map(e => e ? IdentDecl.toJSON(e) : undefined); - } else { - obj.args = []; - } - message.returnType !== undefined && (obj.returnType = message.returnType ? DeclType.toJSON(message.returnType) : undefined); - message.receiverFunction !== undefined && (obj.receiverFunction = message.receiverFunction); - return obj; - }, - fromPartial(object: DeepPartial): FunctionDecl { - const message = createBaseFunctionDecl(); - message.args = object.args?.map(e => IdentDecl.fromPartial(e)) || []; - if (object.returnType !== undefined && object.returnType !== null) { - message.returnType = DeclType.fromPartial(object.returnType); - } - message.receiverFunction = object.receiverFunction ?? false; - return message; - }, - fromSDK(object: FunctionDeclSDKType): FunctionDecl { - return { - args: Array.isArray(object?.args) ? object.args.map((e: any) => IdentDecl.fromSDK(e)) : [], - returnType: object.return_type ? DeclType.fromSDK(object.return_type) : undefined, - receiverFunction: object?.receiver_function - }; - }, - toSDK(message: FunctionDecl): FunctionDeclSDKType { - const obj: any = {}; - if (message.args) { - obj.args = message.args.map(e => e ? IdentDecl.toSDK(e) : undefined); - } else { - obj.args = []; - } - message.returnType !== undefined && (obj.return_type = message.returnType ? DeclType.toSDK(message.returnType) : undefined); - obj.receiver_function = message.receiverFunction; - return obj; - }, - fromAmino(object: FunctionDeclAmino): FunctionDecl { - return { - args: Array.isArray(object?.args) ? object.args.map((e: any) => IdentDecl.fromAmino(e)) : [], - returnType: object?.return_type ? DeclType.fromAmino(object.return_type) : undefined, - receiverFunction: object.receiver_function - }; - }, - toAmino(message: FunctionDecl): FunctionDeclAmino { - const obj: any = {}; - if (message.args) { - obj.args = message.args.map(e => e ? IdentDecl.toAmino(e) : undefined); - } else { - obj.args = []; - } - obj.return_type = message.returnType ? DeclType.toAmino(message.returnType) : undefined; - obj.receiver_function = message.receiverFunction; - return obj; - }, - fromAminoMsg(object: FunctionDeclAminoMsg): FunctionDecl { - return FunctionDecl.fromAmino(object.value); - }, - fromProtoMsg(message: FunctionDeclProtoMsg): FunctionDecl { - return FunctionDecl.decode(message.value); - }, - toProto(message: FunctionDecl): Uint8Array { - return FunctionDecl.encode(message).finish(); - }, - toProtoMsg(message: FunctionDecl): FunctionDeclProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.FunctionDecl", - value: FunctionDecl.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/expr/v1beta1/eval.ts b/quicksilverjs/src/codegen/google/api/expr/v1beta1/eval.ts deleted file mode 100644 index 1644b2812..000000000 --- a/quicksilverjs/src/codegen/google/api/expr/v1beta1/eval.ts +++ /dev/null @@ -1,885 +0,0 @@ -import { Value, ValueAmino, ValueSDKType } from "./value"; -import { Status, StatusAmino, StatusSDKType } from "../../../rpc/status"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../../../helpers"; -export const protobufPackage = "google.api.expr.v1beta1"; -/** - * The state of an evaluation. - * - * Can represent an initial, partial, or completed state of evaluation. - */ -export interface EvalState { - /** The unique values referenced in this message. */ - values: ExprValue[]; - /** - * An ordered list of results. - * - * Tracks the flow of evaluation through the expression. - * May be sparse. - */ - results: EvalState_Result[]; -} -export interface EvalStateProtoMsg { - typeUrl: "/google.api.expr.v1beta1.EvalState"; - value: Uint8Array; -} -/** - * The state of an evaluation. - * - * Can represent an initial, partial, or completed state of evaluation. - */ -export interface EvalStateAmino { - /** The unique values referenced in this message. */ - values: ExprValueAmino[]; - /** - * An ordered list of results. - * - * Tracks the flow of evaluation through the expression. - * May be sparse. - */ - results: EvalState_ResultAmino[]; -} -export interface EvalStateAminoMsg { - type: "/google.api.expr.v1beta1.EvalState"; - value: EvalStateAmino; -} -/** - * The state of an evaluation. - * - * Can represent an initial, partial, or completed state of evaluation. - */ -export interface EvalStateSDKType { - values: ExprValueSDKType[]; - results: EvalState_ResultSDKType[]; -} -/** A single evaluation result. */ -export interface EvalState_Result { - /** The expression this result is for. */ - expr: IdRef; - /** The index in `values` of the resulting value. */ - value: number; -} -export interface EvalState_ResultProtoMsg { - typeUrl: "/google.api.expr.v1beta1.Result"; - value: Uint8Array; -} -/** A single evaluation result. */ -export interface EvalState_ResultAmino { - /** The expression this result is for. */ - expr?: IdRefAmino; - /** The index in `values` of the resulting value. */ - value: number; -} -export interface EvalState_ResultAminoMsg { - type: "/google.api.expr.v1beta1.Result"; - value: EvalState_ResultAmino; -} -/** A single evaluation result. */ -export interface EvalState_ResultSDKType { - expr: IdRefSDKType; - value: number; -} -/** The value of an evaluated expression. */ -export interface ExprValue { - /** A concrete value. */ - value?: Value; - /** - * The set of errors in the critical path of evalution. - * - * Only errors in the critical path are included. For example, - * `( || true) && ` will only result in ``, - * while ` || ` will result in both `` and - * ``. - * - * Errors cause by the presence of other errors are not included in the - * set. For example `.foo`, `foo()`, and ` + 1` will - * only result in ``. - * - * Multiple errors *might* be included when evaluation could result - * in different errors. For example ` + ` and - * `foo(, )` may result in ``, `` or both. - * The exact subset of errors included for this case is unspecified and - * depends on the implementation details of the evaluator. - */ - error?: ErrorSet; - /** - * The set of unknowns in the critical path of evaluation. - * - * Unknown behaves identically to Error with regards to propagation. - * Specifically, only unknowns in the critical path are included, unknowns - * caused by the presence of other unknowns are not included, and multiple - * unknowns *might* be included included when evaluation could result in - * different unknowns. For example: - * - * ( || true) && -> - * || -> - * .foo -> - * foo() -> - * + -> or - * - * Unknown takes precidence over Error in cases where a `Value` can short - * circuit the result: - * - * || -> - * && -> - * - * Errors take precidence in all other cases: - * - * + -> - * foo(, ) -> - */ - unknown?: UnknownSet; -} -export interface ExprValueProtoMsg { - typeUrl: "/google.api.expr.v1beta1.ExprValue"; - value: Uint8Array; -} -/** The value of an evaluated expression. */ -export interface ExprValueAmino { - /** A concrete value. */ - value?: ValueAmino; - /** - * The set of errors in the critical path of evalution. - * - * Only errors in the critical path are included. For example, - * `( || true) && ` will only result in ``, - * while ` || ` will result in both `` and - * ``. - * - * Errors cause by the presence of other errors are not included in the - * set. For example `.foo`, `foo()`, and ` + 1` will - * only result in ``. - * - * Multiple errors *might* be included when evaluation could result - * in different errors. For example ` + ` and - * `foo(, )` may result in ``, `` or both. - * The exact subset of errors included for this case is unspecified and - * depends on the implementation details of the evaluator. - */ - error?: ErrorSetAmino; - /** - * The set of unknowns in the critical path of evaluation. - * - * Unknown behaves identically to Error with regards to propagation. - * Specifically, only unknowns in the critical path are included, unknowns - * caused by the presence of other unknowns are not included, and multiple - * unknowns *might* be included included when evaluation could result in - * different unknowns. For example: - * - * ( || true) && -> - * || -> - * .foo -> - * foo() -> - * + -> or - * - * Unknown takes precidence over Error in cases where a `Value` can short - * circuit the result: - * - * || -> - * && -> - * - * Errors take precidence in all other cases: - * - * + -> - * foo(, ) -> - */ - unknown?: UnknownSetAmino; -} -export interface ExprValueAminoMsg { - type: "/google.api.expr.v1beta1.ExprValue"; - value: ExprValueAmino; -} -/** The value of an evaluated expression. */ -export interface ExprValueSDKType { - value?: ValueSDKType; - error?: ErrorSetSDKType; - unknown?: UnknownSetSDKType; -} -/** - * A set of errors. - * - * The errors included depend on the context. See `ExprValue.error`. - */ -export interface ErrorSet { - /** The errors in the set. */ - errors: Status[]; -} -export interface ErrorSetProtoMsg { - typeUrl: "/google.api.expr.v1beta1.ErrorSet"; - value: Uint8Array; -} -/** - * A set of errors. - * - * The errors included depend on the context. See `ExprValue.error`. - */ -export interface ErrorSetAmino { - /** The errors in the set. */ - errors: StatusAmino[]; -} -export interface ErrorSetAminoMsg { - type: "/google.api.expr.v1beta1.ErrorSet"; - value: ErrorSetAmino; -} -/** - * A set of errors. - * - * The errors included depend on the context. See `ExprValue.error`. - */ -export interface ErrorSetSDKType { - errors: StatusSDKType[]; -} -/** - * A set of expressions for which the value is unknown. - * - * The unknowns included depend on the context. See `ExprValue.unknown`. - */ -export interface UnknownSet { - /** The ids of the expressions with unknown values. */ - exprs: IdRef[]; -} -export interface UnknownSetProtoMsg { - typeUrl: "/google.api.expr.v1beta1.UnknownSet"; - value: Uint8Array; -} -/** - * A set of expressions for which the value is unknown. - * - * The unknowns included depend on the context. See `ExprValue.unknown`. - */ -export interface UnknownSetAmino { - /** The ids of the expressions with unknown values. */ - exprs: IdRefAmino[]; -} -export interface UnknownSetAminoMsg { - type: "/google.api.expr.v1beta1.UnknownSet"; - value: UnknownSetAmino; -} -/** - * A set of expressions for which the value is unknown. - * - * The unknowns included depend on the context. See `ExprValue.unknown`. - */ -export interface UnknownSetSDKType { - exprs: IdRefSDKType[]; -} -/** A reference to an expression id. */ -export interface IdRef { - /** The expression id. */ - id: number; -} -export interface IdRefProtoMsg { - typeUrl: "/google.api.expr.v1beta1.IdRef"; - value: Uint8Array; -} -/** A reference to an expression id. */ -export interface IdRefAmino { - /** The expression id. */ - id: number; -} -export interface IdRefAminoMsg { - type: "/google.api.expr.v1beta1.IdRef"; - value: IdRefAmino; -} -/** A reference to an expression id. */ -export interface IdRefSDKType { - id: number; -} -function createBaseEvalState(): EvalState { - return { - values: [], - results: [] - }; -} -export const EvalState = { - typeUrl: "/google.api.expr.v1beta1.EvalState", - encode(message: EvalState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.values) { - ExprValue.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.results) { - EvalState_Result.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EvalState { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvalState(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.values.push(ExprValue.decode(reader, reader.uint32())); - break; - case 3: - message.results.push(EvalState_Result.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EvalState { - const obj = createBaseEvalState(); - if (Array.isArray(object?.values)) obj.values = object.values.map((e: any) => ExprValue.fromJSON(e)); - if (Array.isArray(object?.results)) obj.results = object.results.map((e: any) => EvalState_Result.fromJSON(e)); - return obj; - }, - toJSON(message: EvalState): unknown { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? ExprValue.toJSON(e) : undefined); - } else { - obj.values = []; - } - if (message.results) { - obj.results = message.results.map(e => e ? EvalState_Result.toJSON(e) : undefined); - } else { - obj.results = []; - } - return obj; - }, - fromPartial(object: DeepPartial): EvalState { - const message = createBaseEvalState(); - message.values = object.values?.map(e => ExprValue.fromPartial(e)) || []; - message.results = object.results?.map(e => EvalState_Result.fromPartial(e)) || []; - return message; - }, - fromSDK(object: EvalStateSDKType): EvalState { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => ExprValue.fromSDK(e)) : [], - results: Array.isArray(object?.results) ? object.results.map((e: any) => EvalState_Result.fromSDK(e)) : [] - }; - }, - toSDK(message: EvalState): EvalStateSDKType { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? ExprValue.toSDK(e) : undefined); - } else { - obj.values = []; - } - if (message.results) { - obj.results = message.results.map(e => e ? EvalState_Result.toSDK(e) : undefined); - } else { - obj.results = []; - } - return obj; - }, - fromAmino(object: EvalStateAmino): EvalState { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => ExprValue.fromAmino(e)) : [], - results: Array.isArray(object?.results) ? object.results.map((e: any) => EvalState_Result.fromAmino(e)) : [] - }; - }, - toAmino(message: EvalState): EvalStateAmino { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? ExprValue.toAmino(e) : undefined); - } else { - obj.values = []; - } - if (message.results) { - obj.results = message.results.map(e => e ? EvalState_Result.toAmino(e) : undefined); - } else { - obj.results = []; - } - return obj; - }, - fromAminoMsg(object: EvalStateAminoMsg): EvalState { - return EvalState.fromAmino(object.value); - }, - fromProtoMsg(message: EvalStateProtoMsg): EvalState { - return EvalState.decode(message.value); - }, - toProto(message: EvalState): Uint8Array { - return EvalState.encode(message).finish(); - }, - toProtoMsg(message: EvalState): EvalStateProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.EvalState", - value: EvalState.encode(message).finish() - }; - } -}; -function createBaseEvalState_Result(): EvalState_Result { - return { - expr: IdRef.fromPartial({}), - value: 0 - }; -} -export const EvalState_Result = { - typeUrl: "/google.api.expr.v1beta1.Result", - encode(message: EvalState_Result, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.expr !== undefined) { - IdRef.encode(message.expr, writer.uint32(10).fork()).ldelim(); - } - if (message.value !== 0) { - writer.uint32(16).int32(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EvalState_Result { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEvalState_Result(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.expr = IdRef.decode(reader, reader.uint32()); - break; - case 2: - message.value = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EvalState_Result { - const obj = createBaseEvalState_Result(); - if (isSet(object.expr)) obj.expr = IdRef.fromJSON(object.expr); - if (isSet(object.value)) obj.value = Number(object.value); - return obj; - }, - toJSON(message: EvalState_Result): unknown { - const obj: any = {}; - message.expr !== undefined && (obj.expr = message.expr ? IdRef.toJSON(message.expr) : undefined); - message.value !== undefined && (obj.value = Math.round(message.value)); - return obj; - }, - fromPartial(object: DeepPartial): EvalState_Result { - const message = createBaseEvalState_Result(); - if (object.expr !== undefined && object.expr !== null) { - message.expr = IdRef.fromPartial(object.expr); - } - message.value = object.value ?? 0; - return message; - }, - fromSDK(object: EvalState_ResultSDKType): EvalState_Result { - return { - expr: object.expr ? IdRef.fromSDK(object.expr) : undefined, - value: object?.value - }; - }, - toSDK(message: EvalState_Result): EvalState_ResultSDKType { - const obj: any = {}; - message.expr !== undefined && (obj.expr = message.expr ? IdRef.toSDK(message.expr) : undefined); - obj.value = message.value; - return obj; - }, - fromAmino(object: EvalState_ResultAmino): EvalState_Result { - return { - expr: object?.expr ? IdRef.fromAmino(object.expr) : undefined, - value: object.value - }; - }, - toAmino(message: EvalState_Result): EvalState_ResultAmino { - const obj: any = {}; - obj.expr = message.expr ? IdRef.toAmino(message.expr) : undefined; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: EvalState_ResultAminoMsg): EvalState_Result { - return EvalState_Result.fromAmino(object.value); - }, - fromProtoMsg(message: EvalState_ResultProtoMsg): EvalState_Result { - return EvalState_Result.decode(message.value); - }, - toProto(message: EvalState_Result): Uint8Array { - return EvalState_Result.encode(message).finish(); - }, - toProtoMsg(message: EvalState_Result): EvalState_ResultProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.Result", - value: EvalState_Result.encode(message).finish() - }; - } -}; -function createBaseExprValue(): ExprValue { - return { - value: undefined, - error: undefined, - unknown: undefined - }; -} -export const ExprValue = { - typeUrl: "/google.api.expr.v1beta1.ExprValue", - encode(message: ExprValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.value !== undefined) { - Value.encode(message.value, writer.uint32(10).fork()).ldelim(); - } - if (message.error !== undefined) { - ErrorSet.encode(message.error, writer.uint32(18).fork()).ldelim(); - } - if (message.unknown !== undefined) { - UnknownSet.encode(message.unknown, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ExprValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExprValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.value = Value.decode(reader, reader.uint32()); - break; - case 2: - message.error = ErrorSet.decode(reader, reader.uint32()); - break; - case 3: - message.unknown = UnknownSet.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ExprValue { - const obj = createBaseExprValue(); - if (isSet(object.value)) obj.value = Value.fromJSON(object.value); - if (isSet(object.error)) obj.error = ErrorSet.fromJSON(object.error); - if (isSet(object.unknown)) obj.unknown = UnknownSet.fromJSON(object.unknown); - return obj; - }, - toJSON(message: ExprValue): unknown { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value ? Value.toJSON(message.value) : undefined); - message.error !== undefined && (obj.error = message.error ? ErrorSet.toJSON(message.error) : undefined); - message.unknown !== undefined && (obj.unknown = message.unknown ? UnknownSet.toJSON(message.unknown) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ExprValue { - const message = createBaseExprValue(); - if (object.value !== undefined && object.value !== null) { - message.value = Value.fromPartial(object.value); - } - if (object.error !== undefined && object.error !== null) { - message.error = ErrorSet.fromPartial(object.error); - } - if (object.unknown !== undefined && object.unknown !== null) { - message.unknown = UnknownSet.fromPartial(object.unknown); - } - return message; - }, - fromSDK(object: ExprValueSDKType): ExprValue { - return { - value: object.value ? Value.fromSDK(object.value) : undefined, - error: object.error ? ErrorSet.fromSDK(object.error) : undefined, - unknown: object.unknown ? UnknownSet.fromSDK(object.unknown) : undefined - }; - }, - toSDK(message: ExprValue): ExprValueSDKType { - const obj: any = {}; - message.value !== undefined && (obj.value = message.value ? Value.toSDK(message.value) : undefined); - message.error !== undefined && (obj.error = message.error ? ErrorSet.toSDK(message.error) : undefined); - message.unknown !== undefined && (obj.unknown = message.unknown ? UnknownSet.toSDK(message.unknown) : undefined); - return obj; - }, - fromAmino(object: ExprValueAmino): ExprValue { - return { - value: object?.value ? Value.fromAmino(object.value) : undefined, - error: object?.error ? ErrorSet.fromAmino(object.error) : undefined, - unknown: object?.unknown ? UnknownSet.fromAmino(object.unknown) : undefined - }; - }, - toAmino(message: ExprValue): ExprValueAmino { - const obj: any = {}; - obj.value = message.value ? Value.toAmino(message.value) : undefined; - obj.error = message.error ? ErrorSet.toAmino(message.error) : undefined; - obj.unknown = message.unknown ? UnknownSet.toAmino(message.unknown) : undefined; - return obj; - }, - fromAminoMsg(object: ExprValueAminoMsg): ExprValue { - return ExprValue.fromAmino(object.value); - }, - fromProtoMsg(message: ExprValueProtoMsg): ExprValue { - return ExprValue.decode(message.value); - }, - toProto(message: ExprValue): Uint8Array { - return ExprValue.encode(message).finish(); - }, - toProtoMsg(message: ExprValue): ExprValueProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.ExprValue", - value: ExprValue.encode(message).finish() - }; - } -}; -function createBaseErrorSet(): ErrorSet { - return { - errors: [] - }; -} -export const ErrorSet = { - typeUrl: "/google.api.expr.v1beta1.ErrorSet", - encode(message: ErrorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.errors) { - Status.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ErrorSet { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseErrorSet(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.errors.push(Status.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ErrorSet { - const obj = createBaseErrorSet(); - if (Array.isArray(object?.errors)) obj.errors = object.errors.map((e: any) => Status.fromJSON(e)); - return obj; - }, - toJSON(message: ErrorSet): unknown { - const obj: any = {}; - if (message.errors) { - obj.errors = message.errors.map(e => e ? Status.toJSON(e) : undefined); - } else { - obj.errors = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ErrorSet { - const message = createBaseErrorSet(); - message.errors = object.errors?.map(e => Status.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ErrorSetSDKType): ErrorSet { - return { - errors: Array.isArray(object?.errors) ? object.errors.map((e: any) => Status.fromSDK(e)) : [] - }; - }, - toSDK(message: ErrorSet): ErrorSetSDKType { - const obj: any = {}; - if (message.errors) { - obj.errors = message.errors.map(e => e ? Status.toSDK(e) : undefined); - } else { - obj.errors = []; - } - return obj; - }, - fromAmino(object: ErrorSetAmino): ErrorSet { - return { - errors: Array.isArray(object?.errors) ? object.errors.map((e: any) => Status.fromAmino(e)) : [] - }; - }, - toAmino(message: ErrorSet): ErrorSetAmino { - const obj: any = {}; - if (message.errors) { - obj.errors = message.errors.map(e => e ? Status.toAmino(e) : undefined); - } else { - obj.errors = []; - } - return obj; - }, - fromAminoMsg(object: ErrorSetAminoMsg): ErrorSet { - return ErrorSet.fromAmino(object.value); - }, - fromProtoMsg(message: ErrorSetProtoMsg): ErrorSet { - return ErrorSet.decode(message.value); - }, - toProto(message: ErrorSet): Uint8Array { - return ErrorSet.encode(message).finish(); - }, - toProtoMsg(message: ErrorSet): ErrorSetProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.ErrorSet", - value: ErrorSet.encode(message).finish() - }; - } -}; -function createBaseUnknownSet(): UnknownSet { - return { - exprs: [] - }; -} -export const UnknownSet = { - typeUrl: "/google.api.expr.v1beta1.UnknownSet", - encode(message: UnknownSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.exprs) { - IdRef.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UnknownSet { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUnknownSet(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.exprs.push(IdRef.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UnknownSet { - const obj = createBaseUnknownSet(); - if (Array.isArray(object?.exprs)) obj.exprs = object.exprs.map((e: any) => IdRef.fromJSON(e)); - return obj; - }, - toJSON(message: UnknownSet): unknown { - const obj: any = {}; - if (message.exprs) { - obj.exprs = message.exprs.map(e => e ? IdRef.toJSON(e) : undefined); - } else { - obj.exprs = []; - } - return obj; - }, - fromPartial(object: DeepPartial): UnknownSet { - const message = createBaseUnknownSet(); - message.exprs = object.exprs?.map(e => IdRef.fromPartial(e)) || []; - return message; - }, - fromSDK(object: UnknownSetSDKType): UnknownSet { - return { - exprs: Array.isArray(object?.exprs) ? object.exprs.map((e: any) => IdRef.fromSDK(e)) : [] - }; - }, - toSDK(message: UnknownSet): UnknownSetSDKType { - const obj: any = {}; - if (message.exprs) { - obj.exprs = message.exprs.map(e => e ? IdRef.toSDK(e) : undefined); - } else { - obj.exprs = []; - } - return obj; - }, - fromAmino(object: UnknownSetAmino): UnknownSet { - return { - exprs: Array.isArray(object?.exprs) ? object.exprs.map((e: any) => IdRef.fromAmino(e)) : [] - }; - }, - toAmino(message: UnknownSet): UnknownSetAmino { - const obj: any = {}; - if (message.exprs) { - obj.exprs = message.exprs.map(e => e ? IdRef.toAmino(e) : undefined); - } else { - obj.exprs = []; - } - return obj; - }, - fromAminoMsg(object: UnknownSetAminoMsg): UnknownSet { - return UnknownSet.fromAmino(object.value); - }, - fromProtoMsg(message: UnknownSetProtoMsg): UnknownSet { - return UnknownSet.decode(message.value); - }, - toProto(message: UnknownSet): Uint8Array { - return UnknownSet.encode(message).finish(); - }, - toProtoMsg(message: UnknownSet): UnknownSetProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.UnknownSet", - value: UnknownSet.encode(message).finish() - }; - } -}; -function createBaseIdRef(): IdRef { - return { - id: 0 - }; -} -export const IdRef = { - typeUrl: "/google.api.expr.v1beta1.IdRef", - encode(message: IdRef, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== 0) { - writer.uint32(8).int32(message.id); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): IdRef { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseIdRef(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): IdRef { - const obj = createBaseIdRef(); - if (isSet(object.id)) obj.id = Number(object.id); - return obj; - }, - toJSON(message: IdRef): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = Math.round(message.id)); - return obj; - }, - fromPartial(object: DeepPartial): IdRef { - const message = createBaseIdRef(); - message.id = object.id ?? 0; - return message; - }, - fromSDK(object: IdRefSDKType): IdRef { - return { - id: object?.id - }; - }, - toSDK(message: IdRef): IdRefSDKType { - const obj: any = {}; - obj.id = message.id; - return obj; - }, - fromAmino(object: IdRefAmino): IdRef { - return { - id: object.id - }; - }, - toAmino(message: IdRef): IdRefAmino { - const obj: any = {}; - obj.id = message.id; - return obj; - }, - fromAminoMsg(object: IdRefAminoMsg): IdRef { - return IdRef.fromAmino(object.value); - }, - fromProtoMsg(message: IdRefProtoMsg): IdRef { - return IdRef.decode(message.value); - }, - toProto(message: IdRef): Uint8Array { - return IdRef.encode(message).finish(); - }, - toProtoMsg(message: IdRef): IdRefProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.IdRef", - value: IdRef.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/expr/v1beta1/expr.ts b/quicksilverjs/src/codegen/google/api/expr/v1beta1/expr.ts deleted file mode 100644 index 1f1e2a1d6..000000000 --- a/quicksilverjs/src/codegen/google/api/expr/v1beta1/expr.ts +++ /dev/null @@ -1,1964 +0,0 @@ -import { SourceInfo, SourceInfoAmino, SourceInfoSDKType } from "./source"; -import { NullValue, NullValueSDKType, nullValueFromJSON, nullValueToJSON } from "../../../protobuf/struct"; -import { Long, isSet, DeepPartial, bytesFromBase64, base64FromBytes } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.expr.v1beta1"; -/** An expression together with source information as returned by the parser. */ -export interface ParsedExpr { - /** The parsed expression. */ - expr: Expr; - /** The source info derived from input that generated the parsed `expr`. */ - sourceInfo: SourceInfo; - /** The syntax version of the source, e.g. `cel1`. */ - syntaxVersion: string; -} -export interface ParsedExprProtoMsg { - typeUrl: "/google.api.expr.v1beta1.ParsedExpr"; - value: Uint8Array; -} -/** An expression together with source information as returned by the parser. */ -export interface ParsedExprAmino { - /** The parsed expression. */ - expr?: ExprAmino; - /** The source info derived from input that generated the parsed `expr`. */ - source_info?: SourceInfoAmino; - /** The syntax version of the source, e.g. `cel1`. */ - syntax_version: string; -} -export interface ParsedExprAminoMsg { - type: "/google.api.expr.v1beta1.ParsedExpr"; - value: ParsedExprAmino; -} -/** An expression together with source information as returned by the parser. */ -export interface ParsedExprSDKType { - expr: ExprSDKType; - source_info: SourceInfoSDKType; - syntax_version: string; -} -/** - * An abstract representation of a common expression. - * - * Expressions are abstractly represented as a collection of identifiers, - * select statements, function calls, literals, and comprehensions. All - * operators with the exception of the '.' operator are modelled as function - * calls. This makes it easy to represent new operators into the existing AST. - * - * All references within expressions must resolve to a [Decl][google.api.expr.v1beta1.Decl] provided at - * type-check for an expression to be valid. A reference may either be a bare - * identifier `name` or a qualified identifier `google.api.name`. References - * may either refer to a value or a function declaration. - * - * For example, the expression `google.api.name.startsWith('expr')` references - * the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression, and - * the function declaration `startsWith`. - */ -export interface Expr { - /** - * Required. An id assigned to this node by the parser which is unique in a - * given expression tree. This is used to associate type information and other - * attributes to a node in the parse tree. - */ - id: number; - /** A literal expression. */ - literalExpr?: Literal; - /** An identifier expression. */ - identExpr?: Expr_Ident; - /** A field selection expression, e.g. `request.auth`. */ - selectExpr?: Expr_Select; - /** A call expression, including calls to predefined functions and operators. */ - callExpr?: Expr_Call; - /** A list creation expression. */ - listExpr?: Expr_CreateList; - /** A map or object creation expression. */ - structExpr?: Expr_CreateStruct; - /** A comprehension expression. */ - comprehensionExpr?: Expr_Comprehension; -} -export interface ExprProtoMsg { - typeUrl: "/google.api.expr.v1beta1.Expr"; - value: Uint8Array; -} -/** - * An abstract representation of a common expression. - * - * Expressions are abstractly represented as a collection of identifiers, - * select statements, function calls, literals, and comprehensions. All - * operators with the exception of the '.' operator are modelled as function - * calls. This makes it easy to represent new operators into the existing AST. - * - * All references within expressions must resolve to a [Decl][google.api.expr.v1beta1.Decl] provided at - * type-check for an expression to be valid. A reference may either be a bare - * identifier `name` or a qualified identifier `google.api.name`. References - * may either refer to a value or a function declaration. - * - * For example, the expression `google.api.name.startsWith('expr')` references - * the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression, and - * the function declaration `startsWith`. - */ -export interface ExprAmino { - /** - * Required. An id assigned to this node by the parser which is unique in a - * given expression tree. This is used to associate type information and other - * attributes to a node in the parse tree. - */ - id: number; - /** A literal expression. */ - literal_expr?: LiteralAmino; - /** An identifier expression. */ - ident_expr?: Expr_IdentAmino; - /** A field selection expression, e.g. `request.auth`. */ - select_expr?: Expr_SelectAmino; - /** A call expression, including calls to predefined functions and operators. */ - call_expr?: Expr_CallAmino; - /** A list creation expression. */ - list_expr?: Expr_CreateListAmino; - /** A map or object creation expression. */ - struct_expr?: Expr_CreateStructAmino; - /** A comprehension expression. */ - comprehension_expr?: Expr_ComprehensionAmino; -} -export interface ExprAminoMsg { - type: "/google.api.expr.v1beta1.Expr"; - value: ExprAmino; -} -/** - * An abstract representation of a common expression. - * - * Expressions are abstractly represented as a collection of identifiers, - * select statements, function calls, literals, and comprehensions. All - * operators with the exception of the '.' operator are modelled as function - * calls. This makes it easy to represent new operators into the existing AST. - * - * All references within expressions must resolve to a [Decl][google.api.expr.v1beta1.Decl] provided at - * type-check for an expression to be valid. A reference may either be a bare - * identifier `name` or a qualified identifier `google.api.name`. References - * may either refer to a value or a function declaration. - * - * For example, the expression `google.api.name.startsWith('expr')` references - * the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression, and - * the function declaration `startsWith`. - */ -export interface ExprSDKType { - id: number; - literal_expr?: LiteralSDKType; - ident_expr?: Expr_IdentSDKType; - select_expr?: Expr_SelectSDKType; - call_expr?: Expr_CallSDKType; - list_expr?: Expr_CreateListSDKType; - struct_expr?: Expr_CreateStructSDKType; - comprehension_expr?: Expr_ComprehensionSDKType; -} -/** An identifier expression. e.g. `request`. */ -export interface Expr_Ident { - /** - * Required. Holds a single, unqualified identifier, possibly preceded by a - * '.'. - * - * Qualified names are represented by the [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression. - */ - name: string; -} -export interface Expr_IdentProtoMsg { - typeUrl: "/google.api.expr.v1beta1.Ident"; - value: Uint8Array; -} -/** An identifier expression. e.g. `request`. */ -export interface Expr_IdentAmino { - /** - * Required. Holds a single, unqualified identifier, possibly preceded by a - * '.'. - * - * Qualified names are represented by the [Expr.Select][google.api.expr.v1beta1.Expr.Select] expression. - */ - name: string; -} -export interface Expr_IdentAminoMsg { - type: "/google.api.expr.v1beta1.Ident"; - value: Expr_IdentAmino; -} -/** An identifier expression. e.g. `request`. */ -export interface Expr_IdentSDKType { - name: string; -} -/** A field selection expression. e.g. `request.auth`. */ -export interface Expr_Select { - /** - * Required. The target of the selection expression. - * - * For example, in the select expression `request.auth`, the `request` - * portion of the expression is the `operand`. - */ - operand: Expr; - /** - * Required. The name of the field to select. - * - * For example, in the select expression `request.auth`, the `auth` portion - * of the expression would be the `field`. - */ - field: string; - /** - * Whether the select is to be interpreted as a field presence test. - * - * This results from the macro `has(request.auth)`. - */ - testOnly: boolean; -} -export interface Expr_SelectProtoMsg { - typeUrl: "/google.api.expr.v1beta1.Select"; - value: Uint8Array; -} -/** A field selection expression. e.g. `request.auth`. */ -export interface Expr_SelectAmino { - /** - * Required. The target of the selection expression. - * - * For example, in the select expression `request.auth`, the `request` - * portion of the expression is the `operand`. - */ - operand?: ExprAmino; - /** - * Required. The name of the field to select. - * - * For example, in the select expression `request.auth`, the `auth` portion - * of the expression would be the `field`. - */ - field: string; - /** - * Whether the select is to be interpreted as a field presence test. - * - * This results from the macro `has(request.auth)`. - */ - test_only: boolean; -} -export interface Expr_SelectAminoMsg { - type: "/google.api.expr.v1beta1.Select"; - value: Expr_SelectAmino; -} -/** A field selection expression. e.g. `request.auth`. */ -export interface Expr_SelectSDKType { - operand: ExprSDKType; - field: string; - test_only: boolean; -} -/** - * A call expression, including calls to predefined functions and operators. - * - * For example, `value == 10`, `size(map_value)`. - */ -export interface Expr_Call { - /** - * The target of an method call-style expression. For example, `x` in - * `x.f()`. - */ - target: Expr; - /** Required. The name of the function or method being called. */ - function: string; - /** The arguments. */ - args: Expr[]; -} -export interface Expr_CallProtoMsg { - typeUrl: "/google.api.expr.v1beta1.Call"; - value: Uint8Array; -} -/** - * A call expression, including calls to predefined functions and operators. - * - * For example, `value == 10`, `size(map_value)`. - */ -export interface Expr_CallAmino { - /** - * The target of an method call-style expression. For example, `x` in - * `x.f()`. - */ - target?: ExprAmino; - /** Required. The name of the function or method being called. */ - function: string; - /** The arguments. */ - args: ExprAmino[]; -} -export interface Expr_CallAminoMsg { - type: "/google.api.expr.v1beta1.Call"; - value: Expr_CallAmino; -} -/** - * A call expression, including calls to predefined functions and operators. - * - * For example, `value == 10`, `size(map_value)`. - */ -export interface Expr_CallSDKType { - target: ExprSDKType; - function: string; - args: ExprSDKType[]; -} -/** - * A list creation expression. - * - * Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogenous, e.g. - * `dyn([1, 'hello', 2.0])` - */ -export interface Expr_CreateList { - /** The elements part of the list. */ - elements: Expr[]; -} -export interface Expr_CreateListProtoMsg { - typeUrl: "/google.api.expr.v1beta1.CreateList"; - value: Uint8Array; -} -/** - * A list creation expression. - * - * Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogenous, e.g. - * `dyn([1, 'hello', 2.0])` - */ -export interface Expr_CreateListAmino { - /** The elements part of the list. */ - elements: ExprAmino[]; -} -export interface Expr_CreateListAminoMsg { - type: "/google.api.expr.v1beta1.CreateList"; - value: Expr_CreateListAmino; -} -/** - * A list creation expression. - * - * Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogenous, e.g. - * `dyn([1, 'hello', 2.0])` - */ -export interface Expr_CreateListSDKType { - elements: ExprSDKType[]; -} -/** - * A map or message creation expression. - * - * Maps are constructed as `{'key_name': 'value'}`. Message construction is - * similar, but prefixed with a type name and composed of field ids: - * `types.MyType{field_id: 'value'}`. - */ -export interface Expr_CreateStruct { - /** - * The type name of the message to be created, empty when creating map - * literals. - */ - type: string; - /** The entries in the creation expression. */ - entries: Expr_CreateStruct_Entry[]; -} -export interface Expr_CreateStructProtoMsg { - typeUrl: "/google.api.expr.v1beta1.CreateStruct"; - value: Uint8Array; -} -/** - * A map or message creation expression. - * - * Maps are constructed as `{'key_name': 'value'}`. Message construction is - * similar, but prefixed with a type name and composed of field ids: - * `types.MyType{field_id: 'value'}`. - */ -export interface Expr_CreateStructAmino { - /** - * The type name of the message to be created, empty when creating map - * literals. - */ - type: string; - /** The entries in the creation expression. */ - entries: Expr_CreateStruct_EntryAmino[]; -} -export interface Expr_CreateStructAminoMsg { - type: "/google.api.expr.v1beta1.CreateStruct"; - value: Expr_CreateStructAmino; -} -/** - * A map or message creation expression. - * - * Maps are constructed as `{'key_name': 'value'}`. Message construction is - * similar, but prefixed with a type name and composed of field ids: - * `types.MyType{field_id: 'value'}`. - */ -export interface Expr_CreateStructSDKType { - type: string; - entries: Expr_CreateStruct_EntrySDKType[]; -} -/** Represents an entry. */ -export interface Expr_CreateStruct_Entry { - /** - * Required. An id assigned to this node by the parser which is unique - * in a given expression tree. This is used to associate type - * information and other attributes to the node. - */ - id: number; - /** The field key for a message creator statement. */ - fieldKey?: string; - /** The key expression for a map creation statement. */ - mapKey?: Expr; - /** Required. The value assigned to the key. */ - value: Expr; -} -export interface Expr_CreateStruct_EntryProtoMsg { - typeUrl: "/google.api.expr.v1beta1.Entry"; - value: Uint8Array; -} -/** Represents an entry. */ -export interface Expr_CreateStruct_EntryAmino { - /** - * Required. An id assigned to this node by the parser which is unique - * in a given expression tree. This is used to associate type - * information and other attributes to the node. - */ - id: number; - /** The field key for a message creator statement. */ - field_key?: string; - /** The key expression for a map creation statement. */ - map_key?: ExprAmino; - /** Required. The value assigned to the key. */ - value?: ExprAmino; -} -export interface Expr_CreateStruct_EntryAminoMsg { - type: "/google.api.expr.v1beta1.Entry"; - value: Expr_CreateStruct_EntryAmino; -} -/** Represents an entry. */ -export interface Expr_CreateStruct_EntrySDKType { - id: number; - field_key?: string; - map_key?: ExprSDKType; - value: ExprSDKType; -} -/** - * A comprehension expression applied to a list or map. - * - * Comprehensions are not part of the core syntax, but enabled with macros. - * A macro matches a specific call signature within a parsed AST and replaces - * the call with an alternate AST block. Macro expansion happens at parse - * time. - * - * The following macros are supported within CEL: - * - * Aggregate type macros may be applied to all elements in a list or all keys - * in a map: - * - * * `all`, `exists`, `exists_one` - test a predicate expression against - * the inputs and return `true` if the predicate is satisfied for all, - * any, or only one value `list.all(x, x < 10)`. - * * `filter` - test a predicate expression against the inputs and return - * the subset of elements which satisfy the predicate: - * `payments.filter(p, p > 1000)`. - * * `map` - apply an expression to all elements in the input and return the - * output aggregate type: `[1, 2, 3].map(i, i * i)`. - * - * The `has(m.x)` macro tests whether the property `x` is present in struct - * `m`. The semantics of this macro depend on the type of `m`. For proto2 - * messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the - * macro tests whether the property is set to its default. For map and struct - * types, the macro tests whether the property `x` is defined on `m`. - */ -export interface Expr_Comprehension { - /** The name of the iteration variable. */ - iterVar: string; - /** The range over which var iterates. */ - iterRange: Expr; - /** The name of the variable used for accumulation of the result. */ - accuVar: string; - /** The initial value of the accumulator. */ - accuInit: Expr; - /** - * An expression which can contain iter_var and accu_var. - * - * Returns false when the result has been computed and may be used as - * a hint to short-circuit the remainder of the comprehension. - */ - loopCondition: Expr; - /** - * An expression which can contain iter_var and accu_var. - * - * Computes the next value of accu_var. - */ - loopStep: Expr; - /** - * An expression which can contain accu_var. - * - * Computes the result. - */ - result: Expr; -} -export interface Expr_ComprehensionProtoMsg { - typeUrl: "/google.api.expr.v1beta1.Comprehension"; - value: Uint8Array; -} -/** - * A comprehension expression applied to a list or map. - * - * Comprehensions are not part of the core syntax, but enabled with macros. - * A macro matches a specific call signature within a parsed AST and replaces - * the call with an alternate AST block. Macro expansion happens at parse - * time. - * - * The following macros are supported within CEL: - * - * Aggregate type macros may be applied to all elements in a list or all keys - * in a map: - * - * * `all`, `exists`, `exists_one` - test a predicate expression against - * the inputs and return `true` if the predicate is satisfied for all, - * any, or only one value `list.all(x, x < 10)`. - * * `filter` - test a predicate expression against the inputs and return - * the subset of elements which satisfy the predicate: - * `payments.filter(p, p > 1000)`. - * * `map` - apply an expression to all elements in the input and return the - * output aggregate type: `[1, 2, 3].map(i, i * i)`. - * - * The `has(m.x)` macro tests whether the property `x` is present in struct - * `m`. The semantics of this macro depend on the type of `m`. For proto2 - * messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the - * macro tests whether the property is set to its default. For map and struct - * types, the macro tests whether the property `x` is defined on `m`. - */ -export interface Expr_ComprehensionAmino { - /** The name of the iteration variable. */ - iter_var: string; - /** The range over which var iterates. */ - iter_range?: ExprAmino; - /** The name of the variable used for accumulation of the result. */ - accu_var: string; - /** The initial value of the accumulator. */ - accu_init?: ExprAmino; - /** - * An expression which can contain iter_var and accu_var. - * - * Returns false when the result has been computed and may be used as - * a hint to short-circuit the remainder of the comprehension. - */ - loop_condition?: ExprAmino; - /** - * An expression which can contain iter_var and accu_var. - * - * Computes the next value of accu_var. - */ - loop_step?: ExprAmino; - /** - * An expression which can contain accu_var. - * - * Computes the result. - */ - result?: ExprAmino; -} -export interface Expr_ComprehensionAminoMsg { - type: "/google.api.expr.v1beta1.Comprehension"; - value: Expr_ComprehensionAmino; -} -/** - * A comprehension expression applied to a list or map. - * - * Comprehensions are not part of the core syntax, but enabled with macros. - * A macro matches a specific call signature within a parsed AST and replaces - * the call with an alternate AST block. Macro expansion happens at parse - * time. - * - * The following macros are supported within CEL: - * - * Aggregate type macros may be applied to all elements in a list or all keys - * in a map: - * - * * `all`, `exists`, `exists_one` - test a predicate expression against - * the inputs and return `true` if the predicate is satisfied for all, - * any, or only one value `list.all(x, x < 10)`. - * * `filter` - test a predicate expression against the inputs and return - * the subset of elements which satisfy the predicate: - * `payments.filter(p, p > 1000)`. - * * `map` - apply an expression to all elements in the input and return the - * output aggregate type: `[1, 2, 3].map(i, i * i)`. - * - * The `has(m.x)` macro tests whether the property `x` is present in struct - * `m`. The semantics of this macro depend on the type of `m`. For proto2 - * messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the - * macro tests whether the property is set to its default. For map and struct - * types, the macro tests whether the property `x` is defined on `m`. - */ -export interface Expr_ComprehensionSDKType { - iter_var: string; - iter_range: ExprSDKType; - accu_var: string; - accu_init: ExprSDKType; - loop_condition: ExprSDKType; - loop_step: ExprSDKType; - result: ExprSDKType; -} -/** - * Represents a primitive literal. - * - * This is similar to the primitives supported in the well-known type - * `google.protobuf.Value`, but richer so it can represent CEL's full range of - * primitives. - * - * Lists and structs are not included as constants as these aggregate types may - * contain [Expr][google.api.expr.v1beta1.Expr] elements which require evaluation and are thus not constant. - * - * Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, - * `true`, `null`. - */ -export interface Literal { - /** null value. */ - nullValue?: NullValue; - /** boolean value. */ - boolValue?: boolean; - /** int64 value. */ - int64Value?: Long; - /** uint64 value. */ - uint64Value?: Long; - /** double value. */ - doubleValue?: number; - /** string value. */ - stringValue?: string; - /** bytes value. */ - bytesValue?: Uint8Array; -} -export interface LiteralProtoMsg { - typeUrl: "/google.api.expr.v1beta1.Literal"; - value: Uint8Array; -} -/** - * Represents a primitive literal. - * - * This is similar to the primitives supported in the well-known type - * `google.protobuf.Value`, but richer so it can represent CEL's full range of - * primitives. - * - * Lists and structs are not included as constants as these aggregate types may - * contain [Expr][google.api.expr.v1beta1.Expr] elements which require evaluation and are thus not constant. - * - * Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, - * `true`, `null`. - */ -export interface LiteralAmino { - /** null value. */ - null_value?: NullValue; - /** boolean value. */ - bool_value?: boolean; - /** int64 value. */ - int64_value?: string; - /** uint64 value. */ - uint64_value?: string; - /** double value. */ - double_value?: number; - /** string value. */ - string_value?: string; - /** bytes value. */ - bytes_value?: Uint8Array; -} -export interface LiteralAminoMsg { - type: "/google.api.expr.v1beta1.Literal"; - value: LiteralAmino; -} -/** - * Represents a primitive literal. - * - * This is similar to the primitives supported in the well-known type - * `google.protobuf.Value`, but richer so it can represent CEL's full range of - * primitives. - * - * Lists and structs are not included as constants as these aggregate types may - * contain [Expr][google.api.expr.v1beta1.Expr] elements which require evaluation and are thus not constant. - * - * Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, - * `true`, `null`. - */ -export interface LiteralSDKType { - null_value?: NullValue; - bool_value?: boolean; - int64_value?: Long; - uint64_value?: Long; - double_value?: number; - string_value?: string; - bytes_value?: Uint8Array; -} -function createBaseParsedExpr(): ParsedExpr { - return { - expr: Expr.fromPartial({}), - sourceInfo: SourceInfo.fromPartial({}), - syntaxVersion: "" - }; -} -export const ParsedExpr = { - typeUrl: "/google.api.expr.v1beta1.ParsedExpr", - encode(message: ParsedExpr, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.expr !== undefined) { - Expr.encode(message.expr, writer.uint32(18).fork()).ldelim(); - } - if (message.sourceInfo !== undefined) { - SourceInfo.encode(message.sourceInfo, writer.uint32(26).fork()).ldelim(); - } - if (message.syntaxVersion !== "") { - writer.uint32(34).string(message.syntaxVersion); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ParsedExpr { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseParsedExpr(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.expr = Expr.decode(reader, reader.uint32()); - break; - case 3: - message.sourceInfo = SourceInfo.decode(reader, reader.uint32()); - break; - case 4: - message.syntaxVersion = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ParsedExpr { - const obj = createBaseParsedExpr(); - if (isSet(object.expr)) obj.expr = Expr.fromJSON(object.expr); - if (isSet(object.sourceInfo)) obj.sourceInfo = SourceInfo.fromJSON(object.sourceInfo); - if (isSet(object.syntaxVersion)) obj.syntaxVersion = String(object.syntaxVersion); - return obj; - }, - toJSON(message: ParsedExpr): unknown { - const obj: any = {}; - message.expr !== undefined && (obj.expr = message.expr ? Expr.toJSON(message.expr) : undefined); - message.sourceInfo !== undefined && (obj.sourceInfo = message.sourceInfo ? SourceInfo.toJSON(message.sourceInfo) : undefined); - message.syntaxVersion !== undefined && (obj.syntaxVersion = message.syntaxVersion); - return obj; - }, - fromPartial(object: DeepPartial): ParsedExpr { - const message = createBaseParsedExpr(); - if (object.expr !== undefined && object.expr !== null) { - message.expr = Expr.fromPartial(object.expr); - } - if (object.sourceInfo !== undefined && object.sourceInfo !== null) { - message.sourceInfo = SourceInfo.fromPartial(object.sourceInfo); - } - message.syntaxVersion = object.syntaxVersion ?? ""; - return message; - }, - fromSDK(object: ParsedExprSDKType): ParsedExpr { - return { - expr: object.expr ? Expr.fromSDK(object.expr) : undefined, - sourceInfo: object.source_info ? SourceInfo.fromSDK(object.source_info) : undefined, - syntaxVersion: object?.syntax_version - }; - }, - toSDK(message: ParsedExpr): ParsedExprSDKType { - const obj: any = {}; - message.expr !== undefined && (obj.expr = message.expr ? Expr.toSDK(message.expr) : undefined); - message.sourceInfo !== undefined && (obj.source_info = message.sourceInfo ? SourceInfo.toSDK(message.sourceInfo) : undefined); - obj.syntax_version = message.syntaxVersion; - return obj; - }, - fromAmino(object: ParsedExprAmino): ParsedExpr { - return { - expr: object?.expr ? Expr.fromAmino(object.expr) : undefined, - sourceInfo: object?.source_info ? SourceInfo.fromAmino(object.source_info) : undefined, - syntaxVersion: object.syntax_version - }; - }, - toAmino(message: ParsedExpr): ParsedExprAmino { - const obj: any = {}; - obj.expr = message.expr ? Expr.toAmino(message.expr) : undefined; - obj.source_info = message.sourceInfo ? SourceInfo.toAmino(message.sourceInfo) : undefined; - obj.syntax_version = message.syntaxVersion; - return obj; - }, - fromAminoMsg(object: ParsedExprAminoMsg): ParsedExpr { - return ParsedExpr.fromAmino(object.value); - }, - fromProtoMsg(message: ParsedExprProtoMsg): ParsedExpr { - return ParsedExpr.decode(message.value); - }, - toProto(message: ParsedExpr): Uint8Array { - return ParsedExpr.encode(message).finish(); - }, - toProtoMsg(message: ParsedExpr): ParsedExprProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.ParsedExpr", - value: ParsedExpr.encode(message).finish() - }; - } -}; -function createBaseExpr(): Expr { - return { - id: 0, - literalExpr: undefined, - identExpr: undefined, - selectExpr: undefined, - callExpr: undefined, - listExpr: undefined, - structExpr: undefined, - comprehensionExpr: undefined - }; -} -export const Expr = { - typeUrl: "/google.api.expr.v1beta1.Expr", - encode(message: Expr, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== 0) { - writer.uint32(16).int32(message.id); - } - if (message.literalExpr !== undefined) { - Literal.encode(message.literalExpr, writer.uint32(26).fork()).ldelim(); - } - if (message.identExpr !== undefined) { - Expr_Ident.encode(message.identExpr, writer.uint32(34).fork()).ldelim(); - } - if (message.selectExpr !== undefined) { - Expr_Select.encode(message.selectExpr, writer.uint32(42).fork()).ldelim(); - } - if (message.callExpr !== undefined) { - Expr_Call.encode(message.callExpr, writer.uint32(50).fork()).ldelim(); - } - if (message.listExpr !== undefined) { - Expr_CreateList.encode(message.listExpr, writer.uint32(58).fork()).ldelim(); - } - if (message.structExpr !== undefined) { - Expr_CreateStruct.encode(message.structExpr, writer.uint32(66).fork()).ldelim(); - } - if (message.comprehensionExpr !== undefined) { - Expr_Comprehension.encode(message.comprehensionExpr, writer.uint32(74).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.id = reader.int32(); - break; - case 3: - message.literalExpr = Literal.decode(reader, reader.uint32()); - break; - case 4: - message.identExpr = Expr_Ident.decode(reader, reader.uint32()); - break; - case 5: - message.selectExpr = Expr_Select.decode(reader, reader.uint32()); - break; - case 6: - message.callExpr = Expr_Call.decode(reader, reader.uint32()); - break; - case 7: - message.listExpr = Expr_CreateList.decode(reader, reader.uint32()); - break; - case 8: - message.structExpr = Expr_CreateStruct.decode(reader, reader.uint32()); - break; - case 9: - message.comprehensionExpr = Expr_Comprehension.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr { - const obj = createBaseExpr(); - if (isSet(object.id)) obj.id = Number(object.id); - if (isSet(object.literalExpr)) obj.literalExpr = Literal.fromJSON(object.literalExpr); - if (isSet(object.identExpr)) obj.identExpr = Expr_Ident.fromJSON(object.identExpr); - if (isSet(object.selectExpr)) obj.selectExpr = Expr_Select.fromJSON(object.selectExpr); - if (isSet(object.callExpr)) obj.callExpr = Expr_Call.fromJSON(object.callExpr); - if (isSet(object.listExpr)) obj.listExpr = Expr_CreateList.fromJSON(object.listExpr); - if (isSet(object.structExpr)) obj.structExpr = Expr_CreateStruct.fromJSON(object.structExpr); - if (isSet(object.comprehensionExpr)) obj.comprehensionExpr = Expr_Comprehension.fromJSON(object.comprehensionExpr); - return obj; - }, - toJSON(message: Expr): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = Math.round(message.id)); - message.literalExpr !== undefined && (obj.literalExpr = message.literalExpr ? Literal.toJSON(message.literalExpr) : undefined); - message.identExpr !== undefined && (obj.identExpr = message.identExpr ? Expr_Ident.toJSON(message.identExpr) : undefined); - message.selectExpr !== undefined && (obj.selectExpr = message.selectExpr ? Expr_Select.toJSON(message.selectExpr) : undefined); - message.callExpr !== undefined && (obj.callExpr = message.callExpr ? Expr_Call.toJSON(message.callExpr) : undefined); - message.listExpr !== undefined && (obj.listExpr = message.listExpr ? Expr_CreateList.toJSON(message.listExpr) : undefined); - message.structExpr !== undefined && (obj.structExpr = message.structExpr ? Expr_CreateStruct.toJSON(message.structExpr) : undefined); - message.comprehensionExpr !== undefined && (obj.comprehensionExpr = message.comprehensionExpr ? Expr_Comprehension.toJSON(message.comprehensionExpr) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Expr { - const message = createBaseExpr(); - message.id = object.id ?? 0; - if (object.literalExpr !== undefined && object.literalExpr !== null) { - message.literalExpr = Literal.fromPartial(object.literalExpr); - } - if (object.identExpr !== undefined && object.identExpr !== null) { - message.identExpr = Expr_Ident.fromPartial(object.identExpr); - } - if (object.selectExpr !== undefined && object.selectExpr !== null) { - message.selectExpr = Expr_Select.fromPartial(object.selectExpr); - } - if (object.callExpr !== undefined && object.callExpr !== null) { - message.callExpr = Expr_Call.fromPartial(object.callExpr); - } - if (object.listExpr !== undefined && object.listExpr !== null) { - message.listExpr = Expr_CreateList.fromPartial(object.listExpr); - } - if (object.structExpr !== undefined && object.structExpr !== null) { - message.structExpr = Expr_CreateStruct.fromPartial(object.structExpr); - } - if (object.comprehensionExpr !== undefined && object.comprehensionExpr !== null) { - message.comprehensionExpr = Expr_Comprehension.fromPartial(object.comprehensionExpr); - } - return message; - }, - fromSDK(object: ExprSDKType): Expr { - return { - id: object?.id, - literalExpr: object.literal_expr ? Literal.fromSDK(object.literal_expr) : undefined, - identExpr: object.ident_expr ? Expr_Ident.fromSDK(object.ident_expr) : undefined, - selectExpr: object.select_expr ? Expr_Select.fromSDK(object.select_expr) : undefined, - callExpr: object.call_expr ? Expr_Call.fromSDK(object.call_expr) : undefined, - listExpr: object.list_expr ? Expr_CreateList.fromSDK(object.list_expr) : undefined, - structExpr: object.struct_expr ? Expr_CreateStruct.fromSDK(object.struct_expr) : undefined, - comprehensionExpr: object.comprehension_expr ? Expr_Comprehension.fromSDK(object.comprehension_expr) : undefined - }; - }, - toSDK(message: Expr): ExprSDKType { - const obj: any = {}; - obj.id = message.id; - message.literalExpr !== undefined && (obj.literal_expr = message.literalExpr ? Literal.toSDK(message.literalExpr) : undefined); - message.identExpr !== undefined && (obj.ident_expr = message.identExpr ? Expr_Ident.toSDK(message.identExpr) : undefined); - message.selectExpr !== undefined && (obj.select_expr = message.selectExpr ? Expr_Select.toSDK(message.selectExpr) : undefined); - message.callExpr !== undefined && (obj.call_expr = message.callExpr ? Expr_Call.toSDK(message.callExpr) : undefined); - message.listExpr !== undefined && (obj.list_expr = message.listExpr ? Expr_CreateList.toSDK(message.listExpr) : undefined); - message.structExpr !== undefined && (obj.struct_expr = message.structExpr ? Expr_CreateStruct.toSDK(message.structExpr) : undefined); - message.comprehensionExpr !== undefined && (obj.comprehension_expr = message.comprehensionExpr ? Expr_Comprehension.toSDK(message.comprehensionExpr) : undefined); - return obj; - }, - fromAmino(object: ExprAmino): Expr { - return { - id: object.id, - literalExpr: object?.literal_expr ? Literal.fromAmino(object.literal_expr) : undefined, - identExpr: object?.ident_expr ? Expr_Ident.fromAmino(object.ident_expr) : undefined, - selectExpr: object?.select_expr ? Expr_Select.fromAmino(object.select_expr) : undefined, - callExpr: object?.call_expr ? Expr_Call.fromAmino(object.call_expr) : undefined, - listExpr: object?.list_expr ? Expr_CreateList.fromAmino(object.list_expr) : undefined, - structExpr: object?.struct_expr ? Expr_CreateStruct.fromAmino(object.struct_expr) : undefined, - comprehensionExpr: object?.comprehension_expr ? Expr_Comprehension.fromAmino(object.comprehension_expr) : undefined - }; - }, - toAmino(message: Expr): ExprAmino { - const obj: any = {}; - obj.id = message.id; - obj.literal_expr = message.literalExpr ? Literal.toAmino(message.literalExpr) : undefined; - obj.ident_expr = message.identExpr ? Expr_Ident.toAmino(message.identExpr) : undefined; - obj.select_expr = message.selectExpr ? Expr_Select.toAmino(message.selectExpr) : undefined; - obj.call_expr = message.callExpr ? Expr_Call.toAmino(message.callExpr) : undefined; - obj.list_expr = message.listExpr ? Expr_CreateList.toAmino(message.listExpr) : undefined; - obj.struct_expr = message.structExpr ? Expr_CreateStruct.toAmino(message.structExpr) : undefined; - obj.comprehension_expr = message.comprehensionExpr ? Expr_Comprehension.toAmino(message.comprehensionExpr) : undefined; - return obj; - }, - fromAminoMsg(object: ExprAminoMsg): Expr { - return Expr.fromAmino(object.value); - }, - fromProtoMsg(message: ExprProtoMsg): Expr { - return Expr.decode(message.value); - }, - toProto(message: Expr): Uint8Array { - return Expr.encode(message).finish(); - }, - toProtoMsg(message: Expr): ExprProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.Expr", - value: Expr.encode(message).finish() - }; - } -}; -function createBaseExpr_Ident(): Expr_Ident { - return { - name: "" - }; -} -export const Expr_Ident = { - typeUrl: "/google.api.expr.v1beta1.Ident", - encode(message: Expr_Ident, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_Ident { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_Ident(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_Ident { - const obj = createBaseExpr_Ident(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: Expr_Ident): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): Expr_Ident { - const message = createBaseExpr_Ident(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: Expr_IdentSDKType): Expr_Ident { - return { - name: object?.name - }; - }, - toSDK(message: Expr_Ident): Expr_IdentSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: Expr_IdentAmino): Expr_Ident { - return { - name: object.name - }; - }, - toAmino(message: Expr_Ident): Expr_IdentAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: Expr_IdentAminoMsg): Expr_Ident { - return Expr_Ident.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_IdentProtoMsg): Expr_Ident { - return Expr_Ident.decode(message.value); - }, - toProto(message: Expr_Ident): Uint8Array { - return Expr_Ident.encode(message).finish(); - }, - toProtoMsg(message: Expr_Ident): Expr_IdentProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.Ident", - value: Expr_Ident.encode(message).finish() - }; - } -}; -function createBaseExpr_Select(): Expr_Select { - return { - operand: Expr.fromPartial({}), - field: "", - testOnly: false - }; -} -export const Expr_Select = { - typeUrl: "/google.api.expr.v1beta1.Select", - encode(message: Expr_Select, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.operand !== undefined) { - Expr.encode(message.operand, writer.uint32(10).fork()).ldelim(); - } - if (message.field !== "") { - writer.uint32(18).string(message.field); - } - if (message.testOnly === true) { - writer.uint32(24).bool(message.testOnly); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_Select { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_Select(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.operand = Expr.decode(reader, reader.uint32()); - break; - case 2: - message.field = reader.string(); - break; - case 3: - message.testOnly = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_Select { - const obj = createBaseExpr_Select(); - if (isSet(object.operand)) obj.operand = Expr.fromJSON(object.operand); - if (isSet(object.field)) obj.field = String(object.field); - if (isSet(object.testOnly)) obj.testOnly = Boolean(object.testOnly); - return obj; - }, - toJSON(message: Expr_Select): unknown { - const obj: any = {}; - message.operand !== undefined && (obj.operand = message.operand ? Expr.toJSON(message.operand) : undefined); - message.field !== undefined && (obj.field = message.field); - message.testOnly !== undefined && (obj.testOnly = message.testOnly); - return obj; - }, - fromPartial(object: DeepPartial): Expr_Select { - const message = createBaseExpr_Select(); - if (object.operand !== undefined && object.operand !== null) { - message.operand = Expr.fromPartial(object.operand); - } - message.field = object.field ?? ""; - message.testOnly = object.testOnly ?? false; - return message; - }, - fromSDK(object: Expr_SelectSDKType): Expr_Select { - return { - operand: object.operand ? Expr.fromSDK(object.operand) : undefined, - field: object?.field, - testOnly: object?.test_only - }; - }, - toSDK(message: Expr_Select): Expr_SelectSDKType { - const obj: any = {}; - message.operand !== undefined && (obj.operand = message.operand ? Expr.toSDK(message.operand) : undefined); - obj.field = message.field; - obj.test_only = message.testOnly; - return obj; - }, - fromAmino(object: Expr_SelectAmino): Expr_Select { - return { - operand: object?.operand ? Expr.fromAmino(object.operand) : undefined, - field: object.field, - testOnly: object.test_only - }; - }, - toAmino(message: Expr_Select): Expr_SelectAmino { - const obj: any = {}; - obj.operand = message.operand ? Expr.toAmino(message.operand) : undefined; - obj.field = message.field; - obj.test_only = message.testOnly; - return obj; - }, - fromAminoMsg(object: Expr_SelectAminoMsg): Expr_Select { - return Expr_Select.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_SelectProtoMsg): Expr_Select { - return Expr_Select.decode(message.value); - }, - toProto(message: Expr_Select): Uint8Array { - return Expr_Select.encode(message).finish(); - }, - toProtoMsg(message: Expr_Select): Expr_SelectProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.Select", - value: Expr_Select.encode(message).finish() - }; - } -}; -function createBaseExpr_Call(): Expr_Call { - return { - target: Expr.fromPartial({}), - function: "", - args: [] - }; -} -export const Expr_Call = { - typeUrl: "/google.api.expr.v1beta1.Call", - encode(message: Expr_Call, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.target !== undefined) { - Expr.encode(message.target, writer.uint32(10).fork()).ldelim(); - } - if (message.function !== "") { - writer.uint32(18).string(message.function); - } - for (const v of message.args) { - Expr.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_Call { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_Call(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.target = Expr.decode(reader, reader.uint32()); - break; - case 2: - message.function = reader.string(); - break; - case 3: - message.args.push(Expr.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_Call { - const obj = createBaseExpr_Call(); - if (isSet(object.target)) obj.target = Expr.fromJSON(object.target); - if (isSet(object.function)) obj.function = String(object.function); - if (Array.isArray(object?.args)) obj.args = object.args.map((e: any) => Expr.fromJSON(e)); - return obj; - }, - toJSON(message: Expr_Call): unknown { - const obj: any = {}; - message.target !== undefined && (obj.target = message.target ? Expr.toJSON(message.target) : undefined); - message.function !== undefined && (obj.function = message.function); - if (message.args) { - obj.args = message.args.map(e => e ? Expr.toJSON(e) : undefined); - } else { - obj.args = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Expr_Call { - const message = createBaseExpr_Call(); - if (object.target !== undefined && object.target !== null) { - message.target = Expr.fromPartial(object.target); - } - message.function = object.function ?? ""; - message.args = object.args?.map(e => Expr.fromPartial(e)) || []; - return message; - }, - fromSDK(object: Expr_CallSDKType): Expr_Call { - return { - target: object.target ? Expr.fromSDK(object.target) : undefined, - function: object?.function, - args: Array.isArray(object?.args) ? object.args.map((e: any) => Expr.fromSDK(e)) : [] - }; - }, - toSDK(message: Expr_Call): Expr_CallSDKType { - const obj: any = {}; - message.target !== undefined && (obj.target = message.target ? Expr.toSDK(message.target) : undefined); - obj.function = message.function; - if (message.args) { - obj.args = message.args.map(e => e ? Expr.toSDK(e) : undefined); - } else { - obj.args = []; - } - return obj; - }, - fromAmino(object: Expr_CallAmino): Expr_Call { - return { - target: object?.target ? Expr.fromAmino(object.target) : undefined, - function: object.function, - args: Array.isArray(object?.args) ? object.args.map((e: any) => Expr.fromAmino(e)) : [] - }; - }, - toAmino(message: Expr_Call): Expr_CallAmino { - const obj: any = {}; - obj.target = message.target ? Expr.toAmino(message.target) : undefined; - obj.function = message.function; - if (message.args) { - obj.args = message.args.map(e => e ? Expr.toAmino(e) : undefined); - } else { - obj.args = []; - } - return obj; - }, - fromAminoMsg(object: Expr_CallAminoMsg): Expr_Call { - return Expr_Call.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_CallProtoMsg): Expr_Call { - return Expr_Call.decode(message.value); - }, - toProto(message: Expr_Call): Uint8Array { - return Expr_Call.encode(message).finish(); - }, - toProtoMsg(message: Expr_Call): Expr_CallProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.Call", - value: Expr_Call.encode(message).finish() - }; - } -}; -function createBaseExpr_CreateList(): Expr_CreateList { - return { - elements: [] - }; -} -export const Expr_CreateList = { - typeUrl: "/google.api.expr.v1beta1.CreateList", - encode(message: Expr_CreateList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.elements) { - Expr.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_CreateList { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_CreateList(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.elements.push(Expr.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_CreateList { - const obj = createBaseExpr_CreateList(); - if (Array.isArray(object?.elements)) obj.elements = object.elements.map((e: any) => Expr.fromJSON(e)); - return obj; - }, - toJSON(message: Expr_CreateList): unknown { - const obj: any = {}; - if (message.elements) { - obj.elements = message.elements.map(e => e ? Expr.toJSON(e) : undefined); - } else { - obj.elements = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Expr_CreateList { - const message = createBaseExpr_CreateList(); - message.elements = object.elements?.map(e => Expr.fromPartial(e)) || []; - return message; - }, - fromSDK(object: Expr_CreateListSDKType): Expr_CreateList { - return { - elements: Array.isArray(object?.elements) ? object.elements.map((e: any) => Expr.fromSDK(e)) : [] - }; - }, - toSDK(message: Expr_CreateList): Expr_CreateListSDKType { - const obj: any = {}; - if (message.elements) { - obj.elements = message.elements.map(e => e ? Expr.toSDK(e) : undefined); - } else { - obj.elements = []; - } - return obj; - }, - fromAmino(object: Expr_CreateListAmino): Expr_CreateList { - return { - elements: Array.isArray(object?.elements) ? object.elements.map((e: any) => Expr.fromAmino(e)) : [] - }; - }, - toAmino(message: Expr_CreateList): Expr_CreateListAmino { - const obj: any = {}; - if (message.elements) { - obj.elements = message.elements.map(e => e ? Expr.toAmino(e) : undefined); - } else { - obj.elements = []; - } - return obj; - }, - fromAminoMsg(object: Expr_CreateListAminoMsg): Expr_CreateList { - return Expr_CreateList.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_CreateListProtoMsg): Expr_CreateList { - return Expr_CreateList.decode(message.value); - }, - toProto(message: Expr_CreateList): Uint8Array { - return Expr_CreateList.encode(message).finish(); - }, - toProtoMsg(message: Expr_CreateList): Expr_CreateListProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.CreateList", - value: Expr_CreateList.encode(message).finish() - }; - } -}; -function createBaseExpr_CreateStruct(): Expr_CreateStruct { - return { - type: "", - entries: [] - }; -} -export const Expr_CreateStruct = { - typeUrl: "/google.api.expr.v1beta1.CreateStruct", - encode(message: Expr_CreateStruct, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== "") { - writer.uint32(10).string(message.type); - } - for (const v of message.entries) { - Expr_CreateStruct_Entry.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_CreateStruct { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_CreateStruct(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - message.entries.push(Expr_CreateStruct_Entry.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_CreateStruct { - const obj = createBaseExpr_CreateStruct(); - if (isSet(object.type)) obj.type = String(object.type); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => Expr_CreateStruct_Entry.fromJSON(e)); - return obj; - }, - toJSON(message: Expr_CreateStruct): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - if (message.entries) { - obj.entries = message.entries.map(e => e ? Expr_CreateStruct_Entry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Expr_CreateStruct { - const message = createBaseExpr_CreateStruct(); - message.type = object.type ?? ""; - message.entries = object.entries?.map(e => Expr_CreateStruct_Entry.fromPartial(e)) || []; - return message; - }, - fromSDK(object: Expr_CreateStructSDKType): Expr_CreateStruct { - return { - type: object?.type, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => Expr_CreateStruct_Entry.fromSDK(e)) : [] - }; - }, - toSDK(message: Expr_CreateStruct): Expr_CreateStructSDKType { - const obj: any = {}; - obj.type = message.type; - if (message.entries) { - obj.entries = message.entries.map(e => e ? Expr_CreateStruct_Entry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAmino(object: Expr_CreateStructAmino): Expr_CreateStruct { - return { - type: object.type, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => Expr_CreateStruct_Entry.fromAmino(e)) : [] - }; - }, - toAmino(message: Expr_CreateStruct): Expr_CreateStructAmino { - const obj: any = {}; - obj.type = message.type; - if (message.entries) { - obj.entries = message.entries.map(e => e ? Expr_CreateStruct_Entry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAminoMsg(object: Expr_CreateStructAminoMsg): Expr_CreateStruct { - return Expr_CreateStruct.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_CreateStructProtoMsg): Expr_CreateStruct { - return Expr_CreateStruct.decode(message.value); - }, - toProto(message: Expr_CreateStruct): Uint8Array { - return Expr_CreateStruct.encode(message).finish(); - }, - toProtoMsg(message: Expr_CreateStruct): Expr_CreateStructProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.CreateStruct", - value: Expr_CreateStruct.encode(message).finish() - }; - } -}; -function createBaseExpr_CreateStruct_Entry(): Expr_CreateStruct_Entry { - return { - id: 0, - fieldKey: undefined, - mapKey: undefined, - value: Expr.fromPartial({}) - }; -} -export const Expr_CreateStruct_Entry = { - typeUrl: "/google.api.expr.v1beta1.Entry", - encode(message: Expr_CreateStruct_Entry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== 0) { - writer.uint32(8).int32(message.id); - } - if (message.fieldKey !== undefined) { - writer.uint32(18).string(message.fieldKey); - } - if (message.mapKey !== undefined) { - Expr.encode(message.mapKey, writer.uint32(26).fork()).ldelim(); - } - if (message.value !== undefined) { - Expr.encode(message.value, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_CreateStruct_Entry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_CreateStruct_Entry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.int32(); - break; - case 2: - message.fieldKey = reader.string(); - break; - case 3: - message.mapKey = Expr.decode(reader, reader.uint32()); - break; - case 4: - message.value = Expr.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_CreateStruct_Entry { - const obj = createBaseExpr_CreateStruct_Entry(); - if (isSet(object.id)) obj.id = Number(object.id); - if (isSet(object.fieldKey)) obj.fieldKey = String(object.fieldKey); - if (isSet(object.mapKey)) obj.mapKey = Expr.fromJSON(object.mapKey); - if (isSet(object.value)) obj.value = Expr.fromJSON(object.value); - return obj; - }, - toJSON(message: Expr_CreateStruct_Entry): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = Math.round(message.id)); - message.fieldKey !== undefined && (obj.fieldKey = message.fieldKey); - message.mapKey !== undefined && (obj.mapKey = message.mapKey ? Expr.toJSON(message.mapKey) : undefined); - message.value !== undefined && (obj.value = message.value ? Expr.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Expr_CreateStruct_Entry { - const message = createBaseExpr_CreateStruct_Entry(); - message.id = object.id ?? 0; - message.fieldKey = object.fieldKey ?? undefined; - if (object.mapKey !== undefined && object.mapKey !== null) { - message.mapKey = Expr.fromPartial(object.mapKey); - } - if (object.value !== undefined && object.value !== null) { - message.value = Expr.fromPartial(object.value); - } - return message; - }, - fromSDK(object: Expr_CreateStruct_EntrySDKType): Expr_CreateStruct_Entry { - return { - id: object?.id, - fieldKey: object?.field_key, - mapKey: object.map_key ? Expr.fromSDK(object.map_key) : undefined, - value: object.value ? Expr.fromSDK(object.value) : undefined - }; - }, - toSDK(message: Expr_CreateStruct_Entry): Expr_CreateStruct_EntrySDKType { - const obj: any = {}; - obj.id = message.id; - obj.field_key = message.fieldKey; - message.mapKey !== undefined && (obj.map_key = message.mapKey ? Expr.toSDK(message.mapKey) : undefined); - message.value !== undefined && (obj.value = message.value ? Expr.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: Expr_CreateStruct_EntryAmino): Expr_CreateStruct_Entry { - return { - id: object.id, - fieldKey: object?.field_key, - mapKey: object?.map_key ? Expr.fromAmino(object.map_key) : undefined, - value: object?.value ? Expr.fromAmino(object.value) : undefined - }; - }, - toAmino(message: Expr_CreateStruct_Entry): Expr_CreateStruct_EntryAmino { - const obj: any = {}; - obj.id = message.id; - obj.field_key = message.fieldKey; - obj.map_key = message.mapKey ? Expr.toAmino(message.mapKey) : undefined; - obj.value = message.value ? Expr.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: Expr_CreateStruct_EntryAminoMsg): Expr_CreateStruct_Entry { - return Expr_CreateStruct_Entry.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_CreateStruct_EntryProtoMsg): Expr_CreateStruct_Entry { - return Expr_CreateStruct_Entry.decode(message.value); - }, - toProto(message: Expr_CreateStruct_Entry): Uint8Array { - return Expr_CreateStruct_Entry.encode(message).finish(); - }, - toProtoMsg(message: Expr_CreateStruct_Entry): Expr_CreateStruct_EntryProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.Entry", - value: Expr_CreateStruct_Entry.encode(message).finish() - }; - } -}; -function createBaseExpr_Comprehension(): Expr_Comprehension { - return { - iterVar: "", - iterRange: Expr.fromPartial({}), - accuVar: "", - accuInit: Expr.fromPartial({}), - loopCondition: Expr.fromPartial({}), - loopStep: Expr.fromPartial({}), - result: Expr.fromPartial({}) - }; -} -export const Expr_Comprehension = { - typeUrl: "/google.api.expr.v1beta1.Comprehension", - encode(message: Expr_Comprehension, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.iterVar !== "") { - writer.uint32(10).string(message.iterVar); - } - if (message.iterRange !== undefined) { - Expr.encode(message.iterRange, writer.uint32(18).fork()).ldelim(); - } - if (message.accuVar !== "") { - writer.uint32(26).string(message.accuVar); - } - if (message.accuInit !== undefined) { - Expr.encode(message.accuInit, writer.uint32(34).fork()).ldelim(); - } - if (message.loopCondition !== undefined) { - Expr.encode(message.loopCondition, writer.uint32(42).fork()).ldelim(); - } - if (message.loopStep !== undefined) { - Expr.encode(message.loopStep, writer.uint32(50).fork()).ldelim(); - } - if (message.result !== undefined) { - Expr.encode(message.result, writer.uint32(58).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Expr_Comprehension { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExpr_Comprehension(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.iterVar = reader.string(); - break; - case 2: - message.iterRange = Expr.decode(reader, reader.uint32()); - break; - case 3: - message.accuVar = reader.string(); - break; - case 4: - message.accuInit = Expr.decode(reader, reader.uint32()); - break; - case 5: - message.loopCondition = Expr.decode(reader, reader.uint32()); - break; - case 6: - message.loopStep = Expr.decode(reader, reader.uint32()); - break; - case 7: - message.result = Expr.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Expr_Comprehension { - const obj = createBaseExpr_Comprehension(); - if (isSet(object.iterVar)) obj.iterVar = String(object.iterVar); - if (isSet(object.iterRange)) obj.iterRange = Expr.fromJSON(object.iterRange); - if (isSet(object.accuVar)) obj.accuVar = String(object.accuVar); - if (isSet(object.accuInit)) obj.accuInit = Expr.fromJSON(object.accuInit); - if (isSet(object.loopCondition)) obj.loopCondition = Expr.fromJSON(object.loopCondition); - if (isSet(object.loopStep)) obj.loopStep = Expr.fromJSON(object.loopStep); - if (isSet(object.result)) obj.result = Expr.fromJSON(object.result); - return obj; - }, - toJSON(message: Expr_Comprehension): unknown { - const obj: any = {}; - message.iterVar !== undefined && (obj.iterVar = message.iterVar); - message.iterRange !== undefined && (obj.iterRange = message.iterRange ? Expr.toJSON(message.iterRange) : undefined); - message.accuVar !== undefined && (obj.accuVar = message.accuVar); - message.accuInit !== undefined && (obj.accuInit = message.accuInit ? Expr.toJSON(message.accuInit) : undefined); - message.loopCondition !== undefined && (obj.loopCondition = message.loopCondition ? Expr.toJSON(message.loopCondition) : undefined); - message.loopStep !== undefined && (obj.loopStep = message.loopStep ? Expr.toJSON(message.loopStep) : undefined); - message.result !== undefined && (obj.result = message.result ? Expr.toJSON(message.result) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Expr_Comprehension { - const message = createBaseExpr_Comprehension(); - message.iterVar = object.iterVar ?? ""; - if (object.iterRange !== undefined && object.iterRange !== null) { - message.iterRange = Expr.fromPartial(object.iterRange); - } - message.accuVar = object.accuVar ?? ""; - if (object.accuInit !== undefined && object.accuInit !== null) { - message.accuInit = Expr.fromPartial(object.accuInit); - } - if (object.loopCondition !== undefined && object.loopCondition !== null) { - message.loopCondition = Expr.fromPartial(object.loopCondition); - } - if (object.loopStep !== undefined && object.loopStep !== null) { - message.loopStep = Expr.fromPartial(object.loopStep); - } - if (object.result !== undefined && object.result !== null) { - message.result = Expr.fromPartial(object.result); - } - return message; - }, - fromSDK(object: Expr_ComprehensionSDKType): Expr_Comprehension { - return { - iterVar: object?.iter_var, - iterRange: object.iter_range ? Expr.fromSDK(object.iter_range) : undefined, - accuVar: object?.accu_var, - accuInit: object.accu_init ? Expr.fromSDK(object.accu_init) : undefined, - loopCondition: object.loop_condition ? Expr.fromSDK(object.loop_condition) : undefined, - loopStep: object.loop_step ? Expr.fromSDK(object.loop_step) : undefined, - result: object.result ? Expr.fromSDK(object.result) : undefined - }; - }, - toSDK(message: Expr_Comprehension): Expr_ComprehensionSDKType { - const obj: any = {}; - obj.iter_var = message.iterVar; - message.iterRange !== undefined && (obj.iter_range = message.iterRange ? Expr.toSDK(message.iterRange) : undefined); - obj.accu_var = message.accuVar; - message.accuInit !== undefined && (obj.accu_init = message.accuInit ? Expr.toSDK(message.accuInit) : undefined); - message.loopCondition !== undefined && (obj.loop_condition = message.loopCondition ? Expr.toSDK(message.loopCondition) : undefined); - message.loopStep !== undefined && (obj.loop_step = message.loopStep ? Expr.toSDK(message.loopStep) : undefined); - message.result !== undefined && (obj.result = message.result ? Expr.toSDK(message.result) : undefined); - return obj; - }, - fromAmino(object: Expr_ComprehensionAmino): Expr_Comprehension { - return { - iterVar: object.iter_var, - iterRange: object?.iter_range ? Expr.fromAmino(object.iter_range) : undefined, - accuVar: object.accu_var, - accuInit: object?.accu_init ? Expr.fromAmino(object.accu_init) : undefined, - loopCondition: object?.loop_condition ? Expr.fromAmino(object.loop_condition) : undefined, - loopStep: object?.loop_step ? Expr.fromAmino(object.loop_step) : undefined, - result: object?.result ? Expr.fromAmino(object.result) : undefined - }; - }, - toAmino(message: Expr_Comprehension): Expr_ComprehensionAmino { - const obj: any = {}; - obj.iter_var = message.iterVar; - obj.iter_range = message.iterRange ? Expr.toAmino(message.iterRange) : undefined; - obj.accu_var = message.accuVar; - obj.accu_init = message.accuInit ? Expr.toAmino(message.accuInit) : undefined; - obj.loop_condition = message.loopCondition ? Expr.toAmino(message.loopCondition) : undefined; - obj.loop_step = message.loopStep ? Expr.toAmino(message.loopStep) : undefined; - obj.result = message.result ? Expr.toAmino(message.result) : undefined; - return obj; - }, - fromAminoMsg(object: Expr_ComprehensionAminoMsg): Expr_Comprehension { - return Expr_Comprehension.fromAmino(object.value); - }, - fromProtoMsg(message: Expr_ComprehensionProtoMsg): Expr_Comprehension { - return Expr_Comprehension.decode(message.value); - }, - toProto(message: Expr_Comprehension): Uint8Array { - return Expr_Comprehension.encode(message).finish(); - }, - toProtoMsg(message: Expr_Comprehension): Expr_ComprehensionProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.Comprehension", - value: Expr_Comprehension.encode(message).finish() - }; - } -}; -function createBaseLiteral(): Literal { - return { - nullValue: undefined, - boolValue: undefined, - int64Value: undefined, - uint64Value: undefined, - doubleValue: undefined, - stringValue: undefined, - bytesValue: undefined - }; -} -export const Literal = { - typeUrl: "/google.api.expr.v1beta1.Literal", - encode(message: Literal, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nullValue !== undefined) { - writer.uint32(8).int32(message.nullValue); - } - if (message.boolValue !== undefined) { - writer.uint32(16).bool(message.boolValue); - } - if (message.int64Value !== undefined) { - writer.uint32(24).int64(message.int64Value); - } - if (message.uint64Value !== undefined) { - writer.uint32(32).uint64(message.uint64Value); - } - if (message.doubleValue !== undefined) { - writer.uint32(41).double(message.doubleValue); - } - if (message.stringValue !== undefined) { - writer.uint32(50).string(message.stringValue); - } - if (message.bytesValue !== undefined) { - writer.uint32(58).bytes(message.bytesValue); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Literal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLiteral(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.nullValue = (reader.int32() as any); - break; - case 2: - message.boolValue = reader.bool(); - break; - case 3: - message.int64Value = (reader.int64() as Long); - break; - case 4: - message.uint64Value = (reader.uint64() as Long); - break; - case 5: - message.doubleValue = reader.double(); - break; - case 6: - message.stringValue = reader.string(); - break; - case 7: - message.bytesValue = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Literal { - const obj = createBaseLiteral(); - if (isSet(object.nullValue)) obj.nullValue = nullValueFromJSON(object.nullValue); - if (isSet(object.boolValue)) obj.boolValue = Boolean(object.boolValue); - if (isSet(object.int64Value)) obj.int64Value = Long.fromValue(object.int64Value); - if (isSet(object.uint64Value)) obj.uint64Value = Long.fromValue(object.uint64Value); - if (isSet(object.doubleValue)) obj.doubleValue = Number(object.doubleValue); - if (isSet(object.stringValue)) obj.stringValue = String(object.stringValue); - if (isSet(object.bytesValue)) obj.bytesValue = bytesFromBase64(object.bytesValue); - return obj; - }, - toJSON(message: Literal): unknown { - const obj: any = {}; - message.nullValue !== undefined && (obj.nullValue = nullValueToJSON(message.nullValue)); - message.boolValue !== undefined && (obj.boolValue = message.boolValue); - message.int64Value !== undefined && (obj.int64Value = (message.int64Value || undefined).toString()); - message.uint64Value !== undefined && (obj.uint64Value = (message.uint64Value || undefined).toString()); - message.doubleValue !== undefined && (obj.doubleValue = message.doubleValue); - message.stringValue !== undefined && (obj.stringValue = message.stringValue); - message.bytesValue !== undefined && (obj.bytesValue = message.bytesValue !== undefined ? base64FromBytes(message.bytesValue) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Literal { - const message = createBaseLiteral(); - message.nullValue = object.nullValue ?? undefined; - message.boolValue = object.boolValue ?? undefined; - if (object.int64Value !== undefined && object.int64Value !== null) { - message.int64Value = Long.fromValue(object.int64Value); - } - if (object.uint64Value !== undefined && object.uint64Value !== null) { - message.uint64Value = Long.fromValue(object.uint64Value); - } - message.doubleValue = object.doubleValue ?? undefined; - message.stringValue = object.stringValue ?? undefined; - message.bytesValue = object.bytesValue ?? undefined; - return message; - }, - fromSDK(object: LiteralSDKType): Literal { - return { - nullValue: isSet(object.null_value) ? nullValueFromJSON(object.null_value) : undefined, - boolValue: object?.bool_value, - int64Value: object?.int64_value, - uint64Value: object?.uint64_value, - doubleValue: object?.double_value, - stringValue: object?.string_value, - bytesValue: object?.bytes_value - }; - }, - toSDK(message: Literal): LiteralSDKType { - const obj: any = {}; - message.nullValue !== undefined && (obj.null_value = nullValueToJSON(message.nullValue)); - obj.bool_value = message.boolValue; - obj.int64_value = message.int64Value; - obj.uint64_value = message.uint64Value; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - obj.bytes_value = message.bytesValue; - return obj; - }, - fromAmino(object: LiteralAmino): Literal { - return { - nullValue: isSet(object.null_value) ? nullValueFromJSON(object.null_value) : undefined, - boolValue: object?.bool_value, - int64Value: object?.int64_value ? Long.fromString(object.int64_value) : undefined, - uint64Value: object?.uint64_value ? Long.fromString(object.uint64_value) : undefined, - doubleValue: object?.double_value, - stringValue: object?.string_value, - bytesValue: object?.bytes_value - }; - }, - toAmino(message: Literal): LiteralAmino { - const obj: any = {}; - obj.null_value = message.nullValue; - obj.bool_value = message.boolValue; - obj.int64_value = message.int64Value ? message.int64Value.toString() : undefined; - obj.uint64_value = message.uint64Value ? message.uint64Value.toString() : undefined; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - obj.bytes_value = message.bytesValue; - return obj; - }, - fromAminoMsg(object: LiteralAminoMsg): Literal { - return Literal.fromAmino(object.value); - }, - fromProtoMsg(message: LiteralProtoMsg): Literal { - return Literal.decode(message.value); - }, - toProto(message: Literal): Uint8Array { - return Literal.encode(message).finish(); - }, - toProtoMsg(message: Literal): LiteralProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.Literal", - value: Literal.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/expr/v1beta1/source.ts b/quicksilverjs/src/codegen/google/api/expr/v1beta1/source.ts deleted file mode 100644 index 5b743edc8..000000000 --- a/quicksilverjs/src/codegen/google/api/expr/v1beta1/source.ts +++ /dev/null @@ -1,524 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, isObject } from "../../../../helpers"; -export const protobufPackage = "google.api.expr.v1beta1"; -export interface SourceInfo_PositionsEntry { - key: number; - value: number; -} -export interface SourceInfo_PositionsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface SourceInfo_PositionsEntryAmino { - key: number; - value: number; -} -export interface SourceInfo_PositionsEntryAminoMsg { - type: string; - value: SourceInfo_PositionsEntryAmino; -} -export interface SourceInfo_PositionsEntrySDKType { - key: number; - value: number; -} -/** Source information collected at parse time. */ -export interface SourceInfo { - /** - * The location name. All position information attached to an expression is - * relative to this location. - * - * The location could be a file, UI element, or similar. For example, - * `acme/app/AnvilPolicy.cel`. - */ - location: string; - /** - * Monotonically increasing list of character offsets where newlines appear. - * - * The line number of a given position is the index `i` where for a given - * `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The - * column may be derivd from `id_positions[id] - line_offsets[i]`. - */ - lineOffsets: number[]; - /** - * A map from the parse node id (e.g. `Expr.id`) to the character offset - * within source. - */ - positions: { - [key: number]: number; - }; -} -export interface SourceInfoProtoMsg { - typeUrl: "/google.api.expr.v1beta1.SourceInfo"; - value: Uint8Array; -} -/** Source information collected at parse time. */ -export interface SourceInfoAmino { - /** - * The location name. All position information attached to an expression is - * relative to this location. - * - * The location could be a file, UI element, or similar. For example, - * `acme/app/AnvilPolicy.cel`. - */ - location: string; - /** - * Monotonically increasing list of character offsets where newlines appear. - * - * The line number of a given position is the index `i` where for a given - * `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The - * column may be derivd from `id_positions[id] - line_offsets[i]`. - */ - line_offsets: number[]; - /** - * A map from the parse node id (e.g. `Expr.id`) to the character offset - * within source. - */ - positions: { - [key: number]: number; - }; -} -export interface SourceInfoAminoMsg { - type: "/google.api.expr.v1beta1.SourceInfo"; - value: SourceInfoAmino; -} -/** Source information collected at parse time. */ -export interface SourceInfoSDKType { - location: string; - line_offsets: number[]; - positions: { - [key: number]: number; - }; -} -/** A specific position in source. */ -export interface SourcePosition { - /** The soucre location name (e.g. file name). */ - location: string; - /** The character offset. */ - offset: number; - /** - * The 1-based index of the starting line in the source text - * where the issue occurs, or 0 if unknown. - */ - line: number; - /** - * The 0-based index of the starting position within the line of source text - * where the issue occurs. Only meaningful if line is nonzer.. - */ - column: number; -} -export interface SourcePositionProtoMsg { - typeUrl: "/google.api.expr.v1beta1.SourcePosition"; - value: Uint8Array; -} -/** A specific position in source. */ -export interface SourcePositionAmino { - /** The soucre location name (e.g. file name). */ - location: string; - /** The character offset. */ - offset: number; - /** - * The 1-based index of the starting line in the source text - * where the issue occurs, or 0 if unknown. - */ - line: number; - /** - * The 0-based index of the starting position within the line of source text - * where the issue occurs. Only meaningful if line is nonzer.. - */ - column: number; -} -export interface SourcePositionAminoMsg { - type: "/google.api.expr.v1beta1.SourcePosition"; - value: SourcePositionAmino; -} -/** A specific position in source. */ -export interface SourcePositionSDKType { - location: string; - offset: number; - line: number; - column: number; -} -function createBaseSourceInfo_PositionsEntry(): SourceInfo_PositionsEntry { - return { - key: 0, - value: 0 - }; -} -export const SourceInfo_PositionsEntry = { - encode(message: SourceInfo_PositionsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== 0) { - writer.uint32(8).int32(message.key); - } - if (message.value !== 0) { - writer.uint32(16).int32(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SourceInfo_PositionsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourceInfo_PositionsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.int32(); - break; - case 2: - message.value = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SourceInfo_PositionsEntry { - const obj = createBaseSourceInfo_PositionsEntry(); - if (isSet(object.key)) obj.key = Number(object.key); - if (isSet(object.value)) obj.value = Number(object.value); - return obj; - }, - toJSON(message: SourceInfo_PositionsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = Math.round(message.key)); - message.value !== undefined && (obj.value = Math.round(message.value)); - return obj; - }, - fromPartial(object: DeepPartial): SourceInfo_PositionsEntry { - const message = createBaseSourceInfo_PositionsEntry(); - message.key = object.key ?? 0; - message.value = object.value ?? 0; - return message; - }, - fromSDK(object: SourceInfo_PositionsEntrySDKType): SourceInfo_PositionsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: SourceInfo_PositionsEntry): SourceInfo_PositionsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: SourceInfo_PositionsEntryAmino): SourceInfo_PositionsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: SourceInfo_PositionsEntry): SourceInfo_PositionsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: SourceInfo_PositionsEntryAminoMsg): SourceInfo_PositionsEntry { - return SourceInfo_PositionsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: SourceInfo_PositionsEntryProtoMsg): SourceInfo_PositionsEntry { - return SourceInfo_PositionsEntry.decode(message.value); - }, - toProto(message: SourceInfo_PositionsEntry): Uint8Array { - return SourceInfo_PositionsEntry.encode(message).finish(); - } -}; -function createBaseSourceInfo(): SourceInfo { - return { - location: "", - lineOffsets: [], - positions: {} - }; -} -export const SourceInfo = { - typeUrl: "/google.api.expr.v1beta1.SourceInfo", - encode(message: SourceInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.location !== "") { - writer.uint32(18).string(message.location); - } - writer.uint32(26).fork(); - for (const v of message.lineOffsets) { - writer.int32(v); - } - writer.ldelim(); - Object.entries(message.positions).forEach(([key, value]) => { - SourceInfo_PositionsEntry.encode({ - key: (key as any), - value - }, writer.uint32(32).fork()).ldelim(); - }); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SourceInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourceInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.location = reader.string(); - break; - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.lineOffsets.push(reader.int32()); - } - } else { - message.lineOffsets.push(reader.int32()); - } - break; - case 4: - const entry4 = SourceInfo_PositionsEntry.decode(reader, reader.uint32()); - if (entry4.value !== undefined) { - message.positions[entry4.key] = entry4.value; - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SourceInfo { - const obj = createBaseSourceInfo(); - if (isSet(object.location)) obj.location = String(object.location); - if (Array.isArray(object?.lineOffsets)) obj.lineOffsets = object.lineOffsets.map((e: any) => Number(e)); - if (isObject(object.positions)) obj.positions = Object.entries(object.positions).reduce<{ - [key: number]: number; - }>((acc, [key, value]) => { - acc[Number(key)] = Number(value); - return acc; - }, {}); - return obj; - }, - toJSON(message: SourceInfo): unknown { - const obj: any = {}; - message.location !== undefined && (obj.location = message.location); - if (message.lineOffsets) { - obj.lineOffsets = message.lineOffsets.map(e => Math.round(e)); - } else { - obj.lineOffsets = []; - } - obj.positions = {}; - if (message.positions) { - Object.entries(message.positions).forEach(([k, v]) => { - obj.positions[k] = Math.round(v); - }); - } - return obj; - }, - fromPartial(object: DeepPartial): SourceInfo { - const message = createBaseSourceInfo(); - message.location = object.location ?? ""; - message.lineOffsets = object.lineOffsets?.map(e => e) || []; - message.positions = Object.entries(object.positions ?? {}).reduce<{ - [key: number]: number; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[Number(key)] = Number(value); - } - return acc; - }, {}); - return message; - }, - fromSDK(object: SourceInfoSDKType): SourceInfo { - return { - location: object?.location, - lineOffsets: Array.isArray(object?.line_offsets) ? object.line_offsets.map((e: any) => e) : [], - positions: isObject(object.positions) ? Object.entries(object.positions).reduce<{ - [key: number]: number; - }>((acc, [key, value]) => { - acc[Number(key)] = Number(value); - return acc; - }, {}) : {} - }; - }, - toSDK(message: SourceInfo): SourceInfoSDKType { - const obj: any = {}; - obj.location = message.location; - if (message.lineOffsets) { - obj.line_offsets = message.lineOffsets.map(e => e); - } else { - obj.line_offsets = []; - } - obj.positions = {}; - if (message.positions) { - Object.entries(message.positions).forEach(([k, v]) => { - obj.positions[k] = Math.round(v); - }); - } - return obj; - }, - fromAmino(object: SourceInfoAmino): SourceInfo { - return { - location: object.location, - lineOffsets: Array.isArray(object?.line_offsets) ? object.line_offsets.map((e: any) => e) : [], - positions: isObject(object.positions) ? Object.entries(object.positions).reduce<{ - [key: number]: number; - }>((acc, [key, value]) => { - acc[Number(key)] = Number(value); - return acc; - }, {}) : {} - }; - }, - toAmino(message: SourceInfo): SourceInfoAmino { - const obj: any = {}; - obj.location = message.location; - if (message.lineOffsets) { - obj.line_offsets = message.lineOffsets.map(e => e); - } else { - obj.line_offsets = []; - } - obj.positions = {}; - if (message.positions) { - Object.entries(message.positions).forEach(([k, v]) => { - obj.positions[k] = Math.round(v); - }); - } - return obj; - }, - fromAminoMsg(object: SourceInfoAminoMsg): SourceInfo { - return SourceInfo.fromAmino(object.value); - }, - fromProtoMsg(message: SourceInfoProtoMsg): SourceInfo { - return SourceInfo.decode(message.value); - }, - toProto(message: SourceInfo): Uint8Array { - return SourceInfo.encode(message).finish(); - }, - toProtoMsg(message: SourceInfo): SourceInfoProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.SourceInfo", - value: SourceInfo.encode(message).finish() - }; - } -}; -function createBaseSourcePosition(): SourcePosition { - return { - location: "", - offset: 0, - line: 0, - column: 0 - }; -} -export const SourcePosition = { - typeUrl: "/google.api.expr.v1beta1.SourcePosition", - encode(message: SourcePosition, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.location !== "") { - writer.uint32(10).string(message.location); - } - if (message.offset !== 0) { - writer.uint32(16).int32(message.offset); - } - if (message.line !== 0) { - writer.uint32(24).int32(message.line); - } - if (message.column !== 0) { - writer.uint32(32).int32(message.column); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SourcePosition { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourcePosition(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.location = reader.string(); - break; - case 2: - message.offset = reader.int32(); - break; - case 3: - message.line = reader.int32(); - break; - case 4: - message.column = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SourcePosition { - const obj = createBaseSourcePosition(); - if (isSet(object.location)) obj.location = String(object.location); - if (isSet(object.offset)) obj.offset = Number(object.offset); - if (isSet(object.line)) obj.line = Number(object.line); - if (isSet(object.column)) obj.column = Number(object.column); - return obj; - }, - toJSON(message: SourcePosition): unknown { - const obj: any = {}; - message.location !== undefined && (obj.location = message.location); - message.offset !== undefined && (obj.offset = Math.round(message.offset)); - message.line !== undefined && (obj.line = Math.round(message.line)); - message.column !== undefined && (obj.column = Math.round(message.column)); - return obj; - }, - fromPartial(object: DeepPartial): SourcePosition { - const message = createBaseSourcePosition(); - message.location = object.location ?? ""; - message.offset = object.offset ?? 0; - message.line = object.line ?? 0; - message.column = object.column ?? 0; - return message; - }, - fromSDK(object: SourcePositionSDKType): SourcePosition { - return { - location: object?.location, - offset: object?.offset, - line: object?.line, - column: object?.column - }; - }, - toSDK(message: SourcePosition): SourcePositionSDKType { - const obj: any = {}; - obj.location = message.location; - obj.offset = message.offset; - obj.line = message.line; - obj.column = message.column; - return obj; - }, - fromAmino(object: SourcePositionAmino): SourcePosition { - return { - location: object.location, - offset: object.offset, - line: object.line, - column: object.column - }; - }, - toAmino(message: SourcePosition): SourcePositionAmino { - const obj: any = {}; - obj.location = message.location; - obj.offset = message.offset; - obj.line = message.line; - obj.column = message.column; - return obj; - }, - fromAminoMsg(object: SourcePositionAminoMsg): SourcePosition { - return SourcePosition.fromAmino(object.value); - }, - fromProtoMsg(message: SourcePositionProtoMsg): SourcePosition { - return SourcePosition.decode(message.value); - }, - toProto(message: SourcePosition): Uint8Array { - return SourcePosition.encode(message).finish(); - }, - toProtoMsg(message: SourcePosition): SourcePositionProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.SourcePosition", - value: SourcePosition.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/expr/v1beta1/value.ts b/quicksilverjs/src/codegen/google/api/expr/v1beta1/value.ts deleted file mode 100644 index 685f7f510..000000000 --- a/quicksilverjs/src/codegen/google/api/expr/v1beta1/value.ts +++ /dev/null @@ -1,872 +0,0 @@ -import { NullValue, NullValueSDKType, nullValueFromJSON, nullValueToJSON } from "../../../protobuf/struct"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../protobuf/any"; -import { Long, isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.expr.v1beta1"; -/** - * Represents a CEL value. - * - * This is similar to `google.protobuf.Value`, but can represent CEL's full - * range of values. - */ -export interface Value { - /** Null value. */ - nullValue?: NullValue; - /** Boolean value. */ - boolValue?: boolean; - /** Signed integer value. */ - int64Value?: Long; - /** Unsigned integer value. */ - uint64Value?: Long; - /** Floating point value. */ - doubleValue?: number; - /** UTF-8 string value. */ - stringValue?: string; - /** Byte string value. */ - bytesValue?: Uint8Array; - /** An enum value. */ - enumValue?: EnumValue; - /** The proto message backing an object value. */ - objectValue?: Any; - /** Map value. */ - mapValue?: MapValue; - /** List value. */ - listValue?: ListValue; - /** A Type value represented by the fully qualified name of the type. */ - typeValue?: string; -} -export interface ValueProtoMsg { - typeUrl: "/google.api.expr.v1beta1.Value"; - value: Uint8Array; -} -/** - * Represents a CEL value. - * - * This is similar to `google.protobuf.Value`, but can represent CEL's full - * range of values. - */ -export interface ValueAmino { - /** Null value. */ - null_value?: NullValue; - /** Boolean value. */ - bool_value?: boolean; - /** Signed integer value. */ - int64_value?: string; - /** Unsigned integer value. */ - uint64_value?: string; - /** Floating point value. */ - double_value?: number; - /** UTF-8 string value. */ - string_value?: string; - /** Byte string value. */ - bytes_value?: Uint8Array; - /** An enum value. */ - enum_value?: EnumValueAmino; - /** The proto message backing an object value. */ - object_value?: AnyAmino; - /** Map value. */ - map_value?: MapValueAmino; - /** List value. */ - list_value?: ListValueAmino; - /** A Type value represented by the fully qualified name of the type. */ - type_value?: string; -} -export interface ValueAminoMsg { - type: "/google.api.expr.v1beta1.Value"; - value: ValueAmino; -} -/** - * Represents a CEL value. - * - * This is similar to `google.protobuf.Value`, but can represent CEL's full - * range of values. - */ -export interface ValueSDKType { - null_value?: NullValue; - bool_value?: boolean; - int64_value?: Long; - uint64_value?: Long; - double_value?: number; - string_value?: string; - bytes_value?: Uint8Array; - enum_value?: EnumValueSDKType; - object_value?: AnySDKType; - map_value?: MapValueSDKType; - list_value?: ListValueSDKType; - type_value?: string; -} -/** An enum value. */ -export interface EnumValue { - /** The fully qualified name of the enum type. */ - type: string; - /** The value of the enum. */ - value: number; -} -export interface EnumValueProtoMsg { - typeUrl: "/google.api.expr.v1beta1.EnumValue"; - value: Uint8Array; -} -/** An enum value. */ -export interface EnumValueAmino { - /** The fully qualified name of the enum type. */ - type: string; - /** The value of the enum. */ - value: number; -} -export interface EnumValueAminoMsg { - type: "/google.api.expr.v1beta1.EnumValue"; - value: EnumValueAmino; -} -/** An enum value. */ -export interface EnumValueSDKType { - type: string; - value: number; -} -/** - * A list. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface ListValue { - /** The ordered values in the list. */ - values: Value[]; -} -export interface ListValueProtoMsg { - typeUrl: "/google.api.expr.v1beta1.ListValue"; - value: Uint8Array; -} -/** - * A list. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface ListValueAmino { - /** The ordered values in the list. */ - values: ValueAmino[]; -} -export interface ListValueAminoMsg { - type: "/google.api.expr.v1beta1.ListValue"; - value: ListValueAmino; -} -/** - * A list. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface ListValueSDKType { - values: ValueSDKType[]; -} -/** - * A map. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface MapValue { - /** - * The set of map entries. - * - * CEL has fewer restrictions on keys, so a protobuf map represenation - * cannot be used. - */ - entries: MapValue_Entry[]; -} -export interface MapValueProtoMsg { - typeUrl: "/google.api.expr.v1beta1.MapValue"; - value: Uint8Array; -} -/** - * A map. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface MapValueAmino { - /** - * The set of map entries. - * - * CEL has fewer restrictions on keys, so a protobuf map represenation - * cannot be used. - */ - entries: MapValue_EntryAmino[]; -} -export interface MapValueAminoMsg { - type: "/google.api.expr.v1beta1.MapValue"; - value: MapValueAmino; -} -/** - * A map. - * - * Wrapped in a message so 'not set' and empty can be differentiated, which is - * required for use in a 'oneof'. - */ -export interface MapValueSDKType { - entries: MapValue_EntrySDKType[]; -} -/** An entry in the map. */ -export interface MapValue_Entry { - /** - * The key. - * - * Must be unique with in the map. - * Currently only boolean, int, uint, and string values can be keys. - */ - key: Value; - /** The value. */ - value: Value; -} -export interface MapValue_EntryProtoMsg { - typeUrl: "/google.api.expr.v1beta1.Entry"; - value: Uint8Array; -} -/** An entry in the map. */ -export interface MapValue_EntryAmino { - /** - * The key. - * - * Must be unique with in the map. - * Currently only boolean, int, uint, and string values can be keys. - */ - key?: ValueAmino; - /** The value. */ - value?: ValueAmino; -} -export interface MapValue_EntryAminoMsg { - type: "/google.api.expr.v1beta1.Entry"; - value: MapValue_EntryAmino; -} -/** An entry in the map. */ -export interface MapValue_EntrySDKType { - key: ValueSDKType; - value: ValueSDKType; -} -function createBaseValue(): Value { - return { - nullValue: undefined, - boolValue: undefined, - int64Value: undefined, - uint64Value: undefined, - doubleValue: undefined, - stringValue: undefined, - bytesValue: undefined, - enumValue: undefined, - objectValue: undefined, - mapValue: undefined, - listValue: undefined, - typeValue: undefined - }; -} -export const Value = { - typeUrl: "/google.api.expr.v1beta1.Value", - encode(message: Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nullValue !== undefined) { - writer.uint32(8).int32(message.nullValue); - } - if (message.boolValue !== undefined) { - writer.uint32(16).bool(message.boolValue); - } - if (message.int64Value !== undefined) { - writer.uint32(24).int64(message.int64Value); - } - if (message.uint64Value !== undefined) { - writer.uint32(32).uint64(message.uint64Value); - } - if (message.doubleValue !== undefined) { - writer.uint32(41).double(message.doubleValue); - } - if (message.stringValue !== undefined) { - writer.uint32(50).string(message.stringValue); - } - if (message.bytesValue !== undefined) { - writer.uint32(58).bytes(message.bytesValue); - } - if (message.enumValue !== undefined) { - EnumValue.encode(message.enumValue, writer.uint32(74).fork()).ldelim(); - } - if (message.objectValue !== undefined) { - Any.encode(message.objectValue, writer.uint32(82).fork()).ldelim(); - } - if (message.mapValue !== undefined) { - MapValue.encode(message.mapValue, writer.uint32(90).fork()).ldelim(); - } - if (message.listValue !== undefined) { - ListValue.encode(message.listValue, writer.uint32(98).fork()).ldelim(); - } - if (message.typeValue !== undefined) { - writer.uint32(122).string(message.typeValue); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.nullValue = (reader.int32() as any); - break; - case 2: - message.boolValue = reader.bool(); - break; - case 3: - message.int64Value = (reader.int64() as Long); - break; - case 4: - message.uint64Value = (reader.uint64() as Long); - break; - case 5: - message.doubleValue = reader.double(); - break; - case 6: - message.stringValue = reader.string(); - break; - case 7: - message.bytesValue = reader.bytes(); - break; - case 9: - message.enumValue = EnumValue.decode(reader, reader.uint32()); - break; - case 10: - message.objectValue = Any.decode(reader, reader.uint32()); - break; - case 11: - message.mapValue = MapValue.decode(reader, reader.uint32()); - break; - case 12: - message.listValue = ListValue.decode(reader, reader.uint32()); - break; - case 15: - message.typeValue = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Value { - const obj = createBaseValue(); - if (isSet(object.nullValue)) obj.nullValue = nullValueFromJSON(object.nullValue); - if (isSet(object.boolValue)) obj.boolValue = Boolean(object.boolValue); - if (isSet(object.int64Value)) obj.int64Value = Long.fromValue(object.int64Value); - if (isSet(object.uint64Value)) obj.uint64Value = Long.fromValue(object.uint64Value); - if (isSet(object.doubleValue)) obj.doubleValue = Number(object.doubleValue); - if (isSet(object.stringValue)) obj.stringValue = String(object.stringValue); - if (isSet(object.bytesValue)) obj.bytesValue = bytesFromBase64(object.bytesValue); - if (isSet(object.enumValue)) obj.enumValue = EnumValue.fromJSON(object.enumValue); - if (isSet(object.objectValue)) obj.objectValue = Any.fromJSON(object.objectValue); - if (isSet(object.mapValue)) obj.mapValue = MapValue.fromJSON(object.mapValue); - if (isSet(object.listValue)) obj.listValue = ListValue.fromJSON(object.listValue); - if (isSet(object.typeValue)) obj.typeValue = String(object.typeValue); - return obj; - }, - toJSON(message: Value): unknown { - const obj: any = {}; - message.nullValue !== undefined && (obj.nullValue = nullValueToJSON(message.nullValue)); - message.boolValue !== undefined && (obj.boolValue = message.boolValue); - message.int64Value !== undefined && (obj.int64Value = (message.int64Value || undefined).toString()); - message.uint64Value !== undefined && (obj.uint64Value = (message.uint64Value || undefined).toString()); - message.doubleValue !== undefined && (obj.doubleValue = message.doubleValue); - message.stringValue !== undefined && (obj.stringValue = message.stringValue); - message.bytesValue !== undefined && (obj.bytesValue = message.bytesValue !== undefined ? base64FromBytes(message.bytesValue) : undefined); - message.enumValue !== undefined && (obj.enumValue = message.enumValue ? EnumValue.toJSON(message.enumValue) : undefined); - message.objectValue !== undefined && (obj.objectValue = message.objectValue ? Any.toJSON(message.objectValue) : undefined); - message.mapValue !== undefined && (obj.mapValue = message.mapValue ? MapValue.toJSON(message.mapValue) : undefined); - message.listValue !== undefined && (obj.listValue = message.listValue ? ListValue.toJSON(message.listValue) : undefined); - message.typeValue !== undefined && (obj.typeValue = message.typeValue); - return obj; - }, - fromPartial(object: DeepPartial): Value { - const message = createBaseValue(); - message.nullValue = object.nullValue ?? undefined; - message.boolValue = object.boolValue ?? undefined; - if (object.int64Value !== undefined && object.int64Value !== null) { - message.int64Value = Long.fromValue(object.int64Value); - } - if (object.uint64Value !== undefined && object.uint64Value !== null) { - message.uint64Value = Long.fromValue(object.uint64Value); - } - message.doubleValue = object.doubleValue ?? undefined; - message.stringValue = object.stringValue ?? undefined; - message.bytesValue = object.bytesValue ?? undefined; - if (object.enumValue !== undefined && object.enumValue !== null) { - message.enumValue = EnumValue.fromPartial(object.enumValue); - } - if (object.objectValue !== undefined && object.objectValue !== null) { - message.objectValue = Any.fromPartial(object.objectValue); - } - if (object.mapValue !== undefined && object.mapValue !== null) { - message.mapValue = MapValue.fromPartial(object.mapValue); - } - if (object.listValue !== undefined && object.listValue !== null) { - message.listValue = ListValue.fromPartial(object.listValue); - } - message.typeValue = object.typeValue ?? undefined; - return message; - }, - fromSDK(object: ValueSDKType): Value { - return { - nullValue: isSet(object.null_value) ? nullValueFromJSON(object.null_value) : undefined, - boolValue: object?.bool_value, - int64Value: object?.int64_value, - uint64Value: object?.uint64_value, - doubleValue: object?.double_value, - stringValue: object?.string_value, - bytesValue: object?.bytes_value, - enumValue: object.enum_value ? EnumValue.fromSDK(object.enum_value) : undefined, - objectValue: object.object_value ? Any.fromSDK(object.object_value) : undefined, - mapValue: object.map_value ? MapValue.fromSDK(object.map_value) : undefined, - listValue: object.list_value ? ListValue.fromSDK(object.list_value) : undefined, - typeValue: object?.type_value - }; - }, - toSDK(message: Value): ValueSDKType { - const obj: any = {}; - message.nullValue !== undefined && (obj.null_value = nullValueToJSON(message.nullValue)); - obj.bool_value = message.boolValue; - obj.int64_value = message.int64Value; - obj.uint64_value = message.uint64Value; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - obj.bytes_value = message.bytesValue; - message.enumValue !== undefined && (obj.enum_value = message.enumValue ? EnumValue.toSDK(message.enumValue) : undefined); - message.objectValue !== undefined && (obj.object_value = message.objectValue ? Any.toSDK(message.objectValue) : undefined); - message.mapValue !== undefined && (obj.map_value = message.mapValue ? MapValue.toSDK(message.mapValue) : undefined); - message.listValue !== undefined && (obj.list_value = message.listValue ? ListValue.toSDK(message.listValue) : undefined); - obj.type_value = message.typeValue; - return obj; - }, - fromAmino(object: ValueAmino): Value { - return { - nullValue: isSet(object.null_value) ? nullValueFromJSON(object.null_value) : undefined, - boolValue: object?.bool_value, - int64Value: object?.int64_value ? Long.fromString(object.int64_value) : undefined, - uint64Value: object?.uint64_value ? Long.fromString(object.uint64_value) : undefined, - doubleValue: object?.double_value, - stringValue: object?.string_value, - bytesValue: object?.bytes_value, - enumValue: object?.enum_value ? EnumValue.fromAmino(object.enum_value) : undefined, - objectValue: object?.object_value ? Any.fromAmino(object.object_value) : undefined, - mapValue: object?.map_value ? MapValue.fromAmino(object.map_value) : undefined, - listValue: object?.list_value ? ListValue.fromAmino(object.list_value) : undefined, - typeValue: object?.type_value - }; - }, - toAmino(message: Value): ValueAmino { - const obj: any = {}; - obj.null_value = message.nullValue; - obj.bool_value = message.boolValue; - obj.int64_value = message.int64Value ? message.int64Value.toString() : undefined; - obj.uint64_value = message.uint64Value ? message.uint64Value.toString() : undefined; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - obj.bytes_value = message.bytesValue; - obj.enum_value = message.enumValue ? EnumValue.toAmino(message.enumValue) : undefined; - obj.object_value = message.objectValue ? Any.toAmino(message.objectValue) : undefined; - obj.map_value = message.mapValue ? MapValue.toAmino(message.mapValue) : undefined; - obj.list_value = message.listValue ? ListValue.toAmino(message.listValue) : undefined; - obj.type_value = message.typeValue; - return obj; - }, - fromAminoMsg(object: ValueAminoMsg): Value { - return Value.fromAmino(object.value); - }, - fromProtoMsg(message: ValueProtoMsg): Value { - return Value.decode(message.value); - }, - toProto(message: Value): Uint8Array { - return Value.encode(message).finish(); - }, - toProtoMsg(message: Value): ValueProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.Value", - value: Value.encode(message).finish() - }; - } -}; -function createBaseEnumValue(): EnumValue { - return { - type: "", - value: 0 - }; -} -export const EnumValue = { - typeUrl: "/google.api.expr.v1beta1.EnumValue", - encode(message: EnumValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== "") { - writer.uint32(10).string(message.type); - } - if (message.value !== 0) { - writer.uint32(16).int32(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EnumValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - message.value = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EnumValue { - const obj = createBaseEnumValue(); - if (isSet(object.type)) obj.type = String(object.type); - if (isSet(object.value)) obj.value = Number(object.value); - return obj; - }, - toJSON(message: EnumValue): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - message.value !== undefined && (obj.value = Math.round(message.value)); - return obj; - }, - fromPartial(object: DeepPartial): EnumValue { - const message = createBaseEnumValue(); - message.type = object.type ?? ""; - message.value = object.value ?? 0; - return message; - }, - fromSDK(object: EnumValueSDKType): EnumValue { - return { - type: object?.type, - value: object?.value - }; - }, - toSDK(message: EnumValue): EnumValueSDKType { - const obj: any = {}; - obj.type = message.type; - obj.value = message.value; - return obj; - }, - fromAmino(object: EnumValueAmino): EnumValue { - return { - type: object.type, - value: object.value - }; - }, - toAmino(message: EnumValue): EnumValueAmino { - const obj: any = {}; - obj.type = message.type; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: EnumValueAminoMsg): EnumValue { - return EnumValue.fromAmino(object.value); - }, - fromProtoMsg(message: EnumValueProtoMsg): EnumValue { - return EnumValue.decode(message.value); - }, - toProto(message: EnumValue): Uint8Array { - return EnumValue.encode(message).finish(); - }, - toProtoMsg(message: EnumValue): EnumValueProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.EnumValue", - value: EnumValue.encode(message).finish() - }; - } -}; -function createBaseListValue(): ListValue { - return { - values: [] - }; -} -export const ListValue = { - typeUrl: "/google.api.expr.v1beta1.ListValue", - encode(message: ListValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.values) { - Value.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.values.push(Value.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListValue { - const obj = createBaseListValue(); - if (Array.isArray(object?.values)) obj.values = object.values.map((e: any) => Value.fromJSON(e)); - return obj; - }, - toJSON(message: ListValue): unknown { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toJSON(e) : undefined); - } else { - obj.values = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ListValue { - const message = createBaseListValue(); - message.values = object.values?.map(e => Value.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ListValueSDKType): ListValue { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromSDK(e)) : [] - }; - }, - toSDK(message: ListValue): ListValueSDKType { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toSDK(e) : undefined); - } else { - obj.values = []; - } - return obj; - }, - fromAmino(object: ListValueAmino): ListValue { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromAmino(e)) : [] - }; - }, - toAmino(message: ListValue): ListValueAmino { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toAmino(e) : undefined); - } else { - obj.values = []; - } - return obj; - }, - fromAminoMsg(object: ListValueAminoMsg): ListValue { - return ListValue.fromAmino(object.value); - }, - fromProtoMsg(message: ListValueProtoMsg): ListValue { - return ListValue.decode(message.value); - }, - toProto(message: ListValue): Uint8Array { - return ListValue.encode(message).finish(); - }, - toProtoMsg(message: ListValue): ListValueProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.ListValue", - value: ListValue.encode(message).finish() - }; - } -}; -function createBaseMapValue(): MapValue { - return { - entries: [] - }; -} -export const MapValue = { - typeUrl: "/google.api.expr.v1beta1.MapValue", - encode(message: MapValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.entries) { - MapValue_Entry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MapValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMapValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.entries.push(MapValue_Entry.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MapValue { - const obj = createBaseMapValue(); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => MapValue_Entry.fromJSON(e)); - return obj; - }, - toJSON(message: MapValue): unknown { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? MapValue_Entry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MapValue { - const message = createBaseMapValue(); - message.entries = object.entries?.map(e => MapValue_Entry.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MapValueSDKType): MapValue { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => MapValue_Entry.fromSDK(e)) : [] - }; - }, - toSDK(message: MapValue): MapValueSDKType { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? MapValue_Entry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAmino(object: MapValueAmino): MapValue { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => MapValue_Entry.fromAmino(e)) : [] - }; - }, - toAmino(message: MapValue): MapValueAmino { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? MapValue_Entry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - return obj; - }, - fromAminoMsg(object: MapValueAminoMsg): MapValue { - return MapValue.fromAmino(object.value); - }, - fromProtoMsg(message: MapValueProtoMsg): MapValue { - return MapValue.decode(message.value); - }, - toProto(message: MapValue): Uint8Array { - return MapValue.encode(message).finish(); - }, - toProtoMsg(message: MapValue): MapValueProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.MapValue", - value: MapValue.encode(message).finish() - }; - } -}; -function createBaseMapValue_Entry(): MapValue_Entry { - return { - key: Value.fromPartial({}), - value: Value.fromPartial({}) - }; -} -export const MapValue_Entry = { - typeUrl: "/google.api.expr.v1beta1.Entry", - encode(message: MapValue_Entry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== undefined) { - Value.encode(message.key, writer.uint32(10).fork()).ldelim(); - } - if (message.value !== undefined) { - Value.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MapValue_Entry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMapValue_Entry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = Value.decode(reader, reader.uint32()); - break; - case 2: - message.value = Value.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MapValue_Entry { - const obj = createBaseMapValue_Entry(); - if (isSet(object.key)) obj.key = Value.fromJSON(object.key); - if (isSet(object.value)) obj.value = Value.fromJSON(object.value); - return obj; - }, - toJSON(message: MapValue_Entry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key ? Value.toJSON(message.key) : undefined); - message.value !== undefined && (obj.value = message.value ? Value.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MapValue_Entry { - const message = createBaseMapValue_Entry(); - if (object.key !== undefined && object.key !== null) { - message.key = Value.fromPartial(object.key); - } - if (object.value !== undefined && object.value !== null) { - message.value = Value.fromPartial(object.value); - } - return message; - }, - fromSDK(object: MapValue_EntrySDKType): MapValue_Entry { - return { - key: object.key ? Value.fromSDK(object.key) : undefined, - value: object.value ? Value.fromSDK(object.value) : undefined - }; - }, - toSDK(message: MapValue_Entry): MapValue_EntrySDKType { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key ? Value.toSDK(message.key) : undefined); - message.value !== undefined && (obj.value = message.value ? Value.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: MapValue_EntryAmino): MapValue_Entry { - return { - key: object?.key ? Value.fromAmino(object.key) : undefined, - value: object?.value ? Value.fromAmino(object.value) : undefined - }; - }, - toAmino(message: MapValue_Entry): MapValue_EntryAmino { - const obj: any = {}; - obj.key = message.key ? Value.toAmino(message.key) : undefined; - obj.value = message.value ? Value.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: MapValue_EntryAminoMsg): MapValue_Entry { - return MapValue_Entry.fromAmino(object.value); - }, - fromProtoMsg(message: MapValue_EntryProtoMsg): MapValue_Entry { - return MapValue_Entry.decode(message.value); - }, - toProto(message: MapValue_Entry): Uint8Array { - return MapValue_Entry.encode(message).finish(); - }, - toProtoMsg(message: MapValue_Entry): MapValue_EntryProtoMsg { - return { - typeUrl: "/google.api.expr.v1beta1.Entry", - value: MapValue_Entry.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/field_behavior.ts b/quicksilverjs/src/codegen/google/api/field_behavior.ts deleted file mode 100644 index c0dd57096..000000000 --- a/quicksilverjs/src/codegen/google/api/field_behavior.ts +++ /dev/null @@ -1,116 +0,0 @@ -export const protobufPackage = "google.api"; -/** - * An indicator of the behavior of a given field (for example, that a field - * is required in requests, or given as output but ignored as input). - * This **does not** change the behavior in protocol buffers itself; it only - * denotes the behavior and may affect how API tooling handles the field. - * - * Note: This enum **may** receive new values in the future. - */ -export enum FieldBehavior { - /** FIELD_BEHAVIOR_UNSPECIFIED - Conventional default for enums. Do not use this. */ - FIELD_BEHAVIOR_UNSPECIFIED = 0, - /** - * OPTIONAL - Specifically denotes a field as optional. - * While all fields in protocol buffers are optional, this may be specified - * for emphasis if appropriate. - */ - OPTIONAL = 1, - /** - * REQUIRED - Denotes a field as required. - * This indicates that the field **must** be provided as part of the request, - * and failure to do so will cause an error (usually `INVALID_ARGUMENT`). - */ - REQUIRED = 2, - /** - * OUTPUT_ONLY - Denotes a field as output only. - * This indicates that the field is provided in responses, but including the - * field in a request does nothing (the server *must* ignore it and - * *must not* throw an error as a result of the field's presence). - */ - OUTPUT_ONLY = 3, - /** - * INPUT_ONLY - Denotes a field as input only. - * This indicates that the field is provided in requests, and the - * corresponding field is not included in output. - */ - INPUT_ONLY = 4, - /** - * IMMUTABLE - Denotes a field as immutable. - * This indicates that the field may be set once in a request to create a - * resource, but may not be changed thereafter. - */ - IMMUTABLE = 5, - /** - * UNORDERED_LIST - Denotes that a (repeated) field is an unordered list. - * This indicates that the service may provide the elements of the list - * in any arbitrary order, rather than the order the user originally - * provided. Additionally, the list's order may or may not be stable. - */ - UNORDERED_LIST = 6, - /** - * NON_EMPTY_DEFAULT - Denotes that this field returns a non-empty default value if not set. - * This indicates that if the user provides the empty value in a request, - * a non-empty value will be returned. The user will not be aware of what - * non-empty value to expect. - */ - NON_EMPTY_DEFAULT = 7, - UNRECOGNIZED = -1, -} -export const FieldBehaviorSDKType = FieldBehavior; -export const FieldBehaviorAmino = FieldBehavior; -export function fieldBehaviorFromJSON(object: any): FieldBehavior { - switch (object) { - case 0: - case "FIELD_BEHAVIOR_UNSPECIFIED": - return FieldBehavior.FIELD_BEHAVIOR_UNSPECIFIED; - case 1: - case "OPTIONAL": - return FieldBehavior.OPTIONAL; - case 2: - case "REQUIRED": - return FieldBehavior.REQUIRED; - case 3: - case "OUTPUT_ONLY": - return FieldBehavior.OUTPUT_ONLY; - case 4: - case "INPUT_ONLY": - return FieldBehavior.INPUT_ONLY; - case 5: - case "IMMUTABLE": - return FieldBehavior.IMMUTABLE; - case 6: - case "UNORDERED_LIST": - return FieldBehavior.UNORDERED_LIST; - case 7: - case "NON_EMPTY_DEFAULT": - return FieldBehavior.NON_EMPTY_DEFAULT; - case -1: - case "UNRECOGNIZED": - default: - return FieldBehavior.UNRECOGNIZED; - } -} -export function fieldBehaviorToJSON(object: FieldBehavior): string { - switch (object) { - case FieldBehavior.FIELD_BEHAVIOR_UNSPECIFIED: - return "FIELD_BEHAVIOR_UNSPECIFIED"; - case FieldBehavior.OPTIONAL: - return "OPTIONAL"; - case FieldBehavior.REQUIRED: - return "REQUIRED"; - case FieldBehavior.OUTPUT_ONLY: - return "OUTPUT_ONLY"; - case FieldBehavior.INPUT_ONLY: - return "INPUT_ONLY"; - case FieldBehavior.IMMUTABLE: - return "IMMUTABLE"; - case FieldBehavior.UNORDERED_LIST: - return "UNORDERED_LIST"; - case FieldBehavior.NON_EMPTY_DEFAULT: - return "NON_EMPTY_DEFAULT"; - case FieldBehavior.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/http.ts b/quicksilverjs/src/codegen/google/api/http.ts deleted file mode 100644 index 2b09f221c..000000000 --- a/quicksilverjs/src/codegen/google/api/http.ts +++ /dev/null @@ -1,1451 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ -export interface Http { - /** - * A list of HTTP configuration rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: HttpRule[]; - /** - * When set to true, URL path parameters will be fully URI-decoded except in - * cases of single segment matches in reserved expansion, where "%2F" will be - * left encoded. - * - * The default behavior is to not decode RFC 6570 reserved characters in multi - * segment matches. - */ - fullyDecodeReservedExpansion: boolean; -} -export interface HttpProtoMsg { - typeUrl: "/google.api.Http"; - value: Uint8Array; -} -/** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ -export interface HttpAmino { - /** - * A list of HTTP configuration rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: HttpRuleAmino[]; - /** - * When set to true, URL path parameters will be fully URI-decoded except in - * cases of single segment matches in reserved expansion, where "%2F" will be - * left encoded. - * - * The default behavior is to not decode RFC 6570 reserved characters in multi - * segment matches. - */ - fully_decode_reserved_expansion: boolean; -} -export interface HttpAminoMsg { - type: "/google.api.Http"; - value: HttpAmino; -} -/** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - */ -export interface HttpSDKType { - rules: HttpRuleSDKType[]; - fully_decode_reserved_expansion: boolean; -} -/** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ -export interface HttpRule { - /** - * Selects a method to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * Maps to HTTP GET. Used for listing and getting information about - * resources. - */ - get?: string; - /** Maps to HTTP PUT. Used for replacing a resource. */ - put?: string; - /** Maps to HTTP POST. Used for creating a resource or performing an action. */ - post?: string; - /** Maps to HTTP DELETE. Used for deleting a resource. */ - delete?: string; - /** Maps to HTTP PATCH. Used for updating a resource. */ - patch?: string; - /** - * The custom pattern is used for specifying an HTTP method that is not - * included in the `pattern` field, such as HEAD, or "*" to leave the - * HTTP method unspecified for this rule. The wild-card rule is useful - * for services that provide content to Web (HTML) clients. - */ - custom?: CustomHttpPattern; - /** - * The name of the request field whose value is mapped to the HTTP request - * body, or `*` for mapping all request fields not captured by the path - * pattern to the HTTP body, or omitted for not having any HTTP request body. - * - * NOTE: the referred field must be present at the top-level of the request - * message type. - */ - body: string; - /** - * Optional. The name of the response field whose value is mapped to the HTTP - * response body. When omitted, the entire response message will be used - * as the HTTP response body. - * - * NOTE: The referred field must be present at the top-level of the response - * message type. - */ - responseBody: string; - /** - * Additional HTTP bindings for the selector. Nested bindings must - * not contain an `additional_bindings` field themselves (that is, - * the nesting may only be one level deep). - */ - additionalBindings: HttpRule[]; -} -export interface HttpRuleProtoMsg { - typeUrl: "/google.api.HttpRule"; - value: Uint8Array; -} -/** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ -export interface HttpRuleAmino { - /** - * Selects a method to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * Maps to HTTP GET. Used for listing and getting information about - * resources. - */ - get?: string; - /** Maps to HTTP PUT. Used for replacing a resource. */ - put?: string; - /** Maps to HTTP POST. Used for creating a resource or performing an action. */ - post?: string; - /** Maps to HTTP DELETE. Used for deleting a resource. */ - delete?: string; - /** Maps to HTTP PATCH. Used for updating a resource. */ - patch?: string; - /** - * The custom pattern is used for specifying an HTTP method that is not - * included in the `pattern` field, such as HEAD, or "*" to leave the - * HTTP method unspecified for this rule. The wild-card rule is useful - * for services that provide content to Web (HTML) clients. - */ - custom?: CustomHttpPatternAmino; - /** - * The name of the request field whose value is mapped to the HTTP request - * body, or `*` for mapping all request fields not captured by the path - * pattern to the HTTP body, or omitted for not having any HTTP request body. - * - * NOTE: the referred field must be present at the top-level of the request - * message type. - */ - body: string; - /** - * Optional. The name of the response field whose value is mapped to the HTTP - * response body. When omitted, the entire response message will be used - * as the HTTP response body. - * - * NOTE: The referred field must be present at the top-level of the response - * message type. - */ - response_body: string; - /** - * Additional HTTP bindings for the selector. Nested bindings must - * not contain an `additional_bindings` field themselves (that is, - * the nesting may only be one level deep). - */ - additional_bindings: HttpRuleAmino[]; -} -export interface HttpRuleAminoMsg { - type: "/google.api.HttpRule"; - value: HttpRuleAmino; -} -/** - * # gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456?revision=2&sub.subfield=foo` | - * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: - * "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * HTTP | gRPC - * -----|----- - * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: - * "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * HTTP | gRPC - * -----|----- - * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` - * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: - * "123456")` - * - * ## Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all - * fields are passed via URL path and URL query parameters. - * - * ### Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * ## Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * Example: - * - * http: - * rules: - * # Selects a gRPC method and applies HttpRule to it. - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * ## Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - */ -export interface HttpRuleSDKType { - selector: string; - get?: string; - put?: string; - post?: string; - delete?: string; - patch?: string; - custom?: CustomHttpPatternSDKType; - body: string; - response_body: string; - additional_bindings: HttpRuleSDKType[]; -} -/** A custom pattern is used for defining custom HTTP verb. */ -export interface CustomHttpPattern { - /** The name of this custom HTTP verb. */ - kind: string; - /** The path matched by this custom verb. */ - path: string; -} -export interface CustomHttpPatternProtoMsg { - typeUrl: "/google.api.CustomHttpPattern"; - value: Uint8Array; -} -/** A custom pattern is used for defining custom HTTP verb. */ -export interface CustomHttpPatternAmino { - /** The name of this custom HTTP verb. */ - kind: string; - /** The path matched by this custom verb. */ - path: string; -} -export interface CustomHttpPatternAminoMsg { - type: "/google.api.CustomHttpPattern"; - value: CustomHttpPatternAmino; -} -/** A custom pattern is used for defining custom HTTP verb. */ -export interface CustomHttpPatternSDKType { - kind: string; - path: string; -} -function createBaseHttp(): Http { - return { - rules: [], - fullyDecodeReservedExpansion: false - }; -} -export const Http = { - typeUrl: "/google.api.Http", - encode(message: Http, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rules) { - HttpRule.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.fullyDecodeReservedExpansion === true) { - writer.uint32(16).bool(message.fullyDecodeReservedExpansion); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Http { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHttp(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rules.push(HttpRule.decode(reader, reader.uint32())); - break; - case 2: - message.fullyDecodeReservedExpansion = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Http { - const obj = createBaseHttp(); - if (Array.isArray(object?.rules)) obj.rules = object.rules.map((e: any) => HttpRule.fromJSON(e)); - if (isSet(object.fullyDecodeReservedExpansion)) obj.fullyDecodeReservedExpansion = Boolean(object.fullyDecodeReservedExpansion); - return obj; - }, - toJSON(message: Http): unknown { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? HttpRule.toJSON(e) : undefined); - } else { - obj.rules = []; - } - message.fullyDecodeReservedExpansion !== undefined && (obj.fullyDecodeReservedExpansion = message.fullyDecodeReservedExpansion); - return obj; - }, - fromPartial(object: DeepPartial): Http { - const message = createBaseHttp(); - message.rules = object.rules?.map(e => HttpRule.fromPartial(e)) || []; - message.fullyDecodeReservedExpansion = object.fullyDecodeReservedExpansion ?? false; - return message; - }, - fromSDK(object: HttpSDKType): Http { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => HttpRule.fromSDK(e)) : [], - fullyDecodeReservedExpansion: object?.fully_decode_reserved_expansion - }; - }, - toSDK(message: Http): HttpSDKType { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? HttpRule.toSDK(e) : undefined); - } else { - obj.rules = []; - } - obj.fully_decode_reserved_expansion = message.fullyDecodeReservedExpansion; - return obj; - }, - fromAmino(object: HttpAmino): Http { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => HttpRule.fromAmino(e)) : [], - fullyDecodeReservedExpansion: object.fully_decode_reserved_expansion - }; - }, - toAmino(message: Http): HttpAmino { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? HttpRule.toAmino(e) : undefined); - } else { - obj.rules = []; - } - obj.fully_decode_reserved_expansion = message.fullyDecodeReservedExpansion; - return obj; - }, - fromAminoMsg(object: HttpAminoMsg): Http { - return Http.fromAmino(object.value); - }, - fromProtoMsg(message: HttpProtoMsg): Http { - return Http.decode(message.value); - }, - toProto(message: Http): Uint8Array { - return Http.encode(message).finish(); - }, - toProtoMsg(message: Http): HttpProtoMsg { - return { - typeUrl: "/google.api.Http", - value: Http.encode(message).finish() - }; - } -}; -function createBaseHttpRule(): HttpRule { - return { - selector: "", - get: undefined, - put: undefined, - post: undefined, - delete: undefined, - patch: undefined, - custom: undefined, - body: "", - responseBody: "", - additionalBindings: [] - }; -} -export const HttpRule = { - typeUrl: "/google.api.HttpRule", - encode(message: HttpRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.selector !== "") { - writer.uint32(10).string(message.selector); - } - if (message.get !== undefined) { - writer.uint32(18).string(message.get); - } - if (message.put !== undefined) { - writer.uint32(26).string(message.put); - } - if (message.post !== undefined) { - writer.uint32(34).string(message.post); - } - if (message.delete !== undefined) { - writer.uint32(42).string(message.delete); - } - if (message.patch !== undefined) { - writer.uint32(50).string(message.patch); - } - if (message.custom !== undefined) { - CustomHttpPattern.encode(message.custom, writer.uint32(66).fork()).ldelim(); - } - if (message.body !== "") { - writer.uint32(58).string(message.body); - } - if (message.responseBody !== "") { - writer.uint32(98).string(message.responseBody); - } - for (const v of message.additionalBindings) { - HttpRule.encode(v!, writer.uint32(90).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): HttpRule { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHttpRule(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - message.get = reader.string(); - break; - case 3: - message.put = reader.string(); - break; - case 4: - message.post = reader.string(); - break; - case 5: - message.delete = reader.string(); - break; - case 6: - message.patch = reader.string(); - break; - case 8: - message.custom = CustomHttpPattern.decode(reader, reader.uint32()); - break; - case 7: - message.body = reader.string(); - break; - case 12: - message.responseBody = reader.string(); - break; - case 11: - message.additionalBindings.push(HttpRule.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): HttpRule { - const obj = createBaseHttpRule(); - if (isSet(object.selector)) obj.selector = String(object.selector); - if (isSet(object.get)) obj.get = String(object.get); - if (isSet(object.put)) obj.put = String(object.put); - if (isSet(object.post)) obj.post = String(object.post); - if (isSet(object.delete)) obj.delete = String(object.delete); - if (isSet(object.patch)) obj.patch = String(object.patch); - if (isSet(object.custom)) obj.custom = CustomHttpPattern.fromJSON(object.custom); - if (isSet(object.body)) obj.body = String(object.body); - if (isSet(object.responseBody)) obj.responseBody = String(object.responseBody); - if (Array.isArray(object?.additionalBindings)) obj.additionalBindings = object.additionalBindings.map((e: any) => HttpRule.fromJSON(e)); - return obj; - }, - toJSON(message: HttpRule): unknown { - const obj: any = {}; - message.selector !== undefined && (obj.selector = message.selector); - message.get !== undefined && (obj.get = message.get); - message.put !== undefined && (obj.put = message.put); - message.post !== undefined && (obj.post = message.post); - message.delete !== undefined && (obj.delete = message.delete); - message.patch !== undefined && (obj.patch = message.patch); - message.custom !== undefined && (obj.custom = message.custom ? CustomHttpPattern.toJSON(message.custom) : undefined); - message.body !== undefined && (obj.body = message.body); - message.responseBody !== undefined && (obj.responseBody = message.responseBody); - if (message.additionalBindings) { - obj.additionalBindings = message.additionalBindings.map(e => e ? HttpRule.toJSON(e) : undefined); - } else { - obj.additionalBindings = []; - } - return obj; - }, - fromPartial(object: DeepPartial): HttpRule { - const message = createBaseHttpRule(); - message.selector = object.selector ?? ""; - message.get = object.get ?? undefined; - message.put = object.put ?? undefined; - message.post = object.post ?? undefined; - message.delete = object.delete ?? undefined; - message.patch = object.patch ?? undefined; - if (object.custom !== undefined && object.custom !== null) { - message.custom = CustomHttpPattern.fromPartial(object.custom); - } - message.body = object.body ?? ""; - message.responseBody = object.responseBody ?? ""; - message.additionalBindings = object.additionalBindings?.map(e => HttpRule.fromPartial(e)) || []; - return message; - }, - fromSDK(object: HttpRuleSDKType): HttpRule { - return { - selector: object?.selector, - get: object?.get, - put: object?.put, - post: object?.post, - delete: object?.delete, - patch: object?.patch, - custom: object.custom ? CustomHttpPattern.fromSDK(object.custom) : undefined, - body: object?.body, - responseBody: object?.response_body, - additionalBindings: Array.isArray(object?.additional_bindings) ? object.additional_bindings.map((e: any) => HttpRule.fromSDK(e)) : [] - }; - }, - toSDK(message: HttpRule): HttpRuleSDKType { - const obj: any = {}; - obj.selector = message.selector; - obj.get = message.get; - obj.put = message.put; - obj.post = message.post; - obj.delete = message.delete; - obj.patch = message.patch; - message.custom !== undefined && (obj.custom = message.custom ? CustomHttpPattern.toSDK(message.custom) : undefined); - obj.body = message.body; - obj.response_body = message.responseBody; - if (message.additionalBindings) { - obj.additional_bindings = message.additionalBindings.map(e => e ? HttpRule.toSDK(e) : undefined); - } else { - obj.additional_bindings = []; - } - return obj; - }, - fromAmino(object: HttpRuleAmino): HttpRule { - return { - selector: object.selector, - get: object?.get, - put: object?.put, - post: object?.post, - delete: object?.delete, - patch: object?.patch, - custom: object?.custom ? CustomHttpPattern.fromAmino(object.custom) : undefined, - body: object.body, - responseBody: object.response_body, - additionalBindings: Array.isArray(object?.additional_bindings) ? object.additional_bindings.map((e: any) => HttpRule.fromAmino(e)) : [] - }; - }, - toAmino(message: HttpRule): HttpRuleAmino { - const obj: any = {}; - obj.selector = message.selector; - obj.get = message.get; - obj.put = message.put; - obj.post = message.post; - obj.delete = message.delete; - obj.patch = message.patch; - obj.custom = message.custom ? CustomHttpPattern.toAmino(message.custom) : undefined; - obj.body = message.body; - obj.response_body = message.responseBody; - if (message.additionalBindings) { - obj.additional_bindings = message.additionalBindings.map(e => e ? HttpRule.toAmino(e) : undefined); - } else { - obj.additional_bindings = []; - } - return obj; - }, - fromAminoMsg(object: HttpRuleAminoMsg): HttpRule { - return HttpRule.fromAmino(object.value); - }, - fromProtoMsg(message: HttpRuleProtoMsg): HttpRule { - return HttpRule.decode(message.value); - }, - toProto(message: HttpRule): Uint8Array { - return HttpRule.encode(message).finish(); - }, - toProtoMsg(message: HttpRule): HttpRuleProtoMsg { - return { - typeUrl: "/google.api.HttpRule", - value: HttpRule.encode(message).finish() - }; - } -}; -function createBaseCustomHttpPattern(): CustomHttpPattern { - return { - kind: "", - path: "" - }; -} -export const CustomHttpPattern = { - typeUrl: "/google.api.CustomHttpPattern", - encode(message: CustomHttpPattern, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.kind !== "") { - writer.uint32(10).string(message.kind); - } - if (message.path !== "") { - writer.uint32(18).string(message.path); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CustomHttpPattern { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCustomHttpPattern(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.kind = reader.string(); - break; - case 2: - message.path = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CustomHttpPattern { - const obj = createBaseCustomHttpPattern(); - if (isSet(object.kind)) obj.kind = String(object.kind); - if (isSet(object.path)) obj.path = String(object.path); - return obj; - }, - toJSON(message: CustomHttpPattern): unknown { - const obj: any = {}; - message.kind !== undefined && (obj.kind = message.kind); - message.path !== undefined && (obj.path = message.path); - return obj; - }, - fromPartial(object: DeepPartial): CustomHttpPattern { - const message = createBaseCustomHttpPattern(); - message.kind = object.kind ?? ""; - message.path = object.path ?? ""; - return message; - }, - fromSDK(object: CustomHttpPatternSDKType): CustomHttpPattern { - return { - kind: object?.kind, - path: object?.path - }; - }, - toSDK(message: CustomHttpPattern): CustomHttpPatternSDKType { - const obj: any = {}; - obj.kind = message.kind; - obj.path = message.path; - return obj; - }, - fromAmino(object: CustomHttpPatternAmino): CustomHttpPattern { - return { - kind: object.kind, - path: object.path - }; - }, - toAmino(message: CustomHttpPattern): CustomHttpPatternAmino { - const obj: any = {}; - obj.kind = message.kind; - obj.path = message.path; - return obj; - }, - fromAminoMsg(object: CustomHttpPatternAminoMsg): CustomHttpPattern { - return CustomHttpPattern.fromAmino(object.value); - }, - fromProtoMsg(message: CustomHttpPatternProtoMsg): CustomHttpPattern { - return CustomHttpPattern.decode(message.value); - }, - toProto(message: CustomHttpPattern): Uint8Array { - return CustomHttpPattern.encode(message).finish(); - }, - toProtoMsg(message: CustomHttpPattern): CustomHttpPatternProtoMsg { - return { - typeUrl: "/google.api.CustomHttpPattern", - value: CustomHttpPattern.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/httpbody.ts b/quicksilverjs/src/codegen/google/api/httpbody.ts deleted file mode 100644 index df3d6854c..000000000 --- a/quicksilverjs/src/codegen/google/api/httpbody.ts +++ /dev/null @@ -1,295 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * Message that represents an arbitrary HTTP body. It should only be used for - * payload formats that can't be represented as JSON, such as raw binary or - * an HTML page. - * - * - * This message can be used both in streaming and non-streaming API methods in - * the request as well as the response. - * - * It can be used as a top-level request field, which is convenient if one - * wants to extract parameters from either the URL or HTTP template into the - * request fields and also want access to the raw HTTP body. - * - * Example: - * - * message GetResourceRequest { - * // A unique request id. - * string request_id = 1; - * - * // The raw HTTP body is bound to this field. - * google.api.HttpBody http_body = 2; - * - * } - * - * service ResourceService { - * rpc GetResource(GetResourceRequest) - * returns (google.api.HttpBody); - * rpc UpdateResource(google.api.HttpBody) - * returns (google.protobuf.Empty); - * - * } - * - * Example with streaming methods: - * - * service CaldavService { - * rpc GetCalendar(stream google.api.HttpBody) - * returns (stream google.api.HttpBody); - * rpc UpdateCalendar(stream google.api.HttpBody) - * returns (stream google.api.HttpBody); - * - * } - * - * Use of this type only changes how the request and response bodies are - * handled, all other features will continue to work unchanged. - */ -export interface HttpBody { - /** The HTTP Content-Type header value specifying the content type of the body. */ - contentType: string; - /** The HTTP request/response body as raw binary. */ - data: Uint8Array; - /** - * Application specific response metadata. Must be set in the first response - * for streaming APIs. - */ - extensions: Any[]; -} -export interface HttpBodyProtoMsg { - typeUrl: "/google.api.HttpBody"; - value: Uint8Array; -} -/** - * Message that represents an arbitrary HTTP body. It should only be used for - * payload formats that can't be represented as JSON, such as raw binary or - * an HTML page. - * - * - * This message can be used both in streaming and non-streaming API methods in - * the request as well as the response. - * - * It can be used as a top-level request field, which is convenient if one - * wants to extract parameters from either the URL or HTTP template into the - * request fields and also want access to the raw HTTP body. - * - * Example: - * - * message GetResourceRequest { - * // A unique request id. - * string request_id = 1; - * - * // The raw HTTP body is bound to this field. - * google.api.HttpBody http_body = 2; - * - * } - * - * service ResourceService { - * rpc GetResource(GetResourceRequest) - * returns (google.api.HttpBody); - * rpc UpdateResource(google.api.HttpBody) - * returns (google.protobuf.Empty); - * - * } - * - * Example with streaming methods: - * - * service CaldavService { - * rpc GetCalendar(stream google.api.HttpBody) - * returns (stream google.api.HttpBody); - * rpc UpdateCalendar(stream google.api.HttpBody) - * returns (stream google.api.HttpBody); - * - * } - * - * Use of this type only changes how the request and response bodies are - * handled, all other features will continue to work unchanged. - */ -export interface HttpBodyAmino { - /** The HTTP Content-Type header value specifying the content type of the body. */ - content_type: string; - /** The HTTP request/response body as raw binary. */ - data: Uint8Array; - /** - * Application specific response metadata. Must be set in the first response - * for streaming APIs. - */ - extensions: AnyAmino[]; -} -export interface HttpBodyAminoMsg { - type: "/google.api.HttpBody"; - value: HttpBodyAmino; -} -/** - * Message that represents an arbitrary HTTP body. It should only be used for - * payload formats that can't be represented as JSON, such as raw binary or - * an HTML page. - * - * - * This message can be used both in streaming and non-streaming API methods in - * the request as well as the response. - * - * It can be used as a top-level request field, which is convenient if one - * wants to extract parameters from either the URL or HTTP template into the - * request fields and also want access to the raw HTTP body. - * - * Example: - * - * message GetResourceRequest { - * // A unique request id. - * string request_id = 1; - * - * // The raw HTTP body is bound to this field. - * google.api.HttpBody http_body = 2; - * - * } - * - * service ResourceService { - * rpc GetResource(GetResourceRequest) - * returns (google.api.HttpBody); - * rpc UpdateResource(google.api.HttpBody) - * returns (google.protobuf.Empty); - * - * } - * - * Example with streaming methods: - * - * service CaldavService { - * rpc GetCalendar(stream google.api.HttpBody) - * returns (stream google.api.HttpBody); - * rpc UpdateCalendar(stream google.api.HttpBody) - * returns (stream google.api.HttpBody); - * - * } - * - * Use of this type only changes how the request and response bodies are - * handled, all other features will continue to work unchanged. - */ -export interface HttpBodySDKType { - content_type: string; - data: Uint8Array; - extensions: AnySDKType[]; -} -function createBaseHttpBody(): HttpBody { - return { - contentType: "", - data: new Uint8Array(), - extensions: [] - }; -} -export const HttpBody = { - typeUrl: "/google.api.HttpBody", - encode(message: HttpBody, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.contentType !== "") { - writer.uint32(10).string(message.contentType); - } - if (message.data.length !== 0) { - writer.uint32(18).bytes(message.data); - } - for (const v of message.extensions) { - Any.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): HttpBody { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHttpBody(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.contentType = reader.string(); - break; - case 2: - message.data = reader.bytes(); - break; - case 3: - message.extensions.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): HttpBody { - const obj = createBaseHttpBody(); - if (isSet(object.contentType)) obj.contentType = String(object.contentType); - if (isSet(object.data)) obj.data = bytesFromBase64(object.data); - if (Array.isArray(object?.extensions)) obj.extensions = object.extensions.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: HttpBody): unknown { - const obj: any = {}; - message.contentType !== undefined && (obj.contentType = message.contentType); - message.data !== undefined && (obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array())); - if (message.extensions) { - obj.extensions = message.extensions.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.extensions = []; - } - return obj; - }, - fromPartial(object: DeepPartial): HttpBody { - const message = createBaseHttpBody(); - message.contentType = object.contentType ?? ""; - message.data = object.data ?? new Uint8Array(); - message.extensions = object.extensions?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: HttpBodySDKType): HttpBody { - return { - contentType: object?.content_type, - data: object?.data, - extensions: Array.isArray(object?.extensions) ? object.extensions.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: HttpBody): HttpBodySDKType { - const obj: any = {}; - obj.content_type = message.contentType; - obj.data = message.data; - if (message.extensions) { - obj.extensions = message.extensions.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.extensions = []; - } - return obj; - }, - fromAmino(object: HttpBodyAmino): HttpBody { - return { - contentType: object.content_type, - data: object.data, - extensions: Array.isArray(object?.extensions) ? object.extensions.map((e: any) => Any.fromAmino(e)) : [] - }; - }, - toAmino(message: HttpBody): HttpBodyAmino { - const obj: any = {}; - obj.content_type = message.contentType; - obj.data = message.data; - if (message.extensions) { - obj.extensions = message.extensions.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.extensions = []; - } - return obj; - }, - fromAminoMsg(object: HttpBodyAminoMsg): HttpBody { - return HttpBody.fromAmino(object.value); - }, - fromProtoMsg(message: HttpBodyProtoMsg): HttpBody { - return HttpBody.decode(message.value); - }, - toProto(message: HttpBody): Uint8Array { - return HttpBody.encode(message).finish(); - }, - toProtoMsg(message: HttpBody): HttpBodyProtoMsg { - return { - typeUrl: "/google.api.HttpBody", - value: HttpBody.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/label.ts b/quicksilverjs/src/codegen/google/api/label.ts deleted file mode 100644 index 53e9d7436..000000000 --- a/quicksilverjs/src/codegen/google/api/label.ts +++ /dev/null @@ -1,186 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** Value types that can be used as label values. */ -export enum LabelDescriptor_ValueType { - /** STRING - A variable-length string. This is the default. */ - STRING = 0, - /** BOOL - Boolean; true or false. */ - BOOL = 1, - /** INT64 - A 64-bit signed integer. */ - INT64 = 2, - UNRECOGNIZED = -1, -} -export const LabelDescriptor_ValueTypeSDKType = LabelDescriptor_ValueType; -export const LabelDescriptor_ValueTypeAmino = LabelDescriptor_ValueType; -export function labelDescriptor_ValueTypeFromJSON(object: any): LabelDescriptor_ValueType { - switch (object) { - case 0: - case "STRING": - return LabelDescriptor_ValueType.STRING; - case 1: - case "BOOL": - return LabelDescriptor_ValueType.BOOL; - case 2: - case "INT64": - return LabelDescriptor_ValueType.INT64; - case -1: - case "UNRECOGNIZED": - default: - return LabelDescriptor_ValueType.UNRECOGNIZED; - } -} -export function labelDescriptor_ValueTypeToJSON(object: LabelDescriptor_ValueType): string { - switch (object) { - case LabelDescriptor_ValueType.STRING: - return "STRING"; - case LabelDescriptor_ValueType.BOOL: - return "BOOL"; - case LabelDescriptor_ValueType.INT64: - return "INT64"; - case LabelDescriptor_ValueType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** A description of a label. */ -export interface LabelDescriptor { - /** The label key. */ - key: string; - /** The type of data that can be assigned to the label. */ - valueType: LabelDescriptor_ValueType; - /** A human-readable description for the label. */ - description: string; -} -export interface LabelDescriptorProtoMsg { - typeUrl: "/google.api.LabelDescriptor"; - value: Uint8Array; -} -/** A description of a label. */ -export interface LabelDescriptorAmino { - /** The label key. */ - key: string; - /** The type of data that can be assigned to the label. */ - value_type: LabelDescriptor_ValueType; - /** A human-readable description for the label. */ - description: string; -} -export interface LabelDescriptorAminoMsg { - type: "/google.api.LabelDescriptor"; - value: LabelDescriptorAmino; -} -/** A description of a label. */ -export interface LabelDescriptorSDKType { - key: string; - value_type: LabelDescriptor_ValueType; - description: string; -} -function createBaseLabelDescriptor(): LabelDescriptor { - return { - key: "", - valueType: 0, - description: "" - }; -} -export const LabelDescriptor = { - typeUrl: "/google.api.LabelDescriptor", - encode(message: LabelDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.valueType !== 0) { - writer.uint32(16).int32(message.valueType); - } - if (message.description !== "") { - writer.uint32(26).string(message.description); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LabelDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLabelDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.valueType = (reader.int32() as any); - break; - case 3: - message.description = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LabelDescriptor { - const obj = createBaseLabelDescriptor(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.valueType)) obj.valueType = labelDescriptor_ValueTypeFromJSON(object.valueType); - if (isSet(object.description)) obj.description = String(object.description); - return obj; - }, - toJSON(message: LabelDescriptor): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.valueType !== undefined && (obj.valueType = labelDescriptor_ValueTypeToJSON(message.valueType)); - message.description !== undefined && (obj.description = message.description); - return obj; - }, - fromPartial(object: DeepPartial): LabelDescriptor { - const message = createBaseLabelDescriptor(); - message.key = object.key ?? ""; - message.valueType = object.valueType ?? 0; - message.description = object.description ?? ""; - return message; - }, - fromSDK(object: LabelDescriptorSDKType): LabelDescriptor { - return { - key: object?.key, - valueType: isSet(object.value_type) ? labelDescriptor_ValueTypeFromJSON(object.value_type) : -1, - description: object?.description - }; - }, - toSDK(message: LabelDescriptor): LabelDescriptorSDKType { - const obj: any = {}; - obj.key = message.key; - message.valueType !== undefined && (obj.value_type = labelDescriptor_ValueTypeToJSON(message.valueType)); - obj.description = message.description; - return obj; - }, - fromAmino(object: LabelDescriptorAmino): LabelDescriptor { - return { - key: object.key, - valueType: isSet(object.value_type) ? labelDescriptor_ValueTypeFromJSON(object.value_type) : -1, - description: object.description - }; - }, - toAmino(message: LabelDescriptor): LabelDescriptorAmino { - const obj: any = {}; - obj.key = message.key; - obj.value_type = message.valueType; - obj.description = message.description; - return obj; - }, - fromAminoMsg(object: LabelDescriptorAminoMsg): LabelDescriptor { - return LabelDescriptor.fromAmino(object.value); - }, - fromProtoMsg(message: LabelDescriptorProtoMsg): LabelDescriptor { - return LabelDescriptor.decode(message.value); - }, - toProto(message: LabelDescriptor): Uint8Array { - return LabelDescriptor.encode(message).finish(); - }, - toProtoMsg(message: LabelDescriptor): LabelDescriptorProtoMsg { - return { - typeUrl: "/google.api.LabelDescriptor", - value: LabelDescriptor.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/launch_stage.ts b/quicksilverjs/src/codegen/google/api/launch_stage.ts deleted file mode 100644 index ff8af064a..000000000 --- a/quicksilverjs/src/codegen/google/api/launch_stage.ts +++ /dev/null @@ -1,112 +0,0 @@ -export const protobufPackage = "google.api"; -/** - * The launch stage as defined by [Google Cloud Platform - * Launch Stages](http://cloud.google.com/terms/launch-stages). - */ -export enum LaunchStage { - /** LAUNCH_STAGE_UNSPECIFIED - Do not use this default value. */ - LAUNCH_STAGE_UNSPECIFIED = 0, - /** UNIMPLEMENTED - The feature is not yet implemented. Users can not use it. */ - UNIMPLEMENTED = 6, - /** PRELAUNCH - Prelaunch features are hidden from users and are only visible internally. */ - PRELAUNCH = 7, - /** - * EARLY_ACCESS - Early Access features are limited to a closed group of testers. To use - * these features, you must sign up in advance and sign a Trusted Tester - * agreement (which includes confidentiality provisions). These features may - * be unstable, changed in backward-incompatible ways, and are not - * guaranteed to be released. - */ - EARLY_ACCESS = 1, - /** - * ALPHA - Alpha is a limited availability test for releases before they are cleared - * for widespread use. By Alpha, all significant design issues are resolved - * and we are in the process of verifying functionality. Alpha customers - * need to apply for access, agree to applicable terms, and have their - * projects allowlisted. Alpha releases don’t have to be feature complete, - * no SLAs are provided, and there are no technical support obligations, but - * they will be far enough along that customers can actually use them in - * test environments or for limited-use tests -- just like they would in - * normal production cases. - */ - ALPHA = 2, - /** - * BETA - Beta is the point at which we are ready to open a release for any - * customer to use. There are no SLA or technical support obligations in a - * Beta release. Products will be complete from a feature perspective, but - * may have some open outstanding issues. Beta releases are suitable for - * limited production use cases. - */ - BETA = 3, - /** - * GA - GA features are open to all developers and are considered stable and - * fully qualified for production use. - */ - GA = 4, - /** - * DEPRECATED - Deprecated features are scheduled to be shut down and removed. For more - * information, see the “Deprecation Policy” section of our [Terms of - * Service](https://cloud.google.com/terms/) - * and the [Google Cloud Platform Subject to the Deprecation - * Policy](https://cloud.google.com/terms/deprecation) documentation. - */ - DEPRECATED = 5, - UNRECOGNIZED = -1, -} -export const LaunchStageSDKType = LaunchStage; -export const LaunchStageAmino = LaunchStage; -export function launchStageFromJSON(object: any): LaunchStage { - switch (object) { - case 0: - case "LAUNCH_STAGE_UNSPECIFIED": - return LaunchStage.LAUNCH_STAGE_UNSPECIFIED; - case 6: - case "UNIMPLEMENTED": - return LaunchStage.UNIMPLEMENTED; - case 7: - case "PRELAUNCH": - return LaunchStage.PRELAUNCH; - case 1: - case "EARLY_ACCESS": - return LaunchStage.EARLY_ACCESS; - case 2: - case "ALPHA": - return LaunchStage.ALPHA; - case 3: - case "BETA": - return LaunchStage.BETA; - case 4: - case "GA": - return LaunchStage.GA; - case 5: - case "DEPRECATED": - return LaunchStage.DEPRECATED; - case -1: - case "UNRECOGNIZED": - default: - return LaunchStage.UNRECOGNIZED; - } -} -export function launchStageToJSON(object: LaunchStage): string { - switch (object) { - case LaunchStage.LAUNCH_STAGE_UNSPECIFIED: - return "LAUNCH_STAGE_UNSPECIFIED"; - case LaunchStage.UNIMPLEMENTED: - return "UNIMPLEMENTED"; - case LaunchStage.PRELAUNCH: - return "PRELAUNCH"; - case LaunchStage.EARLY_ACCESS: - return "EARLY_ACCESS"; - case LaunchStage.ALPHA: - return "ALPHA"; - case LaunchStage.BETA: - return "BETA"; - case LaunchStage.GA: - return "GA"; - case LaunchStage.DEPRECATED: - return "DEPRECATED"; - case LaunchStage.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/log.ts b/quicksilverjs/src/codegen/google/api/log.ts deleted file mode 100644 index d312e685e..000000000 --- a/quicksilverjs/src/codegen/google/api/log.ts +++ /dev/null @@ -1,233 +0,0 @@ -import { LabelDescriptor, LabelDescriptorAmino, LabelDescriptorSDKType } from "./label"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * A description of a log type. Example in YAML format: - * - * - name: library.googleapis.com/activity_history - * description: The history of borrowing and returning library items. - * display_name: Activity - * labels: - * - key: /customer_id - * description: Identifier of a library customer - */ -export interface LogDescriptor { - /** - * The name of the log. It must be less than 512 characters long and can - * include the following characters: upper- and lower-case alphanumeric - * characters [A-Za-z0-9], and punctuation characters including - * slash, underscore, hyphen, period [/_-.]. - */ - name: string; - /** - * The set of labels that are available to describe a specific log entry. - * Runtime requests that contain labels not specified here are - * considered invalid. - */ - labels: LabelDescriptor[]; - /** - * A human-readable description of this log. This information appears in - * the documentation and can contain details. - */ - description: string; - /** - * The human-readable name for this log. This information appears on - * the user interface and should be concise. - */ - displayName: string; -} -export interface LogDescriptorProtoMsg { - typeUrl: "/google.api.LogDescriptor"; - value: Uint8Array; -} -/** - * A description of a log type. Example in YAML format: - * - * - name: library.googleapis.com/activity_history - * description: The history of borrowing and returning library items. - * display_name: Activity - * labels: - * - key: /customer_id - * description: Identifier of a library customer - */ -export interface LogDescriptorAmino { - /** - * The name of the log. It must be less than 512 characters long and can - * include the following characters: upper- and lower-case alphanumeric - * characters [A-Za-z0-9], and punctuation characters including - * slash, underscore, hyphen, period [/_-.]. - */ - name: string; - /** - * The set of labels that are available to describe a specific log entry. - * Runtime requests that contain labels not specified here are - * considered invalid. - */ - labels: LabelDescriptorAmino[]; - /** - * A human-readable description of this log. This information appears in - * the documentation and can contain details. - */ - description: string; - /** - * The human-readable name for this log. This information appears on - * the user interface and should be concise. - */ - display_name: string; -} -export interface LogDescriptorAminoMsg { - type: "/google.api.LogDescriptor"; - value: LogDescriptorAmino; -} -/** - * A description of a log type. Example in YAML format: - * - * - name: library.googleapis.com/activity_history - * description: The history of borrowing and returning library items. - * display_name: Activity - * labels: - * - key: /customer_id - * description: Identifier of a library customer - */ -export interface LogDescriptorSDKType { - name: string; - labels: LabelDescriptorSDKType[]; - description: string; - display_name: string; -} -function createBaseLogDescriptor(): LogDescriptor { - return { - name: "", - labels: [], - description: "", - displayName: "" - }; -} -export const LogDescriptor = { - typeUrl: "/google.api.LogDescriptor", - encode(message: LogDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - for (const v of message.labels) { - LabelDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.description !== "") { - writer.uint32(26).string(message.description); - } - if (message.displayName !== "") { - writer.uint32(34).string(message.displayName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.labels.push(LabelDescriptor.decode(reader, reader.uint32())); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.displayName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogDescriptor { - const obj = createBaseLogDescriptor(); - if (isSet(object.name)) obj.name = String(object.name); - if (Array.isArray(object?.labels)) obj.labels = object.labels.map((e: any) => LabelDescriptor.fromJSON(e)); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.displayName)) obj.displayName = String(object.displayName); - return obj; - }, - toJSON(message: LogDescriptor): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.labels) { - obj.labels = message.labels.map(e => e ? LabelDescriptor.toJSON(e) : undefined); - } else { - obj.labels = []; - } - message.description !== undefined && (obj.description = message.description); - message.displayName !== undefined && (obj.displayName = message.displayName); - return obj; - }, - fromPartial(object: DeepPartial): LogDescriptor { - const message = createBaseLogDescriptor(); - message.name = object.name ?? ""; - message.labels = object.labels?.map(e => LabelDescriptor.fromPartial(e)) || []; - message.description = object.description ?? ""; - message.displayName = object.displayName ?? ""; - return message; - }, - fromSDK(object: LogDescriptorSDKType): LogDescriptor { - return { - name: object?.name, - labels: Array.isArray(object?.labels) ? object.labels.map((e: any) => LabelDescriptor.fromSDK(e)) : [], - description: object?.description, - displayName: object?.display_name - }; - }, - toSDK(message: LogDescriptor): LogDescriptorSDKType { - const obj: any = {}; - obj.name = message.name; - if (message.labels) { - obj.labels = message.labels.map(e => e ? LabelDescriptor.toSDK(e) : undefined); - } else { - obj.labels = []; - } - obj.description = message.description; - obj.display_name = message.displayName; - return obj; - }, - fromAmino(object: LogDescriptorAmino): LogDescriptor { - return { - name: object.name, - labels: Array.isArray(object?.labels) ? object.labels.map((e: any) => LabelDescriptor.fromAmino(e)) : [], - description: object.description, - displayName: object.display_name - }; - }, - toAmino(message: LogDescriptor): LogDescriptorAmino { - const obj: any = {}; - obj.name = message.name; - if (message.labels) { - obj.labels = message.labels.map(e => e ? LabelDescriptor.toAmino(e) : undefined); - } else { - obj.labels = []; - } - obj.description = message.description; - obj.display_name = message.displayName; - return obj; - }, - fromAminoMsg(object: LogDescriptorAminoMsg): LogDescriptor { - return LogDescriptor.fromAmino(object.value); - }, - fromProtoMsg(message: LogDescriptorProtoMsg): LogDescriptor { - return LogDescriptor.decode(message.value); - }, - toProto(message: LogDescriptor): Uint8Array { - return LogDescriptor.encode(message).finish(); - }, - toProtoMsg(message: LogDescriptor): LogDescriptorProtoMsg { - return { - typeUrl: "/google.api.LogDescriptor", - value: LogDescriptor.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/logging.ts b/quicksilverjs/src/codegen/google/api/logging.ts deleted file mode 100644 index d38c52439..000000000 --- a/quicksilverjs/src/codegen/google/api/logging.ts +++ /dev/null @@ -1,418 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * Logging configuration of the service. - * - * The following example shows how to configure logs to be sent to the - * producer and consumer projects. In the example, the `activity_history` - * log is sent to both the producer and consumer projects, whereas the - * `purchase_history` log is only sent to the producer project. - * - * monitored_resources: - * - type: library.googleapis.com/branch - * labels: - * - key: /city - * description: The city where the library branch is located in. - * - key: /name - * description: The name of the branch. - * logs: - * - name: activity_history - * labels: - * - key: /customer_id - * - name: purchase_history - * logging: - * producer_destinations: - * - monitored_resource: library.googleapis.com/branch - * logs: - * - activity_history - * - purchase_history - * consumer_destinations: - * - monitored_resource: library.googleapis.com/branch - * logs: - * - activity_history - */ -export interface Logging { - /** - * Logging configurations for sending logs to the producer project. - * There can be multiple producer destinations, each one must have a - * different monitored resource type. A log can be used in at most - * one producer destination. - */ - producerDestinations: Logging_LoggingDestination[]; - /** - * Logging configurations for sending logs to the consumer project. - * There can be multiple consumer destinations, each one must have a - * different monitored resource type. A log can be used in at most - * one consumer destination. - */ - consumerDestinations: Logging_LoggingDestination[]; -} -export interface LoggingProtoMsg { - typeUrl: "/google.api.Logging"; - value: Uint8Array; -} -/** - * Logging configuration of the service. - * - * The following example shows how to configure logs to be sent to the - * producer and consumer projects. In the example, the `activity_history` - * log is sent to both the producer and consumer projects, whereas the - * `purchase_history` log is only sent to the producer project. - * - * monitored_resources: - * - type: library.googleapis.com/branch - * labels: - * - key: /city - * description: The city where the library branch is located in. - * - key: /name - * description: The name of the branch. - * logs: - * - name: activity_history - * labels: - * - key: /customer_id - * - name: purchase_history - * logging: - * producer_destinations: - * - monitored_resource: library.googleapis.com/branch - * logs: - * - activity_history - * - purchase_history - * consumer_destinations: - * - monitored_resource: library.googleapis.com/branch - * logs: - * - activity_history - */ -export interface LoggingAmino { - /** - * Logging configurations for sending logs to the producer project. - * There can be multiple producer destinations, each one must have a - * different monitored resource type. A log can be used in at most - * one producer destination. - */ - producer_destinations: Logging_LoggingDestinationAmino[]; - /** - * Logging configurations for sending logs to the consumer project. - * There can be multiple consumer destinations, each one must have a - * different monitored resource type. A log can be used in at most - * one consumer destination. - */ - consumer_destinations: Logging_LoggingDestinationAmino[]; -} -export interface LoggingAminoMsg { - type: "/google.api.Logging"; - value: LoggingAmino; -} -/** - * Logging configuration of the service. - * - * The following example shows how to configure logs to be sent to the - * producer and consumer projects. In the example, the `activity_history` - * log is sent to both the producer and consumer projects, whereas the - * `purchase_history` log is only sent to the producer project. - * - * monitored_resources: - * - type: library.googleapis.com/branch - * labels: - * - key: /city - * description: The city where the library branch is located in. - * - key: /name - * description: The name of the branch. - * logs: - * - name: activity_history - * labels: - * - key: /customer_id - * - name: purchase_history - * logging: - * producer_destinations: - * - monitored_resource: library.googleapis.com/branch - * logs: - * - activity_history - * - purchase_history - * consumer_destinations: - * - monitored_resource: library.googleapis.com/branch - * logs: - * - activity_history - */ -export interface LoggingSDKType { - producer_destinations: Logging_LoggingDestinationSDKType[]; - consumer_destinations: Logging_LoggingDestinationSDKType[]; -} -/** - * Configuration of a specific logging destination (the producer project - * or the consumer project). - */ -export interface Logging_LoggingDestination { - /** - * The monitored resource type. The type must be defined in the - * [Service.monitored_resources][google.api.Service.monitored_resources] section. - */ - monitoredResource: string; - /** - * Names of the logs to be sent to this destination. Each name must - * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is - * not a domain scoped name, it will be automatically prefixed with - * the service name followed by "/". - */ - logs: string[]; -} -export interface Logging_LoggingDestinationProtoMsg { - typeUrl: "/google.api.LoggingDestination"; - value: Uint8Array; -} -/** - * Configuration of a specific logging destination (the producer project - * or the consumer project). - */ -export interface Logging_LoggingDestinationAmino { - /** - * The monitored resource type. The type must be defined in the - * [Service.monitored_resources][google.api.Service.monitored_resources] section. - */ - monitored_resource: string; - /** - * Names of the logs to be sent to this destination. Each name must - * be defined in the [Service.logs][google.api.Service.logs] section. If the log name is - * not a domain scoped name, it will be automatically prefixed with - * the service name followed by "/". - */ - logs: string[]; -} -export interface Logging_LoggingDestinationAminoMsg { - type: "/google.api.LoggingDestination"; - value: Logging_LoggingDestinationAmino; -} -/** - * Configuration of a specific logging destination (the producer project - * or the consumer project). - */ -export interface Logging_LoggingDestinationSDKType { - monitored_resource: string; - logs: string[]; -} -function createBaseLogging(): Logging { - return { - producerDestinations: [], - consumerDestinations: [] - }; -} -export const Logging = { - typeUrl: "/google.api.Logging", - encode(message: Logging, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.producerDestinations) { - Logging_LoggingDestination.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.consumerDestinations) { - Logging_LoggingDestination.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Logging { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogging(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.producerDestinations.push(Logging_LoggingDestination.decode(reader, reader.uint32())); - break; - case 2: - message.consumerDestinations.push(Logging_LoggingDestination.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Logging { - const obj = createBaseLogging(); - if (Array.isArray(object?.producerDestinations)) obj.producerDestinations = object.producerDestinations.map((e: any) => Logging_LoggingDestination.fromJSON(e)); - if (Array.isArray(object?.consumerDestinations)) obj.consumerDestinations = object.consumerDestinations.map((e: any) => Logging_LoggingDestination.fromJSON(e)); - return obj; - }, - toJSON(message: Logging): unknown { - const obj: any = {}; - if (message.producerDestinations) { - obj.producerDestinations = message.producerDestinations.map(e => e ? Logging_LoggingDestination.toJSON(e) : undefined); - } else { - obj.producerDestinations = []; - } - if (message.consumerDestinations) { - obj.consumerDestinations = message.consumerDestinations.map(e => e ? Logging_LoggingDestination.toJSON(e) : undefined); - } else { - obj.consumerDestinations = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Logging { - const message = createBaseLogging(); - message.producerDestinations = object.producerDestinations?.map(e => Logging_LoggingDestination.fromPartial(e)) || []; - message.consumerDestinations = object.consumerDestinations?.map(e => Logging_LoggingDestination.fromPartial(e)) || []; - return message; - }, - fromSDK(object: LoggingSDKType): Logging { - return { - producerDestinations: Array.isArray(object?.producer_destinations) ? object.producer_destinations.map((e: any) => Logging_LoggingDestination.fromSDK(e)) : [], - consumerDestinations: Array.isArray(object?.consumer_destinations) ? object.consumer_destinations.map((e: any) => Logging_LoggingDestination.fromSDK(e)) : [] - }; - }, - toSDK(message: Logging): LoggingSDKType { - const obj: any = {}; - if (message.producerDestinations) { - obj.producer_destinations = message.producerDestinations.map(e => e ? Logging_LoggingDestination.toSDK(e) : undefined); - } else { - obj.producer_destinations = []; - } - if (message.consumerDestinations) { - obj.consumer_destinations = message.consumerDestinations.map(e => e ? Logging_LoggingDestination.toSDK(e) : undefined); - } else { - obj.consumer_destinations = []; - } - return obj; - }, - fromAmino(object: LoggingAmino): Logging { - return { - producerDestinations: Array.isArray(object?.producer_destinations) ? object.producer_destinations.map((e: any) => Logging_LoggingDestination.fromAmino(e)) : [], - consumerDestinations: Array.isArray(object?.consumer_destinations) ? object.consumer_destinations.map((e: any) => Logging_LoggingDestination.fromAmino(e)) : [] - }; - }, - toAmino(message: Logging): LoggingAmino { - const obj: any = {}; - if (message.producerDestinations) { - obj.producer_destinations = message.producerDestinations.map(e => e ? Logging_LoggingDestination.toAmino(e) : undefined); - } else { - obj.producer_destinations = []; - } - if (message.consumerDestinations) { - obj.consumer_destinations = message.consumerDestinations.map(e => e ? Logging_LoggingDestination.toAmino(e) : undefined); - } else { - obj.consumer_destinations = []; - } - return obj; - }, - fromAminoMsg(object: LoggingAminoMsg): Logging { - return Logging.fromAmino(object.value); - }, - fromProtoMsg(message: LoggingProtoMsg): Logging { - return Logging.decode(message.value); - }, - toProto(message: Logging): Uint8Array { - return Logging.encode(message).finish(); - }, - toProtoMsg(message: Logging): LoggingProtoMsg { - return { - typeUrl: "/google.api.Logging", - value: Logging.encode(message).finish() - }; - } -}; -function createBaseLogging_LoggingDestination(): Logging_LoggingDestination { - return { - monitoredResource: "", - logs: [] - }; -} -export const Logging_LoggingDestination = { - typeUrl: "/google.api.LoggingDestination", - encode(message: Logging_LoggingDestination, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.monitoredResource !== "") { - writer.uint32(26).string(message.monitoredResource); - } - for (const v of message.logs) { - writer.uint32(10).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Logging_LoggingDestination { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogging_LoggingDestination(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 3: - message.monitoredResource = reader.string(); - break; - case 1: - message.logs.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Logging_LoggingDestination { - const obj = createBaseLogging_LoggingDestination(); - if (isSet(object.monitoredResource)) obj.monitoredResource = String(object.monitoredResource); - if (Array.isArray(object?.logs)) obj.logs = object.logs.map((e: any) => String(e)); - return obj; - }, - toJSON(message: Logging_LoggingDestination): unknown { - const obj: any = {}; - message.monitoredResource !== undefined && (obj.monitoredResource = message.monitoredResource); - if (message.logs) { - obj.logs = message.logs.map(e => e); - } else { - obj.logs = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Logging_LoggingDestination { - const message = createBaseLogging_LoggingDestination(); - message.monitoredResource = object.monitoredResource ?? ""; - message.logs = object.logs?.map(e => e) || []; - return message; - }, - fromSDK(object: Logging_LoggingDestinationSDKType): Logging_LoggingDestination { - return { - monitoredResource: object?.monitored_resource, - logs: Array.isArray(object?.logs) ? object.logs.map((e: any) => e) : [] - }; - }, - toSDK(message: Logging_LoggingDestination): Logging_LoggingDestinationSDKType { - const obj: any = {}; - obj.monitored_resource = message.monitoredResource; - if (message.logs) { - obj.logs = message.logs.map(e => e); - } else { - obj.logs = []; - } - return obj; - }, - fromAmino(object: Logging_LoggingDestinationAmino): Logging_LoggingDestination { - return { - monitoredResource: object.monitored_resource, - logs: Array.isArray(object?.logs) ? object.logs.map((e: any) => e) : [] - }; - }, - toAmino(message: Logging_LoggingDestination): Logging_LoggingDestinationAmino { - const obj: any = {}; - obj.monitored_resource = message.monitoredResource; - if (message.logs) { - obj.logs = message.logs.map(e => e); - } else { - obj.logs = []; - } - return obj; - }, - fromAminoMsg(object: Logging_LoggingDestinationAminoMsg): Logging_LoggingDestination { - return Logging_LoggingDestination.fromAmino(object.value); - }, - fromProtoMsg(message: Logging_LoggingDestinationProtoMsg): Logging_LoggingDestination { - return Logging_LoggingDestination.decode(message.value); - }, - toProto(message: Logging_LoggingDestination): Uint8Array { - return Logging_LoggingDestination.encode(message).finish(); - }, - toProtoMsg(message: Logging_LoggingDestination): Logging_LoggingDestinationProtoMsg { - return { - typeUrl: "/google.api.LoggingDestination", - value: Logging_LoggingDestination.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/metric.ts b/quicksilverjs/src/codegen/google/api/metric.ts deleted file mode 100644 index 75aa92685..000000000 --- a/quicksilverjs/src/codegen/google/api/metric.ts +++ /dev/null @@ -1,1210 +0,0 @@ -import { LaunchStage, LaunchStageSDKType, launchStageFromJSON, launchStageToJSON } from "./launch_stage"; -import { Duration, DurationAmino, DurationSDKType } from "../protobuf/duration"; -import { LabelDescriptor, LabelDescriptorAmino, LabelDescriptorSDKType } from "./label"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, isObject } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * The kind of measurement. It describes how the data is reported. - * For information on setting the start time and end time based on - * the MetricKind, see [TimeInterval][google.monitoring.v3.TimeInterval]. - */ -export enum MetricDescriptor_MetricKind { - /** METRIC_KIND_UNSPECIFIED - Do not use this default value. */ - METRIC_KIND_UNSPECIFIED = 0, - /** GAUGE - An instantaneous measurement of a value. */ - GAUGE = 1, - /** DELTA - The change in a value during a time interval. */ - DELTA = 2, - /** - * CUMULATIVE - A value accumulated over a time interval. Cumulative - * measurements in a time series should have the same start time - * and increasing end times, until an event resets the cumulative - * value to zero and sets a new start time for the following - * points. - */ - CUMULATIVE = 3, - UNRECOGNIZED = -1, -} -export const MetricDescriptor_MetricKindSDKType = MetricDescriptor_MetricKind; -export const MetricDescriptor_MetricKindAmino = MetricDescriptor_MetricKind; -export function metricDescriptor_MetricKindFromJSON(object: any): MetricDescriptor_MetricKind { - switch (object) { - case 0: - case "METRIC_KIND_UNSPECIFIED": - return MetricDescriptor_MetricKind.METRIC_KIND_UNSPECIFIED; - case 1: - case "GAUGE": - return MetricDescriptor_MetricKind.GAUGE; - case 2: - case "DELTA": - return MetricDescriptor_MetricKind.DELTA; - case 3: - case "CUMULATIVE": - return MetricDescriptor_MetricKind.CUMULATIVE; - case -1: - case "UNRECOGNIZED": - default: - return MetricDescriptor_MetricKind.UNRECOGNIZED; - } -} -export function metricDescriptor_MetricKindToJSON(object: MetricDescriptor_MetricKind): string { - switch (object) { - case MetricDescriptor_MetricKind.METRIC_KIND_UNSPECIFIED: - return "METRIC_KIND_UNSPECIFIED"; - case MetricDescriptor_MetricKind.GAUGE: - return "GAUGE"; - case MetricDescriptor_MetricKind.DELTA: - return "DELTA"; - case MetricDescriptor_MetricKind.CUMULATIVE: - return "CUMULATIVE"; - case MetricDescriptor_MetricKind.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** The value type of a metric. */ -export enum MetricDescriptor_ValueType { - /** VALUE_TYPE_UNSPECIFIED - Do not use this default value. */ - VALUE_TYPE_UNSPECIFIED = 0, - /** - * BOOL - The value is a boolean. - * This value type can be used only if the metric kind is `GAUGE`. - */ - BOOL = 1, - /** INT64 - The value is a signed 64-bit integer. */ - INT64 = 2, - /** DOUBLE - The value is a double precision floating point number. */ - DOUBLE = 3, - /** - * STRING - The value is a text string. - * This value type can be used only if the metric kind is `GAUGE`. - */ - STRING = 4, - /** DISTRIBUTION - The value is a [`Distribution`][google.api.Distribution]. */ - DISTRIBUTION = 5, - /** MONEY - The value is money. */ - MONEY = 6, - UNRECOGNIZED = -1, -} -export const MetricDescriptor_ValueTypeSDKType = MetricDescriptor_ValueType; -export const MetricDescriptor_ValueTypeAmino = MetricDescriptor_ValueType; -export function metricDescriptor_ValueTypeFromJSON(object: any): MetricDescriptor_ValueType { - switch (object) { - case 0: - case "VALUE_TYPE_UNSPECIFIED": - return MetricDescriptor_ValueType.VALUE_TYPE_UNSPECIFIED; - case 1: - case "BOOL": - return MetricDescriptor_ValueType.BOOL; - case 2: - case "INT64": - return MetricDescriptor_ValueType.INT64; - case 3: - case "DOUBLE": - return MetricDescriptor_ValueType.DOUBLE; - case 4: - case "STRING": - return MetricDescriptor_ValueType.STRING; - case 5: - case "DISTRIBUTION": - return MetricDescriptor_ValueType.DISTRIBUTION; - case 6: - case "MONEY": - return MetricDescriptor_ValueType.MONEY; - case -1: - case "UNRECOGNIZED": - default: - return MetricDescriptor_ValueType.UNRECOGNIZED; - } -} -export function metricDescriptor_ValueTypeToJSON(object: MetricDescriptor_ValueType): string { - switch (object) { - case MetricDescriptor_ValueType.VALUE_TYPE_UNSPECIFIED: - return "VALUE_TYPE_UNSPECIFIED"; - case MetricDescriptor_ValueType.BOOL: - return "BOOL"; - case MetricDescriptor_ValueType.INT64: - return "INT64"; - case MetricDescriptor_ValueType.DOUBLE: - return "DOUBLE"; - case MetricDescriptor_ValueType.STRING: - return "STRING"; - case MetricDescriptor_ValueType.DISTRIBUTION: - return "DISTRIBUTION"; - case MetricDescriptor_ValueType.MONEY: - return "MONEY"; - case MetricDescriptor_ValueType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * Defines a metric type and its schema. Once a metric descriptor is created, - * deleting or altering it stops data collection and makes the metric type's - * existing data unusable. - */ -export interface MetricDescriptor { - /** The resource name of the metric descriptor. */ - name: string; - /** - * The metric type, including its DNS name prefix. The type is not - * URL-encoded. All user-defined metric types have the DNS name - * `custom.googleapis.com` or `external.googleapis.com`. Metric types should - * use a natural hierarchical grouping. For example: - * - * "custom.googleapis.com/invoice/paid/amount" - * "external.googleapis.com/prometheus/up" - * "appengine.googleapis.com/http/server/response_latencies" - */ - type: string; - /** - * The set of labels that can be used to describe a specific - * instance of this metric type. For example, the - * `appengine.googleapis.com/http/server/response_latencies` metric - * type has a label for the HTTP response code, `response_code`, so - * you can look at latencies for successful responses or just - * for responses that failed. - */ - labels: LabelDescriptor[]; - /** - * Whether the metric records instantaneous values, changes to a value, etc. - * Some combinations of `metric_kind` and `value_type` might not be supported. - */ - metricKind: MetricDescriptor_MetricKind; - /** - * Whether the measurement is an integer, a floating-point number, etc. - * Some combinations of `metric_kind` and `value_type` might not be supported. - */ - valueType: MetricDescriptor_ValueType; - /** - * The units in which the metric value is reported. It is only applicable - * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` - * defines the representation of the stored metric values. - * - * Different systems might scale the values to be more easily displayed (so a - * value of `0.02kBy` _might_ be displayed as `20By`, and a value of - * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is - * `kBy`, then the value of the metric is always in thousands of bytes, no - * matter how it might be displayed. - * - * If you want a custom metric to record the exact number of CPU-seconds used - * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is - * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 - * CPU-seconds, then the value is written as `12005`. - * - * Alternatively, if you want a custom metric to record data in a more - * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is - * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), - * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). - * - * The supported units are a subset of [The Unified Code for Units of - * Measure](https://unitsofmeasure.org/ucum.html) standard: - * - * **Basic units (UNIT)** - * - * * `bit` bit - * * `By` byte - * * `s` second - * * `min` minute - * * `h` hour - * * `d` day - * * `1` dimensionless - * - * **Prefixes (PREFIX)** - * - * * `k` kilo (10^3) - * * `M` mega (10^6) - * * `G` giga (10^9) - * * `T` tera (10^12) - * * `P` peta (10^15) - * * `E` exa (10^18) - * * `Z` zetta (10^21) - * * `Y` yotta (10^24) - * - * * `m` milli (10^-3) - * * `u` micro (10^-6) - * * `n` nano (10^-9) - * * `p` pico (10^-12) - * * `f` femto (10^-15) - * * `a` atto (10^-18) - * * `z` zepto (10^-21) - * * `y` yocto (10^-24) - * - * * `Ki` kibi (2^10) - * * `Mi` mebi (2^20) - * * `Gi` gibi (2^30) - * * `Ti` tebi (2^40) - * * `Pi` pebi (2^50) - * - * **Grammar** - * - * The grammar also includes these connectors: - * - * * `/` division or ratio (as an infix operator). For examples, - * `kBy/{email}` or `MiBy/10ms` (although you should almost never - * have `/s` in a metric `unit`; rates should always be computed at - * query time from the underlying cumulative or delta value). - * * `.` multiplication or composition (as an infix operator). For - * examples, `GBy.d` or `k{watt}.h`. - * - * The grammar for a unit is as follows: - * - * Expression = Component { "." Component } { "/" Component } ; - * - * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - * | Annotation - * | "1" - * ; - * - * Annotation = "{" NAME "}" ; - * - * Notes: - * - * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation - * is used alone, then the unit is equivalent to `1`. For examples, - * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. - * * `NAME` is a sequence of non-blank printable ASCII characters not - * containing `{` or `}`. - * * `1` represents a unitary [dimensionless - * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such - * as in `1/s`. It is typically used when none of the basic units are - * appropriate. For example, "new users per day" can be represented as - * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new - * users). Alternatively, "thousands of page views per day" would be - * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric - * value of `5.3` would mean "5300 page views per day"). - * * `%` represents dimensionless value of 1/100, and annotates values giving - * a percentage (so the metric values are typically in the range of 0..100, - * and a metric value `3` means "3 percent"). - * * `10^2.%` indicates a metric contains a ratio, typically in the range - * 0..1, that will be multiplied by 100 and displayed as a percentage - * (so a metric value `0.03` means "3 percent"). - */ - unit: string; - /** A detailed description of the metric, which can be used in documentation. */ - description: string; - /** - * A concise name for the metric, which can be displayed in user interfaces. - * Use sentence case without an ending period, for example "Request count". - * This field is optional but it is recommended to be set for any metrics - * associated with user-visible concepts, such as Quota. - */ - displayName: string; - /** Optional. Metadata which can be used to guide usage of the metric. */ - metadata: MetricDescriptor_MetricDescriptorMetadata; - /** Optional. The launch stage of the metric definition. */ - launchStage: LaunchStage; - /** - * Read-only. If present, then a [time - * series][google.monitoring.v3.TimeSeries], which is identified partially by - * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated - * with this metric type can only be associated with one of the monitored - * resource types listed here. - */ - monitoredResourceTypes: string[]; -} -export interface MetricDescriptorProtoMsg { - typeUrl: "/google.api.MetricDescriptor"; - value: Uint8Array; -} -/** - * Defines a metric type and its schema. Once a metric descriptor is created, - * deleting or altering it stops data collection and makes the metric type's - * existing data unusable. - */ -export interface MetricDescriptorAmino { - /** The resource name of the metric descriptor. */ - name: string; - /** - * The metric type, including its DNS name prefix. The type is not - * URL-encoded. All user-defined metric types have the DNS name - * `custom.googleapis.com` or `external.googleapis.com`. Metric types should - * use a natural hierarchical grouping. For example: - * - * "custom.googleapis.com/invoice/paid/amount" - * "external.googleapis.com/prometheus/up" - * "appengine.googleapis.com/http/server/response_latencies" - */ - type: string; - /** - * The set of labels that can be used to describe a specific - * instance of this metric type. For example, the - * `appengine.googleapis.com/http/server/response_latencies` metric - * type has a label for the HTTP response code, `response_code`, so - * you can look at latencies for successful responses or just - * for responses that failed. - */ - labels: LabelDescriptorAmino[]; - /** - * Whether the metric records instantaneous values, changes to a value, etc. - * Some combinations of `metric_kind` and `value_type` might not be supported. - */ - metric_kind: MetricDescriptor_MetricKind; - /** - * Whether the measurement is an integer, a floating-point number, etc. - * Some combinations of `metric_kind` and `value_type` might not be supported. - */ - value_type: MetricDescriptor_ValueType; - /** - * The units in which the metric value is reported. It is only applicable - * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` - * defines the representation of the stored metric values. - * - * Different systems might scale the values to be more easily displayed (so a - * value of `0.02kBy` _might_ be displayed as `20By`, and a value of - * `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is - * `kBy`, then the value of the metric is always in thousands of bytes, no - * matter how it might be displayed. - * - * If you want a custom metric to record the exact number of CPU-seconds used - * by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is - * `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 - * CPU-seconds, then the value is written as `12005`. - * - * Alternatively, if you want a custom metric to record data in a more - * granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is - * `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), - * or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). - * - * The supported units are a subset of [The Unified Code for Units of - * Measure](https://unitsofmeasure.org/ucum.html) standard: - * - * **Basic units (UNIT)** - * - * * `bit` bit - * * `By` byte - * * `s` second - * * `min` minute - * * `h` hour - * * `d` day - * * `1` dimensionless - * - * **Prefixes (PREFIX)** - * - * * `k` kilo (10^3) - * * `M` mega (10^6) - * * `G` giga (10^9) - * * `T` tera (10^12) - * * `P` peta (10^15) - * * `E` exa (10^18) - * * `Z` zetta (10^21) - * * `Y` yotta (10^24) - * - * * `m` milli (10^-3) - * * `u` micro (10^-6) - * * `n` nano (10^-9) - * * `p` pico (10^-12) - * * `f` femto (10^-15) - * * `a` atto (10^-18) - * * `z` zepto (10^-21) - * * `y` yocto (10^-24) - * - * * `Ki` kibi (2^10) - * * `Mi` mebi (2^20) - * * `Gi` gibi (2^30) - * * `Ti` tebi (2^40) - * * `Pi` pebi (2^50) - * - * **Grammar** - * - * The grammar also includes these connectors: - * - * * `/` division or ratio (as an infix operator). For examples, - * `kBy/{email}` or `MiBy/10ms` (although you should almost never - * have `/s` in a metric `unit`; rates should always be computed at - * query time from the underlying cumulative or delta value). - * * `.` multiplication or composition (as an infix operator). For - * examples, `GBy.d` or `k{watt}.h`. - * - * The grammar for a unit is as follows: - * - * Expression = Component { "." Component } { "/" Component } ; - * - * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] - * | Annotation - * | "1" - * ; - * - * Annotation = "{" NAME "}" ; - * - * Notes: - * - * * `Annotation` is just a comment if it follows a `UNIT`. If the annotation - * is used alone, then the unit is equivalent to `1`. For examples, - * `{request}/s == 1/s`, `By{transmitted}/s == By/s`. - * * `NAME` is a sequence of non-blank printable ASCII characters not - * containing `{` or `}`. - * * `1` represents a unitary [dimensionless - * unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such - * as in `1/s`. It is typically used when none of the basic units are - * appropriate. For example, "new users per day" can be represented as - * `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new - * users). Alternatively, "thousands of page views per day" would be - * represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric - * value of `5.3` would mean "5300 page views per day"). - * * `%` represents dimensionless value of 1/100, and annotates values giving - * a percentage (so the metric values are typically in the range of 0..100, - * and a metric value `3` means "3 percent"). - * * `10^2.%` indicates a metric contains a ratio, typically in the range - * 0..1, that will be multiplied by 100 and displayed as a percentage - * (so a metric value `0.03` means "3 percent"). - */ - unit: string; - /** A detailed description of the metric, which can be used in documentation. */ - description: string; - /** - * A concise name for the metric, which can be displayed in user interfaces. - * Use sentence case without an ending period, for example "Request count". - * This field is optional but it is recommended to be set for any metrics - * associated with user-visible concepts, such as Quota. - */ - display_name: string; - /** Optional. Metadata which can be used to guide usage of the metric. */ - metadata?: MetricDescriptor_MetricDescriptorMetadataAmino; - /** Optional. The launch stage of the metric definition. */ - launch_stage: LaunchStage; - /** - * Read-only. If present, then a [time - * series][google.monitoring.v3.TimeSeries], which is identified partially by - * a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated - * with this metric type can only be associated with one of the monitored - * resource types listed here. - */ - monitored_resource_types: string[]; -} -export interface MetricDescriptorAminoMsg { - type: "/google.api.MetricDescriptor"; - value: MetricDescriptorAmino; -} -/** - * Defines a metric type and its schema. Once a metric descriptor is created, - * deleting or altering it stops data collection and makes the metric type's - * existing data unusable. - */ -export interface MetricDescriptorSDKType { - name: string; - type: string; - labels: LabelDescriptorSDKType[]; - metric_kind: MetricDescriptor_MetricKind; - value_type: MetricDescriptor_ValueType; - unit: string; - description: string; - display_name: string; - metadata: MetricDescriptor_MetricDescriptorMetadataSDKType; - launch_stage: LaunchStage; - monitored_resource_types: string[]; -} -/** Additional annotations that can be used to guide the usage of a metric. */ -export interface MetricDescriptor_MetricDescriptorMetadata { - /** Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead. */ - /** @deprecated */ - launchStage: LaunchStage; - /** - * The sampling period of metric data points. For metrics which are written - * periodically, consecutive data points are stored at this time interval, - * excluding data loss due to errors. Metrics with a higher granularity have - * a smaller sampling period. - */ - samplePeriod: Duration; - /** - * The delay of data points caused by ingestion. Data points older than this - * age are guaranteed to be ingested and available to be read, excluding - * data loss due to errors. - */ - ingestDelay: Duration; -} -export interface MetricDescriptor_MetricDescriptorMetadataProtoMsg { - typeUrl: "/google.api.MetricDescriptorMetadata"; - value: Uint8Array; -} -/** Additional annotations that can be used to guide the usage of a metric. */ -export interface MetricDescriptor_MetricDescriptorMetadataAmino { - /** Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead. */ - /** @deprecated */ - launch_stage: LaunchStage; - /** - * The sampling period of metric data points. For metrics which are written - * periodically, consecutive data points are stored at this time interval, - * excluding data loss due to errors. Metrics with a higher granularity have - * a smaller sampling period. - */ - sample_period?: DurationAmino; - /** - * The delay of data points caused by ingestion. Data points older than this - * age are guaranteed to be ingested and available to be read, excluding - * data loss due to errors. - */ - ingest_delay?: DurationAmino; -} -export interface MetricDescriptor_MetricDescriptorMetadataAminoMsg { - type: "/google.api.MetricDescriptorMetadata"; - value: MetricDescriptor_MetricDescriptorMetadataAmino; -} -/** Additional annotations that can be used to guide the usage of a metric. */ -export interface MetricDescriptor_MetricDescriptorMetadataSDKType { - /** @deprecated */ - launch_stage: LaunchStage; - sample_period: DurationSDKType; - ingest_delay: DurationSDKType; -} -export interface Metric_LabelsEntry { - key: string; - value: string; -} -export interface Metric_LabelsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface Metric_LabelsEntryAmino { - key: string; - value: string; -} -export interface Metric_LabelsEntryAminoMsg { - type: string; - value: Metric_LabelsEntryAmino; -} -export interface Metric_LabelsEntrySDKType { - key: string; - value: string; -} -/** - * A specific metric, identified by specifying values for all of the - * labels of a [`MetricDescriptor`][google.api.MetricDescriptor]. - */ -export interface Metric { - /** - * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor]. - * For example, `custom.googleapis.com/invoice/paid/amount`. - */ - type: string; - /** - * The set of label values that uniquely identify this metric. All - * labels listed in the `MetricDescriptor` must be assigned values. - */ - labels: { - [key: string]: string; - }; -} -export interface MetricProtoMsg { - typeUrl: "/google.api.Metric"; - value: Uint8Array; -} -/** - * A specific metric, identified by specifying values for all of the - * labels of a [`MetricDescriptor`][google.api.MetricDescriptor]. - */ -export interface MetricAmino { - /** - * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor]. - * For example, `custom.googleapis.com/invoice/paid/amount`. - */ - type: string; - /** - * The set of label values that uniquely identify this metric. All - * labels listed in the `MetricDescriptor` must be assigned values. - */ - labels: { - [key: string]: string; - }; -} -export interface MetricAminoMsg { - type: "/google.api.Metric"; - value: MetricAmino; -} -/** - * A specific metric, identified by specifying values for all of the - * labels of a [`MetricDescriptor`][google.api.MetricDescriptor]. - */ -export interface MetricSDKType { - type: string; - labels: { - [key: string]: string; - }; -} -function createBaseMetricDescriptor(): MetricDescriptor { - return { - name: "", - type: "", - labels: [], - metricKind: 0, - valueType: 0, - unit: "", - description: "", - displayName: "", - metadata: MetricDescriptor_MetricDescriptorMetadata.fromPartial({}), - launchStage: 0, - monitoredResourceTypes: [] - }; -} -export const MetricDescriptor = { - typeUrl: "/google.api.MetricDescriptor", - encode(message: MetricDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.type !== "") { - writer.uint32(66).string(message.type); - } - for (const v of message.labels) { - LabelDescriptor.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.metricKind !== 0) { - writer.uint32(24).int32(message.metricKind); - } - if (message.valueType !== 0) { - writer.uint32(32).int32(message.valueType); - } - if (message.unit !== "") { - writer.uint32(42).string(message.unit); - } - if (message.description !== "") { - writer.uint32(50).string(message.description); - } - if (message.displayName !== "") { - writer.uint32(58).string(message.displayName); - } - if (message.metadata !== undefined) { - MetricDescriptor_MetricDescriptorMetadata.encode(message.metadata, writer.uint32(82).fork()).ldelim(); - } - if (message.launchStage !== 0) { - writer.uint32(96).int32(message.launchStage); - } - for (const v of message.monitoredResourceTypes) { - writer.uint32(106).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MetricDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetricDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 8: - message.type = reader.string(); - break; - case 2: - message.labels.push(LabelDescriptor.decode(reader, reader.uint32())); - break; - case 3: - message.metricKind = (reader.int32() as any); - break; - case 4: - message.valueType = (reader.int32() as any); - break; - case 5: - message.unit = reader.string(); - break; - case 6: - message.description = reader.string(); - break; - case 7: - message.displayName = reader.string(); - break; - case 10: - message.metadata = MetricDescriptor_MetricDescriptorMetadata.decode(reader, reader.uint32()); - break; - case 12: - message.launchStage = (reader.int32() as any); - break; - case 13: - message.monitoredResourceTypes.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MetricDescriptor { - const obj = createBaseMetricDescriptor(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.type)) obj.type = String(object.type); - if (Array.isArray(object?.labels)) obj.labels = object.labels.map((e: any) => LabelDescriptor.fromJSON(e)); - if (isSet(object.metricKind)) obj.metricKind = metricDescriptor_MetricKindFromJSON(object.metricKind); - if (isSet(object.valueType)) obj.valueType = metricDescriptor_ValueTypeFromJSON(object.valueType); - if (isSet(object.unit)) obj.unit = String(object.unit); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.displayName)) obj.displayName = String(object.displayName); - if (isSet(object.metadata)) obj.metadata = MetricDescriptor_MetricDescriptorMetadata.fromJSON(object.metadata); - if (isSet(object.launchStage)) obj.launchStage = launchStageFromJSON(object.launchStage); - if (Array.isArray(object?.monitoredResourceTypes)) obj.monitoredResourceTypes = object.monitoredResourceTypes.map((e: any) => String(e)); - return obj; - }, - toJSON(message: MetricDescriptor): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.type !== undefined && (obj.type = message.type); - if (message.labels) { - obj.labels = message.labels.map(e => e ? LabelDescriptor.toJSON(e) : undefined); - } else { - obj.labels = []; - } - message.metricKind !== undefined && (obj.metricKind = metricDescriptor_MetricKindToJSON(message.metricKind)); - message.valueType !== undefined && (obj.valueType = metricDescriptor_ValueTypeToJSON(message.valueType)); - message.unit !== undefined && (obj.unit = message.unit); - message.description !== undefined && (obj.description = message.description); - message.displayName !== undefined && (obj.displayName = message.displayName); - message.metadata !== undefined && (obj.metadata = message.metadata ? MetricDescriptor_MetricDescriptorMetadata.toJSON(message.metadata) : undefined); - message.launchStage !== undefined && (obj.launchStage = launchStageToJSON(message.launchStage)); - if (message.monitoredResourceTypes) { - obj.monitoredResourceTypes = message.monitoredResourceTypes.map(e => e); - } else { - obj.monitoredResourceTypes = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MetricDescriptor { - const message = createBaseMetricDescriptor(); - message.name = object.name ?? ""; - message.type = object.type ?? ""; - message.labels = object.labels?.map(e => LabelDescriptor.fromPartial(e)) || []; - message.metricKind = object.metricKind ?? 0; - message.valueType = object.valueType ?? 0; - message.unit = object.unit ?? ""; - message.description = object.description ?? ""; - message.displayName = object.displayName ?? ""; - if (object.metadata !== undefined && object.metadata !== null) { - message.metadata = MetricDescriptor_MetricDescriptorMetadata.fromPartial(object.metadata); - } - message.launchStage = object.launchStage ?? 0; - message.monitoredResourceTypes = object.monitoredResourceTypes?.map(e => e) || []; - return message; - }, - fromSDK(object: MetricDescriptorSDKType): MetricDescriptor { - return { - name: object?.name, - type: object?.type, - labels: Array.isArray(object?.labels) ? object.labels.map((e: any) => LabelDescriptor.fromSDK(e)) : [], - metricKind: isSet(object.metric_kind) ? metricDescriptor_MetricKindFromJSON(object.metric_kind) : -1, - valueType: isSet(object.value_type) ? metricDescriptor_ValueTypeFromJSON(object.value_type) : -1, - unit: object?.unit, - description: object?.description, - displayName: object?.display_name, - metadata: object.metadata ? MetricDescriptor_MetricDescriptorMetadata.fromSDK(object.metadata) : undefined, - launchStage: isSet(object.launch_stage) ? launchStageFromJSON(object.launch_stage) : -1, - monitoredResourceTypes: Array.isArray(object?.monitored_resource_types) ? object.monitored_resource_types.map((e: any) => e) : [] - }; - }, - toSDK(message: MetricDescriptor): MetricDescriptorSDKType { - const obj: any = {}; - obj.name = message.name; - obj.type = message.type; - if (message.labels) { - obj.labels = message.labels.map(e => e ? LabelDescriptor.toSDK(e) : undefined); - } else { - obj.labels = []; - } - message.metricKind !== undefined && (obj.metric_kind = metricDescriptor_MetricKindToJSON(message.metricKind)); - message.valueType !== undefined && (obj.value_type = metricDescriptor_ValueTypeToJSON(message.valueType)); - obj.unit = message.unit; - obj.description = message.description; - obj.display_name = message.displayName; - message.metadata !== undefined && (obj.metadata = message.metadata ? MetricDescriptor_MetricDescriptorMetadata.toSDK(message.metadata) : undefined); - message.launchStage !== undefined && (obj.launch_stage = launchStageToJSON(message.launchStage)); - if (message.monitoredResourceTypes) { - obj.monitored_resource_types = message.monitoredResourceTypes.map(e => e); - } else { - obj.monitored_resource_types = []; - } - return obj; - }, - fromAmino(object: MetricDescriptorAmino): MetricDescriptor { - return { - name: object.name, - type: object.type, - labels: Array.isArray(object?.labels) ? object.labels.map((e: any) => LabelDescriptor.fromAmino(e)) : [], - metricKind: isSet(object.metric_kind) ? metricDescriptor_MetricKindFromJSON(object.metric_kind) : -1, - valueType: isSet(object.value_type) ? metricDescriptor_ValueTypeFromJSON(object.value_type) : -1, - unit: object.unit, - description: object.description, - displayName: object.display_name, - metadata: object?.metadata ? MetricDescriptor_MetricDescriptorMetadata.fromAmino(object.metadata) : undefined, - launchStage: isSet(object.launch_stage) ? launchStageFromJSON(object.launch_stage) : -1, - monitoredResourceTypes: Array.isArray(object?.monitored_resource_types) ? object.monitored_resource_types.map((e: any) => e) : [] - }; - }, - toAmino(message: MetricDescriptor): MetricDescriptorAmino { - const obj: any = {}; - obj.name = message.name; - obj.type = message.type; - if (message.labels) { - obj.labels = message.labels.map(e => e ? LabelDescriptor.toAmino(e) : undefined); - } else { - obj.labels = []; - } - obj.metric_kind = message.metricKind; - obj.value_type = message.valueType; - obj.unit = message.unit; - obj.description = message.description; - obj.display_name = message.displayName; - obj.metadata = message.metadata ? MetricDescriptor_MetricDescriptorMetadata.toAmino(message.metadata) : undefined; - obj.launch_stage = message.launchStage; - if (message.monitoredResourceTypes) { - obj.monitored_resource_types = message.monitoredResourceTypes.map(e => e); - } else { - obj.monitored_resource_types = []; - } - return obj; - }, - fromAminoMsg(object: MetricDescriptorAminoMsg): MetricDescriptor { - return MetricDescriptor.fromAmino(object.value); - }, - fromProtoMsg(message: MetricDescriptorProtoMsg): MetricDescriptor { - return MetricDescriptor.decode(message.value); - }, - toProto(message: MetricDescriptor): Uint8Array { - return MetricDescriptor.encode(message).finish(); - }, - toProtoMsg(message: MetricDescriptor): MetricDescriptorProtoMsg { - return { - typeUrl: "/google.api.MetricDescriptor", - value: MetricDescriptor.encode(message).finish() - }; - } -}; -function createBaseMetricDescriptor_MetricDescriptorMetadata(): MetricDescriptor_MetricDescriptorMetadata { - return { - launchStage: 0, - samplePeriod: Duration.fromPartial({}), - ingestDelay: Duration.fromPartial({}) - }; -} -export const MetricDescriptor_MetricDescriptorMetadata = { - typeUrl: "/google.api.MetricDescriptorMetadata", - encode(message: MetricDescriptor_MetricDescriptorMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.launchStage !== 0) { - writer.uint32(8).int32(message.launchStage); - } - if (message.samplePeriod !== undefined) { - Duration.encode(message.samplePeriod, writer.uint32(18).fork()).ldelim(); - } - if (message.ingestDelay !== undefined) { - Duration.encode(message.ingestDelay, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MetricDescriptor_MetricDescriptorMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetricDescriptor_MetricDescriptorMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.launchStage = (reader.int32() as any); - break; - case 2: - message.samplePeriod = Duration.decode(reader, reader.uint32()); - break; - case 3: - message.ingestDelay = Duration.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MetricDescriptor_MetricDescriptorMetadata { - const obj = createBaseMetricDescriptor_MetricDescriptorMetadata(); - if (isSet(object.launchStage)) obj.launchStage = launchStageFromJSON(object.launchStage); - if (isSet(object.samplePeriod)) obj.samplePeriod = Duration.fromJSON(object.samplePeriod); - if (isSet(object.ingestDelay)) obj.ingestDelay = Duration.fromJSON(object.ingestDelay); - return obj; - }, - toJSON(message: MetricDescriptor_MetricDescriptorMetadata): unknown { - const obj: any = {}; - message.launchStage !== undefined && (obj.launchStage = launchStageToJSON(message.launchStage)); - message.samplePeriod !== undefined && (obj.samplePeriod = message.samplePeriod ? Duration.toJSON(message.samplePeriod) : undefined); - message.ingestDelay !== undefined && (obj.ingestDelay = message.ingestDelay ? Duration.toJSON(message.ingestDelay) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MetricDescriptor_MetricDescriptorMetadata { - const message = createBaseMetricDescriptor_MetricDescriptorMetadata(); - message.launchStage = object.launchStage ?? 0; - if (object.samplePeriod !== undefined && object.samplePeriod !== null) { - message.samplePeriod = Duration.fromPartial(object.samplePeriod); - } - if (object.ingestDelay !== undefined && object.ingestDelay !== null) { - message.ingestDelay = Duration.fromPartial(object.ingestDelay); - } - return message; - }, - fromSDK(object: MetricDescriptor_MetricDescriptorMetadataSDKType): MetricDescriptor_MetricDescriptorMetadata { - return { - launchStage: isSet(object.launch_stage) ? launchStageFromJSON(object.launch_stage) : -1, - samplePeriod: object.sample_period ? Duration.fromSDK(object.sample_period) : undefined, - ingestDelay: object.ingest_delay ? Duration.fromSDK(object.ingest_delay) : undefined - }; - }, - toSDK(message: MetricDescriptor_MetricDescriptorMetadata): MetricDescriptor_MetricDescriptorMetadataSDKType { - const obj: any = {}; - message.launchStage !== undefined && (obj.launch_stage = launchStageToJSON(message.launchStage)); - message.samplePeriod !== undefined && (obj.sample_period = message.samplePeriod ? Duration.toSDK(message.samplePeriod) : undefined); - message.ingestDelay !== undefined && (obj.ingest_delay = message.ingestDelay ? Duration.toSDK(message.ingestDelay) : undefined); - return obj; - }, - fromAmino(object: MetricDescriptor_MetricDescriptorMetadataAmino): MetricDescriptor_MetricDescriptorMetadata { - return { - launchStage: isSet(object.launch_stage) ? launchStageFromJSON(object.launch_stage) : -1, - samplePeriod: object?.sample_period ? Duration.fromAmino(object.sample_period) : undefined, - ingestDelay: object?.ingest_delay ? Duration.fromAmino(object.ingest_delay) : undefined - }; - }, - toAmino(message: MetricDescriptor_MetricDescriptorMetadata): MetricDescriptor_MetricDescriptorMetadataAmino { - const obj: any = {}; - obj.launch_stage = message.launchStage; - obj.sample_period = message.samplePeriod ? Duration.toAmino(message.samplePeriod) : undefined; - obj.ingest_delay = message.ingestDelay ? Duration.toAmino(message.ingestDelay) : undefined; - return obj; - }, - fromAminoMsg(object: MetricDescriptor_MetricDescriptorMetadataAminoMsg): MetricDescriptor_MetricDescriptorMetadata { - return MetricDescriptor_MetricDescriptorMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: MetricDescriptor_MetricDescriptorMetadataProtoMsg): MetricDescriptor_MetricDescriptorMetadata { - return MetricDescriptor_MetricDescriptorMetadata.decode(message.value); - }, - toProto(message: MetricDescriptor_MetricDescriptorMetadata): Uint8Array { - return MetricDescriptor_MetricDescriptorMetadata.encode(message).finish(); - }, - toProtoMsg(message: MetricDescriptor_MetricDescriptorMetadata): MetricDescriptor_MetricDescriptorMetadataProtoMsg { - return { - typeUrl: "/google.api.MetricDescriptorMetadata", - value: MetricDescriptor_MetricDescriptorMetadata.encode(message).finish() - }; - } -}; -function createBaseMetric_LabelsEntry(): Metric_LabelsEntry { - return { - key: "", - value: "" - }; -} -export const Metric_LabelsEntry = { - encode(message: Metric_LabelsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Metric_LabelsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetric_LabelsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Metric_LabelsEntry { - const obj = createBaseMetric_LabelsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: Metric_LabelsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): Metric_LabelsEntry { - const message = createBaseMetric_LabelsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: Metric_LabelsEntrySDKType): Metric_LabelsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: Metric_LabelsEntry): Metric_LabelsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: Metric_LabelsEntryAmino): Metric_LabelsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: Metric_LabelsEntry): Metric_LabelsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: Metric_LabelsEntryAminoMsg): Metric_LabelsEntry { - return Metric_LabelsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: Metric_LabelsEntryProtoMsg): Metric_LabelsEntry { - return Metric_LabelsEntry.decode(message.value); - }, - toProto(message: Metric_LabelsEntry): Uint8Array { - return Metric_LabelsEntry.encode(message).finish(); - } -}; -function createBaseMetric(): Metric { - return { - type: "", - labels: {} - }; -} -export const Metric = { - typeUrl: "/google.api.Metric", - encode(message: Metric, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== "") { - writer.uint32(26).string(message.type); - } - Object.entries(message.labels).forEach(([key, value]) => { - Metric_LabelsEntry.encode({ - key: (key as any), - value - }, writer.uint32(18).fork()).ldelim(); - }); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Metric { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetric(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 3: - message.type = reader.string(); - break; - case 2: - const entry2 = Metric_LabelsEntry.decode(reader, reader.uint32()); - if (entry2.value !== undefined) { - message.labels[entry2.key] = entry2.value; - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Metric { - const obj = createBaseMetric(); - if (isSet(object.type)) obj.type = String(object.type); - if (isObject(object.labels)) obj.labels = Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - return obj; - }, - toJSON(message: Metric): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - return obj; - }, - fromPartial(object: DeepPartial): Metric { - const message = createBaseMetric(); - message.type = object.type ?? ""; - message.labels = Object.entries(object.labels ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - return message; - }, - fromSDK(object: MetricSDKType): Metric { - return { - type: object?.type, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {} - }; - }, - toSDK(message: Metric): MetricSDKType { - const obj: any = {}; - obj.type = message.type; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - return obj; - }, - fromAmino(object: MetricAmino): Metric { - return { - type: object.type, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {} - }; - }, - toAmino(message: Metric): MetricAmino { - const obj: any = {}; - obj.type = message.type; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - return obj; - }, - fromAminoMsg(object: MetricAminoMsg): Metric { - return Metric.fromAmino(object.value); - }, - fromProtoMsg(message: MetricProtoMsg): Metric { - return Metric.decode(message.value); - }, - toProto(message: Metric): Uint8Array { - return Metric.encode(message).finish(); - }, - toProtoMsg(message: Metric): MetricProtoMsg { - return { - typeUrl: "/google.api.Metric", - value: Metric.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/monitored_resource.ts b/quicksilverjs/src/codegen/google/api/monitored_resource.ts deleted file mode 100644 index af2b9de99..000000000 --- a/quicksilverjs/src/codegen/google/api/monitored_resource.ts +++ /dev/null @@ -1,951 +0,0 @@ -import { LabelDescriptor, LabelDescriptorAmino, LabelDescriptorSDKType } from "./label"; -import { LaunchStage, LaunchStageSDKType, launchStageFromJSON, launchStageToJSON } from "./launch_stage"; -import { Struct, StructAmino, StructSDKType } from "../protobuf/struct"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, isObject } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a - * type name and a set of labels. For example, the monitored resource - * descriptor for Google Compute Engine VM instances has a type of - * `"gce_instance"` and specifies the use of the labels `"instance_id"` and - * `"zone"` to identify particular VM instances. - * - * Different APIs can support different monitored resource types. APIs generally - * provide a `list` method that returns the monitored resource descriptors used - * by the API. - */ -export interface MonitoredResourceDescriptor { - /** - * Optional. The resource name of the monitored resource descriptor: - * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where - * {type} is the value of the `type` field in this object and - * {project_id} is a project ID that provides API-specific context for - * accessing the type. APIs that do not use project information can use the - * resource name format `"monitoredResourceDescriptors/{type}"`. - */ - name: string; - /** - * Required. The monitored resource type. For example, the type - * `"cloudsql_database"` represents databases in Google Cloud SQL. - */ - type: string; - /** - * Optional. A concise name for the monitored resource type that might be - * displayed in user interfaces. It should be a Title Cased Noun Phrase, - * without any article or other determiners. For example, - * `"Google Cloud SQL Database"`. - */ - displayName: string; - /** - * Optional. A detailed description of the monitored resource type that might - * be used in documentation. - */ - description: string; - /** - * Required. A set of labels used to describe instances of this monitored - * resource type. For example, an individual Google Cloud SQL database is - * identified by values for the labels `"database_id"` and `"zone"`. - */ - labels: LabelDescriptor[]; - /** Optional. The launch stage of the monitored resource definition. */ - launchStage: LaunchStage; -} -export interface MonitoredResourceDescriptorProtoMsg { - typeUrl: "/google.api.MonitoredResourceDescriptor"; - value: Uint8Array; -} -/** - * An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a - * type name and a set of labels. For example, the monitored resource - * descriptor for Google Compute Engine VM instances has a type of - * `"gce_instance"` and specifies the use of the labels `"instance_id"` and - * `"zone"` to identify particular VM instances. - * - * Different APIs can support different monitored resource types. APIs generally - * provide a `list` method that returns the monitored resource descriptors used - * by the API. - */ -export interface MonitoredResourceDescriptorAmino { - /** - * Optional. The resource name of the monitored resource descriptor: - * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where - * {type} is the value of the `type` field in this object and - * {project_id} is a project ID that provides API-specific context for - * accessing the type. APIs that do not use project information can use the - * resource name format `"monitoredResourceDescriptors/{type}"`. - */ - name: string; - /** - * Required. The monitored resource type. For example, the type - * `"cloudsql_database"` represents databases in Google Cloud SQL. - */ - type: string; - /** - * Optional. A concise name for the monitored resource type that might be - * displayed in user interfaces. It should be a Title Cased Noun Phrase, - * without any article or other determiners. For example, - * `"Google Cloud SQL Database"`. - */ - display_name: string; - /** - * Optional. A detailed description of the monitored resource type that might - * be used in documentation. - */ - description: string; - /** - * Required. A set of labels used to describe instances of this monitored - * resource type. For example, an individual Google Cloud SQL database is - * identified by values for the labels `"database_id"` and `"zone"`. - */ - labels: LabelDescriptorAmino[]; - /** Optional. The launch stage of the monitored resource definition. */ - launch_stage: LaunchStage; -} -export interface MonitoredResourceDescriptorAminoMsg { - type: "/google.api.MonitoredResourceDescriptor"; - value: MonitoredResourceDescriptorAmino; -} -/** - * An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a - * type name and a set of labels. For example, the monitored resource - * descriptor for Google Compute Engine VM instances has a type of - * `"gce_instance"` and specifies the use of the labels `"instance_id"` and - * `"zone"` to identify particular VM instances. - * - * Different APIs can support different monitored resource types. APIs generally - * provide a `list` method that returns the monitored resource descriptors used - * by the API. - */ -export interface MonitoredResourceDescriptorSDKType { - name: string; - type: string; - display_name: string; - description: string; - labels: LabelDescriptorSDKType[]; - launch_stage: LaunchStage; -} -export interface MonitoredResource_LabelsEntry { - key: string; - value: string; -} -export interface MonitoredResource_LabelsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface MonitoredResource_LabelsEntryAmino { - key: string; - value: string; -} -export interface MonitoredResource_LabelsEntryAminoMsg { - type: string; - value: MonitoredResource_LabelsEntryAmino; -} -export interface MonitoredResource_LabelsEntrySDKType { - key: string; - value: string; -} -/** - * An object representing a resource that can be used for monitoring, logging, - * billing, or other purposes. Examples include virtual machine instances, - * databases, and storage devices such as disks. The `type` field identifies a - * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's - * schema. Information in the `labels` field identifies the actual resource and - * its attributes according to the schema. For example, a particular Compute - * Engine VM instance could be represented by the following object, because the - * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels - * `"instance_id"` and `"zone"`: - * - * { "type": "gce_instance", - * "labels": { "instance_id": "12345678901234", - * "zone": "us-central1-a" }} - */ -export interface MonitoredResource { - /** - * Required. The monitored resource type. This field must match - * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For - * example, the type of a Compute Engine VM instance is `gce_instance`. - */ - type: string; - /** - * Required. Values for all of the labels listed in the associated monitored - * resource descriptor. For example, Compute Engine VM instances use the - * labels `"project_id"`, `"instance_id"`, and `"zone"`. - */ - labels: { - [key: string]: string; - }; -} -export interface MonitoredResourceProtoMsg { - typeUrl: "/google.api.MonitoredResource"; - value: Uint8Array; -} -/** - * An object representing a resource that can be used for monitoring, logging, - * billing, or other purposes. Examples include virtual machine instances, - * databases, and storage devices such as disks. The `type` field identifies a - * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's - * schema. Information in the `labels` field identifies the actual resource and - * its attributes according to the schema. For example, a particular Compute - * Engine VM instance could be represented by the following object, because the - * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels - * `"instance_id"` and `"zone"`: - * - * { "type": "gce_instance", - * "labels": { "instance_id": "12345678901234", - * "zone": "us-central1-a" }} - */ -export interface MonitoredResourceAmino { - /** - * Required. The monitored resource type. This field must match - * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For - * example, the type of a Compute Engine VM instance is `gce_instance`. - */ - type: string; - /** - * Required. Values for all of the labels listed in the associated monitored - * resource descriptor. For example, Compute Engine VM instances use the - * labels `"project_id"`, `"instance_id"`, and `"zone"`. - */ - labels: { - [key: string]: string; - }; -} -export interface MonitoredResourceAminoMsg { - type: "/google.api.MonitoredResource"; - value: MonitoredResourceAmino; -} -/** - * An object representing a resource that can be used for monitoring, logging, - * billing, or other purposes. Examples include virtual machine instances, - * databases, and storage devices such as disks. The `type` field identifies a - * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's - * schema. Information in the `labels` field identifies the actual resource and - * its attributes according to the schema. For example, a particular Compute - * Engine VM instance could be represented by the following object, because the - * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels - * `"instance_id"` and `"zone"`: - * - * { "type": "gce_instance", - * "labels": { "instance_id": "12345678901234", - * "zone": "us-central1-a" }} - */ -export interface MonitoredResourceSDKType { - type: string; - labels: { - [key: string]: string; - }; -} -export interface MonitoredResourceMetadata_UserLabelsEntry { - key: string; - value: string; -} -export interface MonitoredResourceMetadata_UserLabelsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface MonitoredResourceMetadata_UserLabelsEntryAmino { - key: string; - value: string; -} -export interface MonitoredResourceMetadata_UserLabelsEntryAminoMsg { - type: string; - value: MonitoredResourceMetadata_UserLabelsEntryAmino; -} -export interface MonitoredResourceMetadata_UserLabelsEntrySDKType { - key: string; - value: string; -} -/** - * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object. - * [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to - * uniquely identify a monitored resource instance. There is some other useful - * auxiliary metadata. Monitoring and Logging use an ingestion - * pipeline to extract metadata for cloud resources of all types, and store - * the metadata in this message. - */ -export interface MonitoredResourceMetadata { - /** - * Output only. Values for predefined system metadata labels. - * System labels are a kind of metadata extracted by Google, including - * "machine_image", "vpc", "subnet_id", - * "security_group", "name", etc. - * System label values can be only strings, Boolean values, or a list of - * strings. For example: - * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } - */ - systemLabels: Struct; - /** Output only. A map of user-defined metadata labels. */ - userLabels: { - [key: string]: string; - }; -} -export interface MonitoredResourceMetadataProtoMsg { - typeUrl: "/google.api.MonitoredResourceMetadata"; - value: Uint8Array; -} -/** - * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object. - * [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to - * uniquely identify a monitored resource instance. There is some other useful - * auxiliary metadata. Monitoring and Logging use an ingestion - * pipeline to extract metadata for cloud resources of all types, and store - * the metadata in this message. - */ -export interface MonitoredResourceMetadataAmino { - /** - * Output only. Values for predefined system metadata labels. - * System labels are a kind of metadata extracted by Google, including - * "machine_image", "vpc", "subnet_id", - * "security_group", "name", etc. - * System label values can be only strings, Boolean values, or a list of - * strings. For example: - * - * { "name": "my-test-instance", - * "security_group": ["a", "b", "c"], - * "spot_instance": false } - */ - system_labels?: StructAmino; - /** Output only. A map of user-defined metadata labels. */ - user_labels: { - [key: string]: string; - }; -} -export interface MonitoredResourceMetadataAminoMsg { - type: "/google.api.MonitoredResourceMetadata"; - value: MonitoredResourceMetadataAmino; -} -/** - * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object. - * [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to - * uniquely identify a monitored resource instance. There is some other useful - * auxiliary metadata. Monitoring and Logging use an ingestion - * pipeline to extract metadata for cloud resources of all types, and store - * the metadata in this message. - */ -export interface MonitoredResourceMetadataSDKType { - system_labels: StructSDKType; - user_labels: { - [key: string]: string; - }; -} -function createBaseMonitoredResourceDescriptor(): MonitoredResourceDescriptor { - return { - name: "", - type: "", - displayName: "", - description: "", - labels: [], - launchStage: 0 - }; -} -export const MonitoredResourceDescriptor = { - typeUrl: "/google.api.MonitoredResourceDescriptor", - encode(message: MonitoredResourceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(42).string(message.name); - } - if (message.type !== "") { - writer.uint32(10).string(message.type); - } - if (message.displayName !== "") { - writer.uint32(18).string(message.displayName); - } - if (message.description !== "") { - writer.uint32(26).string(message.description); - } - for (const v of message.labels) { - LabelDescriptor.encode(v!, writer.uint32(34).fork()).ldelim(); - } - if (message.launchStage !== 0) { - writer.uint32(56).int32(message.launchStage); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MonitoredResourceDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMonitoredResourceDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 5: - message.name = reader.string(); - break; - case 1: - message.type = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.labels.push(LabelDescriptor.decode(reader, reader.uint32())); - break; - case 7: - message.launchStage = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MonitoredResourceDescriptor { - const obj = createBaseMonitoredResourceDescriptor(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.type)) obj.type = String(object.type); - if (isSet(object.displayName)) obj.displayName = String(object.displayName); - if (isSet(object.description)) obj.description = String(object.description); - if (Array.isArray(object?.labels)) obj.labels = object.labels.map((e: any) => LabelDescriptor.fromJSON(e)); - if (isSet(object.launchStage)) obj.launchStage = launchStageFromJSON(object.launchStage); - return obj; - }, - toJSON(message: MonitoredResourceDescriptor): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.type !== undefined && (obj.type = message.type); - message.displayName !== undefined && (obj.displayName = message.displayName); - message.description !== undefined && (obj.description = message.description); - if (message.labels) { - obj.labels = message.labels.map(e => e ? LabelDescriptor.toJSON(e) : undefined); - } else { - obj.labels = []; - } - message.launchStage !== undefined && (obj.launchStage = launchStageToJSON(message.launchStage)); - return obj; - }, - fromPartial(object: DeepPartial): MonitoredResourceDescriptor { - const message = createBaseMonitoredResourceDescriptor(); - message.name = object.name ?? ""; - message.type = object.type ?? ""; - message.displayName = object.displayName ?? ""; - message.description = object.description ?? ""; - message.labels = object.labels?.map(e => LabelDescriptor.fromPartial(e)) || []; - message.launchStage = object.launchStage ?? 0; - return message; - }, - fromSDK(object: MonitoredResourceDescriptorSDKType): MonitoredResourceDescriptor { - return { - name: object?.name, - type: object?.type, - displayName: object?.display_name, - description: object?.description, - labels: Array.isArray(object?.labels) ? object.labels.map((e: any) => LabelDescriptor.fromSDK(e)) : [], - launchStage: isSet(object.launch_stage) ? launchStageFromJSON(object.launch_stage) : -1 - }; - }, - toSDK(message: MonitoredResourceDescriptor): MonitoredResourceDescriptorSDKType { - const obj: any = {}; - obj.name = message.name; - obj.type = message.type; - obj.display_name = message.displayName; - obj.description = message.description; - if (message.labels) { - obj.labels = message.labels.map(e => e ? LabelDescriptor.toSDK(e) : undefined); - } else { - obj.labels = []; - } - message.launchStage !== undefined && (obj.launch_stage = launchStageToJSON(message.launchStage)); - return obj; - }, - fromAmino(object: MonitoredResourceDescriptorAmino): MonitoredResourceDescriptor { - return { - name: object.name, - type: object.type, - displayName: object.display_name, - description: object.description, - labels: Array.isArray(object?.labels) ? object.labels.map((e: any) => LabelDescriptor.fromAmino(e)) : [], - launchStage: isSet(object.launch_stage) ? launchStageFromJSON(object.launch_stage) : -1 - }; - }, - toAmino(message: MonitoredResourceDescriptor): MonitoredResourceDescriptorAmino { - const obj: any = {}; - obj.name = message.name; - obj.type = message.type; - obj.display_name = message.displayName; - obj.description = message.description; - if (message.labels) { - obj.labels = message.labels.map(e => e ? LabelDescriptor.toAmino(e) : undefined); - } else { - obj.labels = []; - } - obj.launch_stage = message.launchStage; - return obj; - }, - fromAminoMsg(object: MonitoredResourceDescriptorAminoMsg): MonitoredResourceDescriptor { - return MonitoredResourceDescriptor.fromAmino(object.value); - }, - fromProtoMsg(message: MonitoredResourceDescriptorProtoMsg): MonitoredResourceDescriptor { - return MonitoredResourceDescriptor.decode(message.value); - }, - toProto(message: MonitoredResourceDescriptor): Uint8Array { - return MonitoredResourceDescriptor.encode(message).finish(); - }, - toProtoMsg(message: MonitoredResourceDescriptor): MonitoredResourceDescriptorProtoMsg { - return { - typeUrl: "/google.api.MonitoredResourceDescriptor", - value: MonitoredResourceDescriptor.encode(message).finish() - }; - } -}; -function createBaseMonitoredResource_LabelsEntry(): MonitoredResource_LabelsEntry { - return { - key: "", - value: "" - }; -} -export const MonitoredResource_LabelsEntry = { - encode(message: MonitoredResource_LabelsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MonitoredResource_LabelsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMonitoredResource_LabelsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MonitoredResource_LabelsEntry { - const obj = createBaseMonitoredResource_LabelsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: MonitoredResource_LabelsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): MonitoredResource_LabelsEntry { - const message = createBaseMonitoredResource_LabelsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: MonitoredResource_LabelsEntrySDKType): MonitoredResource_LabelsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: MonitoredResource_LabelsEntry): MonitoredResource_LabelsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: MonitoredResource_LabelsEntryAmino): MonitoredResource_LabelsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: MonitoredResource_LabelsEntry): MonitoredResource_LabelsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: MonitoredResource_LabelsEntryAminoMsg): MonitoredResource_LabelsEntry { - return MonitoredResource_LabelsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: MonitoredResource_LabelsEntryProtoMsg): MonitoredResource_LabelsEntry { - return MonitoredResource_LabelsEntry.decode(message.value); - }, - toProto(message: MonitoredResource_LabelsEntry): Uint8Array { - return MonitoredResource_LabelsEntry.encode(message).finish(); - } -}; -function createBaseMonitoredResource(): MonitoredResource { - return { - type: "", - labels: {} - }; -} -export const MonitoredResource = { - typeUrl: "/google.api.MonitoredResource", - encode(message: MonitoredResource, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== "") { - writer.uint32(10).string(message.type); - } - Object.entries(message.labels).forEach(([key, value]) => { - MonitoredResource_LabelsEntry.encode({ - key: (key as any), - value - }, writer.uint32(18).fork()).ldelim(); - }); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MonitoredResource { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMonitoredResource(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - const entry2 = MonitoredResource_LabelsEntry.decode(reader, reader.uint32()); - if (entry2.value !== undefined) { - message.labels[entry2.key] = entry2.value; - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MonitoredResource { - const obj = createBaseMonitoredResource(); - if (isSet(object.type)) obj.type = String(object.type); - if (isObject(object.labels)) obj.labels = Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - return obj; - }, - toJSON(message: MonitoredResource): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - return obj; - }, - fromPartial(object: DeepPartial): MonitoredResource { - const message = createBaseMonitoredResource(); - message.type = object.type ?? ""; - message.labels = Object.entries(object.labels ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - return message; - }, - fromSDK(object: MonitoredResourceSDKType): MonitoredResource { - return { - type: object?.type, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {} - }; - }, - toSDK(message: MonitoredResource): MonitoredResourceSDKType { - const obj: any = {}; - obj.type = message.type; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - return obj; - }, - fromAmino(object: MonitoredResourceAmino): MonitoredResource { - return { - type: object.type, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {} - }; - }, - toAmino(message: MonitoredResource): MonitoredResourceAmino { - const obj: any = {}; - obj.type = message.type; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - return obj; - }, - fromAminoMsg(object: MonitoredResourceAminoMsg): MonitoredResource { - return MonitoredResource.fromAmino(object.value); - }, - fromProtoMsg(message: MonitoredResourceProtoMsg): MonitoredResource { - return MonitoredResource.decode(message.value); - }, - toProto(message: MonitoredResource): Uint8Array { - return MonitoredResource.encode(message).finish(); - }, - toProtoMsg(message: MonitoredResource): MonitoredResourceProtoMsg { - return { - typeUrl: "/google.api.MonitoredResource", - value: MonitoredResource.encode(message).finish() - }; - } -}; -function createBaseMonitoredResourceMetadata_UserLabelsEntry(): MonitoredResourceMetadata_UserLabelsEntry { - return { - key: "", - value: "" - }; -} -export const MonitoredResourceMetadata_UserLabelsEntry = { - encode(message: MonitoredResourceMetadata_UserLabelsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MonitoredResourceMetadata_UserLabelsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMonitoredResourceMetadata_UserLabelsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MonitoredResourceMetadata_UserLabelsEntry { - const obj = createBaseMonitoredResourceMetadata_UserLabelsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: MonitoredResourceMetadata_UserLabelsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): MonitoredResourceMetadata_UserLabelsEntry { - const message = createBaseMonitoredResourceMetadata_UserLabelsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: MonitoredResourceMetadata_UserLabelsEntrySDKType): MonitoredResourceMetadata_UserLabelsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: MonitoredResourceMetadata_UserLabelsEntry): MonitoredResourceMetadata_UserLabelsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: MonitoredResourceMetadata_UserLabelsEntryAmino): MonitoredResourceMetadata_UserLabelsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: MonitoredResourceMetadata_UserLabelsEntry): MonitoredResourceMetadata_UserLabelsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: MonitoredResourceMetadata_UserLabelsEntryAminoMsg): MonitoredResourceMetadata_UserLabelsEntry { - return MonitoredResourceMetadata_UserLabelsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: MonitoredResourceMetadata_UserLabelsEntryProtoMsg): MonitoredResourceMetadata_UserLabelsEntry { - return MonitoredResourceMetadata_UserLabelsEntry.decode(message.value); - }, - toProto(message: MonitoredResourceMetadata_UserLabelsEntry): Uint8Array { - return MonitoredResourceMetadata_UserLabelsEntry.encode(message).finish(); - } -}; -function createBaseMonitoredResourceMetadata(): MonitoredResourceMetadata { - return { - systemLabels: Struct.fromPartial({}), - userLabels: {} - }; -} -export const MonitoredResourceMetadata = { - typeUrl: "/google.api.MonitoredResourceMetadata", - encode(message: MonitoredResourceMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.systemLabels !== undefined) { - Struct.encode(message.systemLabels, writer.uint32(10).fork()).ldelim(); - } - Object.entries(message.userLabels).forEach(([key, value]) => { - MonitoredResourceMetadata_UserLabelsEntry.encode({ - key: (key as any), - value - }, writer.uint32(18).fork()).ldelim(); - }); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MonitoredResourceMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMonitoredResourceMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.systemLabels = Struct.decode(reader, reader.uint32()); - break; - case 2: - const entry2 = MonitoredResourceMetadata_UserLabelsEntry.decode(reader, reader.uint32()); - if (entry2.value !== undefined) { - message.userLabels[entry2.key] = entry2.value; - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MonitoredResourceMetadata { - const obj = createBaseMonitoredResourceMetadata(); - if (isSet(object.systemLabels)) obj.systemLabels = Struct.fromJSON(object.systemLabels); - if (isObject(object.userLabels)) obj.userLabels = Object.entries(object.userLabels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - return obj; - }, - toJSON(message: MonitoredResourceMetadata): unknown { - const obj: any = {}; - message.systemLabels !== undefined && (obj.systemLabels = message.systemLabels ? Struct.toJSON(message.systemLabels) : undefined); - obj.userLabels = {}; - if (message.userLabels) { - Object.entries(message.userLabels).forEach(([k, v]) => { - obj.userLabels[k] = v; - }); - } - return obj; - }, - fromPartial(object: DeepPartial): MonitoredResourceMetadata { - const message = createBaseMonitoredResourceMetadata(); - if (object.systemLabels !== undefined && object.systemLabels !== null) { - message.systemLabels = Struct.fromPartial(object.systemLabels); - } - message.userLabels = Object.entries(object.userLabels ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - return message; - }, - fromSDK(object: MonitoredResourceMetadataSDKType): MonitoredResourceMetadata { - return { - systemLabels: object.system_labels ? Struct.fromSDK(object.system_labels) : undefined, - userLabels: isObject(object.user_labels) ? Object.entries(object.user_labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {} - }; - }, - toSDK(message: MonitoredResourceMetadata): MonitoredResourceMetadataSDKType { - const obj: any = {}; - message.systemLabels !== undefined && (obj.system_labels = message.systemLabels ? Struct.toSDK(message.systemLabels) : undefined); - obj.user_labels = {}; - if (message.userLabels) { - Object.entries(message.userLabels).forEach(([k, v]) => { - obj.user_labels[k] = v; - }); - } - return obj; - }, - fromAmino(object: MonitoredResourceMetadataAmino): MonitoredResourceMetadata { - return { - systemLabels: object?.system_labels ? Struct.fromAmino(object.system_labels) : undefined, - userLabels: isObject(object.user_labels) ? Object.entries(object.user_labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {} - }; - }, - toAmino(message: MonitoredResourceMetadata): MonitoredResourceMetadataAmino { - const obj: any = {}; - obj.system_labels = message.systemLabels ? Struct.toAmino(message.systemLabels) : undefined; - obj.user_labels = {}; - if (message.userLabels) { - Object.entries(message.userLabels).forEach(([k, v]) => { - obj.user_labels[k] = v; - }); - } - return obj; - }, - fromAminoMsg(object: MonitoredResourceMetadataAminoMsg): MonitoredResourceMetadata { - return MonitoredResourceMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: MonitoredResourceMetadataProtoMsg): MonitoredResourceMetadata { - return MonitoredResourceMetadata.decode(message.value); - }, - toProto(message: MonitoredResourceMetadata): Uint8Array { - return MonitoredResourceMetadata.encode(message).finish(); - }, - toProtoMsg(message: MonitoredResourceMetadata): MonitoredResourceMetadataProtoMsg { - return { - typeUrl: "/google.api.MonitoredResourceMetadata", - value: MonitoredResourceMetadata.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/monitoring.ts b/quicksilverjs/src/codegen/google/api/monitoring.ts deleted file mode 100644 index 52e45f47b..000000000 --- a/quicksilverjs/src/codegen/google/api/monitoring.ts +++ /dev/null @@ -1,491 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * Monitoring configuration of the service. - * - * The example below shows how to configure monitored resources and metrics - * for monitoring. In the example, a monitored resource and two metrics are - * defined. The `library.googleapis.com/book/returned_count` metric is sent - * to both producer and consumer projects, whereas the - * `library.googleapis.com/book/num_overdue` metric is only sent to the - * consumer project. - * - * monitored_resources: - * - type: library.googleapis.com/Branch - * display_name: "Library Branch" - * description: "A branch of a library." - * launch_stage: GA - * labels: - * - key: resource_container - * description: "The Cloud container (ie. project id) for the Branch." - * - key: location - * description: "The location of the library branch." - * - key: branch_id - * description: "The id of the branch." - * metrics: - * - name: library.googleapis.com/book/returned_count - * display_name: "Books Returned" - * description: "The count of books that have been returned." - * launch_stage: GA - * metric_kind: DELTA - * value_type: INT64 - * unit: "1" - * labels: - * - key: customer_id - * description: "The id of the customer." - * - name: library.googleapis.com/book/num_overdue - * display_name: "Books Overdue" - * description: "The current number of overdue books." - * launch_stage: GA - * metric_kind: GAUGE - * value_type: INT64 - * unit: "1" - * labels: - * - key: customer_id - * description: "The id of the customer." - * monitoring: - * producer_destinations: - * - monitored_resource: library.googleapis.com/Branch - * metrics: - * - library.googleapis.com/book/returned_count - * consumer_destinations: - * - monitored_resource: library.googleapis.com/Branch - * metrics: - * - library.googleapis.com/book/returned_count - * - library.googleapis.com/book/num_overdue - */ -export interface Monitoring { - /** - * Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resource type may - * appear in multiple monitoring destinations if different aggregations are - * needed for different sets of metrics associated with that monitored - * resource type. A monitored resource and metric pair may only be used once - * in the Monitoring configuration. - */ - producerDestinations: Monitoring_MonitoringDestination[]; - /** - * Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resource type may - * appear in multiple monitoring destinations if different aggregations are - * needed for different sets of metrics associated with that monitored - * resource type. A monitored resource and metric pair may only be used once - * in the Monitoring configuration. - */ - consumerDestinations: Monitoring_MonitoringDestination[]; -} -export interface MonitoringProtoMsg { - typeUrl: "/google.api.Monitoring"; - value: Uint8Array; -} -/** - * Monitoring configuration of the service. - * - * The example below shows how to configure monitored resources and metrics - * for monitoring. In the example, a monitored resource and two metrics are - * defined. The `library.googleapis.com/book/returned_count` metric is sent - * to both producer and consumer projects, whereas the - * `library.googleapis.com/book/num_overdue` metric is only sent to the - * consumer project. - * - * monitored_resources: - * - type: library.googleapis.com/Branch - * display_name: "Library Branch" - * description: "A branch of a library." - * launch_stage: GA - * labels: - * - key: resource_container - * description: "The Cloud container (ie. project id) for the Branch." - * - key: location - * description: "The location of the library branch." - * - key: branch_id - * description: "The id of the branch." - * metrics: - * - name: library.googleapis.com/book/returned_count - * display_name: "Books Returned" - * description: "The count of books that have been returned." - * launch_stage: GA - * metric_kind: DELTA - * value_type: INT64 - * unit: "1" - * labels: - * - key: customer_id - * description: "The id of the customer." - * - name: library.googleapis.com/book/num_overdue - * display_name: "Books Overdue" - * description: "The current number of overdue books." - * launch_stage: GA - * metric_kind: GAUGE - * value_type: INT64 - * unit: "1" - * labels: - * - key: customer_id - * description: "The id of the customer." - * monitoring: - * producer_destinations: - * - monitored_resource: library.googleapis.com/Branch - * metrics: - * - library.googleapis.com/book/returned_count - * consumer_destinations: - * - monitored_resource: library.googleapis.com/Branch - * metrics: - * - library.googleapis.com/book/returned_count - * - library.googleapis.com/book/num_overdue - */ -export interface MonitoringAmino { - /** - * Monitoring configurations for sending metrics to the producer project. - * There can be multiple producer destinations. A monitored resource type may - * appear in multiple monitoring destinations if different aggregations are - * needed for different sets of metrics associated with that monitored - * resource type. A monitored resource and metric pair may only be used once - * in the Monitoring configuration. - */ - producer_destinations: Monitoring_MonitoringDestinationAmino[]; - /** - * Monitoring configurations for sending metrics to the consumer project. - * There can be multiple consumer destinations. A monitored resource type may - * appear in multiple monitoring destinations if different aggregations are - * needed for different sets of metrics associated with that monitored - * resource type. A monitored resource and metric pair may only be used once - * in the Monitoring configuration. - */ - consumer_destinations: Monitoring_MonitoringDestinationAmino[]; -} -export interface MonitoringAminoMsg { - type: "/google.api.Monitoring"; - value: MonitoringAmino; -} -/** - * Monitoring configuration of the service. - * - * The example below shows how to configure monitored resources and metrics - * for monitoring. In the example, a monitored resource and two metrics are - * defined. The `library.googleapis.com/book/returned_count` metric is sent - * to both producer and consumer projects, whereas the - * `library.googleapis.com/book/num_overdue` metric is only sent to the - * consumer project. - * - * monitored_resources: - * - type: library.googleapis.com/Branch - * display_name: "Library Branch" - * description: "A branch of a library." - * launch_stage: GA - * labels: - * - key: resource_container - * description: "The Cloud container (ie. project id) for the Branch." - * - key: location - * description: "The location of the library branch." - * - key: branch_id - * description: "The id of the branch." - * metrics: - * - name: library.googleapis.com/book/returned_count - * display_name: "Books Returned" - * description: "The count of books that have been returned." - * launch_stage: GA - * metric_kind: DELTA - * value_type: INT64 - * unit: "1" - * labels: - * - key: customer_id - * description: "The id of the customer." - * - name: library.googleapis.com/book/num_overdue - * display_name: "Books Overdue" - * description: "The current number of overdue books." - * launch_stage: GA - * metric_kind: GAUGE - * value_type: INT64 - * unit: "1" - * labels: - * - key: customer_id - * description: "The id of the customer." - * monitoring: - * producer_destinations: - * - monitored_resource: library.googleapis.com/Branch - * metrics: - * - library.googleapis.com/book/returned_count - * consumer_destinations: - * - monitored_resource: library.googleapis.com/Branch - * metrics: - * - library.googleapis.com/book/returned_count - * - library.googleapis.com/book/num_overdue - */ -export interface MonitoringSDKType { - producer_destinations: Monitoring_MonitoringDestinationSDKType[]; - consumer_destinations: Monitoring_MonitoringDestinationSDKType[]; -} -/** - * Configuration of a specific monitoring destination (the producer project - * or the consumer project). - */ -export interface Monitoring_MonitoringDestination { - /** - * The monitored resource type. The type must be defined in - * [Service.monitored_resources][google.api.Service.monitored_resources] section. - */ - monitoredResource: string; - /** - * Types of the metrics to report to this monitoring destination. - * Each type must be defined in [Service.metrics][google.api.Service.metrics] section. - */ - metrics: string[]; -} -export interface Monitoring_MonitoringDestinationProtoMsg { - typeUrl: "/google.api.MonitoringDestination"; - value: Uint8Array; -} -/** - * Configuration of a specific monitoring destination (the producer project - * or the consumer project). - */ -export interface Monitoring_MonitoringDestinationAmino { - /** - * The monitored resource type. The type must be defined in - * [Service.monitored_resources][google.api.Service.monitored_resources] section. - */ - monitored_resource: string; - /** - * Types of the metrics to report to this monitoring destination. - * Each type must be defined in [Service.metrics][google.api.Service.metrics] section. - */ - metrics: string[]; -} -export interface Monitoring_MonitoringDestinationAminoMsg { - type: "/google.api.MonitoringDestination"; - value: Monitoring_MonitoringDestinationAmino; -} -/** - * Configuration of a specific monitoring destination (the producer project - * or the consumer project). - */ -export interface Monitoring_MonitoringDestinationSDKType { - monitored_resource: string; - metrics: string[]; -} -function createBaseMonitoring(): Monitoring { - return { - producerDestinations: [], - consumerDestinations: [] - }; -} -export const Monitoring = { - typeUrl: "/google.api.Monitoring", - encode(message: Monitoring, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.producerDestinations) { - Monitoring_MonitoringDestination.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.consumerDestinations) { - Monitoring_MonitoringDestination.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Monitoring { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMonitoring(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.producerDestinations.push(Monitoring_MonitoringDestination.decode(reader, reader.uint32())); - break; - case 2: - message.consumerDestinations.push(Monitoring_MonitoringDestination.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Monitoring { - const obj = createBaseMonitoring(); - if (Array.isArray(object?.producerDestinations)) obj.producerDestinations = object.producerDestinations.map((e: any) => Monitoring_MonitoringDestination.fromJSON(e)); - if (Array.isArray(object?.consumerDestinations)) obj.consumerDestinations = object.consumerDestinations.map((e: any) => Monitoring_MonitoringDestination.fromJSON(e)); - return obj; - }, - toJSON(message: Monitoring): unknown { - const obj: any = {}; - if (message.producerDestinations) { - obj.producerDestinations = message.producerDestinations.map(e => e ? Monitoring_MonitoringDestination.toJSON(e) : undefined); - } else { - obj.producerDestinations = []; - } - if (message.consumerDestinations) { - obj.consumerDestinations = message.consumerDestinations.map(e => e ? Monitoring_MonitoringDestination.toJSON(e) : undefined); - } else { - obj.consumerDestinations = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Monitoring { - const message = createBaseMonitoring(); - message.producerDestinations = object.producerDestinations?.map(e => Monitoring_MonitoringDestination.fromPartial(e)) || []; - message.consumerDestinations = object.consumerDestinations?.map(e => Monitoring_MonitoringDestination.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MonitoringSDKType): Monitoring { - return { - producerDestinations: Array.isArray(object?.producer_destinations) ? object.producer_destinations.map((e: any) => Monitoring_MonitoringDestination.fromSDK(e)) : [], - consumerDestinations: Array.isArray(object?.consumer_destinations) ? object.consumer_destinations.map((e: any) => Monitoring_MonitoringDestination.fromSDK(e)) : [] - }; - }, - toSDK(message: Monitoring): MonitoringSDKType { - const obj: any = {}; - if (message.producerDestinations) { - obj.producer_destinations = message.producerDestinations.map(e => e ? Monitoring_MonitoringDestination.toSDK(e) : undefined); - } else { - obj.producer_destinations = []; - } - if (message.consumerDestinations) { - obj.consumer_destinations = message.consumerDestinations.map(e => e ? Monitoring_MonitoringDestination.toSDK(e) : undefined); - } else { - obj.consumer_destinations = []; - } - return obj; - }, - fromAmino(object: MonitoringAmino): Monitoring { - return { - producerDestinations: Array.isArray(object?.producer_destinations) ? object.producer_destinations.map((e: any) => Monitoring_MonitoringDestination.fromAmino(e)) : [], - consumerDestinations: Array.isArray(object?.consumer_destinations) ? object.consumer_destinations.map((e: any) => Monitoring_MonitoringDestination.fromAmino(e)) : [] - }; - }, - toAmino(message: Monitoring): MonitoringAmino { - const obj: any = {}; - if (message.producerDestinations) { - obj.producer_destinations = message.producerDestinations.map(e => e ? Monitoring_MonitoringDestination.toAmino(e) : undefined); - } else { - obj.producer_destinations = []; - } - if (message.consumerDestinations) { - obj.consumer_destinations = message.consumerDestinations.map(e => e ? Monitoring_MonitoringDestination.toAmino(e) : undefined); - } else { - obj.consumer_destinations = []; - } - return obj; - }, - fromAminoMsg(object: MonitoringAminoMsg): Monitoring { - return Monitoring.fromAmino(object.value); - }, - fromProtoMsg(message: MonitoringProtoMsg): Monitoring { - return Monitoring.decode(message.value); - }, - toProto(message: Monitoring): Uint8Array { - return Monitoring.encode(message).finish(); - }, - toProtoMsg(message: Monitoring): MonitoringProtoMsg { - return { - typeUrl: "/google.api.Monitoring", - value: Monitoring.encode(message).finish() - }; - } -}; -function createBaseMonitoring_MonitoringDestination(): Monitoring_MonitoringDestination { - return { - monitoredResource: "", - metrics: [] - }; -} -export const Monitoring_MonitoringDestination = { - typeUrl: "/google.api.MonitoringDestination", - encode(message: Monitoring_MonitoringDestination, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.monitoredResource !== "") { - writer.uint32(10).string(message.monitoredResource); - } - for (const v of message.metrics) { - writer.uint32(18).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Monitoring_MonitoringDestination { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMonitoring_MonitoringDestination(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.monitoredResource = reader.string(); - break; - case 2: - message.metrics.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Monitoring_MonitoringDestination { - const obj = createBaseMonitoring_MonitoringDestination(); - if (isSet(object.monitoredResource)) obj.monitoredResource = String(object.monitoredResource); - if (Array.isArray(object?.metrics)) obj.metrics = object.metrics.map((e: any) => String(e)); - return obj; - }, - toJSON(message: Monitoring_MonitoringDestination): unknown { - const obj: any = {}; - message.monitoredResource !== undefined && (obj.monitoredResource = message.monitoredResource); - if (message.metrics) { - obj.metrics = message.metrics.map(e => e); - } else { - obj.metrics = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Monitoring_MonitoringDestination { - const message = createBaseMonitoring_MonitoringDestination(); - message.monitoredResource = object.monitoredResource ?? ""; - message.metrics = object.metrics?.map(e => e) || []; - return message; - }, - fromSDK(object: Monitoring_MonitoringDestinationSDKType): Monitoring_MonitoringDestination { - return { - monitoredResource: object?.monitored_resource, - metrics: Array.isArray(object?.metrics) ? object.metrics.map((e: any) => e) : [] - }; - }, - toSDK(message: Monitoring_MonitoringDestination): Monitoring_MonitoringDestinationSDKType { - const obj: any = {}; - obj.monitored_resource = message.monitoredResource; - if (message.metrics) { - obj.metrics = message.metrics.map(e => e); - } else { - obj.metrics = []; - } - return obj; - }, - fromAmino(object: Monitoring_MonitoringDestinationAmino): Monitoring_MonitoringDestination { - return { - monitoredResource: object.monitored_resource, - metrics: Array.isArray(object?.metrics) ? object.metrics.map((e: any) => e) : [] - }; - }, - toAmino(message: Monitoring_MonitoringDestination): Monitoring_MonitoringDestinationAmino { - const obj: any = {}; - obj.monitored_resource = message.monitoredResource; - if (message.metrics) { - obj.metrics = message.metrics.map(e => e); - } else { - obj.metrics = []; - } - return obj; - }, - fromAminoMsg(object: Monitoring_MonitoringDestinationAminoMsg): Monitoring_MonitoringDestination { - return Monitoring_MonitoringDestination.fromAmino(object.value); - }, - fromProtoMsg(message: Monitoring_MonitoringDestinationProtoMsg): Monitoring_MonitoringDestination { - return Monitoring_MonitoringDestination.decode(message.value); - }, - toProto(message: Monitoring_MonitoringDestination): Uint8Array { - return Monitoring_MonitoringDestination.encode(message).finish(); - }, - toProtoMsg(message: Monitoring_MonitoringDestination): Monitoring_MonitoringDestinationProtoMsg { - return { - typeUrl: "/google.api.MonitoringDestination", - value: Monitoring_MonitoringDestination.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/quota.ts b/quicksilverjs/src/codegen/google/api/quota.ts deleted file mode 100644 index fece3efb2..000000000 --- a/quicksilverjs/src/codegen/google/api/quota.ts +++ /dev/null @@ -1,1204 +0,0 @@ -import { Long, DeepPartial, isSet, isObject } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api"; -/** - * Quota configuration helps to achieve fairness and budgeting in service - * usage. - * - * The metric based quota configuration works this way: - * - The service configuration defines a set of metrics. - * - For API calls, the quota.metric_rules maps methods to metrics with - * corresponding costs. - * - The quota.limits defines limits on the metrics, which will be used for - * quota checks at runtime. - * - * An example quota configuration in yaml format: - * - * quota: - * limits: - * - * - name: apiWriteQpsPerProject - * metric: library.googleapis.com/write_calls - * unit: "1/min/{project}" # rate limit for consumer projects - * values: - * STANDARD: 10000 - * - * - * # The metric rules bind all methods to the read_calls metric, - * # except for the UpdateBook and DeleteBook methods. These two methods - * # are mapped to the write_calls metric, with the UpdateBook method - * # consuming at twice rate as the DeleteBook method. - * metric_rules: - * - selector: "*" - * metric_costs: - * library.googleapis.com/read_calls: 1 - * - selector: google.example.library.v1.LibraryService.UpdateBook - * metric_costs: - * library.googleapis.com/write_calls: 2 - * - selector: google.example.library.v1.LibraryService.DeleteBook - * metric_costs: - * library.googleapis.com/write_calls: 1 - * - * Corresponding Metric definition: - * - * metrics: - * - name: library.googleapis.com/read_calls - * display_name: Read requests - * metric_kind: DELTA - * value_type: INT64 - * - * - name: library.googleapis.com/write_calls - * display_name: Write requests - * metric_kind: DELTA - * value_type: INT64 - */ -export interface Quota { - /** List of `QuotaLimit` definitions for the service. */ - limits: QuotaLimit[]; - /** - * List of `MetricRule` definitions, each one mapping a selected method to one - * or more metrics. - */ - metricRules: MetricRule[]; -} -export interface QuotaProtoMsg { - typeUrl: "/google.api.Quota"; - value: Uint8Array; -} -/** - * Quota configuration helps to achieve fairness and budgeting in service - * usage. - * - * The metric based quota configuration works this way: - * - The service configuration defines a set of metrics. - * - For API calls, the quota.metric_rules maps methods to metrics with - * corresponding costs. - * - The quota.limits defines limits on the metrics, which will be used for - * quota checks at runtime. - * - * An example quota configuration in yaml format: - * - * quota: - * limits: - * - * - name: apiWriteQpsPerProject - * metric: library.googleapis.com/write_calls - * unit: "1/min/{project}" # rate limit for consumer projects - * values: - * STANDARD: 10000 - * - * - * # The metric rules bind all methods to the read_calls metric, - * # except for the UpdateBook and DeleteBook methods. These two methods - * # are mapped to the write_calls metric, with the UpdateBook method - * # consuming at twice rate as the DeleteBook method. - * metric_rules: - * - selector: "*" - * metric_costs: - * library.googleapis.com/read_calls: 1 - * - selector: google.example.library.v1.LibraryService.UpdateBook - * metric_costs: - * library.googleapis.com/write_calls: 2 - * - selector: google.example.library.v1.LibraryService.DeleteBook - * metric_costs: - * library.googleapis.com/write_calls: 1 - * - * Corresponding Metric definition: - * - * metrics: - * - name: library.googleapis.com/read_calls - * display_name: Read requests - * metric_kind: DELTA - * value_type: INT64 - * - * - name: library.googleapis.com/write_calls - * display_name: Write requests - * metric_kind: DELTA - * value_type: INT64 - */ -export interface QuotaAmino { - /** List of `QuotaLimit` definitions for the service. */ - limits: QuotaLimitAmino[]; - /** - * List of `MetricRule` definitions, each one mapping a selected method to one - * or more metrics. - */ - metric_rules: MetricRuleAmino[]; -} -export interface QuotaAminoMsg { - type: "/google.api.Quota"; - value: QuotaAmino; -} -/** - * Quota configuration helps to achieve fairness and budgeting in service - * usage. - * - * The metric based quota configuration works this way: - * - The service configuration defines a set of metrics. - * - For API calls, the quota.metric_rules maps methods to metrics with - * corresponding costs. - * - The quota.limits defines limits on the metrics, which will be used for - * quota checks at runtime. - * - * An example quota configuration in yaml format: - * - * quota: - * limits: - * - * - name: apiWriteQpsPerProject - * metric: library.googleapis.com/write_calls - * unit: "1/min/{project}" # rate limit for consumer projects - * values: - * STANDARD: 10000 - * - * - * # The metric rules bind all methods to the read_calls metric, - * # except for the UpdateBook and DeleteBook methods. These two methods - * # are mapped to the write_calls metric, with the UpdateBook method - * # consuming at twice rate as the DeleteBook method. - * metric_rules: - * - selector: "*" - * metric_costs: - * library.googleapis.com/read_calls: 1 - * - selector: google.example.library.v1.LibraryService.UpdateBook - * metric_costs: - * library.googleapis.com/write_calls: 2 - * - selector: google.example.library.v1.LibraryService.DeleteBook - * metric_costs: - * library.googleapis.com/write_calls: 1 - * - * Corresponding Metric definition: - * - * metrics: - * - name: library.googleapis.com/read_calls - * display_name: Read requests - * metric_kind: DELTA - * value_type: INT64 - * - * - name: library.googleapis.com/write_calls - * display_name: Write requests - * metric_kind: DELTA - * value_type: INT64 - */ -export interface QuotaSDKType { - limits: QuotaLimitSDKType[]; - metric_rules: MetricRuleSDKType[]; -} -export interface MetricRule_MetricCostsEntry { - key: string; - value: Long; -} -export interface MetricRule_MetricCostsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface MetricRule_MetricCostsEntryAmino { - key: string; - value: string; -} -export interface MetricRule_MetricCostsEntryAminoMsg { - type: string; - value: MetricRule_MetricCostsEntryAmino; -} -export interface MetricRule_MetricCostsEntrySDKType { - key: string; - value: Long; -} -/** - * Bind API methods to metrics. Binding a method to a metric causes that - * metric's configured quota behaviors to apply to the method call. - */ -export interface MetricRule { - /** - * Selects the methods to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * Metrics to update when the selected methods are called, and the associated - * cost applied to each metric. - * - * The key of the map is the metric name, and the values are the amount - * increased for the metric against which the quota limits are defined. - * The value must not be negative. - */ - metricCosts: { - [key: string]: Long; - }; -} -export interface MetricRuleProtoMsg { - typeUrl: "/google.api.MetricRule"; - value: Uint8Array; -} -/** - * Bind API methods to metrics. Binding a method to a metric causes that - * metric's configured quota behaviors to apply to the method call. - */ -export interface MetricRuleAmino { - /** - * Selects the methods to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * Metrics to update when the selected methods are called, and the associated - * cost applied to each metric. - * - * The key of the map is the metric name, and the values are the amount - * increased for the metric against which the quota limits are defined. - * The value must not be negative. - */ - metric_costs: { - [key: string]: string; - }; -} -export interface MetricRuleAminoMsg { - type: "/google.api.MetricRule"; - value: MetricRuleAmino; -} -/** - * Bind API methods to metrics. Binding a method to a metric causes that - * metric's configured quota behaviors to apply to the method call. - */ -export interface MetricRuleSDKType { - selector: string; - metric_costs: { - [key: string]: Long; - }; -} -export interface QuotaLimit_ValuesEntry { - key: string; - value: Long; -} -export interface QuotaLimit_ValuesEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface QuotaLimit_ValuesEntryAmino { - key: string; - value: string; -} -export interface QuotaLimit_ValuesEntryAminoMsg { - type: string; - value: QuotaLimit_ValuesEntryAmino; -} -export interface QuotaLimit_ValuesEntrySDKType { - key: string; - value: Long; -} -/** - * `QuotaLimit` defines a specific limit that applies over a specified duration - * for a limit type. There can be at most one limit for a duration and limit - * type combination defined within a `QuotaGroup`. - */ -export interface QuotaLimit { - /** - * Name of the quota limit. - * - * The name must be provided, and it must be unique within the service. The - * name can only include alphanumeric characters as well as '-'. - * - * The maximum length of the limit name is 64 characters. - */ - name: string; - /** - * Optional. User-visible, extended description for this quota limit. - * Should be used only when more context is needed to understand this limit - * than provided by the limit's display name (see: `display_name`). - */ - description: string; - /** - * Default number of tokens that can be consumed during the specified - * duration. This is the number of tokens assigned when a client - * application developer activates the service for his/her project. - * - * Specifying a value of 0 will block all requests. This can be used if you - * are provisioning quota to selected consumers and blocking others. - * Similarly, a value of -1 will indicate an unlimited quota. No other - * negative values are allowed. - * - * Used by group-based quotas only. - */ - defaultLimit: Long; - /** - * Maximum number of tokens that can be consumed during the specified - * duration. Client application developers can override the default limit up - * to this maximum. If specified, this value cannot be set to a value less - * than the default limit. If not specified, it is set to the default limit. - * - * To allow clients to apply overrides with no upper bound, set this to -1, - * indicating unlimited maximum quota. - * - * Used by group-based quotas only. - */ - maxLimit: Long; - /** - * Free tier value displayed in the Developers Console for this limit. - * The free tier is the number of tokens that will be subtracted from the - * billed amount when billing is enabled. - * This field can only be set on a limit with duration "1d", in a billable - * group; it is invalid on any other limit. If this field is not set, it - * defaults to 0, indicating that there is no free tier for this service. - * - * Used by group-based quotas only. - */ - freeTier: Long; - /** - * Duration of this limit in textual notation. Must be "100s" or "1d". - * - * Used by group-based quotas only. - */ - duration: string; - /** - * The name of the metric this quota limit applies to. The quota limits with - * the same metric will be checked together during runtime. The metric must be - * defined within the service config. - */ - metric: string; - /** - * Specify the unit of the quota limit. It uses the same syntax as - * [Metric.unit][]. The supported unit kinds are determined by the quota - * backend system. - * - * Here are some examples: - * * "1/min/{project}" for quota per minute per project. - * - * Note: the order of unit components is insignificant. - * The "1" at the beginning is required to follow the metric unit syntax. - */ - unit: string; - /** - * Tiered limit values. You must specify this as a key:value pair, with an - * integer value that is the maximum number of requests allowed for the - * specified unit. Currently only STANDARD is supported. - */ - values: { - [key: string]: Long; - }; - /** - * User-visible display name for this limit. - * Optional. If not set, the UI will provide a default display name based on - * the quota configuration. This field can be used to override the default - * display name generated from the configuration. - */ - displayName: string; -} -export interface QuotaLimitProtoMsg { - typeUrl: "/google.api.QuotaLimit"; - value: Uint8Array; -} -/** - * `QuotaLimit` defines a specific limit that applies over a specified duration - * for a limit type. There can be at most one limit for a duration and limit - * type combination defined within a `QuotaGroup`. - */ -export interface QuotaLimitAmino { - /** - * Name of the quota limit. - * - * The name must be provided, and it must be unique within the service. The - * name can only include alphanumeric characters as well as '-'. - * - * The maximum length of the limit name is 64 characters. - */ - name: string; - /** - * Optional. User-visible, extended description for this quota limit. - * Should be used only when more context is needed to understand this limit - * than provided by the limit's display name (see: `display_name`). - */ - description: string; - /** - * Default number of tokens that can be consumed during the specified - * duration. This is the number of tokens assigned when a client - * application developer activates the service for his/her project. - * - * Specifying a value of 0 will block all requests. This can be used if you - * are provisioning quota to selected consumers and blocking others. - * Similarly, a value of -1 will indicate an unlimited quota. No other - * negative values are allowed. - * - * Used by group-based quotas only. - */ - default_limit: string; - /** - * Maximum number of tokens that can be consumed during the specified - * duration. Client application developers can override the default limit up - * to this maximum. If specified, this value cannot be set to a value less - * than the default limit. If not specified, it is set to the default limit. - * - * To allow clients to apply overrides with no upper bound, set this to -1, - * indicating unlimited maximum quota. - * - * Used by group-based quotas only. - */ - max_limit: string; - /** - * Free tier value displayed in the Developers Console for this limit. - * The free tier is the number of tokens that will be subtracted from the - * billed amount when billing is enabled. - * This field can only be set on a limit with duration "1d", in a billable - * group; it is invalid on any other limit. If this field is not set, it - * defaults to 0, indicating that there is no free tier for this service. - * - * Used by group-based quotas only. - */ - free_tier: string; - /** - * Duration of this limit in textual notation. Must be "100s" or "1d". - * - * Used by group-based quotas only. - */ - duration: string; - /** - * The name of the metric this quota limit applies to. The quota limits with - * the same metric will be checked together during runtime. The metric must be - * defined within the service config. - */ - metric: string; - /** - * Specify the unit of the quota limit. It uses the same syntax as - * [Metric.unit][]. The supported unit kinds are determined by the quota - * backend system. - * - * Here are some examples: - * * "1/min/{project}" for quota per minute per project. - * - * Note: the order of unit components is insignificant. - * The "1" at the beginning is required to follow the metric unit syntax. - */ - unit: string; - /** - * Tiered limit values. You must specify this as a key:value pair, with an - * integer value that is the maximum number of requests allowed for the - * specified unit. Currently only STANDARD is supported. - */ - values: { - [key: string]: string; - }; - /** - * User-visible display name for this limit. - * Optional. If not set, the UI will provide a default display name based on - * the quota configuration. This field can be used to override the default - * display name generated from the configuration. - */ - display_name: string; -} -export interface QuotaLimitAminoMsg { - type: "/google.api.QuotaLimit"; - value: QuotaLimitAmino; -} -/** - * `QuotaLimit` defines a specific limit that applies over a specified duration - * for a limit type. There can be at most one limit for a duration and limit - * type combination defined within a `QuotaGroup`. - */ -export interface QuotaLimitSDKType { - name: string; - description: string; - default_limit: Long; - max_limit: Long; - free_tier: Long; - duration: string; - metric: string; - unit: string; - values: { - [key: string]: Long; - }; - display_name: string; -} -function createBaseQuota(): Quota { - return { - limits: [], - metricRules: [] - }; -} -export const Quota = { - typeUrl: "/google.api.Quota", - encode(message: Quota, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.limits) { - QuotaLimit.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.metricRules) { - MetricRule.encode(v!, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Quota { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuota(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 3: - message.limits.push(QuotaLimit.decode(reader, reader.uint32())); - break; - case 4: - message.metricRules.push(MetricRule.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Quota { - const obj = createBaseQuota(); - if (Array.isArray(object?.limits)) obj.limits = object.limits.map((e: any) => QuotaLimit.fromJSON(e)); - if (Array.isArray(object?.metricRules)) obj.metricRules = object.metricRules.map((e: any) => MetricRule.fromJSON(e)); - return obj; - }, - toJSON(message: Quota): unknown { - const obj: any = {}; - if (message.limits) { - obj.limits = message.limits.map(e => e ? QuotaLimit.toJSON(e) : undefined); - } else { - obj.limits = []; - } - if (message.metricRules) { - obj.metricRules = message.metricRules.map(e => e ? MetricRule.toJSON(e) : undefined); - } else { - obj.metricRules = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Quota { - const message = createBaseQuota(); - message.limits = object.limits?.map(e => QuotaLimit.fromPartial(e)) || []; - message.metricRules = object.metricRules?.map(e => MetricRule.fromPartial(e)) || []; - return message; - }, - fromSDK(object: QuotaSDKType): Quota { - return { - limits: Array.isArray(object?.limits) ? object.limits.map((e: any) => QuotaLimit.fromSDK(e)) : [], - metricRules: Array.isArray(object?.metric_rules) ? object.metric_rules.map((e: any) => MetricRule.fromSDK(e)) : [] - }; - }, - toSDK(message: Quota): QuotaSDKType { - const obj: any = {}; - if (message.limits) { - obj.limits = message.limits.map(e => e ? QuotaLimit.toSDK(e) : undefined); - } else { - obj.limits = []; - } - if (message.metricRules) { - obj.metric_rules = message.metricRules.map(e => e ? MetricRule.toSDK(e) : undefined); - } else { - obj.metric_rules = []; - } - return obj; - }, - fromAmino(object: QuotaAmino): Quota { - return { - limits: Array.isArray(object?.limits) ? object.limits.map((e: any) => QuotaLimit.fromAmino(e)) : [], - metricRules: Array.isArray(object?.metric_rules) ? object.metric_rules.map((e: any) => MetricRule.fromAmino(e)) : [] - }; - }, - toAmino(message: Quota): QuotaAmino { - const obj: any = {}; - if (message.limits) { - obj.limits = message.limits.map(e => e ? QuotaLimit.toAmino(e) : undefined); - } else { - obj.limits = []; - } - if (message.metricRules) { - obj.metric_rules = message.metricRules.map(e => e ? MetricRule.toAmino(e) : undefined); - } else { - obj.metric_rules = []; - } - return obj; - }, - fromAminoMsg(object: QuotaAminoMsg): Quota { - return Quota.fromAmino(object.value); - }, - fromProtoMsg(message: QuotaProtoMsg): Quota { - return Quota.decode(message.value); - }, - toProto(message: Quota): Uint8Array { - return Quota.encode(message).finish(); - }, - toProtoMsg(message: Quota): QuotaProtoMsg { - return { - typeUrl: "/google.api.Quota", - value: Quota.encode(message).finish() - }; - } -}; -function createBaseMetricRule_MetricCostsEntry(): MetricRule_MetricCostsEntry { - return { - key: "", - value: Long.ZERO - }; -} -export const MetricRule_MetricCostsEntry = { - encode(message: MetricRule_MetricCostsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (!message.value.isZero()) { - writer.uint32(16).int64(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MetricRule_MetricCostsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetricRule_MetricCostsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MetricRule_MetricCostsEntry { - const obj = createBaseMetricRule_MetricCostsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = Long.fromValue(object.value); - return obj; - }, - toJSON(message: MetricRule_MetricCostsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = (message.value || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): MetricRule_MetricCostsEntry { - const message = createBaseMetricRule_MetricCostsEntry(); - message.key = object.key ?? ""; - if (object.value !== undefined && object.value !== null) { - message.value = Long.fromValue(object.value); - } - return message; - }, - fromSDK(object: MetricRule_MetricCostsEntrySDKType): MetricRule_MetricCostsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: MetricRule_MetricCostsEntry): MetricRule_MetricCostsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: MetricRule_MetricCostsEntryAmino): MetricRule_MetricCostsEntry { - return { - key: object.key, - value: Long.fromString(object.value) - }; - }, - toAmino(message: MetricRule_MetricCostsEntry): MetricRule_MetricCostsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value ? message.value.toString() : undefined; - return obj; - }, - fromAminoMsg(object: MetricRule_MetricCostsEntryAminoMsg): MetricRule_MetricCostsEntry { - return MetricRule_MetricCostsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: MetricRule_MetricCostsEntryProtoMsg): MetricRule_MetricCostsEntry { - return MetricRule_MetricCostsEntry.decode(message.value); - }, - toProto(message: MetricRule_MetricCostsEntry): Uint8Array { - return MetricRule_MetricCostsEntry.encode(message).finish(); - } -}; -function createBaseMetricRule(): MetricRule { - return { - selector: "", - metricCosts: {} - }; -} -export const MetricRule = { - typeUrl: "/google.api.MetricRule", - encode(message: MetricRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.selector !== "") { - writer.uint32(10).string(message.selector); - } - Object.entries(message.metricCosts).forEach(([key, value]) => { - MetricRule_MetricCostsEntry.encode({ - key: (key as any), - value - }, writer.uint32(16).fork()).ldelim(); - }); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MetricRule { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetricRule(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - const entry2 = MetricRule_MetricCostsEntry.decode(reader, reader.uint32()); - if (entry2.value !== undefined) { - message.metricCosts[entry2.key] = entry2.value; - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MetricRule { - const obj = createBaseMetricRule(); - if (isSet(object.selector)) obj.selector = String(object.selector); - if (isObject(object.metricCosts)) obj.metricCosts = Object.entries(object.metricCosts).reduce<{ - [key: string]: Long; - }>((acc, [key, value]) => { - acc[key] = Long.fromValue((value as Long | string)); - return acc; - }, {}); - return obj; - }, - toJSON(message: MetricRule): unknown { - const obj: any = {}; - message.selector !== undefined && (obj.selector = message.selector); - obj.metricCosts = {}; - if (message.metricCosts) { - Object.entries(message.metricCosts).forEach(([k, v]) => { - obj.metricCosts[k] = v.toString(); - }); - } - return obj; - }, - fromPartial(object: DeepPartial): MetricRule { - const message = createBaseMetricRule(); - message.selector = object.selector ?? ""; - message.metricCosts = Object.entries(object.metricCosts ?? {}).reduce<{ - [key: string]: Long; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = Long.fromValue(value); - } - return acc; - }, {}); - return message; - }, - fromSDK(object: MetricRuleSDKType): MetricRule { - return { - selector: object?.selector, - metricCosts: isObject(object.metric_costs) ? Object.entries(object.metric_costs).reduce<{ - [key: string]: Long; - }>((acc, [key, value]) => { - acc[key] = Long.fromValue((value as Long | string)); - return acc; - }, {}) : {} - }; - }, - toSDK(message: MetricRule): MetricRuleSDKType { - const obj: any = {}; - obj.selector = message.selector; - obj.metric_costs = {}; - if (message.metricCosts) { - Object.entries(message.metricCosts).forEach(([k, v]) => { - obj.metric_costs[k] = v.toString(); - }); - } - return obj; - }, - fromAmino(object: MetricRuleAmino): MetricRule { - return { - selector: object.selector, - metricCosts: isObject(object.metric_costs) ? Object.entries(object.metric_costs).reduce<{ - [key: string]: Long; - }>((acc, [key, value]) => { - acc[key] = Long.fromValue((value as Long | string)); - return acc; - }, {}) : {} - }; - }, - toAmino(message: MetricRule): MetricRuleAmino { - const obj: any = {}; - obj.selector = message.selector; - obj.metric_costs = {}; - if (message.metricCosts) { - Object.entries(message.metricCosts).forEach(([k, v]) => { - obj.metric_costs[k] = v.toString(); - }); - } - return obj; - }, - fromAminoMsg(object: MetricRuleAminoMsg): MetricRule { - return MetricRule.fromAmino(object.value); - }, - fromProtoMsg(message: MetricRuleProtoMsg): MetricRule { - return MetricRule.decode(message.value); - }, - toProto(message: MetricRule): Uint8Array { - return MetricRule.encode(message).finish(); - }, - toProtoMsg(message: MetricRule): MetricRuleProtoMsg { - return { - typeUrl: "/google.api.MetricRule", - value: MetricRule.encode(message).finish() - }; - } -}; -function createBaseQuotaLimit_ValuesEntry(): QuotaLimit_ValuesEntry { - return { - key: "", - value: Long.ZERO - }; -} -export const QuotaLimit_ValuesEntry = { - encode(message: QuotaLimit_ValuesEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (!message.value.isZero()) { - writer.uint32(16).int64(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuotaLimit_ValuesEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuotaLimit_ValuesEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuotaLimit_ValuesEntry { - const obj = createBaseQuotaLimit_ValuesEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = Long.fromValue(object.value); - return obj; - }, - toJSON(message: QuotaLimit_ValuesEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = (message.value || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): QuotaLimit_ValuesEntry { - const message = createBaseQuotaLimit_ValuesEntry(); - message.key = object.key ?? ""; - if (object.value !== undefined && object.value !== null) { - message.value = Long.fromValue(object.value); - } - return message; - }, - fromSDK(object: QuotaLimit_ValuesEntrySDKType): QuotaLimit_ValuesEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: QuotaLimit_ValuesEntry): QuotaLimit_ValuesEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: QuotaLimit_ValuesEntryAmino): QuotaLimit_ValuesEntry { - return { - key: object.key, - value: Long.fromString(object.value) - }; - }, - toAmino(message: QuotaLimit_ValuesEntry): QuotaLimit_ValuesEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value ? message.value.toString() : undefined; - return obj; - }, - fromAminoMsg(object: QuotaLimit_ValuesEntryAminoMsg): QuotaLimit_ValuesEntry { - return QuotaLimit_ValuesEntry.fromAmino(object.value); - }, - fromProtoMsg(message: QuotaLimit_ValuesEntryProtoMsg): QuotaLimit_ValuesEntry { - return QuotaLimit_ValuesEntry.decode(message.value); - }, - toProto(message: QuotaLimit_ValuesEntry): Uint8Array { - return QuotaLimit_ValuesEntry.encode(message).finish(); - } -}; -function createBaseQuotaLimit(): QuotaLimit { - return { - name: "", - description: "", - defaultLimit: Long.ZERO, - maxLimit: Long.ZERO, - freeTier: Long.ZERO, - duration: "", - metric: "", - unit: "", - values: {}, - displayName: "" - }; -} -export const QuotaLimit = { - typeUrl: "/google.api.QuotaLimit", - encode(message: QuotaLimit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(50).string(message.name); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (!message.defaultLimit.isZero()) { - writer.uint32(24).int64(message.defaultLimit); - } - if (!message.maxLimit.isZero()) { - writer.uint32(32).int64(message.maxLimit); - } - if (!message.freeTier.isZero()) { - writer.uint32(56).int64(message.freeTier); - } - if (message.duration !== "") { - writer.uint32(42).string(message.duration); - } - if (message.metric !== "") { - writer.uint32(66).string(message.metric); - } - if (message.unit !== "") { - writer.uint32(74).string(message.unit); - } - Object.entries(message.values).forEach(([key, value]) => { - QuotaLimit_ValuesEntry.encode({ - key: (key as any), - value - }, writer.uint32(80).fork()).ldelim(); - }); - if (message.displayName !== "") { - writer.uint32(98).string(message.displayName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuotaLimit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuotaLimit(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 6: - message.name = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.defaultLimit = (reader.int64() as Long); - break; - case 4: - message.maxLimit = (reader.int64() as Long); - break; - case 7: - message.freeTier = (reader.int64() as Long); - break; - case 5: - message.duration = reader.string(); - break; - case 8: - message.metric = reader.string(); - break; - case 9: - message.unit = reader.string(); - break; - case 10: - const entry10 = QuotaLimit_ValuesEntry.decode(reader, reader.uint32()); - if (entry10.value !== undefined) { - message.values[entry10.key] = entry10.value; - } - break; - case 12: - message.displayName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuotaLimit { - const obj = createBaseQuotaLimit(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.defaultLimit)) obj.defaultLimit = Long.fromValue(object.defaultLimit); - if (isSet(object.maxLimit)) obj.maxLimit = Long.fromValue(object.maxLimit); - if (isSet(object.freeTier)) obj.freeTier = Long.fromValue(object.freeTier); - if (isSet(object.duration)) obj.duration = String(object.duration); - if (isSet(object.metric)) obj.metric = String(object.metric); - if (isSet(object.unit)) obj.unit = String(object.unit); - if (isObject(object.values)) obj.values = Object.entries(object.values).reduce<{ - [key: string]: Long; - }>((acc, [key, value]) => { - acc[key] = Long.fromValue((value as Long | string)); - return acc; - }, {}); - if (isSet(object.displayName)) obj.displayName = String(object.displayName); - return obj; - }, - toJSON(message: QuotaLimit): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.description !== undefined && (obj.description = message.description); - message.defaultLimit !== undefined && (obj.defaultLimit = (message.defaultLimit || Long.ZERO).toString()); - message.maxLimit !== undefined && (obj.maxLimit = (message.maxLimit || Long.ZERO).toString()); - message.freeTier !== undefined && (obj.freeTier = (message.freeTier || Long.ZERO).toString()); - message.duration !== undefined && (obj.duration = message.duration); - message.metric !== undefined && (obj.metric = message.metric); - message.unit !== undefined && (obj.unit = message.unit); - obj.values = {}; - if (message.values) { - Object.entries(message.values).forEach(([k, v]) => { - obj.values[k] = v.toString(); - }); - } - message.displayName !== undefined && (obj.displayName = message.displayName); - return obj; - }, - fromPartial(object: DeepPartial): QuotaLimit { - const message = createBaseQuotaLimit(); - message.name = object.name ?? ""; - message.description = object.description ?? ""; - if (object.defaultLimit !== undefined && object.defaultLimit !== null) { - message.defaultLimit = Long.fromValue(object.defaultLimit); - } - if (object.maxLimit !== undefined && object.maxLimit !== null) { - message.maxLimit = Long.fromValue(object.maxLimit); - } - if (object.freeTier !== undefined && object.freeTier !== null) { - message.freeTier = Long.fromValue(object.freeTier); - } - message.duration = object.duration ?? ""; - message.metric = object.metric ?? ""; - message.unit = object.unit ?? ""; - message.values = Object.entries(object.values ?? {}).reduce<{ - [key: string]: Long; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = Long.fromValue(value); - } - return acc; - }, {}); - message.displayName = object.displayName ?? ""; - return message; - }, - fromSDK(object: QuotaLimitSDKType): QuotaLimit { - return { - name: object?.name, - description: object?.description, - defaultLimit: object?.default_limit, - maxLimit: object?.max_limit, - freeTier: object?.free_tier, - duration: object?.duration, - metric: object?.metric, - unit: object?.unit, - values: isObject(object.values) ? Object.entries(object.values).reduce<{ - [key: string]: Long; - }>((acc, [key, value]) => { - acc[key] = Long.fromValue((value as Long | string)); - return acc; - }, {}) : {}, - displayName: object?.display_name - }; - }, - toSDK(message: QuotaLimit): QuotaLimitSDKType { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - obj.default_limit = message.defaultLimit; - obj.max_limit = message.maxLimit; - obj.free_tier = message.freeTier; - obj.duration = message.duration; - obj.metric = message.metric; - obj.unit = message.unit; - obj.values = {}; - if (message.values) { - Object.entries(message.values).forEach(([k, v]) => { - obj.values[k] = v.toString(); - }); - } - obj.display_name = message.displayName; - return obj; - }, - fromAmino(object: QuotaLimitAmino): QuotaLimit { - return { - name: object.name, - description: object.description, - defaultLimit: Long.fromString(object.default_limit), - maxLimit: Long.fromString(object.max_limit), - freeTier: Long.fromString(object.free_tier), - duration: object.duration, - metric: object.metric, - unit: object.unit, - values: isObject(object.values) ? Object.entries(object.values).reduce<{ - [key: string]: Long; - }>((acc, [key, value]) => { - acc[key] = Long.fromValue((value as Long | string)); - return acc; - }, {}) : {}, - displayName: object.display_name - }; - }, - toAmino(message: QuotaLimit): QuotaLimitAmino { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - obj.default_limit = message.defaultLimit ? message.defaultLimit.toString() : undefined; - obj.max_limit = message.maxLimit ? message.maxLimit.toString() : undefined; - obj.free_tier = message.freeTier ? message.freeTier.toString() : undefined; - obj.duration = message.duration; - obj.metric = message.metric; - obj.unit = message.unit; - obj.values = {}; - if (message.values) { - Object.entries(message.values).forEach(([k, v]) => { - obj.values[k] = v.toString(); - }); - } - obj.display_name = message.displayName; - return obj; - }, - fromAminoMsg(object: QuotaLimitAminoMsg): QuotaLimit { - return QuotaLimit.fromAmino(object.value); - }, - fromProtoMsg(message: QuotaLimitProtoMsg): QuotaLimit { - return QuotaLimit.decode(message.value); - }, - toProto(message: QuotaLimit): Uint8Array { - return QuotaLimit.encode(message).finish(); - }, - toProtoMsg(message: QuotaLimit): QuotaLimitProtoMsg { - return { - typeUrl: "/google.api.QuotaLimit", - value: QuotaLimit.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/resource.ts b/quicksilverjs/src/codegen/google/api/resource.ts deleted file mode 100644 index bf109881b..000000000 --- a/quicksilverjs/src/codegen/google/api/resource.ts +++ /dev/null @@ -1,824 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * A description of the historical or future-looking state of the - * resource pattern. - */ -export enum ResourceDescriptor_History { - /** HISTORY_UNSPECIFIED - The "unset" value. */ - HISTORY_UNSPECIFIED = 0, - /** - * ORIGINALLY_SINGLE_PATTERN - The resource originally had one pattern and launched as such, and - * additional patterns were added later. - */ - ORIGINALLY_SINGLE_PATTERN = 1, - /** - * FUTURE_MULTI_PATTERN - The resource has one pattern, but the API owner expects to add more - * later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents - * that from being necessary once there are multiple patterns.) - */ - FUTURE_MULTI_PATTERN = 2, - UNRECOGNIZED = -1, -} -export const ResourceDescriptor_HistorySDKType = ResourceDescriptor_History; -export const ResourceDescriptor_HistoryAmino = ResourceDescriptor_History; -export function resourceDescriptor_HistoryFromJSON(object: any): ResourceDescriptor_History { - switch (object) { - case 0: - case "HISTORY_UNSPECIFIED": - return ResourceDescriptor_History.HISTORY_UNSPECIFIED; - case 1: - case "ORIGINALLY_SINGLE_PATTERN": - return ResourceDescriptor_History.ORIGINALLY_SINGLE_PATTERN; - case 2: - case "FUTURE_MULTI_PATTERN": - return ResourceDescriptor_History.FUTURE_MULTI_PATTERN; - case -1: - case "UNRECOGNIZED": - default: - return ResourceDescriptor_History.UNRECOGNIZED; - } -} -export function resourceDescriptor_HistoryToJSON(object: ResourceDescriptor_History): string { - switch (object) { - case ResourceDescriptor_History.HISTORY_UNSPECIFIED: - return "HISTORY_UNSPECIFIED"; - case ResourceDescriptor_History.ORIGINALLY_SINGLE_PATTERN: - return "ORIGINALLY_SINGLE_PATTERN"; - case ResourceDescriptor_History.FUTURE_MULTI_PATTERN: - return "FUTURE_MULTI_PATTERN"; - case ResourceDescriptor_History.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** A flag representing a specific style that a resource claims to conform to. */ -export enum ResourceDescriptor_Style { - /** STYLE_UNSPECIFIED - The unspecified value. Do not use. */ - STYLE_UNSPECIFIED = 0, - /** - * DECLARATIVE_FRIENDLY - This resource is intended to be "declarative-friendly". - * - * Declarative-friendly resources must be more strictly consistent, and - * setting this to true communicates to tools that this resource should - * adhere to declarative-friendly expectations. - * - * Note: This is used by the API linter (linter.aip.dev) to enable - * additional checks. - */ - DECLARATIVE_FRIENDLY = 1, - UNRECOGNIZED = -1, -} -export const ResourceDescriptor_StyleSDKType = ResourceDescriptor_Style; -export const ResourceDescriptor_StyleAmino = ResourceDescriptor_Style; -export function resourceDescriptor_StyleFromJSON(object: any): ResourceDescriptor_Style { - switch (object) { - case 0: - case "STYLE_UNSPECIFIED": - return ResourceDescriptor_Style.STYLE_UNSPECIFIED; - case 1: - case "DECLARATIVE_FRIENDLY": - return ResourceDescriptor_Style.DECLARATIVE_FRIENDLY; - case -1: - case "UNRECOGNIZED": - default: - return ResourceDescriptor_Style.UNRECOGNIZED; - } -} -export function resourceDescriptor_StyleToJSON(object: ResourceDescriptor_Style): string { - switch (object) { - case ResourceDescriptor_Style.STYLE_UNSPECIFIED: - return "STYLE_UNSPECIFIED"; - case ResourceDescriptor_Style.DECLARATIVE_FRIENDLY: - return "DECLARATIVE_FRIENDLY"; - case ResourceDescriptor_Style.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * A simple descriptor of a resource type. - * - * ResourceDescriptor annotates a resource message (either by means of a - * protobuf annotation or use in the service config), and associates the - * resource's schema, the resource type, and the pattern of the resource name. - * - * Example: - * - * message Topic { - * // Indicates this message defines a resource schema. - * // Declares the resource type in the format of {service}/{kind}. - * // For Kubernetes resources, the format is {api group}/{kind}. - * option (google.api.resource) = { - * type: "pubsub.googleapis.com/Topic" - * pattern: "projects/{project}/topics/{topic}" - * }; - * } - * - * The ResourceDescriptor Yaml config will look like: - * - * resources: - * - type: "pubsub.googleapis.com/Topic" - * pattern: "projects/{project}/topics/{topic}" - * - * Sometimes, resources have multiple patterns, typically because they can - * live under multiple parents. - * - * Example: - * - * message LogEntry { - * option (google.api.resource) = { - * type: "logging.googleapis.com/LogEntry" - * pattern: "projects/{project}/logs/{log}" - * pattern: "folders/{folder}/logs/{log}" - * pattern: "organizations/{organization}/logs/{log}" - * pattern: "billingAccounts/{billing_account}/logs/{log}" - * }; - * } - * - * The ResourceDescriptor Yaml config will look like: - * - * resources: - * - type: 'logging.googleapis.com/LogEntry' - * pattern: "projects/{project}/logs/{log}" - * pattern: "folders/{folder}/logs/{log}" - * pattern: "organizations/{organization}/logs/{log}" - * pattern: "billingAccounts/{billing_account}/logs/{log}" - */ -export interface ResourceDescriptor { - /** - * The resource type. It must be in the format of - * {service_name}/{resource_type_kind}. The `resource_type_kind` must be - * singular and must not include version numbers. - * - * Example: `storage.googleapis.com/Bucket` - * - * The value of the resource_type_kind must follow the regular expression - * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and - * should use PascalCase (UpperCamelCase). The maximum number of - * characters allowed for the `resource_type_kind` is 100. - */ - type: string; - /** - * Optional. The relative resource name pattern associated with this resource - * type. The DNS prefix of the full resource name shouldn't be specified here. - * - * The path pattern must follow the syntax, which aligns with HTTP binding - * syntax: - * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; - * - * Examples: - * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" - * - * The components in braces correspond to the IDs for each resource in the - * hierarchy. It is expected that, if multiple patterns are provided, - * the same component name (e.g. "project") refers to IDs of the same - * type of resource. - */ - pattern: string[]; - /** - * Optional. The field on the resource that designates the resource name - * field. If omitted, this is assumed to be "name". - */ - nameField: string; - /** - * Optional. The historical or future-looking state of the resource pattern. - * - * Example: - * - * // The InspectTemplate message originally only supported resource - * // names with organization, and project was added later. - * message InspectTemplate { - * option (google.api.resource) = { - * type: "dlp.googleapis.com/InspectTemplate" - * pattern: - * "organizations/{organization}/inspectTemplates/{inspect_template}" - * pattern: "projects/{project}/inspectTemplates/{inspect_template}" - * history: ORIGINALLY_SINGLE_PATTERN - * }; - * } - */ - history: ResourceDescriptor_History; - /** - * The plural name used in the resource name and permission names, such as - * 'projects' for the resource name of 'projects/{project}' and the permission - * name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same - * concept of the `plural` field in k8s CRD spec - * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ - * - * Note: The plural form is required even for singleton resources. See - * https://aip.dev/156 - */ - plural: string; - /** - * The same concept of the `singular` field in k8s CRD spec - * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ - * Such as "project" for the `resourcemanager.googleapis.com/Project` type. - */ - singular: string; - /** - * Style flag(s) for this resource. - * These indicate that a resource is expected to conform to a given - * style. See the specific style flags for additional information. - */ - style: ResourceDescriptor_Style[]; -} -export interface ResourceDescriptorProtoMsg { - typeUrl: "/google.api.ResourceDescriptor"; - value: Uint8Array; -} -/** - * A simple descriptor of a resource type. - * - * ResourceDescriptor annotates a resource message (either by means of a - * protobuf annotation or use in the service config), and associates the - * resource's schema, the resource type, and the pattern of the resource name. - * - * Example: - * - * message Topic { - * // Indicates this message defines a resource schema. - * // Declares the resource type in the format of {service}/{kind}. - * // For Kubernetes resources, the format is {api group}/{kind}. - * option (google.api.resource) = { - * type: "pubsub.googleapis.com/Topic" - * pattern: "projects/{project}/topics/{topic}" - * }; - * } - * - * The ResourceDescriptor Yaml config will look like: - * - * resources: - * - type: "pubsub.googleapis.com/Topic" - * pattern: "projects/{project}/topics/{topic}" - * - * Sometimes, resources have multiple patterns, typically because they can - * live under multiple parents. - * - * Example: - * - * message LogEntry { - * option (google.api.resource) = { - * type: "logging.googleapis.com/LogEntry" - * pattern: "projects/{project}/logs/{log}" - * pattern: "folders/{folder}/logs/{log}" - * pattern: "organizations/{organization}/logs/{log}" - * pattern: "billingAccounts/{billing_account}/logs/{log}" - * }; - * } - * - * The ResourceDescriptor Yaml config will look like: - * - * resources: - * - type: 'logging.googleapis.com/LogEntry' - * pattern: "projects/{project}/logs/{log}" - * pattern: "folders/{folder}/logs/{log}" - * pattern: "organizations/{organization}/logs/{log}" - * pattern: "billingAccounts/{billing_account}/logs/{log}" - */ -export interface ResourceDescriptorAmino { - /** - * The resource type. It must be in the format of - * {service_name}/{resource_type_kind}. The `resource_type_kind` must be - * singular and must not include version numbers. - * - * Example: `storage.googleapis.com/Bucket` - * - * The value of the resource_type_kind must follow the regular expression - * /[A-Za-z][a-zA-Z0-9]+/. It should start with an upper case character and - * should use PascalCase (UpperCamelCase). The maximum number of - * characters allowed for the `resource_type_kind` is 100. - */ - type: string; - /** - * Optional. The relative resource name pattern associated with this resource - * type. The DNS prefix of the full resource name shouldn't be specified here. - * - * The path pattern must follow the syntax, which aligns with HTTP binding - * syntax: - * - * Template = Segment { "/" Segment } ; - * Segment = LITERAL | Variable ; - * Variable = "{" LITERAL "}" ; - * - * Examples: - * - * - "projects/{project}/topics/{topic}" - * - "projects/{project}/knowledgeBases/{knowledge_base}" - * - * The components in braces correspond to the IDs for each resource in the - * hierarchy. It is expected that, if multiple patterns are provided, - * the same component name (e.g. "project") refers to IDs of the same - * type of resource. - */ - pattern: string[]; - /** - * Optional. The field on the resource that designates the resource name - * field. If omitted, this is assumed to be "name". - */ - name_field: string; - /** - * Optional. The historical or future-looking state of the resource pattern. - * - * Example: - * - * // The InspectTemplate message originally only supported resource - * // names with organization, and project was added later. - * message InspectTemplate { - * option (google.api.resource) = { - * type: "dlp.googleapis.com/InspectTemplate" - * pattern: - * "organizations/{organization}/inspectTemplates/{inspect_template}" - * pattern: "projects/{project}/inspectTemplates/{inspect_template}" - * history: ORIGINALLY_SINGLE_PATTERN - * }; - * } - */ - history: ResourceDescriptor_History; - /** - * The plural name used in the resource name and permission names, such as - * 'projects' for the resource name of 'projects/{project}' and the permission - * name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same - * concept of the `plural` field in k8s CRD spec - * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ - * - * Note: The plural form is required even for singleton resources. See - * https://aip.dev/156 - */ - plural: string; - /** - * The same concept of the `singular` field in k8s CRD spec - * https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/ - * Such as "project" for the `resourcemanager.googleapis.com/Project` type. - */ - singular: string; - /** - * Style flag(s) for this resource. - * These indicate that a resource is expected to conform to a given - * style. See the specific style flags for additional information. - */ - style: ResourceDescriptor_Style[]; -} -export interface ResourceDescriptorAminoMsg { - type: "/google.api.ResourceDescriptor"; - value: ResourceDescriptorAmino; -} -/** - * A simple descriptor of a resource type. - * - * ResourceDescriptor annotates a resource message (either by means of a - * protobuf annotation or use in the service config), and associates the - * resource's schema, the resource type, and the pattern of the resource name. - * - * Example: - * - * message Topic { - * // Indicates this message defines a resource schema. - * // Declares the resource type in the format of {service}/{kind}. - * // For Kubernetes resources, the format is {api group}/{kind}. - * option (google.api.resource) = { - * type: "pubsub.googleapis.com/Topic" - * pattern: "projects/{project}/topics/{topic}" - * }; - * } - * - * The ResourceDescriptor Yaml config will look like: - * - * resources: - * - type: "pubsub.googleapis.com/Topic" - * pattern: "projects/{project}/topics/{topic}" - * - * Sometimes, resources have multiple patterns, typically because they can - * live under multiple parents. - * - * Example: - * - * message LogEntry { - * option (google.api.resource) = { - * type: "logging.googleapis.com/LogEntry" - * pattern: "projects/{project}/logs/{log}" - * pattern: "folders/{folder}/logs/{log}" - * pattern: "organizations/{organization}/logs/{log}" - * pattern: "billingAccounts/{billing_account}/logs/{log}" - * }; - * } - * - * The ResourceDescriptor Yaml config will look like: - * - * resources: - * - type: 'logging.googleapis.com/LogEntry' - * pattern: "projects/{project}/logs/{log}" - * pattern: "folders/{folder}/logs/{log}" - * pattern: "organizations/{organization}/logs/{log}" - * pattern: "billingAccounts/{billing_account}/logs/{log}" - */ -export interface ResourceDescriptorSDKType { - type: string; - pattern: string[]; - name_field: string; - history: ResourceDescriptor_History; - plural: string; - singular: string; - style: ResourceDescriptor_Style[]; -} -/** - * Defines a proto annotation that describes a string field that refers to - * an API resource. - */ -export interface ResourceReference { - /** - * The resource type that the annotated field references. - * - * Example: - * - * message Subscription { - * string topic = 2 [(google.api.resource_reference) = { - * type: "pubsub.googleapis.com/Topic" - * }]; - * } - * - * Occasionally, a field may reference an arbitrary resource. In this case, - * APIs use the special value * in their resource reference. - * - * Example: - * - * message GetIamPolicyRequest { - * string resource = 2 [(google.api.resource_reference) = { - * type: "*" - * }]; - * } - */ - type: string; - /** - * The resource type of a child collection that the annotated field - * references. This is useful for annotating the `parent` field that - * doesn't have a fixed resource type. - * - * Example: - * - * message ListLogEntriesRequest { - * string parent = 1 [(google.api.resource_reference) = { - * child_type: "logging.googleapis.com/LogEntry" - * }; - * } - */ - childType: string; -} -export interface ResourceReferenceProtoMsg { - typeUrl: "/google.api.ResourceReference"; - value: Uint8Array; -} -/** - * Defines a proto annotation that describes a string field that refers to - * an API resource. - */ -export interface ResourceReferenceAmino { - /** - * The resource type that the annotated field references. - * - * Example: - * - * message Subscription { - * string topic = 2 [(google.api.resource_reference) = { - * type: "pubsub.googleapis.com/Topic" - * }]; - * } - * - * Occasionally, a field may reference an arbitrary resource. In this case, - * APIs use the special value * in their resource reference. - * - * Example: - * - * message GetIamPolicyRequest { - * string resource = 2 [(google.api.resource_reference) = { - * type: "*" - * }]; - * } - */ - type: string; - /** - * The resource type of a child collection that the annotated field - * references. This is useful for annotating the `parent` field that - * doesn't have a fixed resource type. - * - * Example: - * - * message ListLogEntriesRequest { - * string parent = 1 [(google.api.resource_reference) = { - * child_type: "logging.googleapis.com/LogEntry" - * }; - * } - */ - child_type: string; -} -export interface ResourceReferenceAminoMsg { - type: "/google.api.ResourceReference"; - value: ResourceReferenceAmino; -} -/** - * Defines a proto annotation that describes a string field that refers to - * an API resource. - */ -export interface ResourceReferenceSDKType { - type: string; - child_type: string; -} -function createBaseResourceDescriptor(): ResourceDescriptor { - return { - type: "", - pattern: [], - nameField: "", - history: 0, - plural: "", - singular: "", - style: [] - }; -} -export const ResourceDescriptor = { - typeUrl: "/google.api.ResourceDescriptor", - encode(message: ResourceDescriptor, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== "") { - writer.uint32(10).string(message.type); - } - for (const v of message.pattern) { - writer.uint32(18).string(v!); - } - if (message.nameField !== "") { - writer.uint32(26).string(message.nameField); - } - if (message.history !== 0) { - writer.uint32(32).int32(message.history); - } - if (message.plural !== "") { - writer.uint32(42).string(message.plural); - } - if (message.singular !== "") { - writer.uint32(50).string(message.singular); - } - writer.uint32(82).fork(); - for (const v of message.style) { - writer.int32(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResourceDescriptor { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResourceDescriptor(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - message.pattern.push(reader.string()); - break; - case 3: - message.nameField = reader.string(); - break; - case 4: - message.history = (reader.int32() as any); - break; - case 5: - message.plural = reader.string(); - break; - case 6: - message.singular = reader.string(); - break; - case 10: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.style.push((reader.int32() as any)); - } - } else { - message.style.push((reader.int32() as any)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ResourceDescriptor { - const obj = createBaseResourceDescriptor(); - if (isSet(object.type)) obj.type = String(object.type); - if (Array.isArray(object?.pattern)) obj.pattern = object.pattern.map((e: any) => String(e)); - if (isSet(object.nameField)) obj.nameField = String(object.nameField); - if (isSet(object.history)) obj.history = resourceDescriptor_HistoryFromJSON(object.history); - if (isSet(object.plural)) obj.plural = String(object.plural); - if (isSet(object.singular)) obj.singular = String(object.singular); - if (Array.isArray(object?.style)) obj.style = object.style.map((e: any) => resourceDescriptor_StyleFromJSON(e)); - return obj; - }, - toJSON(message: ResourceDescriptor): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - if (message.pattern) { - obj.pattern = message.pattern.map(e => e); - } else { - obj.pattern = []; - } - message.nameField !== undefined && (obj.nameField = message.nameField); - message.history !== undefined && (obj.history = resourceDescriptor_HistoryToJSON(message.history)); - message.plural !== undefined && (obj.plural = message.plural); - message.singular !== undefined && (obj.singular = message.singular); - if (message.style) { - obj.style = message.style.map(e => resourceDescriptor_StyleToJSON(e)); - } else { - obj.style = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ResourceDescriptor { - const message = createBaseResourceDescriptor(); - message.type = object.type ?? ""; - message.pattern = object.pattern?.map(e => e) || []; - message.nameField = object.nameField ?? ""; - message.history = object.history ?? 0; - message.plural = object.plural ?? ""; - message.singular = object.singular ?? ""; - message.style = object.style?.map(e => e) || []; - return message; - }, - fromSDK(object: ResourceDescriptorSDKType): ResourceDescriptor { - return { - type: object?.type, - pattern: Array.isArray(object?.pattern) ? object.pattern.map((e: any) => e) : [], - nameField: object?.name_field, - history: isSet(object.history) ? resourceDescriptor_HistoryFromJSON(object.history) : -1, - plural: object?.plural, - singular: object?.singular, - style: Array.isArray(object?.style) ? object.style.map((e: any) => resourceDescriptor_StyleFromJSON(e)) : [] - }; - }, - toSDK(message: ResourceDescriptor): ResourceDescriptorSDKType { - const obj: any = {}; - obj.type = message.type; - if (message.pattern) { - obj.pattern = message.pattern.map(e => e); - } else { - obj.pattern = []; - } - obj.name_field = message.nameField; - message.history !== undefined && (obj.history = resourceDescriptor_HistoryToJSON(message.history)); - obj.plural = message.plural; - obj.singular = message.singular; - if (message.style) { - obj.style = message.style.map(e => resourceDescriptor_StyleToJSON(e)); - } else { - obj.style = []; - } - return obj; - }, - fromAmino(object: ResourceDescriptorAmino): ResourceDescriptor { - return { - type: object.type, - pattern: Array.isArray(object?.pattern) ? object.pattern.map((e: any) => e) : [], - nameField: object.name_field, - history: isSet(object.history) ? resourceDescriptor_HistoryFromJSON(object.history) : -1, - plural: object.plural, - singular: object.singular, - style: Array.isArray(object?.style) ? object.style.map((e: any) => resourceDescriptor_StyleFromJSON(e)) : [] - }; - }, - toAmino(message: ResourceDescriptor): ResourceDescriptorAmino { - const obj: any = {}; - obj.type = message.type; - if (message.pattern) { - obj.pattern = message.pattern.map(e => e); - } else { - obj.pattern = []; - } - obj.name_field = message.nameField; - obj.history = message.history; - obj.plural = message.plural; - obj.singular = message.singular; - if (message.style) { - obj.style = message.style.map(e => resourceDescriptor_StyleToJSON(e)); - } else { - obj.style = []; - } - return obj; - }, - fromAminoMsg(object: ResourceDescriptorAminoMsg): ResourceDescriptor { - return ResourceDescriptor.fromAmino(object.value); - }, - fromProtoMsg(message: ResourceDescriptorProtoMsg): ResourceDescriptor { - return ResourceDescriptor.decode(message.value); - }, - toProto(message: ResourceDescriptor): Uint8Array { - return ResourceDescriptor.encode(message).finish(); - }, - toProtoMsg(message: ResourceDescriptor): ResourceDescriptorProtoMsg { - return { - typeUrl: "/google.api.ResourceDescriptor", - value: ResourceDescriptor.encode(message).finish() - }; - } -}; -function createBaseResourceReference(): ResourceReference { - return { - type: "", - childType: "" - }; -} -export const ResourceReference = { - typeUrl: "/google.api.ResourceReference", - encode(message: ResourceReference, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.type !== "") { - writer.uint32(10).string(message.type); - } - if (message.childType !== "") { - writer.uint32(18).string(message.childType); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResourceReference { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResourceReference(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - message.childType = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ResourceReference { - const obj = createBaseResourceReference(); - if (isSet(object.type)) obj.type = String(object.type); - if (isSet(object.childType)) obj.childType = String(object.childType); - return obj; - }, - toJSON(message: ResourceReference): unknown { - const obj: any = {}; - message.type !== undefined && (obj.type = message.type); - message.childType !== undefined && (obj.childType = message.childType); - return obj; - }, - fromPartial(object: DeepPartial): ResourceReference { - const message = createBaseResourceReference(); - message.type = object.type ?? ""; - message.childType = object.childType ?? ""; - return message; - }, - fromSDK(object: ResourceReferenceSDKType): ResourceReference { - return { - type: object?.type, - childType: object?.child_type - }; - }, - toSDK(message: ResourceReference): ResourceReferenceSDKType { - const obj: any = {}; - obj.type = message.type; - obj.child_type = message.childType; - return obj; - }, - fromAmino(object: ResourceReferenceAmino): ResourceReference { - return { - type: object.type, - childType: object.child_type - }; - }, - toAmino(message: ResourceReference): ResourceReferenceAmino { - const obj: any = {}; - obj.type = message.type; - obj.child_type = message.childType; - return obj; - }, - fromAminoMsg(object: ResourceReferenceAminoMsg): ResourceReference { - return ResourceReference.fromAmino(object.value); - }, - fromProtoMsg(message: ResourceReferenceProtoMsg): ResourceReference { - return ResourceReference.decode(message.value); - }, - toProto(message: ResourceReference): Uint8Array { - return ResourceReference.encode(message).finish(); - }, - toProtoMsg(message: ResourceReference): ResourceReferenceProtoMsg { - return { - typeUrl: "/google.api.ResourceReference", - value: ResourceReference.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/routing.ts b/quicksilverjs/src/codegen/google/api/routing.ts deleted file mode 100644 index 7b5fc6d02..000000000 --- a/quicksilverjs/src/codegen/google/api/routing.ts +++ /dev/null @@ -1,1444 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * Specifies the routing information that should be sent along with the request - * in the form of routing header. - * **NOTE:** All service configuration rules follow the "last one wins" order. - * - * The examples below will apply to an RPC which has the following request type: - * - * Message Definition: - * - * message Request { - * // The name of the Table - * // Values can be of the following formats: - * // - `projects//tables/` - * // - `projects//instances//tables/
` - * // - `region//zones//tables/
` - * string table_name = 1; - * - * // This value specifies routing for replication. - * // It can be in the following formats: - * // - `profiles/` - * // - a legacy `profile_id` that can be any string - * string app_profile_id = 2; - * } - * - * Example message: - * - * { - * table_name: projects/proj_foo/instances/instance_bar/table/table_baz, - * app_profile_id: profiles/prof_qux - * } - * - * The routing header consists of one or multiple key-value pairs. Every key - * and value must be percent-encoded, and joined together in the format of - * `key1=value1&key2=value2`. - * In the examples below I am skipping the percent-encoding for readablity. - * - * Example 1 - * - * Extracting a field from the request to put into the routing header - * unchanged, with the key equal to the field name. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `app_profile_id`. - * routing_parameters { - * field: "app_profile_id" - * } - * }; - * - * result: - * - * x-goog-request-params: app_profile_id=profiles/prof_qux - * - * Example 2 - * - * Extracting a field from the request to put into the routing header - * unchanged, with the key different from the field name. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `app_profile_id`, but name it `routing_id` in the header. - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; - * - * result: - * - * x-goog-request-params: routing_id=profiles/prof_qux - * - * Example 3 - * - * Extracting a field from the request to put into the routing - * header, while matching a path template syntax on the field's value. - * - * NB: it is more useful to send nothing than to send garbage for the purpose - * of dynamic routing, since garbage pollutes cache. Thus the matching. - * - * Sub-example 3a - * - * The field matches the template. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed (with project-based - * // syntax). - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=projects/*\/instances/*\/**}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * table_name=projects/proj_foo/instances/instance_bar/table/table_baz - * - * Sub-example 3b - * - * The field does not match the template. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed (with region-based - * // syntax). - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=regions/*\/zones/*\/**}" - * } - * }; - * - * result: - * - * - * - * Sub-example 3c - * - * Multiple alternative conflictingly named path templates are - * specified. The one that matches is used to construct the header. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed, whether - * // using the region- or projects-based syntax. - * - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=regions/*\/zones/*\/**}" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=projects/*\/instances/*\/**}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * table_name=projects/proj_foo/instances/instance_bar/table/table_baz - * - * Example 4 - * - * Extracting a single routing header key-value pair by matching a - * template syntax on (a part of) a single request field. - * - * annotation: - * - * option (google.api.routing) = { - * // Take just the project id from the `table_name` field. - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * }; - * - * result: - * - * x-goog-request-params: routing_id=projects/proj_foo - * - * Example 5 - * - * Extracting a single routing header key-value pair by matching - * several conflictingly named path templates on (parts of) a single request - * field. The last template to match "wins" the conflict. - * - * annotation: - * - * option (google.api.routing) = { - * // If the `table_name` does not have instances information, - * // take just the project id for routing. - * // Otherwise take project + instance. - * - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*\/instances/*}/**" - * } - * }; - * - * result: - * - * x-goog-request-params: - * routing_id=projects/proj_foo/instances/instance_bar - * - * Example 6 - * - * Extracting multiple routing header key-value pairs by matching - * several non-conflicting path templates on (parts of) a single request field. - * - * Sub-example 6a - * - * Make the templates strict, so that if the `table_name` does not - * have an instance information, nothing is sent. - * - * annotation: - * - * option (google.api.routing) = { - * // The routing code needs two keys instead of one composite - * // but works only for the tables with the "project-instance" name - * // syntax. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/instances/*\/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "projects/*\/{instance_id=instances/*}/**" - * } - * }; - * - * result: - * - * x-goog-request-params: - * project_id=projects/proj_foo&instance_id=instances/instance_bar - * - * Sub-example 6b - * - * Make the templates loose, so that if the `table_name` does not - * have an instance information, just the project id part is sent. - * - * annotation: - * - * option (google.api.routing) = { - * // The routing code wants two keys instead of one composite - * // but will work with just the `project_id` for tables without - * // an instance in the `table_name`. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "projects/*\/{instance_id=instances/*}/**" - * } - * }; - * - * result (is the same as 6a for our example message because it has the instance - * information): - * - * x-goog-request-params: - * project_id=projects/proj_foo&instance_id=instances/instance_bar - * - * Example 7 - * - * Extracting multiple routing header key-value pairs by matching - * several path templates on multiple request fields. - * - * NB: note that here there is no way to specify sending nothing if one of the - * fields does not match its template. E.g. if the `table_name` is in the wrong - * format, the `project_id` will not be sent, but the `routing_id` will be. - * The backend routing code has to be aware of that and be prepared to not - * receive a full complement of keys if it expects multiple. - * - * annotation: - * - * option (google.api.routing) = { - * // The routing needs both `project_id` and `routing_id` - * // (from the `app_profile_id` field) for routing. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * project_id=projects/proj_foo&routing_id=profiles/prof_qux - * - * Example 8 - * - * Extracting a single routing header key-value pair by matching - * several conflictingly named path templates on several request fields. The - * last template to match "wins" the conflict. - * - * annotation: - * - * option (google.api.routing) = { - * // The `routing_id` can be a project id or a region id depending on - * // the table name format, but only if the `app_profile_id` is not set. - * // If `app_profile_id` is set it should be used instead. - * - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=regions/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; - * - * result: - * - * x-goog-request-params: routing_id=profiles/prof_qux - * - * Example 9 - * - * Bringing it all together. - * - * annotation: - * - * option (google.api.routing) = { - * // For routing both `table_location` and a `routing_id` are needed. - * // - * // table_location can be either an instance id or a region+zone id. - * // - * // For `routing_id`, take the value of `app_profile_id` - * // - If it's in the format `profiles/`, send - * // just the `` part. - * // - If it's any other literal, send it as is. - * // If the `app_profile_id` is empty, and the `table_name` starts with - * // the project_id, send that instead. - * - * routing_parameters { - * field: "table_name" - * path_template: "projects/*\/{table_location=instances/*}/tables/*" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{table_location=regions/*\/zones/*}/tables/*" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "profiles/{routing_id=*}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * table_location=instances/instance_bar&routing_id=prof_qux - */ -export interface RoutingRule { - /** - * A collection of Routing Parameter specifications. - * **NOTE:** If multiple Routing Parameters describe the same key - * (via the `path_template` field or via the `field` field when - * `path_template` is not provided), "last one wins" rule - * determines which Parameter gets used. - * See the examples for more details. - */ - routingParameters: RoutingParameter[]; -} -export interface RoutingRuleProtoMsg { - typeUrl: "/google.api.RoutingRule"; - value: Uint8Array; -} -/** - * Specifies the routing information that should be sent along with the request - * in the form of routing header. - * **NOTE:** All service configuration rules follow the "last one wins" order. - * - * The examples below will apply to an RPC which has the following request type: - * - * Message Definition: - * - * message Request { - * // The name of the Table - * // Values can be of the following formats: - * // - `projects//tables/
` - * // - `projects//instances//tables/
` - * // - `region//zones//tables/
` - * string table_name = 1; - * - * // This value specifies routing for replication. - * // It can be in the following formats: - * // - `profiles/` - * // - a legacy `profile_id` that can be any string - * string app_profile_id = 2; - * } - * - * Example message: - * - * { - * table_name: projects/proj_foo/instances/instance_bar/table/table_baz, - * app_profile_id: profiles/prof_qux - * } - * - * The routing header consists of one or multiple key-value pairs. Every key - * and value must be percent-encoded, and joined together in the format of - * `key1=value1&key2=value2`. - * In the examples below I am skipping the percent-encoding for readablity. - * - * Example 1 - * - * Extracting a field from the request to put into the routing header - * unchanged, with the key equal to the field name. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `app_profile_id`. - * routing_parameters { - * field: "app_profile_id" - * } - * }; - * - * result: - * - * x-goog-request-params: app_profile_id=profiles/prof_qux - * - * Example 2 - * - * Extracting a field from the request to put into the routing header - * unchanged, with the key different from the field name. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `app_profile_id`, but name it `routing_id` in the header. - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; - * - * result: - * - * x-goog-request-params: routing_id=profiles/prof_qux - * - * Example 3 - * - * Extracting a field from the request to put into the routing - * header, while matching a path template syntax on the field's value. - * - * NB: it is more useful to send nothing than to send garbage for the purpose - * of dynamic routing, since garbage pollutes cache. Thus the matching. - * - * Sub-example 3a - * - * The field matches the template. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed (with project-based - * // syntax). - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=projects/*\/instances/*\/**}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * table_name=projects/proj_foo/instances/instance_bar/table/table_baz - * - * Sub-example 3b - * - * The field does not match the template. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed (with region-based - * // syntax). - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=regions/*\/zones/*\/**}" - * } - * }; - * - * result: - * - * - * - * Sub-example 3c - * - * Multiple alternative conflictingly named path templates are - * specified. The one that matches is used to construct the header. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed, whether - * // using the region- or projects-based syntax. - * - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=regions/*\/zones/*\/**}" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=projects/*\/instances/*\/**}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * table_name=projects/proj_foo/instances/instance_bar/table/table_baz - * - * Example 4 - * - * Extracting a single routing header key-value pair by matching a - * template syntax on (a part of) a single request field. - * - * annotation: - * - * option (google.api.routing) = { - * // Take just the project id from the `table_name` field. - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * }; - * - * result: - * - * x-goog-request-params: routing_id=projects/proj_foo - * - * Example 5 - * - * Extracting a single routing header key-value pair by matching - * several conflictingly named path templates on (parts of) a single request - * field. The last template to match "wins" the conflict. - * - * annotation: - * - * option (google.api.routing) = { - * // If the `table_name` does not have instances information, - * // take just the project id for routing. - * // Otherwise take project + instance. - * - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*\/instances/*}/**" - * } - * }; - * - * result: - * - * x-goog-request-params: - * routing_id=projects/proj_foo/instances/instance_bar - * - * Example 6 - * - * Extracting multiple routing header key-value pairs by matching - * several non-conflicting path templates on (parts of) a single request field. - * - * Sub-example 6a - * - * Make the templates strict, so that if the `table_name` does not - * have an instance information, nothing is sent. - * - * annotation: - * - * option (google.api.routing) = { - * // The routing code needs two keys instead of one composite - * // but works only for the tables with the "project-instance" name - * // syntax. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/instances/*\/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "projects/*\/{instance_id=instances/*}/**" - * } - * }; - * - * result: - * - * x-goog-request-params: - * project_id=projects/proj_foo&instance_id=instances/instance_bar - * - * Sub-example 6b - * - * Make the templates loose, so that if the `table_name` does not - * have an instance information, just the project id part is sent. - * - * annotation: - * - * option (google.api.routing) = { - * // The routing code wants two keys instead of one composite - * // but will work with just the `project_id` for tables without - * // an instance in the `table_name`. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "projects/*\/{instance_id=instances/*}/**" - * } - * }; - * - * result (is the same as 6a for our example message because it has the instance - * information): - * - * x-goog-request-params: - * project_id=projects/proj_foo&instance_id=instances/instance_bar - * - * Example 7 - * - * Extracting multiple routing header key-value pairs by matching - * several path templates on multiple request fields. - * - * NB: note that here there is no way to specify sending nothing if one of the - * fields does not match its template. E.g. if the `table_name` is in the wrong - * format, the `project_id` will not be sent, but the `routing_id` will be. - * The backend routing code has to be aware of that and be prepared to not - * receive a full complement of keys if it expects multiple. - * - * annotation: - * - * option (google.api.routing) = { - * // The routing needs both `project_id` and `routing_id` - * // (from the `app_profile_id` field) for routing. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * project_id=projects/proj_foo&routing_id=profiles/prof_qux - * - * Example 8 - * - * Extracting a single routing header key-value pair by matching - * several conflictingly named path templates on several request fields. The - * last template to match "wins" the conflict. - * - * annotation: - * - * option (google.api.routing) = { - * // The `routing_id` can be a project id or a region id depending on - * // the table name format, but only if the `app_profile_id` is not set. - * // If `app_profile_id` is set it should be used instead. - * - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=regions/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; - * - * result: - * - * x-goog-request-params: routing_id=profiles/prof_qux - * - * Example 9 - * - * Bringing it all together. - * - * annotation: - * - * option (google.api.routing) = { - * // For routing both `table_location` and a `routing_id` are needed. - * // - * // table_location can be either an instance id or a region+zone id. - * // - * // For `routing_id`, take the value of `app_profile_id` - * // - If it's in the format `profiles/`, send - * // just the `` part. - * // - If it's any other literal, send it as is. - * // If the `app_profile_id` is empty, and the `table_name` starts with - * // the project_id, send that instead. - * - * routing_parameters { - * field: "table_name" - * path_template: "projects/*\/{table_location=instances/*}/tables/*" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{table_location=regions/*\/zones/*}/tables/*" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "profiles/{routing_id=*}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * table_location=instances/instance_bar&routing_id=prof_qux - */ -export interface RoutingRuleAmino { - /** - * A collection of Routing Parameter specifications. - * **NOTE:** If multiple Routing Parameters describe the same key - * (via the `path_template` field or via the `field` field when - * `path_template` is not provided), "last one wins" rule - * determines which Parameter gets used. - * See the examples for more details. - */ - routing_parameters: RoutingParameterAmino[]; -} -export interface RoutingRuleAminoMsg { - type: "/google.api.RoutingRule"; - value: RoutingRuleAmino; -} -/** - * Specifies the routing information that should be sent along with the request - * in the form of routing header. - * **NOTE:** All service configuration rules follow the "last one wins" order. - * - * The examples below will apply to an RPC which has the following request type: - * - * Message Definition: - * - * message Request { - * // The name of the Table - * // Values can be of the following formats: - * // - `projects//tables/
` - * // - `projects//instances//tables/
` - * // - `region//zones//tables/
` - * string table_name = 1; - * - * // This value specifies routing for replication. - * // It can be in the following formats: - * // - `profiles/` - * // - a legacy `profile_id` that can be any string - * string app_profile_id = 2; - * } - * - * Example message: - * - * { - * table_name: projects/proj_foo/instances/instance_bar/table/table_baz, - * app_profile_id: profiles/prof_qux - * } - * - * The routing header consists of one or multiple key-value pairs. Every key - * and value must be percent-encoded, and joined together in the format of - * `key1=value1&key2=value2`. - * In the examples below I am skipping the percent-encoding for readablity. - * - * Example 1 - * - * Extracting a field from the request to put into the routing header - * unchanged, with the key equal to the field name. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `app_profile_id`. - * routing_parameters { - * field: "app_profile_id" - * } - * }; - * - * result: - * - * x-goog-request-params: app_profile_id=profiles/prof_qux - * - * Example 2 - * - * Extracting a field from the request to put into the routing header - * unchanged, with the key different from the field name. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `app_profile_id`, but name it `routing_id` in the header. - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; - * - * result: - * - * x-goog-request-params: routing_id=profiles/prof_qux - * - * Example 3 - * - * Extracting a field from the request to put into the routing - * header, while matching a path template syntax on the field's value. - * - * NB: it is more useful to send nothing than to send garbage for the purpose - * of dynamic routing, since garbage pollutes cache. Thus the matching. - * - * Sub-example 3a - * - * The field matches the template. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed (with project-based - * // syntax). - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=projects/*\/instances/*\/**}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * table_name=projects/proj_foo/instances/instance_bar/table/table_baz - * - * Sub-example 3b - * - * The field does not match the template. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed (with region-based - * // syntax). - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=regions/*\/zones/*\/**}" - * } - * }; - * - * result: - * - * - * - * Sub-example 3c - * - * Multiple alternative conflictingly named path templates are - * specified. The one that matches is used to construct the header. - * - * annotation: - * - * option (google.api.routing) = { - * // Take the `table_name`, if it's well-formed, whether - * // using the region- or projects-based syntax. - * - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=regions/*\/zones/*\/**}" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{table_name=projects/*\/instances/*\/**}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * table_name=projects/proj_foo/instances/instance_bar/table/table_baz - * - * Example 4 - * - * Extracting a single routing header key-value pair by matching a - * template syntax on (a part of) a single request field. - * - * annotation: - * - * option (google.api.routing) = { - * // Take just the project id from the `table_name` field. - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * }; - * - * result: - * - * x-goog-request-params: routing_id=projects/proj_foo - * - * Example 5 - * - * Extracting a single routing header key-value pair by matching - * several conflictingly named path templates on (parts of) a single request - * field. The last template to match "wins" the conflict. - * - * annotation: - * - * option (google.api.routing) = { - * // If the `table_name` does not have instances information, - * // take just the project id for routing. - * // Otherwise take project + instance. - * - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*\/instances/*}/**" - * } - * }; - * - * result: - * - * x-goog-request-params: - * routing_id=projects/proj_foo/instances/instance_bar - * - * Example 6 - * - * Extracting multiple routing header key-value pairs by matching - * several non-conflicting path templates on (parts of) a single request field. - * - * Sub-example 6a - * - * Make the templates strict, so that if the `table_name` does not - * have an instance information, nothing is sent. - * - * annotation: - * - * option (google.api.routing) = { - * // The routing code needs two keys instead of one composite - * // but works only for the tables with the "project-instance" name - * // syntax. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/instances/*\/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "projects/*\/{instance_id=instances/*}/**" - * } - * }; - * - * result: - * - * x-goog-request-params: - * project_id=projects/proj_foo&instance_id=instances/instance_bar - * - * Sub-example 6b - * - * Make the templates loose, so that if the `table_name` does not - * have an instance information, just the project id part is sent. - * - * annotation: - * - * option (google.api.routing) = { - * // The routing code wants two keys instead of one composite - * // but will work with just the `project_id` for tables without - * // an instance in the `table_name`. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "projects/*\/{instance_id=instances/*}/**" - * } - * }; - * - * result (is the same as 6a for our example message because it has the instance - * information): - * - * x-goog-request-params: - * project_id=projects/proj_foo&instance_id=instances/instance_bar - * - * Example 7 - * - * Extracting multiple routing header key-value pairs by matching - * several path templates on multiple request fields. - * - * NB: note that here there is no way to specify sending nothing if one of the - * fields does not match its template. E.g. if the `table_name` is in the wrong - * format, the `project_id` will not be sent, but the `routing_id` will be. - * The backend routing code has to be aware of that and be prepared to not - * receive a full complement of keys if it expects multiple. - * - * annotation: - * - * option (google.api.routing) = { - * // The routing needs both `project_id` and `routing_id` - * // (from the `app_profile_id` field) for routing. - * - * routing_parameters { - * field: "table_name" - * path_template: "{project_id=projects/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * project_id=projects/proj_foo&routing_id=profiles/prof_qux - * - * Example 8 - * - * Extracting a single routing header key-value pair by matching - * several conflictingly named path templates on several request fields. The - * last template to match "wins" the conflict. - * - * annotation: - * - * option (google.api.routing) = { - * // The `routing_id` can be a project id or a region id depending on - * // the table name format, but only if the `app_profile_id` is not set. - * // If `app_profile_id` is set it should be used instead. - * - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=regions/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * }; - * - * result: - * - * x-goog-request-params: routing_id=profiles/prof_qux - * - * Example 9 - * - * Bringing it all together. - * - * annotation: - * - * option (google.api.routing) = { - * // For routing both `table_location` and a `routing_id` are needed. - * // - * // table_location can be either an instance id or a region+zone id. - * // - * // For `routing_id`, take the value of `app_profile_id` - * // - If it's in the format `profiles/`, send - * // just the `` part. - * // - If it's any other literal, send it as is. - * // If the `app_profile_id` is empty, and the `table_name` starts with - * // the project_id, send that instead. - * - * routing_parameters { - * field: "table_name" - * path_template: "projects/*\/{table_location=instances/*}/tables/*" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{table_location=regions/*\/zones/*}/tables/*" - * } - * routing_parameters { - * field: "table_name" - * path_template: "{routing_id=projects/*}/**" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "{routing_id=**}" - * } - * routing_parameters { - * field: "app_profile_id" - * path_template: "profiles/{routing_id=*}" - * } - * }; - * - * result: - * - * x-goog-request-params: - * table_location=instances/instance_bar&routing_id=prof_qux - */ -export interface RoutingRuleSDKType { - routing_parameters: RoutingParameterSDKType[]; -} -/** A projection from an input message to the GRPC or REST header. */ -export interface RoutingParameter { - /** A request field to extract the header key-value pair from. */ - field: string; - /** - * A pattern matching the key-value field. Optional. - * If not specified, the whole field specified in the `field` field will be - * taken as value, and its name used as key. If specified, it MUST contain - * exactly one named segment (along with any number of unnamed segments) The - * pattern will be matched over the field specified in the `field` field, then - * if the match is successful: - * - the name of the single named segment will be used as a header name, - * - the match value of the segment will be used as a header value; - * if the match is NOT successful, nothing will be sent. - * - * Example: - * - * -- This is a field in the request message - * | that the header value will be extracted from. - * | - * | -- This is the key name in the - * | | routing header. - * V | - * field: "table_name" v - * path_template: "projects/*\/{table_location=instances/*}/tables/*" - * ^ ^ - * | | - * In the {} brackets is the pattern that -- | - * specifies what to extract from the | - * field as a value to be sent. | - * | - * The string in the field must match the whole pattern -- - * before brackets, inside brackets, after brackets. - * - * When looking at this specific example, we can see that: - * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added - * to the x-goog-request-params routing header. - * - The value is extracted from the request message's `table_name` field - * if it matches the full pattern specified: - * `projects/*\/instances/*\/tables/*`. - * - * **NB:** If the `path_template` field is not provided, the key name is - * equal to the field name, and the whole field should be sent as a value. - * This makes the pattern for the field and the value functionally equivalent - * to `**`, and the configuration - * - * { - * field: "table_name" - * } - * - * is a functionally equivalent shorthand to: - * - * { - * field: "table_name" - * path_template: "{table_name=**}" - * } - * - * See Example 1 for more details. - */ - pathTemplate: string; -} -export interface RoutingParameterProtoMsg { - typeUrl: "/google.api.RoutingParameter"; - value: Uint8Array; -} -/** A projection from an input message to the GRPC or REST header. */ -export interface RoutingParameterAmino { - /** A request field to extract the header key-value pair from. */ - field: string; - /** - * A pattern matching the key-value field. Optional. - * If not specified, the whole field specified in the `field` field will be - * taken as value, and its name used as key. If specified, it MUST contain - * exactly one named segment (along with any number of unnamed segments) The - * pattern will be matched over the field specified in the `field` field, then - * if the match is successful: - * - the name of the single named segment will be used as a header name, - * - the match value of the segment will be used as a header value; - * if the match is NOT successful, nothing will be sent. - * - * Example: - * - * -- This is a field in the request message - * | that the header value will be extracted from. - * | - * | -- This is the key name in the - * | | routing header. - * V | - * field: "table_name" v - * path_template: "projects/*\/{table_location=instances/*}/tables/*" - * ^ ^ - * | | - * In the {} brackets is the pattern that -- | - * specifies what to extract from the | - * field as a value to be sent. | - * | - * The string in the field must match the whole pattern -- - * before brackets, inside brackets, after brackets. - * - * When looking at this specific example, we can see that: - * - A key-value pair with the key `table_location` - * and the value matching `instances/*` should be added - * to the x-goog-request-params routing header. - * - The value is extracted from the request message's `table_name` field - * if it matches the full pattern specified: - * `projects/*\/instances/*\/tables/*`. - * - * **NB:** If the `path_template` field is not provided, the key name is - * equal to the field name, and the whole field should be sent as a value. - * This makes the pattern for the field and the value functionally equivalent - * to `**`, and the configuration - * - * { - * field: "table_name" - * } - * - * is a functionally equivalent shorthand to: - * - * { - * field: "table_name" - * path_template: "{table_name=**}" - * } - * - * See Example 1 for more details. - */ - path_template: string; -} -export interface RoutingParameterAminoMsg { - type: "/google.api.RoutingParameter"; - value: RoutingParameterAmino; -} -/** A projection from an input message to the GRPC or REST header. */ -export interface RoutingParameterSDKType { - field: string; - path_template: string; -} -function createBaseRoutingRule(): RoutingRule { - return { - routingParameters: [] - }; -} -export const RoutingRule = { - typeUrl: "/google.api.RoutingRule", - encode(message: RoutingRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.routingParameters) { - RoutingParameter.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): RoutingRule { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRoutingRule(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.routingParameters.push(RoutingParameter.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): RoutingRule { - const obj = createBaseRoutingRule(); - if (Array.isArray(object?.routingParameters)) obj.routingParameters = object.routingParameters.map((e: any) => RoutingParameter.fromJSON(e)); - return obj; - }, - toJSON(message: RoutingRule): unknown { - const obj: any = {}; - if (message.routingParameters) { - obj.routingParameters = message.routingParameters.map(e => e ? RoutingParameter.toJSON(e) : undefined); - } else { - obj.routingParameters = []; - } - return obj; - }, - fromPartial(object: DeepPartial): RoutingRule { - const message = createBaseRoutingRule(); - message.routingParameters = object.routingParameters?.map(e => RoutingParameter.fromPartial(e)) || []; - return message; - }, - fromSDK(object: RoutingRuleSDKType): RoutingRule { - return { - routingParameters: Array.isArray(object?.routing_parameters) ? object.routing_parameters.map((e: any) => RoutingParameter.fromSDK(e)) : [] - }; - }, - toSDK(message: RoutingRule): RoutingRuleSDKType { - const obj: any = {}; - if (message.routingParameters) { - obj.routing_parameters = message.routingParameters.map(e => e ? RoutingParameter.toSDK(e) : undefined); - } else { - obj.routing_parameters = []; - } - return obj; - }, - fromAmino(object: RoutingRuleAmino): RoutingRule { - return { - routingParameters: Array.isArray(object?.routing_parameters) ? object.routing_parameters.map((e: any) => RoutingParameter.fromAmino(e)) : [] - }; - }, - toAmino(message: RoutingRule): RoutingRuleAmino { - const obj: any = {}; - if (message.routingParameters) { - obj.routing_parameters = message.routingParameters.map(e => e ? RoutingParameter.toAmino(e) : undefined); - } else { - obj.routing_parameters = []; - } - return obj; - }, - fromAminoMsg(object: RoutingRuleAminoMsg): RoutingRule { - return RoutingRule.fromAmino(object.value); - }, - fromProtoMsg(message: RoutingRuleProtoMsg): RoutingRule { - return RoutingRule.decode(message.value); - }, - toProto(message: RoutingRule): Uint8Array { - return RoutingRule.encode(message).finish(); - }, - toProtoMsg(message: RoutingRule): RoutingRuleProtoMsg { - return { - typeUrl: "/google.api.RoutingRule", - value: RoutingRule.encode(message).finish() - }; - } -}; -function createBaseRoutingParameter(): RoutingParameter { - return { - field: "", - pathTemplate: "" - }; -} -export const RoutingParameter = { - typeUrl: "/google.api.RoutingParameter", - encode(message: RoutingParameter, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.field !== "") { - writer.uint32(10).string(message.field); - } - if (message.pathTemplate !== "") { - writer.uint32(18).string(message.pathTemplate); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): RoutingParameter { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRoutingParameter(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.field = reader.string(); - break; - case 2: - message.pathTemplate = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): RoutingParameter { - const obj = createBaseRoutingParameter(); - if (isSet(object.field)) obj.field = String(object.field); - if (isSet(object.pathTemplate)) obj.pathTemplate = String(object.pathTemplate); - return obj; - }, - toJSON(message: RoutingParameter): unknown { - const obj: any = {}; - message.field !== undefined && (obj.field = message.field); - message.pathTemplate !== undefined && (obj.pathTemplate = message.pathTemplate); - return obj; - }, - fromPartial(object: DeepPartial): RoutingParameter { - const message = createBaseRoutingParameter(); - message.field = object.field ?? ""; - message.pathTemplate = object.pathTemplate ?? ""; - return message; - }, - fromSDK(object: RoutingParameterSDKType): RoutingParameter { - return { - field: object?.field, - pathTemplate: object?.path_template - }; - }, - toSDK(message: RoutingParameter): RoutingParameterSDKType { - const obj: any = {}; - obj.field = message.field; - obj.path_template = message.pathTemplate; - return obj; - }, - fromAmino(object: RoutingParameterAmino): RoutingParameter { - return { - field: object.field, - pathTemplate: object.path_template - }; - }, - toAmino(message: RoutingParameter): RoutingParameterAmino { - const obj: any = {}; - obj.field = message.field; - obj.path_template = message.pathTemplate; - return obj; - }, - fromAminoMsg(object: RoutingParameterAminoMsg): RoutingParameter { - return RoutingParameter.fromAmino(object.value); - }, - fromProtoMsg(message: RoutingParameterProtoMsg): RoutingParameter { - return RoutingParameter.decode(message.value); - }, - toProto(message: RoutingParameter): Uint8Array { - return RoutingParameter.encode(message).finish(); - }, - toProtoMsg(message: RoutingParameter): RoutingParameterProtoMsg { - return { - typeUrl: "/google.api.RoutingParameter", - value: RoutingParameter.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/service.ts b/quicksilverjs/src/codegen/google/api/service.ts deleted file mode 100644 index 5dd77aabc..000000000 --- a/quicksilverjs/src/codegen/google/api/service.ts +++ /dev/null @@ -1,856 +0,0 @@ -import { Api, ApiAmino, ApiSDKType } from "../protobuf/api"; -import { Type, TypeAmino, TypeSDKType, Enum, EnumAmino, EnumSDKType } from "../protobuf/type"; -import { Documentation, DocumentationAmino, DocumentationSDKType } from "./documentation"; -import { Backend, BackendAmino, BackendSDKType } from "./backend"; -import { Http, HttpAmino, HttpSDKType } from "./http"; -import { Quota, QuotaAmino, QuotaSDKType } from "./quota"; -import { Authentication, AuthenticationAmino, AuthenticationSDKType } from "./auth"; -import { Context, ContextAmino, ContextSDKType } from "./context"; -import { Usage, UsageAmino, UsageSDKType } from "./usage"; -import { Endpoint, EndpointAmino, EndpointSDKType } from "./endpoint"; -import { Control, ControlAmino, ControlSDKType } from "./control"; -import { LogDescriptor, LogDescriptorAmino, LogDescriptorSDKType } from "./log"; -import { MetricDescriptor, MetricDescriptorAmino, MetricDescriptorSDKType } from "./metric"; -import { MonitoredResourceDescriptor, MonitoredResourceDescriptorAmino, MonitoredResourceDescriptorSDKType } from "./monitored_resource"; -import { Billing, BillingAmino, BillingSDKType } from "./billing"; -import { Logging, LoggingAmino, LoggingSDKType } from "./logging"; -import { Monitoring, MonitoringAmino, MonitoringSDKType } from "./monitoring"; -import { SystemParameters, SystemParametersAmino, SystemParametersSDKType } from "./system_parameter"; -import { SourceInfo, SourceInfoAmino, SourceInfoSDKType } from "./source_info"; -import { UInt32Value, UInt32ValueAmino, UInt32ValueSDKType } from "../protobuf/wrappers"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * `Service` is the root object of Google service configuration schema. It - * describes basic information about a service, such as the name and the - * title, and delegates other aspects to sub-sections. Each sub-section is - * either a proto message or a repeated proto message that configures a - * specific aspect, such as auth. See each proto message definition for details. - * - * Example: - * - * type: google.api.Service - * name: calendar.googleapis.com - * title: Google Calendar API - * apis: - * - name: google.calendar.v3.Calendar - * authentication: - * providers: - * - id: google_calendar_auth - * jwks_uri: https://www.googleapis.com/oauth2/v1/certs - * issuer: https://securetoken.google.com - * rules: - * - selector: "*" - * requirements: - * provider_id: google_calendar_auth - */ -export interface Service { - /** - * The service name, which is a DNS-like logical identifier for the - * service, such as `calendar.googleapis.com`. The service name - * typically goes through DNS verification to make sure the owner - * of the service also owns the DNS name. - */ - name: string; - /** The product title for this service. */ - title: string; - /** The Google project that owns this service. */ - producerProjectId: string; - /** - * A unique ID for a specific instance of this message, typically assigned - * by the client for tracking purpose. Must be no longer than 63 characters - * and only lower case letters, digits, '.', '_' and '-' are allowed. If - * empty, the server may choose to generate one instead. - */ - id: string; - /** - * A list of API interfaces exported by this service. Only the `name` field - * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration - * author, as the remaining fields will be derived from the IDL during the - * normalization process. It is an error to specify an API interface here - * which cannot be resolved against the associated IDL files. - */ - apis: Api[]; - /** - * A list of all proto message types included in this API service. - * Types referenced directly or indirectly by the `apis` are - * automatically included. Messages which are not referenced but - * shall be included, such as types used by the `google.protobuf.Any` type, - * should be listed here by name. Example: - * - * types: - * - name: google.protobuf.Int32 - */ - types: Type[]; - /** - * A list of all enum types included in this API service. Enums - * referenced directly or indirectly by the `apis` are automatically - * included. Enums which are not referenced but shall be included - * should be listed here by name. Example: - * - * enums: - * - name: google.someapi.v1.SomeEnum - */ - enums: Enum[]; - /** Additional API documentation. */ - documentation: Documentation; - /** API backend configuration. */ - backend: Backend; - /** HTTP configuration. */ - http: Http; - /** Quota configuration. */ - quota: Quota; - /** Auth configuration. */ - authentication: Authentication; - /** Context configuration. */ - context: Context; - /** Configuration controlling usage of this service. */ - usage: Usage; - /** - * Configuration for network endpoints. If this is empty, then an endpoint - * with the same name as the service is automatically generated to service all - * defined APIs. - */ - endpoints: Endpoint[]; - /** Configuration for the service control plane. */ - control: Control; - /** Defines the logs used by this service. */ - logs: LogDescriptor[]; - /** Defines the metrics used by this service. */ - metrics: MetricDescriptor[]; - /** - * Defines the monitored resources used by this service. This is required - * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. - */ - monitoredResources: MonitoredResourceDescriptor[]; - /** Billing configuration. */ - billing: Billing; - /** Logging configuration. */ - logging: Logging; - /** Monitoring configuration. */ - monitoring: Monitoring; - /** System parameter configuration. */ - systemParameters: SystemParameters; - /** Output only. The source information for this configuration if available. */ - sourceInfo: SourceInfo; - /** - * Obsolete. Do not use. - * - * This field has no semantic meaning. The service config compiler always - * sets this field to `3`. - */ - /** @deprecated */ - configVersion: UInt32Value; -} -export interface ServiceProtoMsg { - typeUrl: "/google.api.Service"; - value: Uint8Array; -} -/** - * `Service` is the root object of Google service configuration schema. It - * describes basic information about a service, such as the name and the - * title, and delegates other aspects to sub-sections. Each sub-section is - * either a proto message or a repeated proto message that configures a - * specific aspect, such as auth. See each proto message definition for details. - * - * Example: - * - * type: google.api.Service - * name: calendar.googleapis.com - * title: Google Calendar API - * apis: - * - name: google.calendar.v3.Calendar - * authentication: - * providers: - * - id: google_calendar_auth - * jwks_uri: https://www.googleapis.com/oauth2/v1/certs - * issuer: https://securetoken.google.com - * rules: - * - selector: "*" - * requirements: - * provider_id: google_calendar_auth - */ -export interface ServiceAmino { - /** - * The service name, which is a DNS-like logical identifier for the - * service, such as `calendar.googleapis.com`. The service name - * typically goes through DNS verification to make sure the owner - * of the service also owns the DNS name. - */ - name: string; - /** The product title for this service. */ - title: string; - /** The Google project that owns this service. */ - producer_project_id: string; - /** - * A unique ID for a specific instance of this message, typically assigned - * by the client for tracking purpose. Must be no longer than 63 characters - * and only lower case letters, digits, '.', '_' and '-' are allowed. If - * empty, the server may choose to generate one instead. - */ - id: string; - /** - * A list of API interfaces exported by this service. Only the `name` field - * of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration - * author, as the remaining fields will be derived from the IDL during the - * normalization process. It is an error to specify an API interface here - * which cannot be resolved against the associated IDL files. - */ - apis: ApiAmino[]; - /** - * A list of all proto message types included in this API service. - * Types referenced directly or indirectly by the `apis` are - * automatically included. Messages which are not referenced but - * shall be included, such as types used by the `google.protobuf.Any` type, - * should be listed here by name. Example: - * - * types: - * - name: google.protobuf.Int32 - */ - types: TypeAmino[]; - /** - * A list of all enum types included in this API service. Enums - * referenced directly or indirectly by the `apis` are automatically - * included. Enums which are not referenced but shall be included - * should be listed here by name. Example: - * - * enums: - * - name: google.someapi.v1.SomeEnum - */ - enums: EnumAmino[]; - /** Additional API documentation. */ - documentation?: DocumentationAmino; - /** API backend configuration. */ - backend?: BackendAmino; - /** HTTP configuration. */ - http?: HttpAmino; - /** Quota configuration. */ - quota?: QuotaAmino; - /** Auth configuration. */ - authentication?: AuthenticationAmino; - /** Context configuration. */ - context?: ContextAmino; - /** Configuration controlling usage of this service. */ - usage?: UsageAmino; - /** - * Configuration for network endpoints. If this is empty, then an endpoint - * with the same name as the service is automatically generated to service all - * defined APIs. - */ - endpoints: EndpointAmino[]; - /** Configuration for the service control plane. */ - control?: ControlAmino; - /** Defines the logs used by this service. */ - logs: LogDescriptorAmino[]; - /** Defines the metrics used by this service. */ - metrics: MetricDescriptorAmino[]; - /** - * Defines the monitored resources used by this service. This is required - * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. - */ - monitored_resources: MonitoredResourceDescriptorAmino[]; - /** Billing configuration. */ - billing?: BillingAmino; - /** Logging configuration. */ - logging?: LoggingAmino; - /** Monitoring configuration. */ - monitoring?: MonitoringAmino; - /** System parameter configuration. */ - system_parameters?: SystemParametersAmino; - /** Output only. The source information for this configuration if available. */ - source_info?: SourceInfoAmino; - /** - * Obsolete. Do not use. - * - * This field has no semantic meaning. The service config compiler always - * sets this field to `3`. - */ - /** @deprecated */ - config_version?: UInt32ValueAmino; -} -export interface ServiceAminoMsg { - type: "/google.api.Service"; - value: ServiceAmino; -} -/** - * `Service` is the root object of Google service configuration schema. It - * describes basic information about a service, such as the name and the - * title, and delegates other aspects to sub-sections. Each sub-section is - * either a proto message or a repeated proto message that configures a - * specific aspect, such as auth. See each proto message definition for details. - * - * Example: - * - * type: google.api.Service - * name: calendar.googleapis.com - * title: Google Calendar API - * apis: - * - name: google.calendar.v3.Calendar - * authentication: - * providers: - * - id: google_calendar_auth - * jwks_uri: https://www.googleapis.com/oauth2/v1/certs - * issuer: https://securetoken.google.com - * rules: - * - selector: "*" - * requirements: - * provider_id: google_calendar_auth - */ -export interface ServiceSDKType { - name: string; - title: string; - producer_project_id: string; - id: string; - apis: ApiSDKType[]; - types: TypeSDKType[]; - enums: EnumSDKType[]; - documentation: DocumentationSDKType; - backend: BackendSDKType; - http: HttpSDKType; - quota: QuotaSDKType; - authentication: AuthenticationSDKType; - context: ContextSDKType; - usage: UsageSDKType; - endpoints: EndpointSDKType[]; - control: ControlSDKType; - logs: LogDescriptorSDKType[]; - metrics: MetricDescriptorSDKType[]; - monitored_resources: MonitoredResourceDescriptorSDKType[]; - billing: BillingSDKType; - logging: LoggingSDKType; - monitoring: MonitoringSDKType; - system_parameters: SystemParametersSDKType; - source_info: SourceInfoSDKType; - /** @deprecated */ - config_version: UInt32ValueSDKType; -} -function createBaseService(): Service { - return { - name: "", - title: "", - producerProjectId: "", - id: "", - apis: [], - types: [], - enums: [], - documentation: Documentation.fromPartial({}), - backend: Backend.fromPartial({}), - http: Http.fromPartial({}), - quota: Quota.fromPartial({}), - authentication: Authentication.fromPartial({}), - context: Context.fromPartial({}), - usage: Usage.fromPartial({}), - endpoints: [], - control: Control.fromPartial({}), - logs: [], - metrics: [], - monitoredResources: [], - billing: Billing.fromPartial({}), - logging: Logging.fromPartial({}), - monitoring: Monitoring.fromPartial({}), - systemParameters: SystemParameters.fromPartial({}), - sourceInfo: SourceInfo.fromPartial({}), - configVersion: UInt32Value.fromPartial({}) - }; -} -export const Service = { - typeUrl: "/google.api.Service", - encode(message: Service, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.title !== "") { - writer.uint32(18).string(message.title); - } - if (message.producerProjectId !== "") { - writer.uint32(178).string(message.producerProjectId); - } - if (message.id !== "") { - writer.uint32(266).string(message.id); - } - for (const v of message.apis) { - Api.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.types) { - Type.encode(v!, writer.uint32(34).fork()).ldelim(); - } - for (const v of message.enums) { - Enum.encode(v!, writer.uint32(42).fork()).ldelim(); - } - if (message.documentation !== undefined) { - Documentation.encode(message.documentation, writer.uint32(50).fork()).ldelim(); - } - if (message.backend !== undefined) { - Backend.encode(message.backend, writer.uint32(66).fork()).ldelim(); - } - if (message.http !== undefined) { - Http.encode(message.http, writer.uint32(74).fork()).ldelim(); - } - if (message.quota !== undefined) { - Quota.encode(message.quota, writer.uint32(82).fork()).ldelim(); - } - if (message.authentication !== undefined) { - Authentication.encode(message.authentication, writer.uint32(90).fork()).ldelim(); - } - if (message.context !== undefined) { - Context.encode(message.context, writer.uint32(98).fork()).ldelim(); - } - if (message.usage !== undefined) { - Usage.encode(message.usage, writer.uint32(122).fork()).ldelim(); - } - for (const v of message.endpoints) { - Endpoint.encode(v!, writer.uint32(146).fork()).ldelim(); - } - if (message.control !== undefined) { - Control.encode(message.control, writer.uint32(170).fork()).ldelim(); - } - for (const v of message.logs) { - LogDescriptor.encode(v!, writer.uint32(186).fork()).ldelim(); - } - for (const v of message.metrics) { - MetricDescriptor.encode(v!, writer.uint32(194).fork()).ldelim(); - } - for (const v of message.monitoredResources) { - MonitoredResourceDescriptor.encode(v!, writer.uint32(202).fork()).ldelim(); - } - if (message.billing !== undefined) { - Billing.encode(message.billing, writer.uint32(210).fork()).ldelim(); - } - if (message.logging !== undefined) { - Logging.encode(message.logging, writer.uint32(218).fork()).ldelim(); - } - if (message.monitoring !== undefined) { - Monitoring.encode(message.monitoring, writer.uint32(226).fork()).ldelim(); - } - if (message.systemParameters !== undefined) { - SystemParameters.encode(message.systemParameters, writer.uint32(234).fork()).ldelim(); - } - if (message.sourceInfo !== undefined) { - SourceInfo.encode(message.sourceInfo, writer.uint32(298).fork()).ldelim(); - } - if (message.configVersion !== undefined) { - UInt32Value.encode(message.configVersion, writer.uint32(162).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Service { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseService(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.title = reader.string(); - break; - case 22: - message.producerProjectId = reader.string(); - break; - case 33: - message.id = reader.string(); - break; - case 3: - message.apis.push(Api.decode(reader, reader.uint32())); - break; - case 4: - message.types.push(Type.decode(reader, reader.uint32())); - break; - case 5: - message.enums.push(Enum.decode(reader, reader.uint32())); - break; - case 6: - message.documentation = Documentation.decode(reader, reader.uint32()); - break; - case 8: - message.backend = Backend.decode(reader, reader.uint32()); - break; - case 9: - message.http = Http.decode(reader, reader.uint32()); - break; - case 10: - message.quota = Quota.decode(reader, reader.uint32()); - break; - case 11: - message.authentication = Authentication.decode(reader, reader.uint32()); - break; - case 12: - message.context = Context.decode(reader, reader.uint32()); - break; - case 15: - message.usage = Usage.decode(reader, reader.uint32()); - break; - case 18: - message.endpoints.push(Endpoint.decode(reader, reader.uint32())); - break; - case 21: - message.control = Control.decode(reader, reader.uint32()); - break; - case 23: - message.logs.push(LogDescriptor.decode(reader, reader.uint32())); - break; - case 24: - message.metrics.push(MetricDescriptor.decode(reader, reader.uint32())); - break; - case 25: - message.monitoredResources.push(MonitoredResourceDescriptor.decode(reader, reader.uint32())); - break; - case 26: - message.billing = Billing.decode(reader, reader.uint32()); - break; - case 27: - message.logging = Logging.decode(reader, reader.uint32()); - break; - case 28: - message.monitoring = Monitoring.decode(reader, reader.uint32()); - break; - case 29: - message.systemParameters = SystemParameters.decode(reader, reader.uint32()); - break; - case 37: - message.sourceInfo = SourceInfo.decode(reader, reader.uint32()); - break; - case 20: - message.configVersion = UInt32Value.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Service { - const obj = createBaseService(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.title)) obj.title = String(object.title); - if (isSet(object.producerProjectId)) obj.producerProjectId = String(object.producerProjectId); - if (isSet(object.id)) obj.id = String(object.id); - if (Array.isArray(object?.apis)) obj.apis = object.apis.map((e: any) => Api.fromJSON(e)); - if (Array.isArray(object?.types)) obj.types = object.types.map((e: any) => Type.fromJSON(e)); - if (Array.isArray(object?.enums)) obj.enums = object.enums.map((e: any) => Enum.fromJSON(e)); - if (isSet(object.documentation)) obj.documentation = Documentation.fromJSON(object.documentation); - if (isSet(object.backend)) obj.backend = Backend.fromJSON(object.backend); - if (isSet(object.http)) obj.http = Http.fromJSON(object.http); - if (isSet(object.quota)) obj.quota = Quota.fromJSON(object.quota); - if (isSet(object.authentication)) obj.authentication = Authentication.fromJSON(object.authentication); - if (isSet(object.context)) obj.context = Context.fromJSON(object.context); - if (isSet(object.usage)) obj.usage = Usage.fromJSON(object.usage); - if (Array.isArray(object?.endpoints)) obj.endpoints = object.endpoints.map((e: any) => Endpoint.fromJSON(e)); - if (isSet(object.control)) obj.control = Control.fromJSON(object.control); - if (Array.isArray(object?.logs)) obj.logs = object.logs.map((e: any) => LogDescriptor.fromJSON(e)); - if (Array.isArray(object?.metrics)) obj.metrics = object.metrics.map((e: any) => MetricDescriptor.fromJSON(e)); - if (Array.isArray(object?.monitoredResources)) obj.monitoredResources = object.monitoredResources.map((e: any) => MonitoredResourceDescriptor.fromJSON(e)); - if (isSet(object.billing)) obj.billing = Billing.fromJSON(object.billing); - if (isSet(object.logging)) obj.logging = Logging.fromJSON(object.logging); - if (isSet(object.monitoring)) obj.monitoring = Monitoring.fromJSON(object.monitoring); - if (isSet(object.systemParameters)) obj.systemParameters = SystemParameters.fromJSON(object.systemParameters); - if (isSet(object.sourceInfo)) obj.sourceInfo = SourceInfo.fromJSON(object.sourceInfo); - if (isSet(object.configVersion)) obj.configVersion = UInt32Value.fromJSON(object.configVersion); - return obj; - }, - toJSON(message: Service): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.title !== undefined && (obj.title = message.title); - message.producerProjectId !== undefined && (obj.producerProjectId = message.producerProjectId); - message.id !== undefined && (obj.id = message.id); - if (message.apis) { - obj.apis = message.apis.map(e => e ? Api.toJSON(e) : undefined); - } else { - obj.apis = []; - } - if (message.types) { - obj.types = message.types.map(e => e ? Type.toJSON(e) : undefined); - } else { - obj.types = []; - } - if (message.enums) { - obj.enums = message.enums.map(e => e ? Enum.toJSON(e) : undefined); - } else { - obj.enums = []; - } - message.documentation !== undefined && (obj.documentation = message.documentation ? Documentation.toJSON(message.documentation) : undefined); - message.backend !== undefined && (obj.backend = message.backend ? Backend.toJSON(message.backend) : undefined); - message.http !== undefined && (obj.http = message.http ? Http.toJSON(message.http) : undefined); - message.quota !== undefined && (obj.quota = message.quota ? Quota.toJSON(message.quota) : undefined); - message.authentication !== undefined && (obj.authentication = message.authentication ? Authentication.toJSON(message.authentication) : undefined); - message.context !== undefined && (obj.context = message.context ? Context.toJSON(message.context) : undefined); - message.usage !== undefined && (obj.usage = message.usage ? Usage.toJSON(message.usage) : undefined); - if (message.endpoints) { - obj.endpoints = message.endpoints.map(e => e ? Endpoint.toJSON(e) : undefined); - } else { - obj.endpoints = []; - } - message.control !== undefined && (obj.control = message.control ? Control.toJSON(message.control) : undefined); - if (message.logs) { - obj.logs = message.logs.map(e => e ? LogDescriptor.toJSON(e) : undefined); - } else { - obj.logs = []; - } - if (message.metrics) { - obj.metrics = message.metrics.map(e => e ? MetricDescriptor.toJSON(e) : undefined); - } else { - obj.metrics = []; - } - if (message.monitoredResources) { - obj.monitoredResources = message.monitoredResources.map(e => e ? MonitoredResourceDescriptor.toJSON(e) : undefined); - } else { - obj.monitoredResources = []; - } - message.billing !== undefined && (obj.billing = message.billing ? Billing.toJSON(message.billing) : undefined); - message.logging !== undefined && (obj.logging = message.logging ? Logging.toJSON(message.logging) : undefined); - message.monitoring !== undefined && (obj.monitoring = message.monitoring ? Monitoring.toJSON(message.monitoring) : undefined); - message.systemParameters !== undefined && (obj.systemParameters = message.systemParameters ? SystemParameters.toJSON(message.systemParameters) : undefined); - message.sourceInfo !== undefined && (obj.sourceInfo = message.sourceInfo ? SourceInfo.toJSON(message.sourceInfo) : undefined); - message.configVersion !== undefined && (obj.configVersion = message.configVersion ? UInt32Value.toJSON(message.configVersion) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Service { - const message = createBaseService(); - message.name = object.name ?? ""; - message.title = object.title ?? ""; - message.producerProjectId = object.producerProjectId ?? ""; - message.id = object.id ?? ""; - message.apis = object.apis?.map(e => Api.fromPartial(e)) || []; - message.types = object.types?.map(e => Type.fromPartial(e)) || []; - message.enums = object.enums?.map(e => Enum.fromPartial(e)) || []; - if (object.documentation !== undefined && object.documentation !== null) { - message.documentation = Documentation.fromPartial(object.documentation); - } - if (object.backend !== undefined && object.backend !== null) { - message.backend = Backend.fromPartial(object.backend); - } - if (object.http !== undefined && object.http !== null) { - message.http = Http.fromPartial(object.http); - } - if (object.quota !== undefined && object.quota !== null) { - message.quota = Quota.fromPartial(object.quota); - } - if (object.authentication !== undefined && object.authentication !== null) { - message.authentication = Authentication.fromPartial(object.authentication); - } - if (object.context !== undefined && object.context !== null) { - message.context = Context.fromPartial(object.context); - } - if (object.usage !== undefined && object.usage !== null) { - message.usage = Usage.fromPartial(object.usage); - } - message.endpoints = object.endpoints?.map(e => Endpoint.fromPartial(e)) || []; - if (object.control !== undefined && object.control !== null) { - message.control = Control.fromPartial(object.control); - } - message.logs = object.logs?.map(e => LogDescriptor.fromPartial(e)) || []; - message.metrics = object.metrics?.map(e => MetricDescriptor.fromPartial(e)) || []; - message.monitoredResources = object.monitoredResources?.map(e => MonitoredResourceDescriptor.fromPartial(e)) || []; - if (object.billing !== undefined && object.billing !== null) { - message.billing = Billing.fromPartial(object.billing); - } - if (object.logging !== undefined && object.logging !== null) { - message.logging = Logging.fromPartial(object.logging); - } - if (object.monitoring !== undefined && object.monitoring !== null) { - message.monitoring = Monitoring.fromPartial(object.monitoring); - } - if (object.systemParameters !== undefined && object.systemParameters !== null) { - message.systemParameters = SystemParameters.fromPartial(object.systemParameters); - } - if (object.sourceInfo !== undefined && object.sourceInfo !== null) { - message.sourceInfo = SourceInfo.fromPartial(object.sourceInfo); - } - if (object.configVersion !== undefined && object.configVersion !== null) { - message.configVersion = UInt32Value.fromPartial(object.configVersion); - } - return message; - }, - fromSDK(object: ServiceSDKType): Service { - return { - name: object?.name, - title: object?.title, - producerProjectId: object?.producer_project_id, - id: object?.id, - apis: Array.isArray(object?.apis) ? object.apis.map((e: any) => Api.fromSDK(e)) : [], - types: Array.isArray(object?.types) ? object.types.map((e: any) => Type.fromSDK(e)) : [], - enums: Array.isArray(object?.enums) ? object.enums.map((e: any) => Enum.fromSDK(e)) : [], - documentation: object.documentation ? Documentation.fromSDK(object.documentation) : undefined, - backend: object.backend ? Backend.fromSDK(object.backend) : undefined, - http: object.http ? Http.fromSDK(object.http) : undefined, - quota: object.quota ? Quota.fromSDK(object.quota) : undefined, - authentication: object.authentication ? Authentication.fromSDK(object.authentication) : undefined, - context: object.context ? Context.fromSDK(object.context) : undefined, - usage: object.usage ? Usage.fromSDK(object.usage) : undefined, - endpoints: Array.isArray(object?.endpoints) ? object.endpoints.map((e: any) => Endpoint.fromSDK(e)) : [], - control: object.control ? Control.fromSDK(object.control) : undefined, - logs: Array.isArray(object?.logs) ? object.logs.map((e: any) => LogDescriptor.fromSDK(e)) : [], - metrics: Array.isArray(object?.metrics) ? object.metrics.map((e: any) => MetricDescriptor.fromSDK(e)) : [], - monitoredResources: Array.isArray(object?.monitored_resources) ? object.monitored_resources.map((e: any) => MonitoredResourceDescriptor.fromSDK(e)) : [], - billing: object.billing ? Billing.fromSDK(object.billing) : undefined, - logging: object.logging ? Logging.fromSDK(object.logging) : undefined, - monitoring: object.monitoring ? Monitoring.fromSDK(object.monitoring) : undefined, - systemParameters: object.system_parameters ? SystemParameters.fromSDK(object.system_parameters) : undefined, - sourceInfo: object.source_info ? SourceInfo.fromSDK(object.source_info) : undefined, - configVersion: object.config_version ? UInt32Value.fromSDK(object.config_version) : undefined - }; - }, - toSDK(message: Service): ServiceSDKType { - const obj: any = {}; - obj.name = message.name; - obj.title = message.title; - obj.producer_project_id = message.producerProjectId; - obj.id = message.id; - if (message.apis) { - obj.apis = message.apis.map(e => e ? Api.toSDK(e) : undefined); - } else { - obj.apis = []; - } - if (message.types) { - obj.types = message.types.map(e => e ? Type.toSDK(e) : undefined); - } else { - obj.types = []; - } - if (message.enums) { - obj.enums = message.enums.map(e => e ? Enum.toSDK(e) : undefined); - } else { - obj.enums = []; - } - message.documentation !== undefined && (obj.documentation = message.documentation ? Documentation.toSDK(message.documentation) : undefined); - message.backend !== undefined && (obj.backend = message.backend ? Backend.toSDK(message.backend) : undefined); - message.http !== undefined && (obj.http = message.http ? Http.toSDK(message.http) : undefined); - message.quota !== undefined && (obj.quota = message.quota ? Quota.toSDK(message.quota) : undefined); - message.authentication !== undefined && (obj.authentication = message.authentication ? Authentication.toSDK(message.authentication) : undefined); - message.context !== undefined && (obj.context = message.context ? Context.toSDK(message.context) : undefined); - message.usage !== undefined && (obj.usage = message.usage ? Usage.toSDK(message.usage) : undefined); - if (message.endpoints) { - obj.endpoints = message.endpoints.map(e => e ? Endpoint.toSDK(e) : undefined); - } else { - obj.endpoints = []; - } - message.control !== undefined && (obj.control = message.control ? Control.toSDK(message.control) : undefined); - if (message.logs) { - obj.logs = message.logs.map(e => e ? LogDescriptor.toSDK(e) : undefined); - } else { - obj.logs = []; - } - if (message.metrics) { - obj.metrics = message.metrics.map(e => e ? MetricDescriptor.toSDK(e) : undefined); - } else { - obj.metrics = []; - } - if (message.monitoredResources) { - obj.monitored_resources = message.monitoredResources.map(e => e ? MonitoredResourceDescriptor.toSDK(e) : undefined); - } else { - obj.monitored_resources = []; - } - message.billing !== undefined && (obj.billing = message.billing ? Billing.toSDK(message.billing) : undefined); - message.logging !== undefined && (obj.logging = message.logging ? Logging.toSDK(message.logging) : undefined); - message.monitoring !== undefined && (obj.monitoring = message.monitoring ? Monitoring.toSDK(message.monitoring) : undefined); - message.systemParameters !== undefined && (obj.system_parameters = message.systemParameters ? SystemParameters.toSDK(message.systemParameters) : undefined); - message.sourceInfo !== undefined && (obj.source_info = message.sourceInfo ? SourceInfo.toSDK(message.sourceInfo) : undefined); - message.configVersion !== undefined && (obj.config_version = message.configVersion ? UInt32Value.toSDK(message.configVersion) : undefined); - return obj; - }, - fromAmino(object: ServiceAmino): Service { - return { - name: object.name, - title: object.title, - producerProjectId: object.producer_project_id, - id: object.id, - apis: Array.isArray(object?.apis) ? object.apis.map((e: any) => Api.fromAmino(e)) : [], - types: Array.isArray(object?.types) ? object.types.map((e: any) => Type.fromAmino(e)) : [], - enums: Array.isArray(object?.enums) ? object.enums.map((e: any) => Enum.fromAmino(e)) : [], - documentation: object?.documentation ? Documentation.fromAmino(object.documentation) : undefined, - backend: object?.backend ? Backend.fromAmino(object.backend) : undefined, - http: object?.http ? Http.fromAmino(object.http) : undefined, - quota: object?.quota ? Quota.fromAmino(object.quota) : undefined, - authentication: object?.authentication ? Authentication.fromAmino(object.authentication) : undefined, - context: object?.context ? Context.fromAmino(object.context) : undefined, - usage: object?.usage ? Usage.fromAmino(object.usage) : undefined, - endpoints: Array.isArray(object?.endpoints) ? object.endpoints.map((e: any) => Endpoint.fromAmino(e)) : [], - control: object?.control ? Control.fromAmino(object.control) : undefined, - logs: Array.isArray(object?.logs) ? object.logs.map((e: any) => LogDescriptor.fromAmino(e)) : [], - metrics: Array.isArray(object?.metrics) ? object.metrics.map((e: any) => MetricDescriptor.fromAmino(e)) : [], - monitoredResources: Array.isArray(object?.monitored_resources) ? object.monitored_resources.map((e: any) => MonitoredResourceDescriptor.fromAmino(e)) : [], - billing: object?.billing ? Billing.fromAmino(object.billing) : undefined, - logging: object?.logging ? Logging.fromAmino(object.logging) : undefined, - monitoring: object?.monitoring ? Monitoring.fromAmino(object.monitoring) : undefined, - systemParameters: object?.system_parameters ? SystemParameters.fromAmino(object.system_parameters) : undefined, - sourceInfo: object?.source_info ? SourceInfo.fromAmino(object.source_info) : undefined, - configVersion: object?.config_version ? UInt32Value.fromAmino(object.config_version) : undefined - }; - }, - toAmino(message: Service): ServiceAmino { - const obj: any = {}; - obj.name = message.name; - obj.title = message.title; - obj.producer_project_id = message.producerProjectId; - obj.id = message.id; - if (message.apis) { - obj.apis = message.apis.map(e => e ? Api.toAmino(e) : undefined); - } else { - obj.apis = []; - } - if (message.types) { - obj.types = message.types.map(e => e ? Type.toAmino(e) : undefined); - } else { - obj.types = []; - } - if (message.enums) { - obj.enums = message.enums.map(e => e ? Enum.toAmino(e) : undefined); - } else { - obj.enums = []; - } - obj.documentation = message.documentation ? Documentation.toAmino(message.documentation) : undefined; - obj.backend = message.backend ? Backend.toAmino(message.backend) : undefined; - obj.http = message.http ? Http.toAmino(message.http) : undefined; - obj.quota = message.quota ? Quota.toAmino(message.quota) : undefined; - obj.authentication = message.authentication ? Authentication.toAmino(message.authentication) : undefined; - obj.context = message.context ? Context.toAmino(message.context) : undefined; - obj.usage = message.usage ? Usage.toAmino(message.usage) : undefined; - if (message.endpoints) { - obj.endpoints = message.endpoints.map(e => e ? Endpoint.toAmino(e) : undefined); - } else { - obj.endpoints = []; - } - obj.control = message.control ? Control.toAmino(message.control) : undefined; - if (message.logs) { - obj.logs = message.logs.map(e => e ? LogDescriptor.toAmino(e) : undefined); - } else { - obj.logs = []; - } - if (message.metrics) { - obj.metrics = message.metrics.map(e => e ? MetricDescriptor.toAmino(e) : undefined); - } else { - obj.metrics = []; - } - if (message.monitoredResources) { - obj.monitored_resources = message.monitoredResources.map(e => e ? MonitoredResourceDescriptor.toAmino(e) : undefined); - } else { - obj.monitored_resources = []; - } - obj.billing = message.billing ? Billing.toAmino(message.billing) : undefined; - obj.logging = message.logging ? Logging.toAmino(message.logging) : undefined; - obj.monitoring = message.monitoring ? Monitoring.toAmino(message.monitoring) : undefined; - obj.system_parameters = message.systemParameters ? SystemParameters.toAmino(message.systemParameters) : undefined; - obj.source_info = message.sourceInfo ? SourceInfo.toAmino(message.sourceInfo) : undefined; - obj.config_version = message.configVersion ? UInt32Value.toAmino(message.configVersion) : undefined; - return obj; - }, - fromAminoMsg(object: ServiceAminoMsg): Service { - return Service.fromAmino(object.value); - }, - fromProtoMsg(message: ServiceProtoMsg): Service { - return Service.decode(message.value); - }, - toProto(message: Service): Uint8Array { - return Service.encode(message).finish(); - }, - toProtoMsg(message: Service): ServiceProtoMsg { - return { - typeUrl: "/google.api.Service", - value: Service.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/check_error.ts b/quicksilverjs/src/codegen/google/api/servicecontrol/v1/check_error.ts deleted file mode 100644 index 5e20e6676..000000000 --- a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/check_error.ts +++ /dev/null @@ -1,386 +0,0 @@ -import { Status, StatusAmino, StatusSDKType } from "../../../rpc/status"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../../helpers"; -export const protobufPackage = "google.api.servicecontrol.v1"; -/** Error codes for Check responses. */ -export enum CheckError_Code { - /** ERROR_CODE_UNSPECIFIED - This is never used in `CheckResponse`. */ - ERROR_CODE_UNSPECIFIED = 0, - /** - * NOT_FOUND - The consumer's project id, network container, or resource container was - * not found. Same as [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND]. - */ - NOT_FOUND = 5, - /** - * PERMISSION_DENIED - The consumer doesn't have access to the specified resource. - * Same as [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. - */ - PERMISSION_DENIED = 7, - /** RESOURCE_EXHAUSTED - Quota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]. */ - RESOURCE_EXHAUSTED = 8, - /** SERVICE_NOT_ACTIVATED - The consumer hasn't activated the service. */ - SERVICE_NOT_ACTIVATED = 104, - /** BILLING_DISABLED - The consumer cannot access the service because billing is disabled. */ - BILLING_DISABLED = 107, - /** PROJECT_DELETED - The consumer's project has been marked as deleted (soft deletion). */ - PROJECT_DELETED = 108, - /** PROJECT_INVALID - The consumer's project number or id does not represent a valid project. */ - PROJECT_INVALID = 114, - /** - * CONSUMER_INVALID - The input consumer info does not represent a valid consumer folder or - * organization. - */ - CONSUMER_INVALID = 125, - /** - * IP_ADDRESS_BLOCKED - The IP address of the consumer is invalid for the specific consumer - * project. - */ - IP_ADDRESS_BLOCKED = 109, - /** - * REFERER_BLOCKED - The referer address of the consumer request is invalid for the specific - * consumer project. - */ - REFERER_BLOCKED = 110, - /** - * CLIENT_APP_BLOCKED - The client application of the consumer request is invalid for the - * specific consumer project. - */ - CLIENT_APP_BLOCKED = 111, - /** - * API_TARGET_BLOCKED - The API targeted by this request is invalid for the specified consumer - * project. - */ - API_TARGET_BLOCKED = 122, - /** API_KEY_INVALID - The consumer's API key is invalid. */ - API_KEY_INVALID = 105, - /** API_KEY_EXPIRED - The consumer's API Key has expired. */ - API_KEY_EXPIRED = 112, - /** API_KEY_NOT_FOUND - The consumer's API Key was not found in config record. */ - API_KEY_NOT_FOUND = 113, - /** INVALID_CREDENTIAL - The credential in the request can not be verified. */ - INVALID_CREDENTIAL = 123, - /** NAMESPACE_LOOKUP_UNAVAILABLE - The backend server for looking up project id/number is unavailable. */ - NAMESPACE_LOOKUP_UNAVAILABLE = 300, - /** SERVICE_STATUS_UNAVAILABLE - The backend server for checking service status is unavailable. */ - SERVICE_STATUS_UNAVAILABLE = 301, - /** BILLING_STATUS_UNAVAILABLE - The backend server for checking billing status is unavailable. */ - BILLING_STATUS_UNAVAILABLE = 302, - /** CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE - Cloud Resource Manager backend server is unavailable. */ - CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305, - UNRECOGNIZED = -1, -} -export const CheckError_CodeSDKType = CheckError_Code; -export const CheckError_CodeAmino = CheckError_Code; -export function checkError_CodeFromJSON(object: any): CheckError_Code { - switch (object) { - case 0: - case "ERROR_CODE_UNSPECIFIED": - return CheckError_Code.ERROR_CODE_UNSPECIFIED; - case 5: - case "NOT_FOUND": - return CheckError_Code.NOT_FOUND; - case 7: - case "PERMISSION_DENIED": - return CheckError_Code.PERMISSION_DENIED; - case 8: - case "RESOURCE_EXHAUSTED": - return CheckError_Code.RESOURCE_EXHAUSTED; - case 104: - case "SERVICE_NOT_ACTIVATED": - return CheckError_Code.SERVICE_NOT_ACTIVATED; - case 107: - case "BILLING_DISABLED": - return CheckError_Code.BILLING_DISABLED; - case 108: - case "PROJECT_DELETED": - return CheckError_Code.PROJECT_DELETED; - case 114: - case "PROJECT_INVALID": - return CheckError_Code.PROJECT_INVALID; - case 125: - case "CONSUMER_INVALID": - return CheckError_Code.CONSUMER_INVALID; - case 109: - case "IP_ADDRESS_BLOCKED": - return CheckError_Code.IP_ADDRESS_BLOCKED; - case 110: - case "REFERER_BLOCKED": - return CheckError_Code.REFERER_BLOCKED; - case 111: - case "CLIENT_APP_BLOCKED": - return CheckError_Code.CLIENT_APP_BLOCKED; - case 122: - case "API_TARGET_BLOCKED": - return CheckError_Code.API_TARGET_BLOCKED; - case 105: - case "API_KEY_INVALID": - return CheckError_Code.API_KEY_INVALID; - case 112: - case "API_KEY_EXPIRED": - return CheckError_Code.API_KEY_EXPIRED; - case 113: - case "API_KEY_NOT_FOUND": - return CheckError_Code.API_KEY_NOT_FOUND; - case 123: - case "INVALID_CREDENTIAL": - return CheckError_Code.INVALID_CREDENTIAL; - case 300: - case "NAMESPACE_LOOKUP_UNAVAILABLE": - return CheckError_Code.NAMESPACE_LOOKUP_UNAVAILABLE; - case 301: - case "SERVICE_STATUS_UNAVAILABLE": - return CheckError_Code.SERVICE_STATUS_UNAVAILABLE; - case 302: - case "BILLING_STATUS_UNAVAILABLE": - return CheckError_Code.BILLING_STATUS_UNAVAILABLE; - case 305: - case "CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE": - return CheckError_Code.CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE; - case -1: - case "UNRECOGNIZED": - default: - return CheckError_Code.UNRECOGNIZED; - } -} -export function checkError_CodeToJSON(object: CheckError_Code): string { - switch (object) { - case CheckError_Code.ERROR_CODE_UNSPECIFIED: - return "ERROR_CODE_UNSPECIFIED"; - case CheckError_Code.NOT_FOUND: - return "NOT_FOUND"; - case CheckError_Code.PERMISSION_DENIED: - return "PERMISSION_DENIED"; - case CheckError_Code.RESOURCE_EXHAUSTED: - return "RESOURCE_EXHAUSTED"; - case CheckError_Code.SERVICE_NOT_ACTIVATED: - return "SERVICE_NOT_ACTIVATED"; - case CheckError_Code.BILLING_DISABLED: - return "BILLING_DISABLED"; - case CheckError_Code.PROJECT_DELETED: - return "PROJECT_DELETED"; - case CheckError_Code.PROJECT_INVALID: - return "PROJECT_INVALID"; - case CheckError_Code.CONSUMER_INVALID: - return "CONSUMER_INVALID"; - case CheckError_Code.IP_ADDRESS_BLOCKED: - return "IP_ADDRESS_BLOCKED"; - case CheckError_Code.REFERER_BLOCKED: - return "REFERER_BLOCKED"; - case CheckError_Code.CLIENT_APP_BLOCKED: - return "CLIENT_APP_BLOCKED"; - case CheckError_Code.API_TARGET_BLOCKED: - return "API_TARGET_BLOCKED"; - case CheckError_Code.API_KEY_INVALID: - return "API_KEY_INVALID"; - case CheckError_Code.API_KEY_EXPIRED: - return "API_KEY_EXPIRED"; - case CheckError_Code.API_KEY_NOT_FOUND: - return "API_KEY_NOT_FOUND"; - case CheckError_Code.INVALID_CREDENTIAL: - return "INVALID_CREDENTIAL"; - case CheckError_Code.NAMESPACE_LOOKUP_UNAVAILABLE: - return "NAMESPACE_LOOKUP_UNAVAILABLE"; - case CheckError_Code.SERVICE_STATUS_UNAVAILABLE: - return "SERVICE_STATUS_UNAVAILABLE"; - case CheckError_Code.BILLING_STATUS_UNAVAILABLE: - return "BILLING_STATUS_UNAVAILABLE"; - case CheckError_Code.CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE: - return "CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE"; - case CheckError_Code.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * Defines the errors to be returned in - * [google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors]. - */ -export interface CheckError { - /** The error code. */ - code: CheckError_Code; - /** - * Subject to whom this error applies. See the specific code enum for more - * details on this field. For example: - * - * - "project:" - * - "folder:" - * - "organization:" - */ - subject: string; - /** Free-form text providing details on the error cause of the error. */ - detail: string; - /** - * Contains public information about the check error. If available, - * `status.code` will be non zero and client can propagate it out as public - * error. - */ - status: Status; -} -export interface CheckErrorProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.CheckError"; - value: Uint8Array; -} -/** - * Defines the errors to be returned in - * [google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors]. - */ -export interface CheckErrorAmino { - /** The error code. */ - code: CheckError_Code; - /** - * Subject to whom this error applies. See the specific code enum for more - * details on this field. For example: - * - * - "project:" - * - "folder:" - * - "organization:" - */ - subject: string; - /** Free-form text providing details on the error cause of the error. */ - detail: string; - /** - * Contains public information about the check error. If available, - * `status.code` will be non zero and client can propagate it out as public - * error. - */ - status?: StatusAmino; -} -export interface CheckErrorAminoMsg { - type: "/google.api.servicecontrol.v1.CheckError"; - value: CheckErrorAmino; -} -/** - * Defines the errors to be returned in - * [google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors]. - */ -export interface CheckErrorSDKType { - code: CheckError_Code; - subject: string; - detail: string; - status: StatusSDKType; -} -function createBaseCheckError(): CheckError { - return { - code: 0, - subject: "", - detail: "", - status: Status.fromPartial({}) - }; -} -export const CheckError = { - typeUrl: "/google.api.servicecontrol.v1.CheckError", - encode(message: CheckError, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.code !== 0) { - writer.uint32(8).int32(message.code); - } - if (message.subject !== "") { - writer.uint32(34).string(message.subject); - } - if (message.detail !== "") { - writer.uint32(18).string(message.detail); - } - if (message.status !== undefined) { - Status.encode(message.status, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckError { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckError(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.code = (reader.int32() as any); - break; - case 4: - message.subject = reader.string(); - break; - case 2: - message.detail = reader.string(); - break; - case 3: - message.status = Status.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckError { - const obj = createBaseCheckError(); - if (isSet(object.code)) obj.code = checkError_CodeFromJSON(object.code); - if (isSet(object.subject)) obj.subject = String(object.subject); - if (isSet(object.detail)) obj.detail = String(object.detail); - if (isSet(object.status)) obj.status = Status.fromJSON(object.status); - return obj; - }, - toJSON(message: CheckError): unknown { - const obj: any = {}; - message.code !== undefined && (obj.code = checkError_CodeToJSON(message.code)); - message.subject !== undefined && (obj.subject = message.subject); - message.detail !== undefined && (obj.detail = message.detail); - message.status !== undefined && (obj.status = message.status ? Status.toJSON(message.status) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CheckError { - const message = createBaseCheckError(); - message.code = object.code ?? 0; - message.subject = object.subject ?? ""; - message.detail = object.detail ?? ""; - if (object.status !== undefined && object.status !== null) { - message.status = Status.fromPartial(object.status); - } - return message; - }, - fromSDK(object: CheckErrorSDKType): CheckError { - return { - code: isSet(object.code) ? checkError_CodeFromJSON(object.code) : -1, - subject: object?.subject, - detail: object?.detail, - status: object.status ? Status.fromSDK(object.status) : undefined - }; - }, - toSDK(message: CheckError): CheckErrorSDKType { - const obj: any = {}; - message.code !== undefined && (obj.code = checkError_CodeToJSON(message.code)); - obj.subject = message.subject; - obj.detail = message.detail; - message.status !== undefined && (obj.status = message.status ? Status.toSDK(message.status) : undefined); - return obj; - }, - fromAmino(object: CheckErrorAmino): CheckError { - return { - code: isSet(object.code) ? checkError_CodeFromJSON(object.code) : -1, - subject: object.subject, - detail: object.detail, - status: object?.status ? Status.fromAmino(object.status) : undefined - }; - }, - toAmino(message: CheckError): CheckErrorAmino { - const obj: any = {}; - obj.code = message.code; - obj.subject = message.subject; - obj.detail = message.detail; - obj.status = message.status ? Status.toAmino(message.status) : undefined; - return obj; - }, - fromAminoMsg(object: CheckErrorAminoMsg): CheckError { - return CheckError.fromAmino(object.value); - }, - fromProtoMsg(message: CheckErrorProtoMsg): CheckError { - return CheckError.decode(message.value); - }, - toProto(message: CheckError): Uint8Array { - return CheckError.encode(message).finish(); - }, - toProtoMsg(message: CheckError): CheckErrorProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.CheckError", - value: CheckError.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/distribution.ts b/quicksilverjs/src/codegen/google/api/servicecontrol/v1/distribution.ts deleted file mode 100644 index 6dfadf512..000000000 --- a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/distribution.ts +++ /dev/null @@ -1,878 +0,0 @@ -import { Distribution_Exemplar } from "../../distribution"; -import { Long, isSet, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.servicecontrol.v1"; -/** - * Distribution represents a frequency distribution of double-valued sample - * points. It contains the size of the population of sample points plus - * additional optional information: - * - * * the arithmetic mean of the samples - * * the minimum and maximum of the samples - * * the sum-squared-deviation of the samples, used to compute variance - * * a histogram of the values of the sample points - */ -export interface Distribution { - /** The total number of samples in the distribution. Must be >= 0. */ - count: Long; - /** - * The arithmetic mean of the samples in the distribution. If `count` is - * zero then this field must be zero. - */ - mean: number; - /** The minimum of the population of values. Ignored if `count` is zero. */ - minimum: number; - /** The maximum of the population of values. Ignored if `count` is zero. */ - maximum: number; - /** - * The sum of squared deviations from the mean: - * Sum[i=1..count]((x_i - mean)^2) - * where each x_i is a sample values. If `count` is zero then this field - * must be zero, otherwise validation of the request fails. - */ - sumOfSquaredDeviation: number; - /** - * The number of samples in each histogram bucket. `bucket_counts` are - * optional. If present, they must sum to the `count` value. - * - * The buckets are defined below in `bucket_option`. There are N buckets. - * `bucket_counts[0]` is the number of samples in the underflow bucket. - * `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples - * in each of the finite buckets. And `bucket_counts[N] is the number - * of samples in the overflow bucket. See the comments of `bucket_option` - * below for more details. - * - * Any suffix of trailing zeros may be omitted. - */ - bucketCounts: Long[]; - /** Buckets with constant width. */ - linearBuckets?: Distribution_LinearBuckets; - /** Buckets with exponentially growing width. */ - exponentialBuckets?: Distribution_ExponentialBuckets; - /** Buckets with arbitrary user-provided width. */ - explicitBuckets?: Distribution_ExplicitBuckets; - /** Example points. Must be in increasing order of `value` field. */ - exemplars: Distribution_Exemplar[]; -} -export interface DistributionProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.Distribution"; - value: Uint8Array; -} -/** - * Distribution represents a frequency distribution of double-valued sample - * points. It contains the size of the population of sample points plus - * additional optional information: - * - * * the arithmetic mean of the samples - * * the minimum and maximum of the samples - * * the sum-squared-deviation of the samples, used to compute variance - * * a histogram of the values of the sample points - */ -export interface DistributionAmino { - /** The total number of samples in the distribution. Must be >= 0. */ - count: string; - /** - * The arithmetic mean of the samples in the distribution. If `count` is - * zero then this field must be zero. - */ - mean: number; - /** The minimum of the population of values. Ignored if `count` is zero. */ - minimum: number; - /** The maximum of the population of values. Ignored if `count` is zero. */ - maximum: number; - /** - * The sum of squared deviations from the mean: - * Sum[i=1..count]((x_i - mean)^2) - * where each x_i is a sample values. If `count` is zero then this field - * must be zero, otherwise validation of the request fails. - */ - sum_of_squared_deviation: number; - /** - * The number of samples in each histogram bucket. `bucket_counts` are - * optional. If present, they must sum to the `count` value. - * - * The buckets are defined below in `bucket_option`. There are N buckets. - * `bucket_counts[0]` is the number of samples in the underflow bucket. - * `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples - * in each of the finite buckets. And `bucket_counts[N] is the number - * of samples in the overflow bucket. See the comments of `bucket_option` - * below for more details. - * - * Any suffix of trailing zeros may be omitted. - */ - bucket_counts: string[]; - /** Buckets with constant width. */ - linear_buckets?: Distribution_LinearBucketsAmino; - /** Buckets with exponentially growing width. */ - exponential_buckets?: Distribution_ExponentialBucketsAmino; - /** Buckets with arbitrary user-provided width. */ - explicit_buckets?: Distribution_ExplicitBucketsAmino; - /** Example points. Must be in increasing order of `value` field. */ - exemplars: Distribution_ExemplarAmino[]; -} -export interface DistributionAminoMsg { - type: "/google.api.servicecontrol.v1.Distribution"; - value: DistributionAmino; -} -/** - * Distribution represents a frequency distribution of double-valued sample - * points. It contains the size of the population of sample points plus - * additional optional information: - * - * * the arithmetic mean of the samples - * * the minimum and maximum of the samples - * * the sum-squared-deviation of the samples, used to compute variance - * * a histogram of the values of the sample points - */ -export interface DistributionSDKType { - count: Long; - mean: number; - minimum: number; - maximum: number; - sum_of_squared_deviation: number; - bucket_counts: Long[]; - linear_buckets?: Distribution_LinearBucketsSDKType; - exponential_buckets?: Distribution_ExponentialBucketsSDKType; - explicit_buckets?: Distribution_ExplicitBucketsSDKType; - exemplars: Distribution_ExemplarSDKType[]; -} -/** Describing buckets with constant width. */ -export interface Distribution_LinearBuckets { - /** - * The number of finite buckets. With the underflow and overflow buckets, - * the total number of buckets is `num_finite_buckets` + 2. - * See comments on `bucket_options` for details. - */ - numFiniteBuckets: number; - /** - * The i'th linear bucket covers the interval - * [offset + (i-1) * width, offset + i * width) - * where i ranges from 1 to num_finite_buckets, inclusive. - * Must be strictly positive. - */ - width: number; - /** - * The i'th linear bucket covers the interval - * [offset + (i-1) * width, offset + i * width) - * where i ranges from 1 to num_finite_buckets, inclusive. - */ - offset: number; -} -export interface Distribution_LinearBucketsProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.LinearBuckets"; - value: Uint8Array; -} -/** Describing buckets with constant width. */ -export interface Distribution_LinearBucketsAmino { - /** - * The number of finite buckets. With the underflow and overflow buckets, - * the total number of buckets is `num_finite_buckets` + 2. - * See comments on `bucket_options` for details. - */ - num_finite_buckets: number; - /** - * The i'th linear bucket covers the interval - * [offset + (i-1) * width, offset + i * width) - * where i ranges from 1 to num_finite_buckets, inclusive. - * Must be strictly positive. - */ - width: number; - /** - * The i'th linear bucket covers the interval - * [offset + (i-1) * width, offset + i * width) - * where i ranges from 1 to num_finite_buckets, inclusive. - */ - offset: number; -} -export interface Distribution_LinearBucketsAminoMsg { - type: "/google.api.servicecontrol.v1.LinearBuckets"; - value: Distribution_LinearBucketsAmino; -} -/** Describing buckets with constant width. */ -export interface Distribution_LinearBucketsSDKType { - num_finite_buckets: number; - width: number; - offset: number; -} -/** Describing buckets with exponentially growing width. */ -export interface Distribution_ExponentialBuckets { - /** - * The number of finite buckets. With the underflow and overflow buckets, - * the total number of buckets is `num_finite_buckets` + 2. - * See comments on `bucket_options` for details. - */ - numFiniteBuckets: number; - /** - * The i'th exponential bucket covers the interval - * [scale * growth_factor^(i-1), scale * growth_factor^i) - * where i ranges from 1 to num_finite_buckets inclusive. - * Must be larger than 1.0. - */ - growthFactor: number; - /** - * The i'th exponential bucket covers the interval - * [scale * growth_factor^(i-1), scale * growth_factor^i) - * where i ranges from 1 to num_finite_buckets inclusive. - * Must be > 0. - */ - scale: number; -} -export interface Distribution_ExponentialBucketsProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.ExponentialBuckets"; - value: Uint8Array; -} -/** Describing buckets with exponentially growing width. */ -export interface Distribution_ExponentialBucketsAmino { - /** - * The number of finite buckets. With the underflow and overflow buckets, - * the total number of buckets is `num_finite_buckets` + 2. - * See comments on `bucket_options` for details. - */ - num_finite_buckets: number; - /** - * The i'th exponential bucket covers the interval - * [scale * growth_factor^(i-1), scale * growth_factor^i) - * where i ranges from 1 to num_finite_buckets inclusive. - * Must be larger than 1.0. - */ - growth_factor: number; - /** - * The i'th exponential bucket covers the interval - * [scale * growth_factor^(i-1), scale * growth_factor^i) - * where i ranges from 1 to num_finite_buckets inclusive. - * Must be > 0. - */ - scale: number; -} -export interface Distribution_ExponentialBucketsAminoMsg { - type: "/google.api.servicecontrol.v1.ExponentialBuckets"; - value: Distribution_ExponentialBucketsAmino; -} -/** Describing buckets with exponentially growing width. */ -export interface Distribution_ExponentialBucketsSDKType { - num_finite_buckets: number; - growth_factor: number; - scale: number; -} -/** Describing buckets with arbitrary user-provided width. */ -export interface Distribution_ExplicitBuckets { - /** - * 'bound' is a list of strictly increasing boundaries between - * buckets. Note that a list of length N-1 defines N buckets because - * of fenceposting. See comments on `bucket_options` for details. - * - * The i'th finite bucket covers the interval - * [bound[i-1], bound[i]) - * where i ranges from 1 to bound_size() - 1. Note that there are no - * finite buckets at all if 'bound' only contains a single element; in - * that special case the single bound defines the boundary between the - * underflow and overflow buckets. - * - * bucket number lower bound upper bound - * i == 0 (underflow) -inf bound[i] - * 0 < i < bound_size() bound[i-1] bound[i] - * i == bound_size() (overflow) bound[i-1] +inf - */ - bounds: number[]; -} -export interface Distribution_ExplicitBucketsProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.ExplicitBuckets"; - value: Uint8Array; -} -/** Describing buckets with arbitrary user-provided width. */ -export interface Distribution_ExplicitBucketsAmino { - /** - * 'bound' is a list of strictly increasing boundaries between - * buckets. Note that a list of length N-1 defines N buckets because - * of fenceposting. See comments on `bucket_options` for details. - * - * The i'th finite bucket covers the interval - * [bound[i-1], bound[i]) - * where i ranges from 1 to bound_size() - 1. Note that there are no - * finite buckets at all if 'bound' only contains a single element; in - * that special case the single bound defines the boundary between the - * underflow and overflow buckets. - * - * bucket number lower bound upper bound - * i == 0 (underflow) -inf bound[i] - * 0 < i < bound_size() bound[i-1] bound[i] - * i == bound_size() (overflow) bound[i-1] +inf - */ - bounds: number[]; -} -export interface Distribution_ExplicitBucketsAminoMsg { - type: "/google.api.servicecontrol.v1.ExplicitBuckets"; - value: Distribution_ExplicitBucketsAmino; -} -/** Describing buckets with arbitrary user-provided width. */ -export interface Distribution_ExplicitBucketsSDKType { - bounds: number[]; -} -function createBaseDistribution(): Distribution { - return { - count: Long.ZERO, - mean: 0, - minimum: 0, - maximum: 0, - sumOfSquaredDeviation: 0, - bucketCounts: [], - linearBuckets: undefined, - exponentialBuckets: undefined, - explicitBuckets: undefined, - exemplars: [] - }; -} -export const Distribution = { - typeUrl: "/google.api.servicecontrol.v1.Distribution", - encode(message: Distribution, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.count.isZero()) { - writer.uint32(8).int64(message.count); - } - if (message.mean !== 0) { - writer.uint32(17).double(message.mean); - } - if (message.minimum !== 0) { - writer.uint32(25).double(message.minimum); - } - if (message.maximum !== 0) { - writer.uint32(33).double(message.maximum); - } - if (message.sumOfSquaredDeviation !== 0) { - writer.uint32(41).double(message.sumOfSquaredDeviation); - } - writer.uint32(50).fork(); - for (const v of message.bucketCounts) { - writer.int64(v); - } - writer.ldelim(); - if (message.linearBuckets !== undefined) { - Distribution_LinearBuckets.encode(message.linearBuckets, writer.uint32(58).fork()).ldelim(); - } - if (message.exponentialBuckets !== undefined) { - Distribution_ExponentialBuckets.encode(message.exponentialBuckets, writer.uint32(66).fork()).ldelim(); - } - if (message.explicitBuckets !== undefined) { - Distribution_ExplicitBuckets.encode(message.explicitBuckets, writer.uint32(74).fork()).ldelim(); - } - for (const v of message.exemplars) { - Distribution_Exemplar.encode(v!, writer.uint32(82).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Distribution { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDistribution(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.count = (reader.int64() as Long); - break; - case 2: - message.mean = reader.double(); - break; - case 3: - message.minimum = reader.double(); - break; - case 4: - message.maximum = reader.double(); - break; - case 5: - message.sumOfSquaredDeviation = reader.double(); - break; - case 6: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.bucketCounts.push((reader.int64() as Long)); - } - } else { - message.bucketCounts.push((reader.int64() as Long)); - } - break; - case 7: - message.linearBuckets = Distribution_LinearBuckets.decode(reader, reader.uint32()); - break; - case 8: - message.exponentialBuckets = Distribution_ExponentialBuckets.decode(reader, reader.uint32()); - break; - case 9: - message.explicitBuckets = Distribution_ExplicitBuckets.decode(reader, reader.uint32()); - break; - case 10: - message.exemplars.push(Distribution_Exemplar.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Distribution { - const obj = createBaseDistribution(); - if (isSet(object.count)) obj.count = Long.fromValue(object.count); - if (isSet(object.mean)) obj.mean = Number(object.mean); - if (isSet(object.minimum)) obj.minimum = Number(object.minimum); - if (isSet(object.maximum)) obj.maximum = Number(object.maximum); - if (isSet(object.sumOfSquaredDeviation)) obj.sumOfSquaredDeviation = Number(object.sumOfSquaredDeviation); - if (Array.isArray(object?.bucketCounts)) obj.bucketCounts = object.bucketCounts.map((e: any) => Long.fromValue(e)); - if (isSet(object.linearBuckets)) obj.linearBuckets = Distribution_LinearBuckets.fromJSON(object.linearBuckets); - if (isSet(object.exponentialBuckets)) obj.exponentialBuckets = Distribution_ExponentialBuckets.fromJSON(object.exponentialBuckets); - if (isSet(object.explicitBuckets)) obj.explicitBuckets = Distribution_ExplicitBuckets.fromJSON(object.explicitBuckets); - if (Array.isArray(object?.exemplars)) obj.exemplars = object.exemplars.map((e: any) => Distribution_Exemplar.fromJSON(e)); - return obj; - }, - toJSON(message: Distribution): unknown { - const obj: any = {}; - message.count !== undefined && (obj.count = (message.count || Long.ZERO).toString()); - message.mean !== undefined && (obj.mean = message.mean); - message.minimum !== undefined && (obj.minimum = message.minimum); - message.maximum !== undefined && (obj.maximum = message.maximum); - message.sumOfSquaredDeviation !== undefined && (obj.sumOfSquaredDeviation = message.sumOfSquaredDeviation); - if (message.bucketCounts) { - obj.bucketCounts = message.bucketCounts.map(e => (e || Long.ZERO).toString()); - } else { - obj.bucketCounts = []; - } - message.linearBuckets !== undefined && (obj.linearBuckets = message.linearBuckets ? Distribution_LinearBuckets.toJSON(message.linearBuckets) : undefined); - message.exponentialBuckets !== undefined && (obj.exponentialBuckets = message.exponentialBuckets ? Distribution_ExponentialBuckets.toJSON(message.exponentialBuckets) : undefined); - message.explicitBuckets !== undefined && (obj.explicitBuckets = message.explicitBuckets ? Distribution_ExplicitBuckets.toJSON(message.explicitBuckets) : undefined); - if (message.exemplars) { - obj.exemplars = message.exemplars.map(e => e ? Distribution_Exemplar.toJSON(e) : undefined); - } else { - obj.exemplars = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Distribution { - const message = createBaseDistribution(); - if (object.count !== undefined && object.count !== null) { - message.count = Long.fromValue(object.count); - } - message.mean = object.mean ?? 0; - message.minimum = object.minimum ?? 0; - message.maximum = object.maximum ?? 0; - message.sumOfSquaredDeviation = object.sumOfSquaredDeviation ?? 0; - message.bucketCounts = object.bucketCounts?.map(e => Long.fromValue(e)) || []; - if (object.linearBuckets !== undefined && object.linearBuckets !== null) { - message.linearBuckets = Distribution_LinearBuckets.fromPartial(object.linearBuckets); - } - if (object.exponentialBuckets !== undefined && object.exponentialBuckets !== null) { - message.exponentialBuckets = Distribution_ExponentialBuckets.fromPartial(object.exponentialBuckets); - } - if (object.explicitBuckets !== undefined && object.explicitBuckets !== null) { - message.explicitBuckets = Distribution_ExplicitBuckets.fromPartial(object.explicitBuckets); - } - message.exemplars = object.exemplars?.map(e => Distribution_Exemplar.fromPartial(e)) || []; - return message; - }, - fromSDK(object: DistributionSDKType): Distribution { - return { - count: object?.count, - mean: object?.mean, - minimum: object?.minimum, - maximum: object?.maximum, - sumOfSquaredDeviation: object?.sum_of_squared_deviation, - bucketCounts: Array.isArray(object?.bucket_counts) ? object.bucket_counts.map((e: any) => e) : [], - linearBuckets: object.linear_buckets ? Distribution_LinearBuckets.fromSDK(object.linear_buckets) : undefined, - exponentialBuckets: object.exponential_buckets ? Distribution_ExponentialBuckets.fromSDK(object.exponential_buckets) : undefined, - explicitBuckets: object.explicit_buckets ? Distribution_ExplicitBuckets.fromSDK(object.explicit_buckets) : undefined, - exemplars: Array.isArray(object?.exemplars) ? object.exemplars.map((e: any) => Distribution_Exemplar.fromSDK(e)) : [] - }; - }, - toSDK(message: Distribution): DistributionSDKType { - const obj: any = {}; - obj.count = message.count; - obj.mean = message.mean; - obj.minimum = message.minimum; - obj.maximum = message.maximum; - obj.sum_of_squared_deviation = message.sumOfSquaredDeviation; - if (message.bucketCounts) { - obj.bucket_counts = message.bucketCounts.map(e => e); - } else { - obj.bucket_counts = []; - } - message.linearBuckets !== undefined && (obj.linear_buckets = message.linearBuckets ? Distribution_LinearBuckets.toSDK(message.linearBuckets) : undefined); - message.exponentialBuckets !== undefined && (obj.exponential_buckets = message.exponentialBuckets ? Distribution_ExponentialBuckets.toSDK(message.exponentialBuckets) : undefined); - message.explicitBuckets !== undefined && (obj.explicit_buckets = message.explicitBuckets ? Distribution_ExplicitBuckets.toSDK(message.explicitBuckets) : undefined); - if (message.exemplars) { - obj.exemplars = message.exemplars.map(e => e ? Distribution_Exemplar.toSDK(e) : undefined); - } else { - obj.exemplars = []; - } - return obj; - }, - fromAmino(object: DistributionAmino): Distribution { - return { - count: Long.fromString(object.count), - mean: object.mean, - minimum: object.minimum, - maximum: object.maximum, - sumOfSquaredDeviation: object.sum_of_squared_deviation, - bucketCounts: Array.isArray(object?.bucket_counts) ? object.bucket_counts.map((e: any) => e) : [], - linearBuckets: object?.linear_buckets ? Distribution_LinearBuckets.fromAmino(object.linear_buckets) : undefined, - exponentialBuckets: object?.exponential_buckets ? Distribution_ExponentialBuckets.fromAmino(object.exponential_buckets) : undefined, - explicitBuckets: object?.explicit_buckets ? Distribution_ExplicitBuckets.fromAmino(object.explicit_buckets) : undefined, - exemplars: Array.isArray(object?.exemplars) ? object.exemplars.map((e: any) => Distribution_Exemplar.fromAmino(e)) : [] - }; - }, - toAmino(message: Distribution): DistributionAmino { - const obj: any = {}; - obj.count = message.count ? message.count.toString() : undefined; - obj.mean = message.mean; - obj.minimum = message.minimum; - obj.maximum = message.maximum; - obj.sum_of_squared_deviation = message.sumOfSquaredDeviation; - if (message.bucketCounts) { - obj.bucket_counts = message.bucketCounts.map(e => e); - } else { - obj.bucket_counts = []; - } - obj.linear_buckets = message.linearBuckets ? Distribution_LinearBuckets.toAmino(message.linearBuckets) : undefined; - obj.exponential_buckets = message.exponentialBuckets ? Distribution_ExponentialBuckets.toAmino(message.exponentialBuckets) : undefined; - obj.explicit_buckets = message.explicitBuckets ? Distribution_ExplicitBuckets.toAmino(message.explicitBuckets) : undefined; - if (message.exemplars) { - obj.exemplars = message.exemplars.map(e => e ? Distribution_Exemplar.toAmino(e) : undefined); - } else { - obj.exemplars = []; - } - return obj; - }, - fromAminoMsg(object: DistributionAminoMsg): Distribution { - return Distribution.fromAmino(object.value); - }, - fromProtoMsg(message: DistributionProtoMsg): Distribution { - return Distribution.decode(message.value); - }, - toProto(message: Distribution): Uint8Array { - return Distribution.encode(message).finish(); - }, - toProtoMsg(message: Distribution): DistributionProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.Distribution", - value: Distribution.encode(message).finish() - }; - } -}; -function createBaseDistribution_LinearBuckets(): Distribution_LinearBuckets { - return { - numFiniteBuckets: 0, - width: 0, - offset: 0 - }; -} -export const Distribution_LinearBuckets = { - typeUrl: "/google.api.servicecontrol.v1.LinearBuckets", - encode(message: Distribution_LinearBuckets, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.numFiniteBuckets !== 0) { - writer.uint32(8).int32(message.numFiniteBuckets); - } - if (message.width !== 0) { - writer.uint32(17).double(message.width); - } - if (message.offset !== 0) { - writer.uint32(25).double(message.offset); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Distribution_LinearBuckets { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDistribution_LinearBuckets(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.numFiniteBuckets = reader.int32(); - break; - case 2: - message.width = reader.double(); - break; - case 3: - message.offset = reader.double(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Distribution_LinearBuckets { - const obj = createBaseDistribution_LinearBuckets(); - if (isSet(object.numFiniteBuckets)) obj.numFiniteBuckets = Number(object.numFiniteBuckets); - if (isSet(object.width)) obj.width = Number(object.width); - if (isSet(object.offset)) obj.offset = Number(object.offset); - return obj; - }, - toJSON(message: Distribution_LinearBuckets): unknown { - const obj: any = {}; - message.numFiniteBuckets !== undefined && (obj.numFiniteBuckets = Math.round(message.numFiniteBuckets)); - message.width !== undefined && (obj.width = message.width); - message.offset !== undefined && (obj.offset = message.offset); - return obj; - }, - fromPartial(object: DeepPartial): Distribution_LinearBuckets { - const message = createBaseDistribution_LinearBuckets(); - message.numFiniteBuckets = object.numFiniteBuckets ?? 0; - message.width = object.width ?? 0; - message.offset = object.offset ?? 0; - return message; - }, - fromSDK(object: Distribution_LinearBucketsSDKType): Distribution_LinearBuckets { - return { - numFiniteBuckets: object?.num_finite_buckets, - width: object?.width, - offset: object?.offset - }; - }, - toSDK(message: Distribution_LinearBuckets): Distribution_LinearBucketsSDKType { - const obj: any = {}; - obj.num_finite_buckets = message.numFiniteBuckets; - obj.width = message.width; - obj.offset = message.offset; - return obj; - }, - fromAmino(object: Distribution_LinearBucketsAmino): Distribution_LinearBuckets { - return { - numFiniteBuckets: object.num_finite_buckets, - width: object.width, - offset: object.offset - }; - }, - toAmino(message: Distribution_LinearBuckets): Distribution_LinearBucketsAmino { - const obj: any = {}; - obj.num_finite_buckets = message.numFiniteBuckets; - obj.width = message.width; - obj.offset = message.offset; - return obj; - }, - fromAminoMsg(object: Distribution_LinearBucketsAminoMsg): Distribution_LinearBuckets { - return Distribution_LinearBuckets.fromAmino(object.value); - }, - fromProtoMsg(message: Distribution_LinearBucketsProtoMsg): Distribution_LinearBuckets { - return Distribution_LinearBuckets.decode(message.value); - }, - toProto(message: Distribution_LinearBuckets): Uint8Array { - return Distribution_LinearBuckets.encode(message).finish(); - }, - toProtoMsg(message: Distribution_LinearBuckets): Distribution_LinearBucketsProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.LinearBuckets", - value: Distribution_LinearBuckets.encode(message).finish() - }; - } -}; -function createBaseDistribution_ExponentialBuckets(): Distribution_ExponentialBuckets { - return { - numFiniteBuckets: 0, - growthFactor: 0, - scale: 0 - }; -} -export const Distribution_ExponentialBuckets = { - typeUrl: "/google.api.servicecontrol.v1.ExponentialBuckets", - encode(message: Distribution_ExponentialBuckets, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.numFiniteBuckets !== 0) { - writer.uint32(8).int32(message.numFiniteBuckets); - } - if (message.growthFactor !== 0) { - writer.uint32(17).double(message.growthFactor); - } - if (message.scale !== 0) { - writer.uint32(25).double(message.scale); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Distribution_ExponentialBuckets { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDistribution_ExponentialBuckets(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.numFiniteBuckets = reader.int32(); - break; - case 2: - message.growthFactor = reader.double(); - break; - case 3: - message.scale = reader.double(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Distribution_ExponentialBuckets { - const obj = createBaseDistribution_ExponentialBuckets(); - if (isSet(object.numFiniteBuckets)) obj.numFiniteBuckets = Number(object.numFiniteBuckets); - if (isSet(object.growthFactor)) obj.growthFactor = Number(object.growthFactor); - if (isSet(object.scale)) obj.scale = Number(object.scale); - return obj; - }, - toJSON(message: Distribution_ExponentialBuckets): unknown { - const obj: any = {}; - message.numFiniteBuckets !== undefined && (obj.numFiniteBuckets = Math.round(message.numFiniteBuckets)); - message.growthFactor !== undefined && (obj.growthFactor = message.growthFactor); - message.scale !== undefined && (obj.scale = message.scale); - return obj; - }, - fromPartial(object: DeepPartial): Distribution_ExponentialBuckets { - const message = createBaseDistribution_ExponentialBuckets(); - message.numFiniteBuckets = object.numFiniteBuckets ?? 0; - message.growthFactor = object.growthFactor ?? 0; - message.scale = object.scale ?? 0; - return message; - }, - fromSDK(object: Distribution_ExponentialBucketsSDKType): Distribution_ExponentialBuckets { - return { - numFiniteBuckets: object?.num_finite_buckets, - growthFactor: object?.growth_factor, - scale: object?.scale - }; - }, - toSDK(message: Distribution_ExponentialBuckets): Distribution_ExponentialBucketsSDKType { - const obj: any = {}; - obj.num_finite_buckets = message.numFiniteBuckets; - obj.growth_factor = message.growthFactor; - obj.scale = message.scale; - return obj; - }, - fromAmino(object: Distribution_ExponentialBucketsAmino): Distribution_ExponentialBuckets { - return { - numFiniteBuckets: object.num_finite_buckets, - growthFactor: object.growth_factor, - scale: object.scale - }; - }, - toAmino(message: Distribution_ExponentialBuckets): Distribution_ExponentialBucketsAmino { - const obj: any = {}; - obj.num_finite_buckets = message.numFiniteBuckets; - obj.growth_factor = message.growthFactor; - obj.scale = message.scale; - return obj; - }, - fromAminoMsg(object: Distribution_ExponentialBucketsAminoMsg): Distribution_ExponentialBuckets { - return Distribution_ExponentialBuckets.fromAmino(object.value); - }, - fromProtoMsg(message: Distribution_ExponentialBucketsProtoMsg): Distribution_ExponentialBuckets { - return Distribution_ExponentialBuckets.decode(message.value); - }, - toProto(message: Distribution_ExponentialBuckets): Uint8Array { - return Distribution_ExponentialBuckets.encode(message).finish(); - }, - toProtoMsg(message: Distribution_ExponentialBuckets): Distribution_ExponentialBucketsProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.ExponentialBuckets", - value: Distribution_ExponentialBuckets.encode(message).finish() - }; - } -}; -function createBaseDistribution_ExplicitBuckets(): Distribution_ExplicitBuckets { - return { - bounds: [] - }; -} -export const Distribution_ExplicitBuckets = { - typeUrl: "/google.api.servicecontrol.v1.ExplicitBuckets", - encode(message: Distribution_ExplicitBuckets, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - for (const v of message.bounds) { - writer.double(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Distribution_ExplicitBuckets { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDistribution_ExplicitBuckets(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.bounds.push(reader.double()); - } - } else { - message.bounds.push(reader.double()); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Distribution_ExplicitBuckets { - const obj = createBaseDistribution_ExplicitBuckets(); - if (Array.isArray(object?.bounds)) obj.bounds = object.bounds.map((e: any) => Number(e)); - return obj; - }, - toJSON(message: Distribution_ExplicitBuckets): unknown { - const obj: any = {}; - if (message.bounds) { - obj.bounds = message.bounds.map(e => e); - } else { - obj.bounds = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Distribution_ExplicitBuckets { - const message = createBaseDistribution_ExplicitBuckets(); - message.bounds = object.bounds?.map(e => e) || []; - return message; - }, - fromSDK(object: Distribution_ExplicitBucketsSDKType): Distribution_ExplicitBuckets { - return { - bounds: Array.isArray(object?.bounds) ? object.bounds.map((e: any) => e) : [] - }; - }, - toSDK(message: Distribution_ExplicitBuckets): Distribution_ExplicitBucketsSDKType { - const obj: any = {}; - if (message.bounds) { - obj.bounds = message.bounds.map(e => e); - } else { - obj.bounds = []; - } - return obj; - }, - fromAmino(object: Distribution_ExplicitBucketsAmino): Distribution_ExplicitBuckets { - return { - bounds: Array.isArray(object?.bounds) ? object.bounds.map((e: any) => e) : [] - }; - }, - toAmino(message: Distribution_ExplicitBuckets): Distribution_ExplicitBucketsAmino { - const obj: any = {}; - if (message.bounds) { - obj.bounds = message.bounds.map(e => e); - } else { - obj.bounds = []; - } - return obj; - }, - fromAminoMsg(object: Distribution_ExplicitBucketsAminoMsg): Distribution_ExplicitBuckets { - return Distribution_ExplicitBuckets.fromAmino(object.value); - }, - fromProtoMsg(message: Distribution_ExplicitBucketsProtoMsg): Distribution_ExplicitBuckets { - return Distribution_ExplicitBuckets.decode(message.value); - }, - toProto(message: Distribution_ExplicitBuckets): Uint8Array { - return Distribution_ExplicitBuckets.encode(message).finish(); - }, - toProtoMsg(message: Distribution_ExplicitBuckets): Distribution_ExplicitBucketsProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.ExplicitBuckets", - value: Distribution_ExplicitBuckets.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/http_request.ts b/quicksilverjs/src/codegen/google/api/servicecontrol/v1/http_request.ts deleted file mode 100644 index 168ff749b..000000000 --- a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/http_request.ts +++ /dev/null @@ -1,473 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../../protobuf/duration"; -import { Long, isSet, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.servicecontrol.v1"; -/** - * A common proto for logging HTTP requests. Only contains semantics - * defined by the HTTP specification. Product-specific logging - * information MUST be defined in a separate message. - */ -export interface HttpRequest { - /** The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. */ - requestMethod: string; - /** - * The scheme (http, https), the host name, the path, and the query - * portion of the URL that was requested. - * Example: `"http://example.com/some/info?color=red"`. - */ - requestUrl: string; - /** - * The size of the HTTP request message in bytes, including the request - * headers and the request body. - */ - requestSize: Long; - /** - * The response code indicating the status of the response. - * Examples: 200, 404. - */ - status: number; - /** - * The size of the HTTP response message sent back to the client, in bytes, - * including the response headers and the response body. - */ - responseSize: Long; - /** - * The user agent sent by the client. Example: - * `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET - * CLR 1.0.3705)"`. - */ - userAgent: string; - /** - * The IP address (IPv4 or IPv6) of the client that issued the HTTP - * request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. - */ - remoteIp: string; - /** - * The IP address (IPv4 or IPv6) of the origin server that the request was - * sent to. - */ - serverIp: string; - /** - * The referer URL of the request, as defined in - * [HTTP/1.1 Header Field - * Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). - */ - referer: string; - /** - * The request processing latency on the server, from the time the request was - * received until the response was sent. - */ - latency: Duration; - /** Whether or not a cache lookup was attempted. */ - cacheLookup: boolean; - /** - * Whether or not an entity was served from cache - * (with or without validation). - */ - cacheHit: boolean; - /** - * Whether or not the response was validated with the origin server before - * being served from cache. This field is only meaningful if `cache_hit` is - * True. - */ - cacheValidatedWithOriginServer: boolean; - /** - * The number of HTTP response bytes inserted into cache. Set only when a - * cache fill was attempted. - */ - cacheFillBytes: Long; - /** Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" */ - protocol: string; -} -export interface HttpRequestProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.HttpRequest"; - value: Uint8Array; -} -/** - * A common proto for logging HTTP requests. Only contains semantics - * defined by the HTTP specification. Product-specific logging - * information MUST be defined in a separate message. - */ -export interface HttpRequestAmino { - /** The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. */ - request_method: string; - /** - * The scheme (http, https), the host name, the path, and the query - * portion of the URL that was requested. - * Example: `"http://example.com/some/info?color=red"`. - */ - request_url: string; - /** - * The size of the HTTP request message in bytes, including the request - * headers and the request body. - */ - request_size: string; - /** - * The response code indicating the status of the response. - * Examples: 200, 404. - */ - status: number; - /** - * The size of the HTTP response message sent back to the client, in bytes, - * including the response headers and the response body. - */ - response_size: string; - /** - * The user agent sent by the client. Example: - * `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET - * CLR 1.0.3705)"`. - */ - user_agent: string; - /** - * The IP address (IPv4 or IPv6) of the client that issued the HTTP - * request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. - */ - remote_ip: string; - /** - * The IP address (IPv4 or IPv6) of the origin server that the request was - * sent to. - */ - server_ip: string; - /** - * The referer URL of the request, as defined in - * [HTTP/1.1 Header Field - * Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). - */ - referer: string; - /** - * The request processing latency on the server, from the time the request was - * received until the response was sent. - */ - latency?: DurationAmino; - /** Whether or not a cache lookup was attempted. */ - cache_lookup: boolean; - /** - * Whether or not an entity was served from cache - * (with or without validation). - */ - cache_hit: boolean; - /** - * Whether or not the response was validated with the origin server before - * being served from cache. This field is only meaningful if `cache_hit` is - * True. - */ - cache_validated_with_origin_server: boolean; - /** - * The number of HTTP response bytes inserted into cache. Set only when a - * cache fill was attempted. - */ - cache_fill_bytes: string; - /** Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" */ - protocol: string; -} -export interface HttpRequestAminoMsg { - type: "/google.api.servicecontrol.v1.HttpRequest"; - value: HttpRequestAmino; -} -/** - * A common proto for logging HTTP requests. Only contains semantics - * defined by the HTTP specification. Product-specific logging - * information MUST be defined in a separate message. - */ -export interface HttpRequestSDKType { - request_method: string; - request_url: string; - request_size: Long; - status: number; - response_size: Long; - user_agent: string; - remote_ip: string; - server_ip: string; - referer: string; - latency: DurationSDKType; - cache_lookup: boolean; - cache_hit: boolean; - cache_validated_with_origin_server: boolean; - cache_fill_bytes: Long; - protocol: string; -} -function createBaseHttpRequest(): HttpRequest { - return { - requestMethod: "", - requestUrl: "", - requestSize: Long.ZERO, - status: 0, - responseSize: Long.ZERO, - userAgent: "", - remoteIp: "", - serverIp: "", - referer: "", - latency: Duration.fromPartial({}), - cacheLookup: false, - cacheHit: false, - cacheValidatedWithOriginServer: false, - cacheFillBytes: Long.ZERO, - protocol: "" - }; -} -export const HttpRequest = { - typeUrl: "/google.api.servicecontrol.v1.HttpRequest", - encode(message: HttpRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.requestMethod !== "") { - writer.uint32(10).string(message.requestMethod); - } - if (message.requestUrl !== "") { - writer.uint32(18).string(message.requestUrl); - } - if (!message.requestSize.isZero()) { - writer.uint32(24).int64(message.requestSize); - } - if (message.status !== 0) { - writer.uint32(32).int32(message.status); - } - if (!message.responseSize.isZero()) { - writer.uint32(40).int64(message.responseSize); - } - if (message.userAgent !== "") { - writer.uint32(50).string(message.userAgent); - } - if (message.remoteIp !== "") { - writer.uint32(58).string(message.remoteIp); - } - if (message.serverIp !== "") { - writer.uint32(106).string(message.serverIp); - } - if (message.referer !== "") { - writer.uint32(66).string(message.referer); - } - if (message.latency !== undefined) { - Duration.encode(message.latency, writer.uint32(114).fork()).ldelim(); - } - if (message.cacheLookup === true) { - writer.uint32(88).bool(message.cacheLookup); - } - if (message.cacheHit === true) { - writer.uint32(72).bool(message.cacheHit); - } - if (message.cacheValidatedWithOriginServer === true) { - writer.uint32(80).bool(message.cacheValidatedWithOriginServer); - } - if (!message.cacheFillBytes.isZero()) { - writer.uint32(96).int64(message.cacheFillBytes); - } - if (message.protocol !== "") { - writer.uint32(122).string(message.protocol); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): HttpRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHttpRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.requestMethod = reader.string(); - break; - case 2: - message.requestUrl = reader.string(); - break; - case 3: - message.requestSize = (reader.int64() as Long); - break; - case 4: - message.status = reader.int32(); - break; - case 5: - message.responseSize = (reader.int64() as Long); - break; - case 6: - message.userAgent = reader.string(); - break; - case 7: - message.remoteIp = reader.string(); - break; - case 13: - message.serverIp = reader.string(); - break; - case 8: - message.referer = reader.string(); - break; - case 14: - message.latency = Duration.decode(reader, reader.uint32()); - break; - case 11: - message.cacheLookup = reader.bool(); - break; - case 9: - message.cacheHit = reader.bool(); - break; - case 10: - message.cacheValidatedWithOriginServer = reader.bool(); - break; - case 12: - message.cacheFillBytes = (reader.int64() as Long); - break; - case 15: - message.protocol = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): HttpRequest { - const obj = createBaseHttpRequest(); - if (isSet(object.requestMethod)) obj.requestMethod = String(object.requestMethod); - if (isSet(object.requestUrl)) obj.requestUrl = String(object.requestUrl); - if (isSet(object.requestSize)) obj.requestSize = Long.fromValue(object.requestSize); - if (isSet(object.status)) obj.status = Number(object.status); - if (isSet(object.responseSize)) obj.responseSize = Long.fromValue(object.responseSize); - if (isSet(object.userAgent)) obj.userAgent = String(object.userAgent); - if (isSet(object.remoteIp)) obj.remoteIp = String(object.remoteIp); - if (isSet(object.serverIp)) obj.serverIp = String(object.serverIp); - if (isSet(object.referer)) obj.referer = String(object.referer); - if (isSet(object.latency)) obj.latency = Duration.fromJSON(object.latency); - if (isSet(object.cacheLookup)) obj.cacheLookup = Boolean(object.cacheLookup); - if (isSet(object.cacheHit)) obj.cacheHit = Boolean(object.cacheHit); - if (isSet(object.cacheValidatedWithOriginServer)) obj.cacheValidatedWithOriginServer = Boolean(object.cacheValidatedWithOriginServer); - if (isSet(object.cacheFillBytes)) obj.cacheFillBytes = Long.fromValue(object.cacheFillBytes); - if (isSet(object.protocol)) obj.protocol = String(object.protocol); - return obj; - }, - toJSON(message: HttpRequest): unknown { - const obj: any = {}; - message.requestMethod !== undefined && (obj.requestMethod = message.requestMethod); - message.requestUrl !== undefined && (obj.requestUrl = message.requestUrl); - message.requestSize !== undefined && (obj.requestSize = (message.requestSize || Long.ZERO).toString()); - message.status !== undefined && (obj.status = Math.round(message.status)); - message.responseSize !== undefined && (obj.responseSize = (message.responseSize || Long.ZERO).toString()); - message.userAgent !== undefined && (obj.userAgent = message.userAgent); - message.remoteIp !== undefined && (obj.remoteIp = message.remoteIp); - message.serverIp !== undefined && (obj.serverIp = message.serverIp); - message.referer !== undefined && (obj.referer = message.referer); - message.latency !== undefined && (obj.latency = message.latency ? Duration.toJSON(message.latency) : undefined); - message.cacheLookup !== undefined && (obj.cacheLookup = message.cacheLookup); - message.cacheHit !== undefined && (obj.cacheHit = message.cacheHit); - message.cacheValidatedWithOriginServer !== undefined && (obj.cacheValidatedWithOriginServer = message.cacheValidatedWithOriginServer); - message.cacheFillBytes !== undefined && (obj.cacheFillBytes = (message.cacheFillBytes || Long.ZERO).toString()); - message.protocol !== undefined && (obj.protocol = message.protocol); - return obj; - }, - fromPartial(object: DeepPartial): HttpRequest { - const message = createBaseHttpRequest(); - message.requestMethod = object.requestMethod ?? ""; - message.requestUrl = object.requestUrl ?? ""; - if (object.requestSize !== undefined && object.requestSize !== null) { - message.requestSize = Long.fromValue(object.requestSize); - } - message.status = object.status ?? 0; - if (object.responseSize !== undefined && object.responseSize !== null) { - message.responseSize = Long.fromValue(object.responseSize); - } - message.userAgent = object.userAgent ?? ""; - message.remoteIp = object.remoteIp ?? ""; - message.serverIp = object.serverIp ?? ""; - message.referer = object.referer ?? ""; - if (object.latency !== undefined && object.latency !== null) { - message.latency = Duration.fromPartial(object.latency); - } - message.cacheLookup = object.cacheLookup ?? false; - message.cacheHit = object.cacheHit ?? false; - message.cacheValidatedWithOriginServer = object.cacheValidatedWithOriginServer ?? false; - if (object.cacheFillBytes !== undefined && object.cacheFillBytes !== null) { - message.cacheFillBytes = Long.fromValue(object.cacheFillBytes); - } - message.protocol = object.protocol ?? ""; - return message; - }, - fromSDK(object: HttpRequestSDKType): HttpRequest { - return { - requestMethod: object?.request_method, - requestUrl: object?.request_url, - requestSize: object?.request_size, - status: object?.status, - responseSize: object?.response_size, - userAgent: object?.user_agent, - remoteIp: object?.remote_ip, - serverIp: object?.server_ip, - referer: object?.referer, - latency: object.latency ? Duration.fromSDK(object.latency) : undefined, - cacheLookup: object?.cache_lookup, - cacheHit: object?.cache_hit, - cacheValidatedWithOriginServer: object?.cache_validated_with_origin_server, - cacheFillBytes: object?.cache_fill_bytes, - protocol: object?.protocol - }; - }, - toSDK(message: HttpRequest): HttpRequestSDKType { - const obj: any = {}; - obj.request_method = message.requestMethod; - obj.request_url = message.requestUrl; - obj.request_size = message.requestSize; - obj.status = message.status; - obj.response_size = message.responseSize; - obj.user_agent = message.userAgent; - obj.remote_ip = message.remoteIp; - obj.server_ip = message.serverIp; - obj.referer = message.referer; - message.latency !== undefined && (obj.latency = message.latency ? Duration.toSDK(message.latency) : undefined); - obj.cache_lookup = message.cacheLookup; - obj.cache_hit = message.cacheHit; - obj.cache_validated_with_origin_server = message.cacheValidatedWithOriginServer; - obj.cache_fill_bytes = message.cacheFillBytes; - obj.protocol = message.protocol; - return obj; - }, - fromAmino(object: HttpRequestAmino): HttpRequest { - return { - requestMethod: object.request_method, - requestUrl: object.request_url, - requestSize: Long.fromString(object.request_size), - status: object.status, - responseSize: Long.fromString(object.response_size), - userAgent: object.user_agent, - remoteIp: object.remote_ip, - serverIp: object.server_ip, - referer: object.referer, - latency: object?.latency ? Duration.fromAmino(object.latency) : undefined, - cacheLookup: object.cache_lookup, - cacheHit: object.cache_hit, - cacheValidatedWithOriginServer: object.cache_validated_with_origin_server, - cacheFillBytes: Long.fromString(object.cache_fill_bytes), - protocol: object.protocol - }; - }, - toAmino(message: HttpRequest): HttpRequestAmino { - const obj: any = {}; - obj.request_method = message.requestMethod; - obj.request_url = message.requestUrl; - obj.request_size = message.requestSize ? message.requestSize.toString() : undefined; - obj.status = message.status; - obj.response_size = message.responseSize ? message.responseSize.toString() : undefined; - obj.user_agent = message.userAgent; - obj.remote_ip = message.remoteIp; - obj.server_ip = message.serverIp; - obj.referer = message.referer; - obj.latency = message.latency ? Duration.toAmino(message.latency) : undefined; - obj.cache_lookup = message.cacheLookup; - obj.cache_hit = message.cacheHit; - obj.cache_validated_with_origin_server = message.cacheValidatedWithOriginServer; - obj.cache_fill_bytes = message.cacheFillBytes ? message.cacheFillBytes.toString() : undefined; - obj.protocol = message.protocol; - return obj; - }, - fromAminoMsg(object: HttpRequestAminoMsg): HttpRequest { - return HttpRequest.fromAmino(object.value); - }, - fromProtoMsg(message: HttpRequestProtoMsg): HttpRequest { - return HttpRequest.decode(message.value); - }, - toProto(message: HttpRequest): Uint8Array { - return HttpRequest.encode(message).finish(); - }, - toProtoMsg(message: HttpRequest): HttpRequestProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.HttpRequest", - value: HttpRequest.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/log_entry.ts b/quicksilverjs/src/codegen/google/api/servicecontrol/v1/log_entry.ts deleted file mode 100644 index 418bff6ee..000000000 --- a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/log_entry.ts +++ /dev/null @@ -1,920 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../protobuf/timestamp"; -import { LogSeverity, LogSeveritySDKType, logSeverityFromJSON, logSeverityToJSON } from "../../../logging/type/log_severity"; -import { HttpRequest, HttpRequestAmino, HttpRequestSDKType } from "./http_request"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../protobuf/any"; -import { Struct, StructAmino, StructSDKType } from "../../../protobuf/struct"; -import { Long, isSet, DeepPartial, toTimestamp, fromTimestamp, isObject } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.servicecontrol.v1"; -export interface LogEntry_LabelsEntry { - key: string; - value: string; -} -export interface LogEntry_LabelsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface LogEntry_LabelsEntryAmino { - key: string; - value: string; -} -export interface LogEntry_LabelsEntryAminoMsg { - type: string; - value: LogEntry_LabelsEntryAmino; -} -export interface LogEntry_LabelsEntrySDKType { - key: string; - value: string; -} -/** An individual log entry. */ -export interface LogEntry { - /** - * Required. The log to which this log entry belongs. Examples: `"syslog"`, - * `"book_log"`. - */ - name: string; - /** - * The time the event described by the log entry occurred. If - * omitted, defaults to operation start time. - */ - timestamp: Date; - /** - * The severity of the log entry. The default value is - * `LogSeverity.DEFAULT`. - */ - severity: LogSeverity; - /** - * Optional. Information about the HTTP request associated with this - * log entry, if applicable. - */ - httpRequest: HttpRequest; - /** - * Optional. Resource name of the trace associated with the log entry, if any. - * If this field contains a relative resource name, you can assume the name is - * relative to `//tracing.googleapis.com`. Example: - * `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` - */ - trace: string; - /** - * A unique ID for the log entry used for deduplication. If omitted, - * the implementation will generate one based on operation_id. - */ - insertId: string; - /** - * A set of user-defined (key, value) data that provides additional - * information about the log entry. - */ - labels: { - [key: string]: string; - }; - /** - * The log entry payload, represented as a protocol buffer that is - * expressed as a JSON object. The only accepted type currently is - * [AuditLog][google.cloud.audit.AuditLog]. - */ - protoPayload?: Any; - /** The log entry payload, represented as a Unicode string (UTF-8). */ - textPayload?: string; - /** - * The log entry payload, represented as a structure that - * is expressed as a JSON object. - */ - structPayload?: Struct; - /** - * Optional. Information about an operation associated with the log entry, if - * applicable. - */ - operation: LogEntryOperation; - /** - * Optional. Source code location information associated with the log entry, - * if any. - */ - sourceLocation: LogEntrySourceLocation; -} -export interface LogEntryProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.LogEntry"; - value: Uint8Array; -} -/** An individual log entry. */ -export interface LogEntryAmino { - /** - * Required. The log to which this log entry belongs. Examples: `"syslog"`, - * `"book_log"`. - */ - name: string; - /** - * The time the event described by the log entry occurred. If - * omitted, defaults to operation start time. - */ - timestamp?: Date; - /** - * The severity of the log entry. The default value is - * `LogSeverity.DEFAULT`. - */ - severity: LogSeverity; - /** - * Optional. Information about the HTTP request associated with this - * log entry, if applicable. - */ - http_request?: HttpRequestAmino; - /** - * Optional. Resource name of the trace associated with the log entry, if any. - * If this field contains a relative resource name, you can assume the name is - * relative to `//tracing.googleapis.com`. Example: - * `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` - */ - trace: string; - /** - * A unique ID for the log entry used for deduplication. If omitted, - * the implementation will generate one based on operation_id. - */ - insert_id: string; - /** - * A set of user-defined (key, value) data that provides additional - * information about the log entry. - */ - labels: { - [key: string]: string; - }; - /** - * The log entry payload, represented as a protocol buffer that is - * expressed as a JSON object. The only accepted type currently is - * [AuditLog][google.cloud.audit.AuditLog]. - */ - proto_payload?: AnyAmino; - /** The log entry payload, represented as a Unicode string (UTF-8). */ - text_payload?: string; - /** - * The log entry payload, represented as a structure that - * is expressed as a JSON object. - */ - struct_payload?: StructAmino; - /** - * Optional. Information about an operation associated with the log entry, if - * applicable. - */ - operation?: LogEntryOperationAmino; - /** - * Optional. Source code location information associated with the log entry, - * if any. - */ - source_location?: LogEntrySourceLocationAmino; -} -export interface LogEntryAminoMsg { - type: "/google.api.servicecontrol.v1.LogEntry"; - value: LogEntryAmino; -} -/** An individual log entry. */ -export interface LogEntrySDKType { - name: string; - timestamp: Date; - severity: LogSeverity; - http_request: HttpRequestSDKType; - trace: string; - insert_id: string; - labels: { - [key: string]: string; - }; - proto_payload?: AnySDKType; - text_payload?: string; - struct_payload?: StructSDKType; - operation: LogEntryOperationSDKType; - source_location: LogEntrySourceLocationSDKType; -} -/** - * Additional information about a potentially long-running operation with which - * a log entry is associated. - */ -export interface LogEntryOperation { - /** - * Optional. An arbitrary operation identifier. Log entries with the - * same identifier are assumed to be part of the same operation. - */ - id: string; - /** - * Optional. An arbitrary producer identifier. The combination of - * `id` and `producer` must be globally unique. Examples for `producer`: - * `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. - */ - producer: string; - /** Optional. Set this to True if this is the first log entry in the operation. */ - first: boolean; - /** Optional. Set this to True if this is the last log entry in the operation. */ - last: boolean; -} -export interface LogEntryOperationProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.LogEntryOperation"; - value: Uint8Array; -} -/** - * Additional information about a potentially long-running operation with which - * a log entry is associated. - */ -export interface LogEntryOperationAmino { - /** - * Optional. An arbitrary operation identifier. Log entries with the - * same identifier are assumed to be part of the same operation. - */ - id: string; - /** - * Optional. An arbitrary producer identifier. The combination of - * `id` and `producer` must be globally unique. Examples for `producer`: - * `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. - */ - producer: string; - /** Optional. Set this to True if this is the first log entry in the operation. */ - first: boolean; - /** Optional. Set this to True if this is the last log entry in the operation. */ - last: boolean; -} -export interface LogEntryOperationAminoMsg { - type: "/google.api.servicecontrol.v1.LogEntryOperation"; - value: LogEntryOperationAmino; -} -/** - * Additional information about a potentially long-running operation with which - * a log entry is associated. - */ -export interface LogEntryOperationSDKType { - id: string; - producer: string; - first: boolean; - last: boolean; -} -/** - * Additional information about the source code location that produced the log - * entry. - */ -export interface LogEntrySourceLocation { - /** - * Optional. Source file name. Depending on the runtime environment, this - * might be a simple name or a fully-qualified name. - */ - file: string; - /** - * Optional. Line within the source file. 1-based; 0 indicates no line number - * available. - */ - line: Long; - /** - * Optional. Human-readable name of the function or method being invoked, with - * optional context such as the class or package name. This information may be - * used in contexts such as the logs viewer, where a file and line number are - * less meaningful. The format can vary by language. For example: - * `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` - * (Python). - */ - function: string; -} -export interface LogEntrySourceLocationProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.LogEntrySourceLocation"; - value: Uint8Array; -} -/** - * Additional information about the source code location that produced the log - * entry. - */ -export interface LogEntrySourceLocationAmino { - /** - * Optional. Source file name. Depending on the runtime environment, this - * might be a simple name or a fully-qualified name. - */ - file: string; - /** - * Optional. Line within the source file. 1-based; 0 indicates no line number - * available. - */ - line: string; - /** - * Optional. Human-readable name of the function or method being invoked, with - * optional context such as the class or package name. This information may be - * used in contexts such as the logs viewer, where a file and line number are - * less meaningful. The format can vary by language. For example: - * `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` - * (Python). - */ - function: string; -} -export interface LogEntrySourceLocationAminoMsg { - type: "/google.api.servicecontrol.v1.LogEntrySourceLocation"; - value: LogEntrySourceLocationAmino; -} -/** - * Additional information about the source code location that produced the log - * entry. - */ -export interface LogEntrySourceLocationSDKType { - file: string; - line: Long; - function: string; -} -function createBaseLogEntry_LabelsEntry(): LogEntry_LabelsEntry { - return { - key: "", - value: "" - }; -} -export const LogEntry_LabelsEntry = { - encode(message: LogEntry_LabelsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogEntry_LabelsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogEntry_LabelsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogEntry_LabelsEntry { - const obj = createBaseLogEntry_LabelsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: LogEntry_LabelsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): LogEntry_LabelsEntry { - const message = createBaseLogEntry_LabelsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: LogEntry_LabelsEntrySDKType): LogEntry_LabelsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: LogEntry_LabelsEntry): LogEntry_LabelsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: LogEntry_LabelsEntryAmino): LogEntry_LabelsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: LogEntry_LabelsEntry): LogEntry_LabelsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: LogEntry_LabelsEntryAminoMsg): LogEntry_LabelsEntry { - return LogEntry_LabelsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: LogEntry_LabelsEntryProtoMsg): LogEntry_LabelsEntry { - return LogEntry_LabelsEntry.decode(message.value); - }, - toProto(message: LogEntry_LabelsEntry): Uint8Array { - return LogEntry_LabelsEntry.encode(message).finish(); - } -}; -function createBaseLogEntry(): LogEntry { - return { - name: "", - timestamp: new Date(), - severity: 0, - httpRequest: HttpRequest.fromPartial({}), - trace: "", - insertId: "", - labels: {}, - protoPayload: undefined, - textPayload: undefined, - structPayload: undefined, - operation: LogEntryOperation.fromPartial({}), - sourceLocation: LogEntrySourceLocation.fromPartial({}) - }; -} -export const LogEntry = { - typeUrl: "/google.api.servicecontrol.v1.LogEntry", - encode(message: LogEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(82).string(message.name); - } - if (message.timestamp !== undefined) { - Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(90).fork()).ldelim(); - } - if (message.severity !== 0) { - writer.uint32(96).int32(message.severity); - } - if (message.httpRequest !== undefined) { - HttpRequest.encode(message.httpRequest, writer.uint32(114).fork()).ldelim(); - } - if (message.trace !== "") { - writer.uint32(122).string(message.trace); - } - if (message.insertId !== "") { - writer.uint32(34).string(message.insertId); - } - Object.entries(message.labels).forEach(([key, value]) => { - LogEntry_LabelsEntry.encode({ - key: (key as any), - value - }, writer.uint32(106).fork()).ldelim(); - }); - if (message.protoPayload !== undefined) { - Any.encode(message.protoPayload, writer.uint32(18).fork()).ldelim(); - } - if (message.textPayload !== undefined) { - writer.uint32(26).string(message.textPayload); - } - if (message.structPayload !== undefined) { - Struct.encode(message.structPayload, writer.uint32(50).fork()).ldelim(); - } - if (message.operation !== undefined) { - LogEntryOperation.encode(message.operation, writer.uint32(130).fork()).ldelim(); - } - if (message.sourceLocation !== undefined) { - LogEntrySourceLocation.encode(message.sourceLocation, writer.uint32(138).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 10: - message.name = reader.string(); - break; - case 11: - message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 12: - message.severity = (reader.int32() as any); - break; - case 14: - message.httpRequest = HttpRequest.decode(reader, reader.uint32()); - break; - case 15: - message.trace = reader.string(); - break; - case 4: - message.insertId = reader.string(); - break; - case 13: - const entry13 = LogEntry_LabelsEntry.decode(reader, reader.uint32()); - if (entry13.value !== undefined) { - message.labels[entry13.key] = entry13.value; - } - break; - case 2: - message.protoPayload = Any.decode(reader, reader.uint32()); - break; - case 3: - message.textPayload = reader.string(); - break; - case 6: - message.structPayload = Struct.decode(reader, reader.uint32()); - break; - case 16: - message.operation = LogEntryOperation.decode(reader, reader.uint32()); - break; - case 17: - message.sourceLocation = LogEntrySourceLocation.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogEntry { - const obj = createBaseLogEntry(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.timestamp)) obj.timestamp = new Date(object.timestamp); - if (isSet(object.severity)) obj.severity = logSeverityFromJSON(object.severity); - if (isSet(object.httpRequest)) obj.httpRequest = HttpRequest.fromJSON(object.httpRequest); - if (isSet(object.trace)) obj.trace = String(object.trace); - if (isSet(object.insertId)) obj.insertId = String(object.insertId); - if (isObject(object.labels)) obj.labels = Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - if (isSet(object.protoPayload)) obj.protoPayload = Any.fromJSON(object.protoPayload); - if (isSet(object.textPayload)) obj.textPayload = String(object.textPayload); - if (isSet(object.structPayload)) obj.structPayload = Struct.fromJSON(object.structPayload); - if (isSet(object.operation)) obj.operation = LogEntryOperation.fromJSON(object.operation); - if (isSet(object.sourceLocation)) obj.sourceLocation = LogEntrySourceLocation.fromJSON(object.sourceLocation); - return obj; - }, - toJSON(message: LogEntry): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString()); - message.severity !== undefined && (obj.severity = logSeverityToJSON(message.severity)); - message.httpRequest !== undefined && (obj.httpRequest = message.httpRequest ? HttpRequest.toJSON(message.httpRequest) : undefined); - message.trace !== undefined && (obj.trace = message.trace); - message.insertId !== undefined && (obj.insertId = message.insertId); - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - message.protoPayload !== undefined && (obj.protoPayload = message.protoPayload ? Any.toJSON(message.protoPayload) : undefined); - message.textPayload !== undefined && (obj.textPayload = message.textPayload); - message.structPayload !== undefined && (obj.structPayload = message.structPayload ? Struct.toJSON(message.structPayload) : undefined); - message.operation !== undefined && (obj.operation = message.operation ? LogEntryOperation.toJSON(message.operation) : undefined); - message.sourceLocation !== undefined && (obj.sourceLocation = message.sourceLocation ? LogEntrySourceLocation.toJSON(message.sourceLocation) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): LogEntry { - const message = createBaseLogEntry(); - message.name = object.name ?? ""; - message.timestamp = object.timestamp ?? undefined; - message.severity = object.severity ?? 0; - if (object.httpRequest !== undefined && object.httpRequest !== null) { - message.httpRequest = HttpRequest.fromPartial(object.httpRequest); - } - message.trace = object.trace ?? ""; - message.insertId = object.insertId ?? ""; - message.labels = Object.entries(object.labels ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - if (object.protoPayload !== undefined && object.protoPayload !== null) { - message.protoPayload = Any.fromPartial(object.protoPayload); - } - message.textPayload = object.textPayload ?? undefined; - if (object.structPayload !== undefined && object.structPayload !== null) { - message.structPayload = Struct.fromPartial(object.structPayload); - } - if (object.operation !== undefined && object.operation !== null) { - message.operation = LogEntryOperation.fromPartial(object.operation); - } - if (object.sourceLocation !== undefined && object.sourceLocation !== null) { - message.sourceLocation = LogEntrySourceLocation.fromPartial(object.sourceLocation); - } - return message; - }, - fromSDK(object: LogEntrySDKType): LogEntry { - return { - name: object?.name, - timestamp: object.timestamp ?? undefined, - severity: isSet(object.severity) ? logSeverityFromJSON(object.severity) : -1, - httpRequest: object.http_request ? HttpRequest.fromSDK(object.http_request) : undefined, - trace: object?.trace, - insertId: object?.insert_id, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - protoPayload: object.proto_payload ? Any.fromSDK(object.proto_payload) : undefined, - textPayload: object?.text_payload, - structPayload: object.struct_payload ? Struct.fromSDK(object.struct_payload) : undefined, - operation: object.operation ? LogEntryOperation.fromSDK(object.operation) : undefined, - sourceLocation: object.source_location ? LogEntrySourceLocation.fromSDK(object.source_location) : undefined - }; - }, - toSDK(message: LogEntry): LogEntrySDKType { - const obj: any = {}; - obj.name = message.name; - message.timestamp !== undefined && (obj.timestamp = message.timestamp ?? undefined); - message.severity !== undefined && (obj.severity = logSeverityToJSON(message.severity)); - message.httpRequest !== undefined && (obj.http_request = message.httpRequest ? HttpRequest.toSDK(message.httpRequest) : undefined); - obj.trace = message.trace; - obj.insert_id = message.insertId; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - message.protoPayload !== undefined && (obj.proto_payload = message.protoPayload ? Any.toSDK(message.protoPayload) : undefined); - obj.text_payload = message.textPayload; - message.structPayload !== undefined && (obj.struct_payload = message.structPayload ? Struct.toSDK(message.structPayload) : undefined); - message.operation !== undefined && (obj.operation = message.operation ? LogEntryOperation.toSDK(message.operation) : undefined); - message.sourceLocation !== undefined && (obj.source_location = message.sourceLocation ? LogEntrySourceLocation.toSDK(message.sourceLocation) : undefined); - return obj; - }, - fromAmino(object: LogEntryAmino): LogEntry { - return { - name: object.name, - timestamp: object.timestamp, - severity: isSet(object.severity) ? logSeverityFromJSON(object.severity) : -1, - httpRequest: object?.http_request ? HttpRequest.fromAmino(object.http_request) : undefined, - trace: object.trace, - insertId: object.insert_id, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - protoPayload: object?.proto_payload ? Any.fromAmino(object.proto_payload) : undefined, - textPayload: object?.text_payload, - structPayload: object?.struct_payload ? Struct.fromAmino(object.struct_payload) : undefined, - operation: object?.operation ? LogEntryOperation.fromAmino(object.operation) : undefined, - sourceLocation: object?.source_location ? LogEntrySourceLocation.fromAmino(object.source_location) : undefined - }; - }, - toAmino(message: LogEntry): LogEntryAmino { - const obj: any = {}; - obj.name = message.name; - obj.timestamp = message.timestamp; - obj.severity = message.severity; - obj.http_request = message.httpRequest ? HttpRequest.toAmino(message.httpRequest) : undefined; - obj.trace = message.trace; - obj.insert_id = message.insertId; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - obj.proto_payload = message.protoPayload ? Any.toAmino(message.protoPayload) : undefined; - obj.text_payload = message.textPayload; - obj.struct_payload = message.structPayload ? Struct.toAmino(message.structPayload) : undefined; - obj.operation = message.operation ? LogEntryOperation.toAmino(message.operation) : undefined; - obj.source_location = message.sourceLocation ? LogEntrySourceLocation.toAmino(message.sourceLocation) : undefined; - return obj; - }, - fromAminoMsg(object: LogEntryAminoMsg): LogEntry { - return LogEntry.fromAmino(object.value); - }, - fromProtoMsg(message: LogEntryProtoMsg): LogEntry { - return LogEntry.decode(message.value); - }, - toProto(message: LogEntry): Uint8Array { - return LogEntry.encode(message).finish(); - }, - toProtoMsg(message: LogEntry): LogEntryProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.LogEntry", - value: LogEntry.encode(message).finish() - }; - } -}; -function createBaseLogEntryOperation(): LogEntryOperation { - return { - id: "", - producer: "", - first: false, - last: false - }; -} -export const LogEntryOperation = { - typeUrl: "/google.api.servicecontrol.v1.LogEntryOperation", - encode(message: LogEntryOperation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== "") { - writer.uint32(10).string(message.id); - } - if (message.producer !== "") { - writer.uint32(18).string(message.producer); - } - if (message.first === true) { - writer.uint32(24).bool(message.first); - } - if (message.last === true) { - writer.uint32(32).bool(message.last); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogEntryOperation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogEntryOperation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - case 2: - message.producer = reader.string(); - break; - case 3: - message.first = reader.bool(); - break; - case 4: - message.last = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogEntryOperation { - const obj = createBaseLogEntryOperation(); - if (isSet(object.id)) obj.id = String(object.id); - if (isSet(object.producer)) obj.producer = String(object.producer); - if (isSet(object.first)) obj.first = Boolean(object.first); - if (isSet(object.last)) obj.last = Boolean(object.last); - return obj; - }, - toJSON(message: LogEntryOperation): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - message.producer !== undefined && (obj.producer = message.producer); - message.first !== undefined && (obj.first = message.first); - message.last !== undefined && (obj.last = message.last); - return obj; - }, - fromPartial(object: DeepPartial): LogEntryOperation { - const message = createBaseLogEntryOperation(); - message.id = object.id ?? ""; - message.producer = object.producer ?? ""; - message.first = object.first ?? false; - message.last = object.last ?? false; - return message; - }, - fromSDK(object: LogEntryOperationSDKType): LogEntryOperation { - return { - id: object?.id, - producer: object?.producer, - first: object?.first, - last: object?.last - }; - }, - toSDK(message: LogEntryOperation): LogEntryOperationSDKType { - const obj: any = {}; - obj.id = message.id; - obj.producer = message.producer; - obj.first = message.first; - obj.last = message.last; - return obj; - }, - fromAmino(object: LogEntryOperationAmino): LogEntryOperation { - return { - id: object.id, - producer: object.producer, - first: object.first, - last: object.last - }; - }, - toAmino(message: LogEntryOperation): LogEntryOperationAmino { - const obj: any = {}; - obj.id = message.id; - obj.producer = message.producer; - obj.first = message.first; - obj.last = message.last; - return obj; - }, - fromAminoMsg(object: LogEntryOperationAminoMsg): LogEntryOperation { - return LogEntryOperation.fromAmino(object.value); - }, - fromProtoMsg(message: LogEntryOperationProtoMsg): LogEntryOperation { - return LogEntryOperation.decode(message.value); - }, - toProto(message: LogEntryOperation): Uint8Array { - return LogEntryOperation.encode(message).finish(); - }, - toProtoMsg(message: LogEntryOperation): LogEntryOperationProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.LogEntryOperation", - value: LogEntryOperation.encode(message).finish() - }; - } -}; -function createBaseLogEntrySourceLocation(): LogEntrySourceLocation { - return { - file: "", - line: Long.ZERO, - function: "" - }; -} -export const LogEntrySourceLocation = { - typeUrl: "/google.api.servicecontrol.v1.LogEntrySourceLocation", - encode(message: LogEntrySourceLocation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.file !== "") { - writer.uint32(10).string(message.file); - } - if (!message.line.isZero()) { - writer.uint32(16).int64(message.line); - } - if (message.function !== "") { - writer.uint32(26).string(message.function); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogEntrySourceLocation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogEntrySourceLocation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.file = reader.string(); - break; - case 2: - message.line = (reader.int64() as Long); - break; - case 3: - message.function = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogEntrySourceLocation { - const obj = createBaseLogEntrySourceLocation(); - if (isSet(object.file)) obj.file = String(object.file); - if (isSet(object.line)) obj.line = Long.fromValue(object.line); - if (isSet(object.function)) obj.function = String(object.function); - return obj; - }, - toJSON(message: LogEntrySourceLocation): unknown { - const obj: any = {}; - message.file !== undefined && (obj.file = message.file); - message.line !== undefined && (obj.line = (message.line || Long.ZERO).toString()); - message.function !== undefined && (obj.function = message.function); - return obj; - }, - fromPartial(object: DeepPartial): LogEntrySourceLocation { - const message = createBaseLogEntrySourceLocation(); - message.file = object.file ?? ""; - if (object.line !== undefined && object.line !== null) { - message.line = Long.fromValue(object.line); - } - message.function = object.function ?? ""; - return message; - }, - fromSDK(object: LogEntrySourceLocationSDKType): LogEntrySourceLocation { - return { - file: object?.file, - line: object?.line, - function: object?.function - }; - }, - toSDK(message: LogEntrySourceLocation): LogEntrySourceLocationSDKType { - const obj: any = {}; - obj.file = message.file; - obj.line = message.line; - obj.function = message.function; - return obj; - }, - fromAmino(object: LogEntrySourceLocationAmino): LogEntrySourceLocation { - return { - file: object.file, - line: Long.fromString(object.line), - function: object.function - }; - }, - toAmino(message: LogEntrySourceLocation): LogEntrySourceLocationAmino { - const obj: any = {}; - obj.file = message.file; - obj.line = message.line ? message.line.toString() : undefined; - obj.function = message.function; - return obj; - }, - fromAminoMsg(object: LogEntrySourceLocationAminoMsg): LogEntrySourceLocation { - return LogEntrySourceLocation.fromAmino(object.value); - }, - fromProtoMsg(message: LogEntrySourceLocationProtoMsg): LogEntrySourceLocation { - return LogEntrySourceLocation.decode(message.value); - }, - toProto(message: LogEntrySourceLocation): Uint8Array { - return LogEntrySourceLocation.encode(message).finish(); - }, - toProtoMsg(message: LogEntrySourceLocation): LogEntrySourceLocationProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.LogEntrySourceLocation", - value: LogEntrySourceLocation.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/metric_value.ts b/quicksilverjs/src/codegen/google/api/servicecontrol/v1/metric_value.ts deleted file mode 100644 index 2b198b8a4..000000000 --- a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/metric_value.ts +++ /dev/null @@ -1,578 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../protobuf/timestamp"; -import { Distribution, DistributionAmino, DistributionSDKType } from "./distribution"; -import { Long, isSet, DeepPartial, toTimestamp, fromTimestamp, isObject } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.servicecontrol.v1"; -export interface MetricValue_LabelsEntry { - key: string; - value: string; -} -export interface MetricValue_LabelsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface MetricValue_LabelsEntryAmino { - key: string; - value: string; -} -export interface MetricValue_LabelsEntryAminoMsg { - type: string; - value: MetricValue_LabelsEntryAmino; -} -export interface MetricValue_LabelsEntrySDKType { - key: string; - value: string; -} -/** Represents a single metric value. */ -export interface MetricValue { - /** - * The labels describing the metric value. - * See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for - * the overriding relationship. - * Note that this map must not contain monitored resource labels. - */ - labels: { - [key: string]: string; - }; - /** - * The start of the time period over which this metric value's measurement - * applies. The time period has different semantics for different metric - * types (cumulative, delta, and gauge). See the metric definition - * documentation in the service configuration for details. If not specified, - * [google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time] will be used. - */ - startTime: Date; - /** - * The end of the time period over which this metric value's measurement - * applies. If not specified, - * [google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time] will be used. - */ - endTime: Date; - /** A boolean value. */ - boolValue?: boolean; - /** A signed 64-bit integer value. */ - int64Value?: Long; - /** A double precision floating point value. */ - doubleValue?: number; - /** A text string value. */ - stringValue?: string; - /** A distribution value. */ - distributionValue?: Distribution; -} -export interface MetricValueProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.MetricValue"; - value: Uint8Array; -} -/** Represents a single metric value. */ -export interface MetricValueAmino { - /** - * The labels describing the metric value. - * See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for - * the overriding relationship. - * Note that this map must not contain monitored resource labels. - */ - labels: { - [key: string]: string; - }; - /** - * The start of the time period over which this metric value's measurement - * applies. The time period has different semantics for different metric - * types (cumulative, delta, and gauge). See the metric definition - * documentation in the service configuration for details. If not specified, - * [google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time] will be used. - */ - start_time?: Date; - /** - * The end of the time period over which this metric value's measurement - * applies. If not specified, - * [google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time] will be used. - */ - end_time?: Date; - /** A boolean value. */ - bool_value?: boolean; - /** A signed 64-bit integer value. */ - int64_value?: string; - /** A double precision floating point value. */ - double_value?: number; - /** A text string value. */ - string_value?: string; - /** A distribution value. */ - distribution_value?: DistributionAmino; -} -export interface MetricValueAminoMsg { - type: "/google.api.servicecontrol.v1.MetricValue"; - value: MetricValueAmino; -} -/** Represents a single metric value. */ -export interface MetricValueSDKType { - labels: { - [key: string]: string; - }; - start_time: Date; - end_time: Date; - bool_value?: boolean; - int64_value?: Long; - double_value?: number; - string_value?: string; - distribution_value?: DistributionSDKType; -} -/** - * Represents a set of metric values in the same metric. - * Each metric value in the set should have a unique combination of start time, - * end time, and label values. - */ -export interface MetricValueSet { - /** The metric name defined in the service configuration. */ - metricName: string; - /** The values in this metric. */ - metricValues: MetricValue[]; -} -export interface MetricValueSetProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.MetricValueSet"; - value: Uint8Array; -} -/** - * Represents a set of metric values in the same metric. - * Each metric value in the set should have a unique combination of start time, - * end time, and label values. - */ -export interface MetricValueSetAmino { - /** The metric name defined in the service configuration. */ - metric_name: string; - /** The values in this metric. */ - metric_values: MetricValueAmino[]; -} -export interface MetricValueSetAminoMsg { - type: "/google.api.servicecontrol.v1.MetricValueSet"; - value: MetricValueSetAmino; -} -/** - * Represents a set of metric values in the same metric. - * Each metric value in the set should have a unique combination of start time, - * end time, and label values. - */ -export interface MetricValueSetSDKType { - metric_name: string; - metric_values: MetricValueSDKType[]; -} -function createBaseMetricValue_LabelsEntry(): MetricValue_LabelsEntry { - return { - key: "", - value: "" - }; -} -export const MetricValue_LabelsEntry = { - encode(message: MetricValue_LabelsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MetricValue_LabelsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetricValue_LabelsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MetricValue_LabelsEntry { - const obj = createBaseMetricValue_LabelsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: MetricValue_LabelsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): MetricValue_LabelsEntry { - const message = createBaseMetricValue_LabelsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: MetricValue_LabelsEntrySDKType): MetricValue_LabelsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: MetricValue_LabelsEntry): MetricValue_LabelsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: MetricValue_LabelsEntryAmino): MetricValue_LabelsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: MetricValue_LabelsEntry): MetricValue_LabelsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: MetricValue_LabelsEntryAminoMsg): MetricValue_LabelsEntry { - return MetricValue_LabelsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: MetricValue_LabelsEntryProtoMsg): MetricValue_LabelsEntry { - return MetricValue_LabelsEntry.decode(message.value); - }, - toProto(message: MetricValue_LabelsEntry): Uint8Array { - return MetricValue_LabelsEntry.encode(message).finish(); - } -}; -function createBaseMetricValue(): MetricValue { - return { - labels: {}, - startTime: new Date(), - endTime: new Date(), - boolValue: undefined, - int64Value: undefined, - doubleValue: undefined, - stringValue: undefined, - distributionValue: undefined - }; -} -export const MetricValue = { - typeUrl: "/google.api.servicecontrol.v1.MetricValue", - encode(message: MetricValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - Object.entries(message.labels).forEach(([key, value]) => { - MetricValue_LabelsEntry.encode({ - key: (key as any), - value - }, writer.uint32(10).fork()).ldelim(); - }); - if (message.startTime !== undefined) { - Timestamp.encode(toTimestamp(message.startTime), writer.uint32(18).fork()).ldelim(); - } - if (message.endTime !== undefined) { - Timestamp.encode(toTimestamp(message.endTime), writer.uint32(26).fork()).ldelim(); - } - if (message.boolValue !== undefined) { - writer.uint32(32).bool(message.boolValue); - } - if (message.int64Value !== undefined) { - writer.uint32(40).int64(message.int64Value); - } - if (message.doubleValue !== undefined) { - writer.uint32(49).double(message.doubleValue); - } - if (message.stringValue !== undefined) { - writer.uint32(58).string(message.stringValue); - } - if (message.distributionValue !== undefined) { - Distribution.encode(message.distributionValue, writer.uint32(66).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MetricValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetricValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - const entry1 = MetricValue_LabelsEntry.decode(reader, reader.uint32()); - if (entry1.value !== undefined) { - message.labels[entry1.key] = entry1.value; - } - break; - case 2: - message.startTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 3: - message.endTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 4: - message.boolValue = reader.bool(); - break; - case 5: - message.int64Value = (reader.int64() as Long); - break; - case 6: - message.doubleValue = reader.double(); - break; - case 7: - message.stringValue = reader.string(); - break; - case 8: - message.distributionValue = Distribution.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MetricValue { - const obj = createBaseMetricValue(); - if (isObject(object.labels)) obj.labels = Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - if (isSet(object.startTime)) obj.startTime = new Date(object.startTime); - if (isSet(object.endTime)) obj.endTime = new Date(object.endTime); - if (isSet(object.boolValue)) obj.boolValue = Boolean(object.boolValue); - if (isSet(object.int64Value)) obj.int64Value = Long.fromValue(object.int64Value); - if (isSet(object.doubleValue)) obj.doubleValue = Number(object.doubleValue); - if (isSet(object.stringValue)) obj.stringValue = String(object.stringValue); - if (isSet(object.distributionValue)) obj.distributionValue = Distribution.fromJSON(object.distributionValue); - return obj; - }, - toJSON(message: MetricValue): unknown { - const obj: any = {}; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - message.startTime !== undefined && (obj.startTime = message.startTime.toISOString()); - message.endTime !== undefined && (obj.endTime = message.endTime.toISOString()); - message.boolValue !== undefined && (obj.boolValue = message.boolValue); - message.int64Value !== undefined && (obj.int64Value = (message.int64Value || undefined).toString()); - message.doubleValue !== undefined && (obj.doubleValue = message.doubleValue); - message.stringValue !== undefined && (obj.stringValue = message.stringValue); - message.distributionValue !== undefined && (obj.distributionValue = message.distributionValue ? Distribution.toJSON(message.distributionValue) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): MetricValue { - const message = createBaseMetricValue(); - message.labels = Object.entries(object.labels ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - message.startTime = object.startTime ?? undefined; - message.endTime = object.endTime ?? undefined; - message.boolValue = object.boolValue ?? undefined; - if (object.int64Value !== undefined && object.int64Value !== null) { - message.int64Value = Long.fromValue(object.int64Value); - } - message.doubleValue = object.doubleValue ?? undefined; - message.stringValue = object.stringValue ?? undefined; - if (object.distributionValue !== undefined && object.distributionValue !== null) { - message.distributionValue = Distribution.fromPartial(object.distributionValue); - } - return message; - }, - fromSDK(object: MetricValueSDKType): MetricValue { - return { - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - startTime: object.start_time ?? undefined, - endTime: object.end_time ?? undefined, - boolValue: object?.bool_value, - int64Value: object?.int64_value, - doubleValue: object?.double_value, - stringValue: object?.string_value, - distributionValue: object.distribution_value ? Distribution.fromSDK(object.distribution_value) : undefined - }; - }, - toSDK(message: MetricValue): MetricValueSDKType { - const obj: any = {}; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - message.startTime !== undefined && (obj.start_time = message.startTime ?? undefined); - message.endTime !== undefined && (obj.end_time = message.endTime ?? undefined); - obj.bool_value = message.boolValue; - obj.int64_value = message.int64Value; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - message.distributionValue !== undefined && (obj.distribution_value = message.distributionValue ? Distribution.toSDK(message.distributionValue) : undefined); - return obj; - }, - fromAmino(object: MetricValueAmino): MetricValue { - return { - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - startTime: object.start_time, - endTime: object.end_time, - boolValue: object?.bool_value, - int64Value: object?.int64_value ? Long.fromString(object.int64_value) : undefined, - doubleValue: object?.double_value, - stringValue: object?.string_value, - distributionValue: object?.distribution_value ? Distribution.fromAmino(object.distribution_value) : undefined - }; - }, - toAmino(message: MetricValue): MetricValueAmino { - const obj: any = {}; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - obj.start_time = message.startTime; - obj.end_time = message.endTime; - obj.bool_value = message.boolValue; - obj.int64_value = message.int64Value ? message.int64Value.toString() : undefined; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - obj.distribution_value = message.distributionValue ? Distribution.toAmino(message.distributionValue) : undefined; - return obj; - }, - fromAminoMsg(object: MetricValueAminoMsg): MetricValue { - return MetricValue.fromAmino(object.value); - }, - fromProtoMsg(message: MetricValueProtoMsg): MetricValue { - return MetricValue.decode(message.value); - }, - toProto(message: MetricValue): Uint8Array { - return MetricValue.encode(message).finish(); - }, - toProtoMsg(message: MetricValue): MetricValueProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.MetricValue", - value: MetricValue.encode(message).finish() - }; - } -}; -function createBaseMetricValueSet(): MetricValueSet { - return { - metricName: "", - metricValues: [] - }; -} -export const MetricValueSet = { - typeUrl: "/google.api.servicecontrol.v1.MetricValueSet", - encode(message: MetricValueSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.metricName !== "") { - writer.uint32(10).string(message.metricName); - } - for (const v of message.metricValues) { - MetricValue.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MetricValueSet { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMetricValueSet(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.metricName = reader.string(); - break; - case 2: - message.metricValues.push(MetricValue.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MetricValueSet { - const obj = createBaseMetricValueSet(); - if (isSet(object.metricName)) obj.metricName = String(object.metricName); - if (Array.isArray(object?.metricValues)) obj.metricValues = object.metricValues.map((e: any) => MetricValue.fromJSON(e)); - return obj; - }, - toJSON(message: MetricValueSet): unknown { - const obj: any = {}; - message.metricName !== undefined && (obj.metricName = message.metricName); - if (message.metricValues) { - obj.metricValues = message.metricValues.map(e => e ? MetricValue.toJSON(e) : undefined); - } else { - obj.metricValues = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MetricValueSet { - const message = createBaseMetricValueSet(); - message.metricName = object.metricName ?? ""; - message.metricValues = object.metricValues?.map(e => MetricValue.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MetricValueSetSDKType): MetricValueSet { - return { - metricName: object?.metric_name, - metricValues: Array.isArray(object?.metric_values) ? object.metric_values.map((e: any) => MetricValue.fromSDK(e)) : [] - }; - }, - toSDK(message: MetricValueSet): MetricValueSetSDKType { - const obj: any = {}; - obj.metric_name = message.metricName; - if (message.metricValues) { - obj.metric_values = message.metricValues.map(e => e ? MetricValue.toSDK(e) : undefined); - } else { - obj.metric_values = []; - } - return obj; - }, - fromAmino(object: MetricValueSetAmino): MetricValueSet { - return { - metricName: object.metric_name, - metricValues: Array.isArray(object?.metric_values) ? object.metric_values.map((e: any) => MetricValue.fromAmino(e)) : [] - }; - }, - toAmino(message: MetricValueSet): MetricValueSetAmino { - const obj: any = {}; - obj.metric_name = message.metricName; - if (message.metricValues) { - obj.metric_values = message.metricValues.map(e => e ? MetricValue.toAmino(e) : undefined); - } else { - obj.metric_values = []; - } - return obj; - }, - fromAminoMsg(object: MetricValueSetAminoMsg): MetricValueSet { - return MetricValueSet.fromAmino(object.value); - }, - fromProtoMsg(message: MetricValueSetProtoMsg): MetricValueSet { - return MetricValueSet.decode(message.value); - }, - toProto(message: MetricValueSet): Uint8Array { - return MetricValueSet.encode(message).finish(); - }, - toProtoMsg(message: MetricValueSet): MetricValueSetProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.MetricValueSet", - value: MetricValueSet.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/operation.ts b/quicksilverjs/src/codegen/google/api/servicecontrol/v1/operation.ts deleted file mode 100644 index 3126af2c0..000000000 --- a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/operation.ts +++ /dev/null @@ -1,630 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../protobuf/timestamp"; -import { MetricValueSet, MetricValueSetAmino, MetricValueSetSDKType } from "./metric_value"; -import { LogEntry, LogEntryAmino, LogEntrySDKType } from "./log_entry"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, toTimestamp, fromTimestamp, isObject } from "../../../../helpers"; -export const protobufPackage = "google.api.servicecontrol.v1"; -/** Defines the importance of the data contained in the operation. */ -export enum Operation_Importance { - /** - * LOW - Allows data caching, batching, and aggregation. It provides - * higher performance with higher data loss risk. - */ - LOW = 0, - /** - * HIGH - Disables data aggregation to minimize data loss. It is for operations - * that contains significant monetary value or audit trail. This feature - * only applies to the client libraries. - */ - HIGH = 1, - UNRECOGNIZED = -1, -} -export const Operation_ImportanceSDKType = Operation_Importance; -export const Operation_ImportanceAmino = Operation_Importance; -export function operation_ImportanceFromJSON(object: any): Operation_Importance { - switch (object) { - case 0: - case "LOW": - return Operation_Importance.LOW; - case 1: - case "HIGH": - return Operation_Importance.HIGH; - case -1: - case "UNRECOGNIZED": - default: - return Operation_Importance.UNRECOGNIZED; - } -} -export function operation_ImportanceToJSON(object: Operation_Importance): string { - switch (object) { - case Operation_Importance.LOW: - return "LOW"; - case Operation_Importance.HIGH: - return "HIGH"; - case Operation_Importance.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export interface Operation_LabelsEntry { - key: string; - value: string; -} -export interface Operation_LabelsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface Operation_LabelsEntryAmino { - key: string; - value: string; -} -export interface Operation_LabelsEntryAminoMsg { - type: string; - value: Operation_LabelsEntryAmino; -} -export interface Operation_LabelsEntrySDKType { - key: string; - value: string; -} -/** Represents information regarding an operation. */ -export interface Operation { - /** - * Identity of the operation. This must be unique within the scope of the - * service that generated the operation. If the service calls - * Check() and Report() on the same operation, the two calls should carry - * the same id. - * - * UUID version 4 is recommended, though not required. - * In scenarios where an operation is computed from existing information - * and an idempotent id is desirable for deduplication purpose, UUID version 5 - * is recommended. See RFC 4122 for details. - */ - operationId: string; - /** Fully qualified name of the operation. Reserved for future use. */ - operationName: string; - /** - * Identity of the consumer who is using the service. - * This field should be filled in for the operations initiated by a - * consumer, but not for service-initiated operations that are - * not related to a specific consumer. - * - * - This can be in one of the following formats: - * - project:PROJECT_ID, - * - project`_`number:PROJECT_NUMBER, - * - projects/PROJECT_ID or PROJECT_NUMBER, - * - folders/FOLDER_NUMBER, - * - organizations/ORGANIZATION_NUMBER, - * - api`_`key:API_KEY. - */ - consumerId: string; - /** Required. Start time of the operation. */ - startTime: Date; - /** - * End time of the operation. - * Required when the operation is used in - * [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report], - * but optional when the operation is used in - * [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check]. - */ - endTime: Date; - /** - * Labels describing the operation. Only the following labels are allowed: - * - * - Labels describing monitored resources as defined in - * the service configuration. - * - Default labels of metric values. When specified, labels defined in the - * metric value override these default. - * - The following labels defined by Google Cloud Platform: - * - `cloud.googleapis.com/location` describing the location where the - * operation happened, - * - `servicecontrol.googleapis.com/user_agent` describing the user agent - * of the API request, - * - `servicecontrol.googleapis.com/service_agent` describing the service - * used to handle the API request (e.g. ESP), - * - `servicecontrol.googleapis.com/platform` describing the platform - * where the API is served, such as App Engine, Compute Engine, or - * Kubernetes Engine. - */ - labels: { - [key: string]: string; - }; - /** - * Represents information about this operation. Each MetricValueSet - * corresponds to a metric defined in the service configuration. - * The data type used in the MetricValueSet must agree with - * the data type specified in the metric definition. - * - * Within a single operation, it is not allowed to have more than one - * MetricValue instances that have the same metric names and identical - * label value combinations. If a request has such duplicated MetricValue - * instances, the entire request is rejected with - * an invalid argument error. - */ - metricValueSets: MetricValueSet[]; - /** Represents information to be logged. */ - logEntries: LogEntry[]; - /** DO NOT USE. This is an experimental field. */ - importance: Operation_Importance; - /** Unimplemented. */ - extensions: Any[]; -} -export interface OperationProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.Operation"; - value: Uint8Array; -} -/** Represents information regarding an operation. */ -export interface OperationAmino { - /** - * Identity of the operation. This must be unique within the scope of the - * service that generated the operation. If the service calls - * Check() and Report() on the same operation, the two calls should carry - * the same id. - * - * UUID version 4 is recommended, though not required. - * In scenarios where an operation is computed from existing information - * and an idempotent id is desirable for deduplication purpose, UUID version 5 - * is recommended. See RFC 4122 for details. - */ - operation_id: string; - /** Fully qualified name of the operation. Reserved for future use. */ - operation_name: string; - /** - * Identity of the consumer who is using the service. - * This field should be filled in for the operations initiated by a - * consumer, but not for service-initiated operations that are - * not related to a specific consumer. - * - * - This can be in one of the following formats: - * - project:PROJECT_ID, - * - project`_`number:PROJECT_NUMBER, - * - projects/PROJECT_ID or PROJECT_NUMBER, - * - folders/FOLDER_NUMBER, - * - organizations/ORGANIZATION_NUMBER, - * - api`_`key:API_KEY. - */ - consumer_id: string; - /** Required. Start time of the operation. */ - start_time?: Date; - /** - * End time of the operation. - * Required when the operation is used in - * [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report], - * but optional when the operation is used in - * [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check]. - */ - end_time?: Date; - /** - * Labels describing the operation. Only the following labels are allowed: - * - * - Labels describing monitored resources as defined in - * the service configuration. - * - Default labels of metric values. When specified, labels defined in the - * metric value override these default. - * - The following labels defined by Google Cloud Platform: - * - `cloud.googleapis.com/location` describing the location where the - * operation happened, - * - `servicecontrol.googleapis.com/user_agent` describing the user agent - * of the API request, - * - `servicecontrol.googleapis.com/service_agent` describing the service - * used to handle the API request (e.g. ESP), - * - `servicecontrol.googleapis.com/platform` describing the platform - * where the API is served, such as App Engine, Compute Engine, or - * Kubernetes Engine. - */ - labels: { - [key: string]: string; - }; - /** - * Represents information about this operation. Each MetricValueSet - * corresponds to a metric defined in the service configuration. - * The data type used in the MetricValueSet must agree with - * the data type specified in the metric definition. - * - * Within a single operation, it is not allowed to have more than one - * MetricValue instances that have the same metric names and identical - * label value combinations. If a request has such duplicated MetricValue - * instances, the entire request is rejected with - * an invalid argument error. - */ - metric_value_sets: MetricValueSetAmino[]; - /** Represents information to be logged. */ - log_entries: LogEntryAmino[]; - /** DO NOT USE. This is an experimental field. */ - importance: Operation_Importance; - /** Unimplemented. */ - extensions: AnyAmino[]; -} -export interface OperationAminoMsg { - type: "/google.api.servicecontrol.v1.Operation"; - value: OperationAmino; -} -/** Represents information regarding an operation. */ -export interface OperationSDKType { - operation_id: string; - operation_name: string; - consumer_id: string; - start_time: Date; - end_time: Date; - labels: { - [key: string]: string; - }; - metric_value_sets: MetricValueSetSDKType[]; - log_entries: LogEntrySDKType[]; - importance: Operation_Importance; - extensions: AnySDKType[]; -} -function createBaseOperation_LabelsEntry(): Operation_LabelsEntry { - return { - key: "", - value: "" - }; -} -export const Operation_LabelsEntry = { - encode(message: Operation_LabelsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Operation_LabelsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOperation_LabelsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Operation_LabelsEntry { - const obj = createBaseOperation_LabelsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: Operation_LabelsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): Operation_LabelsEntry { - const message = createBaseOperation_LabelsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: Operation_LabelsEntrySDKType): Operation_LabelsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: Operation_LabelsEntry): Operation_LabelsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: Operation_LabelsEntryAmino): Operation_LabelsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: Operation_LabelsEntry): Operation_LabelsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: Operation_LabelsEntryAminoMsg): Operation_LabelsEntry { - return Operation_LabelsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: Operation_LabelsEntryProtoMsg): Operation_LabelsEntry { - return Operation_LabelsEntry.decode(message.value); - }, - toProto(message: Operation_LabelsEntry): Uint8Array { - return Operation_LabelsEntry.encode(message).finish(); - } -}; -function createBaseOperation(): Operation { - return { - operationId: "", - operationName: "", - consumerId: "", - startTime: new Date(), - endTime: new Date(), - labels: {}, - metricValueSets: [], - logEntries: [], - importance: 0, - extensions: [] - }; -} -export const Operation = { - typeUrl: "/google.api.servicecontrol.v1.Operation", - encode(message: Operation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.operationId !== "") { - writer.uint32(10).string(message.operationId); - } - if (message.operationName !== "") { - writer.uint32(18).string(message.operationName); - } - if (message.consumerId !== "") { - writer.uint32(26).string(message.consumerId); - } - if (message.startTime !== undefined) { - Timestamp.encode(toTimestamp(message.startTime), writer.uint32(34).fork()).ldelim(); - } - if (message.endTime !== undefined) { - Timestamp.encode(toTimestamp(message.endTime), writer.uint32(42).fork()).ldelim(); - } - Object.entries(message.labels).forEach(([key, value]) => { - Operation_LabelsEntry.encode({ - key: (key as any), - value - }, writer.uint32(50).fork()).ldelim(); - }); - for (const v of message.metricValueSets) { - MetricValueSet.encode(v!, writer.uint32(58).fork()).ldelim(); - } - for (const v of message.logEntries) { - LogEntry.encode(v!, writer.uint32(66).fork()).ldelim(); - } - if (message.importance !== 0) { - writer.uint32(88).int32(message.importance); - } - for (const v of message.extensions) { - Any.encode(v!, writer.uint32(130).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Operation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOperation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.operationId = reader.string(); - break; - case 2: - message.operationName = reader.string(); - break; - case 3: - message.consumerId = reader.string(); - break; - case 4: - message.startTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 5: - message.endTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 6: - const entry6 = Operation_LabelsEntry.decode(reader, reader.uint32()); - if (entry6.value !== undefined) { - message.labels[entry6.key] = entry6.value; - } - break; - case 7: - message.metricValueSets.push(MetricValueSet.decode(reader, reader.uint32())); - break; - case 8: - message.logEntries.push(LogEntry.decode(reader, reader.uint32())); - break; - case 11: - message.importance = (reader.int32() as any); - break; - case 16: - message.extensions.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Operation { - const obj = createBaseOperation(); - if (isSet(object.operationId)) obj.operationId = String(object.operationId); - if (isSet(object.operationName)) obj.operationName = String(object.operationName); - if (isSet(object.consumerId)) obj.consumerId = String(object.consumerId); - if (isSet(object.startTime)) obj.startTime = new Date(object.startTime); - if (isSet(object.endTime)) obj.endTime = new Date(object.endTime); - if (isObject(object.labels)) obj.labels = Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - if (Array.isArray(object?.metricValueSets)) obj.metricValueSets = object.metricValueSets.map((e: any) => MetricValueSet.fromJSON(e)); - if (Array.isArray(object?.logEntries)) obj.logEntries = object.logEntries.map((e: any) => LogEntry.fromJSON(e)); - if (isSet(object.importance)) obj.importance = operation_ImportanceFromJSON(object.importance); - if (Array.isArray(object?.extensions)) obj.extensions = object.extensions.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: Operation): unknown { - const obj: any = {}; - message.operationId !== undefined && (obj.operationId = message.operationId); - message.operationName !== undefined && (obj.operationName = message.operationName); - message.consumerId !== undefined && (obj.consumerId = message.consumerId); - message.startTime !== undefined && (obj.startTime = message.startTime.toISOString()); - message.endTime !== undefined && (obj.endTime = message.endTime.toISOString()); - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - if (message.metricValueSets) { - obj.metricValueSets = message.metricValueSets.map(e => e ? MetricValueSet.toJSON(e) : undefined); - } else { - obj.metricValueSets = []; - } - if (message.logEntries) { - obj.logEntries = message.logEntries.map(e => e ? LogEntry.toJSON(e) : undefined); - } else { - obj.logEntries = []; - } - message.importance !== undefined && (obj.importance = operation_ImportanceToJSON(message.importance)); - if (message.extensions) { - obj.extensions = message.extensions.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.extensions = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Operation { - const message = createBaseOperation(); - message.operationId = object.operationId ?? ""; - message.operationName = object.operationName ?? ""; - message.consumerId = object.consumerId ?? ""; - message.startTime = object.startTime ?? undefined; - message.endTime = object.endTime ?? undefined; - message.labels = Object.entries(object.labels ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - message.metricValueSets = object.metricValueSets?.map(e => MetricValueSet.fromPartial(e)) || []; - message.logEntries = object.logEntries?.map(e => LogEntry.fromPartial(e)) || []; - message.importance = object.importance ?? 0; - message.extensions = object.extensions?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: OperationSDKType): Operation { - return { - operationId: object?.operation_id, - operationName: object?.operation_name, - consumerId: object?.consumer_id, - startTime: object.start_time ?? undefined, - endTime: object.end_time ?? undefined, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - metricValueSets: Array.isArray(object?.metric_value_sets) ? object.metric_value_sets.map((e: any) => MetricValueSet.fromSDK(e)) : [], - logEntries: Array.isArray(object?.log_entries) ? object.log_entries.map((e: any) => LogEntry.fromSDK(e)) : [], - importance: isSet(object.importance) ? operation_ImportanceFromJSON(object.importance) : -1, - extensions: Array.isArray(object?.extensions) ? object.extensions.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: Operation): OperationSDKType { - const obj: any = {}; - obj.operation_id = message.operationId; - obj.operation_name = message.operationName; - obj.consumer_id = message.consumerId; - message.startTime !== undefined && (obj.start_time = message.startTime ?? undefined); - message.endTime !== undefined && (obj.end_time = message.endTime ?? undefined); - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - if (message.metricValueSets) { - obj.metric_value_sets = message.metricValueSets.map(e => e ? MetricValueSet.toSDK(e) : undefined); - } else { - obj.metric_value_sets = []; - } - if (message.logEntries) { - obj.log_entries = message.logEntries.map(e => e ? LogEntry.toSDK(e) : undefined); - } else { - obj.log_entries = []; - } - message.importance !== undefined && (obj.importance = operation_ImportanceToJSON(message.importance)); - if (message.extensions) { - obj.extensions = message.extensions.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.extensions = []; - } - return obj; - }, - fromAmino(object: OperationAmino): Operation { - return { - operationId: object.operation_id, - operationName: object.operation_name, - consumerId: object.consumer_id, - startTime: object.start_time, - endTime: object.end_time, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - metricValueSets: Array.isArray(object?.metric_value_sets) ? object.metric_value_sets.map((e: any) => MetricValueSet.fromAmino(e)) : [], - logEntries: Array.isArray(object?.log_entries) ? object.log_entries.map((e: any) => LogEntry.fromAmino(e)) : [], - importance: isSet(object.importance) ? operation_ImportanceFromJSON(object.importance) : -1, - extensions: Array.isArray(object?.extensions) ? object.extensions.map((e: any) => Any.fromAmino(e)) : [] - }; - }, - toAmino(message: Operation): OperationAmino { - const obj: any = {}; - obj.operation_id = message.operationId; - obj.operation_name = message.operationName; - obj.consumer_id = message.consumerId; - obj.start_time = message.startTime; - obj.end_time = message.endTime; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - if (message.metricValueSets) { - obj.metric_value_sets = message.metricValueSets.map(e => e ? MetricValueSet.toAmino(e) : undefined); - } else { - obj.metric_value_sets = []; - } - if (message.logEntries) { - obj.log_entries = message.logEntries.map(e => e ? LogEntry.toAmino(e) : undefined); - } else { - obj.log_entries = []; - } - obj.importance = message.importance; - if (message.extensions) { - obj.extensions = message.extensions.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.extensions = []; - } - return obj; - }, - fromAminoMsg(object: OperationAminoMsg): Operation { - return Operation.fromAmino(object.value); - }, - fromProtoMsg(message: OperationProtoMsg): Operation { - return Operation.decode(message.value); - }, - toProto(message: Operation): Uint8Array { - return Operation.encode(message).finish(); - }, - toProtoMsg(message: Operation): OperationProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.Operation", - value: Operation.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/quota_controller.ts b/quicksilverjs/src/codegen/google/api/servicecontrol/v1/quota_controller.ts deleted file mode 100644 index a5a48d637..000000000 --- a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/quota_controller.ts +++ /dev/null @@ -1,1175 +0,0 @@ -import { MetricValueSet, MetricValueSetAmino, MetricValueSetSDKType } from "./metric_value"; -import { Status, StatusAmino, StatusSDKType } from "../../../rpc/status"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, isObject } from "../../../../helpers"; -export const protobufPackage = "google.api.servicecontrol.v1"; -/** Supported quota modes. */ -export enum QuotaOperation_QuotaMode { - /** UNSPECIFIED - Guard against implicit default. Must not be used. */ - UNSPECIFIED = 0, - /** - * NORMAL - For AllocateQuota request, allocates quota for the amount specified in - * the service configuration or specified using the quota metrics. If the - * amount is higher than the available quota, allocation error will be - * returned and no quota will be allocated. - * If multiple quotas are part of the request, and one fails, none of the - * quotas are allocated or released. - */ - NORMAL = 1, - /** - * BEST_EFFORT - The operation allocates quota for the amount specified in the service - * configuration or specified using the quota metrics. If the amount is - * higher than the available quota, request does not fail but all available - * quota will be allocated. - * For rate quota, BEST_EFFORT will continue to deduct from other groups - * even if one does not have enough quota. For allocation, it will find the - * minimum available amount across all groups and deduct that amount from - * all the affected groups. - */ - BEST_EFFORT = 2, - /** - * CHECK_ONLY - For AllocateQuota request, only checks if there is enough quota - * available and does not change the available quota. No lock is placed on - * the available quota either. - */ - CHECK_ONLY = 3, - /** - * QUERY_ONLY - Unimplemented. When used in AllocateQuotaRequest, this returns the - * effective quota limit(s) in the response, and no quota check will be - * performed. Not supported for other requests, and even for - * AllocateQuotaRequest, this is currently supported only for allowlisted - * services. - */ - QUERY_ONLY = 4, - /** - * ADJUST_ONLY - The operation allocates quota for the amount specified in the service - * configuration or specified using the quota metrics. If the requested - * amount is higher than the available quota, request does not fail and - * remaining quota would become negative (going over the limit). - * Not supported for Rate Quota. - */ - ADJUST_ONLY = 5, - UNRECOGNIZED = -1, -} -export const QuotaOperation_QuotaModeSDKType = QuotaOperation_QuotaMode; -export const QuotaOperation_QuotaModeAmino = QuotaOperation_QuotaMode; -export function quotaOperation_QuotaModeFromJSON(object: any): QuotaOperation_QuotaMode { - switch (object) { - case 0: - case "UNSPECIFIED": - return QuotaOperation_QuotaMode.UNSPECIFIED; - case 1: - case "NORMAL": - return QuotaOperation_QuotaMode.NORMAL; - case 2: - case "BEST_EFFORT": - return QuotaOperation_QuotaMode.BEST_EFFORT; - case 3: - case "CHECK_ONLY": - return QuotaOperation_QuotaMode.CHECK_ONLY; - case 4: - case "QUERY_ONLY": - return QuotaOperation_QuotaMode.QUERY_ONLY; - case 5: - case "ADJUST_ONLY": - return QuotaOperation_QuotaMode.ADJUST_ONLY; - case -1: - case "UNRECOGNIZED": - default: - return QuotaOperation_QuotaMode.UNRECOGNIZED; - } -} -export function quotaOperation_QuotaModeToJSON(object: QuotaOperation_QuotaMode): string { - switch (object) { - case QuotaOperation_QuotaMode.UNSPECIFIED: - return "UNSPECIFIED"; - case QuotaOperation_QuotaMode.NORMAL: - return "NORMAL"; - case QuotaOperation_QuotaMode.BEST_EFFORT: - return "BEST_EFFORT"; - case QuotaOperation_QuotaMode.CHECK_ONLY: - return "CHECK_ONLY"; - case QuotaOperation_QuotaMode.QUERY_ONLY: - return "QUERY_ONLY"; - case QuotaOperation_QuotaMode.ADJUST_ONLY: - return "ADJUST_ONLY"; - case QuotaOperation_QuotaMode.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * Error codes related to project config validations are deprecated since the - * quota controller methods do not perform these validations. Instead services - * have to call the Check method, without quota_properties field, to perform - * these validations before calling the quota controller methods. These - * methods check only for project deletion to be wipe out compliant. - */ -export enum QuotaError_Code { - /** UNSPECIFIED - This is never used. */ - UNSPECIFIED = 0, - /** - * RESOURCE_EXHAUSTED - Quota allocation failed. - * Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]. - */ - RESOURCE_EXHAUSTED = 8, - /** - * BILLING_NOT_ACTIVE - Consumer cannot access the service because the service requires active - * billing. - */ - BILLING_NOT_ACTIVE = 107, - /** PROJECT_DELETED - Consumer's project has been marked as deleted (soft deletion). */ - PROJECT_DELETED = 108, - /** API_KEY_INVALID - Specified API key is invalid. */ - API_KEY_INVALID = 105, - /** API_KEY_EXPIRED - Specified API Key has expired. */ - API_KEY_EXPIRED = 112, - UNRECOGNIZED = -1, -} -export const QuotaError_CodeSDKType = QuotaError_Code; -export const QuotaError_CodeAmino = QuotaError_Code; -export function quotaError_CodeFromJSON(object: any): QuotaError_Code { - switch (object) { - case 0: - case "UNSPECIFIED": - return QuotaError_Code.UNSPECIFIED; - case 8: - case "RESOURCE_EXHAUSTED": - return QuotaError_Code.RESOURCE_EXHAUSTED; - case 107: - case "BILLING_NOT_ACTIVE": - return QuotaError_Code.BILLING_NOT_ACTIVE; - case 108: - case "PROJECT_DELETED": - return QuotaError_Code.PROJECT_DELETED; - case 105: - case "API_KEY_INVALID": - return QuotaError_Code.API_KEY_INVALID; - case 112: - case "API_KEY_EXPIRED": - return QuotaError_Code.API_KEY_EXPIRED; - case -1: - case "UNRECOGNIZED": - default: - return QuotaError_Code.UNRECOGNIZED; - } -} -export function quotaError_CodeToJSON(object: QuotaError_Code): string { - switch (object) { - case QuotaError_Code.UNSPECIFIED: - return "UNSPECIFIED"; - case QuotaError_Code.RESOURCE_EXHAUSTED: - return "RESOURCE_EXHAUSTED"; - case QuotaError_Code.BILLING_NOT_ACTIVE: - return "BILLING_NOT_ACTIVE"; - case QuotaError_Code.PROJECT_DELETED: - return "PROJECT_DELETED"; - case QuotaError_Code.API_KEY_INVALID: - return "API_KEY_INVALID"; - case QuotaError_Code.API_KEY_EXPIRED: - return "API_KEY_EXPIRED"; - case QuotaError_Code.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Request message for the AllocateQuota method. */ -export interface AllocateQuotaRequest { - /** - * Name of the service as specified in the service configuration. For example, - * `"pubsub.googleapis.com"`. - * - * See [google.api.Service][google.api.Service] for the definition of a service name. - */ - serviceName: string; - /** Operation that describes the quota allocation. */ - allocateOperation: QuotaOperation; - /** - * Specifies which version of service configuration should be used to process - * the request. If unspecified or no matching version can be found, the latest - * one will be used. - */ - serviceConfigId: string; -} -export interface AllocateQuotaRequestProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.AllocateQuotaRequest"; - value: Uint8Array; -} -/** Request message for the AllocateQuota method. */ -export interface AllocateQuotaRequestAmino { - /** - * Name of the service as specified in the service configuration. For example, - * `"pubsub.googleapis.com"`. - * - * See [google.api.Service][google.api.Service] for the definition of a service name. - */ - service_name: string; - /** Operation that describes the quota allocation. */ - allocate_operation?: QuotaOperationAmino; - /** - * Specifies which version of service configuration should be used to process - * the request. If unspecified or no matching version can be found, the latest - * one will be used. - */ - service_config_id: string; -} -export interface AllocateQuotaRequestAminoMsg { - type: "/google.api.servicecontrol.v1.AllocateQuotaRequest"; - value: AllocateQuotaRequestAmino; -} -/** Request message for the AllocateQuota method. */ -export interface AllocateQuotaRequestSDKType { - service_name: string; - allocate_operation: QuotaOperationSDKType; - service_config_id: string; -} -export interface QuotaOperation_LabelsEntry { - key: string; - value: string; -} -export interface QuotaOperation_LabelsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface QuotaOperation_LabelsEntryAmino { - key: string; - value: string; -} -export interface QuotaOperation_LabelsEntryAminoMsg { - type: string; - value: QuotaOperation_LabelsEntryAmino; -} -export interface QuotaOperation_LabelsEntrySDKType { - key: string; - value: string; -} -/** Represents information regarding a quota operation. */ -export interface QuotaOperation { - /** - * Identity of the operation. This is expected to be unique within the scope - * of the service that generated the operation, and guarantees idempotency in - * case of retries. - * - * In order to ensure best performance and latency in the Quota backends, - * operation_ids are optimally associated with time, so that related - * operations can be accessed fast in storage. For this reason, the - * recommended token for services that intend to operate at a high QPS is - * Unix time in nanos + UUID - */ - operationId: string; - /** - * Fully qualified name of the API method for which this quota operation is - * requested. This name is used for matching quota rules or metric rules and - * billing status rules defined in service configuration. - * - * This field should not be set if any of the following is true: - * (1) the quota operation is performed on non-API resources. - * (2) quota_metrics is set because the caller is doing quota override. - * - * - * Example of an RPC method name: - * google.example.library.v1.LibraryService.CreateShelf - */ - methodName: string; - /** - * Identity of the consumer for whom this quota operation is being performed. - * - * This can be in one of the following formats: - * project:, - * project_number:, - * api_key:. - */ - consumerId: string; - /** Labels describing the operation. */ - labels: { - [key: string]: string; - }; - /** - * Represents information about this operation. Each MetricValueSet - * corresponds to a metric defined in the service configuration. - * The data type used in the MetricValueSet must agree with - * the data type specified in the metric definition. - * - * Within a single operation, it is not allowed to have more than one - * MetricValue instances that have the same metric names and identical - * label value combinations. If a request has such duplicated MetricValue - * instances, the entire request is rejected with - * an invalid argument error. - * - * This field is mutually exclusive with method_name. - */ - quotaMetrics: MetricValueSet[]; - /** Quota mode for this operation. */ - quotaMode: QuotaOperation_QuotaMode; -} -export interface QuotaOperationProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.QuotaOperation"; - value: Uint8Array; -} -/** Represents information regarding a quota operation. */ -export interface QuotaOperationAmino { - /** - * Identity of the operation. This is expected to be unique within the scope - * of the service that generated the operation, and guarantees idempotency in - * case of retries. - * - * In order to ensure best performance and latency in the Quota backends, - * operation_ids are optimally associated with time, so that related - * operations can be accessed fast in storage. For this reason, the - * recommended token for services that intend to operate at a high QPS is - * Unix time in nanos + UUID - */ - operation_id: string; - /** - * Fully qualified name of the API method for which this quota operation is - * requested. This name is used for matching quota rules or metric rules and - * billing status rules defined in service configuration. - * - * This field should not be set if any of the following is true: - * (1) the quota operation is performed on non-API resources. - * (2) quota_metrics is set because the caller is doing quota override. - * - * - * Example of an RPC method name: - * google.example.library.v1.LibraryService.CreateShelf - */ - method_name: string; - /** - * Identity of the consumer for whom this quota operation is being performed. - * - * This can be in one of the following formats: - * project:, - * project_number:, - * api_key:. - */ - consumer_id: string; - /** Labels describing the operation. */ - labels: { - [key: string]: string; - }; - /** - * Represents information about this operation. Each MetricValueSet - * corresponds to a metric defined in the service configuration. - * The data type used in the MetricValueSet must agree with - * the data type specified in the metric definition. - * - * Within a single operation, it is not allowed to have more than one - * MetricValue instances that have the same metric names and identical - * label value combinations. If a request has such duplicated MetricValue - * instances, the entire request is rejected with - * an invalid argument error. - * - * This field is mutually exclusive with method_name. - */ - quota_metrics: MetricValueSetAmino[]; - /** Quota mode for this operation. */ - quota_mode: QuotaOperation_QuotaMode; -} -export interface QuotaOperationAminoMsg { - type: "/google.api.servicecontrol.v1.QuotaOperation"; - value: QuotaOperationAmino; -} -/** Represents information regarding a quota operation. */ -export interface QuotaOperationSDKType { - operation_id: string; - method_name: string; - consumer_id: string; - labels: { - [key: string]: string; - }; - quota_metrics: MetricValueSetSDKType[]; - quota_mode: QuotaOperation_QuotaMode; -} -/** Response message for the AllocateQuota method. */ -export interface AllocateQuotaResponse { - /** - * The same operation_id value used in the AllocateQuotaRequest. Used for - * logging and diagnostics purposes. - */ - operationId: string; - /** Indicates the decision of the allocate. */ - allocateErrors: QuotaError[]; - /** - * Quota metrics to indicate the result of allocation. Depending on the - * request, one or more of the following metrics will be included: - * - * 1. Per quota group or per quota metric incremental usage will be specified - * using the following delta metric : - * "serviceruntime.googleapis.com/api/consumer/quota_used_count" - * - * 2. The quota limit reached condition will be specified using the following - * boolean metric : - * "serviceruntime.googleapis.com/quota/exceeded" - */ - quotaMetrics: MetricValueSet[]; - /** ID of the actual config used to process the request. */ - serviceConfigId: string; -} -export interface AllocateQuotaResponseProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.AllocateQuotaResponse"; - value: Uint8Array; -} -/** Response message for the AllocateQuota method. */ -export interface AllocateQuotaResponseAmino { - /** - * The same operation_id value used in the AllocateQuotaRequest. Used for - * logging and diagnostics purposes. - */ - operation_id: string; - /** Indicates the decision of the allocate. */ - allocate_errors: QuotaErrorAmino[]; - /** - * Quota metrics to indicate the result of allocation. Depending on the - * request, one or more of the following metrics will be included: - * - * 1. Per quota group or per quota metric incremental usage will be specified - * using the following delta metric : - * "serviceruntime.googleapis.com/api/consumer/quota_used_count" - * - * 2. The quota limit reached condition will be specified using the following - * boolean metric : - * "serviceruntime.googleapis.com/quota/exceeded" - */ - quota_metrics: MetricValueSetAmino[]; - /** ID of the actual config used to process the request. */ - service_config_id: string; -} -export interface AllocateQuotaResponseAminoMsg { - type: "/google.api.servicecontrol.v1.AllocateQuotaResponse"; - value: AllocateQuotaResponseAmino; -} -/** Response message for the AllocateQuota method. */ -export interface AllocateQuotaResponseSDKType { - operation_id: string; - allocate_errors: QuotaErrorSDKType[]; - quota_metrics: MetricValueSetSDKType[]; - service_config_id: string; -} -/** Represents error information for [QuotaOperation][google.api.servicecontrol.v1.QuotaOperation]. */ -export interface QuotaError { - /** Error code. */ - code: QuotaError_Code; - /** - * Subject to whom this error applies. See the specific enum for more details - * on this field. For example, "clientip:" or - * "project:". - */ - subject: string; - /** Free-form text that provides details on the cause of the error. */ - description: string; - /** - * Contains additional information about the quota error. - * If available, `status.code` will be non zero. - */ - status: Status; -} -export interface QuotaErrorProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.QuotaError"; - value: Uint8Array; -} -/** Represents error information for [QuotaOperation][google.api.servicecontrol.v1.QuotaOperation]. */ -export interface QuotaErrorAmino { - /** Error code. */ - code: QuotaError_Code; - /** - * Subject to whom this error applies. See the specific enum for more details - * on this field. For example, "clientip:" or - * "project:". - */ - subject: string; - /** Free-form text that provides details on the cause of the error. */ - description: string; - /** - * Contains additional information about the quota error. - * If available, `status.code` will be non zero. - */ - status?: StatusAmino; -} -export interface QuotaErrorAminoMsg { - type: "/google.api.servicecontrol.v1.QuotaError"; - value: QuotaErrorAmino; -} -/** Represents error information for [QuotaOperation][google.api.servicecontrol.v1.QuotaOperation]. */ -export interface QuotaErrorSDKType { - code: QuotaError_Code; - subject: string; - description: string; - status: StatusSDKType; -} -function createBaseAllocateQuotaRequest(): AllocateQuotaRequest { - return { - serviceName: "", - allocateOperation: QuotaOperation.fromPartial({}), - serviceConfigId: "" - }; -} -export const AllocateQuotaRequest = { - typeUrl: "/google.api.servicecontrol.v1.AllocateQuotaRequest", - encode(message: AllocateQuotaRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.allocateOperation !== undefined) { - QuotaOperation.encode(message.allocateOperation, writer.uint32(18).fork()).ldelim(); - } - if (message.serviceConfigId !== "") { - writer.uint32(34).string(message.serviceConfigId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AllocateQuotaRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAllocateQuotaRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.allocateOperation = QuotaOperation.decode(reader, reader.uint32()); - break; - case 4: - message.serviceConfigId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AllocateQuotaRequest { - const obj = createBaseAllocateQuotaRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.allocateOperation)) obj.allocateOperation = QuotaOperation.fromJSON(object.allocateOperation); - if (isSet(object.serviceConfigId)) obj.serviceConfigId = String(object.serviceConfigId); - return obj; - }, - toJSON(message: AllocateQuotaRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.allocateOperation !== undefined && (obj.allocateOperation = message.allocateOperation ? QuotaOperation.toJSON(message.allocateOperation) : undefined); - message.serviceConfigId !== undefined && (obj.serviceConfigId = message.serviceConfigId); - return obj; - }, - fromPartial(object: DeepPartial): AllocateQuotaRequest { - const message = createBaseAllocateQuotaRequest(); - message.serviceName = object.serviceName ?? ""; - if (object.allocateOperation !== undefined && object.allocateOperation !== null) { - message.allocateOperation = QuotaOperation.fromPartial(object.allocateOperation); - } - message.serviceConfigId = object.serviceConfigId ?? ""; - return message; - }, - fromSDK(object: AllocateQuotaRequestSDKType): AllocateQuotaRequest { - return { - serviceName: object?.service_name, - allocateOperation: object.allocate_operation ? QuotaOperation.fromSDK(object.allocate_operation) : undefined, - serviceConfigId: object?.service_config_id - }; - }, - toSDK(message: AllocateQuotaRequest): AllocateQuotaRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - message.allocateOperation !== undefined && (obj.allocate_operation = message.allocateOperation ? QuotaOperation.toSDK(message.allocateOperation) : undefined); - obj.service_config_id = message.serviceConfigId; - return obj; - }, - fromAmino(object: AllocateQuotaRequestAmino): AllocateQuotaRequest { - return { - serviceName: object.service_name, - allocateOperation: object?.allocate_operation ? QuotaOperation.fromAmino(object.allocate_operation) : undefined, - serviceConfigId: object.service_config_id - }; - }, - toAmino(message: AllocateQuotaRequest): AllocateQuotaRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.allocate_operation = message.allocateOperation ? QuotaOperation.toAmino(message.allocateOperation) : undefined; - obj.service_config_id = message.serviceConfigId; - return obj; - }, - fromAminoMsg(object: AllocateQuotaRequestAminoMsg): AllocateQuotaRequest { - return AllocateQuotaRequest.fromAmino(object.value); - }, - fromProtoMsg(message: AllocateQuotaRequestProtoMsg): AllocateQuotaRequest { - return AllocateQuotaRequest.decode(message.value); - }, - toProto(message: AllocateQuotaRequest): Uint8Array { - return AllocateQuotaRequest.encode(message).finish(); - }, - toProtoMsg(message: AllocateQuotaRequest): AllocateQuotaRequestProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.AllocateQuotaRequest", - value: AllocateQuotaRequest.encode(message).finish() - }; - } -}; -function createBaseQuotaOperation_LabelsEntry(): QuotaOperation_LabelsEntry { - return { - key: "", - value: "" - }; -} -export const QuotaOperation_LabelsEntry = { - encode(message: QuotaOperation_LabelsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuotaOperation_LabelsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuotaOperation_LabelsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuotaOperation_LabelsEntry { - const obj = createBaseQuotaOperation_LabelsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: QuotaOperation_LabelsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): QuotaOperation_LabelsEntry { - const message = createBaseQuotaOperation_LabelsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: QuotaOperation_LabelsEntrySDKType): QuotaOperation_LabelsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: QuotaOperation_LabelsEntry): QuotaOperation_LabelsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: QuotaOperation_LabelsEntryAmino): QuotaOperation_LabelsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: QuotaOperation_LabelsEntry): QuotaOperation_LabelsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: QuotaOperation_LabelsEntryAminoMsg): QuotaOperation_LabelsEntry { - return QuotaOperation_LabelsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: QuotaOperation_LabelsEntryProtoMsg): QuotaOperation_LabelsEntry { - return QuotaOperation_LabelsEntry.decode(message.value); - }, - toProto(message: QuotaOperation_LabelsEntry): Uint8Array { - return QuotaOperation_LabelsEntry.encode(message).finish(); - } -}; -function createBaseQuotaOperation(): QuotaOperation { - return { - operationId: "", - methodName: "", - consumerId: "", - labels: {}, - quotaMetrics: [], - quotaMode: 0 - }; -} -export const QuotaOperation = { - typeUrl: "/google.api.servicecontrol.v1.QuotaOperation", - encode(message: QuotaOperation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.operationId !== "") { - writer.uint32(10).string(message.operationId); - } - if (message.methodName !== "") { - writer.uint32(18).string(message.methodName); - } - if (message.consumerId !== "") { - writer.uint32(26).string(message.consumerId); - } - Object.entries(message.labels).forEach(([key, value]) => { - QuotaOperation_LabelsEntry.encode({ - key: (key as any), - value - }, writer.uint32(34).fork()).ldelim(); - }); - for (const v of message.quotaMetrics) { - MetricValueSet.encode(v!, writer.uint32(42).fork()).ldelim(); - } - if (message.quotaMode !== 0) { - writer.uint32(48).int32(message.quotaMode); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuotaOperation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuotaOperation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.operationId = reader.string(); - break; - case 2: - message.methodName = reader.string(); - break; - case 3: - message.consumerId = reader.string(); - break; - case 4: - const entry4 = QuotaOperation_LabelsEntry.decode(reader, reader.uint32()); - if (entry4.value !== undefined) { - message.labels[entry4.key] = entry4.value; - } - break; - case 5: - message.quotaMetrics.push(MetricValueSet.decode(reader, reader.uint32())); - break; - case 6: - message.quotaMode = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuotaOperation { - const obj = createBaseQuotaOperation(); - if (isSet(object.operationId)) obj.operationId = String(object.operationId); - if (isSet(object.methodName)) obj.methodName = String(object.methodName); - if (isSet(object.consumerId)) obj.consumerId = String(object.consumerId); - if (isObject(object.labels)) obj.labels = Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - if (Array.isArray(object?.quotaMetrics)) obj.quotaMetrics = object.quotaMetrics.map((e: any) => MetricValueSet.fromJSON(e)); - if (isSet(object.quotaMode)) obj.quotaMode = quotaOperation_QuotaModeFromJSON(object.quotaMode); - return obj; - }, - toJSON(message: QuotaOperation): unknown { - const obj: any = {}; - message.operationId !== undefined && (obj.operationId = message.operationId); - message.methodName !== undefined && (obj.methodName = message.methodName); - message.consumerId !== undefined && (obj.consumerId = message.consumerId); - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - if (message.quotaMetrics) { - obj.quotaMetrics = message.quotaMetrics.map(e => e ? MetricValueSet.toJSON(e) : undefined); - } else { - obj.quotaMetrics = []; - } - message.quotaMode !== undefined && (obj.quotaMode = quotaOperation_QuotaModeToJSON(message.quotaMode)); - return obj; - }, - fromPartial(object: DeepPartial): QuotaOperation { - const message = createBaseQuotaOperation(); - message.operationId = object.operationId ?? ""; - message.methodName = object.methodName ?? ""; - message.consumerId = object.consumerId ?? ""; - message.labels = Object.entries(object.labels ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - message.quotaMetrics = object.quotaMetrics?.map(e => MetricValueSet.fromPartial(e)) || []; - message.quotaMode = object.quotaMode ?? 0; - return message; - }, - fromSDK(object: QuotaOperationSDKType): QuotaOperation { - return { - operationId: object?.operation_id, - methodName: object?.method_name, - consumerId: object?.consumer_id, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - quotaMetrics: Array.isArray(object?.quota_metrics) ? object.quota_metrics.map((e: any) => MetricValueSet.fromSDK(e)) : [], - quotaMode: isSet(object.quota_mode) ? quotaOperation_QuotaModeFromJSON(object.quota_mode) : -1 - }; - }, - toSDK(message: QuotaOperation): QuotaOperationSDKType { - const obj: any = {}; - obj.operation_id = message.operationId; - obj.method_name = message.methodName; - obj.consumer_id = message.consumerId; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - if (message.quotaMetrics) { - obj.quota_metrics = message.quotaMetrics.map(e => e ? MetricValueSet.toSDK(e) : undefined); - } else { - obj.quota_metrics = []; - } - message.quotaMode !== undefined && (obj.quota_mode = quotaOperation_QuotaModeToJSON(message.quotaMode)); - return obj; - }, - fromAmino(object: QuotaOperationAmino): QuotaOperation { - return { - operationId: object.operation_id, - methodName: object.method_name, - consumerId: object.consumer_id, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - quotaMetrics: Array.isArray(object?.quota_metrics) ? object.quota_metrics.map((e: any) => MetricValueSet.fromAmino(e)) : [], - quotaMode: isSet(object.quota_mode) ? quotaOperation_QuotaModeFromJSON(object.quota_mode) : -1 - }; - }, - toAmino(message: QuotaOperation): QuotaOperationAmino { - const obj: any = {}; - obj.operation_id = message.operationId; - obj.method_name = message.methodName; - obj.consumer_id = message.consumerId; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - if (message.quotaMetrics) { - obj.quota_metrics = message.quotaMetrics.map(e => e ? MetricValueSet.toAmino(e) : undefined); - } else { - obj.quota_metrics = []; - } - obj.quota_mode = message.quotaMode; - return obj; - }, - fromAminoMsg(object: QuotaOperationAminoMsg): QuotaOperation { - return QuotaOperation.fromAmino(object.value); - }, - fromProtoMsg(message: QuotaOperationProtoMsg): QuotaOperation { - return QuotaOperation.decode(message.value); - }, - toProto(message: QuotaOperation): Uint8Array { - return QuotaOperation.encode(message).finish(); - }, - toProtoMsg(message: QuotaOperation): QuotaOperationProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.QuotaOperation", - value: QuotaOperation.encode(message).finish() - }; - } -}; -function createBaseAllocateQuotaResponse(): AllocateQuotaResponse { - return { - operationId: "", - allocateErrors: [], - quotaMetrics: [], - serviceConfigId: "" - }; -} -export const AllocateQuotaResponse = { - typeUrl: "/google.api.servicecontrol.v1.AllocateQuotaResponse", - encode(message: AllocateQuotaResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.operationId !== "") { - writer.uint32(10).string(message.operationId); - } - for (const v of message.allocateErrors) { - QuotaError.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.quotaMetrics) { - MetricValueSet.encode(v!, writer.uint32(26).fork()).ldelim(); - } - if (message.serviceConfigId !== "") { - writer.uint32(34).string(message.serviceConfigId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AllocateQuotaResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAllocateQuotaResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.operationId = reader.string(); - break; - case 2: - message.allocateErrors.push(QuotaError.decode(reader, reader.uint32())); - break; - case 3: - message.quotaMetrics.push(MetricValueSet.decode(reader, reader.uint32())); - break; - case 4: - message.serviceConfigId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AllocateQuotaResponse { - const obj = createBaseAllocateQuotaResponse(); - if (isSet(object.operationId)) obj.operationId = String(object.operationId); - if (Array.isArray(object?.allocateErrors)) obj.allocateErrors = object.allocateErrors.map((e: any) => QuotaError.fromJSON(e)); - if (Array.isArray(object?.quotaMetrics)) obj.quotaMetrics = object.quotaMetrics.map((e: any) => MetricValueSet.fromJSON(e)); - if (isSet(object.serviceConfigId)) obj.serviceConfigId = String(object.serviceConfigId); - return obj; - }, - toJSON(message: AllocateQuotaResponse): unknown { - const obj: any = {}; - message.operationId !== undefined && (obj.operationId = message.operationId); - if (message.allocateErrors) { - obj.allocateErrors = message.allocateErrors.map(e => e ? QuotaError.toJSON(e) : undefined); - } else { - obj.allocateErrors = []; - } - if (message.quotaMetrics) { - obj.quotaMetrics = message.quotaMetrics.map(e => e ? MetricValueSet.toJSON(e) : undefined); - } else { - obj.quotaMetrics = []; - } - message.serviceConfigId !== undefined && (obj.serviceConfigId = message.serviceConfigId); - return obj; - }, - fromPartial(object: DeepPartial): AllocateQuotaResponse { - const message = createBaseAllocateQuotaResponse(); - message.operationId = object.operationId ?? ""; - message.allocateErrors = object.allocateErrors?.map(e => QuotaError.fromPartial(e)) || []; - message.quotaMetrics = object.quotaMetrics?.map(e => MetricValueSet.fromPartial(e)) || []; - message.serviceConfigId = object.serviceConfigId ?? ""; - return message; - }, - fromSDK(object: AllocateQuotaResponseSDKType): AllocateQuotaResponse { - return { - operationId: object?.operation_id, - allocateErrors: Array.isArray(object?.allocate_errors) ? object.allocate_errors.map((e: any) => QuotaError.fromSDK(e)) : [], - quotaMetrics: Array.isArray(object?.quota_metrics) ? object.quota_metrics.map((e: any) => MetricValueSet.fromSDK(e)) : [], - serviceConfigId: object?.service_config_id - }; - }, - toSDK(message: AllocateQuotaResponse): AllocateQuotaResponseSDKType { - const obj: any = {}; - obj.operation_id = message.operationId; - if (message.allocateErrors) { - obj.allocate_errors = message.allocateErrors.map(e => e ? QuotaError.toSDK(e) : undefined); - } else { - obj.allocate_errors = []; - } - if (message.quotaMetrics) { - obj.quota_metrics = message.quotaMetrics.map(e => e ? MetricValueSet.toSDK(e) : undefined); - } else { - obj.quota_metrics = []; - } - obj.service_config_id = message.serviceConfigId; - return obj; - }, - fromAmino(object: AllocateQuotaResponseAmino): AllocateQuotaResponse { - return { - operationId: object.operation_id, - allocateErrors: Array.isArray(object?.allocate_errors) ? object.allocate_errors.map((e: any) => QuotaError.fromAmino(e)) : [], - quotaMetrics: Array.isArray(object?.quota_metrics) ? object.quota_metrics.map((e: any) => MetricValueSet.fromAmino(e)) : [], - serviceConfigId: object.service_config_id - }; - }, - toAmino(message: AllocateQuotaResponse): AllocateQuotaResponseAmino { - const obj: any = {}; - obj.operation_id = message.operationId; - if (message.allocateErrors) { - obj.allocate_errors = message.allocateErrors.map(e => e ? QuotaError.toAmino(e) : undefined); - } else { - obj.allocate_errors = []; - } - if (message.quotaMetrics) { - obj.quota_metrics = message.quotaMetrics.map(e => e ? MetricValueSet.toAmino(e) : undefined); - } else { - obj.quota_metrics = []; - } - obj.service_config_id = message.serviceConfigId; - return obj; - }, - fromAminoMsg(object: AllocateQuotaResponseAminoMsg): AllocateQuotaResponse { - return AllocateQuotaResponse.fromAmino(object.value); - }, - fromProtoMsg(message: AllocateQuotaResponseProtoMsg): AllocateQuotaResponse { - return AllocateQuotaResponse.decode(message.value); - }, - toProto(message: AllocateQuotaResponse): Uint8Array { - return AllocateQuotaResponse.encode(message).finish(); - }, - toProtoMsg(message: AllocateQuotaResponse): AllocateQuotaResponseProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.AllocateQuotaResponse", - value: AllocateQuotaResponse.encode(message).finish() - }; - } -}; -function createBaseQuotaError(): QuotaError { - return { - code: 0, - subject: "", - description: "", - status: Status.fromPartial({}) - }; -} -export const QuotaError = { - typeUrl: "/google.api.servicecontrol.v1.QuotaError", - encode(message: QuotaError, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.code !== 0) { - writer.uint32(8).int32(message.code); - } - if (message.subject !== "") { - writer.uint32(18).string(message.subject); - } - if (message.description !== "") { - writer.uint32(26).string(message.description); - } - if (message.status !== undefined) { - Status.encode(message.status, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuotaError { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuotaError(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.code = (reader.int32() as any); - break; - case 2: - message.subject = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.status = Status.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuotaError { - const obj = createBaseQuotaError(); - if (isSet(object.code)) obj.code = quotaError_CodeFromJSON(object.code); - if (isSet(object.subject)) obj.subject = String(object.subject); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.status)) obj.status = Status.fromJSON(object.status); - return obj; - }, - toJSON(message: QuotaError): unknown { - const obj: any = {}; - message.code !== undefined && (obj.code = quotaError_CodeToJSON(message.code)); - message.subject !== undefined && (obj.subject = message.subject); - message.description !== undefined && (obj.description = message.description); - message.status !== undefined && (obj.status = message.status ? Status.toJSON(message.status) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): QuotaError { - const message = createBaseQuotaError(); - message.code = object.code ?? 0; - message.subject = object.subject ?? ""; - message.description = object.description ?? ""; - if (object.status !== undefined && object.status !== null) { - message.status = Status.fromPartial(object.status); - } - return message; - }, - fromSDK(object: QuotaErrorSDKType): QuotaError { - return { - code: isSet(object.code) ? quotaError_CodeFromJSON(object.code) : -1, - subject: object?.subject, - description: object?.description, - status: object.status ? Status.fromSDK(object.status) : undefined - }; - }, - toSDK(message: QuotaError): QuotaErrorSDKType { - const obj: any = {}; - message.code !== undefined && (obj.code = quotaError_CodeToJSON(message.code)); - obj.subject = message.subject; - obj.description = message.description; - message.status !== undefined && (obj.status = message.status ? Status.toSDK(message.status) : undefined); - return obj; - }, - fromAmino(object: QuotaErrorAmino): QuotaError { - return { - code: isSet(object.code) ? quotaError_CodeFromJSON(object.code) : -1, - subject: object.subject, - description: object.description, - status: object?.status ? Status.fromAmino(object.status) : undefined - }; - }, - toAmino(message: QuotaError): QuotaErrorAmino { - const obj: any = {}; - obj.code = message.code; - obj.subject = message.subject; - obj.description = message.description; - obj.status = message.status ? Status.toAmino(message.status) : undefined; - return obj; - }, - fromAminoMsg(object: QuotaErrorAminoMsg): QuotaError { - return QuotaError.fromAmino(object.value); - }, - fromProtoMsg(message: QuotaErrorProtoMsg): QuotaError { - return QuotaError.decode(message.value); - }, - toProto(message: QuotaError): Uint8Array { - return QuotaError.encode(message).finish(); - }, - toProtoMsg(message: QuotaError): QuotaErrorProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.QuotaError", - value: QuotaError.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/service_controller.ts b/quicksilverjs/src/codegen/google/api/servicecontrol/v1/service_controller.ts deleted file mode 100644 index b52820491..000000000 --- a/quicksilverjs/src/codegen/google/api/servicecontrol/v1/service_controller.ts +++ /dev/null @@ -1,1299 +0,0 @@ -import { Operation, OperationAmino, OperationSDKType } from "./operation"; -import { CheckError, CheckErrorAmino, CheckErrorSDKType } from "./check_error"; -import { Status, StatusAmino, StatusSDKType } from "../../../rpc/status"; -import { Long, isSet, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.servicecontrol.v1"; -/** - * The type of the consumer as defined in - * [Google Resource Manager](https://cloud.google.com/resource-manager/). - */ -export enum CheckResponse_ConsumerInfo_ConsumerType { - /** CONSUMER_TYPE_UNSPECIFIED - This is never used. */ - CONSUMER_TYPE_UNSPECIFIED = 0, - /** PROJECT - The consumer is a Google Cloud Project. */ - PROJECT = 1, - /** FOLDER - The consumer is a Google Cloud Folder. */ - FOLDER = 2, - /** ORGANIZATION - The consumer is a Google Cloud Organization. */ - ORGANIZATION = 3, - /** - * SERVICE_SPECIFIC - Service-specific resource container which is defined by the service - * producer to offer their users the ability to manage service control - * functionalities at a finer level of granularity than the PROJECT. - */ - SERVICE_SPECIFIC = 4, - UNRECOGNIZED = -1, -} -export const CheckResponse_ConsumerInfo_ConsumerTypeSDKType = CheckResponse_ConsumerInfo_ConsumerType; -export const CheckResponse_ConsumerInfo_ConsumerTypeAmino = CheckResponse_ConsumerInfo_ConsumerType; -export function checkResponse_ConsumerInfo_ConsumerTypeFromJSON(object: any): CheckResponse_ConsumerInfo_ConsumerType { - switch (object) { - case 0: - case "CONSUMER_TYPE_UNSPECIFIED": - return CheckResponse_ConsumerInfo_ConsumerType.CONSUMER_TYPE_UNSPECIFIED; - case 1: - case "PROJECT": - return CheckResponse_ConsumerInfo_ConsumerType.PROJECT; - case 2: - case "FOLDER": - return CheckResponse_ConsumerInfo_ConsumerType.FOLDER; - case 3: - case "ORGANIZATION": - return CheckResponse_ConsumerInfo_ConsumerType.ORGANIZATION; - case 4: - case "SERVICE_SPECIFIC": - return CheckResponse_ConsumerInfo_ConsumerType.SERVICE_SPECIFIC; - case -1: - case "UNRECOGNIZED": - default: - return CheckResponse_ConsumerInfo_ConsumerType.UNRECOGNIZED; - } -} -export function checkResponse_ConsumerInfo_ConsumerTypeToJSON(object: CheckResponse_ConsumerInfo_ConsumerType): string { - switch (object) { - case CheckResponse_ConsumerInfo_ConsumerType.CONSUMER_TYPE_UNSPECIFIED: - return "CONSUMER_TYPE_UNSPECIFIED"; - case CheckResponse_ConsumerInfo_ConsumerType.PROJECT: - return "PROJECT"; - case CheckResponse_ConsumerInfo_ConsumerType.FOLDER: - return "FOLDER"; - case CheckResponse_ConsumerInfo_ConsumerType.ORGANIZATION: - return "ORGANIZATION"; - case CheckResponse_ConsumerInfo_ConsumerType.SERVICE_SPECIFIC: - return "SERVICE_SPECIFIC"; - case CheckResponse_ConsumerInfo_ConsumerType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Request message for the Check method. */ -export interface CheckRequest { - /** - * The service name as specified in its service configuration. For example, - * `"pubsub.googleapis.com"`. - * - * See - * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) - * for the definition of a service name. - */ - serviceName: string; - /** The operation to be checked. */ - operation: Operation; - /** - * Specifies which version of service configuration should be used to process - * the request. - * - * If unspecified or no matching version can be found, the - * latest one will be used. - */ - serviceConfigId: string; -} -export interface CheckRequestProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.CheckRequest"; - value: Uint8Array; -} -/** Request message for the Check method. */ -export interface CheckRequestAmino { - /** - * The service name as specified in its service configuration. For example, - * `"pubsub.googleapis.com"`. - * - * See - * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) - * for the definition of a service name. - */ - service_name: string; - /** The operation to be checked. */ - operation?: OperationAmino; - /** - * Specifies which version of service configuration should be used to process - * the request. - * - * If unspecified or no matching version can be found, the - * latest one will be used. - */ - service_config_id: string; -} -export interface CheckRequestAminoMsg { - type: "/google.api.servicecontrol.v1.CheckRequest"; - value: CheckRequestAmino; -} -/** Request message for the Check method. */ -export interface CheckRequestSDKType { - service_name: string; - operation: OperationSDKType; - service_config_id: string; -} -/** Response message for the Check method. */ -export interface CheckResponse { - /** - * The same operation_id value used in the - * [CheckRequest][google.api.servicecontrol.v1.CheckRequest]. Used for logging - * and diagnostics purposes. - */ - operationId: string; - /** - * Indicate the decision of the check. - * - * If no check errors are present, the service should process the operation. - * Otherwise the service should use the list of errors to determine the - * appropriate action. - */ - checkErrors: CheckError[]; - /** The actual config id used to process the request. */ - serviceConfigId: string; - /** The current service rollout id used to process the request. */ - serviceRolloutId: string; - /** Feedback data returned from the server during processing a Check request. */ - checkInfo: CheckResponse_CheckInfo; -} -export interface CheckResponseProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.CheckResponse"; - value: Uint8Array; -} -/** Response message for the Check method. */ -export interface CheckResponseAmino { - /** - * The same operation_id value used in the - * [CheckRequest][google.api.servicecontrol.v1.CheckRequest]. Used for logging - * and diagnostics purposes. - */ - operation_id: string; - /** - * Indicate the decision of the check. - * - * If no check errors are present, the service should process the operation. - * Otherwise the service should use the list of errors to determine the - * appropriate action. - */ - check_errors: CheckErrorAmino[]; - /** The actual config id used to process the request. */ - service_config_id: string; - /** The current service rollout id used to process the request. */ - service_rollout_id: string; - /** Feedback data returned from the server during processing a Check request. */ - check_info?: CheckResponse_CheckInfoAmino; -} -export interface CheckResponseAminoMsg { - type: "/google.api.servicecontrol.v1.CheckResponse"; - value: CheckResponseAmino; -} -/** Response message for the Check method. */ -export interface CheckResponseSDKType { - operation_id: string; - check_errors: CheckErrorSDKType[]; - service_config_id: string; - service_rollout_id: string; - check_info: CheckResponse_CheckInfoSDKType; -} -/** Contains additional information about the check operation. */ -export interface CheckResponse_CheckInfo { - /** - * A list of fields and label keys that are ignored by the server. - * The client doesn't need to send them for following requests to improve - * performance and allow better aggregation. - */ - unusedArguments: string[]; - /** Consumer info of this check. */ - consumerInfo: CheckResponse_ConsumerInfo; -} -export interface CheckResponse_CheckInfoProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.CheckInfo"; - value: Uint8Array; -} -/** Contains additional information about the check operation. */ -export interface CheckResponse_CheckInfoAmino { - /** - * A list of fields and label keys that are ignored by the server. - * The client doesn't need to send them for following requests to improve - * performance and allow better aggregation. - */ - unused_arguments: string[]; - /** Consumer info of this check. */ - consumer_info?: CheckResponse_ConsumerInfoAmino; -} -export interface CheckResponse_CheckInfoAminoMsg { - type: "/google.api.servicecontrol.v1.CheckInfo"; - value: CheckResponse_CheckInfoAmino; -} -/** Contains additional information about the check operation. */ -export interface CheckResponse_CheckInfoSDKType { - unused_arguments: string[]; - consumer_info: CheckResponse_ConsumerInfoSDKType; -} -/** `ConsumerInfo` provides information about the consumer. */ -export interface CheckResponse_ConsumerInfo { - /** - * The Google cloud project number, e.g. 1234567890. A value of 0 indicates - * no project number is found. - * - * NOTE: This field is deprecated after we support flexible consumer - * id. New code should not depend on this field anymore. - */ - projectNumber: Long; - /** - * The type of the consumer which should have been defined in - * [Google Resource Manager](https://cloud.google.com/resource-manager/). - */ - type: CheckResponse_ConsumerInfo_ConsumerType; - /** - * The consumer identity number, can be Google cloud project number, folder - * number or organization number e.g. 1234567890. A value of 0 indicates no - * consumer number is found. - */ - consumerNumber: Long; -} -export interface CheckResponse_ConsumerInfoProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.ConsumerInfo"; - value: Uint8Array; -} -/** `ConsumerInfo` provides information about the consumer. */ -export interface CheckResponse_ConsumerInfoAmino { - /** - * The Google cloud project number, e.g. 1234567890. A value of 0 indicates - * no project number is found. - * - * NOTE: This field is deprecated after we support flexible consumer - * id. New code should not depend on this field anymore. - */ - project_number: string; - /** - * The type of the consumer which should have been defined in - * [Google Resource Manager](https://cloud.google.com/resource-manager/). - */ - type: CheckResponse_ConsumerInfo_ConsumerType; - /** - * The consumer identity number, can be Google cloud project number, folder - * number or organization number e.g. 1234567890. A value of 0 indicates no - * consumer number is found. - */ - consumer_number: string; -} -export interface CheckResponse_ConsumerInfoAminoMsg { - type: "/google.api.servicecontrol.v1.ConsumerInfo"; - value: CheckResponse_ConsumerInfoAmino; -} -/** `ConsumerInfo` provides information about the consumer. */ -export interface CheckResponse_ConsumerInfoSDKType { - project_number: Long; - type: CheckResponse_ConsumerInfo_ConsumerType; - consumer_number: Long; -} -/** Request message for the Report method. */ -export interface ReportRequest { - /** - * The service name as specified in its service configuration. For example, - * `"pubsub.googleapis.com"`. - * - * See - * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) - * for the definition of a service name. - */ - serviceName: string; - /** - * Operations to be reported. - * - * Typically the service should report one operation per request. - * Putting multiple operations into a single request is allowed, but should - * be used only when multiple operations are natually available at the time - * of the report. - * - * There is no limit on the number of operations in the same ReportRequest, - * however the ReportRequest size should be no larger than 1MB. See - * [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] - * for partial failure behavior. - */ - operations: Operation[]; - /** - * Specifies which version of service config should be used to process the - * request. - * - * If unspecified or no matching version can be found, the - * latest one will be used. - */ - serviceConfigId: string; -} -export interface ReportRequestProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.ReportRequest"; - value: Uint8Array; -} -/** Request message for the Report method. */ -export interface ReportRequestAmino { - /** - * The service name as specified in its service configuration. For example, - * `"pubsub.googleapis.com"`. - * - * See - * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) - * for the definition of a service name. - */ - service_name: string; - /** - * Operations to be reported. - * - * Typically the service should report one operation per request. - * Putting multiple operations into a single request is allowed, but should - * be used only when multiple operations are natually available at the time - * of the report. - * - * There is no limit on the number of operations in the same ReportRequest, - * however the ReportRequest size should be no larger than 1MB. See - * [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors] - * for partial failure behavior. - */ - operations: OperationAmino[]; - /** - * Specifies which version of service config should be used to process the - * request. - * - * If unspecified or no matching version can be found, the - * latest one will be used. - */ - service_config_id: string; -} -export interface ReportRequestAminoMsg { - type: "/google.api.servicecontrol.v1.ReportRequest"; - value: ReportRequestAmino; -} -/** Request message for the Report method. */ -export interface ReportRequestSDKType { - service_name: string; - operations: OperationSDKType[]; - service_config_id: string; -} -/** Response message for the Report method. */ -export interface ReportResponse { - /** - * Partial failures, one for each `Operation` in the request that failed - * processing. There are three possible combinations of the RPC status: - * - * 1. The combination of a successful RPC status and an empty `report_errors` - * list indicates a complete success where all `Operations` in the - * request are processed successfully. - * 2. The combination of a successful RPC status and a non-empty - * `report_errors` list indicates a partial success where some - * `Operations` in the request succeeded. Each - * `Operation` that failed processing has a corresponding item - * in this list. - * 3. A failed RPC status indicates a general non-deterministic failure. - * When this happens, it's impossible to know which of the - * 'Operations' in the request succeeded or failed. - */ - reportErrors: ReportResponse_ReportError[]; - /** The actual config id used to process the request. */ - serviceConfigId: string; - /** The current service rollout id used to process the request. */ - serviceRolloutId: string; -} -export interface ReportResponseProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.ReportResponse"; - value: Uint8Array; -} -/** Response message for the Report method. */ -export interface ReportResponseAmino { - /** - * Partial failures, one for each `Operation` in the request that failed - * processing. There are three possible combinations of the RPC status: - * - * 1. The combination of a successful RPC status and an empty `report_errors` - * list indicates a complete success where all `Operations` in the - * request are processed successfully. - * 2. The combination of a successful RPC status and a non-empty - * `report_errors` list indicates a partial success where some - * `Operations` in the request succeeded. Each - * `Operation` that failed processing has a corresponding item - * in this list. - * 3. A failed RPC status indicates a general non-deterministic failure. - * When this happens, it's impossible to know which of the - * 'Operations' in the request succeeded or failed. - */ - report_errors: ReportResponse_ReportErrorAmino[]; - /** The actual config id used to process the request. */ - service_config_id: string; - /** The current service rollout id used to process the request. */ - service_rollout_id: string; -} -export interface ReportResponseAminoMsg { - type: "/google.api.servicecontrol.v1.ReportResponse"; - value: ReportResponseAmino; -} -/** Response message for the Report method. */ -export interface ReportResponseSDKType { - report_errors: ReportResponse_ReportErrorSDKType[]; - service_config_id: string; - service_rollout_id: string; -} -/** - * Represents the processing error of one - * [Operation][google.api.servicecontrol.v1.Operation] in the request. - */ -export interface ReportResponse_ReportError { - /** - * The - * [Operation.operation_id][google.api.servicecontrol.v1.Operation.operation_id] - * value from the request. - */ - operationId: string; - /** - * Details of the error when processing the - * [Operation][google.api.servicecontrol.v1.Operation]. - */ - status: Status; -} -export interface ReportResponse_ReportErrorProtoMsg { - typeUrl: "/google.api.servicecontrol.v1.ReportError"; - value: Uint8Array; -} -/** - * Represents the processing error of one - * [Operation][google.api.servicecontrol.v1.Operation] in the request. - */ -export interface ReportResponse_ReportErrorAmino { - /** - * The - * [Operation.operation_id][google.api.servicecontrol.v1.Operation.operation_id] - * value from the request. - */ - operation_id: string; - /** - * Details of the error when processing the - * [Operation][google.api.servicecontrol.v1.Operation]. - */ - status?: StatusAmino; -} -export interface ReportResponse_ReportErrorAminoMsg { - type: "/google.api.servicecontrol.v1.ReportError"; - value: ReportResponse_ReportErrorAmino; -} -/** - * Represents the processing error of one - * [Operation][google.api.servicecontrol.v1.Operation] in the request. - */ -export interface ReportResponse_ReportErrorSDKType { - operation_id: string; - status: StatusSDKType; -} -function createBaseCheckRequest(): CheckRequest { - return { - serviceName: "", - operation: Operation.fromPartial({}), - serviceConfigId: "" - }; -} -export const CheckRequest = { - typeUrl: "/google.api.servicecontrol.v1.CheckRequest", - encode(message: CheckRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.operation !== undefined) { - Operation.encode(message.operation, writer.uint32(18).fork()).ldelim(); - } - if (message.serviceConfigId !== "") { - writer.uint32(34).string(message.serviceConfigId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.operation = Operation.decode(reader, reader.uint32()); - break; - case 4: - message.serviceConfigId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckRequest { - const obj = createBaseCheckRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.operation)) obj.operation = Operation.fromJSON(object.operation); - if (isSet(object.serviceConfigId)) obj.serviceConfigId = String(object.serviceConfigId); - return obj; - }, - toJSON(message: CheckRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.operation !== undefined && (obj.operation = message.operation ? Operation.toJSON(message.operation) : undefined); - message.serviceConfigId !== undefined && (obj.serviceConfigId = message.serviceConfigId); - return obj; - }, - fromPartial(object: DeepPartial): CheckRequest { - const message = createBaseCheckRequest(); - message.serviceName = object.serviceName ?? ""; - if (object.operation !== undefined && object.operation !== null) { - message.operation = Operation.fromPartial(object.operation); - } - message.serviceConfigId = object.serviceConfigId ?? ""; - return message; - }, - fromSDK(object: CheckRequestSDKType): CheckRequest { - return { - serviceName: object?.service_name, - operation: object.operation ? Operation.fromSDK(object.operation) : undefined, - serviceConfigId: object?.service_config_id - }; - }, - toSDK(message: CheckRequest): CheckRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - message.operation !== undefined && (obj.operation = message.operation ? Operation.toSDK(message.operation) : undefined); - obj.service_config_id = message.serviceConfigId; - return obj; - }, - fromAmino(object: CheckRequestAmino): CheckRequest { - return { - serviceName: object.service_name, - operation: object?.operation ? Operation.fromAmino(object.operation) : undefined, - serviceConfigId: object.service_config_id - }; - }, - toAmino(message: CheckRequest): CheckRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.operation = message.operation ? Operation.toAmino(message.operation) : undefined; - obj.service_config_id = message.serviceConfigId; - return obj; - }, - fromAminoMsg(object: CheckRequestAminoMsg): CheckRequest { - return CheckRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CheckRequestProtoMsg): CheckRequest { - return CheckRequest.decode(message.value); - }, - toProto(message: CheckRequest): Uint8Array { - return CheckRequest.encode(message).finish(); - }, - toProtoMsg(message: CheckRequest): CheckRequestProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.CheckRequest", - value: CheckRequest.encode(message).finish() - }; - } -}; -function createBaseCheckResponse(): CheckResponse { - return { - operationId: "", - checkErrors: [], - serviceConfigId: "", - serviceRolloutId: "", - checkInfo: CheckResponse_CheckInfo.fromPartial({}) - }; -} -export const CheckResponse = { - typeUrl: "/google.api.servicecontrol.v1.CheckResponse", - encode(message: CheckResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.operationId !== "") { - writer.uint32(10).string(message.operationId); - } - for (const v of message.checkErrors) { - CheckError.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.serviceConfigId !== "") { - writer.uint32(42).string(message.serviceConfigId); - } - if (message.serviceRolloutId !== "") { - writer.uint32(90).string(message.serviceRolloutId); - } - if (message.checkInfo !== undefined) { - CheckResponse_CheckInfo.encode(message.checkInfo, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.operationId = reader.string(); - break; - case 2: - message.checkErrors.push(CheckError.decode(reader, reader.uint32())); - break; - case 5: - message.serviceConfigId = reader.string(); - break; - case 11: - message.serviceRolloutId = reader.string(); - break; - case 6: - message.checkInfo = CheckResponse_CheckInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckResponse { - const obj = createBaseCheckResponse(); - if (isSet(object.operationId)) obj.operationId = String(object.operationId); - if (Array.isArray(object?.checkErrors)) obj.checkErrors = object.checkErrors.map((e: any) => CheckError.fromJSON(e)); - if (isSet(object.serviceConfigId)) obj.serviceConfigId = String(object.serviceConfigId); - if (isSet(object.serviceRolloutId)) obj.serviceRolloutId = String(object.serviceRolloutId); - if (isSet(object.checkInfo)) obj.checkInfo = CheckResponse_CheckInfo.fromJSON(object.checkInfo); - return obj; - }, - toJSON(message: CheckResponse): unknown { - const obj: any = {}; - message.operationId !== undefined && (obj.operationId = message.operationId); - if (message.checkErrors) { - obj.checkErrors = message.checkErrors.map(e => e ? CheckError.toJSON(e) : undefined); - } else { - obj.checkErrors = []; - } - message.serviceConfigId !== undefined && (obj.serviceConfigId = message.serviceConfigId); - message.serviceRolloutId !== undefined && (obj.serviceRolloutId = message.serviceRolloutId); - message.checkInfo !== undefined && (obj.checkInfo = message.checkInfo ? CheckResponse_CheckInfo.toJSON(message.checkInfo) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CheckResponse { - const message = createBaseCheckResponse(); - message.operationId = object.operationId ?? ""; - message.checkErrors = object.checkErrors?.map(e => CheckError.fromPartial(e)) || []; - message.serviceConfigId = object.serviceConfigId ?? ""; - message.serviceRolloutId = object.serviceRolloutId ?? ""; - if (object.checkInfo !== undefined && object.checkInfo !== null) { - message.checkInfo = CheckResponse_CheckInfo.fromPartial(object.checkInfo); - } - return message; - }, - fromSDK(object: CheckResponseSDKType): CheckResponse { - return { - operationId: object?.operation_id, - checkErrors: Array.isArray(object?.check_errors) ? object.check_errors.map((e: any) => CheckError.fromSDK(e)) : [], - serviceConfigId: object?.service_config_id, - serviceRolloutId: object?.service_rollout_id, - checkInfo: object.check_info ? CheckResponse_CheckInfo.fromSDK(object.check_info) : undefined - }; - }, - toSDK(message: CheckResponse): CheckResponseSDKType { - const obj: any = {}; - obj.operation_id = message.operationId; - if (message.checkErrors) { - obj.check_errors = message.checkErrors.map(e => e ? CheckError.toSDK(e) : undefined); - } else { - obj.check_errors = []; - } - obj.service_config_id = message.serviceConfigId; - obj.service_rollout_id = message.serviceRolloutId; - message.checkInfo !== undefined && (obj.check_info = message.checkInfo ? CheckResponse_CheckInfo.toSDK(message.checkInfo) : undefined); - return obj; - }, - fromAmino(object: CheckResponseAmino): CheckResponse { - return { - operationId: object.operation_id, - checkErrors: Array.isArray(object?.check_errors) ? object.check_errors.map((e: any) => CheckError.fromAmino(e)) : [], - serviceConfigId: object.service_config_id, - serviceRolloutId: object.service_rollout_id, - checkInfo: object?.check_info ? CheckResponse_CheckInfo.fromAmino(object.check_info) : undefined - }; - }, - toAmino(message: CheckResponse): CheckResponseAmino { - const obj: any = {}; - obj.operation_id = message.operationId; - if (message.checkErrors) { - obj.check_errors = message.checkErrors.map(e => e ? CheckError.toAmino(e) : undefined); - } else { - obj.check_errors = []; - } - obj.service_config_id = message.serviceConfigId; - obj.service_rollout_id = message.serviceRolloutId; - obj.check_info = message.checkInfo ? CheckResponse_CheckInfo.toAmino(message.checkInfo) : undefined; - return obj; - }, - fromAminoMsg(object: CheckResponseAminoMsg): CheckResponse { - return CheckResponse.fromAmino(object.value); - }, - fromProtoMsg(message: CheckResponseProtoMsg): CheckResponse { - return CheckResponse.decode(message.value); - }, - toProto(message: CheckResponse): Uint8Array { - return CheckResponse.encode(message).finish(); - }, - toProtoMsg(message: CheckResponse): CheckResponseProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.CheckResponse", - value: CheckResponse.encode(message).finish() - }; - } -}; -function createBaseCheckResponse_CheckInfo(): CheckResponse_CheckInfo { - return { - unusedArguments: [], - consumerInfo: CheckResponse_ConsumerInfo.fromPartial({}) - }; -} -export const CheckResponse_CheckInfo = { - typeUrl: "/google.api.servicecontrol.v1.CheckInfo", - encode(message: CheckResponse_CheckInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.unusedArguments) { - writer.uint32(10).string(v!); - } - if (message.consumerInfo !== undefined) { - CheckResponse_ConsumerInfo.encode(message.consumerInfo, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckResponse_CheckInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckResponse_CheckInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.unusedArguments.push(reader.string()); - break; - case 2: - message.consumerInfo = CheckResponse_ConsumerInfo.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckResponse_CheckInfo { - const obj = createBaseCheckResponse_CheckInfo(); - if (Array.isArray(object?.unusedArguments)) obj.unusedArguments = object.unusedArguments.map((e: any) => String(e)); - if (isSet(object.consumerInfo)) obj.consumerInfo = CheckResponse_ConsumerInfo.fromJSON(object.consumerInfo); - return obj; - }, - toJSON(message: CheckResponse_CheckInfo): unknown { - const obj: any = {}; - if (message.unusedArguments) { - obj.unusedArguments = message.unusedArguments.map(e => e); - } else { - obj.unusedArguments = []; - } - message.consumerInfo !== undefined && (obj.consumerInfo = message.consumerInfo ? CheckResponse_ConsumerInfo.toJSON(message.consumerInfo) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CheckResponse_CheckInfo { - const message = createBaseCheckResponse_CheckInfo(); - message.unusedArguments = object.unusedArguments?.map(e => e) || []; - if (object.consumerInfo !== undefined && object.consumerInfo !== null) { - message.consumerInfo = CheckResponse_ConsumerInfo.fromPartial(object.consumerInfo); - } - return message; - }, - fromSDK(object: CheckResponse_CheckInfoSDKType): CheckResponse_CheckInfo { - return { - unusedArguments: Array.isArray(object?.unused_arguments) ? object.unused_arguments.map((e: any) => e) : [], - consumerInfo: object.consumer_info ? CheckResponse_ConsumerInfo.fromSDK(object.consumer_info) : undefined - }; - }, - toSDK(message: CheckResponse_CheckInfo): CheckResponse_CheckInfoSDKType { - const obj: any = {}; - if (message.unusedArguments) { - obj.unused_arguments = message.unusedArguments.map(e => e); - } else { - obj.unused_arguments = []; - } - message.consumerInfo !== undefined && (obj.consumer_info = message.consumerInfo ? CheckResponse_ConsumerInfo.toSDK(message.consumerInfo) : undefined); - return obj; - }, - fromAmino(object: CheckResponse_CheckInfoAmino): CheckResponse_CheckInfo { - return { - unusedArguments: Array.isArray(object?.unused_arguments) ? object.unused_arguments.map((e: any) => e) : [], - consumerInfo: object?.consumer_info ? CheckResponse_ConsumerInfo.fromAmino(object.consumer_info) : undefined - }; - }, - toAmino(message: CheckResponse_CheckInfo): CheckResponse_CheckInfoAmino { - const obj: any = {}; - if (message.unusedArguments) { - obj.unused_arguments = message.unusedArguments.map(e => e); - } else { - obj.unused_arguments = []; - } - obj.consumer_info = message.consumerInfo ? CheckResponse_ConsumerInfo.toAmino(message.consumerInfo) : undefined; - return obj; - }, - fromAminoMsg(object: CheckResponse_CheckInfoAminoMsg): CheckResponse_CheckInfo { - return CheckResponse_CheckInfo.fromAmino(object.value); - }, - fromProtoMsg(message: CheckResponse_CheckInfoProtoMsg): CheckResponse_CheckInfo { - return CheckResponse_CheckInfo.decode(message.value); - }, - toProto(message: CheckResponse_CheckInfo): Uint8Array { - return CheckResponse_CheckInfo.encode(message).finish(); - }, - toProtoMsg(message: CheckResponse_CheckInfo): CheckResponse_CheckInfoProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.CheckInfo", - value: CheckResponse_CheckInfo.encode(message).finish() - }; - } -}; -function createBaseCheckResponse_ConsumerInfo(): CheckResponse_ConsumerInfo { - return { - projectNumber: Long.ZERO, - type: 0, - consumerNumber: Long.ZERO - }; -} -export const CheckResponse_ConsumerInfo = { - typeUrl: "/google.api.servicecontrol.v1.ConsumerInfo", - encode(message: CheckResponse_ConsumerInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.projectNumber.isZero()) { - writer.uint32(8).int64(message.projectNumber); - } - if (message.type !== 0) { - writer.uint32(16).int32(message.type); - } - if (!message.consumerNumber.isZero()) { - writer.uint32(24).int64(message.consumerNumber); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckResponse_ConsumerInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckResponse_ConsumerInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.projectNumber = (reader.int64() as Long); - break; - case 2: - message.type = (reader.int32() as any); - break; - case 3: - message.consumerNumber = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckResponse_ConsumerInfo { - const obj = createBaseCheckResponse_ConsumerInfo(); - if (isSet(object.projectNumber)) obj.projectNumber = Long.fromValue(object.projectNumber); - if (isSet(object.type)) obj.type = checkResponse_ConsumerInfo_ConsumerTypeFromJSON(object.type); - if (isSet(object.consumerNumber)) obj.consumerNumber = Long.fromValue(object.consumerNumber); - return obj; - }, - toJSON(message: CheckResponse_ConsumerInfo): unknown { - const obj: any = {}; - message.projectNumber !== undefined && (obj.projectNumber = (message.projectNumber || Long.ZERO).toString()); - message.type !== undefined && (obj.type = checkResponse_ConsumerInfo_ConsumerTypeToJSON(message.type)); - message.consumerNumber !== undefined && (obj.consumerNumber = (message.consumerNumber || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): CheckResponse_ConsumerInfo { - const message = createBaseCheckResponse_ConsumerInfo(); - if (object.projectNumber !== undefined && object.projectNumber !== null) { - message.projectNumber = Long.fromValue(object.projectNumber); - } - message.type = object.type ?? 0; - if (object.consumerNumber !== undefined && object.consumerNumber !== null) { - message.consumerNumber = Long.fromValue(object.consumerNumber); - } - return message; - }, - fromSDK(object: CheckResponse_ConsumerInfoSDKType): CheckResponse_ConsumerInfo { - return { - projectNumber: object?.project_number, - type: isSet(object.type) ? checkResponse_ConsumerInfo_ConsumerTypeFromJSON(object.type) : -1, - consumerNumber: object?.consumer_number - }; - }, - toSDK(message: CheckResponse_ConsumerInfo): CheckResponse_ConsumerInfoSDKType { - const obj: any = {}; - obj.project_number = message.projectNumber; - message.type !== undefined && (obj.type = checkResponse_ConsumerInfo_ConsumerTypeToJSON(message.type)); - obj.consumer_number = message.consumerNumber; - return obj; - }, - fromAmino(object: CheckResponse_ConsumerInfoAmino): CheckResponse_ConsumerInfo { - return { - projectNumber: Long.fromString(object.project_number), - type: isSet(object.type) ? checkResponse_ConsumerInfo_ConsumerTypeFromJSON(object.type) : -1, - consumerNumber: Long.fromString(object.consumer_number) - }; - }, - toAmino(message: CheckResponse_ConsumerInfo): CheckResponse_ConsumerInfoAmino { - const obj: any = {}; - obj.project_number = message.projectNumber ? message.projectNumber.toString() : undefined; - obj.type = message.type; - obj.consumer_number = message.consumerNumber ? message.consumerNumber.toString() : undefined; - return obj; - }, - fromAminoMsg(object: CheckResponse_ConsumerInfoAminoMsg): CheckResponse_ConsumerInfo { - return CheckResponse_ConsumerInfo.fromAmino(object.value); - }, - fromProtoMsg(message: CheckResponse_ConsumerInfoProtoMsg): CheckResponse_ConsumerInfo { - return CheckResponse_ConsumerInfo.decode(message.value); - }, - toProto(message: CheckResponse_ConsumerInfo): Uint8Array { - return CheckResponse_ConsumerInfo.encode(message).finish(); - }, - toProtoMsg(message: CheckResponse_ConsumerInfo): CheckResponse_ConsumerInfoProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.ConsumerInfo", - value: CheckResponse_ConsumerInfo.encode(message).finish() - }; - } -}; -function createBaseReportRequest(): ReportRequest { - return { - serviceName: "", - operations: [], - serviceConfigId: "" - }; -} -export const ReportRequest = { - typeUrl: "/google.api.servicecontrol.v1.ReportRequest", - encode(message: ReportRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - for (const v of message.operations) { - Operation.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.serviceConfigId !== "") { - writer.uint32(26).string(message.serviceConfigId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ReportRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseReportRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.operations.push(Operation.decode(reader, reader.uint32())); - break; - case 3: - message.serviceConfigId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ReportRequest { - const obj = createBaseReportRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (Array.isArray(object?.operations)) obj.operations = object.operations.map((e: any) => Operation.fromJSON(e)); - if (isSet(object.serviceConfigId)) obj.serviceConfigId = String(object.serviceConfigId); - return obj; - }, - toJSON(message: ReportRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - if (message.operations) { - obj.operations = message.operations.map(e => e ? Operation.toJSON(e) : undefined); - } else { - obj.operations = []; - } - message.serviceConfigId !== undefined && (obj.serviceConfigId = message.serviceConfigId); - return obj; - }, - fromPartial(object: DeepPartial): ReportRequest { - const message = createBaseReportRequest(); - message.serviceName = object.serviceName ?? ""; - message.operations = object.operations?.map(e => Operation.fromPartial(e)) || []; - message.serviceConfigId = object.serviceConfigId ?? ""; - return message; - }, - fromSDK(object: ReportRequestSDKType): ReportRequest { - return { - serviceName: object?.service_name, - operations: Array.isArray(object?.operations) ? object.operations.map((e: any) => Operation.fromSDK(e)) : [], - serviceConfigId: object?.service_config_id - }; - }, - toSDK(message: ReportRequest): ReportRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - if (message.operations) { - obj.operations = message.operations.map(e => e ? Operation.toSDK(e) : undefined); - } else { - obj.operations = []; - } - obj.service_config_id = message.serviceConfigId; - return obj; - }, - fromAmino(object: ReportRequestAmino): ReportRequest { - return { - serviceName: object.service_name, - operations: Array.isArray(object?.operations) ? object.operations.map((e: any) => Operation.fromAmino(e)) : [], - serviceConfigId: object.service_config_id - }; - }, - toAmino(message: ReportRequest): ReportRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - if (message.operations) { - obj.operations = message.operations.map(e => e ? Operation.toAmino(e) : undefined); - } else { - obj.operations = []; - } - obj.service_config_id = message.serviceConfigId; - return obj; - }, - fromAminoMsg(object: ReportRequestAminoMsg): ReportRequest { - return ReportRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ReportRequestProtoMsg): ReportRequest { - return ReportRequest.decode(message.value); - }, - toProto(message: ReportRequest): Uint8Array { - return ReportRequest.encode(message).finish(); - }, - toProtoMsg(message: ReportRequest): ReportRequestProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.ReportRequest", - value: ReportRequest.encode(message).finish() - }; - } -}; -function createBaseReportResponse(): ReportResponse { - return { - reportErrors: [], - serviceConfigId: "", - serviceRolloutId: "" - }; -} -export const ReportResponse = { - typeUrl: "/google.api.servicecontrol.v1.ReportResponse", - encode(message: ReportResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.reportErrors) { - ReportResponse_ReportError.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.serviceConfigId !== "") { - writer.uint32(18).string(message.serviceConfigId); - } - if (message.serviceRolloutId !== "") { - writer.uint32(34).string(message.serviceRolloutId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ReportResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseReportResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.reportErrors.push(ReportResponse_ReportError.decode(reader, reader.uint32())); - break; - case 2: - message.serviceConfigId = reader.string(); - break; - case 4: - message.serviceRolloutId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ReportResponse { - const obj = createBaseReportResponse(); - if (Array.isArray(object?.reportErrors)) obj.reportErrors = object.reportErrors.map((e: any) => ReportResponse_ReportError.fromJSON(e)); - if (isSet(object.serviceConfigId)) obj.serviceConfigId = String(object.serviceConfigId); - if (isSet(object.serviceRolloutId)) obj.serviceRolloutId = String(object.serviceRolloutId); - return obj; - }, - toJSON(message: ReportResponse): unknown { - const obj: any = {}; - if (message.reportErrors) { - obj.reportErrors = message.reportErrors.map(e => e ? ReportResponse_ReportError.toJSON(e) : undefined); - } else { - obj.reportErrors = []; - } - message.serviceConfigId !== undefined && (obj.serviceConfigId = message.serviceConfigId); - message.serviceRolloutId !== undefined && (obj.serviceRolloutId = message.serviceRolloutId); - return obj; - }, - fromPartial(object: DeepPartial): ReportResponse { - const message = createBaseReportResponse(); - message.reportErrors = object.reportErrors?.map(e => ReportResponse_ReportError.fromPartial(e)) || []; - message.serviceConfigId = object.serviceConfigId ?? ""; - message.serviceRolloutId = object.serviceRolloutId ?? ""; - return message; - }, - fromSDK(object: ReportResponseSDKType): ReportResponse { - return { - reportErrors: Array.isArray(object?.report_errors) ? object.report_errors.map((e: any) => ReportResponse_ReportError.fromSDK(e)) : [], - serviceConfigId: object?.service_config_id, - serviceRolloutId: object?.service_rollout_id - }; - }, - toSDK(message: ReportResponse): ReportResponseSDKType { - const obj: any = {}; - if (message.reportErrors) { - obj.report_errors = message.reportErrors.map(e => e ? ReportResponse_ReportError.toSDK(e) : undefined); - } else { - obj.report_errors = []; - } - obj.service_config_id = message.serviceConfigId; - obj.service_rollout_id = message.serviceRolloutId; - return obj; - }, - fromAmino(object: ReportResponseAmino): ReportResponse { - return { - reportErrors: Array.isArray(object?.report_errors) ? object.report_errors.map((e: any) => ReportResponse_ReportError.fromAmino(e)) : [], - serviceConfigId: object.service_config_id, - serviceRolloutId: object.service_rollout_id - }; - }, - toAmino(message: ReportResponse): ReportResponseAmino { - const obj: any = {}; - if (message.reportErrors) { - obj.report_errors = message.reportErrors.map(e => e ? ReportResponse_ReportError.toAmino(e) : undefined); - } else { - obj.report_errors = []; - } - obj.service_config_id = message.serviceConfigId; - obj.service_rollout_id = message.serviceRolloutId; - return obj; - }, - fromAminoMsg(object: ReportResponseAminoMsg): ReportResponse { - return ReportResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ReportResponseProtoMsg): ReportResponse { - return ReportResponse.decode(message.value); - }, - toProto(message: ReportResponse): Uint8Array { - return ReportResponse.encode(message).finish(); - }, - toProtoMsg(message: ReportResponse): ReportResponseProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.ReportResponse", - value: ReportResponse.encode(message).finish() - }; - } -}; -function createBaseReportResponse_ReportError(): ReportResponse_ReportError { - return { - operationId: "", - status: Status.fromPartial({}) - }; -} -export const ReportResponse_ReportError = { - typeUrl: "/google.api.servicecontrol.v1.ReportError", - encode(message: ReportResponse_ReportError, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.operationId !== "") { - writer.uint32(10).string(message.operationId); - } - if (message.status !== undefined) { - Status.encode(message.status, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ReportResponse_ReportError { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseReportResponse_ReportError(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.operationId = reader.string(); - break; - case 2: - message.status = Status.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ReportResponse_ReportError { - const obj = createBaseReportResponse_ReportError(); - if (isSet(object.operationId)) obj.operationId = String(object.operationId); - if (isSet(object.status)) obj.status = Status.fromJSON(object.status); - return obj; - }, - toJSON(message: ReportResponse_ReportError): unknown { - const obj: any = {}; - message.operationId !== undefined && (obj.operationId = message.operationId); - message.status !== undefined && (obj.status = message.status ? Status.toJSON(message.status) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ReportResponse_ReportError { - const message = createBaseReportResponse_ReportError(); - message.operationId = object.operationId ?? ""; - if (object.status !== undefined && object.status !== null) { - message.status = Status.fromPartial(object.status); - } - return message; - }, - fromSDK(object: ReportResponse_ReportErrorSDKType): ReportResponse_ReportError { - return { - operationId: object?.operation_id, - status: object.status ? Status.fromSDK(object.status) : undefined - }; - }, - toSDK(message: ReportResponse_ReportError): ReportResponse_ReportErrorSDKType { - const obj: any = {}; - obj.operation_id = message.operationId; - message.status !== undefined && (obj.status = message.status ? Status.toSDK(message.status) : undefined); - return obj; - }, - fromAmino(object: ReportResponse_ReportErrorAmino): ReportResponse_ReportError { - return { - operationId: object.operation_id, - status: object?.status ? Status.fromAmino(object.status) : undefined - }; - }, - toAmino(message: ReportResponse_ReportError): ReportResponse_ReportErrorAmino { - const obj: any = {}; - obj.operation_id = message.operationId; - obj.status = message.status ? Status.toAmino(message.status) : undefined; - return obj; - }, - fromAminoMsg(object: ReportResponse_ReportErrorAminoMsg): ReportResponse_ReportError { - return ReportResponse_ReportError.fromAmino(object.value); - }, - fromProtoMsg(message: ReportResponse_ReportErrorProtoMsg): ReportResponse_ReportError { - return ReportResponse_ReportError.decode(message.value); - }, - toProto(message: ReportResponse_ReportError): Uint8Array { - return ReportResponse_ReportError.encode(message).finish(); - }, - toProtoMsg(message: ReportResponse_ReportError): ReportResponse_ReportErrorProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v1.ReportError", - value: ReportResponse_ReportError.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/servicecontrol/v2/service_controller.ts b/quicksilverjs/src/codegen/google/api/servicecontrol/v2/service_controller.ts deleted file mode 100644 index 2db6ee066..000000000 --- a/quicksilverjs/src/codegen/google/api/servicecontrol/v2/service_controller.ts +++ /dev/null @@ -1,990 +0,0 @@ -import { AttributeContext, AttributeContextAmino, AttributeContextSDKType } from "../../../rpc/context/attribute_context"; -import { Status, StatusAmino, StatusSDKType } from "../../../rpc/status"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, isObject } from "../../../../helpers"; -export const protobufPackage = "google.api.servicecontrol.v2"; -/** Request message for the Check method. */ -export interface CheckRequest { - /** - * The service name as specified in its service configuration. For example, - * `"pubsub.googleapis.com"`. - * - * See - * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) - * for the definition of a service name. - */ - serviceName: string; - /** - * Specifies the version of the service configuration that should be used to - * process the request. Must not be empty. Set this field to 'latest' to - * specify using the latest configuration. - */ - serviceConfigId: string; - /** Describes attributes about the operation being executed by the service. */ - attributes: AttributeContext; - /** Describes the resources and the policies applied to each resource. */ - resources: ResourceInfo[]; - /** Optional. Contains a comma-separated list of flags. */ - flags: string; -} -export interface CheckRequestProtoMsg { - typeUrl: "/google.api.servicecontrol.v2.CheckRequest"; - value: Uint8Array; -} -/** Request message for the Check method. */ -export interface CheckRequestAmino { - /** - * The service name as specified in its service configuration. For example, - * `"pubsub.googleapis.com"`. - * - * See - * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) - * for the definition of a service name. - */ - service_name: string; - /** - * Specifies the version of the service configuration that should be used to - * process the request. Must not be empty. Set this field to 'latest' to - * specify using the latest configuration. - */ - service_config_id: string; - /** Describes attributes about the operation being executed by the service. */ - attributes?: AttributeContextAmino; - /** Describes the resources and the policies applied to each resource. */ - resources: ResourceInfoAmino[]; - /** Optional. Contains a comma-separated list of flags. */ - flags: string; -} -export interface CheckRequestAminoMsg { - type: "/google.api.servicecontrol.v2.CheckRequest"; - value: CheckRequestAmino; -} -/** Request message for the Check method. */ -export interface CheckRequestSDKType { - service_name: string; - service_config_id: string; - attributes: AttributeContextSDKType; - resources: ResourceInfoSDKType[]; - flags: string; -} -/** Describes a resource referenced in the request. */ -export interface ResourceInfo { - /** The name of the resource referenced in the request. */ - name: string; - /** The resource type in the format of "{service}/{kind}". */ - type: string; - /** - * The resource permission needed for this request. - * The format must be "{service}/{plural}.{verb}". - */ - permission: string; - /** - * Optional. The identifier of the container of this resource. For Google - * Cloud APIs, the resource container must be one of the following formats: - * - `projects/` - * - `folders/` - * - `organizations/` - * For the policy enforcement on the container level (VPCSC and Location - * Policy check), this field takes precedence on the container extracted from - * name when presents. - */ - container: string; - /** - * Optional. The location of the resource. The value must be a valid zone, - * region or multiregion. For example: "europe-west4" or - * "northamerica-northeast1-a" - */ - location: string; -} -export interface ResourceInfoProtoMsg { - typeUrl: "/google.api.servicecontrol.v2.ResourceInfo"; - value: Uint8Array; -} -/** Describes a resource referenced in the request. */ -export interface ResourceInfoAmino { - /** The name of the resource referenced in the request. */ - name: string; - /** The resource type in the format of "{service}/{kind}". */ - type: string; - /** - * The resource permission needed for this request. - * The format must be "{service}/{plural}.{verb}". - */ - permission: string; - /** - * Optional. The identifier of the container of this resource. For Google - * Cloud APIs, the resource container must be one of the following formats: - * - `projects/` - * - `folders/` - * - `organizations/` - * For the policy enforcement on the container level (VPCSC and Location - * Policy check), this field takes precedence on the container extracted from - * name when presents. - */ - container: string; - /** - * Optional. The location of the resource. The value must be a valid zone, - * region or multiregion. For example: "europe-west4" or - * "northamerica-northeast1-a" - */ - location: string; -} -export interface ResourceInfoAminoMsg { - type: "/google.api.servicecontrol.v2.ResourceInfo"; - value: ResourceInfoAmino; -} -/** Describes a resource referenced in the request. */ -export interface ResourceInfoSDKType { - name: string; - type: string; - permission: string; - container: string; - location: string; -} -export interface CheckResponse_HeadersEntry { - key: string; - value: string; -} -export interface CheckResponse_HeadersEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface CheckResponse_HeadersEntryAmino { - key: string; - value: string; -} -export interface CheckResponse_HeadersEntryAminoMsg { - type: string; - value: CheckResponse_HeadersEntryAmino; -} -export interface CheckResponse_HeadersEntrySDKType { - key: string; - value: string; -} -/** Response message for the Check method. */ -export interface CheckResponse { - /** - * Operation is allowed when this field is not set. Any non-'OK' status - * indicates a denial; [google.rpc.Status.details][google.rpc.Status.details] - * would contain additional details about the denial. - */ - status: Status; - /** Returns a set of request contexts generated from the `CheckRequest`. */ - headers: { - [key: string]: string; - }; -} -export interface CheckResponseProtoMsg { - typeUrl: "/google.api.servicecontrol.v2.CheckResponse"; - value: Uint8Array; -} -/** Response message for the Check method. */ -export interface CheckResponseAmino { - /** - * Operation is allowed when this field is not set. Any non-'OK' status - * indicates a denial; [google.rpc.Status.details][google.rpc.Status.details] - * would contain additional details about the denial. - */ - status?: StatusAmino; - /** Returns a set of request contexts generated from the `CheckRequest`. */ - headers: { - [key: string]: string; - }; -} -export interface CheckResponseAminoMsg { - type: "/google.api.servicecontrol.v2.CheckResponse"; - value: CheckResponseAmino; -} -/** Response message for the Check method. */ -export interface CheckResponseSDKType { - status: StatusSDKType; - headers: { - [key: string]: string; - }; -} -/** Request message for the Report method. */ -export interface ReportRequest { - /** - * The service name as specified in its service configuration. For example, - * `"pubsub.googleapis.com"`. - * - * See - * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) - * for the definition of a service name. - */ - serviceName: string; - /** - * Specifies the version of the service configuration that should be used to - * process the request. Must not be empty. Set this field to 'latest' to - * specify using the latest configuration. - */ - serviceConfigId: string; - /** - * Describes the list of operations to be reported. Each operation is - * represented as an AttributeContext, and contains all attributes around an - * API access. - */ - operations: AttributeContext[]; -} -export interface ReportRequestProtoMsg { - typeUrl: "/google.api.servicecontrol.v2.ReportRequest"; - value: Uint8Array; -} -/** Request message for the Report method. */ -export interface ReportRequestAmino { - /** - * The service name as specified in its service configuration. For example, - * `"pubsub.googleapis.com"`. - * - * See - * [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service) - * for the definition of a service name. - */ - service_name: string; - /** - * Specifies the version of the service configuration that should be used to - * process the request. Must not be empty. Set this field to 'latest' to - * specify using the latest configuration. - */ - service_config_id: string; - /** - * Describes the list of operations to be reported. Each operation is - * represented as an AttributeContext, and contains all attributes around an - * API access. - */ - operations: AttributeContextAmino[]; -} -export interface ReportRequestAminoMsg { - type: "/google.api.servicecontrol.v2.ReportRequest"; - value: ReportRequestAmino; -} -/** Request message for the Report method. */ -export interface ReportRequestSDKType { - service_name: string; - service_config_id: string; - operations: AttributeContextSDKType[]; -} -/** - * Response message for the Report method. - * If the request contains any invalid data, the server returns an RPC error. - */ -export interface ReportResponse {} -export interface ReportResponseProtoMsg { - typeUrl: "/google.api.servicecontrol.v2.ReportResponse"; - value: Uint8Array; -} -/** - * Response message for the Report method. - * If the request contains any invalid data, the server returns an RPC error. - */ -export interface ReportResponseAmino {} -export interface ReportResponseAminoMsg { - type: "/google.api.servicecontrol.v2.ReportResponse"; - value: ReportResponseAmino; -} -/** - * Response message for the Report method. - * If the request contains any invalid data, the server returns an RPC error. - */ -export interface ReportResponseSDKType {} -function createBaseCheckRequest(): CheckRequest { - return { - serviceName: "", - serviceConfigId: "", - attributes: AttributeContext.fromPartial({}), - resources: [], - flags: "" - }; -} -export const CheckRequest = { - typeUrl: "/google.api.servicecontrol.v2.CheckRequest", - encode(message: CheckRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.serviceConfigId !== "") { - writer.uint32(18).string(message.serviceConfigId); - } - if (message.attributes !== undefined) { - AttributeContext.encode(message.attributes, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.resources) { - ResourceInfo.encode(v!, writer.uint32(34).fork()).ldelim(); - } - if (message.flags !== "") { - writer.uint32(42).string(message.flags); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.serviceConfigId = reader.string(); - break; - case 3: - message.attributes = AttributeContext.decode(reader, reader.uint32()); - break; - case 4: - message.resources.push(ResourceInfo.decode(reader, reader.uint32())); - break; - case 5: - message.flags = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckRequest { - const obj = createBaseCheckRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.serviceConfigId)) obj.serviceConfigId = String(object.serviceConfigId); - if (isSet(object.attributes)) obj.attributes = AttributeContext.fromJSON(object.attributes); - if (Array.isArray(object?.resources)) obj.resources = object.resources.map((e: any) => ResourceInfo.fromJSON(e)); - if (isSet(object.flags)) obj.flags = String(object.flags); - return obj; - }, - toJSON(message: CheckRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.serviceConfigId !== undefined && (obj.serviceConfigId = message.serviceConfigId); - message.attributes !== undefined && (obj.attributes = message.attributes ? AttributeContext.toJSON(message.attributes) : undefined); - if (message.resources) { - obj.resources = message.resources.map(e => e ? ResourceInfo.toJSON(e) : undefined); - } else { - obj.resources = []; - } - message.flags !== undefined && (obj.flags = message.flags); - return obj; - }, - fromPartial(object: DeepPartial): CheckRequest { - const message = createBaseCheckRequest(); - message.serviceName = object.serviceName ?? ""; - message.serviceConfigId = object.serviceConfigId ?? ""; - if (object.attributes !== undefined && object.attributes !== null) { - message.attributes = AttributeContext.fromPartial(object.attributes); - } - message.resources = object.resources?.map(e => ResourceInfo.fromPartial(e)) || []; - message.flags = object.flags ?? ""; - return message; - }, - fromSDK(object: CheckRequestSDKType): CheckRequest { - return { - serviceName: object?.service_name, - serviceConfigId: object?.service_config_id, - attributes: object.attributes ? AttributeContext.fromSDK(object.attributes) : undefined, - resources: Array.isArray(object?.resources) ? object.resources.map((e: any) => ResourceInfo.fromSDK(e)) : [], - flags: object?.flags - }; - }, - toSDK(message: CheckRequest): CheckRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.service_config_id = message.serviceConfigId; - message.attributes !== undefined && (obj.attributes = message.attributes ? AttributeContext.toSDK(message.attributes) : undefined); - if (message.resources) { - obj.resources = message.resources.map(e => e ? ResourceInfo.toSDK(e) : undefined); - } else { - obj.resources = []; - } - obj.flags = message.flags; - return obj; - }, - fromAmino(object: CheckRequestAmino): CheckRequest { - return { - serviceName: object.service_name, - serviceConfigId: object.service_config_id, - attributes: object?.attributes ? AttributeContext.fromAmino(object.attributes) : undefined, - resources: Array.isArray(object?.resources) ? object.resources.map((e: any) => ResourceInfo.fromAmino(e)) : [], - flags: object.flags - }; - }, - toAmino(message: CheckRequest): CheckRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.service_config_id = message.serviceConfigId; - obj.attributes = message.attributes ? AttributeContext.toAmino(message.attributes) : undefined; - if (message.resources) { - obj.resources = message.resources.map(e => e ? ResourceInfo.toAmino(e) : undefined); - } else { - obj.resources = []; - } - obj.flags = message.flags; - return obj; - }, - fromAminoMsg(object: CheckRequestAminoMsg): CheckRequest { - return CheckRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CheckRequestProtoMsg): CheckRequest { - return CheckRequest.decode(message.value); - }, - toProto(message: CheckRequest): Uint8Array { - return CheckRequest.encode(message).finish(); - }, - toProtoMsg(message: CheckRequest): CheckRequestProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v2.CheckRequest", - value: CheckRequest.encode(message).finish() - }; - } -}; -function createBaseResourceInfo(): ResourceInfo { - return { - name: "", - type: "", - permission: "", - container: "", - location: "" - }; -} -export const ResourceInfo = { - typeUrl: "/google.api.servicecontrol.v2.ResourceInfo", - encode(message: ResourceInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.type !== "") { - writer.uint32(18).string(message.type); - } - if (message.permission !== "") { - writer.uint32(26).string(message.permission); - } - if (message.container !== "") { - writer.uint32(34).string(message.container); - } - if (message.location !== "") { - writer.uint32(42).string(message.location); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ResourceInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseResourceInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.type = reader.string(); - break; - case 3: - message.permission = reader.string(); - break; - case 4: - message.container = reader.string(); - break; - case 5: - message.location = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ResourceInfo { - const obj = createBaseResourceInfo(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.type)) obj.type = String(object.type); - if (isSet(object.permission)) obj.permission = String(object.permission); - if (isSet(object.container)) obj.container = String(object.container); - if (isSet(object.location)) obj.location = String(object.location); - return obj; - }, - toJSON(message: ResourceInfo): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.type !== undefined && (obj.type = message.type); - message.permission !== undefined && (obj.permission = message.permission); - message.container !== undefined && (obj.container = message.container); - message.location !== undefined && (obj.location = message.location); - return obj; - }, - fromPartial(object: DeepPartial): ResourceInfo { - const message = createBaseResourceInfo(); - message.name = object.name ?? ""; - message.type = object.type ?? ""; - message.permission = object.permission ?? ""; - message.container = object.container ?? ""; - message.location = object.location ?? ""; - return message; - }, - fromSDK(object: ResourceInfoSDKType): ResourceInfo { - return { - name: object?.name, - type: object?.type, - permission: object?.permission, - container: object?.container, - location: object?.location - }; - }, - toSDK(message: ResourceInfo): ResourceInfoSDKType { - const obj: any = {}; - obj.name = message.name; - obj.type = message.type; - obj.permission = message.permission; - obj.container = message.container; - obj.location = message.location; - return obj; - }, - fromAmino(object: ResourceInfoAmino): ResourceInfo { - return { - name: object.name, - type: object.type, - permission: object.permission, - container: object.container, - location: object.location - }; - }, - toAmino(message: ResourceInfo): ResourceInfoAmino { - const obj: any = {}; - obj.name = message.name; - obj.type = message.type; - obj.permission = message.permission; - obj.container = message.container; - obj.location = message.location; - return obj; - }, - fromAminoMsg(object: ResourceInfoAminoMsg): ResourceInfo { - return ResourceInfo.fromAmino(object.value); - }, - fromProtoMsg(message: ResourceInfoProtoMsg): ResourceInfo { - return ResourceInfo.decode(message.value); - }, - toProto(message: ResourceInfo): Uint8Array { - return ResourceInfo.encode(message).finish(); - }, - toProtoMsg(message: ResourceInfo): ResourceInfoProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v2.ResourceInfo", - value: ResourceInfo.encode(message).finish() - }; - } -}; -function createBaseCheckResponse_HeadersEntry(): CheckResponse_HeadersEntry { - return { - key: "", - value: "" - }; -} -export const CheckResponse_HeadersEntry = { - encode(message: CheckResponse_HeadersEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckResponse_HeadersEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckResponse_HeadersEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckResponse_HeadersEntry { - const obj = createBaseCheckResponse_HeadersEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: CheckResponse_HeadersEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): CheckResponse_HeadersEntry { - const message = createBaseCheckResponse_HeadersEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: CheckResponse_HeadersEntrySDKType): CheckResponse_HeadersEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: CheckResponse_HeadersEntry): CheckResponse_HeadersEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: CheckResponse_HeadersEntryAmino): CheckResponse_HeadersEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: CheckResponse_HeadersEntry): CheckResponse_HeadersEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: CheckResponse_HeadersEntryAminoMsg): CheckResponse_HeadersEntry { - return CheckResponse_HeadersEntry.fromAmino(object.value); - }, - fromProtoMsg(message: CheckResponse_HeadersEntryProtoMsg): CheckResponse_HeadersEntry { - return CheckResponse_HeadersEntry.decode(message.value); - }, - toProto(message: CheckResponse_HeadersEntry): Uint8Array { - return CheckResponse_HeadersEntry.encode(message).finish(); - } -}; -function createBaseCheckResponse(): CheckResponse { - return { - status: Status.fromPartial({}), - headers: {} - }; -} -export const CheckResponse = { - typeUrl: "/google.api.servicecontrol.v2.CheckResponse", - encode(message: CheckResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.status !== undefined) { - Status.encode(message.status, writer.uint32(10).fork()).ldelim(); - } - Object.entries(message.headers).forEach(([key, value]) => { - CheckResponse_HeadersEntry.encode({ - key: (key as any), - value - }, writer.uint32(18).fork()).ldelim(); - }); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CheckResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCheckResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.status = Status.decode(reader, reader.uint32()); - break; - case 2: - const entry2 = CheckResponse_HeadersEntry.decode(reader, reader.uint32()); - if (entry2.value !== undefined) { - message.headers[entry2.key] = entry2.value; - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CheckResponse { - const obj = createBaseCheckResponse(); - if (isSet(object.status)) obj.status = Status.fromJSON(object.status); - if (isObject(object.headers)) obj.headers = Object.entries(object.headers).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - return obj; - }, - toJSON(message: CheckResponse): unknown { - const obj: any = {}; - message.status !== undefined && (obj.status = message.status ? Status.toJSON(message.status) : undefined); - obj.headers = {}; - if (message.headers) { - Object.entries(message.headers).forEach(([k, v]) => { - obj.headers[k] = v; - }); - } - return obj; - }, - fromPartial(object: DeepPartial): CheckResponse { - const message = createBaseCheckResponse(); - if (object.status !== undefined && object.status !== null) { - message.status = Status.fromPartial(object.status); - } - message.headers = Object.entries(object.headers ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - return message; - }, - fromSDK(object: CheckResponseSDKType): CheckResponse { - return { - status: object.status ? Status.fromSDK(object.status) : undefined, - headers: isObject(object.headers) ? Object.entries(object.headers).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {} - }; - }, - toSDK(message: CheckResponse): CheckResponseSDKType { - const obj: any = {}; - message.status !== undefined && (obj.status = message.status ? Status.toSDK(message.status) : undefined); - obj.headers = {}; - if (message.headers) { - Object.entries(message.headers).forEach(([k, v]) => { - obj.headers[k] = v; - }); - } - return obj; - }, - fromAmino(object: CheckResponseAmino): CheckResponse { - return { - status: object?.status ? Status.fromAmino(object.status) : undefined, - headers: isObject(object.headers) ? Object.entries(object.headers).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {} - }; - }, - toAmino(message: CheckResponse): CheckResponseAmino { - const obj: any = {}; - obj.status = message.status ? Status.toAmino(message.status) : undefined; - obj.headers = {}; - if (message.headers) { - Object.entries(message.headers).forEach(([k, v]) => { - obj.headers[k] = v; - }); - } - return obj; - }, - fromAminoMsg(object: CheckResponseAminoMsg): CheckResponse { - return CheckResponse.fromAmino(object.value); - }, - fromProtoMsg(message: CheckResponseProtoMsg): CheckResponse { - return CheckResponse.decode(message.value); - }, - toProto(message: CheckResponse): Uint8Array { - return CheckResponse.encode(message).finish(); - }, - toProtoMsg(message: CheckResponse): CheckResponseProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v2.CheckResponse", - value: CheckResponse.encode(message).finish() - }; - } -}; -function createBaseReportRequest(): ReportRequest { - return { - serviceName: "", - serviceConfigId: "", - operations: [] - }; -} -export const ReportRequest = { - typeUrl: "/google.api.servicecontrol.v2.ReportRequest", - encode(message: ReportRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.serviceConfigId !== "") { - writer.uint32(18).string(message.serviceConfigId); - } - for (const v of message.operations) { - AttributeContext.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ReportRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseReportRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.serviceConfigId = reader.string(); - break; - case 3: - message.operations.push(AttributeContext.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ReportRequest { - const obj = createBaseReportRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.serviceConfigId)) obj.serviceConfigId = String(object.serviceConfigId); - if (Array.isArray(object?.operations)) obj.operations = object.operations.map((e: any) => AttributeContext.fromJSON(e)); - return obj; - }, - toJSON(message: ReportRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.serviceConfigId !== undefined && (obj.serviceConfigId = message.serviceConfigId); - if (message.operations) { - obj.operations = message.operations.map(e => e ? AttributeContext.toJSON(e) : undefined); - } else { - obj.operations = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ReportRequest { - const message = createBaseReportRequest(); - message.serviceName = object.serviceName ?? ""; - message.serviceConfigId = object.serviceConfigId ?? ""; - message.operations = object.operations?.map(e => AttributeContext.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ReportRequestSDKType): ReportRequest { - return { - serviceName: object?.service_name, - serviceConfigId: object?.service_config_id, - operations: Array.isArray(object?.operations) ? object.operations.map((e: any) => AttributeContext.fromSDK(e)) : [] - }; - }, - toSDK(message: ReportRequest): ReportRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.service_config_id = message.serviceConfigId; - if (message.operations) { - obj.operations = message.operations.map(e => e ? AttributeContext.toSDK(e) : undefined); - } else { - obj.operations = []; - } - return obj; - }, - fromAmino(object: ReportRequestAmino): ReportRequest { - return { - serviceName: object.service_name, - serviceConfigId: object.service_config_id, - operations: Array.isArray(object?.operations) ? object.operations.map((e: any) => AttributeContext.fromAmino(e)) : [] - }; - }, - toAmino(message: ReportRequest): ReportRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.service_config_id = message.serviceConfigId; - if (message.operations) { - obj.operations = message.operations.map(e => e ? AttributeContext.toAmino(e) : undefined); - } else { - obj.operations = []; - } - return obj; - }, - fromAminoMsg(object: ReportRequestAminoMsg): ReportRequest { - return ReportRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ReportRequestProtoMsg): ReportRequest { - return ReportRequest.decode(message.value); - }, - toProto(message: ReportRequest): Uint8Array { - return ReportRequest.encode(message).finish(); - }, - toProtoMsg(message: ReportRequest): ReportRequestProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v2.ReportRequest", - value: ReportRequest.encode(message).finish() - }; - } -}; -function createBaseReportResponse(): ReportResponse { - return {}; -} -export const ReportResponse = { - typeUrl: "/google.api.servicecontrol.v2.ReportResponse", - encode(_: ReportResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ReportResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseReportResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): ReportResponse { - const obj = createBaseReportResponse(); - return obj; - }, - toJSON(_: ReportResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): ReportResponse { - const message = createBaseReportResponse(); - return message; - }, - fromSDK(_: ReportResponseSDKType): ReportResponse { - return {}; - }, - toSDK(_: ReportResponse): ReportResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: ReportResponseAmino): ReportResponse { - return {}; - }, - toAmino(_: ReportResponse): ReportResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: ReportResponseAminoMsg): ReportResponse { - return ReportResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ReportResponseProtoMsg): ReportResponse { - return ReportResponse.decode(message.value); - }, - toProto(message: ReportResponse): Uint8Array { - return ReportResponse.encode(message).finish(); - }, - toProtoMsg(message: ReportResponse): ReportResponseProtoMsg { - return { - typeUrl: "/google.api.servicecontrol.v2.ReportResponse", - value: ReportResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/servicemanagement/v1/resources.ts b/quicksilverjs/src/codegen/google/api/servicemanagement/v1/resources.ts deleted file mode 100644 index 5bc142d4f..000000000 --- a/quicksilverjs/src/codegen/google/api/servicemanagement/v1/resources.ts +++ /dev/null @@ -1,2116 +0,0 @@ -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../../protobuf/timestamp"; -import { ConfigChange, ConfigChangeAmino, ConfigChangeSDKType } from "../../config_change"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, toTimestamp, fromTimestamp, bytesFromBase64, base64FromBytes, isObject } from "../../../../helpers"; -export const protobufPackage = "google.api.servicemanagement.v1"; -/** Code describes the status of the operation (or one of its steps). */ -export enum OperationMetadata_Status { - /** STATUS_UNSPECIFIED - Unspecifed code. */ - STATUS_UNSPECIFIED = 0, - /** DONE - The operation or step has completed without errors. */ - DONE = 1, - /** NOT_STARTED - The operation or step has not started yet. */ - NOT_STARTED = 2, - /** IN_PROGRESS - The operation or step is in progress. */ - IN_PROGRESS = 3, - /** - * FAILED - The operation or step has completed with errors. If the operation is - * rollbackable, the rollback completed with errors too. - */ - FAILED = 4, - /** CANCELLED - The operation or step has completed with cancellation. */ - CANCELLED = 5, - UNRECOGNIZED = -1, -} -export const OperationMetadata_StatusSDKType = OperationMetadata_Status; -export const OperationMetadata_StatusAmino = OperationMetadata_Status; -export function operationMetadata_StatusFromJSON(object: any): OperationMetadata_Status { - switch (object) { - case 0: - case "STATUS_UNSPECIFIED": - return OperationMetadata_Status.STATUS_UNSPECIFIED; - case 1: - case "DONE": - return OperationMetadata_Status.DONE; - case 2: - case "NOT_STARTED": - return OperationMetadata_Status.NOT_STARTED; - case 3: - case "IN_PROGRESS": - return OperationMetadata_Status.IN_PROGRESS; - case 4: - case "FAILED": - return OperationMetadata_Status.FAILED; - case 5: - case "CANCELLED": - return OperationMetadata_Status.CANCELLED; - case -1: - case "UNRECOGNIZED": - default: - return OperationMetadata_Status.UNRECOGNIZED; - } -} -export function operationMetadata_StatusToJSON(object: OperationMetadata_Status): string { - switch (object) { - case OperationMetadata_Status.STATUS_UNSPECIFIED: - return "STATUS_UNSPECIFIED"; - case OperationMetadata_Status.DONE: - return "DONE"; - case OperationMetadata_Status.NOT_STARTED: - return "NOT_STARTED"; - case OperationMetadata_Status.IN_PROGRESS: - return "IN_PROGRESS"; - case OperationMetadata_Status.FAILED: - return "FAILED"; - case OperationMetadata_Status.CANCELLED: - return "CANCELLED"; - case OperationMetadata_Status.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** The kind of diagnostic information possible. */ -export enum Diagnostic_Kind { - /** WARNING - Warnings and errors */ - WARNING = 0, - /** ERROR - Only errors */ - ERROR = 1, - UNRECOGNIZED = -1, -} -export const Diagnostic_KindSDKType = Diagnostic_Kind; -export const Diagnostic_KindAmino = Diagnostic_Kind; -export function diagnostic_KindFromJSON(object: any): Diagnostic_Kind { - switch (object) { - case 0: - case "WARNING": - return Diagnostic_Kind.WARNING; - case 1: - case "ERROR": - return Diagnostic_Kind.ERROR; - case -1: - case "UNRECOGNIZED": - default: - return Diagnostic_Kind.UNRECOGNIZED; - } -} -export function diagnostic_KindToJSON(object: Diagnostic_Kind): string { - switch (object) { - case Diagnostic_Kind.WARNING: - return "WARNING"; - case Diagnostic_Kind.ERROR: - return "ERROR"; - case Diagnostic_Kind.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export enum ConfigFile_FileType { - /** FILE_TYPE_UNSPECIFIED - Unknown file type. */ - FILE_TYPE_UNSPECIFIED = 0, - /** SERVICE_CONFIG_YAML - YAML-specification of service. */ - SERVICE_CONFIG_YAML = 1, - /** OPEN_API_JSON - OpenAPI specification, serialized in JSON. */ - OPEN_API_JSON = 2, - /** OPEN_API_YAML - OpenAPI specification, serialized in YAML. */ - OPEN_API_YAML = 3, - /** - * FILE_DESCRIPTOR_SET_PROTO - FileDescriptorSet, generated by protoc. - * - * To generate, use protoc with imports and source info included. - * For an example test.proto file, the following command would put the value - * in a new file named out.pb. - * - * $protoc --include_imports --include_source_info test.proto -o out.pb - */ - FILE_DESCRIPTOR_SET_PROTO = 4, - /** - * PROTO_FILE - Uncompiled Proto file. Used for storage and display purposes only, - * currently server-side compilation is not supported. Should match the - * inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A - * file of this type can only be included if at least one file of type - * FILE_DESCRIPTOR_SET_PROTO is included. - */ - PROTO_FILE = 6, - UNRECOGNIZED = -1, -} -export const ConfigFile_FileTypeSDKType = ConfigFile_FileType; -export const ConfigFile_FileTypeAmino = ConfigFile_FileType; -export function configFile_FileTypeFromJSON(object: any): ConfigFile_FileType { - switch (object) { - case 0: - case "FILE_TYPE_UNSPECIFIED": - return ConfigFile_FileType.FILE_TYPE_UNSPECIFIED; - case 1: - case "SERVICE_CONFIG_YAML": - return ConfigFile_FileType.SERVICE_CONFIG_YAML; - case 2: - case "OPEN_API_JSON": - return ConfigFile_FileType.OPEN_API_JSON; - case 3: - case "OPEN_API_YAML": - return ConfigFile_FileType.OPEN_API_YAML; - case 4: - case "FILE_DESCRIPTOR_SET_PROTO": - return ConfigFile_FileType.FILE_DESCRIPTOR_SET_PROTO; - case 6: - case "PROTO_FILE": - return ConfigFile_FileType.PROTO_FILE; - case -1: - case "UNRECOGNIZED": - default: - return ConfigFile_FileType.UNRECOGNIZED; - } -} -export function configFile_FileTypeToJSON(object: ConfigFile_FileType): string { - switch (object) { - case ConfigFile_FileType.FILE_TYPE_UNSPECIFIED: - return "FILE_TYPE_UNSPECIFIED"; - case ConfigFile_FileType.SERVICE_CONFIG_YAML: - return "SERVICE_CONFIG_YAML"; - case ConfigFile_FileType.OPEN_API_JSON: - return "OPEN_API_JSON"; - case ConfigFile_FileType.OPEN_API_YAML: - return "OPEN_API_YAML"; - case ConfigFile_FileType.FILE_DESCRIPTOR_SET_PROTO: - return "FILE_DESCRIPTOR_SET_PROTO"; - case ConfigFile_FileType.PROTO_FILE: - return "PROTO_FILE"; - case ConfigFile_FileType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Status of a Rollout. */ -export enum Rollout_RolloutStatus { - /** ROLLOUT_STATUS_UNSPECIFIED - No status specified. */ - ROLLOUT_STATUS_UNSPECIFIED = 0, - /** IN_PROGRESS - The Rollout is in progress. */ - IN_PROGRESS = 1, - /** SUCCESS - The Rollout has completed successfully. */ - SUCCESS = 2, - /** - * CANCELLED - The Rollout has been cancelled. This can happen if you have overlapping - * Rollout pushes, and the previous ones will be cancelled. - */ - CANCELLED = 3, - /** FAILED - The Rollout has failed and the rollback attempt has failed too. */ - FAILED = 4, - /** PENDING - The Rollout has not started yet and is pending for execution. */ - PENDING = 5, - /** - * FAILED_ROLLED_BACK - The Rollout has failed and rolled back to the previous successful - * Rollout. - */ - FAILED_ROLLED_BACK = 6, - UNRECOGNIZED = -1, -} -export const Rollout_RolloutStatusSDKType = Rollout_RolloutStatus; -export const Rollout_RolloutStatusAmino = Rollout_RolloutStatus; -export function rollout_RolloutStatusFromJSON(object: any): Rollout_RolloutStatus { - switch (object) { - case 0: - case "ROLLOUT_STATUS_UNSPECIFIED": - return Rollout_RolloutStatus.ROLLOUT_STATUS_UNSPECIFIED; - case 1: - case "IN_PROGRESS": - return Rollout_RolloutStatus.IN_PROGRESS; - case 2: - case "SUCCESS": - return Rollout_RolloutStatus.SUCCESS; - case 3: - case "CANCELLED": - return Rollout_RolloutStatus.CANCELLED; - case 4: - case "FAILED": - return Rollout_RolloutStatus.FAILED; - case 5: - case "PENDING": - return Rollout_RolloutStatus.PENDING; - case 6: - case "FAILED_ROLLED_BACK": - return Rollout_RolloutStatus.FAILED_ROLLED_BACK; - case -1: - case "UNRECOGNIZED": - default: - return Rollout_RolloutStatus.UNRECOGNIZED; - } -} -export function rollout_RolloutStatusToJSON(object: Rollout_RolloutStatus): string { - switch (object) { - case Rollout_RolloutStatus.ROLLOUT_STATUS_UNSPECIFIED: - return "ROLLOUT_STATUS_UNSPECIFIED"; - case Rollout_RolloutStatus.IN_PROGRESS: - return "IN_PROGRESS"; - case Rollout_RolloutStatus.SUCCESS: - return "SUCCESS"; - case Rollout_RolloutStatus.CANCELLED: - return "CANCELLED"; - case Rollout_RolloutStatus.FAILED: - return "FAILED"; - case Rollout_RolloutStatus.PENDING: - return "PENDING"; - case Rollout_RolloutStatus.FAILED_ROLLED_BACK: - return "FAILED_ROLLED_BACK"; - case Rollout_RolloutStatus.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * The full representation of a Service that is managed by - * Google Service Management. - */ -export interface ManagedService { - /** - * The name of the service. See the [overview](/service-management/overview) - * for naming requirements. - */ - serviceName: string; - /** ID of the project that produces and owns this service. */ - producerProjectId: string; -} -export interface ManagedServiceProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.ManagedService"; - value: Uint8Array; -} -/** - * The full representation of a Service that is managed by - * Google Service Management. - */ -export interface ManagedServiceAmino { - /** - * The name of the service. See the [overview](/service-management/overview) - * for naming requirements. - */ - service_name: string; - /** ID of the project that produces and owns this service. */ - producer_project_id: string; -} -export interface ManagedServiceAminoMsg { - type: "/google.api.servicemanagement.v1.ManagedService"; - value: ManagedServiceAmino; -} -/** - * The full representation of a Service that is managed by - * Google Service Management. - */ -export interface ManagedServiceSDKType { - service_name: string; - producer_project_id: string; -} -/** The metadata associated with a long running operation resource. */ -export interface OperationMetadata { - /** - * The full name of the resources that this operation is directly - * associated with. - */ - resourceNames: string[]; - /** Detailed status information for each step. The order is undetermined. */ - steps: OperationMetadata_Step[]; - /** Percentage of completion of this operation, ranging from 0 to 100. */ - progressPercentage: number; - /** The start time of the operation. */ - startTime: Date; -} -export interface OperationMetadataProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.OperationMetadata"; - value: Uint8Array; -} -/** The metadata associated with a long running operation resource. */ -export interface OperationMetadataAmino { - /** - * The full name of the resources that this operation is directly - * associated with. - */ - resource_names: string[]; - /** Detailed status information for each step. The order is undetermined. */ - steps: OperationMetadata_StepAmino[]; - /** Percentage of completion of this operation, ranging from 0 to 100. */ - progress_percentage: number; - /** The start time of the operation. */ - start_time?: Date; -} -export interface OperationMetadataAminoMsg { - type: "/google.api.servicemanagement.v1.OperationMetadata"; - value: OperationMetadataAmino; -} -/** The metadata associated with a long running operation resource. */ -export interface OperationMetadataSDKType { - resource_names: string[]; - steps: OperationMetadata_StepSDKType[]; - progress_percentage: number; - start_time: Date; -} -/** Represents the status of one operation step. */ -export interface OperationMetadata_Step { - /** The short description of the step. */ - description: string; - /** The status code. */ - status: OperationMetadata_Status; -} -export interface OperationMetadata_StepProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.Step"; - value: Uint8Array; -} -/** Represents the status of one operation step. */ -export interface OperationMetadata_StepAmino { - /** The short description of the step. */ - description: string; - /** The status code. */ - status: OperationMetadata_Status; -} -export interface OperationMetadata_StepAminoMsg { - type: "/google.api.servicemanagement.v1.Step"; - value: OperationMetadata_StepAmino; -} -/** Represents the status of one operation step. */ -export interface OperationMetadata_StepSDKType { - description: string; - status: OperationMetadata_Status; -} -/** Represents a diagnostic message (error or warning) */ -export interface Diagnostic { - /** File name and line number of the error or warning. */ - location: string; - /** The kind of diagnostic information provided. */ - kind: Diagnostic_Kind; - /** Message describing the error or warning. */ - message: string; -} -export interface DiagnosticProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.Diagnostic"; - value: Uint8Array; -} -/** Represents a diagnostic message (error or warning) */ -export interface DiagnosticAmino { - /** File name and line number of the error or warning. */ - location: string; - /** The kind of diagnostic information provided. */ - kind: Diagnostic_Kind; - /** Message describing the error or warning. */ - message: string; -} -export interface DiagnosticAminoMsg { - type: "/google.api.servicemanagement.v1.Diagnostic"; - value: DiagnosticAmino; -} -/** Represents a diagnostic message (error or warning) */ -export interface DiagnosticSDKType { - location: string; - kind: Diagnostic_Kind; - message: string; -} -/** - * Represents a source file which is used to generate the service configuration - * defined by `google.api.Service`. - */ -export interface ConfigSource { - /** - * A unique ID for a specific instance of this message, typically assigned - * by the client for tracking purpose. If empty, the server may choose to - * generate one instead. - */ - id: string; - /** - * Set of source configuration files that are used to generate a service - * configuration (`google.api.Service`). - */ - files: ConfigFile[]; -} -export interface ConfigSourceProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.ConfigSource"; - value: Uint8Array; -} -/** - * Represents a source file which is used to generate the service configuration - * defined by `google.api.Service`. - */ -export interface ConfigSourceAmino { - /** - * A unique ID for a specific instance of this message, typically assigned - * by the client for tracking purpose. If empty, the server may choose to - * generate one instead. - */ - id: string; - /** - * Set of source configuration files that are used to generate a service - * configuration (`google.api.Service`). - */ - files: ConfigFileAmino[]; -} -export interface ConfigSourceAminoMsg { - type: "/google.api.servicemanagement.v1.ConfigSource"; - value: ConfigSourceAmino; -} -/** - * Represents a source file which is used to generate the service configuration - * defined by `google.api.Service`. - */ -export interface ConfigSourceSDKType { - id: string; - files: ConfigFileSDKType[]; -} -/** Generic specification of a source configuration file */ -export interface ConfigFile { - /** The file name of the configuration file (full or relative path). */ - filePath: string; - /** The bytes that constitute the file. */ - fileContents: Uint8Array; - /** The type of configuration file this represents. */ - fileType: ConfigFile_FileType; -} -export interface ConfigFileProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.ConfigFile"; - value: Uint8Array; -} -/** Generic specification of a source configuration file */ -export interface ConfigFileAmino { - /** The file name of the configuration file (full or relative path). */ - file_path: string; - /** The bytes that constitute the file. */ - file_contents: Uint8Array; - /** The type of configuration file this represents. */ - file_type: ConfigFile_FileType; -} -export interface ConfigFileAminoMsg { - type: "/google.api.servicemanagement.v1.ConfigFile"; - value: ConfigFileAmino; -} -/** Generic specification of a source configuration file */ -export interface ConfigFileSDKType { - file_path: string; - file_contents: Uint8Array; - file_type: ConfigFile_FileType; -} -/** Represents a service configuration with its name and id. */ -export interface ConfigRef { - /** - * Resource name of a service config. It must have the following - * format: "services/{service name}/configs/{config id}". - */ - name: string; -} -export interface ConfigRefProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.ConfigRef"; - value: Uint8Array; -} -/** Represents a service configuration with its name and id. */ -export interface ConfigRefAmino { - /** - * Resource name of a service config. It must have the following - * format: "services/{service name}/configs/{config id}". - */ - name: string; -} -export interface ConfigRefAminoMsg { - type: "/google.api.servicemanagement.v1.ConfigRef"; - value: ConfigRefAmino; -} -/** Represents a service configuration with its name and id. */ -export interface ConfigRefSDKType { - name: string; -} -/** - * Change report associated with a particular service configuration. - * - * It contains a list of ConfigChanges based on the comparison between - * two service configurations. - */ -export interface ChangeReport { - /** - * List of changes between two service configurations. - * The changes will be alphabetically sorted based on the identifier - * of each change. - * A ConfigChange identifier is a dot separated path to the configuration. - * Example: visibility.rules[selector='LibraryService.CreateBook'].restriction - */ - configChanges: ConfigChange[]; -} -export interface ChangeReportProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.ChangeReport"; - value: Uint8Array; -} -/** - * Change report associated with a particular service configuration. - * - * It contains a list of ConfigChanges based on the comparison between - * two service configurations. - */ -export interface ChangeReportAmino { - /** - * List of changes between two service configurations. - * The changes will be alphabetically sorted based on the identifier - * of each change. - * A ConfigChange identifier is a dot separated path to the configuration. - * Example: visibility.rules[selector='LibraryService.CreateBook'].restriction - */ - config_changes: ConfigChangeAmino[]; -} -export interface ChangeReportAminoMsg { - type: "/google.api.servicemanagement.v1.ChangeReport"; - value: ChangeReportAmino; -} -/** - * Change report associated with a particular service configuration. - * - * It contains a list of ConfigChanges based on the comparison between - * two service configurations. - */ -export interface ChangeReportSDKType { - config_changes: ConfigChangeSDKType[]; -} -/** - * A rollout resource that defines how service configuration versions are pushed - * to control plane systems. Typically, you create a new version of the - * service config, and then create a Rollout to push the service config. - */ -export interface Rollout { - /** - * Optional. Unique identifier of this Rollout. Must be no longer than 63 characters - * and only lower case letters, digits, '.', '_' and '-' are allowed. - * - * If not specified by client, the server will generate one. The generated id - * will have the form of , where "date" is the create - * date in ISO 8601 format. "revision number" is a monotonically increasing - * positive number that is reset every day for each service. - * An example of the generated rollout_id is '2016-02-16r1' - */ - rolloutId: string; - /** Creation time of the rollout. Readonly. */ - createTime: Date; - /** The user who created the Rollout. Readonly. */ - createdBy: string; - /** - * The status of this rollout. Readonly. In case of a failed rollout, - * the system will automatically rollback to the current Rollout - * version. Readonly. - */ - status: Rollout_RolloutStatus; - /** - * Google Service Control selects service configurations based on - * traffic percentage. - */ - trafficPercentStrategy?: Rollout_TrafficPercentStrategy; - /** - * The strategy associated with a rollout to delete a `ManagedService`. - * Readonly. - */ - deleteServiceStrategy?: Rollout_DeleteServiceStrategy; - /** The name of the service associated with this Rollout. */ - serviceName: string; -} -export interface RolloutProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.Rollout"; - value: Uint8Array; -} -/** - * A rollout resource that defines how service configuration versions are pushed - * to control plane systems. Typically, you create a new version of the - * service config, and then create a Rollout to push the service config. - */ -export interface RolloutAmino { - /** - * Optional. Unique identifier of this Rollout. Must be no longer than 63 characters - * and only lower case letters, digits, '.', '_' and '-' are allowed. - * - * If not specified by client, the server will generate one. The generated id - * will have the form of , where "date" is the create - * date in ISO 8601 format. "revision number" is a monotonically increasing - * positive number that is reset every day for each service. - * An example of the generated rollout_id is '2016-02-16r1' - */ - rollout_id: string; - /** Creation time of the rollout. Readonly. */ - create_time?: Date; - /** The user who created the Rollout. Readonly. */ - created_by: string; - /** - * The status of this rollout. Readonly. In case of a failed rollout, - * the system will automatically rollback to the current Rollout - * version. Readonly. - */ - status: Rollout_RolloutStatus; - /** - * Google Service Control selects service configurations based on - * traffic percentage. - */ - traffic_percent_strategy?: Rollout_TrafficPercentStrategyAmino; - /** - * The strategy associated with a rollout to delete a `ManagedService`. - * Readonly. - */ - delete_service_strategy?: Rollout_DeleteServiceStrategyAmino; - /** The name of the service associated with this Rollout. */ - service_name: string; -} -export interface RolloutAminoMsg { - type: "/google.api.servicemanagement.v1.Rollout"; - value: RolloutAmino; -} -/** - * A rollout resource that defines how service configuration versions are pushed - * to control plane systems. Typically, you create a new version of the - * service config, and then create a Rollout to push the service config. - */ -export interface RolloutSDKType { - rollout_id: string; - create_time: Date; - created_by: string; - status: Rollout_RolloutStatus; - traffic_percent_strategy?: Rollout_TrafficPercentStrategySDKType; - delete_service_strategy?: Rollout_DeleteServiceStrategySDKType; - service_name: string; -} -export interface Rollout_TrafficPercentStrategy_PercentagesEntry { - key: string; - value: number; -} -export interface Rollout_TrafficPercentStrategy_PercentagesEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface Rollout_TrafficPercentStrategy_PercentagesEntryAmino { - key: string; - value: number; -} -export interface Rollout_TrafficPercentStrategy_PercentagesEntryAminoMsg { - type: string; - value: Rollout_TrafficPercentStrategy_PercentagesEntryAmino; -} -export interface Rollout_TrafficPercentStrategy_PercentagesEntrySDKType { - key: string; - value: number; -} -/** - * Strategy that specifies how clients of Google Service Controller want to - * send traffic to use different config versions. This is generally - * used by API proxy to split traffic based on your configured percentage for - * each config version. - * - * One example of how to gradually rollout a new service configuration using - * this - * strategy: - * Day 1 - * - * Rollout { - * id: "example.googleapis.com/rollout_20160206" - * traffic_percent_strategy { - * percentages: { - * "example.googleapis.com/20160201": 70.00 - * "example.googleapis.com/20160206": 30.00 - * } - * } - * } - * - * Day 2 - * - * Rollout { - * id: "example.googleapis.com/rollout_20160207" - * traffic_percent_strategy: { - * percentages: { - * "example.googleapis.com/20160206": 100.00 - * } - * } - * } - */ -export interface Rollout_TrafficPercentStrategy { - /** - * Maps service configuration IDs to their corresponding traffic percentage. - * Key is the service configuration ID, Value is the traffic percentage - * which must be greater than 0.0 and the sum must equal to 100.0. - */ - percentages: { - [key: string]: number; - }; -} -export interface Rollout_TrafficPercentStrategyProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.TrafficPercentStrategy"; - value: Uint8Array; -} -/** - * Strategy that specifies how clients of Google Service Controller want to - * send traffic to use different config versions. This is generally - * used by API proxy to split traffic based on your configured percentage for - * each config version. - * - * One example of how to gradually rollout a new service configuration using - * this - * strategy: - * Day 1 - * - * Rollout { - * id: "example.googleapis.com/rollout_20160206" - * traffic_percent_strategy { - * percentages: { - * "example.googleapis.com/20160201": 70.00 - * "example.googleapis.com/20160206": 30.00 - * } - * } - * } - * - * Day 2 - * - * Rollout { - * id: "example.googleapis.com/rollout_20160207" - * traffic_percent_strategy: { - * percentages: { - * "example.googleapis.com/20160206": 100.00 - * } - * } - * } - */ -export interface Rollout_TrafficPercentStrategyAmino { - /** - * Maps service configuration IDs to their corresponding traffic percentage. - * Key is the service configuration ID, Value is the traffic percentage - * which must be greater than 0.0 and the sum must equal to 100.0. - */ - percentages: { - [key: string]: number; - }; -} -export interface Rollout_TrafficPercentStrategyAminoMsg { - type: "/google.api.servicemanagement.v1.TrafficPercentStrategy"; - value: Rollout_TrafficPercentStrategyAmino; -} -/** - * Strategy that specifies how clients of Google Service Controller want to - * send traffic to use different config versions. This is generally - * used by API proxy to split traffic based on your configured percentage for - * each config version. - * - * One example of how to gradually rollout a new service configuration using - * this - * strategy: - * Day 1 - * - * Rollout { - * id: "example.googleapis.com/rollout_20160206" - * traffic_percent_strategy { - * percentages: { - * "example.googleapis.com/20160201": 70.00 - * "example.googleapis.com/20160206": 30.00 - * } - * } - * } - * - * Day 2 - * - * Rollout { - * id: "example.googleapis.com/rollout_20160207" - * traffic_percent_strategy: { - * percentages: { - * "example.googleapis.com/20160206": 100.00 - * } - * } - * } - */ -export interface Rollout_TrafficPercentStrategySDKType { - percentages: { - [key: string]: number; - }; -} -/** - * Strategy used to delete a service. This strategy is a placeholder only - * used by the system generated rollout to delete a service. - */ -export interface Rollout_DeleteServiceStrategy {} -export interface Rollout_DeleteServiceStrategyProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.DeleteServiceStrategy"; - value: Uint8Array; -} -/** - * Strategy used to delete a service. This strategy is a placeholder only - * used by the system generated rollout to delete a service. - */ -export interface Rollout_DeleteServiceStrategyAmino {} -export interface Rollout_DeleteServiceStrategyAminoMsg { - type: "/google.api.servicemanagement.v1.DeleteServiceStrategy"; - value: Rollout_DeleteServiceStrategyAmino; -} -/** - * Strategy used to delete a service. This strategy is a placeholder only - * used by the system generated rollout to delete a service. - */ -export interface Rollout_DeleteServiceStrategySDKType {} -function createBaseManagedService(): ManagedService { - return { - serviceName: "", - producerProjectId: "" - }; -} -export const ManagedService = { - typeUrl: "/google.api.servicemanagement.v1.ManagedService", - encode(message: ManagedService, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(18).string(message.serviceName); - } - if (message.producerProjectId !== "") { - writer.uint32(26).string(message.producerProjectId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ManagedService { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseManagedService(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.serviceName = reader.string(); - break; - case 3: - message.producerProjectId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ManagedService { - const obj = createBaseManagedService(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.producerProjectId)) obj.producerProjectId = String(object.producerProjectId); - return obj; - }, - toJSON(message: ManagedService): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.producerProjectId !== undefined && (obj.producerProjectId = message.producerProjectId); - return obj; - }, - fromPartial(object: DeepPartial): ManagedService { - const message = createBaseManagedService(); - message.serviceName = object.serviceName ?? ""; - message.producerProjectId = object.producerProjectId ?? ""; - return message; - }, - fromSDK(object: ManagedServiceSDKType): ManagedService { - return { - serviceName: object?.service_name, - producerProjectId: object?.producer_project_id - }; - }, - toSDK(message: ManagedService): ManagedServiceSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.producer_project_id = message.producerProjectId; - return obj; - }, - fromAmino(object: ManagedServiceAmino): ManagedService { - return { - serviceName: object.service_name, - producerProjectId: object.producer_project_id - }; - }, - toAmino(message: ManagedService): ManagedServiceAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.producer_project_id = message.producerProjectId; - return obj; - }, - fromAminoMsg(object: ManagedServiceAminoMsg): ManagedService { - return ManagedService.fromAmino(object.value); - }, - fromProtoMsg(message: ManagedServiceProtoMsg): ManagedService { - return ManagedService.decode(message.value); - }, - toProto(message: ManagedService): Uint8Array { - return ManagedService.encode(message).finish(); - }, - toProtoMsg(message: ManagedService): ManagedServiceProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.ManagedService", - value: ManagedService.encode(message).finish() - }; - } -}; -function createBaseOperationMetadata(): OperationMetadata { - return { - resourceNames: [], - steps: [], - progressPercentage: 0, - startTime: new Date() - }; -} -export const OperationMetadata = { - typeUrl: "/google.api.servicemanagement.v1.OperationMetadata", - encode(message: OperationMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.resourceNames) { - writer.uint32(10).string(v!); - } - for (const v of message.steps) { - OperationMetadata_Step.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.progressPercentage !== 0) { - writer.uint32(24).int32(message.progressPercentage); - } - if (message.startTime !== undefined) { - Timestamp.encode(toTimestamp(message.startTime), writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): OperationMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOperationMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.resourceNames.push(reader.string()); - break; - case 2: - message.steps.push(OperationMetadata_Step.decode(reader, reader.uint32())); - break; - case 3: - message.progressPercentage = reader.int32(); - break; - case 4: - message.startTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): OperationMetadata { - const obj = createBaseOperationMetadata(); - if (Array.isArray(object?.resourceNames)) obj.resourceNames = object.resourceNames.map((e: any) => String(e)); - if (Array.isArray(object?.steps)) obj.steps = object.steps.map((e: any) => OperationMetadata_Step.fromJSON(e)); - if (isSet(object.progressPercentage)) obj.progressPercentage = Number(object.progressPercentage); - if (isSet(object.startTime)) obj.startTime = new Date(object.startTime); - return obj; - }, - toJSON(message: OperationMetadata): unknown { - const obj: any = {}; - if (message.resourceNames) { - obj.resourceNames = message.resourceNames.map(e => e); - } else { - obj.resourceNames = []; - } - if (message.steps) { - obj.steps = message.steps.map(e => e ? OperationMetadata_Step.toJSON(e) : undefined); - } else { - obj.steps = []; - } - message.progressPercentage !== undefined && (obj.progressPercentage = Math.round(message.progressPercentage)); - message.startTime !== undefined && (obj.startTime = message.startTime.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): OperationMetadata { - const message = createBaseOperationMetadata(); - message.resourceNames = object.resourceNames?.map(e => e) || []; - message.steps = object.steps?.map(e => OperationMetadata_Step.fromPartial(e)) || []; - message.progressPercentage = object.progressPercentage ?? 0; - message.startTime = object.startTime ?? undefined; - return message; - }, - fromSDK(object: OperationMetadataSDKType): OperationMetadata { - return { - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [], - steps: Array.isArray(object?.steps) ? object.steps.map((e: any) => OperationMetadata_Step.fromSDK(e)) : [], - progressPercentage: object?.progress_percentage, - startTime: object.start_time ?? undefined - }; - }, - toSDK(message: OperationMetadata): OperationMetadataSDKType { - const obj: any = {}; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - if (message.steps) { - obj.steps = message.steps.map(e => e ? OperationMetadata_Step.toSDK(e) : undefined); - } else { - obj.steps = []; - } - obj.progress_percentage = message.progressPercentage; - message.startTime !== undefined && (obj.start_time = message.startTime ?? undefined); - return obj; - }, - fromAmino(object: OperationMetadataAmino): OperationMetadata { - return { - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [], - steps: Array.isArray(object?.steps) ? object.steps.map((e: any) => OperationMetadata_Step.fromAmino(e)) : [], - progressPercentage: object.progress_percentage, - startTime: object.start_time - }; - }, - toAmino(message: OperationMetadata): OperationMetadataAmino { - const obj: any = {}; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - if (message.steps) { - obj.steps = message.steps.map(e => e ? OperationMetadata_Step.toAmino(e) : undefined); - } else { - obj.steps = []; - } - obj.progress_percentage = message.progressPercentage; - obj.start_time = message.startTime; - return obj; - }, - fromAminoMsg(object: OperationMetadataAminoMsg): OperationMetadata { - return OperationMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: OperationMetadataProtoMsg): OperationMetadata { - return OperationMetadata.decode(message.value); - }, - toProto(message: OperationMetadata): Uint8Array { - return OperationMetadata.encode(message).finish(); - }, - toProtoMsg(message: OperationMetadata): OperationMetadataProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.OperationMetadata", - value: OperationMetadata.encode(message).finish() - }; - } -}; -function createBaseOperationMetadata_Step(): OperationMetadata_Step { - return { - description: "", - status: 0 - }; -} -export const OperationMetadata_Step = { - typeUrl: "/google.api.servicemanagement.v1.Step", - encode(message: OperationMetadata_Step, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.status !== 0) { - writer.uint32(32).int32(message.status); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): OperationMetadata_Step { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOperationMetadata_Step(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.description = reader.string(); - break; - case 4: - message.status = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): OperationMetadata_Step { - const obj = createBaseOperationMetadata_Step(); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.status)) obj.status = operationMetadata_StatusFromJSON(object.status); - return obj; - }, - toJSON(message: OperationMetadata_Step): unknown { - const obj: any = {}; - message.description !== undefined && (obj.description = message.description); - message.status !== undefined && (obj.status = operationMetadata_StatusToJSON(message.status)); - return obj; - }, - fromPartial(object: DeepPartial): OperationMetadata_Step { - const message = createBaseOperationMetadata_Step(); - message.description = object.description ?? ""; - message.status = object.status ?? 0; - return message; - }, - fromSDK(object: OperationMetadata_StepSDKType): OperationMetadata_Step { - return { - description: object?.description, - status: isSet(object.status) ? operationMetadata_StatusFromJSON(object.status) : -1 - }; - }, - toSDK(message: OperationMetadata_Step): OperationMetadata_StepSDKType { - const obj: any = {}; - obj.description = message.description; - message.status !== undefined && (obj.status = operationMetadata_StatusToJSON(message.status)); - return obj; - }, - fromAmino(object: OperationMetadata_StepAmino): OperationMetadata_Step { - return { - description: object.description, - status: isSet(object.status) ? operationMetadata_StatusFromJSON(object.status) : -1 - }; - }, - toAmino(message: OperationMetadata_Step): OperationMetadata_StepAmino { - const obj: any = {}; - obj.description = message.description; - obj.status = message.status; - return obj; - }, - fromAminoMsg(object: OperationMetadata_StepAminoMsg): OperationMetadata_Step { - return OperationMetadata_Step.fromAmino(object.value); - }, - fromProtoMsg(message: OperationMetadata_StepProtoMsg): OperationMetadata_Step { - return OperationMetadata_Step.decode(message.value); - }, - toProto(message: OperationMetadata_Step): Uint8Array { - return OperationMetadata_Step.encode(message).finish(); - }, - toProtoMsg(message: OperationMetadata_Step): OperationMetadata_StepProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.Step", - value: OperationMetadata_Step.encode(message).finish() - }; - } -}; -function createBaseDiagnostic(): Diagnostic { - return { - location: "", - kind: 0, - message: "" - }; -} -export const Diagnostic = { - typeUrl: "/google.api.servicemanagement.v1.Diagnostic", - encode(message: Diagnostic, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.location !== "") { - writer.uint32(10).string(message.location); - } - if (message.kind !== 0) { - writer.uint32(16).int32(message.kind); - } - if (message.message !== "") { - writer.uint32(26).string(message.message); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Diagnostic { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDiagnostic(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.location = reader.string(); - break; - case 2: - message.kind = (reader.int32() as any); - break; - case 3: - message.message = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Diagnostic { - const obj = createBaseDiagnostic(); - if (isSet(object.location)) obj.location = String(object.location); - if (isSet(object.kind)) obj.kind = diagnostic_KindFromJSON(object.kind); - if (isSet(object.message)) obj.message = String(object.message); - return obj; - }, - toJSON(message: Diagnostic): unknown { - const obj: any = {}; - message.location !== undefined && (obj.location = message.location); - message.kind !== undefined && (obj.kind = diagnostic_KindToJSON(message.kind)); - message.message !== undefined && (obj.message = message.message); - return obj; - }, - fromPartial(object: DeepPartial): Diagnostic { - const message = createBaseDiagnostic(); - message.location = object.location ?? ""; - message.kind = object.kind ?? 0; - message.message = object.message ?? ""; - return message; - }, - fromSDK(object: DiagnosticSDKType): Diagnostic { - return { - location: object?.location, - kind: isSet(object.kind) ? diagnostic_KindFromJSON(object.kind) : -1, - message: object?.message - }; - }, - toSDK(message: Diagnostic): DiagnosticSDKType { - const obj: any = {}; - obj.location = message.location; - message.kind !== undefined && (obj.kind = diagnostic_KindToJSON(message.kind)); - obj.message = message.message; - return obj; - }, - fromAmino(object: DiagnosticAmino): Diagnostic { - return { - location: object.location, - kind: isSet(object.kind) ? diagnostic_KindFromJSON(object.kind) : -1, - message: object.message - }; - }, - toAmino(message: Diagnostic): DiagnosticAmino { - const obj: any = {}; - obj.location = message.location; - obj.kind = message.kind; - obj.message = message.message; - return obj; - }, - fromAminoMsg(object: DiagnosticAminoMsg): Diagnostic { - return Diagnostic.fromAmino(object.value); - }, - fromProtoMsg(message: DiagnosticProtoMsg): Diagnostic { - return Diagnostic.decode(message.value); - }, - toProto(message: Diagnostic): Uint8Array { - return Diagnostic.encode(message).finish(); - }, - toProtoMsg(message: Diagnostic): DiagnosticProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.Diagnostic", - value: Diagnostic.encode(message).finish() - }; - } -}; -function createBaseConfigSource(): ConfigSource { - return { - id: "", - files: [] - }; -} -export const ConfigSource = { - typeUrl: "/google.api.servicemanagement.v1.ConfigSource", - encode(message: ConfigSource, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== "") { - writer.uint32(42).string(message.id); - } - for (const v of message.files) { - ConfigFile.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ConfigSource { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConfigSource(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 5: - message.id = reader.string(); - break; - case 2: - message.files.push(ConfigFile.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ConfigSource { - const obj = createBaseConfigSource(); - if (isSet(object.id)) obj.id = String(object.id); - if (Array.isArray(object?.files)) obj.files = object.files.map((e: any) => ConfigFile.fromJSON(e)); - return obj; - }, - toJSON(message: ConfigSource): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - if (message.files) { - obj.files = message.files.map(e => e ? ConfigFile.toJSON(e) : undefined); - } else { - obj.files = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ConfigSource { - const message = createBaseConfigSource(); - message.id = object.id ?? ""; - message.files = object.files?.map(e => ConfigFile.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ConfigSourceSDKType): ConfigSource { - return { - id: object?.id, - files: Array.isArray(object?.files) ? object.files.map((e: any) => ConfigFile.fromSDK(e)) : [] - }; - }, - toSDK(message: ConfigSource): ConfigSourceSDKType { - const obj: any = {}; - obj.id = message.id; - if (message.files) { - obj.files = message.files.map(e => e ? ConfigFile.toSDK(e) : undefined); - } else { - obj.files = []; - } - return obj; - }, - fromAmino(object: ConfigSourceAmino): ConfigSource { - return { - id: object.id, - files: Array.isArray(object?.files) ? object.files.map((e: any) => ConfigFile.fromAmino(e)) : [] - }; - }, - toAmino(message: ConfigSource): ConfigSourceAmino { - const obj: any = {}; - obj.id = message.id; - if (message.files) { - obj.files = message.files.map(e => e ? ConfigFile.toAmino(e) : undefined); - } else { - obj.files = []; - } - return obj; - }, - fromAminoMsg(object: ConfigSourceAminoMsg): ConfigSource { - return ConfigSource.fromAmino(object.value); - }, - fromProtoMsg(message: ConfigSourceProtoMsg): ConfigSource { - return ConfigSource.decode(message.value); - }, - toProto(message: ConfigSource): Uint8Array { - return ConfigSource.encode(message).finish(); - }, - toProtoMsg(message: ConfigSource): ConfigSourceProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.ConfigSource", - value: ConfigSource.encode(message).finish() - }; - } -}; -function createBaseConfigFile(): ConfigFile { - return { - filePath: "", - fileContents: new Uint8Array(), - fileType: 0 - }; -} -export const ConfigFile = { - typeUrl: "/google.api.servicemanagement.v1.ConfigFile", - encode(message: ConfigFile, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.filePath !== "") { - writer.uint32(10).string(message.filePath); - } - if (message.fileContents.length !== 0) { - writer.uint32(26).bytes(message.fileContents); - } - if (message.fileType !== 0) { - writer.uint32(32).int32(message.fileType); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ConfigFile { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConfigFile(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.filePath = reader.string(); - break; - case 3: - message.fileContents = reader.bytes(); - break; - case 4: - message.fileType = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ConfigFile { - const obj = createBaseConfigFile(); - if (isSet(object.filePath)) obj.filePath = String(object.filePath); - if (isSet(object.fileContents)) obj.fileContents = bytesFromBase64(object.fileContents); - if (isSet(object.fileType)) obj.fileType = configFile_FileTypeFromJSON(object.fileType); - return obj; - }, - toJSON(message: ConfigFile): unknown { - const obj: any = {}; - message.filePath !== undefined && (obj.filePath = message.filePath); - message.fileContents !== undefined && (obj.fileContents = base64FromBytes(message.fileContents !== undefined ? message.fileContents : new Uint8Array())); - message.fileType !== undefined && (obj.fileType = configFile_FileTypeToJSON(message.fileType)); - return obj; - }, - fromPartial(object: DeepPartial): ConfigFile { - const message = createBaseConfigFile(); - message.filePath = object.filePath ?? ""; - message.fileContents = object.fileContents ?? new Uint8Array(); - message.fileType = object.fileType ?? 0; - return message; - }, - fromSDK(object: ConfigFileSDKType): ConfigFile { - return { - filePath: object?.file_path, - fileContents: object?.file_contents, - fileType: isSet(object.file_type) ? configFile_FileTypeFromJSON(object.file_type) : -1 - }; - }, - toSDK(message: ConfigFile): ConfigFileSDKType { - const obj: any = {}; - obj.file_path = message.filePath; - obj.file_contents = message.fileContents; - message.fileType !== undefined && (obj.file_type = configFile_FileTypeToJSON(message.fileType)); - return obj; - }, - fromAmino(object: ConfigFileAmino): ConfigFile { - return { - filePath: object.file_path, - fileContents: object.file_contents, - fileType: isSet(object.file_type) ? configFile_FileTypeFromJSON(object.file_type) : -1 - }; - }, - toAmino(message: ConfigFile): ConfigFileAmino { - const obj: any = {}; - obj.file_path = message.filePath; - obj.file_contents = message.fileContents; - obj.file_type = message.fileType; - return obj; - }, - fromAminoMsg(object: ConfigFileAminoMsg): ConfigFile { - return ConfigFile.fromAmino(object.value); - }, - fromProtoMsg(message: ConfigFileProtoMsg): ConfigFile { - return ConfigFile.decode(message.value); - }, - toProto(message: ConfigFile): Uint8Array { - return ConfigFile.encode(message).finish(); - }, - toProtoMsg(message: ConfigFile): ConfigFileProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.ConfigFile", - value: ConfigFile.encode(message).finish() - }; - } -}; -function createBaseConfigRef(): ConfigRef { - return { - name: "" - }; -} -export const ConfigRef = { - typeUrl: "/google.api.servicemanagement.v1.ConfigRef", - encode(message: ConfigRef, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ConfigRef { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConfigRef(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ConfigRef { - const obj = createBaseConfigRef(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: ConfigRef): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): ConfigRef { - const message = createBaseConfigRef(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: ConfigRefSDKType): ConfigRef { - return { - name: object?.name - }; - }, - toSDK(message: ConfigRef): ConfigRefSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: ConfigRefAmino): ConfigRef { - return { - name: object.name - }; - }, - toAmino(message: ConfigRef): ConfigRefAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: ConfigRefAminoMsg): ConfigRef { - return ConfigRef.fromAmino(object.value); - }, - fromProtoMsg(message: ConfigRefProtoMsg): ConfigRef { - return ConfigRef.decode(message.value); - }, - toProto(message: ConfigRef): Uint8Array { - return ConfigRef.encode(message).finish(); - }, - toProtoMsg(message: ConfigRef): ConfigRefProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.ConfigRef", - value: ConfigRef.encode(message).finish() - }; - } -}; -function createBaseChangeReport(): ChangeReport { - return { - configChanges: [] - }; -} -export const ChangeReport = { - typeUrl: "/google.api.servicemanagement.v1.ChangeReport", - encode(message: ChangeReport, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.configChanges) { - ConfigChange.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ChangeReport { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseChangeReport(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.configChanges.push(ConfigChange.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ChangeReport { - const obj = createBaseChangeReport(); - if (Array.isArray(object?.configChanges)) obj.configChanges = object.configChanges.map((e: any) => ConfigChange.fromJSON(e)); - return obj; - }, - toJSON(message: ChangeReport): unknown { - const obj: any = {}; - if (message.configChanges) { - obj.configChanges = message.configChanges.map(e => e ? ConfigChange.toJSON(e) : undefined); - } else { - obj.configChanges = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ChangeReport { - const message = createBaseChangeReport(); - message.configChanges = object.configChanges?.map(e => ConfigChange.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ChangeReportSDKType): ChangeReport { - return { - configChanges: Array.isArray(object?.config_changes) ? object.config_changes.map((e: any) => ConfigChange.fromSDK(e)) : [] - }; - }, - toSDK(message: ChangeReport): ChangeReportSDKType { - const obj: any = {}; - if (message.configChanges) { - obj.config_changes = message.configChanges.map(e => e ? ConfigChange.toSDK(e) : undefined); - } else { - obj.config_changes = []; - } - return obj; - }, - fromAmino(object: ChangeReportAmino): ChangeReport { - return { - configChanges: Array.isArray(object?.config_changes) ? object.config_changes.map((e: any) => ConfigChange.fromAmino(e)) : [] - }; - }, - toAmino(message: ChangeReport): ChangeReportAmino { - const obj: any = {}; - if (message.configChanges) { - obj.config_changes = message.configChanges.map(e => e ? ConfigChange.toAmino(e) : undefined); - } else { - obj.config_changes = []; - } - return obj; - }, - fromAminoMsg(object: ChangeReportAminoMsg): ChangeReport { - return ChangeReport.fromAmino(object.value); - }, - fromProtoMsg(message: ChangeReportProtoMsg): ChangeReport { - return ChangeReport.decode(message.value); - }, - toProto(message: ChangeReport): Uint8Array { - return ChangeReport.encode(message).finish(); - }, - toProtoMsg(message: ChangeReport): ChangeReportProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.ChangeReport", - value: ChangeReport.encode(message).finish() - }; - } -}; -function createBaseRollout(): Rollout { - return { - rolloutId: "", - createTime: new Date(), - createdBy: "", - status: 0, - trafficPercentStrategy: undefined, - deleteServiceStrategy: undefined, - serviceName: "" - }; -} -export const Rollout = { - typeUrl: "/google.api.servicemanagement.v1.Rollout", - encode(message: Rollout, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.rolloutId !== "") { - writer.uint32(10).string(message.rolloutId); - } - if (message.createTime !== undefined) { - Timestamp.encode(toTimestamp(message.createTime), writer.uint32(18).fork()).ldelim(); - } - if (message.createdBy !== "") { - writer.uint32(26).string(message.createdBy); - } - if (message.status !== 0) { - writer.uint32(32).int32(message.status); - } - if (message.trafficPercentStrategy !== undefined) { - Rollout_TrafficPercentStrategy.encode(message.trafficPercentStrategy, writer.uint32(42).fork()).ldelim(); - } - if (message.deleteServiceStrategy !== undefined) { - Rollout_DeleteServiceStrategy.encode(message.deleteServiceStrategy, writer.uint32(1602).fork()).ldelim(); - } - if (message.serviceName !== "") { - writer.uint32(66).string(message.serviceName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Rollout { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRollout(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rolloutId = reader.string(); - break; - case 2: - message.createTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 3: - message.createdBy = reader.string(); - break; - case 4: - message.status = (reader.int32() as any); - break; - case 5: - message.trafficPercentStrategy = Rollout_TrafficPercentStrategy.decode(reader, reader.uint32()); - break; - case 200: - message.deleteServiceStrategy = Rollout_DeleteServiceStrategy.decode(reader, reader.uint32()); - break; - case 8: - message.serviceName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Rollout { - const obj = createBaseRollout(); - if (isSet(object.rolloutId)) obj.rolloutId = String(object.rolloutId); - if (isSet(object.createTime)) obj.createTime = new Date(object.createTime); - if (isSet(object.createdBy)) obj.createdBy = String(object.createdBy); - if (isSet(object.status)) obj.status = rollout_RolloutStatusFromJSON(object.status); - if (isSet(object.trafficPercentStrategy)) obj.trafficPercentStrategy = Rollout_TrafficPercentStrategy.fromJSON(object.trafficPercentStrategy); - if (isSet(object.deleteServiceStrategy)) obj.deleteServiceStrategy = Rollout_DeleteServiceStrategy.fromJSON(object.deleteServiceStrategy); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - return obj; - }, - toJSON(message: Rollout): unknown { - const obj: any = {}; - message.rolloutId !== undefined && (obj.rolloutId = message.rolloutId); - message.createTime !== undefined && (obj.createTime = message.createTime.toISOString()); - message.createdBy !== undefined && (obj.createdBy = message.createdBy); - message.status !== undefined && (obj.status = rollout_RolloutStatusToJSON(message.status)); - message.trafficPercentStrategy !== undefined && (obj.trafficPercentStrategy = message.trafficPercentStrategy ? Rollout_TrafficPercentStrategy.toJSON(message.trafficPercentStrategy) : undefined); - message.deleteServiceStrategy !== undefined && (obj.deleteServiceStrategy = message.deleteServiceStrategy ? Rollout_DeleteServiceStrategy.toJSON(message.deleteServiceStrategy) : undefined); - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - return obj; - }, - fromPartial(object: DeepPartial): Rollout { - const message = createBaseRollout(); - message.rolloutId = object.rolloutId ?? ""; - message.createTime = object.createTime ?? undefined; - message.createdBy = object.createdBy ?? ""; - message.status = object.status ?? 0; - if (object.trafficPercentStrategy !== undefined && object.trafficPercentStrategy !== null) { - message.trafficPercentStrategy = Rollout_TrafficPercentStrategy.fromPartial(object.trafficPercentStrategy); - } - if (object.deleteServiceStrategy !== undefined && object.deleteServiceStrategy !== null) { - message.deleteServiceStrategy = Rollout_DeleteServiceStrategy.fromPartial(object.deleteServiceStrategy); - } - message.serviceName = object.serviceName ?? ""; - return message; - }, - fromSDK(object: RolloutSDKType): Rollout { - return { - rolloutId: object?.rollout_id, - createTime: object.create_time ?? undefined, - createdBy: object?.created_by, - status: isSet(object.status) ? rollout_RolloutStatusFromJSON(object.status) : -1, - trafficPercentStrategy: object.traffic_percent_strategy ? Rollout_TrafficPercentStrategy.fromSDK(object.traffic_percent_strategy) : undefined, - deleteServiceStrategy: object.delete_service_strategy ? Rollout_DeleteServiceStrategy.fromSDK(object.delete_service_strategy) : undefined, - serviceName: object?.service_name - }; - }, - toSDK(message: Rollout): RolloutSDKType { - const obj: any = {}; - obj.rollout_id = message.rolloutId; - message.createTime !== undefined && (obj.create_time = message.createTime ?? undefined); - obj.created_by = message.createdBy; - message.status !== undefined && (obj.status = rollout_RolloutStatusToJSON(message.status)); - message.trafficPercentStrategy !== undefined && (obj.traffic_percent_strategy = message.trafficPercentStrategy ? Rollout_TrafficPercentStrategy.toSDK(message.trafficPercentStrategy) : undefined); - message.deleteServiceStrategy !== undefined && (obj.delete_service_strategy = message.deleteServiceStrategy ? Rollout_DeleteServiceStrategy.toSDK(message.deleteServiceStrategy) : undefined); - obj.service_name = message.serviceName; - return obj; - }, - fromAmino(object: RolloutAmino): Rollout { - return { - rolloutId: object.rollout_id, - createTime: object.create_time, - createdBy: object.created_by, - status: isSet(object.status) ? rollout_RolloutStatusFromJSON(object.status) : -1, - trafficPercentStrategy: object?.traffic_percent_strategy ? Rollout_TrafficPercentStrategy.fromAmino(object.traffic_percent_strategy) : undefined, - deleteServiceStrategy: object?.delete_service_strategy ? Rollout_DeleteServiceStrategy.fromAmino(object.delete_service_strategy) : undefined, - serviceName: object.service_name - }; - }, - toAmino(message: Rollout): RolloutAmino { - const obj: any = {}; - obj.rollout_id = message.rolloutId; - obj.create_time = message.createTime; - obj.created_by = message.createdBy; - obj.status = message.status; - obj.traffic_percent_strategy = message.trafficPercentStrategy ? Rollout_TrafficPercentStrategy.toAmino(message.trafficPercentStrategy) : undefined; - obj.delete_service_strategy = message.deleteServiceStrategy ? Rollout_DeleteServiceStrategy.toAmino(message.deleteServiceStrategy) : undefined; - obj.service_name = message.serviceName; - return obj; - }, - fromAminoMsg(object: RolloutAminoMsg): Rollout { - return Rollout.fromAmino(object.value); - }, - fromProtoMsg(message: RolloutProtoMsg): Rollout { - return Rollout.decode(message.value); - }, - toProto(message: Rollout): Uint8Array { - return Rollout.encode(message).finish(); - }, - toProtoMsg(message: Rollout): RolloutProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.Rollout", - value: Rollout.encode(message).finish() - }; - } -}; -function createBaseRollout_TrafficPercentStrategy_PercentagesEntry(): Rollout_TrafficPercentStrategy_PercentagesEntry { - return { - key: "", - value: 0 - }; -} -export const Rollout_TrafficPercentStrategy_PercentagesEntry = { - encode(message: Rollout_TrafficPercentStrategy_PercentagesEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== 0) { - writer.uint32(17).double(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Rollout_TrafficPercentStrategy_PercentagesEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRollout_TrafficPercentStrategy_PercentagesEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.double(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Rollout_TrafficPercentStrategy_PercentagesEntry { - const obj = createBaseRollout_TrafficPercentStrategy_PercentagesEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = Number(object.value); - return obj; - }, - toJSON(message: Rollout_TrafficPercentStrategy_PercentagesEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): Rollout_TrafficPercentStrategy_PercentagesEntry { - const message = createBaseRollout_TrafficPercentStrategy_PercentagesEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? 0; - return message; - }, - fromSDK(object: Rollout_TrafficPercentStrategy_PercentagesEntrySDKType): Rollout_TrafficPercentStrategy_PercentagesEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: Rollout_TrafficPercentStrategy_PercentagesEntry): Rollout_TrafficPercentStrategy_PercentagesEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: Rollout_TrafficPercentStrategy_PercentagesEntryAmino): Rollout_TrafficPercentStrategy_PercentagesEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: Rollout_TrafficPercentStrategy_PercentagesEntry): Rollout_TrafficPercentStrategy_PercentagesEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: Rollout_TrafficPercentStrategy_PercentagesEntryAminoMsg): Rollout_TrafficPercentStrategy_PercentagesEntry { - return Rollout_TrafficPercentStrategy_PercentagesEntry.fromAmino(object.value); - }, - fromProtoMsg(message: Rollout_TrafficPercentStrategy_PercentagesEntryProtoMsg): Rollout_TrafficPercentStrategy_PercentagesEntry { - return Rollout_TrafficPercentStrategy_PercentagesEntry.decode(message.value); - }, - toProto(message: Rollout_TrafficPercentStrategy_PercentagesEntry): Uint8Array { - return Rollout_TrafficPercentStrategy_PercentagesEntry.encode(message).finish(); - } -}; -function createBaseRollout_TrafficPercentStrategy(): Rollout_TrafficPercentStrategy { - return { - percentages: {} - }; -} -export const Rollout_TrafficPercentStrategy = { - typeUrl: "/google.api.servicemanagement.v1.TrafficPercentStrategy", - encode(message: Rollout_TrafficPercentStrategy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - Object.entries(message.percentages).forEach(([key, value]) => { - Rollout_TrafficPercentStrategy_PercentagesEntry.encode({ - key: (key as any), - value - }, writer.uint32(9).fork()).ldelim(); - }); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Rollout_TrafficPercentStrategy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRollout_TrafficPercentStrategy(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - const entry1 = Rollout_TrafficPercentStrategy_PercentagesEntry.decode(reader, reader.uint32()); - if (entry1.value !== undefined) { - message.percentages[entry1.key] = entry1.value; - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Rollout_TrafficPercentStrategy { - const obj = createBaseRollout_TrafficPercentStrategy(); - if (isObject(object.percentages)) obj.percentages = Object.entries(object.percentages).reduce<{ - [key: string]: double; - }>((acc, [key, value]) => { - acc[key] = double.fromJSON(value); - return acc; - }, {}); - return obj; - }, - toJSON(message: Rollout_TrafficPercentStrategy): unknown { - const obj: any = {}; - obj.percentages = {}; - if (message.percentages) { - Object.entries(message.percentages).forEach(([k, v]) => { - obj.percentages[k] = double.toJSON(v); - }); - } - return obj; - }, - fromPartial(object: DeepPartial): Rollout_TrafficPercentStrategy { - const message = createBaseRollout_TrafficPercentStrategy(); - message.percentages = Object.entries(object.percentages ?? {}).reduce<{ - [key: string]: double; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = double.fromPartial(value); - } - return acc; - }, {}); - return message; - }, - fromSDK(object: Rollout_TrafficPercentStrategySDKType): Rollout_TrafficPercentStrategy { - return { - percentages: isObject(object.percentages) ? Object.entries(object.percentages).reduce<{ - [key: string]: double; - }>((acc, [key, value]) => { - acc[key] = double.fromSDK(value); - return acc; - }, {}) : {} - }; - }, - toSDK(message: Rollout_TrafficPercentStrategy): Rollout_TrafficPercentStrategySDKType { - const obj: any = {}; - obj.percentages = {}; - if (message.percentages) { - Object.entries(message.percentages).forEach(([k, v]) => { - obj.percentages[k] = double.toSDK(v); - }); - } - return obj; - }, - fromAmino(object: Rollout_TrafficPercentStrategyAmino): Rollout_TrafficPercentStrategy { - return { - percentages: isObject(object.percentages) ? Object.entries(object.percentages).reduce<{ - [key: string]: double; - }>((acc, [key, value]) => { - acc[key] = double.fromAmino(value); - return acc; - }, {}) : {} - }; - }, - toAmino(message: Rollout_TrafficPercentStrategy): Rollout_TrafficPercentStrategyAmino { - const obj: any = {}; - obj.percentages = {}; - if (message.percentages) { - Object.entries(message.percentages).forEach(([k, v]) => { - obj.percentages[k] = double.toAmino(v); - }); - } - return obj; - }, - fromAminoMsg(object: Rollout_TrafficPercentStrategyAminoMsg): Rollout_TrafficPercentStrategy { - return Rollout_TrafficPercentStrategy.fromAmino(object.value); - }, - fromProtoMsg(message: Rollout_TrafficPercentStrategyProtoMsg): Rollout_TrafficPercentStrategy { - return Rollout_TrafficPercentStrategy.decode(message.value); - }, - toProto(message: Rollout_TrafficPercentStrategy): Uint8Array { - return Rollout_TrafficPercentStrategy.encode(message).finish(); - }, - toProtoMsg(message: Rollout_TrafficPercentStrategy): Rollout_TrafficPercentStrategyProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.TrafficPercentStrategy", - value: Rollout_TrafficPercentStrategy.encode(message).finish() - }; - } -}; -function createBaseRollout_DeleteServiceStrategy(): Rollout_DeleteServiceStrategy { - return {}; -} -export const Rollout_DeleteServiceStrategy = { - typeUrl: "/google.api.servicemanagement.v1.DeleteServiceStrategy", - encode(_: Rollout_DeleteServiceStrategy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Rollout_DeleteServiceStrategy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseRollout_DeleteServiceStrategy(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): Rollout_DeleteServiceStrategy { - const obj = createBaseRollout_DeleteServiceStrategy(); - return obj; - }, - toJSON(_: Rollout_DeleteServiceStrategy): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): Rollout_DeleteServiceStrategy { - const message = createBaseRollout_DeleteServiceStrategy(); - return message; - }, - fromSDK(_: Rollout_DeleteServiceStrategySDKType): Rollout_DeleteServiceStrategy { - return {}; - }, - toSDK(_: Rollout_DeleteServiceStrategy): Rollout_DeleteServiceStrategySDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: Rollout_DeleteServiceStrategyAmino): Rollout_DeleteServiceStrategy { - return {}; - }, - toAmino(_: Rollout_DeleteServiceStrategy): Rollout_DeleteServiceStrategyAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: Rollout_DeleteServiceStrategyAminoMsg): Rollout_DeleteServiceStrategy { - return Rollout_DeleteServiceStrategy.fromAmino(object.value); - }, - fromProtoMsg(message: Rollout_DeleteServiceStrategyProtoMsg): Rollout_DeleteServiceStrategy { - return Rollout_DeleteServiceStrategy.decode(message.value); - }, - toProto(message: Rollout_DeleteServiceStrategy): Uint8Array { - return Rollout_DeleteServiceStrategy.encode(message).finish(); - }, - toProtoMsg(message: Rollout_DeleteServiceStrategy): Rollout_DeleteServiceStrategyProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.DeleteServiceStrategy", - value: Rollout_DeleteServiceStrategy.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/servicemanagement/v1/servicemanager.ts b/quicksilverjs/src/codegen/google/api/servicemanagement/v1/servicemanager.ts deleted file mode 100644 index ba6b3e6e1..000000000 --- a/quicksilverjs/src/codegen/google/api/servicemanagement/v1/servicemanager.ts +++ /dev/null @@ -1,2675 +0,0 @@ -import { ManagedService, ManagedServiceAmino, ManagedServiceSDKType, ConfigSource, ConfigSourceAmino, ConfigSourceSDKType, Rollout, RolloutAmino, RolloutSDKType, ChangeReport, ChangeReportAmino, ChangeReportSDKType, Diagnostic, DiagnosticAmino, DiagnosticSDKType } from "./resources"; -import { Service, ServiceAmino, ServiceSDKType } from "../../service"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../../protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../../helpers"; -export const protobufPackage = "google.api.servicemanagement.v1"; -export enum GetServiceConfigRequest_ConfigView { - /** BASIC - Server response includes all fields except SourceInfo. */ - BASIC = 0, - /** - * FULL - Server response includes all fields including SourceInfo. - * SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile' - * and are only available for configs created using the - * SubmitConfigSource method. - */ - FULL = 1, - UNRECOGNIZED = -1, -} -export const GetServiceConfigRequest_ConfigViewSDKType = GetServiceConfigRequest_ConfigView; -export const GetServiceConfigRequest_ConfigViewAmino = GetServiceConfigRequest_ConfigView; -export function getServiceConfigRequest_ConfigViewFromJSON(object: any): GetServiceConfigRequest_ConfigView { - switch (object) { - case 0: - case "BASIC": - return GetServiceConfigRequest_ConfigView.BASIC; - case 1: - case "FULL": - return GetServiceConfigRequest_ConfigView.FULL; - case -1: - case "UNRECOGNIZED": - default: - return GetServiceConfigRequest_ConfigView.UNRECOGNIZED; - } -} -export function getServiceConfigRequest_ConfigViewToJSON(object: GetServiceConfigRequest_ConfigView): string { - switch (object) { - case GetServiceConfigRequest_ConfigView.BASIC: - return "BASIC"; - case GetServiceConfigRequest_ConfigView.FULL: - return "FULL"; - case GetServiceConfigRequest_ConfigView.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Request message for `ListServices` method. */ -export interface ListServicesRequest { - /** Include services produced by the specified project. */ - producerProjectId: string; - /** - * The max number of items to include in the response list. Page size is 50 - * if not specified. Maximum value is 100. - */ - pageSize: number; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - pageToken: string; - /** - * Include services consumed by the specified consumer. - * - * The Google Service Management implementation accepts the following - * forms: - * - project: - */ - /** @deprecated */ - consumerId: string; -} -export interface ListServicesRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.ListServicesRequest"; - value: Uint8Array; -} -/** Request message for `ListServices` method. */ -export interface ListServicesRequestAmino { - /** Include services produced by the specified project. */ - producer_project_id: string; - /** - * The max number of items to include in the response list. Page size is 50 - * if not specified. Maximum value is 100. - */ - page_size: number; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - page_token: string; - /** - * Include services consumed by the specified consumer. - * - * The Google Service Management implementation accepts the following - * forms: - * - project: - */ - /** @deprecated */ - consumer_id: string; -} -export interface ListServicesRequestAminoMsg { - type: "/google.api.servicemanagement.v1.ListServicesRequest"; - value: ListServicesRequestAmino; -} -/** Request message for `ListServices` method. */ -export interface ListServicesRequestSDKType { - producer_project_id: string; - page_size: number; - page_token: string; - /** @deprecated */ - consumer_id: string; -} -/** Response message for `ListServices` method. */ -export interface ListServicesResponse { - /** The returned services will only have the name field set. */ - services: ManagedService[]; - /** Token that can be passed to `ListServices` to resume a paginated query. */ - nextPageToken: string; -} -export interface ListServicesResponseProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.ListServicesResponse"; - value: Uint8Array; -} -/** Response message for `ListServices` method. */ -export interface ListServicesResponseAmino { - /** The returned services will only have the name field set. */ - services: ManagedServiceAmino[]; - /** Token that can be passed to `ListServices` to resume a paginated query. */ - next_page_token: string; -} -export interface ListServicesResponseAminoMsg { - type: "/google.api.servicemanagement.v1.ListServicesResponse"; - value: ListServicesResponseAmino; -} -/** Response message for `ListServices` method. */ -export interface ListServicesResponseSDKType { - services: ManagedServiceSDKType[]; - next_page_token: string; -} -/** Request message for `GetService` method. */ -export interface GetServiceRequest { - /** - * Required. The name of the service. See the `ServiceManager` overview for naming - * requirements. For example: `example.googleapis.com`. - */ - serviceName: string; -} -export interface GetServiceRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.GetServiceRequest"; - value: Uint8Array; -} -/** Request message for `GetService` method. */ -export interface GetServiceRequestAmino { - /** - * Required. The name of the service. See the `ServiceManager` overview for naming - * requirements. For example: `example.googleapis.com`. - */ - service_name: string; -} -export interface GetServiceRequestAminoMsg { - type: "/google.api.servicemanagement.v1.GetServiceRequest"; - value: GetServiceRequestAmino; -} -/** Request message for `GetService` method. */ -export interface GetServiceRequestSDKType { - service_name: string; -} -/** Request message for CreateService method. */ -export interface CreateServiceRequest { - /** Required. Initial values for the service resource. */ - service: ManagedService; -} -export interface CreateServiceRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.CreateServiceRequest"; - value: Uint8Array; -} -/** Request message for CreateService method. */ -export interface CreateServiceRequestAmino { - /** Required. Initial values for the service resource. */ - service?: ManagedServiceAmino; -} -export interface CreateServiceRequestAminoMsg { - type: "/google.api.servicemanagement.v1.CreateServiceRequest"; - value: CreateServiceRequestAmino; -} -/** Request message for CreateService method. */ -export interface CreateServiceRequestSDKType { - service: ManagedServiceSDKType; -} -/** Request message for DeleteService method. */ -export interface DeleteServiceRequest { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - serviceName: string; -} -export interface DeleteServiceRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.DeleteServiceRequest"; - value: Uint8Array; -} -/** Request message for DeleteService method. */ -export interface DeleteServiceRequestAmino { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - service_name: string; -} -export interface DeleteServiceRequestAminoMsg { - type: "/google.api.servicemanagement.v1.DeleteServiceRequest"; - value: DeleteServiceRequestAmino; -} -/** Request message for DeleteService method. */ -export interface DeleteServiceRequestSDKType { - service_name: string; -} -/** Request message for UndeleteService method. */ -export interface UndeleteServiceRequest { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - serviceName: string; -} -export interface UndeleteServiceRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.UndeleteServiceRequest"; - value: Uint8Array; -} -/** Request message for UndeleteService method. */ -export interface UndeleteServiceRequestAmino { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - service_name: string; -} -export interface UndeleteServiceRequestAminoMsg { - type: "/google.api.servicemanagement.v1.UndeleteServiceRequest"; - value: UndeleteServiceRequestAmino; -} -/** Request message for UndeleteService method. */ -export interface UndeleteServiceRequestSDKType { - service_name: string; -} -/** Response message for UndeleteService method. */ -export interface UndeleteServiceResponse { - /** Revived service resource. */ - service: ManagedService; -} -export interface UndeleteServiceResponseProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.UndeleteServiceResponse"; - value: Uint8Array; -} -/** Response message for UndeleteService method. */ -export interface UndeleteServiceResponseAmino { - /** Revived service resource. */ - service?: ManagedServiceAmino; -} -export interface UndeleteServiceResponseAminoMsg { - type: "/google.api.servicemanagement.v1.UndeleteServiceResponse"; - value: UndeleteServiceResponseAmino; -} -/** Response message for UndeleteService method. */ -export interface UndeleteServiceResponseSDKType { - service: ManagedServiceSDKType; -} -/** Request message for GetServiceConfig method. */ -export interface GetServiceConfigRequest { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - serviceName: string; - /** - * Required. The id of the service configuration resource. - * - * This field must be specified for the server to return all fields, including - * `SourceInfo`. - */ - configId: string; - /** - * Specifies which parts of the Service Config should be returned in the - * response. - */ - view: GetServiceConfigRequest_ConfigView; -} -export interface GetServiceConfigRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.GetServiceConfigRequest"; - value: Uint8Array; -} -/** Request message for GetServiceConfig method. */ -export interface GetServiceConfigRequestAmino { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - service_name: string; - /** - * Required. The id of the service configuration resource. - * - * This field must be specified for the server to return all fields, including - * `SourceInfo`. - */ - config_id: string; - /** - * Specifies which parts of the Service Config should be returned in the - * response. - */ - view: GetServiceConfigRequest_ConfigView; -} -export interface GetServiceConfigRequestAminoMsg { - type: "/google.api.servicemanagement.v1.GetServiceConfigRequest"; - value: GetServiceConfigRequestAmino; -} -/** Request message for GetServiceConfig method. */ -export interface GetServiceConfigRequestSDKType { - service_name: string; - config_id: string; - view: GetServiceConfigRequest_ConfigView; -} -/** Request message for ListServiceConfigs method. */ -export interface ListServiceConfigsRequest { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - serviceName: string; - /** The token of the page to retrieve. */ - pageToken: string; - /** - * The max number of items to include in the response list. Page size is 50 - * if not specified. Maximum value is 100. - */ - pageSize: number; -} -export interface ListServiceConfigsRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.ListServiceConfigsRequest"; - value: Uint8Array; -} -/** Request message for ListServiceConfigs method. */ -export interface ListServiceConfigsRequestAmino { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - service_name: string; - /** The token of the page to retrieve. */ - page_token: string; - /** - * The max number of items to include in the response list. Page size is 50 - * if not specified. Maximum value is 100. - */ - page_size: number; -} -export interface ListServiceConfigsRequestAminoMsg { - type: "/google.api.servicemanagement.v1.ListServiceConfigsRequest"; - value: ListServiceConfigsRequestAmino; -} -/** Request message for ListServiceConfigs method. */ -export interface ListServiceConfigsRequestSDKType { - service_name: string; - page_token: string; - page_size: number; -} -/** Response message for ListServiceConfigs method. */ -export interface ListServiceConfigsResponse { - /** The list of service configuration resources. */ - serviceConfigs: Service[]; - /** The token of the next page of results. */ - nextPageToken: string; -} -export interface ListServiceConfigsResponseProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.ListServiceConfigsResponse"; - value: Uint8Array; -} -/** Response message for ListServiceConfigs method. */ -export interface ListServiceConfigsResponseAmino { - /** The list of service configuration resources. */ - service_configs: ServiceAmino[]; - /** The token of the next page of results. */ - next_page_token: string; -} -export interface ListServiceConfigsResponseAminoMsg { - type: "/google.api.servicemanagement.v1.ListServiceConfigsResponse"; - value: ListServiceConfigsResponseAmino; -} -/** Response message for ListServiceConfigs method. */ -export interface ListServiceConfigsResponseSDKType { - service_configs: ServiceSDKType[]; - next_page_token: string; -} -/** Request message for CreateServiceConfig method. */ -export interface CreateServiceConfigRequest { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - serviceName: string; - /** Required. The service configuration resource. */ - serviceConfig: Service; -} -export interface CreateServiceConfigRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.CreateServiceConfigRequest"; - value: Uint8Array; -} -/** Request message for CreateServiceConfig method. */ -export interface CreateServiceConfigRequestAmino { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - service_name: string; - /** Required. The service configuration resource. */ - service_config?: ServiceAmino; -} -export interface CreateServiceConfigRequestAminoMsg { - type: "/google.api.servicemanagement.v1.CreateServiceConfigRequest"; - value: CreateServiceConfigRequestAmino; -} -/** Request message for CreateServiceConfig method. */ -export interface CreateServiceConfigRequestSDKType { - service_name: string; - service_config: ServiceSDKType; -} -/** Request message for SubmitConfigSource method. */ -export interface SubmitConfigSourceRequest { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - serviceName: string; - /** Required. The source configuration for the service. */ - configSource: ConfigSource; - /** - * Optional. If set, this will result in the generation of a - * `google.api.Service` configuration based on the `ConfigSource` provided, - * but the generated config and the sources will NOT be persisted. - */ - validateOnly: boolean; -} -export interface SubmitConfigSourceRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.SubmitConfigSourceRequest"; - value: Uint8Array; -} -/** Request message for SubmitConfigSource method. */ -export interface SubmitConfigSourceRequestAmino { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - service_name: string; - /** Required. The source configuration for the service. */ - config_source?: ConfigSourceAmino; - /** - * Optional. If set, this will result in the generation of a - * `google.api.Service` configuration based on the `ConfigSource` provided, - * but the generated config and the sources will NOT be persisted. - */ - validate_only: boolean; -} -export interface SubmitConfigSourceRequestAminoMsg { - type: "/google.api.servicemanagement.v1.SubmitConfigSourceRequest"; - value: SubmitConfigSourceRequestAmino; -} -/** Request message for SubmitConfigSource method. */ -export interface SubmitConfigSourceRequestSDKType { - service_name: string; - config_source: ConfigSourceSDKType; - validate_only: boolean; -} -/** Response message for SubmitConfigSource method. */ -export interface SubmitConfigSourceResponse { - /** The generated service configuration. */ - serviceConfig: Service; -} -export interface SubmitConfigSourceResponseProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.SubmitConfigSourceResponse"; - value: Uint8Array; -} -/** Response message for SubmitConfigSource method. */ -export interface SubmitConfigSourceResponseAmino { - /** The generated service configuration. */ - service_config?: ServiceAmino; -} -export interface SubmitConfigSourceResponseAminoMsg { - type: "/google.api.servicemanagement.v1.SubmitConfigSourceResponse"; - value: SubmitConfigSourceResponseAmino; -} -/** Response message for SubmitConfigSource method. */ -export interface SubmitConfigSourceResponseSDKType { - service_config: ServiceSDKType; -} -/** Request message for 'CreateServiceRollout' */ -export interface CreateServiceRolloutRequest { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - serviceName: string; - /** Required. The rollout resource. The `service_name` field is output only. */ - rollout: Rollout; -} -export interface CreateServiceRolloutRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.CreateServiceRolloutRequest"; - value: Uint8Array; -} -/** Request message for 'CreateServiceRollout' */ -export interface CreateServiceRolloutRequestAmino { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - service_name: string; - /** Required. The rollout resource. The `service_name` field is output only. */ - rollout?: RolloutAmino; -} -export interface CreateServiceRolloutRequestAminoMsg { - type: "/google.api.servicemanagement.v1.CreateServiceRolloutRequest"; - value: CreateServiceRolloutRequestAmino; -} -/** Request message for 'CreateServiceRollout' */ -export interface CreateServiceRolloutRequestSDKType { - service_name: string; - rollout: RolloutSDKType; -} -/** Request message for 'ListServiceRollouts' */ -export interface ListServiceRolloutsRequest { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - serviceName: string; - /** The token of the page to retrieve. */ - pageToken: string; - /** - * The max number of items to include in the response list. Page size is 50 - * if not specified. Maximum value is 100. - */ - pageSize: number; - /** - * Required. Use `filter` to return subset of rollouts. - * The following filters are supported: - * -- To limit the results to only those in - * [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS', - * use filter='status=SUCCESS' - * -- To limit the results to those in - * [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED' - * or 'FAILED', use filter='status=CANCELLED OR status=FAILED' - */ - filter: string; -} -export interface ListServiceRolloutsRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.ListServiceRolloutsRequest"; - value: Uint8Array; -} -/** Request message for 'ListServiceRollouts' */ -export interface ListServiceRolloutsRequestAmino { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - service_name: string; - /** The token of the page to retrieve. */ - page_token: string; - /** - * The max number of items to include in the response list. Page size is 50 - * if not specified. Maximum value is 100. - */ - page_size: number; - /** - * Required. Use `filter` to return subset of rollouts. - * The following filters are supported: - * -- To limit the results to only those in - * [status](google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS', - * use filter='status=SUCCESS' - * -- To limit the results to those in - * [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED' - * or 'FAILED', use filter='status=CANCELLED OR status=FAILED' - */ - filter: string; -} -export interface ListServiceRolloutsRequestAminoMsg { - type: "/google.api.servicemanagement.v1.ListServiceRolloutsRequest"; - value: ListServiceRolloutsRequestAmino; -} -/** Request message for 'ListServiceRollouts' */ -export interface ListServiceRolloutsRequestSDKType { - service_name: string; - page_token: string; - page_size: number; - filter: string; -} -/** Response message for ListServiceRollouts method. */ -export interface ListServiceRolloutsResponse { - /** The list of rollout resources. */ - rollouts: Rollout[]; - /** The token of the next page of results. */ - nextPageToken: string; -} -export interface ListServiceRolloutsResponseProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.ListServiceRolloutsResponse"; - value: Uint8Array; -} -/** Response message for ListServiceRollouts method. */ -export interface ListServiceRolloutsResponseAmino { - /** The list of rollout resources. */ - rollouts: RolloutAmino[]; - /** The token of the next page of results. */ - next_page_token: string; -} -export interface ListServiceRolloutsResponseAminoMsg { - type: "/google.api.servicemanagement.v1.ListServiceRolloutsResponse"; - value: ListServiceRolloutsResponseAmino; -} -/** Response message for ListServiceRollouts method. */ -export interface ListServiceRolloutsResponseSDKType { - rollouts: RolloutSDKType[]; - next_page_token: string; -} -/** Request message for GetServiceRollout method. */ -export interface GetServiceRolloutRequest { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - serviceName: string; - /** Required. The id of the rollout resource. */ - rolloutId: string; -} -export interface GetServiceRolloutRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.GetServiceRolloutRequest"; - value: Uint8Array; -} -/** Request message for GetServiceRollout method. */ -export interface GetServiceRolloutRequestAmino { - /** - * Required. The name of the service. See the [overview](/service-management/overview) - * for naming requirements. For example: `example.googleapis.com`. - */ - service_name: string; - /** Required. The id of the rollout resource. */ - rollout_id: string; -} -export interface GetServiceRolloutRequestAminoMsg { - type: "/google.api.servicemanagement.v1.GetServiceRolloutRequest"; - value: GetServiceRolloutRequestAmino; -} -/** Request message for GetServiceRollout method. */ -export interface GetServiceRolloutRequestSDKType { - service_name: string; - rollout_id: string; -} -/** Request message for GenerateConfigReport method. */ -export interface GenerateConfigReportRequest { - /** - * Required. Service configuration for which we want to generate the report. - * For this version of API, the supported types are - * [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef], - * [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource], - * and [google.api.Service][google.api.Service] - */ - newConfig: Any; - /** - * Optional. Service configuration against which the comparison will be done. - * For this version of API, the supported types are - * [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef], - * [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource], - * and [google.api.Service][google.api.Service] - */ - oldConfig: Any; -} -export interface GenerateConfigReportRequestProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.GenerateConfigReportRequest"; - value: Uint8Array; -} -/** Request message for GenerateConfigReport method. */ -export interface GenerateConfigReportRequestAmino { - /** - * Required. Service configuration for which we want to generate the report. - * For this version of API, the supported types are - * [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef], - * [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource], - * and [google.api.Service][google.api.Service] - */ - new_config?: AnyAmino; - /** - * Optional. Service configuration against which the comparison will be done. - * For this version of API, the supported types are - * [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef], - * [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource], - * and [google.api.Service][google.api.Service] - */ - old_config?: AnyAmino; -} -export interface GenerateConfigReportRequestAminoMsg { - type: "/google.api.servicemanagement.v1.GenerateConfigReportRequest"; - value: GenerateConfigReportRequestAmino; -} -/** Request message for GenerateConfigReport method. */ -export interface GenerateConfigReportRequestSDKType { - new_config: AnySDKType; - old_config: AnySDKType; -} -/** Response message for GenerateConfigReport method. */ -export interface GenerateConfigReportResponse { - /** Name of the service this report belongs to. */ - serviceName: string; - /** ID of the service configuration this report belongs to. */ - id: string; - /** - * list of ChangeReport, each corresponding to comparison between two - * service configurations. - */ - changeReports: ChangeReport[]; - /** - * Errors / Linter warnings associated with the service definition this - * report - * belongs to. - */ - diagnostics: Diagnostic[]; -} -export interface GenerateConfigReportResponseProtoMsg { - typeUrl: "/google.api.servicemanagement.v1.GenerateConfigReportResponse"; - value: Uint8Array; -} -/** Response message for GenerateConfigReport method. */ -export interface GenerateConfigReportResponseAmino { - /** Name of the service this report belongs to. */ - service_name: string; - /** ID of the service configuration this report belongs to. */ - id: string; - /** - * list of ChangeReport, each corresponding to comparison between two - * service configurations. - */ - change_reports: ChangeReportAmino[]; - /** - * Errors / Linter warnings associated with the service definition this - * report - * belongs to. - */ - diagnostics: DiagnosticAmino[]; -} -export interface GenerateConfigReportResponseAminoMsg { - type: "/google.api.servicemanagement.v1.GenerateConfigReportResponse"; - value: GenerateConfigReportResponseAmino; -} -/** Response message for GenerateConfigReport method. */ -export interface GenerateConfigReportResponseSDKType { - service_name: string; - id: string; - change_reports: ChangeReportSDKType[]; - diagnostics: DiagnosticSDKType[]; -} -function createBaseListServicesRequest(): ListServicesRequest { - return { - producerProjectId: "", - pageSize: 0, - pageToken: "", - consumerId: "" - }; -} -export const ListServicesRequest = { - typeUrl: "/google.api.servicemanagement.v1.ListServicesRequest", - encode(message: ListServicesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.producerProjectId !== "") { - writer.uint32(10).string(message.producerProjectId); - } - if (message.pageSize !== 0) { - writer.uint32(40).int32(message.pageSize); - } - if (message.pageToken !== "") { - writer.uint32(50).string(message.pageToken); - } - if (message.consumerId !== "") { - writer.uint32(58).string(message.consumerId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListServicesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListServicesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.producerProjectId = reader.string(); - break; - case 5: - message.pageSize = reader.int32(); - break; - case 6: - message.pageToken = reader.string(); - break; - case 7: - message.consumerId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListServicesRequest { - const obj = createBaseListServicesRequest(); - if (isSet(object.producerProjectId)) obj.producerProjectId = String(object.producerProjectId); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (isSet(object.consumerId)) obj.consumerId = String(object.consumerId); - return obj; - }, - toJSON(message: ListServicesRequest): unknown { - const obj: any = {}; - message.producerProjectId !== undefined && (obj.producerProjectId = message.producerProjectId); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - message.consumerId !== undefined && (obj.consumerId = message.consumerId); - return obj; - }, - fromPartial(object: DeepPartial): ListServicesRequest { - const message = createBaseListServicesRequest(); - message.producerProjectId = object.producerProjectId ?? ""; - message.pageSize = object.pageSize ?? 0; - message.pageToken = object.pageToken ?? ""; - message.consumerId = object.consumerId ?? ""; - return message; - }, - fromSDK(object: ListServicesRequestSDKType): ListServicesRequest { - return { - producerProjectId: object?.producer_project_id, - pageSize: object?.page_size, - pageToken: object?.page_token, - consumerId: object?.consumer_id - }; - }, - toSDK(message: ListServicesRequest): ListServicesRequestSDKType { - const obj: any = {}; - obj.producer_project_id = message.producerProjectId; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - obj.consumer_id = message.consumerId; - return obj; - }, - fromAmino(object: ListServicesRequestAmino): ListServicesRequest { - return { - producerProjectId: object.producer_project_id, - pageSize: object.page_size, - pageToken: object.page_token, - consumerId: object.consumer_id - }; - }, - toAmino(message: ListServicesRequest): ListServicesRequestAmino { - const obj: any = {}; - obj.producer_project_id = message.producerProjectId; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - obj.consumer_id = message.consumerId; - return obj; - }, - fromAminoMsg(object: ListServicesRequestAminoMsg): ListServicesRequest { - return ListServicesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListServicesRequestProtoMsg): ListServicesRequest { - return ListServicesRequest.decode(message.value); - }, - toProto(message: ListServicesRequest): Uint8Array { - return ListServicesRequest.encode(message).finish(); - }, - toProtoMsg(message: ListServicesRequest): ListServicesRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.ListServicesRequest", - value: ListServicesRequest.encode(message).finish() - }; - } -}; -function createBaseListServicesResponse(): ListServicesResponse { - return { - services: [], - nextPageToken: "" - }; -} -export const ListServicesResponse = { - typeUrl: "/google.api.servicemanagement.v1.ListServicesResponse", - encode(message: ListServicesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.services) { - ManagedService.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListServicesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListServicesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.services.push(ManagedService.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListServicesResponse { - const obj = createBaseListServicesResponse(); - if (Array.isArray(object?.services)) obj.services = object.services.map((e: any) => ManagedService.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListServicesResponse): unknown { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? ManagedService.toJSON(e) : undefined); - } else { - obj.services = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListServicesResponse { - const message = createBaseListServicesResponse(); - message.services = object.services?.map(e => ManagedService.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListServicesResponseSDKType): ListServicesResponse { - return { - services: Array.isArray(object?.services) ? object.services.map((e: any) => ManagedService.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListServicesResponse): ListServicesResponseSDKType { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? ManagedService.toSDK(e) : undefined); - } else { - obj.services = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListServicesResponseAmino): ListServicesResponse { - return { - services: Array.isArray(object?.services) ? object.services.map((e: any) => ManagedService.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListServicesResponse): ListServicesResponseAmino { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? ManagedService.toAmino(e) : undefined); - } else { - obj.services = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListServicesResponseAminoMsg): ListServicesResponse { - return ListServicesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListServicesResponseProtoMsg): ListServicesResponse { - return ListServicesResponse.decode(message.value); - }, - toProto(message: ListServicesResponse): Uint8Array { - return ListServicesResponse.encode(message).finish(); - }, - toProtoMsg(message: ListServicesResponse): ListServicesResponseProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.ListServicesResponse", - value: ListServicesResponse.encode(message).finish() - }; - } -}; -function createBaseGetServiceRequest(): GetServiceRequest { - return { - serviceName: "" - }; -} -export const GetServiceRequest = { - typeUrl: "/google.api.servicemanagement.v1.GetServiceRequest", - encode(message: GetServiceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetServiceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetServiceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetServiceRequest { - const obj = createBaseGetServiceRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - return obj; - }, - toJSON(message: GetServiceRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - return obj; - }, - fromPartial(object: DeepPartial): GetServiceRequest { - const message = createBaseGetServiceRequest(); - message.serviceName = object.serviceName ?? ""; - return message; - }, - fromSDK(object: GetServiceRequestSDKType): GetServiceRequest { - return { - serviceName: object?.service_name - }; - }, - toSDK(message: GetServiceRequest): GetServiceRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - return obj; - }, - fromAmino(object: GetServiceRequestAmino): GetServiceRequest { - return { - serviceName: object.service_name - }; - }, - toAmino(message: GetServiceRequest): GetServiceRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - return obj; - }, - fromAminoMsg(object: GetServiceRequestAminoMsg): GetServiceRequest { - return GetServiceRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetServiceRequestProtoMsg): GetServiceRequest { - return GetServiceRequest.decode(message.value); - }, - toProto(message: GetServiceRequest): Uint8Array { - return GetServiceRequest.encode(message).finish(); - }, - toProtoMsg(message: GetServiceRequest): GetServiceRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.GetServiceRequest", - value: GetServiceRequest.encode(message).finish() - }; - } -}; -function createBaseCreateServiceRequest(): CreateServiceRequest { - return { - service: ManagedService.fromPartial({}) - }; -} -export const CreateServiceRequest = { - typeUrl: "/google.api.servicemanagement.v1.CreateServiceRequest", - encode(message: CreateServiceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.service !== undefined) { - ManagedService.encode(message.service, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CreateServiceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCreateServiceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.service = ManagedService.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CreateServiceRequest { - const obj = createBaseCreateServiceRequest(); - if (isSet(object.service)) obj.service = ManagedService.fromJSON(object.service); - return obj; - }, - toJSON(message: CreateServiceRequest): unknown { - const obj: any = {}; - message.service !== undefined && (obj.service = message.service ? ManagedService.toJSON(message.service) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CreateServiceRequest { - const message = createBaseCreateServiceRequest(); - if (object.service !== undefined && object.service !== null) { - message.service = ManagedService.fromPartial(object.service); - } - return message; - }, - fromSDK(object: CreateServiceRequestSDKType): CreateServiceRequest { - return { - service: object.service ? ManagedService.fromSDK(object.service) : undefined - }; - }, - toSDK(message: CreateServiceRequest): CreateServiceRequestSDKType { - const obj: any = {}; - message.service !== undefined && (obj.service = message.service ? ManagedService.toSDK(message.service) : undefined); - return obj; - }, - fromAmino(object: CreateServiceRequestAmino): CreateServiceRequest { - return { - service: object?.service ? ManagedService.fromAmino(object.service) : undefined - }; - }, - toAmino(message: CreateServiceRequest): CreateServiceRequestAmino { - const obj: any = {}; - obj.service = message.service ? ManagedService.toAmino(message.service) : undefined; - return obj; - }, - fromAminoMsg(object: CreateServiceRequestAminoMsg): CreateServiceRequest { - return CreateServiceRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CreateServiceRequestProtoMsg): CreateServiceRequest { - return CreateServiceRequest.decode(message.value); - }, - toProto(message: CreateServiceRequest): Uint8Array { - return CreateServiceRequest.encode(message).finish(); - }, - toProtoMsg(message: CreateServiceRequest): CreateServiceRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.CreateServiceRequest", - value: CreateServiceRequest.encode(message).finish() - }; - } -}; -function createBaseDeleteServiceRequest(): DeleteServiceRequest { - return { - serviceName: "" - }; -} -export const DeleteServiceRequest = { - typeUrl: "/google.api.servicemanagement.v1.DeleteServiceRequest", - encode(message: DeleteServiceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeleteServiceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteServiceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DeleteServiceRequest { - const obj = createBaseDeleteServiceRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - return obj; - }, - toJSON(message: DeleteServiceRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - return obj; - }, - fromPartial(object: DeepPartial): DeleteServiceRequest { - const message = createBaseDeleteServiceRequest(); - message.serviceName = object.serviceName ?? ""; - return message; - }, - fromSDK(object: DeleteServiceRequestSDKType): DeleteServiceRequest { - return { - serviceName: object?.service_name - }; - }, - toSDK(message: DeleteServiceRequest): DeleteServiceRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - return obj; - }, - fromAmino(object: DeleteServiceRequestAmino): DeleteServiceRequest { - return { - serviceName: object.service_name - }; - }, - toAmino(message: DeleteServiceRequest): DeleteServiceRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - return obj; - }, - fromAminoMsg(object: DeleteServiceRequestAminoMsg): DeleteServiceRequest { - return DeleteServiceRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DeleteServiceRequestProtoMsg): DeleteServiceRequest { - return DeleteServiceRequest.decode(message.value); - }, - toProto(message: DeleteServiceRequest): Uint8Array { - return DeleteServiceRequest.encode(message).finish(); - }, - toProtoMsg(message: DeleteServiceRequest): DeleteServiceRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.DeleteServiceRequest", - value: DeleteServiceRequest.encode(message).finish() - }; - } -}; -function createBaseUndeleteServiceRequest(): UndeleteServiceRequest { - return { - serviceName: "" - }; -} -export const UndeleteServiceRequest = { - typeUrl: "/google.api.servicemanagement.v1.UndeleteServiceRequest", - encode(message: UndeleteServiceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UndeleteServiceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUndeleteServiceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UndeleteServiceRequest { - const obj = createBaseUndeleteServiceRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - return obj; - }, - toJSON(message: UndeleteServiceRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - return obj; - }, - fromPartial(object: DeepPartial): UndeleteServiceRequest { - const message = createBaseUndeleteServiceRequest(); - message.serviceName = object.serviceName ?? ""; - return message; - }, - fromSDK(object: UndeleteServiceRequestSDKType): UndeleteServiceRequest { - return { - serviceName: object?.service_name - }; - }, - toSDK(message: UndeleteServiceRequest): UndeleteServiceRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - return obj; - }, - fromAmino(object: UndeleteServiceRequestAmino): UndeleteServiceRequest { - return { - serviceName: object.service_name - }; - }, - toAmino(message: UndeleteServiceRequest): UndeleteServiceRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - return obj; - }, - fromAminoMsg(object: UndeleteServiceRequestAminoMsg): UndeleteServiceRequest { - return UndeleteServiceRequest.fromAmino(object.value); - }, - fromProtoMsg(message: UndeleteServiceRequestProtoMsg): UndeleteServiceRequest { - return UndeleteServiceRequest.decode(message.value); - }, - toProto(message: UndeleteServiceRequest): Uint8Array { - return UndeleteServiceRequest.encode(message).finish(); - }, - toProtoMsg(message: UndeleteServiceRequest): UndeleteServiceRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.UndeleteServiceRequest", - value: UndeleteServiceRequest.encode(message).finish() - }; - } -}; -function createBaseUndeleteServiceResponse(): UndeleteServiceResponse { - return { - service: ManagedService.fromPartial({}) - }; -} -export const UndeleteServiceResponse = { - typeUrl: "/google.api.servicemanagement.v1.UndeleteServiceResponse", - encode(message: UndeleteServiceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.service !== undefined) { - ManagedService.encode(message.service, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UndeleteServiceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUndeleteServiceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.service = ManagedService.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UndeleteServiceResponse { - const obj = createBaseUndeleteServiceResponse(); - if (isSet(object.service)) obj.service = ManagedService.fromJSON(object.service); - return obj; - }, - toJSON(message: UndeleteServiceResponse): unknown { - const obj: any = {}; - message.service !== undefined && (obj.service = message.service ? ManagedService.toJSON(message.service) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): UndeleteServiceResponse { - const message = createBaseUndeleteServiceResponse(); - if (object.service !== undefined && object.service !== null) { - message.service = ManagedService.fromPartial(object.service); - } - return message; - }, - fromSDK(object: UndeleteServiceResponseSDKType): UndeleteServiceResponse { - return { - service: object.service ? ManagedService.fromSDK(object.service) : undefined - }; - }, - toSDK(message: UndeleteServiceResponse): UndeleteServiceResponseSDKType { - const obj: any = {}; - message.service !== undefined && (obj.service = message.service ? ManagedService.toSDK(message.service) : undefined); - return obj; - }, - fromAmino(object: UndeleteServiceResponseAmino): UndeleteServiceResponse { - return { - service: object?.service ? ManagedService.fromAmino(object.service) : undefined - }; - }, - toAmino(message: UndeleteServiceResponse): UndeleteServiceResponseAmino { - const obj: any = {}; - obj.service = message.service ? ManagedService.toAmino(message.service) : undefined; - return obj; - }, - fromAminoMsg(object: UndeleteServiceResponseAminoMsg): UndeleteServiceResponse { - return UndeleteServiceResponse.fromAmino(object.value); - }, - fromProtoMsg(message: UndeleteServiceResponseProtoMsg): UndeleteServiceResponse { - return UndeleteServiceResponse.decode(message.value); - }, - toProto(message: UndeleteServiceResponse): Uint8Array { - return UndeleteServiceResponse.encode(message).finish(); - }, - toProtoMsg(message: UndeleteServiceResponse): UndeleteServiceResponseProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.UndeleteServiceResponse", - value: UndeleteServiceResponse.encode(message).finish() - }; - } -}; -function createBaseGetServiceConfigRequest(): GetServiceConfigRequest { - return { - serviceName: "", - configId: "", - view: 0 - }; -} -export const GetServiceConfigRequest = { - typeUrl: "/google.api.servicemanagement.v1.GetServiceConfigRequest", - encode(message: GetServiceConfigRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.configId !== "") { - writer.uint32(18).string(message.configId); - } - if (message.view !== 0) { - writer.uint32(24).int32(message.view); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetServiceConfigRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetServiceConfigRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.configId = reader.string(); - break; - case 3: - message.view = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetServiceConfigRequest { - const obj = createBaseGetServiceConfigRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.configId)) obj.configId = String(object.configId); - if (isSet(object.view)) obj.view = getServiceConfigRequest_ConfigViewFromJSON(object.view); - return obj; - }, - toJSON(message: GetServiceConfigRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.configId !== undefined && (obj.configId = message.configId); - message.view !== undefined && (obj.view = getServiceConfigRequest_ConfigViewToJSON(message.view)); - return obj; - }, - fromPartial(object: DeepPartial): GetServiceConfigRequest { - const message = createBaseGetServiceConfigRequest(); - message.serviceName = object.serviceName ?? ""; - message.configId = object.configId ?? ""; - message.view = object.view ?? 0; - return message; - }, - fromSDK(object: GetServiceConfigRequestSDKType): GetServiceConfigRequest { - return { - serviceName: object?.service_name, - configId: object?.config_id, - view: isSet(object.view) ? getServiceConfigRequest_ConfigViewFromJSON(object.view) : -1 - }; - }, - toSDK(message: GetServiceConfigRequest): GetServiceConfigRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.config_id = message.configId; - message.view !== undefined && (obj.view = getServiceConfigRequest_ConfigViewToJSON(message.view)); - return obj; - }, - fromAmino(object: GetServiceConfigRequestAmino): GetServiceConfigRequest { - return { - serviceName: object.service_name, - configId: object.config_id, - view: isSet(object.view) ? getServiceConfigRequest_ConfigViewFromJSON(object.view) : -1 - }; - }, - toAmino(message: GetServiceConfigRequest): GetServiceConfigRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.config_id = message.configId; - obj.view = message.view; - return obj; - }, - fromAminoMsg(object: GetServiceConfigRequestAminoMsg): GetServiceConfigRequest { - return GetServiceConfigRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetServiceConfigRequestProtoMsg): GetServiceConfigRequest { - return GetServiceConfigRequest.decode(message.value); - }, - toProto(message: GetServiceConfigRequest): Uint8Array { - return GetServiceConfigRequest.encode(message).finish(); - }, - toProtoMsg(message: GetServiceConfigRequest): GetServiceConfigRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.GetServiceConfigRequest", - value: GetServiceConfigRequest.encode(message).finish() - }; - } -}; -function createBaseListServiceConfigsRequest(): ListServiceConfigsRequest { - return { - serviceName: "", - pageToken: "", - pageSize: 0 - }; -} -export const ListServiceConfigsRequest = { - typeUrl: "/google.api.servicemanagement.v1.ListServiceConfigsRequest", - encode(message: ListServiceConfigsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.pageToken !== "") { - writer.uint32(18).string(message.pageToken); - } - if (message.pageSize !== 0) { - writer.uint32(24).int32(message.pageSize); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListServiceConfigsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListServiceConfigsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListServiceConfigsRequest { - const obj = createBaseListServiceConfigsRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - return obj; - }, - toJSON(message: ListServiceConfigsRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - return obj; - }, - fromPartial(object: DeepPartial): ListServiceConfigsRequest { - const message = createBaseListServiceConfigsRequest(); - message.serviceName = object.serviceName ?? ""; - message.pageToken = object.pageToken ?? ""; - message.pageSize = object.pageSize ?? 0; - return message; - }, - fromSDK(object: ListServiceConfigsRequestSDKType): ListServiceConfigsRequest { - return { - serviceName: object?.service_name, - pageToken: object?.page_token, - pageSize: object?.page_size - }; - }, - toSDK(message: ListServiceConfigsRequest): ListServiceConfigsRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAmino(object: ListServiceConfigsRequestAmino): ListServiceConfigsRequest { - return { - serviceName: object.service_name, - pageToken: object.page_token, - pageSize: object.page_size - }; - }, - toAmino(message: ListServiceConfigsRequest): ListServiceConfigsRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAminoMsg(object: ListServiceConfigsRequestAminoMsg): ListServiceConfigsRequest { - return ListServiceConfigsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListServiceConfigsRequestProtoMsg): ListServiceConfigsRequest { - return ListServiceConfigsRequest.decode(message.value); - }, - toProto(message: ListServiceConfigsRequest): Uint8Array { - return ListServiceConfigsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListServiceConfigsRequest): ListServiceConfigsRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.ListServiceConfigsRequest", - value: ListServiceConfigsRequest.encode(message).finish() - }; - } -}; -function createBaseListServiceConfigsResponse(): ListServiceConfigsResponse { - return { - serviceConfigs: [], - nextPageToken: "" - }; -} -export const ListServiceConfigsResponse = { - typeUrl: "/google.api.servicemanagement.v1.ListServiceConfigsResponse", - encode(message: ListServiceConfigsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.serviceConfigs) { - Service.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListServiceConfigsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListServiceConfigsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceConfigs.push(Service.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListServiceConfigsResponse { - const obj = createBaseListServiceConfigsResponse(); - if (Array.isArray(object?.serviceConfigs)) obj.serviceConfigs = object.serviceConfigs.map((e: any) => Service.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListServiceConfigsResponse): unknown { - const obj: any = {}; - if (message.serviceConfigs) { - obj.serviceConfigs = message.serviceConfigs.map(e => e ? Service.toJSON(e) : undefined); - } else { - obj.serviceConfigs = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListServiceConfigsResponse { - const message = createBaseListServiceConfigsResponse(); - message.serviceConfigs = object.serviceConfigs?.map(e => Service.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListServiceConfigsResponseSDKType): ListServiceConfigsResponse { - return { - serviceConfigs: Array.isArray(object?.service_configs) ? object.service_configs.map((e: any) => Service.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListServiceConfigsResponse): ListServiceConfigsResponseSDKType { - const obj: any = {}; - if (message.serviceConfigs) { - obj.service_configs = message.serviceConfigs.map(e => e ? Service.toSDK(e) : undefined); - } else { - obj.service_configs = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListServiceConfigsResponseAmino): ListServiceConfigsResponse { - return { - serviceConfigs: Array.isArray(object?.service_configs) ? object.service_configs.map((e: any) => Service.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListServiceConfigsResponse): ListServiceConfigsResponseAmino { - const obj: any = {}; - if (message.serviceConfigs) { - obj.service_configs = message.serviceConfigs.map(e => e ? Service.toAmino(e) : undefined); - } else { - obj.service_configs = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListServiceConfigsResponseAminoMsg): ListServiceConfigsResponse { - return ListServiceConfigsResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListServiceConfigsResponseProtoMsg): ListServiceConfigsResponse { - return ListServiceConfigsResponse.decode(message.value); - }, - toProto(message: ListServiceConfigsResponse): Uint8Array { - return ListServiceConfigsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListServiceConfigsResponse): ListServiceConfigsResponseProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.ListServiceConfigsResponse", - value: ListServiceConfigsResponse.encode(message).finish() - }; - } -}; -function createBaseCreateServiceConfigRequest(): CreateServiceConfigRequest { - return { - serviceName: "", - serviceConfig: Service.fromPartial({}) - }; -} -export const CreateServiceConfigRequest = { - typeUrl: "/google.api.servicemanagement.v1.CreateServiceConfigRequest", - encode(message: CreateServiceConfigRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.serviceConfig !== undefined) { - Service.encode(message.serviceConfig, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CreateServiceConfigRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCreateServiceConfigRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.serviceConfig = Service.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CreateServiceConfigRequest { - const obj = createBaseCreateServiceConfigRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.serviceConfig)) obj.serviceConfig = Service.fromJSON(object.serviceConfig); - return obj; - }, - toJSON(message: CreateServiceConfigRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.serviceConfig !== undefined && (obj.serviceConfig = message.serviceConfig ? Service.toJSON(message.serviceConfig) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CreateServiceConfigRequest { - const message = createBaseCreateServiceConfigRequest(); - message.serviceName = object.serviceName ?? ""; - if (object.serviceConfig !== undefined && object.serviceConfig !== null) { - message.serviceConfig = Service.fromPartial(object.serviceConfig); - } - return message; - }, - fromSDK(object: CreateServiceConfigRequestSDKType): CreateServiceConfigRequest { - return { - serviceName: object?.service_name, - serviceConfig: object.service_config ? Service.fromSDK(object.service_config) : undefined - }; - }, - toSDK(message: CreateServiceConfigRequest): CreateServiceConfigRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - message.serviceConfig !== undefined && (obj.service_config = message.serviceConfig ? Service.toSDK(message.serviceConfig) : undefined); - return obj; - }, - fromAmino(object: CreateServiceConfigRequestAmino): CreateServiceConfigRequest { - return { - serviceName: object.service_name, - serviceConfig: object?.service_config ? Service.fromAmino(object.service_config) : undefined - }; - }, - toAmino(message: CreateServiceConfigRequest): CreateServiceConfigRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.service_config = message.serviceConfig ? Service.toAmino(message.serviceConfig) : undefined; - return obj; - }, - fromAminoMsg(object: CreateServiceConfigRequestAminoMsg): CreateServiceConfigRequest { - return CreateServiceConfigRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CreateServiceConfigRequestProtoMsg): CreateServiceConfigRequest { - return CreateServiceConfigRequest.decode(message.value); - }, - toProto(message: CreateServiceConfigRequest): Uint8Array { - return CreateServiceConfigRequest.encode(message).finish(); - }, - toProtoMsg(message: CreateServiceConfigRequest): CreateServiceConfigRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.CreateServiceConfigRequest", - value: CreateServiceConfigRequest.encode(message).finish() - }; - } -}; -function createBaseSubmitConfigSourceRequest(): SubmitConfigSourceRequest { - return { - serviceName: "", - configSource: ConfigSource.fromPartial({}), - validateOnly: false - }; -} -export const SubmitConfigSourceRequest = { - typeUrl: "/google.api.servicemanagement.v1.SubmitConfigSourceRequest", - encode(message: SubmitConfigSourceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.configSource !== undefined) { - ConfigSource.encode(message.configSource, writer.uint32(18).fork()).ldelim(); - } - if (message.validateOnly === true) { - writer.uint32(24).bool(message.validateOnly); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SubmitConfigSourceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSubmitConfigSourceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.configSource = ConfigSource.decode(reader, reader.uint32()); - break; - case 3: - message.validateOnly = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SubmitConfigSourceRequest { - const obj = createBaseSubmitConfigSourceRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.configSource)) obj.configSource = ConfigSource.fromJSON(object.configSource); - if (isSet(object.validateOnly)) obj.validateOnly = Boolean(object.validateOnly); - return obj; - }, - toJSON(message: SubmitConfigSourceRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.configSource !== undefined && (obj.configSource = message.configSource ? ConfigSource.toJSON(message.configSource) : undefined); - message.validateOnly !== undefined && (obj.validateOnly = message.validateOnly); - return obj; - }, - fromPartial(object: DeepPartial): SubmitConfigSourceRequest { - const message = createBaseSubmitConfigSourceRequest(); - message.serviceName = object.serviceName ?? ""; - if (object.configSource !== undefined && object.configSource !== null) { - message.configSource = ConfigSource.fromPartial(object.configSource); - } - message.validateOnly = object.validateOnly ?? false; - return message; - }, - fromSDK(object: SubmitConfigSourceRequestSDKType): SubmitConfigSourceRequest { - return { - serviceName: object?.service_name, - configSource: object.config_source ? ConfigSource.fromSDK(object.config_source) : undefined, - validateOnly: object?.validate_only - }; - }, - toSDK(message: SubmitConfigSourceRequest): SubmitConfigSourceRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - message.configSource !== undefined && (obj.config_source = message.configSource ? ConfigSource.toSDK(message.configSource) : undefined); - obj.validate_only = message.validateOnly; - return obj; - }, - fromAmino(object: SubmitConfigSourceRequestAmino): SubmitConfigSourceRequest { - return { - serviceName: object.service_name, - configSource: object?.config_source ? ConfigSource.fromAmino(object.config_source) : undefined, - validateOnly: object.validate_only - }; - }, - toAmino(message: SubmitConfigSourceRequest): SubmitConfigSourceRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.config_source = message.configSource ? ConfigSource.toAmino(message.configSource) : undefined; - obj.validate_only = message.validateOnly; - return obj; - }, - fromAminoMsg(object: SubmitConfigSourceRequestAminoMsg): SubmitConfigSourceRequest { - return SubmitConfigSourceRequest.fromAmino(object.value); - }, - fromProtoMsg(message: SubmitConfigSourceRequestProtoMsg): SubmitConfigSourceRequest { - return SubmitConfigSourceRequest.decode(message.value); - }, - toProto(message: SubmitConfigSourceRequest): Uint8Array { - return SubmitConfigSourceRequest.encode(message).finish(); - }, - toProtoMsg(message: SubmitConfigSourceRequest): SubmitConfigSourceRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.SubmitConfigSourceRequest", - value: SubmitConfigSourceRequest.encode(message).finish() - }; - } -}; -function createBaseSubmitConfigSourceResponse(): SubmitConfigSourceResponse { - return { - serviceConfig: Service.fromPartial({}) - }; -} -export const SubmitConfigSourceResponse = { - typeUrl: "/google.api.servicemanagement.v1.SubmitConfigSourceResponse", - encode(message: SubmitConfigSourceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceConfig !== undefined) { - Service.encode(message.serviceConfig, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SubmitConfigSourceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSubmitConfigSourceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceConfig = Service.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SubmitConfigSourceResponse { - const obj = createBaseSubmitConfigSourceResponse(); - if (isSet(object.serviceConfig)) obj.serviceConfig = Service.fromJSON(object.serviceConfig); - return obj; - }, - toJSON(message: SubmitConfigSourceResponse): unknown { - const obj: any = {}; - message.serviceConfig !== undefined && (obj.serviceConfig = message.serviceConfig ? Service.toJSON(message.serviceConfig) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): SubmitConfigSourceResponse { - const message = createBaseSubmitConfigSourceResponse(); - if (object.serviceConfig !== undefined && object.serviceConfig !== null) { - message.serviceConfig = Service.fromPartial(object.serviceConfig); - } - return message; - }, - fromSDK(object: SubmitConfigSourceResponseSDKType): SubmitConfigSourceResponse { - return { - serviceConfig: object.service_config ? Service.fromSDK(object.service_config) : undefined - }; - }, - toSDK(message: SubmitConfigSourceResponse): SubmitConfigSourceResponseSDKType { - const obj: any = {}; - message.serviceConfig !== undefined && (obj.service_config = message.serviceConfig ? Service.toSDK(message.serviceConfig) : undefined); - return obj; - }, - fromAmino(object: SubmitConfigSourceResponseAmino): SubmitConfigSourceResponse { - return { - serviceConfig: object?.service_config ? Service.fromAmino(object.service_config) : undefined - }; - }, - toAmino(message: SubmitConfigSourceResponse): SubmitConfigSourceResponseAmino { - const obj: any = {}; - obj.service_config = message.serviceConfig ? Service.toAmino(message.serviceConfig) : undefined; - return obj; - }, - fromAminoMsg(object: SubmitConfigSourceResponseAminoMsg): SubmitConfigSourceResponse { - return SubmitConfigSourceResponse.fromAmino(object.value); - }, - fromProtoMsg(message: SubmitConfigSourceResponseProtoMsg): SubmitConfigSourceResponse { - return SubmitConfigSourceResponse.decode(message.value); - }, - toProto(message: SubmitConfigSourceResponse): Uint8Array { - return SubmitConfigSourceResponse.encode(message).finish(); - }, - toProtoMsg(message: SubmitConfigSourceResponse): SubmitConfigSourceResponseProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.SubmitConfigSourceResponse", - value: SubmitConfigSourceResponse.encode(message).finish() - }; - } -}; -function createBaseCreateServiceRolloutRequest(): CreateServiceRolloutRequest { - return { - serviceName: "", - rollout: Rollout.fromPartial({}) - }; -} -export const CreateServiceRolloutRequest = { - typeUrl: "/google.api.servicemanagement.v1.CreateServiceRolloutRequest", - encode(message: CreateServiceRolloutRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.rollout !== undefined) { - Rollout.encode(message.rollout, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CreateServiceRolloutRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCreateServiceRolloutRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.rollout = Rollout.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CreateServiceRolloutRequest { - const obj = createBaseCreateServiceRolloutRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.rollout)) obj.rollout = Rollout.fromJSON(object.rollout); - return obj; - }, - toJSON(message: CreateServiceRolloutRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.rollout !== undefined && (obj.rollout = message.rollout ? Rollout.toJSON(message.rollout) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CreateServiceRolloutRequest { - const message = createBaseCreateServiceRolloutRequest(); - message.serviceName = object.serviceName ?? ""; - if (object.rollout !== undefined && object.rollout !== null) { - message.rollout = Rollout.fromPartial(object.rollout); - } - return message; - }, - fromSDK(object: CreateServiceRolloutRequestSDKType): CreateServiceRolloutRequest { - return { - serviceName: object?.service_name, - rollout: object.rollout ? Rollout.fromSDK(object.rollout) : undefined - }; - }, - toSDK(message: CreateServiceRolloutRequest): CreateServiceRolloutRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - message.rollout !== undefined && (obj.rollout = message.rollout ? Rollout.toSDK(message.rollout) : undefined); - return obj; - }, - fromAmino(object: CreateServiceRolloutRequestAmino): CreateServiceRolloutRequest { - return { - serviceName: object.service_name, - rollout: object?.rollout ? Rollout.fromAmino(object.rollout) : undefined - }; - }, - toAmino(message: CreateServiceRolloutRequest): CreateServiceRolloutRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.rollout = message.rollout ? Rollout.toAmino(message.rollout) : undefined; - return obj; - }, - fromAminoMsg(object: CreateServiceRolloutRequestAminoMsg): CreateServiceRolloutRequest { - return CreateServiceRolloutRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CreateServiceRolloutRequestProtoMsg): CreateServiceRolloutRequest { - return CreateServiceRolloutRequest.decode(message.value); - }, - toProto(message: CreateServiceRolloutRequest): Uint8Array { - return CreateServiceRolloutRequest.encode(message).finish(); - }, - toProtoMsg(message: CreateServiceRolloutRequest): CreateServiceRolloutRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.CreateServiceRolloutRequest", - value: CreateServiceRolloutRequest.encode(message).finish() - }; - } -}; -function createBaseListServiceRolloutsRequest(): ListServiceRolloutsRequest { - return { - serviceName: "", - pageToken: "", - pageSize: 0, - filter: "" - }; -} -export const ListServiceRolloutsRequest = { - typeUrl: "/google.api.servicemanagement.v1.ListServiceRolloutsRequest", - encode(message: ListServiceRolloutsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.pageToken !== "") { - writer.uint32(18).string(message.pageToken); - } - if (message.pageSize !== 0) { - writer.uint32(24).int32(message.pageSize); - } - if (message.filter !== "") { - writer.uint32(34).string(message.filter); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListServiceRolloutsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListServiceRolloutsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - case 4: - message.filter = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListServiceRolloutsRequest { - const obj = createBaseListServiceRolloutsRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - if (isSet(object.filter)) obj.filter = String(object.filter); - return obj; - }, - toJSON(message: ListServiceRolloutsRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - message.filter !== undefined && (obj.filter = message.filter); - return obj; - }, - fromPartial(object: DeepPartial): ListServiceRolloutsRequest { - const message = createBaseListServiceRolloutsRequest(); - message.serviceName = object.serviceName ?? ""; - message.pageToken = object.pageToken ?? ""; - message.pageSize = object.pageSize ?? 0; - message.filter = object.filter ?? ""; - return message; - }, - fromSDK(object: ListServiceRolloutsRequestSDKType): ListServiceRolloutsRequest { - return { - serviceName: object?.service_name, - pageToken: object?.page_token, - pageSize: object?.page_size, - filter: object?.filter - }; - }, - toSDK(message: ListServiceRolloutsRequest): ListServiceRolloutsRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - obj.filter = message.filter; - return obj; - }, - fromAmino(object: ListServiceRolloutsRequestAmino): ListServiceRolloutsRequest { - return { - serviceName: object.service_name, - pageToken: object.page_token, - pageSize: object.page_size, - filter: object.filter - }; - }, - toAmino(message: ListServiceRolloutsRequest): ListServiceRolloutsRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - obj.filter = message.filter; - return obj; - }, - fromAminoMsg(object: ListServiceRolloutsRequestAminoMsg): ListServiceRolloutsRequest { - return ListServiceRolloutsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListServiceRolloutsRequestProtoMsg): ListServiceRolloutsRequest { - return ListServiceRolloutsRequest.decode(message.value); - }, - toProto(message: ListServiceRolloutsRequest): Uint8Array { - return ListServiceRolloutsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListServiceRolloutsRequest): ListServiceRolloutsRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.ListServiceRolloutsRequest", - value: ListServiceRolloutsRequest.encode(message).finish() - }; - } -}; -function createBaseListServiceRolloutsResponse(): ListServiceRolloutsResponse { - return { - rollouts: [], - nextPageToken: "" - }; -} -export const ListServiceRolloutsResponse = { - typeUrl: "/google.api.servicemanagement.v1.ListServiceRolloutsResponse", - encode(message: ListServiceRolloutsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rollouts) { - Rollout.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListServiceRolloutsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListServiceRolloutsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rollouts.push(Rollout.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListServiceRolloutsResponse { - const obj = createBaseListServiceRolloutsResponse(); - if (Array.isArray(object?.rollouts)) obj.rollouts = object.rollouts.map((e: any) => Rollout.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListServiceRolloutsResponse): unknown { - const obj: any = {}; - if (message.rollouts) { - obj.rollouts = message.rollouts.map(e => e ? Rollout.toJSON(e) : undefined); - } else { - obj.rollouts = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListServiceRolloutsResponse { - const message = createBaseListServiceRolloutsResponse(); - message.rollouts = object.rollouts?.map(e => Rollout.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListServiceRolloutsResponseSDKType): ListServiceRolloutsResponse { - return { - rollouts: Array.isArray(object?.rollouts) ? object.rollouts.map((e: any) => Rollout.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListServiceRolloutsResponse): ListServiceRolloutsResponseSDKType { - const obj: any = {}; - if (message.rollouts) { - obj.rollouts = message.rollouts.map(e => e ? Rollout.toSDK(e) : undefined); - } else { - obj.rollouts = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListServiceRolloutsResponseAmino): ListServiceRolloutsResponse { - return { - rollouts: Array.isArray(object?.rollouts) ? object.rollouts.map((e: any) => Rollout.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListServiceRolloutsResponse): ListServiceRolloutsResponseAmino { - const obj: any = {}; - if (message.rollouts) { - obj.rollouts = message.rollouts.map(e => e ? Rollout.toAmino(e) : undefined); - } else { - obj.rollouts = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListServiceRolloutsResponseAminoMsg): ListServiceRolloutsResponse { - return ListServiceRolloutsResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListServiceRolloutsResponseProtoMsg): ListServiceRolloutsResponse { - return ListServiceRolloutsResponse.decode(message.value); - }, - toProto(message: ListServiceRolloutsResponse): Uint8Array { - return ListServiceRolloutsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListServiceRolloutsResponse): ListServiceRolloutsResponseProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.ListServiceRolloutsResponse", - value: ListServiceRolloutsResponse.encode(message).finish() - }; - } -}; -function createBaseGetServiceRolloutRequest(): GetServiceRolloutRequest { - return { - serviceName: "", - rolloutId: "" - }; -} -export const GetServiceRolloutRequest = { - typeUrl: "/google.api.servicemanagement.v1.GetServiceRolloutRequest", - encode(message: GetServiceRolloutRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.rolloutId !== "") { - writer.uint32(18).string(message.rolloutId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetServiceRolloutRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetServiceRolloutRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.rolloutId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetServiceRolloutRequest { - const obj = createBaseGetServiceRolloutRequest(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.rolloutId)) obj.rolloutId = String(object.rolloutId); - return obj; - }, - toJSON(message: GetServiceRolloutRequest): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.rolloutId !== undefined && (obj.rolloutId = message.rolloutId); - return obj; - }, - fromPartial(object: DeepPartial): GetServiceRolloutRequest { - const message = createBaseGetServiceRolloutRequest(); - message.serviceName = object.serviceName ?? ""; - message.rolloutId = object.rolloutId ?? ""; - return message; - }, - fromSDK(object: GetServiceRolloutRequestSDKType): GetServiceRolloutRequest { - return { - serviceName: object?.service_name, - rolloutId: object?.rollout_id - }; - }, - toSDK(message: GetServiceRolloutRequest): GetServiceRolloutRequestSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.rollout_id = message.rolloutId; - return obj; - }, - fromAmino(object: GetServiceRolloutRequestAmino): GetServiceRolloutRequest { - return { - serviceName: object.service_name, - rolloutId: object.rollout_id - }; - }, - toAmino(message: GetServiceRolloutRequest): GetServiceRolloutRequestAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.rollout_id = message.rolloutId; - return obj; - }, - fromAminoMsg(object: GetServiceRolloutRequestAminoMsg): GetServiceRolloutRequest { - return GetServiceRolloutRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetServiceRolloutRequestProtoMsg): GetServiceRolloutRequest { - return GetServiceRolloutRequest.decode(message.value); - }, - toProto(message: GetServiceRolloutRequest): Uint8Array { - return GetServiceRolloutRequest.encode(message).finish(); - }, - toProtoMsg(message: GetServiceRolloutRequest): GetServiceRolloutRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.GetServiceRolloutRequest", - value: GetServiceRolloutRequest.encode(message).finish() - }; - } -}; -function createBaseGenerateConfigReportRequest(): GenerateConfigReportRequest { - return { - newConfig: Any.fromPartial({}), - oldConfig: Any.fromPartial({}) - }; -} -export const GenerateConfigReportRequest = { - typeUrl: "/google.api.servicemanagement.v1.GenerateConfigReportRequest", - encode(message: GenerateConfigReportRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.newConfig !== undefined) { - Any.encode(message.newConfig, writer.uint32(10).fork()).ldelim(); - } - if (message.oldConfig !== undefined) { - Any.encode(message.oldConfig, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenerateConfigReportRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenerateConfigReportRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.newConfig = Any.decode(reader, reader.uint32()); - break; - case 2: - message.oldConfig = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenerateConfigReportRequest { - const obj = createBaseGenerateConfigReportRequest(); - if (isSet(object.newConfig)) obj.newConfig = Any.fromJSON(object.newConfig); - if (isSet(object.oldConfig)) obj.oldConfig = Any.fromJSON(object.oldConfig); - return obj; - }, - toJSON(message: GenerateConfigReportRequest): unknown { - const obj: any = {}; - message.newConfig !== undefined && (obj.newConfig = message.newConfig ? Any.toJSON(message.newConfig) : undefined); - message.oldConfig !== undefined && (obj.oldConfig = message.oldConfig ? Any.toJSON(message.oldConfig) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): GenerateConfigReportRequest { - const message = createBaseGenerateConfigReportRequest(); - if (object.newConfig !== undefined && object.newConfig !== null) { - message.newConfig = Any.fromPartial(object.newConfig); - } - if (object.oldConfig !== undefined && object.oldConfig !== null) { - message.oldConfig = Any.fromPartial(object.oldConfig); - } - return message; - }, - fromSDK(object: GenerateConfigReportRequestSDKType): GenerateConfigReportRequest { - return { - newConfig: object.new_config ? Any.fromSDK(object.new_config) : undefined, - oldConfig: object.old_config ? Any.fromSDK(object.old_config) : undefined - }; - }, - toSDK(message: GenerateConfigReportRequest): GenerateConfigReportRequestSDKType { - const obj: any = {}; - message.newConfig !== undefined && (obj.new_config = message.newConfig ? Any.toSDK(message.newConfig) : undefined); - message.oldConfig !== undefined && (obj.old_config = message.oldConfig ? Any.toSDK(message.oldConfig) : undefined); - return obj; - }, - fromAmino(object: GenerateConfigReportRequestAmino): GenerateConfigReportRequest { - return { - newConfig: object?.new_config ? Any.fromAmino(object.new_config) : undefined, - oldConfig: object?.old_config ? Any.fromAmino(object.old_config) : undefined - }; - }, - toAmino(message: GenerateConfigReportRequest): GenerateConfigReportRequestAmino { - const obj: any = {}; - obj.new_config = message.newConfig ? Any.toAmino(message.newConfig) : undefined; - obj.old_config = message.oldConfig ? Any.toAmino(message.oldConfig) : undefined; - return obj; - }, - fromAminoMsg(object: GenerateConfigReportRequestAminoMsg): GenerateConfigReportRequest { - return GenerateConfigReportRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GenerateConfigReportRequestProtoMsg): GenerateConfigReportRequest { - return GenerateConfigReportRequest.decode(message.value); - }, - toProto(message: GenerateConfigReportRequest): Uint8Array { - return GenerateConfigReportRequest.encode(message).finish(); - }, - toProtoMsg(message: GenerateConfigReportRequest): GenerateConfigReportRequestProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.GenerateConfigReportRequest", - value: GenerateConfigReportRequest.encode(message).finish() - }; - } -}; -function createBaseGenerateConfigReportResponse(): GenerateConfigReportResponse { - return { - serviceName: "", - id: "", - changeReports: [], - diagnostics: [] - }; -} -export const GenerateConfigReportResponse = { - typeUrl: "/google.api.servicemanagement.v1.GenerateConfigReportResponse", - encode(message: GenerateConfigReportResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceName !== "") { - writer.uint32(10).string(message.serviceName); - } - if (message.id !== "") { - writer.uint32(18).string(message.id); - } - for (const v of message.changeReports) { - ChangeReport.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.diagnostics) { - Diagnostic.encode(v!, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenerateConfigReportResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenerateConfigReportResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceName = reader.string(); - break; - case 2: - message.id = reader.string(); - break; - case 3: - message.changeReports.push(ChangeReport.decode(reader, reader.uint32())); - break; - case 4: - message.diagnostics.push(Diagnostic.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenerateConfigReportResponse { - const obj = createBaseGenerateConfigReportResponse(); - if (isSet(object.serviceName)) obj.serviceName = String(object.serviceName); - if (isSet(object.id)) obj.id = String(object.id); - if (Array.isArray(object?.changeReports)) obj.changeReports = object.changeReports.map((e: any) => ChangeReport.fromJSON(e)); - if (Array.isArray(object?.diagnostics)) obj.diagnostics = object.diagnostics.map((e: any) => Diagnostic.fromJSON(e)); - return obj; - }, - toJSON(message: GenerateConfigReportResponse): unknown { - const obj: any = {}; - message.serviceName !== undefined && (obj.serviceName = message.serviceName); - message.id !== undefined && (obj.id = message.id); - if (message.changeReports) { - obj.changeReports = message.changeReports.map(e => e ? ChangeReport.toJSON(e) : undefined); - } else { - obj.changeReports = []; - } - if (message.diagnostics) { - obj.diagnostics = message.diagnostics.map(e => e ? Diagnostic.toJSON(e) : undefined); - } else { - obj.diagnostics = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GenerateConfigReportResponse { - const message = createBaseGenerateConfigReportResponse(); - message.serviceName = object.serviceName ?? ""; - message.id = object.id ?? ""; - message.changeReports = object.changeReports?.map(e => ChangeReport.fromPartial(e)) || []; - message.diagnostics = object.diagnostics?.map(e => Diagnostic.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GenerateConfigReportResponseSDKType): GenerateConfigReportResponse { - return { - serviceName: object?.service_name, - id: object?.id, - changeReports: Array.isArray(object?.change_reports) ? object.change_reports.map((e: any) => ChangeReport.fromSDK(e)) : [], - diagnostics: Array.isArray(object?.diagnostics) ? object.diagnostics.map((e: any) => Diagnostic.fromSDK(e)) : [] - }; - }, - toSDK(message: GenerateConfigReportResponse): GenerateConfigReportResponseSDKType { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.id = message.id; - if (message.changeReports) { - obj.change_reports = message.changeReports.map(e => e ? ChangeReport.toSDK(e) : undefined); - } else { - obj.change_reports = []; - } - if (message.diagnostics) { - obj.diagnostics = message.diagnostics.map(e => e ? Diagnostic.toSDK(e) : undefined); - } else { - obj.diagnostics = []; - } - return obj; - }, - fromAmino(object: GenerateConfigReportResponseAmino): GenerateConfigReportResponse { - return { - serviceName: object.service_name, - id: object.id, - changeReports: Array.isArray(object?.change_reports) ? object.change_reports.map((e: any) => ChangeReport.fromAmino(e)) : [], - diagnostics: Array.isArray(object?.diagnostics) ? object.diagnostics.map((e: any) => Diagnostic.fromAmino(e)) : [] - }; - }, - toAmino(message: GenerateConfigReportResponse): GenerateConfigReportResponseAmino { - const obj: any = {}; - obj.service_name = message.serviceName; - obj.id = message.id; - if (message.changeReports) { - obj.change_reports = message.changeReports.map(e => e ? ChangeReport.toAmino(e) : undefined); - } else { - obj.change_reports = []; - } - if (message.diagnostics) { - obj.diagnostics = message.diagnostics.map(e => e ? Diagnostic.toAmino(e) : undefined); - } else { - obj.diagnostics = []; - } - return obj; - }, - fromAminoMsg(object: GenerateConfigReportResponseAminoMsg): GenerateConfigReportResponse { - return GenerateConfigReportResponse.fromAmino(object.value); - }, - fromProtoMsg(message: GenerateConfigReportResponseProtoMsg): GenerateConfigReportResponse { - return GenerateConfigReportResponse.decode(message.value); - }, - toProto(message: GenerateConfigReportResponse): Uint8Array { - return GenerateConfigReportResponse.encode(message).finish(); - }, - toProtoMsg(message: GenerateConfigReportResponse): GenerateConfigReportResponseProtoMsg { - return { - typeUrl: "/google.api.servicemanagement.v1.GenerateConfigReportResponse", - value: GenerateConfigReportResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/serviceusage/v1/resources.ts b/quicksilverjs/src/codegen/google/api/serviceusage/v1/resources.ts deleted file mode 100644 index e524a76b8..000000000 --- a/quicksilverjs/src/codegen/google/api/serviceusage/v1/resources.ts +++ /dev/null @@ -1,733 +0,0 @@ -import { Api, ApiAmino, ApiSDKType } from "../../../protobuf/api"; -import { Documentation, DocumentationAmino, DocumentationSDKType } from "../../documentation"; -import { Quota, QuotaAmino, QuotaSDKType } from "../../quota"; -import { Authentication, AuthenticationAmino, AuthenticationSDKType } from "../../auth"; -import { Usage, UsageAmino, UsageSDKType } from "../../usage"; -import { Endpoint, EndpointAmino, EndpointSDKType } from "../../endpoint"; -import { MonitoredResourceDescriptor, MonitoredResourceDescriptorAmino, MonitoredResourceDescriptorSDKType } from "../../monitored_resource"; -import { Monitoring, MonitoringAmino, MonitoringSDKType } from "../../monitoring"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../../helpers"; -export const protobufPackage = "google.api.serviceusage.v1"; -/** Whether or not a service has been enabled for use by a consumer. */ -export enum State { - /** - * STATE_UNSPECIFIED - The default value, which indicates that the enabled state of the service - * is unspecified or not meaningful. Currently, all consumers other than - * projects (such as folders and organizations) are always in this state. - */ - STATE_UNSPECIFIED = 0, - /** - * DISABLED - The service cannot be used by this consumer. It has either been explicitly - * disabled, or has never been enabled. - */ - DISABLED = 1, - /** ENABLED - The service has been explicitly enabled for use by this consumer. */ - ENABLED = 2, - UNRECOGNIZED = -1, -} -export const StateSDKType = State; -export const StateAmino = State; -export function stateFromJSON(object: any): State { - switch (object) { - case 0: - case "STATE_UNSPECIFIED": - return State.STATE_UNSPECIFIED; - case 1: - case "DISABLED": - return State.DISABLED; - case 2: - case "ENABLED": - return State.ENABLED; - case -1: - case "UNRECOGNIZED": - default: - return State.UNRECOGNIZED; - } -} -export function stateToJSON(object: State): string { - switch (object) { - case State.STATE_UNSPECIFIED: - return "STATE_UNSPECIFIED"; - case State.DISABLED: - return "DISABLED"; - case State.ENABLED: - return "ENABLED"; - case State.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** A service that is available for use by the consumer. */ -export interface Service { - /** - * The resource name of the consumer and service. - * - * A valid name would be: - * - projects/123/services/serviceusage.googleapis.com - */ - name: string; - /** - * The resource name of the consumer. - * - * A valid name would be: - * - projects/123 - */ - parent: string; - /** - * The service configuration of the available service. - * Some fields may be filtered out of the configuration in responses to - * the `ListServices` method. These fields are present only in responses to - * the `GetService` method. - */ - config: ServiceConfig; - /** Whether or not the service has been enabled for use by the consumer. */ - state: State; -} -export interface ServiceProtoMsg { - typeUrl: "/google.api.serviceusage.v1.Service"; - value: Uint8Array; -} -/** A service that is available for use by the consumer. */ -export interface ServiceAmino { - /** - * The resource name of the consumer and service. - * - * A valid name would be: - * - projects/123/services/serviceusage.googleapis.com - */ - name: string; - /** - * The resource name of the consumer. - * - * A valid name would be: - * - projects/123 - */ - parent: string; - /** - * The service configuration of the available service. - * Some fields may be filtered out of the configuration in responses to - * the `ListServices` method. These fields are present only in responses to - * the `GetService` method. - */ - config?: ServiceConfigAmino; - /** Whether or not the service has been enabled for use by the consumer. */ - state: State; -} -export interface ServiceAminoMsg { - type: "/google.api.serviceusage.v1.Service"; - value: ServiceAmino; -} -/** A service that is available for use by the consumer. */ -export interface ServiceSDKType { - name: string; - parent: string; - config: ServiceConfigSDKType; - state: State; -} -/** The configuration of the service. */ -export interface ServiceConfig { - /** - * The DNS address at which this service is available. - * - * An example DNS address would be: - * `calendar.googleapis.com`. - */ - name: string; - /** The product title for this service. */ - title: string; - /** - * A list of API interfaces exported by this service. Contains only the names, - * versions, and method names of the interfaces. - */ - apis: Api[]; - /** - * Additional API documentation. Contains only the summary and the - * documentation URL. - */ - documentation: Documentation; - /** Quota configuration. */ - quota: Quota; - /** Auth configuration. Contains only the OAuth rules. */ - authentication: Authentication; - /** Configuration controlling usage of this service. */ - usage: Usage; - /** - * Configuration for network endpoints. Contains only the names and aliases - * of the endpoints. - */ - endpoints: Endpoint[]; - /** - * Defines the monitored resources used by this service. This is required - * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. - */ - monitoredResources: MonitoredResourceDescriptor[]; - /** - * Monitoring configuration. - * This should not include the 'producer_destinations' field. - */ - monitoring: Monitoring; -} -export interface ServiceConfigProtoMsg { - typeUrl: "/google.api.serviceusage.v1.ServiceConfig"; - value: Uint8Array; -} -/** The configuration of the service. */ -export interface ServiceConfigAmino { - /** - * The DNS address at which this service is available. - * - * An example DNS address would be: - * `calendar.googleapis.com`. - */ - name: string; - /** The product title for this service. */ - title: string; - /** - * A list of API interfaces exported by this service. Contains only the names, - * versions, and method names of the interfaces. - */ - apis: ApiAmino[]; - /** - * Additional API documentation. Contains only the summary and the - * documentation URL. - */ - documentation?: DocumentationAmino; - /** Quota configuration. */ - quota?: QuotaAmino; - /** Auth configuration. Contains only the OAuth rules. */ - authentication?: AuthenticationAmino; - /** Configuration controlling usage of this service. */ - usage?: UsageAmino; - /** - * Configuration for network endpoints. Contains only the names and aliases - * of the endpoints. - */ - endpoints: EndpointAmino[]; - /** - * Defines the monitored resources used by this service. This is required - * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. - */ - monitored_resources: MonitoredResourceDescriptorAmino[]; - /** - * Monitoring configuration. - * This should not include the 'producer_destinations' field. - */ - monitoring?: MonitoringAmino; -} -export interface ServiceConfigAminoMsg { - type: "/google.api.serviceusage.v1.ServiceConfig"; - value: ServiceConfigAmino; -} -/** The configuration of the service. */ -export interface ServiceConfigSDKType { - name: string; - title: string; - apis: ApiSDKType[]; - documentation: DocumentationSDKType; - quota: QuotaSDKType; - authentication: AuthenticationSDKType; - usage: UsageSDKType; - endpoints: EndpointSDKType[]; - monitored_resources: MonitoredResourceDescriptorSDKType[]; - monitoring: MonitoringSDKType; -} -/** The operation metadata returned for the batchend services operation. */ -export interface OperationMetadata { - /** - * The full name of the resources that this operation is directly - * associated with. - */ - resourceNames: string[]; -} -export interface OperationMetadataProtoMsg { - typeUrl: "/google.api.serviceusage.v1.OperationMetadata"; - value: Uint8Array; -} -/** The operation metadata returned for the batchend services operation. */ -export interface OperationMetadataAmino { - /** - * The full name of the resources that this operation is directly - * associated with. - */ - resource_names: string[]; -} -export interface OperationMetadataAminoMsg { - type: "/google.api.serviceusage.v1.OperationMetadata"; - value: OperationMetadataAmino; -} -/** The operation metadata returned for the batchend services operation. */ -export interface OperationMetadataSDKType { - resource_names: string[]; -} -function createBaseService(): Service { - return { - name: "", - parent: "", - config: ServiceConfig.fromPartial({}), - state: 0 - }; -} -export const Service = { - typeUrl: "/google.api.serviceusage.v1.Service", - encode(message: Service, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.parent !== "") { - writer.uint32(42).string(message.parent); - } - if (message.config !== undefined) { - ServiceConfig.encode(message.config, writer.uint32(18).fork()).ldelim(); - } - if (message.state !== 0) { - writer.uint32(32).int32(message.state); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Service { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseService(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 5: - message.parent = reader.string(); - break; - case 2: - message.config = ServiceConfig.decode(reader, reader.uint32()); - break; - case 4: - message.state = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Service { - const obj = createBaseService(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.config)) obj.config = ServiceConfig.fromJSON(object.config); - if (isSet(object.state)) obj.state = stateFromJSON(object.state); - return obj; - }, - toJSON(message: Service): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.parent !== undefined && (obj.parent = message.parent); - message.config !== undefined && (obj.config = message.config ? ServiceConfig.toJSON(message.config) : undefined); - message.state !== undefined && (obj.state = stateToJSON(message.state)); - return obj; - }, - fromPartial(object: DeepPartial): Service { - const message = createBaseService(); - message.name = object.name ?? ""; - message.parent = object.parent ?? ""; - if (object.config !== undefined && object.config !== null) { - message.config = ServiceConfig.fromPartial(object.config); - } - message.state = object.state ?? 0; - return message; - }, - fromSDK(object: ServiceSDKType): Service { - return { - name: object?.name, - parent: object?.parent, - config: object.config ? ServiceConfig.fromSDK(object.config) : undefined, - state: isSet(object.state) ? stateFromJSON(object.state) : -1 - }; - }, - toSDK(message: Service): ServiceSDKType { - const obj: any = {}; - obj.name = message.name; - obj.parent = message.parent; - message.config !== undefined && (obj.config = message.config ? ServiceConfig.toSDK(message.config) : undefined); - message.state !== undefined && (obj.state = stateToJSON(message.state)); - return obj; - }, - fromAmino(object: ServiceAmino): Service { - return { - name: object.name, - parent: object.parent, - config: object?.config ? ServiceConfig.fromAmino(object.config) : undefined, - state: isSet(object.state) ? stateFromJSON(object.state) : -1 - }; - }, - toAmino(message: Service): ServiceAmino { - const obj: any = {}; - obj.name = message.name; - obj.parent = message.parent; - obj.config = message.config ? ServiceConfig.toAmino(message.config) : undefined; - obj.state = message.state; - return obj; - }, - fromAminoMsg(object: ServiceAminoMsg): Service { - return Service.fromAmino(object.value); - }, - fromProtoMsg(message: ServiceProtoMsg): Service { - return Service.decode(message.value); - }, - toProto(message: Service): Uint8Array { - return Service.encode(message).finish(); - }, - toProtoMsg(message: Service): ServiceProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.Service", - value: Service.encode(message).finish() - }; - } -}; -function createBaseServiceConfig(): ServiceConfig { - return { - name: "", - title: "", - apis: [], - documentation: Documentation.fromPartial({}), - quota: Quota.fromPartial({}), - authentication: Authentication.fromPartial({}), - usage: Usage.fromPartial({}), - endpoints: [], - monitoredResources: [], - monitoring: Monitoring.fromPartial({}) - }; -} -export const ServiceConfig = { - typeUrl: "/google.api.serviceusage.v1.ServiceConfig", - encode(message: ServiceConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.title !== "") { - writer.uint32(18).string(message.title); - } - for (const v of message.apis) { - Api.encode(v!, writer.uint32(26).fork()).ldelim(); - } - if (message.documentation !== undefined) { - Documentation.encode(message.documentation, writer.uint32(50).fork()).ldelim(); - } - if (message.quota !== undefined) { - Quota.encode(message.quota, writer.uint32(82).fork()).ldelim(); - } - if (message.authentication !== undefined) { - Authentication.encode(message.authentication, writer.uint32(90).fork()).ldelim(); - } - if (message.usage !== undefined) { - Usage.encode(message.usage, writer.uint32(122).fork()).ldelim(); - } - for (const v of message.endpoints) { - Endpoint.encode(v!, writer.uint32(146).fork()).ldelim(); - } - for (const v of message.monitoredResources) { - MonitoredResourceDescriptor.encode(v!, writer.uint32(202).fork()).ldelim(); - } - if (message.monitoring !== undefined) { - Monitoring.encode(message.monitoring, writer.uint32(226).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ServiceConfig { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseServiceConfig(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.title = reader.string(); - break; - case 3: - message.apis.push(Api.decode(reader, reader.uint32())); - break; - case 6: - message.documentation = Documentation.decode(reader, reader.uint32()); - break; - case 10: - message.quota = Quota.decode(reader, reader.uint32()); - break; - case 11: - message.authentication = Authentication.decode(reader, reader.uint32()); - break; - case 15: - message.usage = Usage.decode(reader, reader.uint32()); - break; - case 18: - message.endpoints.push(Endpoint.decode(reader, reader.uint32())); - break; - case 25: - message.monitoredResources.push(MonitoredResourceDescriptor.decode(reader, reader.uint32())); - break; - case 28: - message.monitoring = Monitoring.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ServiceConfig { - const obj = createBaseServiceConfig(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.title)) obj.title = String(object.title); - if (Array.isArray(object?.apis)) obj.apis = object.apis.map((e: any) => Api.fromJSON(e)); - if (isSet(object.documentation)) obj.documentation = Documentation.fromJSON(object.documentation); - if (isSet(object.quota)) obj.quota = Quota.fromJSON(object.quota); - if (isSet(object.authentication)) obj.authentication = Authentication.fromJSON(object.authentication); - if (isSet(object.usage)) obj.usage = Usage.fromJSON(object.usage); - if (Array.isArray(object?.endpoints)) obj.endpoints = object.endpoints.map((e: any) => Endpoint.fromJSON(e)); - if (Array.isArray(object?.monitoredResources)) obj.monitoredResources = object.monitoredResources.map((e: any) => MonitoredResourceDescriptor.fromJSON(e)); - if (isSet(object.monitoring)) obj.monitoring = Monitoring.fromJSON(object.monitoring); - return obj; - }, - toJSON(message: ServiceConfig): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.title !== undefined && (obj.title = message.title); - if (message.apis) { - obj.apis = message.apis.map(e => e ? Api.toJSON(e) : undefined); - } else { - obj.apis = []; - } - message.documentation !== undefined && (obj.documentation = message.documentation ? Documentation.toJSON(message.documentation) : undefined); - message.quota !== undefined && (obj.quota = message.quota ? Quota.toJSON(message.quota) : undefined); - message.authentication !== undefined && (obj.authentication = message.authentication ? Authentication.toJSON(message.authentication) : undefined); - message.usage !== undefined && (obj.usage = message.usage ? Usage.toJSON(message.usage) : undefined); - if (message.endpoints) { - obj.endpoints = message.endpoints.map(e => e ? Endpoint.toJSON(e) : undefined); - } else { - obj.endpoints = []; - } - if (message.monitoredResources) { - obj.monitoredResources = message.monitoredResources.map(e => e ? MonitoredResourceDescriptor.toJSON(e) : undefined); - } else { - obj.monitoredResources = []; - } - message.monitoring !== undefined && (obj.monitoring = message.monitoring ? Monitoring.toJSON(message.monitoring) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ServiceConfig { - const message = createBaseServiceConfig(); - message.name = object.name ?? ""; - message.title = object.title ?? ""; - message.apis = object.apis?.map(e => Api.fromPartial(e)) || []; - if (object.documentation !== undefined && object.documentation !== null) { - message.documentation = Documentation.fromPartial(object.documentation); - } - if (object.quota !== undefined && object.quota !== null) { - message.quota = Quota.fromPartial(object.quota); - } - if (object.authentication !== undefined && object.authentication !== null) { - message.authentication = Authentication.fromPartial(object.authentication); - } - if (object.usage !== undefined && object.usage !== null) { - message.usage = Usage.fromPartial(object.usage); - } - message.endpoints = object.endpoints?.map(e => Endpoint.fromPartial(e)) || []; - message.monitoredResources = object.monitoredResources?.map(e => MonitoredResourceDescriptor.fromPartial(e)) || []; - if (object.monitoring !== undefined && object.monitoring !== null) { - message.monitoring = Monitoring.fromPartial(object.monitoring); - } - return message; - }, - fromSDK(object: ServiceConfigSDKType): ServiceConfig { - return { - name: object?.name, - title: object?.title, - apis: Array.isArray(object?.apis) ? object.apis.map((e: any) => Api.fromSDK(e)) : [], - documentation: object.documentation ? Documentation.fromSDK(object.documentation) : undefined, - quota: object.quota ? Quota.fromSDK(object.quota) : undefined, - authentication: object.authentication ? Authentication.fromSDK(object.authentication) : undefined, - usage: object.usage ? Usage.fromSDK(object.usage) : undefined, - endpoints: Array.isArray(object?.endpoints) ? object.endpoints.map((e: any) => Endpoint.fromSDK(e)) : [], - monitoredResources: Array.isArray(object?.monitored_resources) ? object.monitored_resources.map((e: any) => MonitoredResourceDescriptor.fromSDK(e)) : [], - monitoring: object.monitoring ? Monitoring.fromSDK(object.monitoring) : undefined - }; - }, - toSDK(message: ServiceConfig): ServiceConfigSDKType { - const obj: any = {}; - obj.name = message.name; - obj.title = message.title; - if (message.apis) { - obj.apis = message.apis.map(e => e ? Api.toSDK(e) : undefined); - } else { - obj.apis = []; - } - message.documentation !== undefined && (obj.documentation = message.documentation ? Documentation.toSDK(message.documentation) : undefined); - message.quota !== undefined && (obj.quota = message.quota ? Quota.toSDK(message.quota) : undefined); - message.authentication !== undefined && (obj.authentication = message.authentication ? Authentication.toSDK(message.authentication) : undefined); - message.usage !== undefined && (obj.usage = message.usage ? Usage.toSDK(message.usage) : undefined); - if (message.endpoints) { - obj.endpoints = message.endpoints.map(e => e ? Endpoint.toSDK(e) : undefined); - } else { - obj.endpoints = []; - } - if (message.monitoredResources) { - obj.monitored_resources = message.monitoredResources.map(e => e ? MonitoredResourceDescriptor.toSDK(e) : undefined); - } else { - obj.monitored_resources = []; - } - message.monitoring !== undefined && (obj.monitoring = message.monitoring ? Monitoring.toSDK(message.monitoring) : undefined); - return obj; - }, - fromAmino(object: ServiceConfigAmino): ServiceConfig { - return { - name: object.name, - title: object.title, - apis: Array.isArray(object?.apis) ? object.apis.map((e: any) => Api.fromAmino(e)) : [], - documentation: object?.documentation ? Documentation.fromAmino(object.documentation) : undefined, - quota: object?.quota ? Quota.fromAmino(object.quota) : undefined, - authentication: object?.authentication ? Authentication.fromAmino(object.authentication) : undefined, - usage: object?.usage ? Usage.fromAmino(object.usage) : undefined, - endpoints: Array.isArray(object?.endpoints) ? object.endpoints.map((e: any) => Endpoint.fromAmino(e)) : [], - monitoredResources: Array.isArray(object?.monitored_resources) ? object.monitored_resources.map((e: any) => MonitoredResourceDescriptor.fromAmino(e)) : [], - monitoring: object?.monitoring ? Monitoring.fromAmino(object.monitoring) : undefined - }; - }, - toAmino(message: ServiceConfig): ServiceConfigAmino { - const obj: any = {}; - obj.name = message.name; - obj.title = message.title; - if (message.apis) { - obj.apis = message.apis.map(e => e ? Api.toAmino(e) : undefined); - } else { - obj.apis = []; - } - obj.documentation = message.documentation ? Documentation.toAmino(message.documentation) : undefined; - obj.quota = message.quota ? Quota.toAmino(message.quota) : undefined; - obj.authentication = message.authentication ? Authentication.toAmino(message.authentication) : undefined; - obj.usage = message.usage ? Usage.toAmino(message.usage) : undefined; - if (message.endpoints) { - obj.endpoints = message.endpoints.map(e => e ? Endpoint.toAmino(e) : undefined); - } else { - obj.endpoints = []; - } - if (message.monitoredResources) { - obj.monitored_resources = message.monitoredResources.map(e => e ? MonitoredResourceDescriptor.toAmino(e) : undefined); - } else { - obj.monitored_resources = []; - } - obj.monitoring = message.monitoring ? Monitoring.toAmino(message.monitoring) : undefined; - return obj; - }, - fromAminoMsg(object: ServiceConfigAminoMsg): ServiceConfig { - return ServiceConfig.fromAmino(object.value); - }, - fromProtoMsg(message: ServiceConfigProtoMsg): ServiceConfig { - return ServiceConfig.decode(message.value); - }, - toProto(message: ServiceConfig): Uint8Array { - return ServiceConfig.encode(message).finish(); - }, - toProtoMsg(message: ServiceConfig): ServiceConfigProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.ServiceConfig", - value: ServiceConfig.encode(message).finish() - }; - } -}; -function createBaseOperationMetadata(): OperationMetadata { - return { - resourceNames: [] - }; -} -export const OperationMetadata = { - typeUrl: "/google.api.serviceusage.v1.OperationMetadata", - encode(message: OperationMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.resourceNames) { - writer.uint32(18).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): OperationMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOperationMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.resourceNames.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): OperationMetadata { - const obj = createBaseOperationMetadata(); - if (Array.isArray(object?.resourceNames)) obj.resourceNames = object.resourceNames.map((e: any) => String(e)); - return obj; - }, - toJSON(message: OperationMetadata): unknown { - const obj: any = {}; - if (message.resourceNames) { - obj.resourceNames = message.resourceNames.map(e => e); - } else { - obj.resourceNames = []; - } - return obj; - }, - fromPartial(object: DeepPartial): OperationMetadata { - const message = createBaseOperationMetadata(); - message.resourceNames = object.resourceNames?.map(e => e) || []; - return message; - }, - fromSDK(object: OperationMetadataSDKType): OperationMetadata { - return { - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [] - }; - }, - toSDK(message: OperationMetadata): OperationMetadataSDKType { - const obj: any = {}; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - return obj; - }, - fromAmino(object: OperationMetadataAmino): OperationMetadata { - return { - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [] - }; - }, - toAmino(message: OperationMetadata): OperationMetadataAmino { - const obj: any = {}; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - return obj; - }, - fromAminoMsg(object: OperationMetadataAminoMsg): OperationMetadata { - return OperationMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: OperationMetadataProtoMsg): OperationMetadata { - return OperationMetadata.decode(message.value); - }, - toProto(message: OperationMetadata): Uint8Array { - return OperationMetadata.encode(message).finish(); - }, - toProtoMsg(message: OperationMetadata): OperationMetadataProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.OperationMetadata", - value: OperationMetadata.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/serviceusage/v1/serviceusage.ts b/quicksilverjs/src/codegen/google/api/serviceusage/v1/serviceusage.ts deleted file mode 100644 index 0221c216f..000000000 --- a/quicksilverjs/src/codegen/google/api/serviceusage/v1/serviceusage.ts +++ /dev/null @@ -1,1761 +0,0 @@ -import { Service, ServiceAmino, ServiceSDKType } from "./resources"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../../helpers"; -export const protobufPackage = "google.api.serviceusage.v1"; -/** - * Enum to determine if service usage should be checked when disabling a - * service. - */ -export enum DisableServiceRequest_CheckIfServiceHasUsage { - /** CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED - When unset, the default behavior is used, which is SKIP. */ - CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED = 0, - /** SKIP - If set, skip checking service usage when disabling a service. */ - SKIP = 1, - /** - * CHECK - If set, service usage is checked when disabling the service. If a - * service, or its dependents, has usage in the last 30 days, the request - * returns a FAILED_PRECONDITION error. - */ - CHECK = 2, - UNRECOGNIZED = -1, -} -export const DisableServiceRequest_CheckIfServiceHasUsageSDKType = DisableServiceRequest_CheckIfServiceHasUsage; -export const DisableServiceRequest_CheckIfServiceHasUsageAmino = DisableServiceRequest_CheckIfServiceHasUsage; -export function disableServiceRequest_CheckIfServiceHasUsageFromJSON(object: any): DisableServiceRequest_CheckIfServiceHasUsage { - switch (object) { - case 0: - case "CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED": - return DisableServiceRequest_CheckIfServiceHasUsage.CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED; - case 1: - case "SKIP": - return DisableServiceRequest_CheckIfServiceHasUsage.SKIP; - case 2: - case "CHECK": - return DisableServiceRequest_CheckIfServiceHasUsage.CHECK; - case -1: - case "UNRECOGNIZED": - default: - return DisableServiceRequest_CheckIfServiceHasUsage.UNRECOGNIZED; - } -} -export function disableServiceRequest_CheckIfServiceHasUsageToJSON(object: DisableServiceRequest_CheckIfServiceHasUsage): string { - switch (object) { - case DisableServiceRequest_CheckIfServiceHasUsage.CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED: - return "CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED"; - case DisableServiceRequest_CheckIfServiceHasUsage.SKIP: - return "SKIP"; - case DisableServiceRequest_CheckIfServiceHasUsage.CHECK: - return "CHECK"; - case DisableServiceRequest_CheckIfServiceHasUsage.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Request message for the `EnableService` method. */ -export interface EnableServiceRequest { - /** - * Name of the consumer and service to enable the service on. - * - * The `EnableService` and `DisableService` methods currently only support - * projects. - * - * Enabling a service requires that the service is public or is shared with - * the user enabling the service. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` where `123` is the - * project number. - */ - name: string; -} -export interface EnableServiceRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1.EnableServiceRequest"; - value: Uint8Array; -} -/** Request message for the `EnableService` method. */ -export interface EnableServiceRequestAmino { - /** - * Name of the consumer and service to enable the service on. - * - * The `EnableService` and `DisableService` methods currently only support - * projects. - * - * Enabling a service requires that the service is public or is shared with - * the user enabling the service. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` where `123` is the - * project number. - */ - name: string; -} -export interface EnableServiceRequestAminoMsg { - type: "/google.api.serviceusage.v1.EnableServiceRequest"; - value: EnableServiceRequestAmino; -} -/** Request message for the `EnableService` method. */ -export interface EnableServiceRequestSDKType { - name: string; -} -/** - * Response message for the `EnableService` method. - * This response message is assigned to the `response` field of the returned - * Operation when that operation is done. - */ -export interface EnableServiceResponse { - /** The new state of the service after enabling. */ - service: Service; -} -export interface EnableServiceResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1.EnableServiceResponse"; - value: Uint8Array; -} -/** - * Response message for the `EnableService` method. - * This response message is assigned to the `response` field of the returned - * Operation when that operation is done. - */ -export interface EnableServiceResponseAmino { - /** The new state of the service after enabling. */ - service?: ServiceAmino; -} -export interface EnableServiceResponseAminoMsg { - type: "/google.api.serviceusage.v1.EnableServiceResponse"; - value: EnableServiceResponseAmino; -} -/** - * Response message for the `EnableService` method. - * This response message is assigned to the `response` field of the returned - * Operation when that operation is done. - */ -export interface EnableServiceResponseSDKType { - service: ServiceSDKType; -} -/** Request message for the `DisableService` method. */ -export interface DisableServiceRequest { - /** - * Name of the consumer and service to disable the service on. - * - * The enable and disable methods currently only support projects. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` where `123` is the - * project number. - */ - name: string; - /** - * Indicates if services that are enabled and which depend on this service - * should also be disabled. If not set, an error will be generated if any - * enabled services depend on the service to be disabled. When set, the - * service, and any enabled services that depend on it, will be disabled - * together. - */ - disableDependentServices: boolean; - /** Defines the behavior for checking service usage when disabling a service. */ - checkIfServiceHasUsage: DisableServiceRequest_CheckIfServiceHasUsage; -} -export interface DisableServiceRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1.DisableServiceRequest"; - value: Uint8Array; -} -/** Request message for the `DisableService` method. */ -export interface DisableServiceRequestAmino { - /** - * Name of the consumer and service to disable the service on. - * - * The enable and disable methods currently only support projects. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` where `123` is the - * project number. - */ - name: string; - /** - * Indicates if services that are enabled and which depend on this service - * should also be disabled. If not set, an error will be generated if any - * enabled services depend on the service to be disabled. When set, the - * service, and any enabled services that depend on it, will be disabled - * together. - */ - disable_dependent_services: boolean; - /** Defines the behavior for checking service usage when disabling a service. */ - check_if_service_has_usage: DisableServiceRequest_CheckIfServiceHasUsage; -} -export interface DisableServiceRequestAminoMsg { - type: "/google.api.serviceusage.v1.DisableServiceRequest"; - value: DisableServiceRequestAmino; -} -/** Request message for the `DisableService` method. */ -export interface DisableServiceRequestSDKType { - name: string; - disable_dependent_services: boolean; - check_if_service_has_usage: DisableServiceRequest_CheckIfServiceHasUsage; -} -/** - * Response message for the `DisableService` method. - * This response message is assigned to the `response` field of the returned - * Operation when that operation is done. - */ -export interface DisableServiceResponse { - /** The new state of the service after disabling. */ - service: Service; -} -export interface DisableServiceResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1.DisableServiceResponse"; - value: Uint8Array; -} -/** - * Response message for the `DisableService` method. - * This response message is assigned to the `response` field of the returned - * Operation when that operation is done. - */ -export interface DisableServiceResponseAmino { - /** The new state of the service after disabling. */ - service?: ServiceAmino; -} -export interface DisableServiceResponseAminoMsg { - type: "/google.api.serviceusage.v1.DisableServiceResponse"; - value: DisableServiceResponseAmino; -} -/** - * Response message for the `DisableService` method. - * This response message is assigned to the `response` field of the returned - * Operation when that operation is done. - */ -export interface DisableServiceResponseSDKType { - service: ServiceSDKType; -} -/** Request message for the `GetService` method. */ -export interface GetServiceRequest { - /** - * Name of the consumer and service to get the `ConsumerState` for. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` where `123` is the - * project number. - */ - name: string; -} -export interface GetServiceRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1.GetServiceRequest"; - value: Uint8Array; -} -/** Request message for the `GetService` method. */ -export interface GetServiceRequestAmino { - /** - * Name of the consumer and service to get the `ConsumerState` for. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` where `123` is the - * project number. - */ - name: string; -} -export interface GetServiceRequestAminoMsg { - type: "/google.api.serviceusage.v1.GetServiceRequest"; - value: GetServiceRequestAmino; -} -/** Request message for the `GetService` method. */ -export interface GetServiceRequestSDKType { - name: string; -} -/** Request message for the `ListServices` method. */ -export interface ListServicesRequest { - /** - * Parent to search for services on. - * - * An example name would be: - * `projects/123` where `123` is the project number. - */ - parent: string; - /** - * Requested size of the next page of data. - * Requested page size cannot exceed 200. - * If not set, the default page size is 50. - */ - pageSize: number; - /** - * Token identifying which result to start with, which is returned by a - * previous list call. - */ - pageToken: string; - /** - * Only list services that conform to the given filter. - * The allowed filter strings are `state:ENABLED` and `state:DISABLED`. - */ - filter: string; -} -export interface ListServicesRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1.ListServicesRequest"; - value: Uint8Array; -} -/** Request message for the `ListServices` method. */ -export interface ListServicesRequestAmino { - /** - * Parent to search for services on. - * - * An example name would be: - * `projects/123` where `123` is the project number. - */ - parent: string; - /** - * Requested size of the next page of data. - * Requested page size cannot exceed 200. - * If not set, the default page size is 50. - */ - page_size: number; - /** - * Token identifying which result to start with, which is returned by a - * previous list call. - */ - page_token: string; - /** - * Only list services that conform to the given filter. - * The allowed filter strings are `state:ENABLED` and `state:DISABLED`. - */ - filter: string; -} -export interface ListServicesRequestAminoMsg { - type: "/google.api.serviceusage.v1.ListServicesRequest"; - value: ListServicesRequestAmino; -} -/** Request message for the `ListServices` method. */ -export interface ListServicesRequestSDKType { - parent: string; - page_size: number; - page_token: string; - filter: string; -} -/** Response message for the `ListServices` method. */ -export interface ListServicesResponse { - /** The available services for the requested project. */ - services: Service[]; - /** - * Token that can be passed to `ListServices` to resume a paginated - * query. - */ - nextPageToken: string; -} -export interface ListServicesResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1.ListServicesResponse"; - value: Uint8Array; -} -/** Response message for the `ListServices` method. */ -export interface ListServicesResponseAmino { - /** The available services for the requested project. */ - services: ServiceAmino[]; - /** - * Token that can be passed to `ListServices` to resume a paginated - * query. - */ - next_page_token: string; -} -export interface ListServicesResponseAminoMsg { - type: "/google.api.serviceusage.v1.ListServicesResponse"; - value: ListServicesResponseAmino; -} -/** Response message for the `ListServices` method. */ -export interface ListServicesResponseSDKType { - services: ServiceSDKType[]; - next_page_token: string; -} -/** Request message for the `BatchEnableServices` method. */ -export interface BatchEnableServicesRequest { - /** - * Parent to enable services on. - * - * An example name would be: - * `projects/123` where `123` is the project number. - * - * The `BatchEnableServices` method currently only supports projects. - */ - parent: string; - /** - * The identifiers of the services to enable on the project. - * - * A valid identifier would be: - * serviceusage.googleapis.com - * - * Enabling services requires that each service is public or is shared with - * the user enabling the service. - * - * A single request can enable a maximum of 20 services at a time. If more - * than 20 services are specified, the request will fail, and no state changes - * will occur. - */ - serviceIds: string[]; -} -export interface BatchEnableServicesRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1.BatchEnableServicesRequest"; - value: Uint8Array; -} -/** Request message for the `BatchEnableServices` method. */ -export interface BatchEnableServicesRequestAmino { - /** - * Parent to enable services on. - * - * An example name would be: - * `projects/123` where `123` is the project number. - * - * The `BatchEnableServices` method currently only supports projects. - */ - parent: string; - /** - * The identifiers of the services to enable on the project. - * - * A valid identifier would be: - * serviceusage.googleapis.com - * - * Enabling services requires that each service is public or is shared with - * the user enabling the service. - * - * A single request can enable a maximum of 20 services at a time. If more - * than 20 services are specified, the request will fail, and no state changes - * will occur. - */ - service_ids: string[]; -} -export interface BatchEnableServicesRequestAminoMsg { - type: "/google.api.serviceusage.v1.BatchEnableServicesRequest"; - value: BatchEnableServicesRequestAmino; -} -/** Request message for the `BatchEnableServices` method. */ -export interface BatchEnableServicesRequestSDKType { - parent: string; - service_ids: string[]; -} -/** - * Response message for the `BatchEnableServices` method. - * This response message is assigned to the `response` field of the returned - * Operation when that operation is done. - */ -export interface BatchEnableServicesResponse { - /** The new state of the services after enabling. */ - services: Service[]; - /** - * If allow_partial_success is true, and one or more services could not be - * enabled, this field contains the details about each failure. - */ - failures: BatchEnableServicesResponse_EnableFailure[]; -} -export interface BatchEnableServicesResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1.BatchEnableServicesResponse"; - value: Uint8Array; -} -/** - * Response message for the `BatchEnableServices` method. - * This response message is assigned to the `response` field of the returned - * Operation when that operation is done. - */ -export interface BatchEnableServicesResponseAmino { - /** The new state of the services after enabling. */ - services: ServiceAmino[]; - /** - * If allow_partial_success is true, and one or more services could not be - * enabled, this field contains the details about each failure. - */ - failures: BatchEnableServicesResponse_EnableFailureAmino[]; -} -export interface BatchEnableServicesResponseAminoMsg { - type: "/google.api.serviceusage.v1.BatchEnableServicesResponse"; - value: BatchEnableServicesResponseAmino; -} -/** - * Response message for the `BatchEnableServices` method. - * This response message is assigned to the `response` field of the returned - * Operation when that operation is done. - */ -export interface BatchEnableServicesResponseSDKType { - services: ServiceSDKType[]; - failures: BatchEnableServicesResponse_EnableFailureSDKType[]; -} -/** Provides error messages for the failing services. */ -export interface BatchEnableServicesResponse_EnableFailure { - /** The service id of a service that could not be enabled. */ - serviceId: string; - /** An error message describing why the service could not be enabled. */ - errorMessage: string; -} -export interface BatchEnableServicesResponse_EnableFailureProtoMsg { - typeUrl: "/google.api.serviceusage.v1.EnableFailure"; - value: Uint8Array; -} -/** Provides error messages for the failing services. */ -export interface BatchEnableServicesResponse_EnableFailureAmino { - /** The service id of a service that could not be enabled. */ - service_id: string; - /** An error message describing why the service could not be enabled. */ - error_message: string; -} -export interface BatchEnableServicesResponse_EnableFailureAminoMsg { - type: "/google.api.serviceusage.v1.EnableFailure"; - value: BatchEnableServicesResponse_EnableFailureAmino; -} -/** Provides error messages for the failing services. */ -export interface BatchEnableServicesResponse_EnableFailureSDKType { - service_id: string; - error_message: string; -} -/** Request message for the `BatchGetServices` method. */ -export interface BatchGetServicesRequest { - /** - * Parent to retrieve services from. - * If this is set, the parent of all of the services specified in `names` must - * match this field. An example name would be: `projects/123` where `123` is - * the project number. The `BatchGetServices` method currently only supports - * projects. - */ - parent: string; - /** - * Names of the services to retrieve. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` where `123` is the - * project number. - * A single request can get a maximum of 30 services at a time. - */ - names: string[]; -} -export interface BatchGetServicesRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1.BatchGetServicesRequest"; - value: Uint8Array; -} -/** Request message for the `BatchGetServices` method. */ -export interface BatchGetServicesRequestAmino { - /** - * Parent to retrieve services from. - * If this is set, the parent of all of the services specified in `names` must - * match this field. An example name would be: `projects/123` where `123` is - * the project number. The `BatchGetServices` method currently only supports - * projects. - */ - parent: string; - /** - * Names of the services to retrieve. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` where `123` is the - * project number. - * A single request can get a maximum of 30 services at a time. - */ - names: string[]; -} -export interface BatchGetServicesRequestAminoMsg { - type: "/google.api.serviceusage.v1.BatchGetServicesRequest"; - value: BatchGetServicesRequestAmino; -} -/** Request message for the `BatchGetServices` method. */ -export interface BatchGetServicesRequestSDKType { - parent: string; - names: string[]; -} -/** Response message for the `BatchGetServices` method. */ -export interface BatchGetServicesResponse { - /** The requested Service states. */ - services: Service[]; -} -export interface BatchGetServicesResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1.BatchGetServicesResponse"; - value: Uint8Array; -} -/** Response message for the `BatchGetServices` method. */ -export interface BatchGetServicesResponseAmino { - /** The requested Service states. */ - services: ServiceAmino[]; -} -export interface BatchGetServicesResponseAminoMsg { - type: "/google.api.serviceusage.v1.BatchGetServicesResponse"; - value: BatchGetServicesResponseAmino; -} -/** Response message for the `BatchGetServices` method. */ -export interface BatchGetServicesResponseSDKType { - services: ServiceSDKType[]; -} -function createBaseEnableServiceRequest(): EnableServiceRequest { - return { - name: "" - }; -} -export const EnableServiceRequest = { - typeUrl: "/google.api.serviceusage.v1.EnableServiceRequest", - encode(message: EnableServiceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EnableServiceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnableServiceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EnableServiceRequest { - const obj = createBaseEnableServiceRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: EnableServiceRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): EnableServiceRequest { - const message = createBaseEnableServiceRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: EnableServiceRequestSDKType): EnableServiceRequest { - return { - name: object?.name - }; - }, - toSDK(message: EnableServiceRequest): EnableServiceRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: EnableServiceRequestAmino): EnableServiceRequest { - return { - name: object.name - }; - }, - toAmino(message: EnableServiceRequest): EnableServiceRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: EnableServiceRequestAminoMsg): EnableServiceRequest { - return EnableServiceRequest.fromAmino(object.value); - }, - fromProtoMsg(message: EnableServiceRequestProtoMsg): EnableServiceRequest { - return EnableServiceRequest.decode(message.value); - }, - toProto(message: EnableServiceRequest): Uint8Array { - return EnableServiceRequest.encode(message).finish(); - }, - toProtoMsg(message: EnableServiceRequest): EnableServiceRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.EnableServiceRequest", - value: EnableServiceRequest.encode(message).finish() - }; - } -}; -function createBaseEnableServiceResponse(): EnableServiceResponse { - return { - service: Service.fromPartial({}) - }; -} -export const EnableServiceResponse = { - typeUrl: "/google.api.serviceusage.v1.EnableServiceResponse", - encode(message: EnableServiceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.service !== undefined) { - Service.encode(message.service, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EnableServiceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnableServiceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.service = Service.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EnableServiceResponse { - const obj = createBaseEnableServiceResponse(); - if (isSet(object.service)) obj.service = Service.fromJSON(object.service); - return obj; - }, - toJSON(message: EnableServiceResponse): unknown { - const obj: any = {}; - message.service !== undefined && (obj.service = message.service ? Service.toJSON(message.service) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): EnableServiceResponse { - const message = createBaseEnableServiceResponse(); - if (object.service !== undefined && object.service !== null) { - message.service = Service.fromPartial(object.service); - } - return message; - }, - fromSDK(object: EnableServiceResponseSDKType): EnableServiceResponse { - return { - service: object.service ? Service.fromSDK(object.service) : undefined - }; - }, - toSDK(message: EnableServiceResponse): EnableServiceResponseSDKType { - const obj: any = {}; - message.service !== undefined && (obj.service = message.service ? Service.toSDK(message.service) : undefined); - return obj; - }, - fromAmino(object: EnableServiceResponseAmino): EnableServiceResponse { - return { - service: object?.service ? Service.fromAmino(object.service) : undefined - }; - }, - toAmino(message: EnableServiceResponse): EnableServiceResponseAmino { - const obj: any = {}; - obj.service = message.service ? Service.toAmino(message.service) : undefined; - return obj; - }, - fromAminoMsg(object: EnableServiceResponseAminoMsg): EnableServiceResponse { - return EnableServiceResponse.fromAmino(object.value); - }, - fromProtoMsg(message: EnableServiceResponseProtoMsg): EnableServiceResponse { - return EnableServiceResponse.decode(message.value); - }, - toProto(message: EnableServiceResponse): Uint8Array { - return EnableServiceResponse.encode(message).finish(); - }, - toProtoMsg(message: EnableServiceResponse): EnableServiceResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.EnableServiceResponse", - value: EnableServiceResponse.encode(message).finish() - }; - } -}; -function createBaseDisableServiceRequest(): DisableServiceRequest { - return { - name: "", - disableDependentServices: false, - checkIfServiceHasUsage: 0 - }; -} -export const DisableServiceRequest = { - typeUrl: "/google.api.serviceusage.v1.DisableServiceRequest", - encode(message: DisableServiceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.disableDependentServices === true) { - writer.uint32(16).bool(message.disableDependentServices); - } - if (message.checkIfServiceHasUsage !== 0) { - writer.uint32(24).int32(message.checkIfServiceHasUsage); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DisableServiceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDisableServiceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.disableDependentServices = reader.bool(); - break; - case 3: - message.checkIfServiceHasUsage = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DisableServiceRequest { - const obj = createBaseDisableServiceRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.disableDependentServices)) obj.disableDependentServices = Boolean(object.disableDependentServices); - if (isSet(object.checkIfServiceHasUsage)) obj.checkIfServiceHasUsage = disableServiceRequest_CheckIfServiceHasUsageFromJSON(object.checkIfServiceHasUsage); - return obj; - }, - toJSON(message: DisableServiceRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.disableDependentServices !== undefined && (obj.disableDependentServices = message.disableDependentServices); - message.checkIfServiceHasUsage !== undefined && (obj.checkIfServiceHasUsage = disableServiceRequest_CheckIfServiceHasUsageToJSON(message.checkIfServiceHasUsage)); - return obj; - }, - fromPartial(object: DeepPartial): DisableServiceRequest { - const message = createBaseDisableServiceRequest(); - message.name = object.name ?? ""; - message.disableDependentServices = object.disableDependentServices ?? false; - message.checkIfServiceHasUsage = object.checkIfServiceHasUsage ?? 0; - return message; - }, - fromSDK(object: DisableServiceRequestSDKType): DisableServiceRequest { - return { - name: object?.name, - disableDependentServices: object?.disable_dependent_services, - checkIfServiceHasUsage: isSet(object.check_if_service_has_usage) ? disableServiceRequest_CheckIfServiceHasUsageFromJSON(object.check_if_service_has_usage) : -1 - }; - }, - toSDK(message: DisableServiceRequest): DisableServiceRequestSDKType { - const obj: any = {}; - obj.name = message.name; - obj.disable_dependent_services = message.disableDependentServices; - message.checkIfServiceHasUsage !== undefined && (obj.check_if_service_has_usage = disableServiceRequest_CheckIfServiceHasUsageToJSON(message.checkIfServiceHasUsage)); - return obj; - }, - fromAmino(object: DisableServiceRequestAmino): DisableServiceRequest { - return { - name: object.name, - disableDependentServices: object.disable_dependent_services, - checkIfServiceHasUsage: isSet(object.check_if_service_has_usage) ? disableServiceRequest_CheckIfServiceHasUsageFromJSON(object.check_if_service_has_usage) : -1 - }; - }, - toAmino(message: DisableServiceRequest): DisableServiceRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.disable_dependent_services = message.disableDependentServices; - obj.check_if_service_has_usage = message.checkIfServiceHasUsage; - return obj; - }, - fromAminoMsg(object: DisableServiceRequestAminoMsg): DisableServiceRequest { - return DisableServiceRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DisableServiceRequestProtoMsg): DisableServiceRequest { - return DisableServiceRequest.decode(message.value); - }, - toProto(message: DisableServiceRequest): Uint8Array { - return DisableServiceRequest.encode(message).finish(); - }, - toProtoMsg(message: DisableServiceRequest): DisableServiceRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.DisableServiceRequest", - value: DisableServiceRequest.encode(message).finish() - }; - } -}; -function createBaseDisableServiceResponse(): DisableServiceResponse { - return { - service: Service.fromPartial({}) - }; -} -export const DisableServiceResponse = { - typeUrl: "/google.api.serviceusage.v1.DisableServiceResponse", - encode(message: DisableServiceResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.service !== undefined) { - Service.encode(message.service, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DisableServiceResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDisableServiceResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.service = Service.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DisableServiceResponse { - const obj = createBaseDisableServiceResponse(); - if (isSet(object.service)) obj.service = Service.fromJSON(object.service); - return obj; - }, - toJSON(message: DisableServiceResponse): unknown { - const obj: any = {}; - message.service !== undefined && (obj.service = message.service ? Service.toJSON(message.service) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): DisableServiceResponse { - const message = createBaseDisableServiceResponse(); - if (object.service !== undefined && object.service !== null) { - message.service = Service.fromPartial(object.service); - } - return message; - }, - fromSDK(object: DisableServiceResponseSDKType): DisableServiceResponse { - return { - service: object.service ? Service.fromSDK(object.service) : undefined - }; - }, - toSDK(message: DisableServiceResponse): DisableServiceResponseSDKType { - const obj: any = {}; - message.service !== undefined && (obj.service = message.service ? Service.toSDK(message.service) : undefined); - return obj; - }, - fromAmino(object: DisableServiceResponseAmino): DisableServiceResponse { - return { - service: object?.service ? Service.fromAmino(object.service) : undefined - }; - }, - toAmino(message: DisableServiceResponse): DisableServiceResponseAmino { - const obj: any = {}; - obj.service = message.service ? Service.toAmino(message.service) : undefined; - return obj; - }, - fromAminoMsg(object: DisableServiceResponseAminoMsg): DisableServiceResponse { - return DisableServiceResponse.fromAmino(object.value); - }, - fromProtoMsg(message: DisableServiceResponseProtoMsg): DisableServiceResponse { - return DisableServiceResponse.decode(message.value); - }, - toProto(message: DisableServiceResponse): Uint8Array { - return DisableServiceResponse.encode(message).finish(); - }, - toProtoMsg(message: DisableServiceResponse): DisableServiceResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.DisableServiceResponse", - value: DisableServiceResponse.encode(message).finish() - }; - } -}; -function createBaseGetServiceRequest(): GetServiceRequest { - return { - name: "" - }; -} -export const GetServiceRequest = { - typeUrl: "/google.api.serviceusage.v1.GetServiceRequest", - encode(message: GetServiceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetServiceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetServiceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetServiceRequest { - const obj = createBaseGetServiceRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: GetServiceRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): GetServiceRequest { - const message = createBaseGetServiceRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: GetServiceRequestSDKType): GetServiceRequest { - return { - name: object?.name - }; - }, - toSDK(message: GetServiceRequest): GetServiceRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: GetServiceRequestAmino): GetServiceRequest { - return { - name: object.name - }; - }, - toAmino(message: GetServiceRequest): GetServiceRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: GetServiceRequestAminoMsg): GetServiceRequest { - return GetServiceRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetServiceRequestProtoMsg): GetServiceRequest { - return GetServiceRequest.decode(message.value); - }, - toProto(message: GetServiceRequest): Uint8Array { - return GetServiceRequest.encode(message).finish(); - }, - toProtoMsg(message: GetServiceRequest): GetServiceRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.GetServiceRequest", - value: GetServiceRequest.encode(message).finish() - }; - } -}; -function createBaseListServicesRequest(): ListServicesRequest { - return { - parent: "", - pageSize: 0, - pageToken: "", - filter: "" - }; -} -export const ListServicesRequest = { - typeUrl: "/google.api.serviceusage.v1.ListServicesRequest", - encode(message: ListServicesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.pageSize !== 0) { - writer.uint32(16).int32(message.pageSize); - } - if (message.pageToken !== "") { - writer.uint32(26).string(message.pageToken); - } - if (message.filter !== "") { - writer.uint32(34).string(message.filter); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListServicesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListServicesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.filter = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListServicesRequest { - const obj = createBaseListServicesRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (isSet(object.filter)) obj.filter = String(object.filter); - return obj; - }, - toJSON(message: ListServicesRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - message.filter !== undefined && (obj.filter = message.filter); - return obj; - }, - fromPartial(object: DeepPartial): ListServicesRequest { - const message = createBaseListServicesRequest(); - message.parent = object.parent ?? ""; - message.pageSize = object.pageSize ?? 0; - message.pageToken = object.pageToken ?? ""; - message.filter = object.filter ?? ""; - return message; - }, - fromSDK(object: ListServicesRequestSDKType): ListServicesRequest { - return { - parent: object?.parent, - pageSize: object?.page_size, - pageToken: object?.page_token, - filter: object?.filter - }; - }, - toSDK(message: ListServicesRequest): ListServicesRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - obj.filter = message.filter; - return obj; - }, - fromAmino(object: ListServicesRequestAmino): ListServicesRequest { - return { - parent: object.parent, - pageSize: object.page_size, - pageToken: object.page_token, - filter: object.filter - }; - }, - toAmino(message: ListServicesRequest): ListServicesRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - obj.filter = message.filter; - return obj; - }, - fromAminoMsg(object: ListServicesRequestAminoMsg): ListServicesRequest { - return ListServicesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListServicesRequestProtoMsg): ListServicesRequest { - return ListServicesRequest.decode(message.value); - }, - toProto(message: ListServicesRequest): Uint8Array { - return ListServicesRequest.encode(message).finish(); - }, - toProtoMsg(message: ListServicesRequest): ListServicesRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.ListServicesRequest", - value: ListServicesRequest.encode(message).finish() - }; - } -}; -function createBaseListServicesResponse(): ListServicesResponse { - return { - services: [], - nextPageToken: "" - }; -} -export const ListServicesResponse = { - typeUrl: "/google.api.serviceusage.v1.ListServicesResponse", - encode(message: ListServicesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.services) { - Service.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListServicesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListServicesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.services.push(Service.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListServicesResponse { - const obj = createBaseListServicesResponse(); - if (Array.isArray(object?.services)) obj.services = object.services.map((e: any) => Service.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListServicesResponse): unknown { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toJSON(e) : undefined); - } else { - obj.services = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListServicesResponse { - const message = createBaseListServicesResponse(); - message.services = object.services?.map(e => Service.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListServicesResponseSDKType): ListServicesResponse { - return { - services: Array.isArray(object?.services) ? object.services.map((e: any) => Service.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListServicesResponse): ListServicesResponseSDKType { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toSDK(e) : undefined); - } else { - obj.services = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListServicesResponseAmino): ListServicesResponse { - return { - services: Array.isArray(object?.services) ? object.services.map((e: any) => Service.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListServicesResponse): ListServicesResponseAmino { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toAmino(e) : undefined); - } else { - obj.services = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListServicesResponseAminoMsg): ListServicesResponse { - return ListServicesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListServicesResponseProtoMsg): ListServicesResponse { - return ListServicesResponse.decode(message.value); - }, - toProto(message: ListServicesResponse): Uint8Array { - return ListServicesResponse.encode(message).finish(); - }, - toProtoMsg(message: ListServicesResponse): ListServicesResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.ListServicesResponse", - value: ListServicesResponse.encode(message).finish() - }; - } -}; -function createBaseBatchEnableServicesRequest(): BatchEnableServicesRequest { - return { - parent: "", - serviceIds: [] - }; -} -export const BatchEnableServicesRequest = { - typeUrl: "/google.api.serviceusage.v1.BatchEnableServicesRequest", - encode(message: BatchEnableServicesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - for (const v of message.serviceIds) { - writer.uint32(18).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BatchEnableServicesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchEnableServicesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.serviceIds.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BatchEnableServicesRequest { - const obj = createBaseBatchEnableServicesRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (Array.isArray(object?.serviceIds)) obj.serviceIds = object.serviceIds.map((e: any) => String(e)); - return obj; - }, - toJSON(message: BatchEnableServicesRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - if (message.serviceIds) { - obj.serviceIds = message.serviceIds.map(e => e); - } else { - obj.serviceIds = []; - } - return obj; - }, - fromPartial(object: DeepPartial): BatchEnableServicesRequest { - const message = createBaseBatchEnableServicesRequest(); - message.parent = object.parent ?? ""; - message.serviceIds = object.serviceIds?.map(e => e) || []; - return message; - }, - fromSDK(object: BatchEnableServicesRequestSDKType): BatchEnableServicesRequest { - return { - parent: object?.parent, - serviceIds: Array.isArray(object?.service_ids) ? object.service_ids.map((e: any) => e) : [] - }; - }, - toSDK(message: BatchEnableServicesRequest): BatchEnableServicesRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - if (message.serviceIds) { - obj.service_ids = message.serviceIds.map(e => e); - } else { - obj.service_ids = []; - } - return obj; - }, - fromAmino(object: BatchEnableServicesRequestAmino): BatchEnableServicesRequest { - return { - parent: object.parent, - serviceIds: Array.isArray(object?.service_ids) ? object.service_ids.map((e: any) => e) : [] - }; - }, - toAmino(message: BatchEnableServicesRequest): BatchEnableServicesRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - if (message.serviceIds) { - obj.service_ids = message.serviceIds.map(e => e); - } else { - obj.service_ids = []; - } - return obj; - }, - fromAminoMsg(object: BatchEnableServicesRequestAminoMsg): BatchEnableServicesRequest { - return BatchEnableServicesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: BatchEnableServicesRequestProtoMsg): BatchEnableServicesRequest { - return BatchEnableServicesRequest.decode(message.value); - }, - toProto(message: BatchEnableServicesRequest): Uint8Array { - return BatchEnableServicesRequest.encode(message).finish(); - }, - toProtoMsg(message: BatchEnableServicesRequest): BatchEnableServicesRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.BatchEnableServicesRequest", - value: BatchEnableServicesRequest.encode(message).finish() - }; - } -}; -function createBaseBatchEnableServicesResponse(): BatchEnableServicesResponse { - return { - services: [], - failures: [] - }; -} -export const BatchEnableServicesResponse = { - typeUrl: "/google.api.serviceusage.v1.BatchEnableServicesResponse", - encode(message: BatchEnableServicesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.services) { - Service.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.failures) { - BatchEnableServicesResponse_EnableFailure.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BatchEnableServicesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchEnableServicesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.services.push(Service.decode(reader, reader.uint32())); - break; - case 2: - message.failures.push(BatchEnableServicesResponse_EnableFailure.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BatchEnableServicesResponse { - const obj = createBaseBatchEnableServicesResponse(); - if (Array.isArray(object?.services)) obj.services = object.services.map((e: any) => Service.fromJSON(e)); - if (Array.isArray(object?.failures)) obj.failures = object.failures.map((e: any) => BatchEnableServicesResponse_EnableFailure.fromJSON(e)); - return obj; - }, - toJSON(message: BatchEnableServicesResponse): unknown { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toJSON(e) : undefined); - } else { - obj.services = []; - } - if (message.failures) { - obj.failures = message.failures.map(e => e ? BatchEnableServicesResponse_EnableFailure.toJSON(e) : undefined); - } else { - obj.failures = []; - } - return obj; - }, - fromPartial(object: DeepPartial): BatchEnableServicesResponse { - const message = createBaseBatchEnableServicesResponse(); - message.services = object.services?.map(e => Service.fromPartial(e)) || []; - message.failures = object.failures?.map(e => BatchEnableServicesResponse_EnableFailure.fromPartial(e)) || []; - return message; - }, - fromSDK(object: BatchEnableServicesResponseSDKType): BatchEnableServicesResponse { - return { - services: Array.isArray(object?.services) ? object.services.map((e: any) => Service.fromSDK(e)) : [], - failures: Array.isArray(object?.failures) ? object.failures.map((e: any) => BatchEnableServicesResponse_EnableFailure.fromSDK(e)) : [] - }; - }, - toSDK(message: BatchEnableServicesResponse): BatchEnableServicesResponseSDKType { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toSDK(e) : undefined); - } else { - obj.services = []; - } - if (message.failures) { - obj.failures = message.failures.map(e => e ? BatchEnableServicesResponse_EnableFailure.toSDK(e) : undefined); - } else { - obj.failures = []; - } - return obj; - }, - fromAmino(object: BatchEnableServicesResponseAmino): BatchEnableServicesResponse { - return { - services: Array.isArray(object?.services) ? object.services.map((e: any) => Service.fromAmino(e)) : [], - failures: Array.isArray(object?.failures) ? object.failures.map((e: any) => BatchEnableServicesResponse_EnableFailure.fromAmino(e)) : [] - }; - }, - toAmino(message: BatchEnableServicesResponse): BatchEnableServicesResponseAmino { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toAmino(e) : undefined); - } else { - obj.services = []; - } - if (message.failures) { - obj.failures = message.failures.map(e => e ? BatchEnableServicesResponse_EnableFailure.toAmino(e) : undefined); - } else { - obj.failures = []; - } - return obj; - }, - fromAminoMsg(object: BatchEnableServicesResponseAminoMsg): BatchEnableServicesResponse { - return BatchEnableServicesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: BatchEnableServicesResponseProtoMsg): BatchEnableServicesResponse { - return BatchEnableServicesResponse.decode(message.value); - }, - toProto(message: BatchEnableServicesResponse): Uint8Array { - return BatchEnableServicesResponse.encode(message).finish(); - }, - toProtoMsg(message: BatchEnableServicesResponse): BatchEnableServicesResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.BatchEnableServicesResponse", - value: BatchEnableServicesResponse.encode(message).finish() - }; - } -}; -function createBaseBatchEnableServicesResponse_EnableFailure(): BatchEnableServicesResponse_EnableFailure { - return { - serviceId: "", - errorMessage: "" - }; -} -export const BatchEnableServicesResponse_EnableFailure = { - typeUrl: "/google.api.serviceusage.v1.EnableFailure", - encode(message: BatchEnableServicesResponse_EnableFailure, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.serviceId !== "") { - writer.uint32(10).string(message.serviceId); - } - if (message.errorMessage !== "") { - writer.uint32(18).string(message.errorMessage); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BatchEnableServicesResponse_EnableFailure { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchEnableServicesResponse_EnableFailure(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.serviceId = reader.string(); - break; - case 2: - message.errorMessage = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BatchEnableServicesResponse_EnableFailure { - const obj = createBaseBatchEnableServicesResponse_EnableFailure(); - if (isSet(object.serviceId)) obj.serviceId = String(object.serviceId); - if (isSet(object.errorMessage)) obj.errorMessage = String(object.errorMessage); - return obj; - }, - toJSON(message: BatchEnableServicesResponse_EnableFailure): unknown { - const obj: any = {}; - message.serviceId !== undefined && (obj.serviceId = message.serviceId); - message.errorMessage !== undefined && (obj.errorMessage = message.errorMessage); - return obj; - }, - fromPartial(object: DeepPartial): BatchEnableServicesResponse_EnableFailure { - const message = createBaseBatchEnableServicesResponse_EnableFailure(); - message.serviceId = object.serviceId ?? ""; - message.errorMessage = object.errorMessage ?? ""; - return message; - }, - fromSDK(object: BatchEnableServicesResponse_EnableFailureSDKType): BatchEnableServicesResponse_EnableFailure { - return { - serviceId: object?.service_id, - errorMessage: object?.error_message - }; - }, - toSDK(message: BatchEnableServicesResponse_EnableFailure): BatchEnableServicesResponse_EnableFailureSDKType { - const obj: any = {}; - obj.service_id = message.serviceId; - obj.error_message = message.errorMessage; - return obj; - }, - fromAmino(object: BatchEnableServicesResponse_EnableFailureAmino): BatchEnableServicesResponse_EnableFailure { - return { - serviceId: object.service_id, - errorMessage: object.error_message - }; - }, - toAmino(message: BatchEnableServicesResponse_EnableFailure): BatchEnableServicesResponse_EnableFailureAmino { - const obj: any = {}; - obj.service_id = message.serviceId; - obj.error_message = message.errorMessage; - return obj; - }, - fromAminoMsg(object: BatchEnableServicesResponse_EnableFailureAminoMsg): BatchEnableServicesResponse_EnableFailure { - return BatchEnableServicesResponse_EnableFailure.fromAmino(object.value); - }, - fromProtoMsg(message: BatchEnableServicesResponse_EnableFailureProtoMsg): BatchEnableServicesResponse_EnableFailure { - return BatchEnableServicesResponse_EnableFailure.decode(message.value); - }, - toProto(message: BatchEnableServicesResponse_EnableFailure): Uint8Array { - return BatchEnableServicesResponse_EnableFailure.encode(message).finish(); - }, - toProtoMsg(message: BatchEnableServicesResponse_EnableFailure): BatchEnableServicesResponse_EnableFailureProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.EnableFailure", - value: BatchEnableServicesResponse_EnableFailure.encode(message).finish() - }; - } -}; -function createBaseBatchGetServicesRequest(): BatchGetServicesRequest { - return { - parent: "", - names: [] - }; -} -export const BatchGetServicesRequest = { - typeUrl: "/google.api.serviceusage.v1.BatchGetServicesRequest", - encode(message: BatchGetServicesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - for (const v of message.names) { - writer.uint32(18).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetServicesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchGetServicesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.names.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BatchGetServicesRequest { - const obj = createBaseBatchGetServicesRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (Array.isArray(object?.names)) obj.names = object.names.map((e: any) => String(e)); - return obj; - }, - toJSON(message: BatchGetServicesRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - if (message.names) { - obj.names = message.names.map(e => e); - } else { - obj.names = []; - } - return obj; - }, - fromPartial(object: DeepPartial): BatchGetServicesRequest { - const message = createBaseBatchGetServicesRequest(); - message.parent = object.parent ?? ""; - message.names = object.names?.map(e => e) || []; - return message; - }, - fromSDK(object: BatchGetServicesRequestSDKType): BatchGetServicesRequest { - return { - parent: object?.parent, - names: Array.isArray(object?.names) ? object.names.map((e: any) => e) : [] - }; - }, - toSDK(message: BatchGetServicesRequest): BatchGetServicesRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - if (message.names) { - obj.names = message.names.map(e => e); - } else { - obj.names = []; - } - return obj; - }, - fromAmino(object: BatchGetServicesRequestAmino): BatchGetServicesRequest { - return { - parent: object.parent, - names: Array.isArray(object?.names) ? object.names.map((e: any) => e) : [] - }; - }, - toAmino(message: BatchGetServicesRequest): BatchGetServicesRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - if (message.names) { - obj.names = message.names.map(e => e); - } else { - obj.names = []; - } - return obj; - }, - fromAminoMsg(object: BatchGetServicesRequestAminoMsg): BatchGetServicesRequest { - return BatchGetServicesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: BatchGetServicesRequestProtoMsg): BatchGetServicesRequest { - return BatchGetServicesRequest.decode(message.value); - }, - toProto(message: BatchGetServicesRequest): Uint8Array { - return BatchGetServicesRequest.encode(message).finish(); - }, - toProtoMsg(message: BatchGetServicesRequest): BatchGetServicesRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.BatchGetServicesRequest", - value: BatchGetServicesRequest.encode(message).finish() - }; - } -}; -function createBaseBatchGetServicesResponse(): BatchGetServicesResponse { - return { - services: [] - }; -} -export const BatchGetServicesResponse = { - typeUrl: "/google.api.serviceusage.v1.BatchGetServicesResponse", - encode(message: BatchGetServicesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.services) { - Service.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BatchGetServicesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchGetServicesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.services.push(Service.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BatchGetServicesResponse { - const obj = createBaseBatchGetServicesResponse(); - if (Array.isArray(object?.services)) obj.services = object.services.map((e: any) => Service.fromJSON(e)); - return obj; - }, - toJSON(message: BatchGetServicesResponse): unknown { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toJSON(e) : undefined); - } else { - obj.services = []; - } - return obj; - }, - fromPartial(object: DeepPartial): BatchGetServicesResponse { - const message = createBaseBatchGetServicesResponse(); - message.services = object.services?.map(e => Service.fromPartial(e)) || []; - return message; - }, - fromSDK(object: BatchGetServicesResponseSDKType): BatchGetServicesResponse { - return { - services: Array.isArray(object?.services) ? object.services.map((e: any) => Service.fromSDK(e)) : [] - }; - }, - toSDK(message: BatchGetServicesResponse): BatchGetServicesResponseSDKType { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toSDK(e) : undefined); - } else { - obj.services = []; - } - return obj; - }, - fromAmino(object: BatchGetServicesResponseAmino): BatchGetServicesResponse { - return { - services: Array.isArray(object?.services) ? object.services.map((e: any) => Service.fromAmino(e)) : [] - }; - }, - toAmino(message: BatchGetServicesResponse): BatchGetServicesResponseAmino { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toAmino(e) : undefined); - } else { - obj.services = []; - } - return obj; - }, - fromAminoMsg(object: BatchGetServicesResponseAminoMsg): BatchGetServicesResponse { - return BatchGetServicesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: BatchGetServicesResponseProtoMsg): BatchGetServicesResponse { - return BatchGetServicesResponse.decode(message.value); - }, - toProto(message: BatchGetServicesResponse): Uint8Array { - return BatchGetServicesResponse.encode(message).finish(); - }, - toProtoMsg(message: BatchGetServicesResponse): BatchGetServicesResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1.BatchGetServicesResponse", - value: BatchGetServicesResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/serviceusage/v1beta1/resources.ts b/quicksilverjs/src/codegen/google/api/serviceusage/v1beta1/resources.ts deleted file mode 100644 index 1d0cf26ba..000000000 --- a/quicksilverjs/src/codegen/google/api/serviceusage/v1beta1/resources.ts +++ /dev/null @@ -1,2933 +0,0 @@ -import { Api, ApiAmino, ApiSDKType } from "../../../protobuf/api"; -import { Documentation, DocumentationAmino, DocumentationSDKType } from "../../documentation"; -import { Quota, QuotaAmino, QuotaSDKType } from "../../quota"; -import { Authentication, AuthenticationAmino, AuthenticationSDKType } from "../../auth"; -import { Usage, UsageAmino, UsageSDKType } from "../../usage"; -import { Endpoint, EndpointAmino, EndpointSDKType } from "../../endpoint"; -import { MonitoredResourceDescriptor, MonitoredResourceDescriptorAmino, MonitoredResourceDescriptorSDKType } from "../../monitored_resource"; -import { Monitoring, MonitoringAmino, MonitoringSDKType } from "../../monitoring"; -import { Long, isSet, DeepPartial, isObject } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.api.serviceusage.v1beta1"; -/** Whether or not a service has been enabled for use by a consumer. */ -export enum State { - /** - * STATE_UNSPECIFIED - The default value, which indicates that the enabled state of the service - * is unspecified or not meaningful. Currently, all consumers other than - * projects (such as folders and organizations) are always in this state. - */ - STATE_UNSPECIFIED = 0, - /** - * DISABLED - The service cannot be used by this consumer. It has either been explicitly - * disabled, or has never been enabled. - */ - DISABLED = 1, - /** ENABLED - The service has been explicitly enabled for use by this consumer. */ - ENABLED = 2, - UNRECOGNIZED = -1, -} -export const StateSDKType = State; -export const StateAmino = State; -export function stateFromJSON(object: any): State { - switch (object) { - case 0: - case "STATE_UNSPECIFIED": - return State.STATE_UNSPECIFIED; - case 1: - case "DISABLED": - return State.DISABLED; - case 2: - case "ENABLED": - return State.ENABLED; - case -1: - case "UNRECOGNIZED": - default: - return State.UNRECOGNIZED; - } -} -export function stateToJSON(object: State): string { - switch (object) { - case State.STATE_UNSPECIFIED: - return "STATE_UNSPECIFIED"; - case State.DISABLED: - return "DISABLED"; - case State.ENABLED: - return "ENABLED"; - case State.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * Selected view of quota. Can be used to request more detailed quota - * information when retrieving quota metrics and limits. - */ -export enum QuotaView { - /** - * QUOTA_VIEW_UNSPECIFIED - No quota view specified. Requests that do not specify a quota view will - * typically default to the BASIC view. - */ - QUOTA_VIEW_UNSPECIFIED = 0, - /** BASIC - Only buckets with overrides are shown in the response. */ - BASIC = 1, - /** - * FULL - Include per-location buckets even if they do not have overrides. - * When the view is FULL, and a limit has regional or zonal quota, the limit - * will include buckets for all regions or zones that could support - * overrides, even if none are currently present. In some cases this will - * cause the response to become very large; callers that do not need this - * extra information should use the BASIC view instead. - */ - FULL = 2, - UNRECOGNIZED = -1, -} -export const QuotaViewSDKType = QuotaView; -export const QuotaViewAmino = QuotaView; -export function quotaViewFromJSON(object: any): QuotaView { - switch (object) { - case 0: - case "QUOTA_VIEW_UNSPECIFIED": - return QuotaView.QUOTA_VIEW_UNSPECIFIED; - case 1: - case "BASIC": - return QuotaView.BASIC; - case 2: - case "FULL": - return QuotaView.FULL; - case -1: - case "UNRECOGNIZED": - default: - return QuotaView.UNRECOGNIZED; - } -} -export function quotaViewToJSON(object: QuotaView): string { - switch (object) { - case QuotaView.QUOTA_VIEW_UNSPECIFIED: - return "QUOTA_VIEW_UNSPECIFIED"; - case QuotaView.BASIC: - return "BASIC"; - case QuotaView.FULL: - return "FULL"; - case QuotaView.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Enumerations of quota safety checks. */ -export enum QuotaSafetyCheck { - /** QUOTA_SAFETY_CHECK_UNSPECIFIED - Unspecified quota safety check. */ - QUOTA_SAFETY_CHECK_UNSPECIFIED = 0, - /** - * LIMIT_DECREASE_BELOW_USAGE - Validates that a quota mutation would not cause the consumer's effective - * limit to be lower than the consumer's quota usage. - */ - LIMIT_DECREASE_BELOW_USAGE = 1, - /** - * LIMIT_DECREASE_PERCENTAGE_TOO_HIGH - Validates that a quota mutation would not cause the consumer's effective - * limit to decrease by more than 10 percent. - */ - LIMIT_DECREASE_PERCENTAGE_TOO_HIGH = 2, - UNRECOGNIZED = -1, -} -export const QuotaSafetyCheckSDKType = QuotaSafetyCheck; -export const QuotaSafetyCheckAmino = QuotaSafetyCheck; -export function quotaSafetyCheckFromJSON(object: any): QuotaSafetyCheck { - switch (object) { - case 0: - case "QUOTA_SAFETY_CHECK_UNSPECIFIED": - return QuotaSafetyCheck.QUOTA_SAFETY_CHECK_UNSPECIFIED; - case 1: - case "LIMIT_DECREASE_BELOW_USAGE": - return QuotaSafetyCheck.LIMIT_DECREASE_BELOW_USAGE; - case 2: - case "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH": - return QuotaSafetyCheck.LIMIT_DECREASE_PERCENTAGE_TOO_HIGH; - case -1: - case "UNRECOGNIZED": - default: - return QuotaSafetyCheck.UNRECOGNIZED; - } -} -export function quotaSafetyCheckToJSON(object: QuotaSafetyCheck): string { - switch (object) { - case QuotaSafetyCheck.QUOTA_SAFETY_CHECK_UNSPECIFIED: - return "QUOTA_SAFETY_CHECK_UNSPECIFIED"; - case QuotaSafetyCheck.LIMIT_DECREASE_BELOW_USAGE: - return "LIMIT_DECREASE_BELOW_USAGE"; - case QuotaSafetyCheck.LIMIT_DECREASE_PERCENTAGE_TOO_HIGH: - return "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH"; - case QuotaSafetyCheck.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** A service that is available for use by the consumer. */ -export interface Service { - /** - * The resource name of the consumer and service. - * - * A valid name would be: - * - `projects/123/services/serviceusage.googleapis.com` - */ - name: string; - /** - * The resource name of the consumer. - * - * A valid name would be: - * - `projects/123` - */ - parent: string; - /** - * The service configuration of the available service. - * Some fields may be filtered out of the configuration in responses to - * the `ListServices` method. These fields are present only in responses to - * the `GetService` method. - */ - config: ServiceConfig; - /** Whether or not the service has been enabled for use by the consumer. */ - state: State; -} -export interface ServiceProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.Service"; - value: Uint8Array; -} -/** A service that is available for use by the consumer. */ -export interface ServiceAmino { - /** - * The resource name of the consumer and service. - * - * A valid name would be: - * - `projects/123/services/serviceusage.googleapis.com` - */ - name: string; - /** - * The resource name of the consumer. - * - * A valid name would be: - * - `projects/123` - */ - parent: string; - /** - * The service configuration of the available service. - * Some fields may be filtered out of the configuration in responses to - * the `ListServices` method. These fields are present only in responses to - * the `GetService` method. - */ - config?: ServiceConfigAmino; - /** Whether or not the service has been enabled for use by the consumer. */ - state: State; -} -export interface ServiceAminoMsg { - type: "/google.api.serviceusage.v1beta1.Service"; - value: ServiceAmino; -} -/** A service that is available for use by the consumer. */ -export interface ServiceSDKType { - name: string; - parent: string; - config: ServiceConfigSDKType; - state: State; -} -/** The configuration of the service. */ -export interface ServiceConfig { - /** - * The DNS address at which this service is available. - * - * An example DNS address would be: - * `calendar.googleapis.com`. - */ - name: string; - /** The product title for this service. */ - title: string; - /** - * A list of API interfaces exported by this service. Contains only the names, - * versions, and method names of the interfaces. - */ - apis: Api[]; - /** - * Additional API documentation. Contains only the summary and the - * documentation URL. - */ - documentation: Documentation; - /** Quota configuration. */ - quota: Quota; - /** Auth configuration. Contains only the OAuth rules. */ - authentication: Authentication; - /** Configuration controlling usage of this service. */ - usage: Usage; - /** - * Configuration for network endpoints. Contains only the names and aliases - * of the endpoints. - */ - endpoints: Endpoint[]; - /** - * Defines the monitored resources used by this service. This is required - * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. - */ - monitoredResources: MonitoredResourceDescriptor[]; - /** - * Monitoring configuration. - * This should not include the 'producer_destinations' field. - */ - monitoring: Monitoring; -} -export interface ServiceConfigProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ServiceConfig"; - value: Uint8Array; -} -/** The configuration of the service. */ -export interface ServiceConfigAmino { - /** - * The DNS address at which this service is available. - * - * An example DNS address would be: - * `calendar.googleapis.com`. - */ - name: string; - /** The product title for this service. */ - title: string; - /** - * A list of API interfaces exported by this service. Contains only the names, - * versions, and method names of the interfaces. - */ - apis: ApiAmino[]; - /** - * Additional API documentation. Contains only the summary and the - * documentation URL. - */ - documentation?: DocumentationAmino; - /** Quota configuration. */ - quota?: QuotaAmino; - /** Auth configuration. Contains only the OAuth rules. */ - authentication?: AuthenticationAmino; - /** Configuration controlling usage of this service. */ - usage?: UsageAmino; - /** - * Configuration for network endpoints. Contains only the names and aliases - * of the endpoints. - */ - endpoints: EndpointAmino[]; - /** - * Defines the monitored resources used by this service. This is required - * by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. - */ - monitored_resources: MonitoredResourceDescriptorAmino[]; - /** - * Monitoring configuration. - * This should not include the 'producer_destinations' field. - */ - monitoring?: MonitoringAmino; -} -export interface ServiceConfigAminoMsg { - type: "/google.api.serviceusage.v1beta1.ServiceConfig"; - value: ServiceConfigAmino; -} -/** The configuration of the service. */ -export interface ServiceConfigSDKType { - name: string; - title: string; - apis: ApiSDKType[]; - documentation: DocumentationSDKType; - quota: QuotaSDKType; - authentication: AuthenticationSDKType; - usage: UsageSDKType; - endpoints: EndpointSDKType[]; - monitored_resources: MonitoredResourceDescriptorSDKType[]; - monitoring: MonitoringSDKType; -} -/** The operation metadata returned for the batchend services operation. */ -export interface OperationMetadata { - /** - * The full name of the resources that this operation is directly - * associated with. - */ - resourceNames: string[]; -} -export interface OperationMetadataProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.OperationMetadata"; - value: Uint8Array; -} -/** The operation metadata returned for the batchend services operation. */ -export interface OperationMetadataAmino { - /** - * The full name of the resources that this operation is directly - * associated with. - */ - resource_names: string[]; -} -export interface OperationMetadataAminoMsg { - type: "/google.api.serviceusage.v1beta1.OperationMetadata"; - value: OperationMetadataAmino; -} -/** The operation metadata returned for the batchend services operation. */ -export interface OperationMetadataSDKType { - resource_names: string[]; -} -/** Consumer quota settings for a quota metric. */ -export interface ConsumerQuotaMetric { - /** - * The resource name of the quota settings on this metric for this consumer. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus` - * - * The resource name is intended to be opaque and should not be parsed for - * its component strings, since its representation could change in the future. - */ - name: string; - /** - * The name of the metric. - * - * An example name would be: - * `compute.googleapis.com/cpus` - */ - metric: string; - /** - * The display name of the metric. - * - * An example name would be: - * `CPUs` - */ - displayName: string; - /** The consumer quota for each quota limit defined on the metric. */ - consumerQuotaLimits: ConsumerQuotaLimit[]; - /** - * The quota limits targeting the descendant containers of the - * consumer in request. - * - * If the consumer in request is of type `organizations` - * or `folders`, the field will list per-project limits in the metric; if the - * consumer in request is of type `project`, the field will be empty. - * - * The `quota_buckets` field of each descendant consumer quota limit will not - * be populated. - */ - descendantConsumerQuotaLimits: ConsumerQuotaLimit[]; - /** The units in which the metric value is reported. */ - unit: string; -} -export interface ConsumerQuotaMetricProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ConsumerQuotaMetric"; - value: Uint8Array; -} -/** Consumer quota settings for a quota metric. */ -export interface ConsumerQuotaMetricAmino { - /** - * The resource name of the quota settings on this metric for this consumer. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus` - * - * The resource name is intended to be opaque and should not be parsed for - * its component strings, since its representation could change in the future. - */ - name: string; - /** - * The name of the metric. - * - * An example name would be: - * `compute.googleapis.com/cpus` - */ - metric: string; - /** - * The display name of the metric. - * - * An example name would be: - * `CPUs` - */ - display_name: string; - /** The consumer quota for each quota limit defined on the metric. */ - consumer_quota_limits: ConsumerQuotaLimitAmino[]; - /** - * The quota limits targeting the descendant containers of the - * consumer in request. - * - * If the consumer in request is of type `organizations` - * or `folders`, the field will list per-project limits in the metric; if the - * consumer in request is of type `project`, the field will be empty. - * - * The `quota_buckets` field of each descendant consumer quota limit will not - * be populated. - */ - descendant_consumer_quota_limits: ConsumerQuotaLimitAmino[]; - /** The units in which the metric value is reported. */ - unit: string; -} -export interface ConsumerQuotaMetricAminoMsg { - type: "/google.api.serviceusage.v1beta1.ConsumerQuotaMetric"; - value: ConsumerQuotaMetricAmino; -} -/** Consumer quota settings for a quota metric. */ -export interface ConsumerQuotaMetricSDKType { - name: string; - metric: string; - display_name: string; - consumer_quota_limits: ConsumerQuotaLimitSDKType[]; - descendant_consumer_quota_limits: ConsumerQuotaLimitSDKType[]; - unit: string; -} -/** Consumer quota settings for a quota limit. */ -export interface ConsumerQuotaLimit { - /** - * The resource name of the quota limit. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` - * - * The resource name is intended to be opaque and should not be parsed for - * its component strings, since its representation could change in the future. - */ - name: string; - /** - * The name of the parent metric of this limit. - * - * An example name would be: - * `compute.googleapis.com/cpus` - */ - metric: string; - /** - * The limit unit. - * - * An example unit would be - * `1/{project}/{region}` - * Note that `{project}` and `{region}` are not placeholders in this example; - * the literal characters `{` and `}` occur in the string. - */ - unit: string; - /** Whether this limit is precise or imprecise. */ - isPrecise: boolean; - /** Whether admin overrides are allowed on this limit */ - allowsAdminOverrides: boolean; - /** - * Summary of the enforced quota buckets, organized by quota dimension, - * ordered from least specific to most specific (for example, the global - * default bucket, with no quota dimensions, will always appear first). - */ - quotaBuckets: QuotaBucket[]; -} -export interface ConsumerQuotaLimitProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ConsumerQuotaLimit"; - value: Uint8Array; -} -/** Consumer quota settings for a quota limit. */ -export interface ConsumerQuotaLimitAmino { - /** - * The resource name of the quota limit. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` - * - * The resource name is intended to be opaque and should not be parsed for - * its component strings, since its representation could change in the future. - */ - name: string; - /** - * The name of the parent metric of this limit. - * - * An example name would be: - * `compute.googleapis.com/cpus` - */ - metric: string; - /** - * The limit unit. - * - * An example unit would be - * `1/{project}/{region}` - * Note that `{project}` and `{region}` are not placeholders in this example; - * the literal characters `{` and `}` occur in the string. - */ - unit: string; - /** Whether this limit is precise or imprecise. */ - is_precise: boolean; - /** Whether admin overrides are allowed on this limit */ - allows_admin_overrides: boolean; - /** - * Summary of the enforced quota buckets, organized by quota dimension, - * ordered from least specific to most specific (for example, the global - * default bucket, with no quota dimensions, will always appear first). - */ - quota_buckets: QuotaBucketAmino[]; -} -export interface ConsumerQuotaLimitAminoMsg { - type: "/google.api.serviceusage.v1beta1.ConsumerQuotaLimit"; - value: ConsumerQuotaLimitAmino; -} -/** Consumer quota settings for a quota limit. */ -export interface ConsumerQuotaLimitSDKType { - name: string; - metric: string; - unit: string; - is_precise: boolean; - allows_admin_overrides: boolean; - quota_buckets: QuotaBucketSDKType[]; -} -export interface QuotaBucket_DimensionsEntry { - key: string; - value: string; -} -export interface QuotaBucket_DimensionsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface QuotaBucket_DimensionsEntryAmino { - key: string; - value: string; -} -export interface QuotaBucket_DimensionsEntryAminoMsg { - type: string; - value: QuotaBucket_DimensionsEntryAmino; -} -export interface QuotaBucket_DimensionsEntrySDKType { - key: string; - value: string; -} -/** A quota bucket is a quota provisioning unit for a specific set of dimensions. */ -export interface QuotaBucket { - /** - * The effective limit of this quota bucket. Equal to default_limit if there - * are no overrides. - */ - effectiveLimit: Long; - /** - * The default limit of this quota bucket, as specified by the service - * configuration. - */ - defaultLimit: Long; - /** Producer override on this quota bucket. */ - producerOverride: QuotaOverride; - /** Consumer override on this quota bucket. */ - consumerOverride: QuotaOverride; - /** Admin override on this quota bucket. */ - adminOverride: QuotaOverride; - /** - * The dimensions of this quota bucket. - * - * If this map is empty, this is the global bucket, which is the default quota - * value applied to all requests that do not have a more specific override. - * - * If this map is nonempty, the default limit, effective limit, and quota - * overrides apply only to requests that have the dimensions given in the map. - * - * For example, if the map has key `region` and value `us-east-1`, then the - * specified effective limit is only effective in that region, and the - * specified overrides apply only in that region. - */ - dimensions: { - [key: string]: string; - }; -} -export interface QuotaBucketProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.QuotaBucket"; - value: Uint8Array; -} -/** A quota bucket is a quota provisioning unit for a specific set of dimensions. */ -export interface QuotaBucketAmino { - /** - * The effective limit of this quota bucket. Equal to default_limit if there - * are no overrides. - */ - effective_limit: string; - /** - * The default limit of this quota bucket, as specified by the service - * configuration. - */ - default_limit: string; - /** Producer override on this quota bucket. */ - producer_override?: QuotaOverrideAmino; - /** Consumer override on this quota bucket. */ - consumer_override?: QuotaOverrideAmino; - /** Admin override on this quota bucket. */ - admin_override?: QuotaOverrideAmino; - /** - * The dimensions of this quota bucket. - * - * If this map is empty, this is the global bucket, which is the default quota - * value applied to all requests that do not have a more specific override. - * - * If this map is nonempty, the default limit, effective limit, and quota - * overrides apply only to requests that have the dimensions given in the map. - * - * For example, if the map has key `region` and value `us-east-1`, then the - * specified effective limit is only effective in that region, and the - * specified overrides apply only in that region. - */ - dimensions: { - [key: string]: string; - }; -} -export interface QuotaBucketAminoMsg { - type: "/google.api.serviceusage.v1beta1.QuotaBucket"; - value: QuotaBucketAmino; -} -/** A quota bucket is a quota provisioning unit for a specific set of dimensions. */ -export interface QuotaBucketSDKType { - effective_limit: Long; - default_limit: Long; - producer_override: QuotaOverrideSDKType; - consumer_override: QuotaOverrideSDKType; - admin_override: QuotaOverrideSDKType; - dimensions: { - [key: string]: string; - }; -} -export interface QuotaOverride_DimensionsEntry { - key: string; - value: string; -} -export interface QuotaOverride_DimensionsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface QuotaOverride_DimensionsEntryAmino { - key: string; - value: string; -} -export interface QuotaOverride_DimensionsEntryAminoMsg { - type: string; - value: QuotaOverride_DimensionsEntryAmino; -} -export interface QuotaOverride_DimensionsEntrySDKType { - key: string; - value: string; -} -/** A quota override */ -export interface QuotaOverride { - /** - * The resource name of the override. - * This name is generated by the server when the override is created. - * - * Example names would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` - * - * The resource name is intended to be opaque and should not be parsed for - * its component strings, since its representation could change in the future. - */ - name: string; - /** - * The overriding quota limit value. - * Can be any nonnegative integer, or -1 (unlimited quota). - */ - overrideValue: Long; - /** - * If this map is nonempty, then this override applies only to specific values - * for dimensions defined in the limit unit. - * - * For example, an override on a limit with the unit `1/{project}/{region}` - * could contain an entry with the key `region` and the value `us-east-1`; - * the override is only applied to quota consumed in that region. - * - * This map has the following restrictions: - * - * * Keys that are not defined in the limit's unit are not valid keys. - * Any string appearing in `{brackets}` in the unit (besides `{project}` - * or - * `{user}`) is a defined key. - * * `project` is not a valid key; the project is already specified in - * the parent resource name. - * * `user` is not a valid key; the API does not support quota overrides - * that apply only to a specific user. - * * If `region` appears as a key, its value must be a valid Cloud region. - * * If `zone` appears as a key, its value must be a valid Cloud zone. - * * If any valid key other than `region` or `zone` appears in the map, then - * all valid keys other than `region` or `zone` must also appear in the - * map. - */ - dimensions: { - [key: string]: string; - }; - /** - * The name of the metric to which this override applies. - * - * An example name would be: - * `compute.googleapis.com/cpus` - */ - metric: string; - /** - * The limit unit of the limit to which this override applies. - * - * An example unit would be: - * `1/{project}/{region}` - * Note that `{project}` and `{region}` are not placeholders in this example; - * the literal characters `{` and `}` occur in the string. - */ - unit: string; - /** - * The resource name of the ancestor that requested the override. For example: - * `organizations/12345` or `folders/67890`. - * Used by admin overrides only. - */ - adminOverrideAncestor: string; -} -export interface QuotaOverrideProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.QuotaOverride"; - value: Uint8Array; -} -/** A quota override */ -export interface QuotaOverrideAmino { - /** - * The resource name of the override. - * This name is generated by the server when the override is created. - * - * Example names would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` - * - * The resource name is intended to be opaque and should not be parsed for - * its component strings, since its representation could change in the future. - */ - name: string; - /** - * The overriding quota limit value. - * Can be any nonnegative integer, or -1 (unlimited quota). - */ - override_value: string; - /** - * If this map is nonempty, then this override applies only to specific values - * for dimensions defined in the limit unit. - * - * For example, an override on a limit with the unit `1/{project}/{region}` - * could contain an entry with the key `region` and the value `us-east-1`; - * the override is only applied to quota consumed in that region. - * - * This map has the following restrictions: - * - * * Keys that are not defined in the limit's unit are not valid keys. - * Any string appearing in `{brackets}` in the unit (besides `{project}` - * or - * `{user}`) is a defined key. - * * `project` is not a valid key; the project is already specified in - * the parent resource name. - * * `user` is not a valid key; the API does not support quota overrides - * that apply only to a specific user. - * * If `region` appears as a key, its value must be a valid Cloud region. - * * If `zone` appears as a key, its value must be a valid Cloud zone. - * * If any valid key other than `region` or `zone` appears in the map, then - * all valid keys other than `region` or `zone` must also appear in the - * map. - */ - dimensions: { - [key: string]: string; - }; - /** - * The name of the metric to which this override applies. - * - * An example name would be: - * `compute.googleapis.com/cpus` - */ - metric: string; - /** - * The limit unit of the limit to which this override applies. - * - * An example unit would be: - * `1/{project}/{region}` - * Note that `{project}` and `{region}` are not placeholders in this example; - * the literal characters `{` and `}` occur in the string. - */ - unit: string; - /** - * The resource name of the ancestor that requested the override. For example: - * `organizations/12345` or `folders/67890`. - * Used by admin overrides only. - */ - admin_override_ancestor: string; -} -export interface QuotaOverrideAminoMsg { - type: "/google.api.serviceusage.v1beta1.QuotaOverride"; - value: QuotaOverrideAmino; -} -/** A quota override */ -export interface QuotaOverrideSDKType { - name: string; - override_value: Long; - dimensions: { - [key: string]: string; - }; - metric: string; - unit: string; - admin_override_ancestor: string; -} -/** Import data embedded in the request message */ -export interface OverrideInlineSource { - /** - * The overrides to create. - * Each override must have a value for 'metric' and 'unit', to specify - * which metric and which limit the override should be applied to. - * The 'name' field of the override does not need to be set; it is ignored. - */ - overrides: QuotaOverride[]; -} -export interface OverrideInlineSourceProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.OverrideInlineSource"; - value: Uint8Array; -} -/** Import data embedded in the request message */ -export interface OverrideInlineSourceAmino { - /** - * The overrides to create. - * Each override must have a value for 'metric' and 'unit', to specify - * which metric and which limit the override should be applied to. - * The 'name' field of the override does not need to be set; it is ignored. - */ - overrides: QuotaOverrideAmino[]; -} -export interface OverrideInlineSourceAminoMsg { - type: "/google.api.serviceusage.v1beta1.OverrideInlineSource"; - value: OverrideInlineSourceAmino; -} -/** Import data embedded in the request message */ -export interface OverrideInlineSourceSDKType { - overrides: QuotaOverrideSDKType[]; -} -export interface AdminQuotaPolicy_DimensionsEntry { - key: string; - value: string; -} -export interface AdminQuotaPolicy_DimensionsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface AdminQuotaPolicy_DimensionsEntryAmino { - key: string; - value: string; -} -export interface AdminQuotaPolicy_DimensionsEntryAminoMsg { - type: string; - value: AdminQuotaPolicy_DimensionsEntryAmino; -} -export interface AdminQuotaPolicy_DimensionsEntrySDKType { - key: string; - value: string; -} -/** Quota policy created by quota administrator. */ -export interface AdminQuotaPolicy { - /** - * The resource name of the policy. - * This name is generated by the server when the policy is created. - * - * Example names would be: - * `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminQuotaPolicies/4a3f2c1d` - */ - name: string; - /** - * The quota policy value. - * Can be any nonnegative integer, or -1 (unlimited quota). - */ - policyValue: Long; - /** - * If this map is nonempty, then this policy applies only to specific values - * for dimensions defined in the limit unit. - * - * For example, an policy on a limit with the unit `1/{project}/{region}` - * could contain an entry with the key `region` and the value `us-east-1`; - * the policy is only applied to quota consumed in that region. - * - * This map has the following restrictions: - * - * * If `region` appears as a key, its value must be a valid Cloud region. - * * If `zone` appears as a key, its value must be a valid Cloud zone. - * * Keys other than `region` or `zone` are not valid. - */ - dimensions: { - [key: string]: string; - }; - /** - * The name of the metric to which this policy applies. - * - * An example name would be: - * `compute.googleapis.com/cpus` - */ - metric: string; - /** - * The limit unit of the limit to which this policy applies. - * - * An example unit would be: - * `1/{project}/{region}` - * Note that `{project}` and `{region}` are not placeholders in this example; - * the literal characters `{` and `}` occur in the string. - */ - unit: string; - /** - * The cloud resource container at which the quota policy is created. The - * format is `{container_type}/{container_number}` - */ - container: string; -} -export interface AdminQuotaPolicyProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.AdminQuotaPolicy"; - value: Uint8Array; -} -/** Quota policy created by quota administrator. */ -export interface AdminQuotaPolicyAmino { - /** - * The resource name of the policy. - * This name is generated by the server when the policy is created. - * - * Example names would be: - * `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminQuotaPolicies/4a3f2c1d` - */ - name: string; - /** - * The quota policy value. - * Can be any nonnegative integer, or -1 (unlimited quota). - */ - policy_value: string; - /** - * If this map is nonempty, then this policy applies only to specific values - * for dimensions defined in the limit unit. - * - * For example, an policy on a limit with the unit `1/{project}/{region}` - * could contain an entry with the key `region` and the value `us-east-1`; - * the policy is only applied to quota consumed in that region. - * - * This map has the following restrictions: - * - * * If `region` appears as a key, its value must be a valid Cloud region. - * * If `zone` appears as a key, its value must be a valid Cloud zone. - * * Keys other than `region` or `zone` are not valid. - */ - dimensions: { - [key: string]: string; - }; - /** - * The name of the metric to which this policy applies. - * - * An example name would be: - * `compute.googleapis.com/cpus` - */ - metric: string; - /** - * The limit unit of the limit to which this policy applies. - * - * An example unit would be: - * `1/{project}/{region}` - * Note that `{project}` and `{region}` are not placeholders in this example; - * the literal characters `{` and `}` occur in the string. - */ - unit: string; - /** - * The cloud resource container at which the quota policy is created. The - * format is `{container_type}/{container_number}` - */ - container: string; -} -export interface AdminQuotaPolicyAminoMsg { - type: "/google.api.serviceusage.v1beta1.AdminQuotaPolicy"; - value: AdminQuotaPolicyAmino; -} -/** Quota policy created by quota administrator. */ -export interface AdminQuotaPolicySDKType { - name: string; - policy_value: Long; - dimensions: { - [key: string]: string; - }; - metric: string; - unit: string; - container: string; -} -/** - * Service identity for a service. This is the identity that service producer - * should use to access consumer resources. - */ -export interface ServiceIdentity { - /** - * The email address of the service account that a service producer would use - * to access consumer resources. - */ - email: string; - /** - * The unique and stable id of the service account. - * https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount - */ - uniqueId: string; -} -export interface ServiceIdentityProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ServiceIdentity"; - value: Uint8Array; -} -/** - * Service identity for a service. This is the identity that service producer - * should use to access consumer resources. - */ -export interface ServiceIdentityAmino { - /** - * The email address of the service account that a service producer would use - * to access consumer resources. - */ - email: string; - /** - * The unique and stable id of the service account. - * https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount - */ - unique_id: string; -} -export interface ServiceIdentityAminoMsg { - type: "/google.api.serviceusage.v1beta1.ServiceIdentity"; - value: ServiceIdentityAmino; -} -/** - * Service identity for a service. This is the identity that service producer - * should use to access consumer resources. - */ -export interface ServiceIdentitySDKType { - email: string; - unique_id: string; -} -function createBaseService(): Service { - return { - name: "", - parent: "", - config: ServiceConfig.fromPartial({}), - state: 0 - }; -} -export const Service = { - typeUrl: "/google.api.serviceusage.v1beta1.Service", - encode(message: Service, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.parent !== "") { - writer.uint32(42).string(message.parent); - } - if (message.config !== undefined) { - ServiceConfig.encode(message.config, writer.uint32(18).fork()).ldelim(); - } - if (message.state !== 0) { - writer.uint32(32).int32(message.state); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Service { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseService(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 5: - message.parent = reader.string(); - break; - case 2: - message.config = ServiceConfig.decode(reader, reader.uint32()); - break; - case 4: - message.state = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Service { - const obj = createBaseService(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.config)) obj.config = ServiceConfig.fromJSON(object.config); - if (isSet(object.state)) obj.state = stateFromJSON(object.state); - return obj; - }, - toJSON(message: Service): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.parent !== undefined && (obj.parent = message.parent); - message.config !== undefined && (obj.config = message.config ? ServiceConfig.toJSON(message.config) : undefined); - message.state !== undefined && (obj.state = stateToJSON(message.state)); - return obj; - }, - fromPartial(object: DeepPartial): Service { - const message = createBaseService(); - message.name = object.name ?? ""; - message.parent = object.parent ?? ""; - if (object.config !== undefined && object.config !== null) { - message.config = ServiceConfig.fromPartial(object.config); - } - message.state = object.state ?? 0; - return message; - }, - fromSDK(object: ServiceSDKType): Service { - return { - name: object?.name, - parent: object?.parent, - config: object.config ? ServiceConfig.fromSDK(object.config) : undefined, - state: isSet(object.state) ? stateFromJSON(object.state) : -1 - }; - }, - toSDK(message: Service): ServiceSDKType { - const obj: any = {}; - obj.name = message.name; - obj.parent = message.parent; - message.config !== undefined && (obj.config = message.config ? ServiceConfig.toSDK(message.config) : undefined); - message.state !== undefined && (obj.state = stateToJSON(message.state)); - return obj; - }, - fromAmino(object: ServiceAmino): Service { - return { - name: object.name, - parent: object.parent, - config: object?.config ? ServiceConfig.fromAmino(object.config) : undefined, - state: isSet(object.state) ? stateFromJSON(object.state) : -1 - }; - }, - toAmino(message: Service): ServiceAmino { - const obj: any = {}; - obj.name = message.name; - obj.parent = message.parent; - obj.config = message.config ? ServiceConfig.toAmino(message.config) : undefined; - obj.state = message.state; - return obj; - }, - fromAminoMsg(object: ServiceAminoMsg): Service { - return Service.fromAmino(object.value); - }, - fromProtoMsg(message: ServiceProtoMsg): Service { - return Service.decode(message.value); - }, - toProto(message: Service): Uint8Array { - return Service.encode(message).finish(); - }, - toProtoMsg(message: Service): ServiceProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.Service", - value: Service.encode(message).finish() - }; - } -}; -function createBaseServiceConfig(): ServiceConfig { - return { - name: "", - title: "", - apis: [], - documentation: Documentation.fromPartial({}), - quota: Quota.fromPartial({}), - authentication: Authentication.fromPartial({}), - usage: Usage.fromPartial({}), - endpoints: [], - monitoredResources: [], - monitoring: Monitoring.fromPartial({}) - }; -} -export const ServiceConfig = { - typeUrl: "/google.api.serviceusage.v1beta1.ServiceConfig", - encode(message: ServiceConfig, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.title !== "") { - writer.uint32(18).string(message.title); - } - for (const v of message.apis) { - Api.encode(v!, writer.uint32(26).fork()).ldelim(); - } - if (message.documentation !== undefined) { - Documentation.encode(message.documentation, writer.uint32(50).fork()).ldelim(); - } - if (message.quota !== undefined) { - Quota.encode(message.quota, writer.uint32(82).fork()).ldelim(); - } - if (message.authentication !== undefined) { - Authentication.encode(message.authentication, writer.uint32(90).fork()).ldelim(); - } - if (message.usage !== undefined) { - Usage.encode(message.usage, writer.uint32(122).fork()).ldelim(); - } - for (const v of message.endpoints) { - Endpoint.encode(v!, writer.uint32(146).fork()).ldelim(); - } - for (const v of message.monitoredResources) { - MonitoredResourceDescriptor.encode(v!, writer.uint32(202).fork()).ldelim(); - } - if (message.monitoring !== undefined) { - Monitoring.encode(message.monitoring, writer.uint32(226).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ServiceConfig { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseServiceConfig(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.title = reader.string(); - break; - case 3: - message.apis.push(Api.decode(reader, reader.uint32())); - break; - case 6: - message.documentation = Documentation.decode(reader, reader.uint32()); - break; - case 10: - message.quota = Quota.decode(reader, reader.uint32()); - break; - case 11: - message.authentication = Authentication.decode(reader, reader.uint32()); - break; - case 15: - message.usage = Usage.decode(reader, reader.uint32()); - break; - case 18: - message.endpoints.push(Endpoint.decode(reader, reader.uint32())); - break; - case 25: - message.monitoredResources.push(MonitoredResourceDescriptor.decode(reader, reader.uint32())); - break; - case 28: - message.monitoring = Monitoring.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ServiceConfig { - const obj = createBaseServiceConfig(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.title)) obj.title = String(object.title); - if (Array.isArray(object?.apis)) obj.apis = object.apis.map((e: any) => Api.fromJSON(e)); - if (isSet(object.documentation)) obj.documentation = Documentation.fromJSON(object.documentation); - if (isSet(object.quota)) obj.quota = Quota.fromJSON(object.quota); - if (isSet(object.authentication)) obj.authentication = Authentication.fromJSON(object.authentication); - if (isSet(object.usage)) obj.usage = Usage.fromJSON(object.usage); - if (Array.isArray(object?.endpoints)) obj.endpoints = object.endpoints.map((e: any) => Endpoint.fromJSON(e)); - if (Array.isArray(object?.monitoredResources)) obj.monitoredResources = object.monitoredResources.map((e: any) => MonitoredResourceDescriptor.fromJSON(e)); - if (isSet(object.monitoring)) obj.monitoring = Monitoring.fromJSON(object.monitoring); - return obj; - }, - toJSON(message: ServiceConfig): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.title !== undefined && (obj.title = message.title); - if (message.apis) { - obj.apis = message.apis.map(e => e ? Api.toJSON(e) : undefined); - } else { - obj.apis = []; - } - message.documentation !== undefined && (obj.documentation = message.documentation ? Documentation.toJSON(message.documentation) : undefined); - message.quota !== undefined && (obj.quota = message.quota ? Quota.toJSON(message.quota) : undefined); - message.authentication !== undefined && (obj.authentication = message.authentication ? Authentication.toJSON(message.authentication) : undefined); - message.usage !== undefined && (obj.usage = message.usage ? Usage.toJSON(message.usage) : undefined); - if (message.endpoints) { - obj.endpoints = message.endpoints.map(e => e ? Endpoint.toJSON(e) : undefined); - } else { - obj.endpoints = []; - } - if (message.monitoredResources) { - obj.monitoredResources = message.monitoredResources.map(e => e ? MonitoredResourceDescriptor.toJSON(e) : undefined); - } else { - obj.monitoredResources = []; - } - message.monitoring !== undefined && (obj.monitoring = message.monitoring ? Monitoring.toJSON(message.monitoring) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ServiceConfig { - const message = createBaseServiceConfig(); - message.name = object.name ?? ""; - message.title = object.title ?? ""; - message.apis = object.apis?.map(e => Api.fromPartial(e)) || []; - if (object.documentation !== undefined && object.documentation !== null) { - message.documentation = Documentation.fromPartial(object.documentation); - } - if (object.quota !== undefined && object.quota !== null) { - message.quota = Quota.fromPartial(object.quota); - } - if (object.authentication !== undefined && object.authentication !== null) { - message.authentication = Authentication.fromPartial(object.authentication); - } - if (object.usage !== undefined && object.usage !== null) { - message.usage = Usage.fromPartial(object.usage); - } - message.endpoints = object.endpoints?.map(e => Endpoint.fromPartial(e)) || []; - message.monitoredResources = object.monitoredResources?.map(e => MonitoredResourceDescriptor.fromPartial(e)) || []; - if (object.monitoring !== undefined && object.monitoring !== null) { - message.monitoring = Monitoring.fromPartial(object.monitoring); - } - return message; - }, - fromSDK(object: ServiceConfigSDKType): ServiceConfig { - return { - name: object?.name, - title: object?.title, - apis: Array.isArray(object?.apis) ? object.apis.map((e: any) => Api.fromSDK(e)) : [], - documentation: object.documentation ? Documentation.fromSDK(object.documentation) : undefined, - quota: object.quota ? Quota.fromSDK(object.quota) : undefined, - authentication: object.authentication ? Authentication.fromSDK(object.authentication) : undefined, - usage: object.usage ? Usage.fromSDK(object.usage) : undefined, - endpoints: Array.isArray(object?.endpoints) ? object.endpoints.map((e: any) => Endpoint.fromSDK(e)) : [], - monitoredResources: Array.isArray(object?.monitored_resources) ? object.monitored_resources.map((e: any) => MonitoredResourceDescriptor.fromSDK(e)) : [], - monitoring: object.monitoring ? Monitoring.fromSDK(object.monitoring) : undefined - }; - }, - toSDK(message: ServiceConfig): ServiceConfigSDKType { - const obj: any = {}; - obj.name = message.name; - obj.title = message.title; - if (message.apis) { - obj.apis = message.apis.map(e => e ? Api.toSDK(e) : undefined); - } else { - obj.apis = []; - } - message.documentation !== undefined && (obj.documentation = message.documentation ? Documentation.toSDK(message.documentation) : undefined); - message.quota !== undefined && (obj.quota = message.quota ? Quota.toSDK(message.quota) : undefined); - message.authentication !== undefined && (obj.authentication = message.authentication ? Authentication.toSDK(message.authentication) : undefined); - message.usage !== undefined && (obj.usage = message.usage ? Usage.toSDK(message.usage) : undefined); - if (message.endpoints) { - obj.endpoints = message.endpoints.map(e => e ? Endpoint.toSDK(e) : undefined); - } else { - obj.endpoints = []; - } - if (message.monitoredResources) { - obj.monitored_resources = message.monitoredResources.map(e => e ? MonitoredResourceDescriptor.toSDK(e) : undefined); - } else { - obj.monitored_resources = []; - } - message.monitoring !== undefined && (obj.monitoring = message.monitoring ? Monitoring.toSDK(message.monitoring) : undefined); - return obj; - }, - fromAmino(object: ServiceConfigAmino): ServiceConfig { - return { - name: object.name, - title: object.title, - apis: Array.isArray(object?.apis) ? object.apis.map((e: any) => Api.fromAmino(e)) : [], - documentation: object?.documentation ? Documentation.fromAmino(object.documentation) : undefined, - quota: object?.quota ? Quota.fromAmino(object.quota) : undefined, - authentication: object?.authentication ? Authentication.fromAmino(object.authentication) : undefined, - usage: object?.usage ? Usage.fromAmino(object.usage) : undefined, - endpoints: Array.isArray(object?.endpoints) ? object.endpoints.map((e: any) => Endpoint.fromAmino(e)) : [], - monitoredResources: Array.isArray(object?.monitored_resources) ? object.monitored_resources.map((e: any) => MonitoredResourceDescriptor.fromAmino(e)) : [], - monitoring: object?.monitoring ? Monitoring.fromAmino(object.monitoring) : undefined - }; - }, - toAmino(message: ServiceConfig): ServiceConfigAmino { - const obj: any = {}; - obj.name = message.name; - obj.title = message.title; - if (message.apis) { - obj.apis = message.apis.map(e => e ? Api.toAmino(e) : undefined); - } else { - obj.apis = []; - } - obj.documentation = message.documentation ? Documentation.toAmino(message.documentation) : undefined; - obj.quota = message.quota ? Quota.toAmino(message.quota) : undefined; - obj.authentication = message.authentication ? Authentication.toAmino(message.authentication) : undefined; - obj.usage = message.usage ? Usage.toAmino(message.usage) : undefined; - if (message.endpoints) { - obj.endpoints = message.endpoints.map(e => e ? Endpoint.toAmino(e) : undefined); - } else { - obj.endpoints = []; - } - if (message.monitoredResources) { - obj.monitored_resources = message.monitoredResources.map(e => e ? MonitoredResourceDescriptor.toAmino(e) : undefined); - } else { - obj.monitored_resources = []; - } - obj.monitoring = message.monitoring ? Monitoring.toAmino(message.monitoring) : undefined; - return obj; - }, - fromAminoMsg(object: ServiceConfigAminoMsg): ServiceConfig { - return ServiceConfig.fromAmino(object.value); - }, - fromProtoMsg(message: ServiceConfigProtoMsg): ServiceConfig { - return ServiceConfig.decode(message.value); - }, - toProto(message: ServiceConfig): Uint8Array { - return ServiceConfig.encode(message).finish(); - }, - toProtoMsg(message: ServiceConfig): ServiceConfigProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ServiceConfig", - value: ServiceConfig.encode(message).finish() - }; - } -}; -function createBaseOperationMetadata(): OperationMetadata { - return { - resourceNames: [] - }; -} -export const OperationMetadata = { - typeUrl: "/google.api.serviceusage.v1beta1.OperationMetadata", - encode(message: OperationMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.resourceNames) { - writer.uint32(18).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): OperationMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOperationMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.resourceNames.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): OperationMetadata { - const obj = createBaseOperationMetadata(); - if (Array.isArray(object?.resourceNames)) obj.resourceNames = object.resourceNames.map((e: any) => String(e)); - return obj; - }, - toJSON(message: OperationMetadata): unknown { - const obj: any = {}; - if (message.resourceNames) { - obj.resourceNames = message.resourceNames.map(e => e); - } else { - obj.resourceNames = []; - } - return obj; - }, - fromPartial(object: DeepPartial): OperationMetadata { - const message = createBaseOperationMetadata(); - message.resourceNames = object.resourceNames?.map(e => e) || []; - return message; - }, - fromSDK(object: OperationMetadataSDKType): OperationMetadata { - return { - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [] - }; - }, - toSDK(message: OperationMetadata): OperationMetadataSDKType { - const obj: any = {}; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - return obj; - }, - fromAmino(object: OperationMetadataAmino): OperationMetadata { - return { - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [] - }; - }, - toAmino(message: OperationMetadata): OperationMetadataAmino { - const obj: any = {}; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - return obj; - }, - fromAminoMsg(object: OperationMetadataAminoMsg): OperationMetadata { - return OperationMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: OperationMetadataProtoMsg): OperationMetadata { - return OperationMetadata.decode(message.value); - }, - toProto(message: OperationMetadata): Uint8Array { - return OperationMetadata.encode(message).finish(); - }, - toProtoMsg(message: OperationMetadata): OperationMetadataProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.OperationMetadata", - value: OperationMetadata.encode(message).finish() - }; - } -}; -function createBaseConsumerQuotaMetric(): ConsumerQuotaMetric { - return { - name: "", - metric: "", - displayName: "", - consumerQuotaLimits: [], - descendantConsumerQuotaLimits: [], - unit: "" - }; -} -export const ConsumerQuotaMetric = { - typeUrl: "/google.api.serviceusage.v1beta1.ConsumerQuotaMetric", - encode(message: ConsumerQuotaMetric, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.metric !== "") { - writer.uint32(34).string(message.metric); - } - if (message.displayName !== "") { - writer.uint32(18).string(message.displayName); - } - for (const v of message.consumerQuotaLimits) { - ConsumerQuotaLimit.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.descendantConsumerQuotaLimits) { - ConsumerQuotaLimit.encode(v!, writer.uint32(50).fork()).ldelim(); - } - if (message.unit !== "") { - writer.uint32(42).string(message.unit); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ConsumerQuotaMetric { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConsumerQuotaMetric(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 4: - message.metric = reader.string(); - break; - case 2: - message.displayName = reader.string(); - break; - case 3: - message.consumerQuotaLimits.push(ConsumerQuotaLimit.decode(reader, reader.uint32())); - break; - case 6: - message.descendantConsumerQuotaLimits.push(ConsumerQuotaLimit.decode(reader, reader.uint32())); - break; - case 5: - message.unit = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ConsumerQuotaMetric { - const obj = createBaseConsumerQuotaMetric(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.metric)) obj.metric = String(object.metric); - if (isSet(object.displayName)) obj.displayName = String(object.displayName); - if (Array.isArray(object?.consumerQuotaLimits)) obj.consumerQuotaLimits = object.consumerQuotaLimits.map((e: any) => ConsumerQuotaLimit.fromJSON(e)); - if (Array.isArray(object?.descendantConsumerQuotaLimits)) obj.descendantConsumerQuotaLimits = object.descendantConsumerQuotaLimits.map((e: any) => ConsumerQuotaLimit.fromJSON(e)); - if (isSet(object.unit)) obj.unit = String(object.unit); - return obj; - }, - toJSON(message: ConsumerQuotaMetric): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.metric !== undefined && (obj.metric = message.metric); - message.displayName !== undefined && (obj.displayName = message.displayName); - if (message.consumerQuotaLimits) { - obj.consumerQuotaLimits = message.consumerQuotaLimits.map(e => e ? ConsumerQuotaLimit.toJSON(e) : undefined); - } else { - obj.consumerQuotaLimits = []; - } - if (message.descendantConsumerQuotaLimits) { - obj.descendantConsumerQuotaLimits = message.descendantConsumerQuotaLimits.map(e => e ? ConsumerQuotaLimit.toJSON(e) : undefined); - } else { - obj.descendantConsumerQuotaLimits = []; - } - message.unit !== undefined && (obj.unit = message.unit); - return obj; - }, - fromPartial(object: DeepPartial): ConsumerQuotaMetric { - const message = createBaseConsumerQuotaMetric(); - message.name = object.name ?? ""; - message.metric = object.metric ?? ""; - message.displayName = object.displayName ?? ""; - message.consumerQuotaLimits = object.consumerQuotaLimits?.map(e => ConsumerQuotaLimit.fromPartial(e)) || []; - message.descendantConsumerQuotaLimits = object.descendantConsumerQuotaLimits?.map(e => ConsumerQuotaLimit.fromPartial(e)) || []; - message.unit = object.unit ?? ""; - return message; - }, - fromSDK(object: ConsumerQuotaMetricSDKType): ConsumerQuotaMetric { - return { - name: object?.name, - metric: object?.metric, - displayName: object?.display_name, - consumerQuotaLimits: Array.isArray(object?.consumer_quota_limits) ? object.consumer_quota_limits.map((e: any) => ConsumerQuotaLimit.fromSDK(e)) : [], - descendantConsumerQuotaLimits: Array.isArray(object?.descendant_consumer_quota_limits) ? object.descendant_consumer_quota_limits.map((e: any) => ConsumerQuotaLimit.fromSDK(e)) : [], - unit: object?.unit - }; - }, - toSDK(message: ConsumerQuotaMetric): ConsumerQuotaMetricSDKType { - const obj: any = {}; - obj.name = message.name; - obj.metric = message.metric; - obj.display_name = message.displayName; - if (message.consumerQuotaLimits) { - obj.consumer_quota_limits = message.consumerQuotaLimits.map(e => e ? ConsumerQuotaLimit.toSDK(e) : undefined); - } else { - obj.consumer_quota_limits = []; - } - if (message.descendantConsumerQuotaLimits) { - obj.descendant_consumer_quota_limits = message.descendantConsumerQuotaLimits.map(e => e ? ConsumerQuotaLimit.toSDK(e) : undefined); - } else { - obj.descendant_consumer_quota_limits = []; - } - obj.unit = message.unit; - return obj; - }, - fromAmino(object: ConsumerQuotaMetricAmino): ConsumerQuotaMetric { - return { - name: object.name, - metric: object.metric, - displayName: object.display_name, - consumerQuotaLimits: Array.isArray(object?.consumer_quota_limits) ? object.consumer_quota_limits.map((e: any) => ConsumerQuotaLimit.fromAmino(e)) : [], - descendantConsumerQuotaLimits: Array.isArray(object?.descendant_consumer_quota_limits) ? object.descendant_consumer_quota_limits.map((e: any) => ConsumerQuotaLimit.fromAmino(e)) : [], - unit: object.unit - }; - }, - toAmino(message: ConsumerQuotaMetric): ConsumerQuotaMetricAmino { - const obj: any = {}; - obj.name = message.name; - obj.metric = message.metric; - obj.display_name = message.displayName; - if (message.consumerQuotaLimits) { - obj.consumer_quota_limits = message.consumerQuotaLimits.map(e => e ? ConsumerQuotaLimit.toAmino(e) : undefined); - } else { - obj.consumer_quota_limits = []; - } - if (message.descendantConsumerQuotaLimits) { - obj.descendant_consumer_quota_limits = message.descendantConsumerQuotaLimits.map(e => e ? ConsumerQuotaLimit.toAmino(e) : undefined); - } else { - obj.descendant_consumer_quota_limits = []; - } - obj.unit = message.unit; - return obj; - }, - fromAminoMsg(object: ConsumerQuotaMetricAminoMsg): ConsumerQuotaMetric { - return ConsumerQuotaMetric.fromAmino(object.value); - }, - fromProtoMsg(message: ConsumerQuotaMetricProtoMsg): ConsumerQuotaMetric { - return ConsumerQuotaMetric.decode(message.value); - }, - toProto(message: ConsumerQuotaMetric): Uint8Array { - return ConsumerQuotaMetric.encode(message).finish(); - }, - toProtoMsg(message: ConsumerQuotaMetric): ConsumerQuotaMetricProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ConsumerQuotaMetric", - value: ConsumerQuotaMetric.encode(message).finish() - }; - } -}; -function createBaseConsumerQuotaLimit(): ConsumerQuotaLimit { - return { - name: "", - metric: "", - unit: "", - isPrecise: false, - allowsAdminOverrides: false, - quotaBuckets: [] - }; -} -export const ConsumerQuotaLimit = { - typeUrl: "/google.api.serviceusage.v1beta1.ConsumerQuotaLimit", - encode(message: ConsumerQuotaLimit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.metric !== "") { - writer.uint32(66).string(message.metric); - } - if (message.unit !== "") { - writer.uint32(18).string(message.unit); - } - if (message.isPrecise === true) { - writer.uint32(24).bool(message.isPrecise); - } - if (message.allowsAdminOverrides === true) { - writer.uint32(56).bool(message.allowsAdminOverrides); - } - for (const v of message.quotaBuckets) { - QuotaBucket.encode(v!, writer.uint32(74).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ConsumerQuotaLimit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseConsumerQuotaLimit(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 8: - message.metric = reader.string(); - break; - case 2: - message.unit = reader.string(); - break; - case 3: - message.isPrecise = reader.bool(); - break; - case 7: - message.allowsAdminOverrides = reader.bool(); - break; - case 9: - message.quotaBuckets.push(QuotaBucket.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ConsumerQuotaLimit { - const obj = createBaseConsumerQuotaLimit(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.metric)) obj.metric = String(object.metric); - if (isSet(object.unit)) obj.unit = String(object.unit); - if (isSet(object.isPrecise)) obj.isPrecise = Boolean(object.isPrecise); - if (isSet(object.allowsAdminOverrides)) obj.allowsAdminOverrides = Boolean(object.allowsAdminOverrides); - if (Array.isArray(object?.quotaBuckets)) obj.quotaBuckets = object.quotaBuckets.map((e: any) => QuotaBucket.fromJSON(e)); - return obj; - }, - toJSON(message: ConsumerQuotaLimit): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.metric !== undefined && (obj.metric = message.metric); - message.unit !== undefined && (obj.unit = message.unit); - message.isPrecise !== undefined && (obj.isPrecise = message.isPrecise); - message.allowsAdminOverrides !== undefined && (obj.allowsAdminOverrides = message.allowsAdminOverrides); - if (message.quotaBuckets) { - obj.quotaBuckets = message.quotaBuckets.map(e => e ? QuotaBucket.toJSON(e) : undefined); - } else { - obj.quotaBuckets = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ConsumerQuotaLimit { - const message = createBaseConsumerQuotaLimit(); - message.name = object.name ?? ""; - message.metric = object.metric ?? ""; - message.unit = object.unit ?? ""; - message.isPrecise = object.isPrecise ?? false; - message.allowsAdminOverrides = object.allowsAdminOverrides ?? false; - message.quotaBuckets = object.quotaBuckets?.map(e => QuotaBucket.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ConsumerQuotaLimitSDKType): ConsumerQuotaLimit { - return { - name: object?.name, - metric: object?.metric, - unit: object?.unit, - isPrecise: object?.is_precise, - allowsAdminOverrides: object?.allows_admin_overrides, - quotaBuckets: Array.isArray(object?.quota_buckets) ? object.quota_buckets.map((e: any) => QuotaBucket.fromSDK(e)) : [] - }; - }, - toSDK(message: ConsumerQuotaLimit): ConsumerQuotaLimitSDKType { - const obj: any = {}; - obj.name = message.name; - obj.metric = message.metric; - obj.unit = message.unit; - obj.is_precise = message.isPrecise; - obj.allows_admin_overrides = message.allowsAdminOverrides; - if (message.quotaBuckets) { - obj.quota_buckets = message.quotaBuckets.map(e => e ? QuotaBucket.toSDK(e) : undefined); - } else { - obj.quota_buckets = []; - } - return obj; - }, - fromAmino(object: ConsumerQuotaLimitAmino): ConsumerQuotaLimit { - return { - name: object.name, - metric: object.metric, - unit: object.unit, - isPrecise: object.is_precise, - allowsAdminOverrides: object.allows_admin_overrides, - quotaBuckets: Array.isArray(object?.quota_buckets) ? object.quota_buckets.map((e: any) => QuotaBucket.fromAmino(e)) : [] - }; - }, - toAmino(message: ConsumerQuotaLimit): ConsumerQuotaLimitAmino { - const obj: any = {}; - obj.name = message.name; - obj.metric = message.metric; - obj.unit = message.unit; - obj.is_precise = message.isPrecise; - obj.allows_admin_overrides = message.allowsAdminOverrides; - if (message.quotaBuckets) { - obj.quota_buckets = message.quotaBuckets.map(e => e ? QuotaBucket.toAmino(e) : undefined); - } else { - obj.quota_buckets = []; - } - return obj; - }, - fromAminoMsg(object: ConsumerQuotaLimitAminoMsg): ConsumerQuotaLimit { - return ConsumerQuotaLimit.fromAmino(object.value); - }, - fromProtoMsg(message: ConsumerQuotaLimitProtoMsg): ConsumerQuotaLimit { - return ConsumerQuotaLimit.decode(message.value); - }, - toProto(message: ConsumerQuotaLimit): Uint8Array { - return ConsumerQuotaLimit.encode(message).finish(); - }, - toProtoMsg(message: ConsumerQuotaLimit): ConsumerQuotaLimitProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ConsumerQuotaLimit", - value: ConsumerQuotaLimit.encode(message).finish() - }; - } -}; -function createBaseQuotaBucket_DimensionsEntry(): QuotaBucket_DimensionsEntry { - return { - key: "", - value: "" - }; -} -export const QuotaBucket_DimensionsEntry = { - encode(message: QuotaBucket_DimensionsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuotaBucket_DimensionsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuotaBucket_DimensionsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuotaBucket_DimensionsEntry { - const obj = createBaseQuotaBucket_DimensionsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: QuotaBucket_DimensionsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): QuotaBucket_DimensionsEntry { - const message = createBaseQuotaBucket_DimensionsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: QuotaBucket_DimensionsEntrySDKType): QuotaBucket_DimensionsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: QuotaBucket_DimensionsEntry): QuotaBucket_DimensionsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: QuotaBucket_DimensionsEntryAmino): QuotaBucket_DimensionsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: QuotaBucket_DimensionsEntry): QuotaBucket_DimensionsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: QuotaBucket_DimensionsEntryAminoMsg): QuotaBucket_DimensionsEntry { - return QuotaBucket_DimensionsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: QuotaBucket_DimensionsEntryProtoMsg): QuotaBucket_DimensionsEntry { - return QuotaBucket_DimensionsEntry.decode(message.value); - }, - toProto(message: QuotaBucket_DimensionsEntry): Uint8Array { - return QuotaBucket_DimensionsEntry.encode(message).finish(); - } -}; -function createBaseQuotaBucket(): QuotaBucket { - return { - effectiveLimit: Long.ZERO, - defaultLimit: Long.ZERO, - producerOverride: QuotaOverride.fromPartial({}), - consumerOverride: QuotaOverride.fromPartial({}), - adminOverride: QuotaOverride.fromPartial({}), - dimensions: {} - }; -} -export const QuotaBucket = { - typeUrl: "/google.api.serviceusage.v1beta1.QuotaBucket", - encode(message: QuotaBucket, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.effectiveLimit.isZero()) { - writer.uint32(8).int64(message.effectiveLimit); - } - if (!message.defaultLimit.isZero()) { - writer.uint32(16).int64(message.defaultLimit); - } - if (message.producerOverride !== undefined) { - QuotaOverride.encode(message.producerOverride, writer.uint32(26).fork()).ldelim(); - } - if (message.consumerOverride !== undefined) { - QuotaOverride.encode(message.consumerOverride, writer.uint32(34).fork()).ldelim(); - } - if (message.adminOverride !== undefined) { - QuotaOverride.encode(message.adminOverride, writer.uint32(42).fork()).ldelim(); - } - Object.entries(message.dimensions).forEach(([key, value]) => { - QuotaBucket_DimensionsEntry.encode({ - key: (key as any), - value - }, writer.uint32(50).fork()).ldelim(); - }); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuotaBucket { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuotaBucket(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.effectiveLimit = (reader.int64() as Long); - break; - case 2: - message.defaultLimit = (reader.int64() as Long); - break; - case 3: - message.producerOverride = QuotaOverride.decode(reader, reader.uint32()); - break; - case 4: - message.consumerOverride = QuotaOverride.decode(reader, reader.uint32()); - break; - case 5: - message.adminOverride = QuotaOverride.decode(reader, reader.uint32()); - break; - case 6: - const entry6 = QuotaBucket_DimensionsEntry.decode(reader, reader.uint32()); - if (entry6.value !== undefined) { - message.dimensions[entry6.key] = entry6.value; - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuotaBucket { - const obj = createBaseQuotaBucket(); - if (isSet(object.effectiveLimit)) obj.effectiveLimit = Long.fromValue(object.effectiveLimit); - if (isSet(object.defaultLimit)) obj.defaultLimit = Long.fromValue(object.defaultLimit); - if (isSet(object.producerOverride)) obj.producerOverride = QuotaOverride.fromJSON(object.producerOverride); - if (isSet(object.consumerOverride)) obj.consumerOverride = QuotaOverride.fromJSON(object.consumerOverride); - if (isSet(object.adminOverride)) obj.adminOverride = QuotaOverride.fromJSON(object.adminOverride); - if (isObject(object.dimensions)) obj.dimensions = Object.entries(object.dimensions).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - return obj; - }, - toJSON(message: QuotaBucket): unknown { - const obj: any = {}; - message.effectiveLimit !== undefined && (obj.effectiveLimit = (message.effectiveLimit || Long.ZERO).toString()); - message.defaultLimit !== undefined && (obj.defaultLimit = (message.defaultLimit || Long.ZERO).toString()); - message.producerOverride !== undefined && (obj.producerOverride = message.producerOverride ? QuotaOverride.toJSON(message.producerOverride) : undefined); - message.consumerOverride !== undefined && (obj.consumerOverride = message.consumerOverride ? QuotaOverride.toJSON(message.consumerOverride) : undefined); - message.adminOverride !== undefined && (obj.adminOverride = message.adminOverride ? QuotaOverride.toJSON(message.adminOverride) : undefined); - obj.dimensions = {}; - if (message.dimensions) { - Object.entries(message.dimensions).forEach(([k, v]) => { - obj.dimensions[k] = v; - }); - } - return obj; - }, - fromPartial(object: DeepPartial): QuotaBucket { - const message = createBaseQuotaBucket(); - if (object.effectiveLimit !== undefined && object.effectiveLimit !== null) { - message.effectiveLimit = Long.fromValue(object.effectiveLimit); - } - if (object.defaultLimit !== undefined && object.defaultLimit !== null) { - message.defaultLimit = Long.fromValue(object.defaultLimit); - } - if (object.producerOverride !== undefined && object.producerOverride !== null) { - message.producerOverride = QuotaOverride.fromPartial(object.producerOverride); - } - if (object.consumerOverride !== undefined && object.consumerOverride !== null) { - message.consumerOverride = QuotaOverride.fromPartial(object.consumerOverride); - } - if (object.adminOverride !== undefined && object.adminOverride !== null) { - message.adminOverride = QuotaOverride.fromPartial(object.adminOverride); - } - message.dimensions = Object.entries(object.dimensions ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - return message; - }, - fromSDK(object: QuotaBucketSDKType): QuotaBucket { - return { - effectiveLimit: object?.effective_limit, - defaultLimit: object?.default_limit, - producerOverride: object.producer_override ? QuotaOverride.fromSDK(object.producer_override) : undefined, - consumerOverride: object.consumer_override ? QuotaOverride.fromSDK(object.consumer_override) : undefined, - adminOverride: object.admin_override ? QuotaOverride.fromSDK(object.admin_override) : undefined, - dimensions: isObject(object.dimensions) ? Object.entries(object.dimensions).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {} - }; - }, - toSDK(message: QuotaBucket): QuotaBucketSDKType { - const obj: any = {}; - obj.effective_limit = message.effectiveLimit; - obj.default_limit = message.defaultLimit; - message.producerOverride !== undefined && (obj.producer_override = message.producerOverride ? QuotaOverride.toSDK(message.producerOverride) : undefined); - message.consumerOverride !== undefined && (obj.consumer_override = message.consumerOverride ? QuotaOverride.toSDK(message.consumerOverride) : undefined); - message.adminOverride !== undefined && (obj.admin_override = message.adminOverride ? QuotaOverride.toSDK(message.adminOverride) : undefined); - obj.dimensions = {}; - if (message.dimensions) { - Object.entries(message.dimensions).forEach(([k, v]) => { - obj.dimensions[k] = v; - }); - } - return obj; - }, - fromAmino(object: QuotaBucketAmino): QuotaBucket { - return { - effectiveLimit: Long.fromString(object.effective_limit), - defaultLimit: Long.fromString(object.default_limit), - producerOverride: object?.producer_override ? QuotaOverride.fromAmino(object.producer_override) : undefined, - consumerOverride: object?.consumer_override ? QuotaOverride.fromAmino(object.consumer_override) : undefined, - adminOverride: object?.admin_override ? QuotaOverride.fromAmino(object.admin_override) : undefined, - dimensions: isObject(object.dimensions) ? Object.entries(object.dimensions).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {} - }; - }, - toAmino(message: QuotaBucket): QuotaBucketAmino { - const obj: any = {}; - obj.effective_limit = message.effectiveLimit ? message.effectiveLimit.toString() : undefined; - obj.default_limit = message.defaultLimit ? message.defaultLimit.toString() : undefined; - obj.producer_override = message.producerOverride ? QuotaOverride.toAmino(message.producerOverride) : undefined; - obj.consumer_override = message.consumerOverride ? QuotaOverride.toAmino(message.consumerOverride) : undefined; - obj.admin_override = message.adminOverride ? QuotaOverride.toAmino(message.adminOverride) : undefined; - obj.dimensions = {}; - if (message.dimensions) { - Object.entries(message.dimensions).forEach(([k, v]) => { - obj.dimensions[k] = v; - }); - } - return obj; - }, - fromAminoMsg(object: QuotaBucketAminoMsg): QuotaBucket { - return QuotaBucket.fromAmino(object.value); - }, - fromProtoMsg(message: QuotaBucketProtoMsg): QuotaBucket { - return QuotaBucket.decode(message.value); - }, - toProto(message: QuotaBucket): Uint8Array { - return QuotaBucket.encode(message).finish(); - }, - toProtoMsg(message: QuotaBucket): QuotaBucketProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.QuotaBucket", - value: QuotaBucket.encode(message).finish() - }; - } -}; -function createBaseQuotaOverride_DimensionsEntry(): QuotaOverride_DimensionsEntry { - return { - key: "", - value: "" - }; -} -export const QuotaOverride_DimensionsEntry = { - encode(message: QuotaOverride_DimensionsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuotaOverride_DimensionsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuotaOverride_DimensionsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuotaOverride_DimensionsEntry { - const obj = createBaseQuotaOverride_DimensionsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: QuotaOverride_DimensionsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): QuotaOverride_DimensionsEntry { - const message = createBaseQuotaOverride_DimensionsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: QuotaOverride_DimensionsEntrySDKType): QuotaOverride_DimensionsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: QuotaOverride_DimensionsEntry): QuotaOverride_DimensionsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: QuotaOverride_DimensionsEntryAmino): QuotaOverride_DimensionsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: QuotaOverride_DimensionsEntry): QuotaOverride_DimensionsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: QuotaOverride_DimensionsEntryAminoMsg): QuotaOverride_DimensionsEntry { - return QuotaOverride_DimensionsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: QuotaOverride_DimensionsEntryProtoMsg): QuotaOverride_DimensionsEntry { - return QuotaOverride_DimensionsEntry.decode(message.value); - }, - toProto(message: QuotaOverride_DimensionsEntry): Uint8Array { - return QuotaOverride_DimensionsEntry.encode(message).finish(); - } -}; -function createBaseQuotaOverride(): QuotaOverride { - return { - name: "", - overrideValue: Long.ZERO, - dimensions: {}, - metric: "", - unit: "", - adminOverrideAncestor: "" - }; -} -export const QuotaOverride = { - typeUrl: "/google.api.serviceusage.v1beta1.QuotaOverride", - encode(message: QuotaOverride, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (!message.overrideValue.isZero()) { - writer.uint32(16).int64(message.overrideValue); - } - Object.entries(message.dimensions).forEach(([key, value]) => { - QuotaOverride_DimensionsEntry.encode({ - key: (key as any), - value - }, writer.uint32(26).fork()).ldelim(); - }); - if (message.metric !== "") { - writer.uint32(34).string(message.metric); - } - if (message.unit !== "") { - writer.uint32(42).string(message.unit); - } - if (message.adminOverrideAncestor !== "") { - writer.uint32(50).string(message.adminOverrideAncestor); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): QuotaOverride { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQuotaOverride(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.overrideValue = (reader.int64() as Long); - break; - case 3: - const entry3 = QuotaOverride_DimensionsEntry.decode(reader, reader.uint32()); - if (entry3.value !== undefined) { - message.dimensions[entry3.key] = entry3.value; - } - break; - case 4: - message.metric = reader.string(); - break; - case 5: - message.unit = reader.string(); - break; - case 6: - message.adminOverrideAncestor = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): QuotaOverride { - const obj = createBaseQuotaOverride(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.overrideValue)) obj.overrideValue = Long.fromValue(object.overrideValue); - if (isObject(object.dimensions)) obj.dimensions = Object.entries(object.dimensions).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - if (isSet(object.metric)) obj.metric = String(object.metric); - if (isSet(object.unit)) obj.unit = String(object.unit); - if (isSet(object.adminOverrideAncestor)) obj.adminOverrideAncestor = String(object.adminOverrideAncestor); - return obj; - }, - toJSON(message: QuotaOverride): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.overrideValue !== undefined && (obj.overrideValue = (message.overrideValue || Long.ZERO).toString()); - obj.dimensions = {}; - if (message.dimensions) { - Object.entries(message.dimensions).forEach(([k, v]) => { - obj.dimensions[k] = v; - }); - } - message.metric !== undefined && (obj.metric = message.metric); - message.unit !== undefined && (obj.unit = message.unit); - message.adminOverrideAncestor !== undefined && (obj.adminOverrideAncestor = message.adminOverrideAncestor); - return obj; - }, - fromPartial(object: DeepPartial): QuotaOverride { - const message = createBaseQuotaOverride(); - message.name = object.name ?? ""; - if (object.overrideValue !== undefined && object.overrideValue !== null) { - message.overrideValue = Long.fromValue(object.overrideValue); - } - message.dimensions = Object.entries(object.dimensions ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - message.metric = object.metric ?? ""; - message.unit = object.unit ?? ""; - message.adminOverrideAncestor = object.adminOverrideAncestor ?? ""; - return message; - }, - fromSDK(object: QuotaOverrideSDKType): QuotaOverride { - return { - name: object?.name, - overrideValue: object?.override_value, - dimensions: isObject(object.dimensions) ? Object.entries(object.dimensions).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - metric: object?.metric, - unit: object?.unit, - adminOverrideAncestor: object?.admin_override_ancestor - }; - }, - toSDK(message: QuotaOverride): QuotaOverrideSDKType { - const obj: any = {}; - obj.name = message.name; - obj.override_value = message.overrideValue; - obj.dimensions = {}; - if (message.dimensions) { - Object.entries(message.dimensions).forEach(([k, v]) => { - obj.dimensions[k] = v; - }); - } - obj.metric = message.metric; - obj.unit = message.unit; - obj.admin_override_ancestor = message.adminOverrideAncestor; - return obj; - }, - fromAmino(object: QuotaOverrideAmino): QuotaOverride { - return { - name: object.name, - overrideValue: Long.fromString(object.override_value), - dimensions: isObject(object.dimensions) ? Object.entries(object.dimensions).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - metric: object.metric, - unit: object.unit, - adminOverrideAncestor: object.admin_override_ancestor - }; - }, - toAmino(message: QuotaOverride): QuotaOverrideAmino { - const obj: any = {}; - obj.name = message.name; - obj.override_value = message.overrideValue ? message.overrideValue.toString() : undefined; - obj.dimensions = {}; - if (message.dimensions) { - Object.entries(message.dimensions).forEach(([k, v]) => { - obj.dimensions[k] = v; - }); - } - obj.metric = message.metric; - obj.unit = message.unit; - obj.admin_override_ancestor = message.adminOverrideAncestor; - return obj; - }, - fromAminoMsg(object: QuotaOverrideAminoMsg): QuotaOverride { - return QuotaOverride.fromAmino(object.value); - }, - fromProtoMsg(message: QuotaOverrideProtoMsg): QuotaOverride { - return QuotaOverride.decode(message.value); - }, - toProto(message: QuotaOverride): Uint8Array { - return QuotaOverride.encode(message).finish(); - }, - toProtoMsg(message: QuotaOverride): QuotaOverrideProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.QuotaOverride", - value: QuotaOverride.encode(message).finish() - }; - } -}; -function createBaseOverrideInlineSource(): OverrideInlineSource { - return { - overrides: [] - }; -} -export const OverrideInlineSource = { - typeUrl: "/google.api.serviceusage.v1beta1.OverrideInlineSource", - encode(message: OverrideInlineSource, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.overrides) { - QuotaOverride.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): OverrideInlineSource { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOverrideInlineSource(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.overrides.push(QuotaOverride.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): OverrideInlineSource { - const obj = createBaseOverrideInlineSource(); - if (Array.isArray(object?.overrides)) obj.overrides = object.overrides.map((e: any) => QuotaOverride.fromJSON(e)); - return obj; - }, - toJSON(message: OverrideInlineSource): unknown { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toJSON(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromPartial(object: DeepPartial): OverrideInlineSource { - const message = createBaseOverrideInlineSource(); - message.overrides = object.overrides?.map(e => QuotaOverride.fromPartial(e)) || []; - return message; - }, - fromSDK(object: OverrideInlineSourceSDKType): OverrideInlineSource { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromSDK(e)) : [] - }; - }, - toSDK(message: OverrideInlineSource): OverrideInlineSourceSDKType { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toSDK(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromAmino(object: OverrideInlineSourceAmino): OverrideInlineSource { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromAmino(e)) : [] - }; - }, - toAmino(message: OverrideInlineSource): OverrideInlineSourceAmino { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toAmino(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromAminoMsg(object: OverrideInlineSourceAminoMsg): OverrideInlineSource { - return OverrideInlineSource.fromAmino(object.value); - }, - fromProtoMsg(message: OverrideInlineSourceProtoMsg): OverrideInlineSource { - return OverrideInlineSource.decode(message.value); - }, - toProto(message: OverrideInlineSource): Uint8Array { - return OverrideInlineSource.encode(message).finish(); - }, - toProtoMsg(message: OverrideInlineSource): OverrideInlineSourceProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.OverrideInlineSource", - value: OverrideInlineSource.encode(message).finish() - }; - } -}; -function createBaseAdminQuotaPolicy_DimensionsEntry(): AdminQuotaPolicy_DimensionsEntry { - return { - key: "", - value: "" - }; -} -export const AdminQuotaPolicy_DimensionsEntry = { - encode(message: AdminQuotaPolicy_DimensionsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AdminQuotaPolicy_DimensionsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAdminQuotaPolicy_DimensionsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AdminQuotaPolicy_DimensionsEntry { - const obj = createBaseAdminQuotaPolicy_DimensionsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: AdminQuotaPolicy_DimensionsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): AdminQuotaPolicy_DimensionsEntry { - const message = createBaseAdminQuotaPolicy_DimensionsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: AdminQuotaPolicy_DimensionsEntrySDKType): AdminQuotaPolicy_DimensionsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: AdminQuotaPolicy_DimensionsEntry): AdminQuotaPolicy_DimensionsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: AdminQuotaPolicy_DimensionsEntryAmino): AdminQuotaPolicy_DimensionsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: AdminQuotaPolicy_DimensionsEntry): AdminQuotaPolicy_DimensionsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: AdminQuotaPolicy_DimensionsEntryAminoMsg): AdminQuotaPolicy_DimensionsEntry { - return AdminQuotaPolicy_DimensionsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: AdminQuotaPolicy_DimensionsEntryProtoMsg): AdminQuotaPolicy_DimensionsEntry { - return AdminQuotaPolicy_DimensionsEntry.decode(message.value); - }, - toProto(message: AdminQuotaPolicy_DimensionsEntry): Uint8Array { - return AdminQuotaPolicy_DimensionsEntry.encode(message).finish(); - } -}; -function createBaseAdminQuotaPolicy(): AdminQuotaPolicy { - return { - name: "", - policyValue: Long.ZERO, - dimensions: {}, - metric: "", - unit: "", - container: "" - }; -} -export const AdminQuotaPolicy = { - typeUrl: "/google.api.serviceusage.v1beta1.AdminQuotaPolicy", - encode(message: AdminQuotaPolicy, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (!message.policyValue.isZero()) { - writer.uint32(16).int64(message.policyValue); - } - Object.entries(message.dimensions).forEach(([key, value]) => { - AdminQuotaPolicy_DimensionsEntry.encode({ - key: (key as any), - value - }, writer.uint32(26).fork()).ldelim(); - }); - if (message.metric !== "") { - writer.uint32(34).string(message.metric); - } - if (message.unit !== "") { - writer.uint32(42).string(message.unit); - } - if (message.container !== "") { - writer.uint32(50).string(message.container); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): AdminQuotaPolicy { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAdminQuotaPolicy(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.policyValue = (reader.int64() as Long); - break; - case 3: - const entry3 = AdminQuotaPolicy_DimensionsEntry.decode(reader, reader.uint32()); - if (entry3.value !== undefined) { - message.dimensions[entry3.key] = entry3.value; - } - break; - case 4: - message.metric = reader.string(); - break; - case 5: - message.unit = reader.string(); - break; - case 6: - message.container = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): AdminQuotaPolicy { - const obj = createBaseAdminQuotaPolicy(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.policyValue)) obj.policyValue = Long.fromValue(object.policyValue); - if (isObject(object.dimensions)) obj.dimensions = Object.entries(object.dimensions).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - if (isSet(object.metric)) obj.metric = String(object.metric); - if (isSet(object.unit)) obj.unit = String(object.unit); - if (isSet(object.container)) obj.container = String(object.container); - return obj; - }, - toJSON(message: AdminQuotaPolicy): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.policyValue !== undefined && (obj.policyValue = (message.policyValue || Long.ZERO).toString()); - obj.dimensions = {}; - if (message.dimensions) { - Object.entries(message.dimensions).forEach(([k, v]) => { - obj.dimensions[k] = v; - }); - } - message.metric !== undefined && (obj.metric = message.metric); - message.unit !== undefined && (obj.unit = message.unit); - message.container !== undefined && (obj.container = message.container); - return obj; - }, - fromPartial(object: DeepPartial): AdminQuotaPolicy { - const message = createBaseAdminQuotaPolicy(); - message.name = object.name ?? ""; - if (object.policyValue !== undefined && object.policyValue !== null) { - message.policyValue = Long.fromValue(object.policyValue); - } - message.dimensions = Object.entries(object.dimensions ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - message.metric = object.metric ?? ""; - message.unit = object.unit ?? ""; - message.container = object.container ?? ""; - return message; - }, - fromSDK(object: AdminQuotaPolicySDKType): AdminQuotaPolicy { - return { - name: object?.name, - policyValue: object?.policy_value, - dimensions: isObject(object.dimensions) ? Object.entries(object.dimensions).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - metric: object?.metric, - unit: object?.unit, - container: object?.container - }; - }, - toSDK(message: AdminQuotaPolicy): AdminQuotaPolicySDKType { - const obj: any = {}; - obj.name = message.name; - obj.policy_value = message.policyValue; - obj.dimensions = {}; - if (message.dimensions) { - Object.entries(message.dimensions).forEach(([k, v]) => { - obj.dimensions[k] = v; - }); - } - obj.metric = message.metric; - obj.unit = message.unit; - obj.container = message.container; - return obj; - }, - fromAmino(object: AdminQuotaPolicyAmino): AdminQuotaPolicy { - return { - name: object.name, - policyValue: Long.fromString(object.policy_value), - dimensions: isObject(object.dimensions) ? Object.entries(object.dimensions).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - metric: object.metric, - unit: object.unit, - container: object.container - }; - }, - toAmino(message: AdminQuotaPolicy): AdminQuotaPolicyAmino { - const obj: any = {}; - obj.name = message.name; - obj.policy_value = message.policyValue ? message.policyValue.toString() : undefined; - obj.dimensions = {}; - if (message.dimensions) { - Object.entries(message.dimensions).forEach(([k, v]) => { - obj.dimensions[k] = v; - }); - } - obj.metric = message.metric; - obj.unit = message.unit; - obj.container = message.container; - return obj; - }, - fromAminoMsg(object: AdminQuotaPolicyAminoMsg): AdminQuotaPolicy { - return AdminQuotaPolicy.fromAmino(object.value); - }, - fromProtoMsg(message: AdminQuotaPolicyProtoMsg): AdminQuotaPolicy { - return AdminQuotaPolicy.decode(message.value); - }, - toProto(message: AdminQuotaPolicy): Uint8Array { - return AdminQuotaPolicy.encode(message).finish(); - }, - toProtoMsg(message: AdminQuotaPolicy): AdminQuotaPolicyProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.AdminQuotaPolicy", - value: AdminQuotaPolicy.encode(message).finish() - }; - } -}; -function createBaseServiceIdentity(): ServiceIdentity { - return { - email: "", - uniqueId: "" - }; -} -export const ServiceIdentity = { - typeUrl: "/google.api.serviceusage.v1beta1.ServiceIdentity", - encode(message: ServiceIdentity, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.email !== "") { - writer.uint32(10).string(message.email); - } - if (message.uniqueId !== "") { - writer.uint32(18).string(message.uniqueId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ServiceIdentity { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseServiceIdentity(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.email = reader.string(); - break; - case 2: - message.uniqueId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ServiceIdentity { - const obj = createBaseServiceIdentity(); - if (isSet(object.email)) obj.email = String(object.email); - if (isSet(object.uniqueId)) obj.uniqueId = String(object.uniqueId); - return obj; - }, - toJSON(message: ServiceIdentity): unknown { - const obj: any = {}; - message.email !== undefined && (obj.email = message.email); - message.uniqueId !== undefined && (obj.uniqueId = message.uniqueId); - return obj; - }, - fromPartial(object: DeepPartial): ServiceIdentity { - const message = createBaseServiceIdentity(); - message.email = object.email ?? ""; - message.uniqueId = object.uniqueId ?? ""; - return message; - }, - fromSDK(object: ServiceIdentitySDKType): ServiceIdentity { - return { - email: object?.email, - uniqueId: object?.unique_id - }; - }, - toSDK(message: ServiceIdentity): ServiceIdentitySDKType { - const obj: any = {}; - obj.email = message.email; - obj.unique_id = message.uniqueId; - return obj; - }, - fromAmino(object: ServiceIdentityAmino): ServiceIdentity { - return { - email: object.email, - uniqueId: object.unique_id - }; - }, - toAmino(message: ServiceIdentity): ServiceIdentityAmino { - const obj: any = {}; - obj.email = message.email; - obj.unique_id = message.uniqueId; - return obj; - }, - fromAminoMsg(object: ServiceIdentityAminoMsg): ServiceIdentity { - return ServiceIdentity.fromAmino(object.value); - }, - fromProtoMsg(message: ServiceIdentityProtoMsg): ServiceIdentity { - return ServiceIdentity.decode(message.value); - }, - toProto(message: ServiceIdentity): Uint8Array { - return ServiceIdentity.encode(message).finish(); - }, - toProtoMsg(message: ServiceIdentity): ServiceIdentityProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ServiceIdentity", - value: ServiceIdentity.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/serviceusage/v1beta1/serviceusage.ts b/quicksilverjs/src/codegen/google/api/serviceusage/v1beta1/serviceusage.ts deleted file mode 100644 index 3b725e107..000000000 --- a/quicksilverjs/src/codegen/google/api/serviceusage/v1beta1/serviceusage.ts +++ /dev/null @@ -1,5258 +0,0 @@ -import { QuotaView, QuotaViewSDKType, QuotaOverride, QuotaOverrideAmino, QuotaOverrideSDKType, QuotaSafetyCheck, QuotaSafetyCheckSDKType, OverrideInlineSource, OverrideInlineSourceAmino, OverrideInlineSourceSDKType, Service, ServiceAmino, ServiceSDKType, ConsumerQuotaMetric, ConsumerQuotaMetricAmino, ConsumerQuotaMetricSDKType, AdminQuotaPolicy, AdminQuotaPolicyAmino, AdminQuotaPolicySDKType, ServiceIdentity, ServiceIdentityAmino, ServiceIdentitySDKType, quotaViewFromJSON, quotaViewToJSON, quotaSafetyCheckFromJSON, quotaSafetyCheckToJSON } from "./resources"; -import { FieldMask, FieldMaskAmino, FieldMaskSDKType } from "../../../protobuf/field_mask"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../../helpers"; -export const protobufPackage = "google.api.serviceusage.v1beta1"; -/** Enum for service identity state. */ -export enum GetServiceIdentityResponse_IdentityState { - /** - * IDENTITY_STATE_UNSPECIFIED - Default service identity state. This value is used if the state is - * omitted. - */ - IDENTITY_STATE_UNSPECIFIED = 0, - /** ACTIVE - Service identity has been created and can be used. */ - ACTIVE = 1, - UNRECOGNIZED = -1, -} -export const GetServiceIdentityResponse_IdentityStateSDKType = GetServiceIdentityResponse_IdentityState; -export const GetServiceIdentityResponse_IdentityStateAmino = GetServiceIdentityResponse_IdentityState; -export function getServiceIdentityResponse_IdentityStateFromJSON(object: any): GetServiceIdentityResponse_IdentityState { - switch (object) { - case 0: - case "IDENTITY_STATE_UNSPECIFIED": - return GetServiceIdentityResponse_IdentityState.IDENTITY_STATE_UNSPECIFIED; - case 1: - case "ACTIVE": - return GetServiceIdentityResponse_IdentityState.ACTIVE; - case -1: - case "UNRECOGNIZED": - default: - return GetServiceIdentityResponse_IdentityState.UNRECOGNIZED; - } -} -export function getServiceIdentityResponse_IdentityStateToJSON(object: GetServiceIdentityResponse_IdentityState): string { - switch (object) { - case GetServiceIdentityResponse_IdentityState.IDENTITY_STATE_UNSPECIFIED: - return "IDENTITY_STATE_UNSPECIFIED"; - case GetServiceIdentityResponse_IdentityState.ACTIVE: - return "ACTIVE"; - case GetServiceIdentityResponse_IdentityState.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Request message for the `EnableService` method. */ -export interface EnableServiceRequest { - /** - * Name of the consumer and service to enable the service on. - * - * The `EnableService` and `DisableService` methods currently only support - * projects. - * - * Enabling a service requires that the service is public or is shared with - * the user enabling the service. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` - * where `123` is the project number (not project ID). - */ - name: string; -} -export interface EnableServiceRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.EnableServiceRequest"; - value: Uint8Array; -} -/** Request message for the `EnableService` method. */ -export interface EnableServiceRequestAmino { - /** - * Name of the consumer and service to enable the service on. - * - * The `EnableService` and `DisableService` methods currently only support - * projects. - * - * Enabling a service requires that the service is public or is shared with - * the user enabling the service. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` - * where `123` is the project number (not project ID). - */ - name: string; -} -export interface EnableServiceRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.EnableServiceRequest"; - value: EnableServiceRequestAmino; -} -/** Request message for the `EnableService` method. */ -export interface EnableServiceRequestSDKType { - name: string; -} -/** Request message for the `DisableService` method. */ -export interface DisableServiceRequest { - /** - * Name of the consumer and service to disable the service on. - * - * The enable and disable methods currently only support projects. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` - * where `123` is the project number (not project ID). - */ - name: string; -} -export interface DisableServiceRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.DisableServiceRequest"; - value: Uint8Array; -} -/** Request message for the `DisableService` method. */ -export interface DisableServiceRequestAmino { - /** - * Name of the consumer and service to disable the service on. - * - * The enable and disable methods currently only support projects. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` - * where `123` is the project number (not project ID). - */ - name: string; -} -export interface DisableServiceRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.DisableServiceRequest"; - value: DisableServiceRequestAmino; -} -/** Request message for the `DisableService` method. */ -export interface DisableServiceRequestSDKType { - name: string; -} -/** Request message for the `GetService` method. */ -export interface GetServiceRequest { - /** - * Name of the consumer and service to get the `ConsumerState` for. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` - * where `123` is the project number (not project ID). - */ - name: string; -} -export interface GetServiceRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.GetServiceRequest"; - value: Uint8Array; -} -/** Request message for the `GetService` method. */ -export interface GetServiceRequestAmino { - /** - * Name of the consumer and service to get the `ConsumerState` for. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com` - * where `123` is the project number (not project ID). - */ - name: string; -} -export interface GetServiceRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.GetServiceRequest"; - value: GetServiceRequestAmino; -} -/** Request message for the `GetService` method. */ -export interface GetServiceRequestSDKType { - name: string; -} -/** Request message for the `ListServices` method. */ -export interface ListServicesRequest { - /** - * Parent to search for services on. - * - * An example name would be: - * `projects/123` - * where `123` is the project number (not project ID). - */ - parent: string; - /** - * Requested size of the next page of data. - * Requested page size cannot exceed 200. - * If not set, the default page size is 50. - */ - pageSize: number; - /** - * Token identifying which result to start with, which is returned by a - * previous list call. - */ - pageToken: string; - /** - * Only list services that conform to the given filter. - * The allowed filter strings are `state:ENABLED` and `state:DISABLED`. - */ - filter: string; -} -export interface ListServicesRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ListServicesRequest"; - value: Uint8Array; -} -/** Request message for the `ListServices` method. */ -export interface ListServicesRequestAmino { - /** - * Parent to search for services on. - * - * An example name would be: - * `projects/123` - * where `123` is the project number (not project ID). - */ - parent: string; - /** - * Requested size of the next page of data. - * Requested page size cannot exceed 200. - * If not set, the default page size is 50. - */ - page_size: number; - /** - * Token identifying which result to start with, which is returned by a - * previous list call. - */ - page_token: string; - /** - * Only list services that conform to the given filter. - * The allowed filter strings are `state:ENABLED` and `state:DISABLED`. - */ - filter: string; -} -export interface ListServicesRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.ListServicesRequest"; - value: ListServicesRequestAmino; -} -/** Request message for the `ListServices` method. */ -export interface ListServicesRequestSDKType { - parent: string; - page_size: number; - page_token: string; - filter: string; -} -/** Response message for the `ListServices` method. */ -export interface ListServicesResponse { - /** The available services for the requested project. */ - services: Service[]; - /** - * Token that can be passed to `ListServices` to resume a paginated - * query. - */ - nextPageToken: string; -} -export interface ListServicesResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ListServicesResponse"; - value: Uint8Array; -} -/** Response message for the `ListServices` method. */ -export interface ListServicesResponseAmino { - /** The available services for the requested project. */ - services: ServiceAmino[]; - /** - * Token that can be passed to `ListServices` to resume a paginated - * query. - */ - next_page_token: string; -} -export interface ListServicesResponseAminoMsg { - type: "/google.api.serviceusage.v1beta1.ListServicesResponse"; - value: ListServicesResponseAmino; -} -/** Response message for the `ListServices` method. */ -export interface ListServicesResponseSDKType { - services: ServiceSDKType[]; - next_page_token: string; -} -/** Request message for the `BatchEnableServices` method. */ -export interface BatchEnableServicesRequest { - /** - * Parent to enable services on. - * - * An example name would be: - * `projects/123` - * where `123` is the project number (not project ID). - * - * The `BatchEnableServices` method currently only supports projects. - */ - parent: string; - /** - * The identifiers of the services to enable on the project. - * - * A valid identifier would be: - * serviceusage.googleapis.com - * - * Enabling services requires that each service is public or is shared with - * the user enabling the service. - * - * Two or more services must be specified. To enable a single service, - * use the `EnableService` method instead. - * - * A single request can enable a maximum of 20 services at a time. If more - * than 20 services are specified, the request will fail, and no state changes - * will occur. - */ - serviceIds: string[]; -} -export interface BatchEnableServicesRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.BatchEnableServicesRequest"; - value: Uint8Array; -} -/** Request message for the `BatchEnableServices` method. */ -export interface BatchEnableServicesRequestAmino { - /** - * Parent to enable services on. - * - * An example name would be: - * `projects/123` - * where `123` is the project number (not project ID). - * - * The `BatchEnableServices` method currently only supports projects. - */ - parent: string; - /** - * The identifiers of the services to enable on the project. - * - * A valid identifier would be: - * serviceusage.googleapis.com - * - * Enabling services requires that each service is public or is shared with - * the user enabling the service. - * - * Two or more services must be specified. To enable a single service, - * use the `EnableService` method instead. - * - * A single request can enable a maximum of 20 services at a time. If more - * than 20 services are specified, the request will fail, and no state changes - * will occur. - */ - service_ids: string[]; -} -export interface BatchEnableServicesRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.BatchEnableServicesRequest"; - value: BatchEnableServicesRequestAmino; -} -/** Request message for the `BatchEnableServices` method. */ -export interface BatchEnableServicesRequestSDKType { - parent: string; - service_ids: string[]; -} -/** Request message for ListConsumerQuotaMetrics */ -export interface ListConsumerQuotaMetricsRequest { - /** - * Parent of the quotas resource. - * - * Some example names would be: - * `projects/123/services/serviceconsumermanagement.googleapis.com` - * `folders/345/services/serviceconsumermanagement.googleapis.com` - * `organizations/456/services/serviceconsumermanagement.googleapis.com` - */ - parent: string; - /** Requested size of the next page of data. */ - pageSize: number; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - pageToken: string; - /** Specifies the level of detail for quota information in the response. */ - view: QuotaView; -} -export interface ListConsumerQuotaMetricsRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsRequest"; - value: Uint8Array; -} -/** Request message for ListConsumerQuotaMetrics */ -export interface ListConsumerQuotaMetricsRequestAmino { - /** - * Parent of the quotas resource. - * - * Some example names would be: - * `projects/123/services/serviceconsumermanagement.googleapis.com` - * `folders/345/services/serviceconsumermanagement.googleapis.com` - * `organizations/456/services/serviceconsumermanagement.googleapis.com` - */ - parent: string; - /** Requested size of the next page of data. */ - page_size: number; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - page_token: string; - /** Specifies the level of detail for quota information in the response. */ - view: QuotaView; -} -export interface ListConsumerQuotaMetricsRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsRequest"; - value: ListConsumerQuotaMetricsRequestAmino; -} -/** Request message for ListConsumerQuotaMetrics */ -export interface ListConsumerQuotaMetricsRequestSDKType { - parent: string; - page_size: number; - page_token: string; - view: QuotaView; -} -/** Response message for ListConsumerQuotaMetrics */ -export interface ListConsumerQuotaMetricsResponse { - /** Quota settings for the consumer, organized by quota metric. */ - metrics: ConsumerQuotaMetric[]; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - nextPageToken: string; -} -export interface ListConsumerQuotaMetricsResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsResponse"; - value: Uint8Array; -} -/** Response message for ListConsumerQuotaMetrics */ -export interface ListConsumerQuotaMetricsResponseAmino { - /** Quota settings for the consumer, organized by quota metric. */ - metrics: ConsumerQuotaMetricAmino[]; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - next_page_token: string; -} -export interface ListConsumerQuotaMetricsResponseAminoMsg { - type: "/google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsResponse"; - value: ListConsumerQuotaMetricsResponseAmino; -} -/** Response message for ListConsumerQuotaMetrics */ -export interface ListConsumerQuotaMetricsResponseSDKType { - metrics: ConsumerQuotaMetricSDKType[]; - next_page_token: string; -} -/** Request message for GetConsumerQuotaMetric */ -export interface GetConsumerQuotaMetricRequest { - /** - * The resource name of the quota limit. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests` - */ - name: string; - /** Specifies the level of detail for quota information in the response. */ - view: QuotaView; -} -export interface GetConsumerQuotaMetricRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.GetConsumerQuotaMetricRequest"; - value: Uint8Array; -} -/** Request message for GetConsumerQuotaMetric */ -export interface GetConsumerQuotaMetricRequestAmino { - /** - * The resource name of the quota limit. - * - * An example name would be: - * `projects/123/services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests` - */ - name: string; - /** Specifies the level of detail for quota information in the response. */ - view: QuotaView; -} -export interface GetConsumerQuotaMetricRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.GetConsumerQuotaMetricRequest"; - value: GetConsumerQuotaMetricRequestAmino; -} -/** Request message for GetConsumerQuotaMetric */ -export interface GetConsumerQuotaMetricRequestSDKType { - name: string; - view: QuotaView; -} -/** Request message for GetConsumerQuotaLimit */ -export interface GetConsumerQuotaLimitRequest { - /** - * The resource name of the quota limit. - * - * Use the quota limit resource name returned by previous - * ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls. - */ - name: string; - /** Specifies the level of detail for quota information in the response. */ - view: QuotaView; -} -export interface GetConsumerQuotaLimitRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.GetConsumerQuotaLimitRequest"; - value: Uint8Array; -} -/** Request message for GetConsumerQuotaLimit */ -export interface GetConsumerQuotaLimitRequestAmino { - /** - * The resource name of the quota limit. - * - * Use the quota limit resource name returned by previous - * ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls. - */ - name: string; - /** Specifies the level of detail for quota information in the response. */ - view: QuotaView; -} -export interface GetConsumerQuotaLimitRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.GetConsumerQuotaLimitRequest"; - value: GetConsumerQuotaLimitRequestAmino; -} -/** Request message for GetConsumerQuotaLimit */ -export interface GetConsumerQuotaLimitRequestSDKType { - name: string; - view: QuotaView; -} -/** Request message for CreateAdminOverride. */ -export interface CreateAdminOverrideRequest { - /** - * The resource name of the parent quota limit, returned by a - * ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` - */ - parent: string; - /** The admin override to create. */ - override: QuotaOverride; - /** - * Whether to force the creation of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - forceOnly: QuotaSafetyCheck[]; -} -export interface CreateAdminOverrideRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.CreateAdminOverrideRequest"; - value: Uint8Array; -} -/** Request message for CreateAdminOverride. */ -export interface CreateAdminOverrideRequestAmino { - /** - * The resource name of the parent quota limit, returned by a - * ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` - */ - parent: string; - /** The admin override to create. */ - override?: QuotaOverrideAmino; - /** - * Whether to force the creation of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - force_only: QuotaSafetyCheck[]; -} -export interface CreateAdminOverrideRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.CreateAdminOverrideRequest"; - value: CreateAdminOverrideRequestAmino; -} -/** Request message for CreateAdminOverride. */ -export interface CreateAdminOverrideRequestSDKType { - parent: string; - override: QuotaOverrideSDKType; - force: boolean; - force_only: QuotaSafetyCheck[]; -} -/** Request message for UpdateAdminOverride. */ -export interface UpdateAdminOverrideRequest { - /** - * The resource name of the override to update. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` - */ - name: string; - /** - * The new override. - * Only the override_value is updated; all other fields are ignored. - */ - override: QuotaOverride; - /** - * Whether to force the update of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * Update only the specified fields of the override. - * If unset, all fields will be updated. - */ - updateMask: FieldMask; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - forceOnly: QuotaSafetyCheck[]; -} -export interface UpdateAdminOverrideRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.UpdateAdminOverrideRequest"; - value: Uint8Array; -} -/** Request message for UpdateAdminOverride. */ -export interface UpdateAdminOverrideRequestAmino { - /** - * The resource name of the override to update. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` - */ - name: string; - /** - * The new override. - * Only the override_value is updated; all other fields are ignored. - */ - override?: QuotaOverrideAmino; - /** - * Whether to force the update of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * Update only the specified fields of the override. - * If unset, all fields will be updated. - */ - update_mask?: FieldMaskAmino; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - force_only: QuotaSafetyCheck[]; -} -export interface UpdateAdminOverrideRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.UpdateAdminOverrideRequest"; - value: UpdateAdminOverrideRequestAmino; -} -/** Request message for UpdateAdminOverride. */ -export interface UpdateAdminOverrideRequestSDKType { - name: string; - override: QuotaOverrideSDKType; - force: boolean; - update_mask: FieldMaskSDKType; - force_only: QuotaSafetyCheck[]; -} -/** Request message for DeleteAdminOverride. */ -export interface DeleteAdminOverrideRequest { - /** - * The resource name of the override to delete. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` - */ - name: string; - /** - * Whether to force the deletion of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - forceOnly: QuotaSafetyCheck[]; -} -export interface DeleteAdminOverrideRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.DeleteAdminOverrideRequest"; - value: Uint8Array; -} -/** Request message for DeleteAdminOverride. */ -export interface DeleteAdminOverrideRequestAmino { - /** - * The resource name of the override to delete. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` - */ - name: string; - /** - * Whether to force the deletion of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - force_only: QuotaSafetyCheck[]; -} -export interface DeleteAdminOverrideRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.DeleteAdminOverrideRequest"; - value: DeleteAdminOverrideRequestAmino; -} -/** Request message for DeleteAdminOverride. */ -export interface DeleteAdminOverrideRequestSDKType { - name: string; - force: boolean; - force_only: QuotaSafetyCheck[]; -} -/** Request message for ListAdminOverrides */ -export interface ListAdminOverridesRequest { - /** - * The resource name of the parent quota limit, returned by a - * ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` - */ - parent: string; - /** Requested size of the next page of data. */ - pageSize: number; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - pageToken: string; -} -export interface ListAdminOverridesRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ListAdminOverridesRequest"; - value: Uint8Array; -} -/** Request message for ListAdminOverrides */ -export interface ListAdminOverridesRequestAmino { - /** - * The resource name of the parent quota limit, returned by a - * ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` - */ - parent: string; - /** Requested size of the next page of data. */ - page_size: number; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - page_token: string; -} -export interface ListAdminOverridesRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.ListAdminOverridesRequest"; - value: ListAdminOverridesRequestAmino; -} -/** Request message for ListAdminOverrides */ -export interface ListAdminOverridesRequestSDKType { - parent: string; - page_size: number; - page_token: string; -} -/** Response message for ListAdminOverrides. */ -export interface ListAdminOverridesResponse { - /** Admin overrides on this limit. */ - overrides: QuotaOverride[]; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - nextPageToken: string; -} -export interface ListAdminOverridesResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ListAdminOverridesResponse"; - value: Uint8Array; -} -/** Response message for ListAdminOverrides. */ -export interface ListAdminOverridesResponseAmino { - /** Admin overrides on this limit. */ - overrides: QuotaOverrideAmino[]; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - next_page_token: string; -} -export interface ListAdminOverridesResponseAminoMsg { - type: "/google.api.serviceusage.v1beta1.ListAdminOverridesResponse"; - value: ListAdminOverridesResponseAmino; -} -/** Response message for ListAdminOverrides. */ -export interface ListAdminOverridesResponseSDKType { - overrides: QuotaOverrideSDKType[]; - next_page_token: string; -} -/** Response message for BatchCreateAdminOverrides */ -export interface BatchCreateAdminOverridesResponse { - /** The overrides that were created. */ - overrides: QuotaOverride[]; -} -export interface BatchCreateAdminOverridesResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.BatchCreateAdminOverridesResponse"; - value: Uint8Array; -} -/** Response message for BatchCreateAdminOverrides */ -export interface BatchCreateAdminOverridesResponseAmino { - /** The overrides that were created. */ - overrides: QuotaOverrideAmino[]; -} -export interface BatchCreateAdminOverridesResponseAminoMsg { - type: "/google.api.serviceusage.v1beta1.BatchCreateAdminOverridesResponse"; - value: BatchCreateAdminOverridesResponseAmino; -} -/** Response message for BatchCreateAdminOverrides */ -export interface BatchCreateAdminOverridesResponseSDKType { - overrides: QuotaOverrideSDKType[]; -} -/** Request message for ImportAdminOverrides */ -export interface ImportAdminOverridesRequest { - /** - * The resource name of the consumer. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com` - */ - parent: string; - /** The import data is specified in the request message itself */ - inlineSource?: OverrideInlineSource; - /** - * Whether to force the creation of the quota overrides. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - forceOnly: QuotaSafetyCheck[]; -} -export interface ImportAdminOverridesRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminOverridesRequest"; - value: Uint8Array; -} -/** Request message for ImportAdminOverrides */ -export interface ImportAdminOverridesRequestAmino { - /** - * The resource name of the consumer. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com` - */ - parent: string; - /** The import data is specified in the request message itself */ - inline_source?: OverrideInlineSourceAmino; - /** - * Whether to force the creation of the quota overrides. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - force_only: QuotaSafetyCheck[]; -} -export interface ImportAdminOverridesRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.ImportAdminOverridesRequest"; - value: ImportAdminOverridesRequestAmino; -} -/** Request message for ImportAdminOverrides */ -export interface ImportAdminOverridesRequestSDKType { - parent: string; - inline_source?: OverrideInlineSourceSDKType; - force: boolean; - force_only: QuotaSafetyCheck[]; -} -/** Response message for ImportAdminOverrides */ -export interface ImportAdminOverridesResponse { - /** The overrides that were created from the imported data. */ - overrides: QuotaOverride[]; -} -export interface ImportAdminOverridesResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminOverridesResponse"; - value: Uint8Array; -} -/** Response message for ImportAdminOverrides */ -export interface ImportAdminOverridesResponseAmino { - /** The overrides that were created from the imported data. */ - overrides: QuotaOverrideAmino[]; -} -export interface ImportAdminOverridesResponseAminoMsg { - type: "/google.api.serviceusage.v1beta1.ImportAdminOverridesResponse"; - value: ImportAdminOverridesResponseAmino; -} -/** Response message for ImportAdminOverrides */ -export interface ImportAdminOverridesResponseSDKType { - overrides: QuotaOverrideSDKType[]; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by ImportAdminOverrides. - */ -export interface ImportAdminOverridesMetadata {} -export interface ImportAdminOverridesMetadataProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminOverridesMetadata"; - value: Uint8Array; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by ImportAdminOverrides. - */ -export interface ImportAdminOverridesMetadataAmino {} -export interface ImportAdminOverridesMetadataAminoMsg { - type: "/google.api.serviceusage.v1beta1.ImportAdminOverridesMetadata"; - value: ImportAdminOverridesMetadataAmino; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by ImportAdminOverrides. - */ -export interface ImportAdminOverridesMetadataSDKType {} -/** Request message for CreateConsumerOverride. */ -export interface CreateConsumerOverrideRequest { - /** - * The resource name of the parent quota limit, returned by a - * ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` - */ - parent: string; - /** The override to create. */ - override: QuotaOverride; - /** - * Whether to force the creation of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - forceOnly: QuotaSafetyCheck[]; -} -export interface CreateConsumerOverrideRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.CreateConsumerOverrideRequest"; - value: Uint8Array; -} -/** Request message for CreateConsumerOverride. */ -export interface CreateConsumerOverrideRequestAmino { - /** - * The resource name of the parent quota limit, returned by a - * ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` - */ - parent: string; - /** The override to create. */ - override?: QuotaOverrideAmino; - /** - * Whether to force the creation of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - force_only: QuotaSafetyCheck[]; -} -export interface CreateConsumerOverrideRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.CreateConsumerOverrideRequest"; - value: CreateConsumerOverrideRequestAmino; -} -/** Request message for CreateConsumerOverride. */ -export interface CreateConsumerOverrideRequestSDKType { - parent: string; - override: QuotaOverrideSDKType; - force: boolean; - force_only: QuotaSafetyCheck[]; -} -/** Request message for UpdateConsumerOverride. */ -export interface UpdateConsumerOverrideRequest { - /** - * The resource name of the override to update. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` - */ - name: string; - /** - * The new override. - * Only the override_value is updated; all other fields are ignored. - */ - override: QuotaOverride; - /** - * Whether to force the update of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * Update only the specified fields of the override. - * If unset, all fields will be updated. - */ - updateMask: FieldMask; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - forceOnly: QuotaSafetyCheck[]; -} -export interface UpdateConsumerOverrideRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.UpdateConsumerOverrideRequest"; - value: Uint8Array; -} -/** Request message for UpdateConsumerOverride. */ -export interface UpdateConsumerOverrideRequestAmino { - /** - * The resource name of the override to update. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` - */ - name: string; - /** - * The new override. - * Only the override_value is updated; all other fields are ignored. - */ - override?: QuotaOverrideAmino; - /** - * Whether to force the update of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * Update only the specified fields of the override. - * If unset, all fields will be updated. - */ - update_mask?: FieldMaskAmino; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - force_only: QuotaSafetyCheck[]; -} -export interface UpdateConsumerOverrideRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.UpdateConsumerOverrideRequest"; - value: UpdateConsumerOverrideRequestAmino; -} -/** Request message for UpdateConsumerOverride. */ -export interface UpdateConsumerOverrideRequestSDKType { - name: string; - override: QuotaOverrideSDKType; - force: boolean; - update_mask: FieldMaskSDKType; - force_only: QuotaSafetyCheck[]; -} -/** Request message for DeleteConsumerOverride. */ -export interface DeleteConsumerOverrideRequest { - /** - * The resource name of the override to delete. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` - */ - name: string; - /** - * Whether to force the deletion of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - forceOnly: QuotaSafetyCheck[]; -} -export interface DeleteConsumerOverrideRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.DeleteConsumerOverrideRequest"; - value: Uint8Array; -} -/** Request message for DeleteConsumerOverride. */ -export interface DeleteConsumerOverrideRequestAmino { - /** - * The resource name of the override to delete. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` - */ - name: string; - /** - * Whether to force the deletion of the quota override. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - force_only: QuotaSafetyCheck[]; -} -export interface DeleteConsumerOverrideRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.DeleteConsumerOverrideRequest"; - value: DeleteConsumerOverrideRequestAmino; -} -/** Request message for DeleteConsumerOverride. */ -export interface DeleteConsumerOverrideRequestSDKType { - name: string; - force: boolean; - force_only: QuotaSafetyCheck[]; -} -/** Request message for ListConsumerOverrides */ -export interface ListConsumerOverridesRequest { - /** - * The resource name of the parent quota limit, returned by a - * ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` - */ - parent: string; - /** Requested size of the next page of data. */ - pageSize: number; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - pageToken: string; -} -export interface ListConsumerOverridesRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerOverridesRequest"; - value: Uint8Array; -} -/** Request message for ListConsumerOverrides */ -export interface ListConsumerOverridesRequestAmino { - /** - * The resource name of the parent quota limit, returned by a - * ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` - */ - parent: string; - /** Requested size of the next page of data. */ - page_size: number; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - page_token: string; -} -export interface ListConsumerOverridesRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.ListConsumerOverridesRequest"; - value: ListConsumerOverridesRequestAmino; -} -/** Request message for ListConsumerOverrides */ -export interface ListConsumerOverridesRequestSDKType { - parent: string; - page_size: number; - page_token: string; -} -/** Response message for ListConsumerOverrides. */ -export interface ListConsumerOverridesResponse { - /** Consumer overrides on this limit. */ - overrides: QuotaOverride[]; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - nextPageToken: string; -} -export interface ListConsumerOverridesResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerOverridesResponse"; - value: Uint8Array; -} -/** Response message for ListConsumerOverrides. */ -export interface ListConsumerOverridesResponseAmino { - /** Consumer overrides on this limit. */ - overrides: QuotaOverrideAmino[]; - /** - * Token identifying which result to start with; returned by a previous list - * call. - */ - next_page_token: string; -} -export interface ListConsumerOverridesResponseAminoMsg { - type: "/google.api.serviceusage.v1beta1.ListConsumerOverridesResponse"; - value: ListConsumerOverridesResponseAmino; -} -/** Response message for ListConsumerOverrides. */ -export interface ListConsumerOverridesResponseSDKType { - overrides: QuotaOverrideSDKType[]; - next_page_token: string; -} -/** Response message for BatchCreateConsumerOverrides */ -export interface BatchCreateConsumerOverridesResponse { - /** The overrides that were created. */ - overrides: QuotaOverride[]; -} -export interface BatchCreateConsumerOverridesResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.BatchCreateConsumerOverridesResponse"; - value: Uint8Array; -} -/** Response message for BatchCreateConsumerOverrides */ -export interface BatchCreateConsumerOverridesResponseAmino { - /** The overrides that were created. */ - overrides: QuotaOverrideAmino[]; -} -export interface BatchCreateConsumerOverridesResponseAminoMsg { - type: "/google.api.serviceusage.v1beta1.BatchCreateConsumerOverridesResponse"; - value: BatchCreateConsumerOverridesResponseAmino; -} -/** Response message for BatchCreateConsumerOverrides */ -export interface BatchCreateConsumerOverridesResponseSDKType { - overrides: QuotaOverrideSDKType[]; -} -/** Request message for ImportConsumerOverrides */ -export interface ImportConsumerOverridesRequest { - /** - * The resource name of the consumer. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com` - */ - parent: string; - /** The import data is specified in the request message itself */ - inlineSource?: OverrideInlineSource; - /** - * Whether to force the creation of the quota overrides. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - forceOnly: QuotaSafetyCheck[]; -} -export interface ImportConsumerOverridesRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesRequest"; - value: Uint8Array; -} -/** Request message for ImportConsumerOverrides */ -export interface ImportConsumerOverridesRequestAmino { - /** - * The resource name of the consumer. - * - * An example name would be: - * `projects/123/services/compute.googleapis.com` - */ - parent: string; - /** The import data is specified in the request message itself */ - inline_source?: OverrideInlineSourceAmino; - /** - * Whether to force the creation of the quota overrides. - * Setting the force parameter to 'true' ignores all quota safety checks that - * would fail the request. QuotaSafetyCheck lists all such validations. - */ - force: boolean; - /** - * The list of quota safety checks to ignore before the override mutation. - * Unlike 'force' field that ignores all the quota safety checks, the - * 'force_only' field ignores only the specified checks; other checks are - * still enforced. The 'force' and 'force_only' fields cannot both be set. - */ - force_only: QuotaSafetyCheck[]; -} -export interface ImportConsumerOverridesRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesRequest"; - value: ImportConsumerOverridesRequestAmino; -} -/** Request message for ImportConsumerOverrides */ -export interface ImportConsumerOverridesRequestSDKType { - parent: string; - inline_source?: OverrideInlineSourceSDKType; - force: boolean; - force_only: QuotaSafetyCheck[]; -} -/** Response message for ImportConsumerOverrides */ -export interface ImportConsumerOverridesResponse { - /** The overrides that were created from the imported data. */ - overrides: QuotaOverride[]; -} -export interface ImportConsumerOverridesResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesResponse"; - value: Uint8Array; -} -/** Response message for ImportConsumerOverrides */ -export interface ImportConsumerOverridesResponseAmino { - /** The overrides that were created from the imported data. */ - overrides: QuotaOverrideAmino[]; -} -export interface ImportConsumerOverridesResponseAminoMsg { - type: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesResponse"; - value: ImportConsumerOverridesResponseAmino; -} -/** Response message for ImportConsumerOverrides */ -export interface ImportConsumerOverridesResponseSDKType { - overrides: QuotaOverrideSDKType[]; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by ImportConsumerOverrides. - */ -export interface ImportConsumerOverridesMetadata {} -export interface ImportConsumerOverridesMetadataProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesMetadata"; - value: Uint8Array; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by ImportConsumerOverrides. - */ -export interface ImportConsumerOverridesMetadataAmino {} -export interface ImportConsumerOverridesMetadataAminoMsg { - type: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesMetadata"; - value: ImportConsumerOverridesMetadataAmino; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by ImportConsumerOverrides. - */ -export interface ImportConsumerOverridesMetadataSDKType {} -/** Response message for ImportAdminQuotaPolicies */ -export interface ImportAdminQuotaPoliciesResponse { - /** The policies that were created from the imported data. */ - policies: AdminQuotaPolicy[]; -} -export interface ImportAdminQuotaPoliciesResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminQuotaPoliciesResponse"; - value: Uint8Array; -} -/** Response message for ImportAdminQuotaPolicies */ -export interface ImportAdminQuotaPoliciesResponseAmino { - /** The policies that were created from the imported data. */ - policies: AdminQuotaPolicyAmino[]; -} -export interface ImportAdminQuotaPoliciesResponseAminoMsg { - type: "/google.api.serviceusage.v1beta1.ImportAdminQuotaPoliciesResponse"; - value: ImportAdminQuotaPoliciesResponseAmino; -} -/** Response message for ImportAdminQuotaPolicies */ -export interface ImportAdminQuotaPoliciesResponseSDKType { - policies: AdminQuotaPolicySDKType[]; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by ImportAdminQuotaPolicies. - */ -export interface ImportAdminQuotaPoliciesMetadata {} -export interface ImportAdminQuotaPoliciesMetadataProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminQuotaPoliciesMetadata"; - value: Uint8Array; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by ImportAdminQuotaPolicies. - */ -export interface ImportAdminQuotaPoliciesMetadataAmino {} -export interface ImportAdminQuotaPoliciesMetadataAminoMsg { - type: "/google.api.serviceusage.v1beta1.ImportAdminQuotaPoliciesMetadata"; - value: ImportAdminQuotaPoliciesMetadataAmino; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by ImportAdminQuotaPolicies. - */ -export interface ImportAdminQuotaPoliciesMetadataSDKType {} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by CreateAdminQuotaPolicy. - */ -export interface CreateAdminQuotaPolicyMetadata {} -export interface CreateAdminQuotaPolicyMetadataProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.CreateAdminQuotaPolicyMetadata"; - value: Uint8Array; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by CreateAdminQuotaPolicy. - */ -export interface CreateAdminQuotaPolicyMetadataAmino {} -export interface CreateAdminQuotaPolicyMetadataAminoMsg { - type: "/google.api.serviceusage.v1beta1.CreateAdminQuotaPolicyMetadata"; - value: CreateAdminQuotaPolicyMetadataAmino; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by CreateAdminQuotaPolicy. - */ -export interface CreateAdminQuotaPolicyMetadataSDKType {} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by UpdateAdminQuotaPolicy. - */ -export interface UpdateAdminQuotaPolicyMetadata {} -export interface UpdateAdminQuotaPolicyMetadataProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.UpdateAdminQuotaPolicyMetadata"; - value: Uint8Array; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by UpdateAdminQuotaPolicy. - */ -export interface UpdateAdminQuotaPolicyMetadataAmino {} -export interface UpdateAdminQuotaPolicyMetadataAminoMsg { - type: "/google.api.serviceusage.v1beta1.UpdateAdminQuotaPolicyMetadata"; - value: UpdateAdminQuotaPolicyMetadataAmino; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by UpdateAdminQuotaPolicy. - */ -export interface UpdateAdminQuotaPolicyMetadataSDKType {} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by DeleteAdminQuotaPolicy. - */ -export interface DeleteAdminQuotaPolicyMetadata {} -export interface DeleteAdminQuotaPolicyMetadataProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.DeleteAdminQuotaPolicyMetadata"; - value: Uint8Array; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by DeleteAdminQuotaPolicy. - */ -export interface DeleteAdminQuotaPolicyMetadataAmino {} -export interface DeleteAdminQuotaPolicyMetadataAminoMsg { - type: "/google.api.serviceusage.v1beta1.DeleteAdminQuotaPolicyMetadata"; - value: DeleteAdminQuotaPolicyMetadataAmino; -} -/** - * Metadata message that provides information such as progress, - * partial failures, and similar information on each GetOperation call - * of LRO returned by DeleteAdminQuotaPolicy. - */ -export interface DeleteAdminQuotaPolicyMetadataSDKType {} -/** Request message for generating service identity. */ -export interface GenerateServiceIdentityRequest { - /** - * Name of the consumer and service to generate an identity for. - * - * The `GenerateServiceIdentity` methods currently only support projects. - * - * An example name would be: - * `projects/123/services/example.googleapis.com` where `123` is the - * project number. - */ - parent: string; -} -export interface GenerateServiceIdentityRequestProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.GenerateServiceIdentityRequest"; - value: Uint8Array; -} -/** Request message for generating service identity. */ -export interface GenerateServiceIdentityRequestAmino { - /** - * Name of the consumer and service to generate an identity for. - * - * The `GenerateServiceIdentity` methods currently only support projects. - * - * An example name would be: - * `projects/123/services/example.googleapis.com` where `123` is the - * project number. - */ - parent: string; -} -export interface GenerateServiceIdentityRequestAminoMsg { - type: "/google.api.serviceusage.v1beta1.GenerateServiceIdentityRequest"; - value: GenerateServiceIdentityRequestAmino; -} -/** Request message for generating service identity. */ -export interface GenerateServiceIdentityRequestSDKType { - parent: string; -} -/** Response message for getting service identity. */ -export interface GetServiceIdentityResponse { - /** - * Service identity that service producer can use to access consumer - * resources. If exists is true, it contains email and unique_id. If exists is - * false, it contains pre-constructed email and empty unique_id. - */ - identity: ServiceIdentity; - /** Service identity state. */ - state: GetServiceIdentityResponse_IdentityState; -} -export interface GetServiceIdentityResponseProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.GetServiceIdentityResponse"; - value: Uint8Array; -} -/** Response message for getting service identity. */ -export interface GetServiceIdentityResponseAmino { - /** - * Service identity that service producer can use to access consumer - * resources. If exists is true, it contains email and unique_id. If exists is - * false, it contains pre-constructed email and empty unique_id. - */ - identity?: ServiceIdentityAmino; - /** Service identity state. */ - state: GetServiceIdentityResponse_IdentityState; -} -export interface GetServiceIdentityResponseAminoMsg { - type: "/google.api.serviceusage.v1beta1.GetServiceIdentityResponse"; - value: GetServiceIdentityResponseAmino; -} -/** Response message for getting service identity. */ -export interface GetServiceIdentityResponseSDKType { - identity: ServiceIdentitySDKType; - state: GetServiceIdentityResponse_IdentityState; -} -/** Metadata for the `GetServiceIdentity` method. */ -export interface GetServiceIdentityMetadata {} -export interface GetServiceIdentityMetadataProtoMsg { - typeUrl: "/google.api.serviceusage.v1beta1.GetServiceIdentityMetadata"; - value: Uint8Array; -} -/** Metadata for the `GetServiceIdentity` method. */ -export interface GetServiceIdentityMetadataAmino {} -export interface GetServiceIdentityMetadataAminoMsg { - type: "/google.api.serviceusage.v1beta1.GetServiceIdentityMetadata"; - value: GetServiceIdentityMetadataAmino; -} -/** Metadata for the `GetServiceIdentity` method. */ -export interface GetServiceIdentityMetadataSDKType {} -function createBaseEnableServiceRequest(): EnableServiceRequest { - return { - name: "" - }; -} -export const EnableServiceRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.EnableServiceRequest", - encode(message: EnableServiceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EnableServiceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnableServiceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EnableServiceRequest { - const obj = createBaseEnableServiceRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: EnableServiceRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): EnableServiceRequest { - const message = createBaseEnableServiceRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: EnableServiceRequestSDKType): EnableServiceRequest { - return { - name: object?.name - }; - }, - toSDK(message: EnableServiceRequest): EnableServiceRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: EnableServiceRequestAmino): EnableServiceRequest { - return { - name: object.name - }; - }, - toAmino(message: EnableServiceRequest): EnableServiceRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: EnableServiceRequestAminoMsg): EnableServiceRequest { - return EnableServiceRequest.fromAmino(object.value); - }, - fromProtoMsg(message: EnableServiceRequestProtoMsg): EnableServiceRequest { - return EnableServiceRequest.decode(message.value); - }, - toProto(message: EnableServiceRequest): Uint8Array { - return EnableServiceRequest.encode(message).finish(); - }, - toProtoMsg(message: EnableServiceRequest): EnableServiceRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.EnableServiceRequest", - value: EnableServiceRequest.encode(message).finish() - }; - } -}; -function createBaseDisableServiceRequest(): DisableServiceRequest { - return { - name: "" - }; -} -export const DisableServiceRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.DisableServiceRequest", - encode(message: DisableServiceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DisableServiceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDisableServiceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DisableServiceRequest { - const obj = createBaseDisableServiceRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: DisableServiceRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): DisableServiceRequest { - const message = createBaseDisableServiceRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: DisableServiceRequestSDKType): DisableServiceRequest { - return { - name: object?.name - }; - }, - toSDK(message: DisableServiceRequest): DisableServiceRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: DisableServiceRequestAmino): DisableServiceRequest { - return { - name: object.name - }; - }, - toAmino(message: DisableServiceRequest): DisableServiceRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: DisableServiceRequestAminoMsg): DisableServiceRequest { - return DisableServiceRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DisableServiceRequestProtoMsg): DisableServiceRequest { - return DisableServiceRequest.decode(message.value); - }, - toProto(message: DisableServiceRequest): Uint8Array { - return DisableServiceRequest.encode(message).finish(); - }, - toProtoMsg(message: DisableServiceRequest): DisableServiceRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.DisableServiceRequest", - value: DisableServiceRequest.encode(message).finish() - }; - } -}; -function createBaseGetServiceRequest(): GetServiceRequest { - return { - name: "" - }; -} -export const GetServiceRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.GetServiceRequest", - encode(message: GetServiceRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetServiceRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetServiceRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetServiceRequest { - const obj = createBaseGetServiceRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: GetServiceRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): GetServiceRequest { - const message = createBaseGetServiceRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: GetServiceRequestSDKType): GetServiceRequest { - return { - name: object?.name - }; - }, - toSDK(message: GetServiceRequest): GetServiceRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: GetServiceRequestAmino): GetServiceRequest { - return { - name: object.name - }; - }, - toAmino(message: GetServiceRequest): GetServiceRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: GetServiceRequestAminoMsg): GetServiceRequest { - return GetServiceRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetServiceRequestProtoMsg): GetServiceRequest { - return GetServiceRequest.decode(message.value); - }, - toProto(message: GetServiceRequest): Uint8Array { - return GetServiceRequest.encode(message).finish(); - }, - toProtoMsg(message: GetServiceRequest): GetServiceRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.GetServiceRequest", - value: GetServiceRequest.encode(message).finish() - }; - } -}; -function createBaseListServicesRequest(): ListServicesRequest { - return { - parent: "", - pageSize: 0, - pageToken: "", - filter: "" - }; -} -export const ListServicesRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.ListServicesRequest", - encode(message: ListServicesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.pageSize !== 0) { - writer.uint32(16).int32(message.pageSize); - } - if (message.pageToken !== "") { - writer.uint32(26).string(message.pageToken); - } - if (message.filter !== "") { - writer.uint32(34).string(message.filter); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListServicesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListServicesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.filter = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListServicesRequest { - const obj = createBaseListServicesRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (isSet(object.filter)) obj.filter = String(object.filter); - return obj; - }, - toJSON(message: ListServicesRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - message.filter !== undefined && (obj.filter = message.filter); - return obj; - }, - fromPartial(object: DeepPartial): ListServicesRequest { - const message = createBaseListServicesRequest(); - message.parent = object.parent ?? ""; - message.pageSize = object.pageSize ?? 0; - message.pageToken = object.pageToken ?? ""; - message.filter = object.filter ?? ""; - return message; - }, - fromSDK(object: ListServicesRequestSDKType): ListServicesRequest { - return { - parent: object?.parent, - pageSize: object?.page_size, - pageToken: object?.page_token, - filter: object?.filter - }; - }, - toSDK(message: ListServicesRequest): ListServicesRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - obj.filter = message.filter; - return obj; - }, - fromAmino(object: ListServicesRequestAmino): ListServicesRequest { - return { - parent: object.parent, - pageSize: object.page_size, - pageToken: object.page_token, - filter: object.filter - }; - }, - toAmino(message: ListServicesRequest): ListServicesRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - obj.filter = message.filter; - return obj; - }, - fromAminoMsg(object: ListServicesRequestAminoMsg): ListServicesRequest { - return ListServicesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListServicesRequestProtoMsg): ListServicesRequest { - return ListServicesRequest.decode(message.value); - }, - toProto(message: ListServicesRequest): Uint8Array { - return ListServicesRequest.encode(message).finish(); - }, - toProtoMsg(message: ListServicesRequest): ListServicesRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ListServicesRequest", - value: ListServicesRequest.encode(message).finish() - }; - } -}; -function createBaseListServicesResponse(): ListServicesResponse { - return { - services: [], - nextPageToken: "" - }; -} -export const ListServicesResponse = { - typeUrl: "/google.api.serviceusage.v1beta1.ListServicesResponse", - encode(message: ListServicesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.services) { - Service.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListServicesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListServicesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.services.push(Service.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListServicesResponse { - const obj = createBaseListServicesResponse(); - if (Array.isArray(object?.services)) obj.services = object.services.map((e: any) => Service.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListServicesResponse): unknown { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toJSON(e) : undefined); - } else { - obj.services = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListServicesResponse { - const message = createBaseListServicesResponse(); - message.services = object.services?.map(e => Service.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListServicesResponseSDKType): ListServicesResponse { - return { - services: Array.isArray(object?.services) ? object.services.map((e: any) => Service.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListServicesResponse): ListServicesResponseSDKType { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toSDK(e) : undefined); - } else { - obj.services = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListServicesResponseAmino): ListServicesResponse { - return { - services: Array.isArray(object?.services) ? object.services.map((e: any) => Service.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListServicesResponse): ListServicesResponseAmino { - const obj: any = {}; - if (message.services) { - obj.services = message.services.map(e => e ? Service.toAmino(e) : undefined); - } else { - obj.services = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListServicesResponseAminoMsg): ListServicesResponse { - return ListServicesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListServicesResponseProtoMsg): ListServicesResponse { - return ListServicesResponse.decode(message.value); - }, - toProto(message: ListServicesResponse): Uint8Array { - return ListServicesResponse.encode(message).finish(); - }, - toProtoMsg(message: ListServicesResponse): ListServicesResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ListServicesResponse", - value: ListServicesResponse.encode(message).finish() - }; - } -}; -function createBaseBatchEnableServicesRequest(): BatchEnableServicesRequest { - return { - parent: "", - serviceIds: [] - }; -} -export const BatchEnableServicesRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.BatchEnableServicesRequest", - encode(message: BatchEnableServicesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - for (const v of message.serviceIds) { - writer.uint32(18).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BatchEnableServicesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchEnableServicesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.serviceIds.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BatchEnableServicesRequest { - const obj = createBaseBatchEnableServicesRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (Array.isArray(object?.serviceIds)) obj.serviceIds = object.serviceIds.map((e: any) => String(e)); - return obj; - }, - toJSON(message: BatchEnableServicesRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - if (message.serviceIds) { - obj.serviceIds = message.serviceIds.map(e => e); - } else { - obj.serviceIds = []; - } - return obj; - }, - fromPartial(object: DeepPartial): BatchEnableServicesRequest { - const message = createBaseBatchEnableServicesRequest(); - message.parent = object.parent ?? ""; - message.serviceIds = object.serviceIds?.map(e => e) || []; - return message; - }, - fromSDK(object: BatchEnableServicesRequestSDKType): BatchEnableServicesRequest { - return { - parent: object?.parent, - serviceIds: Array.isArray(object?.service_ids) ? object.service_ids.map((e: any) => e) : [] - }; - }, - toSDK(message: BatchEnableServicesRequest): BatchEnableServicesRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - if (message.serviceIds) { - obj.service_ids = message.serviceIds.map(e => e); - } else { - obj.service_ids = []; - } - return obj; - }, - fromAmino(object: BatchEnableServicesRequestAmino): BatchEnableServicesRequest { - return { - parent: object.parent, - serviceIds: Array.isArray(object?.service_ids) ? object.service_ids.map((e: any) => e) : [] - }; - }, - toAmino(message: BatchEnableServicesRequest): BatchEnableServicesRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - if (message.serviceIds) { - obj.service_ids = message.serviceIds.map(e => e); - } else { - obj.service_ids = []; - } - return obj; - }, - fromAminoMsg(object: BatchEnableServicesRequestAminoMsg): BatchEnableServicesRequest { - return BatchEnableServicesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: BatchEnableServicesRequestProtoMsg): BatchEnableServicesRequest { - return BatchEnableServicesRequest.decode(message.value); - }, - toProto(message: BatchEnableServicesRequest): Uint8Array { - return BatchEnableServicesRequest.encode(message).finish(); - }, - toProtoMsg(message: BatchEnableServicesRequest): BatchEnableServicesRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.BatchEnableServicesRequest", - value: BatchEnableServicesRequest.encode(message).finish() - }; - } -}; -function createBaseListConsumerQuotaMetricsRequest(): ListConsumerQuotaMetricsRequest { - return { - parent: "", - pageSize: 0, - pageToken: "", - view: 0 - }; -} -export const ListConsumerQuotaMetricsRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsRequest", - encode(message: ListConsumerQuotaMetricsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.pageSize !== 0) { - writer.uint32(16).int32(message.pageSize); - } - if (message.pageToken !== "") { - writer.uint32(26).string(message.pageToken); - } - if (message.view !== 0) { - writer.uint32(32).int32(message.view); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListConsumerQuotaMetricsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListConsumerQuotaMetricsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 4: - message.view = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListConsumerQuotaMetricsRequest { - const obj = createBaseListConsumerQuotaMetricsRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (isSet(object.view)) obj.view = quotaViewFromJSON(object.view); - return obj; - }, - toJSON(message: ListConsumerQuotaMetricsRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - message.view !== undefined && (obj.view = quotaViewToJSON(message.view)); - return obj; - }, - fromPartial(object: DeepPartial): ListConsumerQuotaMetricsRequest { - const message = createBaseListConsumerQuotaMetricsRequest(); - message.parent = object.parent ?? ""; - message.pageSize = object.pageSize ?? 0; - message.pageToken = object.pageToken ?? ""; - message.view = object.view ?? 0; - return message; - }, - fromSDK(object: ListConsumerQuotaMetricsRequestSDKType): ListConsumerQuotaMetricsRequest { - return { - parent: object?.parent, - pageSize: object?.page_size, - pageToken: object?.page_token, - view: isSet(object.view) ? quotaViewFromJSON(object.view) : -1 - }; - }, - toSDK(message: ListConsumerQuotaMetricsRequest): ListConsumerQuotaMetricsRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - message.view !== undefined && (obj.view = quotaViewToJSON(message.view)); - return obj; - }, - fromAmino(object: ListConsumerQuotaMetricsRequestAmino): ListConsumerQuotaMetricsRequest { - return { - parent: object.parent, - pageSize: object.page_size, - pageToken: object.page_token, - view: isSet(object.view) ? quotaViewFromJSON(object.view) : -1 - }; - }, - toAmino(message: ListConsumerQuotaMetricsRequest): ListConsumerQuotaMetricsRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - obj.view = message.view; - return obj; - }, - fromAminoMsg(object: ListConsumerQuotaMetricsRequestAminoMsg): ListConsumerQuotaMetricsRequest { - return ListConsumerQuotaMetricsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListConsumerQuotaMetricsRequestProtoMsg): ListConsumerQuotaMetricsRequest { - return ListConsumerQuotaMetricsRequest.decode(message.value); - }, - toProto(message: ListConsumerQuotaMetricsRequest): Uint8Array { - return ListConsumerQuotaMetricsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListConsumerQuotaMetricsRequest): ListConsumerQuotaMetricsRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsRequest", - value: ListConsumerQuotaMetricsRequest.encode(message).finish() - }; - } -}; -function createBaseListConsumerQuotaMetricsResponse(): ListConsumerQuotaMetricsResponse { - return { - metrics: [], - nextPageToken: "" - }; -} -export const ListConsumerQuotaMetricsResponse = { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsResponse", - encode(message: ListConsumerQuotaMetricsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.metrics) { - ConsumerQuotaMetric.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListConsumerQuotaMetricsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListConsumerQuotaMetricsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.metrics.push(ConsumerQuotaMetric.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListConsumerQuotaMetricsResponse { - const obj = createBaseListConsumerQuotaMetricsResponse(); - if (Array.isArray(object?.metrics)) obj.metrics = object.metrics.map((e: any) => ConsumerQuotaMetric.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListConsumerQuotaMetricsResponse): unknown { - const obj: any = {}; - if (message.metrics) { - obj.metrics = message.metrics.map(e => e ? ConsumerQuotaMetric.toJSON(e) : undefined); - } else { - obj.metrics = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListConsumerQuotaMetricsResponse { - const message = createBaseListConsumerQuotaMetricsResponse(); - message.metrics = object.metrics?.map(e => ConsumerQuotaMetric.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListConsumerQuotaMetricsResponseSDKType): ListConsumerQuotaMetricsResponse { - return { - metrics: Array.isArray(object?.metrics) ? object.metrics.map((e: any) => ConsumerQuotaMetric.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListConsumerQuotaMetricsResponse): ListConsumerQuotaMetricsResponseSDKType { - const obj: any = {}; - if (message.metrics) { - obj.metrics = message.metrics.map(e => e ? ConsumerQuotaMetric.toSDK(e) : undefined); - } else { - obj.metrics = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListConsumerQuotaMetricsResponseAmino): ListConsumerQuotaMetricsResponse { - return { - metrics: Array.isArray(object?.metrics) ? object.metrics.map((e: any) => ConsumerQuotaMetric.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListConsumerQuotaMetricsResponse): ListConsumerQuotaMetricsResponseAmino { - const obj: any = {}; - if (message.metrics) { - obj.metrics = message.metrics.map(e => e ? ConsumerQuotaMetric.toAmino(e) : undefined); - } else { - obj.metrics = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListConsumerQuotaMetricsResponseAminoMsg): ListConsumerQuotaMetricsResponse { - return ListConsumerQuotaMetricsResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListConsumerQuotaMetricsResponseProtoMsg): ListConsumerQuotaMetricsResponse { - return ListConsumerQuotaMetricsResponse.decode(message.value); - }, - toProto(message: ListConsumerQuotaMetricsResponse): Uint8Array { - return ListConsumerQuotaMetricsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListConsumerQuotaMetricsResponse): ListConsumerQuotaMetricsResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsResponse", - value: ListConsumerQuotaMetricsResponse.encode(message).finish() - }; - } -}; -function createBaseGetConsumerQuotaMetricRequest(): GetConsumerQuotaMetricRequest { - return { - name: "", - view: 0 - }; -} -export const GetConsumerQuotaMetricRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.GetConsumerQuotaMetricRequest", - encode(message: GetConsumerQuotaMetricRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.view !== 0) { - writer.uint32(16).int32(message.view); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetConsumerQuotaMetricRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetConsumerQuotaMetricRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.view = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetConsumerQuotaMetricRequest { - const obj = createBaseGetConsumerQuotaMetricRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.view)) obj.view = quotaViewFromJSON(object.view); - return obj; - }, - toJSON(message: GetConsumerQuotaMetricRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.view !== undefined && (obj.view = quotaViewToJSON(message.view)); - return obj; - }, - fromPartial(object: DeepPartial): GetConsumerQuotaMetricRequest { - const message = createBaseGetConsumerQuotaMetricRequest(); - message.name = object.name ?? ""; - message.view = object.view ?? 0; - return message; - }, - fromSDK(object: GetConsumerQuotaMetricRequestSDKType): GetConsumerQuotaMetricRequest { - return { - name: object?.name, - view: isSet(object.view) ? quotaViewFromJSON(object.view) : -1 - }; - }, - toSDK(message: GetConsumerQuotaMetricRequest): GetConsumerQuotaMetricRequestSDKType { - const obj: any = {}; - obj.name = message.name; - message.view !== undefined && (obj.view = quotaViewToJSON(message.view)); - return obj; - }, - fromAmino(object: GetConsumerQuotaMetricRequestAmino): GetConsumerQuotaMetricRequest { - return { - name: object.name, - view: isSet(object.view) ? quotaViewFromJSON(object.view) : -1 - }; - }, - toAmino(message: GetConsumerQuotaMetricRequest): GetConsumerQuotaMetricRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.view = message.view; - return obj; - }, - fromAminoMsg(object: GetConsumerQuotaMetricRequestAminoMsg): GetConsumerQuotaMetricRequest { - return GetConsumerQuotaMetricRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetConsumerQuotaMetricRequestProtoMsg): GetConsumerQuotaMetricRequest { - return GetConsumerQuotaMetricRequest.decode(message.value); - }, - toProto(message: GetConsumerQuotaMetricRequest): Uint8Array { - return GetConsumerQuotaMetricRequest.encode(message).finish(); - }, - toProtoMsg(message: GetConsumerQuotaMetricRequest): GetConsumerQuotaMetricRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.GetConsumerQuotaMetricRequest", - value: GetConsumerQuotaMetricRequest.encode(message).finish() - }; - } -}; -function createBaseGetConsumerQuotaLimitRequest(): GetConsumerQuotaLimitRequest { - return { - name: "", - view: 0 - }; -} -export const GetConsumerQuotaLimitRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.GetConsumerQuotaLimitRequest", - encode(message: GetConsumerQuotaLimitRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.view !== 0) { - writer.uint32(16).int32(message.view); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetConsumerQuotaLimitRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetConsumerQuotaLimitRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.view = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetConsumerQuotaLimitRequest { - const obj = createBaseGetConsumerQuotaLimitRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.view)) obj.view = quotaViewFromJSON(object.view); - return obj; - }, - toJSON(message: GetConsumerQuotaLimitRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.view !== undefined && (obj.view = quotaViewToJSON(message.view)); - return obj; - }, - fromPartial(object: DeepPartial): GetConsumerQuotaLimitRequest { - const message = createBaseGetConsumerQuotaLimitRequest(); - message.name = object.name ?? ""; - message.view = object.view ?? 0; - return message; - }, - fromSDK(object: GetConsumerQuotaLimitRequestSDKType): GetConsumerQuotaLimitRequest { - return { - name: object?.name, - view: isSet(object.view) ? quotaViewFromJSON(object.view) : -1 - }; - }, - toSDK(message: GetConsumerQuotaLimitRequest): GetConsumerQuotaLimitRequestSDKType { - const obj: any = {}; - obj.name = message.name; - message.view !== undefined && (obj.view = quotaViewToJSON(message.view)); - return obj; - }, - fromAmino(object: GetConsumerQuotaLimitRequestAmino): GetConsumerQuotaLimitRequest { - return { - name: object.name, - view: isSet(object.view) ? quotaViewFromJSON(object.view) : -1 - }; - }, - toAmino(message: GetConsumerQuotaLimitRequest): GetConsumerQuotaLimitRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.view = message.view; - return obj; - }, - fromAminoMsg(object: GetConsumerQuotaLimitRequestAminoMsg): GetConsumerQuotaLimitRequest { - return GetConsumerQuotaLimitRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetConsumerQuotaLimitRequestProtoMsg): GetConsumerQuotaLimitRequest { - return GetConsumerQuotaLimitRequest.decode(message.value); - }, - toProto(message: GetConsumerQuotaLimitRequest): Uint8Array { - return GetConsumerQuotaLimitRequest.encode(message).finish(); - }, - toProtoMsg(message: GetConsumerQuotaLimitRequest): GetConsumerQuotaLimitRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.GetConsumerQuotaLimitRequest", - value: GetConsumerQuotaLimitRequest.encode(message).finish() - }; - } -}; -function createBaseCreateAdminOverrideRequest(): CreateAdminOverrideRequest { - return { - parent: "", - override: QuotaOverride.fromPartial({}), - force: false, - forceOnly: [] - }; -} -export const CreateAdminOverrideRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.CreateAdminOverrideRequest", - encode(message: CreateAdminOverrideRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.override !== undefined) { - QuotaOverride.encode(message.override, writer.uint32(18).fork()).ldelim(); - } - if (message.force === true) { - writer.uint32(24).bool(message.force); - } - writer.uint32(34).fork(); - for (const v of message.forceOnly) { - writer.int32(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CreateAdminOverrideRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCreateAdminOverrideRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.override = QuotaOverride.decode(reader, reader.uint32()); - break; - case 3: - message.force = reader.bool(); - break; - case 4: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.forceOnly.push((reader.int32() as any)); - } - } else { - message.forceOnly.push((reader.int32() as any)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CreateAdminOverrideRequest { - const obj = createBaseCreateAdminOverrideRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.override)) obj.override = QuotaOverride.fromJSON(object.override); - if (isSet(object.force)) obj.force = Boolean(object.force); - if (Array.isArray(object?.forceOnly)) obj.forceOnly = object.forceOnly.map((e: any) => quotaSafetyCheckFromJSON(e)); - return obj; - }, - toJSON(message: CreateAdminOverrideRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.override !== undefined && (obj.override = message.override ? QuotaOverride.toJSON(message.override) : undefined); - message.force !== undefined && (obj.force = message.force); - if (message.forceOnly) { - obj.forceOnly = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.forceOnly = []; - } - return obj; - }, - fromPartial(object: DeepPartial): CreateAdminOverrideRequest { - const message = createBaseCreateAdminOverrideRequest(); - message.parent = object.parent ?? ""; - if (object.override !== undefined && object.override !== null) { - message.override = QuotaOverride.fromPartial(object.override); - } - message.force = object.force ?? false; - message.forceOnly = object.forceOnly?.map(e => e) || []; - return message; - }, - fromSDK(object: CreateAdminOverrideRequestSDKType): CreateAdminOverrideRequest { - return { - parent: object?.parent, - override: object.override ? QuotaOverride.fromSDK(object.override) : undefined, - force: object?.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toSDK(message: CreateAdminOverrideRequest): CreateAdminOverrideRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - message.override !== undefined && (obj.override = message.override ? QuotaOverride.toSDK(message.override) : undefined); - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAmino(object: CreateAdminOverrideRequestAmino): CreateAdminOverrideRequest { - return { - parent: object.parent, - override: object?.override ? QuotaOverride.fromAmino(object.override) : undefined, - force: object.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toAmino(message: CreateAdminOverrideRequest): CreateAdminOverrideRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.override = message.override ? QuotaOverride.toAmino(message.override) : undefined; - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAminoMsg(object: CreateAdminOverrideRequestAminoMsg): CreateAdminOverrideRequest { - return CreateAdminOverrideRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CreateAdminOverrideRequestProtoMsg): CreateAdminOverrideRequest { - return CreateAdminOverrideRequest.decode(message.value); - }, - toProto(message: CreateAdminOverrideRequest): Uint8Array { - return CreateAdminOverrideRequest.encode(message).finish(); - }, - toProtoMsg(message: CreateAdminOverrideRequest): CreateAdminOverrideRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.CreateAdminOverrideRequest", - value: CreateAdminOverrideRequest.encode(message).finish() - }; - } -}; -function createBaseUpdateAdminOverrideRequest(): UpdateAdminOverrideRequest { - return { - name: "", - override: QuotaOverride.fromPartial({}), - force: false, - updateMask: FieldMask.fromPartial({}), - forceOnly: [] - }; -} -export const UpdateAdminOverrideRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.UpdateAdminOverrideRequest", - encode(message: UpdateAdminOverrideRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.override !== undefined) { - QuotaOverride.encode(message.override, writer.uint32(18).fork()).ldelim(); - } - if (message.force === true) { - writer.uint32(24).bool(message.force); - } - if (message.updateMask !== undefined) { - FieldMask.encode(message.updateMask, writer.uint32(34).fork()).ldelim(); - } - writer.uint32(42).fork(); - for (const v of message.forceOnly) { - writer.int32(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAdminOverrideRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateAdminOverrideRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.override = QuotaOverride.decode(reader, reader.uint32()); - break; - case 3: - message.force = reader.bool(); - break; - case 4: - message.updateMask = FieldMask.decode(reader, reader.uint32()); - break; - case 5: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.forceOnly.push((reader.int32() as any)); - } - } else { - message.forceOnly.push((reader.int32() as any)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UpdateAdminOverrideRequest { - const obj = createBaseUpdateAdminOverrideRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.override)) obj.override = QuotaOverride.fromJSON(object.override); - if (isSet(object.force)) obj.force = Boolean(object.force); - if (isSet(object.updateMask)) obj.updateMask = FieldMask.fromJSON(object.updateMask); - if (Array.isArray(object?.forceOnly)) obj.forceOnly = object.forceOnly.map((e: any) => quotaSafetyCheckFromJSON(e)); - return obj; - }, - toJSON(message: UpdateAdminOverrideRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.override !== undefined && (obj.override = message.override ? QuotaOverride.toJSON(message.override) : undefined); - message.force !== undefined && (obj.force = message.force); - message.updateMask !== undefined && (obj.updateMask = message.updateMask ? FieldMask.toJSON(message.updateMask) : undefined); - if (message.forceOnly) { - obj.forceOnly = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.forceOnly = []; - } - return obj; - }, - fromPartial(object: DeepPartial): UpdateAdminOverrideRequest { - const message = createBaseUpdateAdminOverrideRequest(); - message.name = object.name ?? ""; - if (object.override !== undefined && object.override !== null) { - message.override = QuotaOverride.fromPartial(object.override); - } - message.force = object.force ?? false; - if (object.updateMask !== undefined && object.updateMask !== null) { - message.updateMask = FieldMask.fromPartial(object.updateMask); - } - message.forceOnly = object.forceOnly?.map(e => e) || []; - return message; - }, - fromSDK(object: UpdateAdminOverrideRequestSDKType): UpdateAdminOverrideRequest { - return { - name: object?.name, - override: object.override ? QuotaOverride.fromSDK(object.override) : undefined, - force: object?.force, - updateMask: object.update_mask ? FieldMask.fromSDK(object.update_mask) : undefined, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toSDK(message: UpdateAdminOverrideRequest): UpdateAdminOverrideRequestSDKType { - const obj: any = {}; - obj.name = message.name; - message.override !== undefined && (obj.override = message.override ? QuotaOverride.toSDK(message.override) : undefined); - obj.force = message.force; - message.updateMask !== undefined && (obj.update_mask = message.updateMask ? FieldMask.toSDK(message.updateMask) : undefined); - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAmino(object: UpdateAdminOverrideRequestAmino): UpdateAdminOverrideRequest { - return { - name: object.name, - override: object?.override ? QuotaOverride.fromAmino(object.override) : undefined, - force: object.force, - updateMask: object?.update_mask ? FieldMask.fromAmino(object.update_mask) : undefined, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toAmino(message: UpdateAdminOverrideRequest): UpdateAdminOverrideRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.override = message.override ? QuotaOverride.toAmino(message.override) : undefined; - obj.force = message.force; - obj.update_mask = message.updateMask ? FieldMask.toAmino(message.updateMask) : undefined; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAminoMsg(object: UpdateAdminOverrideRequestAminoMsg): UpdateAdminOverrideRequest { - return UpdateAdminOverrideRequest.fromAmino(object.value); - }, - fromProtoMsg(message: UpdateAdminOverrideRequestProtoMsg): UpdateAdminOverrideRequest { - return UpdateAdminOverrideRequest.decode(message.value); - }, - toProto(message: UpdateAdminOverrideRequest): Uint8Array { - return UpdateAdminOverrideRequest.encode(message).finish(); - }, - toProtoMsg(message: UpdateAdminOverrideRequest): UpdateAdminOverrideRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.UpdateAdminOverrideRequest", - value: UpdateAdminOverrideRequest.encode(message).finish() - }; - } -}; -function createBaseDeleteAdminOverrideRequest(): DeleteAdminOverrideRequest { - return { - name: "", - force: false, - forceOnly: [] - }; -} -export const DeleteAdminOverrideRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.DeleteAdminOverrideRequest", - encode(message: DeleteAdminOverrideRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.force === true) { - writer.uint32(16).bool(message.force); - } - writer.uint32(26).fork(); - for (const v of message.forceOnly) { - writer.int32(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeleteAdminOverrideRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteAdminOverrideRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.force = reader.bool(); - break; - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.forceOnly.push((reader.int32() as any)); - } - } else { - message.forceOnly.push((reader.int32() as any)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DeleteAdminOverrideRequest { - const obj = createBaseDeleteAdminOverrideRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.force)) obj.force = Boolean(object.force); - if (Array.isArray(object?.forceOnly)) obj.forceOnly = object.forceOnly.map((e: any) => quotaSafetyCheckFromJSON(e)); - return obj; - }, - toJSON(message: DeleteAdminOverrideRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.force !== undefined && (obj.force = message.force); - if (message.forceOnly) { - obj.forceOnly = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.forceOnly = []; - } - return obj; - }, - fromPartial(object: DeepPartial): DeleteAdminOverrideRequest { - const message = createBaseDeleteAdminOverrideRequest(); - message.name = object.name ?? ""; - message.force = object.force ?? false; - message.forceOnly = object.forceOnly?.map(e => e) || []; - return message; - }, - fromSDK(object: DeleteAdminOverrideRequestSDKType): DeleteAdminOverrideRequest { - return { - name: object?.name, - force: object?.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toSDK(message: DeleteAdminOverrideRequest): DeleteAdminOverrideRequestSDKType { - const obj: any = {}; - obj.name = message.name; - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAmino(object: DeleteAdminOverrideRequestAmino): DeleteAdminOverrideRequest { - return { - name: object.name, - force: object.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toAmino(message: DeleteAdminOverrideRequest): DeleteAdminOverrideRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAminoMsg(object: DeleteAdminOverrideRequestAminoMsg): DeleteAdminOverrideRequest { - return DeleteAdminOverrideRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DeleteAdminOverrideRequestProtoMsg): DeleteAdminOverrideRequest { - return DeleteAdminOverrideRequest.decode(message.value); - }, - toProto(message: DeleteAdminOverrideRequest): Uint8Array { - return DeleteAdminOverrideRequest.encode(message).finish(); - }, - toProtoMsg(message: DeleteAdminOverrideRequest): DeleteAdminOverrideRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.DeleteAdminOverrideRequest", - value: DeleteAdminOverrideRequest.encode(message).finish() - }; - } -}; -function createBaseListAdminOverridesRequest(): ListAdminOverridesRequest { - return { - parent: "", - pageSize: 0, - pageToken: "" - }; -} -export const ListAdminOverridesRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.ListAdminOverridesRequest", - encode(message: ListAdminOverridesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.pageSize !== 0) { - writer.uint32(16).int32(message.pageSize); - } - if (message.pageToken !== "") { - writer.uint32(26).string(message.pageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListAdminOverridesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListAdminOverridesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListAdminOverridesRequest { - const obj = createBaseListAdminOverridesRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - return obj; - }, - toJSON(message: ListAdminOverridesRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListAdminOverridesRequest { - const message = createBaseListAdminOverridesRequest(); - message.parent = object.parent ?? ""; - message.pageSize = object.pageSize ?? 0; - message.pageToken = object.pageToken ?? ""; - return message; - }, - fromSDK(object: ListAdminOverridesRequestSDKType): ListAdminOverridesRequest { - return { - parent: object?.parent, - pageSize: object?.page_size, - pageToken: object?.page_token - }; - }, - toSDK(message: ListAdminOverridesRequest): ListAdminOverridesRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - return obj; - }, - fromAmino(object: ListAdminOverridesRequestAmino): ListAdminOverridesRequest { - return { - parent: object.parent, - pageSize: object.page_size, - pageToken: object.page_token - }; - }, - toAmino(message: ListAdminOverridesRequest): ListAdminOverridesRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - return obj; - }, - fromAminoMsg(object: ListAdminOverridesRequestAminoMsg): ListAdminOverridesRequest { - return ListAdminOverridesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListAdminOverridesRequestProtoMsg): ListAdminOverridesRequest { - return ListAdminOverridesRequest.decode(message.value); - }, - toProto(message: ListAdminOverridesRequest): Uint8Array { - return ListAdminOverridesRequest.encode(message).finish(); - }, - toProtoMsg(message: ListAdminOverridesRequest): ListAdminOverridesRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ListAdminOverridesRequest", - value: ListAdminOverridesRequest.encode(message).finish() - }; - } -}; -function createBaseListAdminOverridesResponse(): ListAdminOverridesResponse { - return { - overrides: [], - nextPageToken: "" - }; -} -export const ListAdminOverridesResponse = { - typeUrl: "/google.api.serviceusage.v1beta1.ListAdminOverridesResponse", - encode(message: ListAdminOverridesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.overrides) { - QuotaOverride.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListAdminOverridesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListAdminOverridesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.overrides.push(QuotaOverride.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListAdminOverridesResponse { - const obj = createBaseListAdminOverridesResponse(); - if (Array.isArray(object?.overrides)) obj.overrides = object.overrides.map((e: any) => QuotaOverride.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListAdminOverridesResponse): unknown { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toJSON(e) : undefined); - } else { - obj.overrides = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListAdminOverridesResponse { - const message = createBaseListAdminOverridesResponse(); - message.overrides = object.overrides?.map(e => QuotaOverride.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListAdminOverridesResponseSDKType): ListAdminOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListAdminOverridesResponse): ListAdminOverridesResponseSDKType { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toSDK(e) : undefined); - } else { - obj.overrides = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListAdminOverridesResponseAmino): ListAdminOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListAdminOverridesResponse): ListAdminOverridesResponseAmino { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toAmino(e) : undefined); - } else { - obj.overrides = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListAdminOverridesResponseAminoMsg): ListAdminOverridesResponse { - return ListAdminOverridesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListAdminOverridesResponseProtoMsg): ListAdminOverridesResponse { - return ListAdminOverridesResponse.decode(message.value); - }, - toProto(message: ListAdminOverridesResponse): Uint8Array { - return ListAdminOverridesResponse.encode(message).finish(); - }, - toProtoMsg(message: ListAdminOverridesResponse): ListAdminOverridesResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ListAdminOverridesResponse", - value: ListAdminOverridesResponse.encode(message).finish() - }; - } -}; -function createBaseBatchCreateAdminOverridesResponse(): BatchCreateAdminOverridesResponse { - return { - overrides: [] - }; -} -export const BatchCreateAdminOverridesResponse = { - typeUrl: "/google.api.serviceusage.v1beta1.BatchCreateAdminOverridesResponse", - encode(message: BatchCreateAdminOverridesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.overrides) { - QuotaOverride.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BatchCreateAdminOverridesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchCreateAdminOverridesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.overrides.push(QuotaOverride.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BatchCreateAdminOverridesResponse { - const obj = createBaseBatchCreateAdminOverridesResponse(); - if (Array.isArray(object?.overrides)) obj.overrides = object.overrides.map((e: any) => QuotaOverride.fromJSON(e)); - return obj; - }, - toJSON(message: BatchCreateAdminOverridesResponse): unknown { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toJSON(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromPartial(object: DeepPartial): BatchCreateAdminOverridesResponse { - const message = createBaseBatchCreateAdminOverridesResponse(); - message.overrides = object.overrides?.map(e => QuotaOverride.fromPartial(e)) || []; - return message; - }, - fromSDK(object: BatchCreateAdminOverridesResponseSDKType): BatchCreateAdminOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromSDK(e)) : [] - }; - }, - toSDK(message: BatchCreateAdminOverridesResponse): BatchCreateAdminOverridesResponseSDKType { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toSDK(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromAmino(object: BatchCreateAdminOverridesResponseAmino): BatchCreateAdminOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromAmino(e)) : [] - }; - }, - toAmino(message: BatchCreateAdminOverridesResponse): BatchCreateAdminOverridesResponseAmino { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toAmino(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromAminoMsg(object: BatchCreateAdminOverridesResponseAminoMsg): BatchCreateAdminOverridesResponse { - return BatchCreateAdminOverridesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: BatchCreateAdminOverridesResponseProtoMsg): BatchCreateAdminOverridesResponse { - return BatchCreateAdminOverridesResponse.decode(message.value); - }, - toProto(message: BatchCreateAdminOverridesResponse): Uint8Array { - return BatchCreateAdminOverridesResponse.encode(message).finish(); - }, - toProtoMsg(message: BatchCreateAdminOverridesResponse): BatchCreateAdminOverridesResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.BatchCreateAdminOverridesResponse", - value: BatchCreateAdminOverridesResponse.encode(message).finish() - }; - } -}; -function createBaseImportAdminOverridesRequest(): ImportAdminOverridesRequest { - return { - parent: "", - inlineSource: undefined, - force: false, - forceOnly: [] - }; -} -export const ImportAdminOverridesRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminOverridesRequest", - encode(message: ImportAdminOverridesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.inlineSource !== undefined) { - OverrideInlineSource.encode(message.inlineSource, writer.uint32(18).fork()).ldelim(); - } - if (message.force === true) { - writer.uint32(24).bool(message.force); - } - writer.uint32(34).fork(); - for (const v of message.forceOnly) { - writer.int32(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ImportAdminOverridesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseImportAdminOverridesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.inlineSource = OverrideInlineSource.decode(reader, reader.uint32()); - break; - case 3: - message.force = reader.bool(); - break; - case 4: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.forceOnly.push((reader.int32() as any)); - } - } else { - message.forceOnly.push((reader.int32() as any)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ImportAdminOverridesRequest { - const obj = createBaseImportAdminOverridesRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.inlineSource)) obj.inlineSource = OverrideInlineSource.fromJSON(object.inlineSource); - if (isSet(object.force)) obj.force = Boolean(object.force); - if (Array.isArray(object?.forceOnly)) obj.forceOnly = object.forceOnly.map((e: any) => quotaSafetyCheckFromJSON(e)); - return obj; - }, - toJSON(message: ImportAdminOverridesRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.inlineSource !== undefined && (obj.inlineSource = message.inlineSource ? OverrideInlineSource.toJSON(message.inlineSource) : undefined); - message.force !== undefined && (obj.force = message.force); - if (message.forceOnly) { - obj.forceOnly = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.forceOnly = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ImportAdminOverridesRequest { - const message = createBaseImportAdminOverridesRequest(); - message.parent = object.parent ?? ""; - if (object.inlineSource !== undefined && object.inlineSource !== null) { - message.inlineSource = OverrideInlineSource.fromPartial(object.inlineSource); - } - message.force = object.force ?? false; - message.forceOnly = object.forceOnly?.map(e => e) || []; - return message; - }, - fromSDK(object: ImportAdminOverridesRequestSDKType): ImportAdminOverridesRequest { - return { - parent: object?.parent, - inlineSource: object.inline_source ? OverrideInlineSource.fromSDK(object.inline_source) : undefined, - force: object?.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toSDK(message: ImportAdminOverridesRequest): ImportAdminOverridesRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - message.inlineSource !== undefined && (obj.inline_source = message.inlineSource ? OverrideInlineSource.toSDK(message.inlineSource) : undefined); - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAmino(object: ImportAdminOverridesRequestAmino): ImportAdminOverridesRequest { - return { - parent: object.parent, - inlineSource: object?.inline_source ? OverrideInlineSource.fromAmino(object.inline_source) : undefined, - force: object.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toAmino(message: ImportAdminOverridesRequest): ImportAdminOverridesRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.inline_source = message.inlineSource ? OverrideInlineSource.toAmino(message.inlineSource) : undefined; - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAminoMsg(object: ImportAdminOverridesRequestAminoMsg): ImportAdminOverridesRequest { - return ImportAdminOverridesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ImportAdminOverridesRequestProtoMsg): ImportAdminOverridesRequest { - return ImportAdminOverridesRequest.decode(message.value); - }, - toProto(message: ImportAdminOverridesRequest): Uint8Array { - return ImportAdminOverridesRequest.encode(message).finish(); - }, - toProtoMsg(message: ImportAdminOverridesRequest): ImportAdminOverridesRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminOverridesRequest", - value: ImportAdminOverridesRequest.encode(message).finish() - }; - } -}; -function createBaseImportAdminOverridesResponse(): ImportAdminOverridesResponse { - return { - overrides: [] - }; -} -export const ImportAdminOverridesResponse = { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminOverridesResponse", - encode(message: ImportAdminOverridesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.overrides) { - QuotaOverride.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ImportAdminOverridesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseImportAdminOverridesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.overrides.push(QuotaOverride.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ImportAdminOverridesResponse { - const obj = createBaseImportAdminOverridesResponse(); - if (Array.isArray(object?.overrides)) obj.overrides = object.overrides.map((e: any) => QuotaOverride.fromJSON(e)); - return obj; - }, - toJSON(message: ImportAdminOverridesResponse): unknown { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toJSON(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ImportAdminOverridesResponse { - const message = createBaseImportAdminOverridesResponse(); - message.overrides = object.overrides?.map(e => QuotaOverride.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ImportAdminOverridesResponseSDKType): ImportAdminOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromSDK(e)) : [] - }; - }, - toSDK(message: ImportAdminOverridesResponse): ImportAdminOverridesResponseSDKType { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toSDK(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromAmino(object: ImportAdminOverridesResponseAmino): ImportAdminOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromAmino(e)) : [] - }; - }, - toAmino(message: ImportAdminOverridesResponse): ImportAdminOverridesResponseAmino { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toAmino(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromAminoMsg(object: ImportAdminOverridesResponseAminoMsg): ImportAdminOverridesResponse { - return ImportAdminOverridesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ImportAdminOverridesResponseProtoMsg): ImportAdminOverridesResponse { - return ImportAdminOverridesResponse.decode(message.value); - }, - toProto(message: ImportAdminOverridesResponse): Uint8Array { - return ImportAdminOverridesResponse.encode(message).finish(); - }, - toProtoMsg(message: ImportAdminOverridesResponse): ImportAdminOverridesResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminOverridesResponse", - value: ImportAdminOverridesResponse.encode(message).finish() - }; - } -}; -function createBaseImportAdminOverridesMetadata(): ImportAdminOverridesMetadata { - return {}; -} -export const ImportAdminOverridesMetadata = { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminOverridesMetadata", - encode(_: ImportAdminOverridesMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ImportAdminOverridesMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseImportAdminOverridesMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): ImportAdminOverridesMetadata { - const obj = createBaseImportAdminOverridesMetadata(); - return obj; - }, - toJSON(_: ImportAdminOverridesMetadata): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): ImportAdminOverridesMetadata { - const message = createBaseImportAdminOverridesMetadata(); - return message; - }, - fromSDK(_: ImportAdminOverridesMetadataSDKType): ImportAdminOverridesMetadata { - return {}; - }, - toSDK(_: ImportAdminOverridesMetadata): ImportAdminOverridesMetadataSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: ImportAdminOverridesMetadataAmino): ImportAdminOverridesMetadata { - return {}; - }, - toAmino(_: ImportAdminOverridesMetadata): ImportAdminOverridesMetadataAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: ImportAdminOverridesMetadataAminoMsg): ImportAdminOverridesMetadata { - return ImportAdminOverridesMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: ImportAdminOverridesMetadataProtoMsg): ImportAdminOverridesMetadata { - return ImportAdminOverridesMetadata.decode(message.value); - }, - toProto(message: ImportAdminOverridesMetadata): Uint8Array { - return ImportAdminOverridesMetadata.encode(message).finish(); - }, - toProtoMsg(message: ImportAdminOverridesMetadata): ImportAdminOverridesMetadataProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminOverridesMetadata", - value: ImportAdminOverridesMetadata.encode(message).finish() - }; - } -}; -function createBaseCreateConsumerOverrideRequest(): CreateConsumerOverrideRequest { - return { - parent: "", - override: QuotaOverride.fromPartial({}), - force: false, - forceOnly: [] - }; -} -export const CreateConsumerOverrideRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.CreateConsumerOverrideRequest", - encode(message: CreateConsumerOverrideRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.override !== undefined) { - QuotaOverride.encode(message.override, writer.uint32(18).fork()).ldelim(); - } - if (message.force === true) { - writer.uint32(24).bool(message.force); - } - writer.uint32(34).fork(); - for (const v of message.forceOnly) { - writer.int32(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CreateConsumerOverrideRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCreateConsumerOverrideRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.override = QuotaOverride.decode(reader, reader.uint32()); - break; - case 3: - message.force = reader.bool(); - break; - case 4: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.forceOnly.push((reader.int32() as any)); - } - } else { - message.forceOnly.push((reader.int32() as any)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CreateConsumerOverrideRequest { - const obj = createBaseCreateConsumerOverrideRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.override)) obj.override = QuotaOverride.fromJSON(object.override); - if (isSet(object.force)) obj.force = Boolean(object.force); - if (Array.isArray(object?.forceOnly)) obj.forceOnly = object.forceOnly.map((e: any) => quotaSafetyCheckFromJSON(e)); - return obj; - }, - toJSON(message: CreateConsumerOverrideRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.override !== undefined && (obj.override = message.override ? QuotaOverride.toJSON(message.override) : undefined); - message.force !== undefined && (obj.force = message.force); - if (message.forceOnly) { - obj.forceOnly = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.forceOnly = []; - } - return obj; - }, - fromPartial(object: DeepPartial): CreateConsumerOverrideRequest { - const message = createBaseCreateConsumerOverrideRequest(); - message.parent = object.parent ?? ""; - if (object.override !== undefined && object.override !== null) { - message.override = QuotaOverride.fromPartial(object.override); - } - message.force = object.force ?? false; - message.forceOnly = object.forceOnly?.map(e => e) || []; - return message; - }, - fromSDK(object: CreateConsumerOverrideRequestSDKType): CreateConsumerOverrideRequest { - return { - parent: object?.parent, - override: object.override ? QuotaOverride.fromSDK(object.override) : undefined, - force: object?.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toSDK(message: CreateConsumerOverrideRequest): CreateConsumerOverrideRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - message.override !== undefined && (obj.override = message.override ? QuotaOverride.toSDK(message.override) : undefined); - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAmino(object: CreateConsumerOverrideRequestAmino): CreateConsumerOverrideRequest { - return { - parent: object.parent, - override: object?.override ? QuotaOverride.fromAmino(object.override) : undefined, - force: object.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toAmino(message: CreateConsumerOverrideRequest): CreateConsumerOverrideRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.override = message.override ? QuotaOverride.toAmino(message.override) : undefined; - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAminoMsg(object: CreateConsumerOverrideRequestAminoMsg): CreateConsumerOverrideRequest { - return CreateConsumerOverrideRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CreateConsumerOverrideRequestProtoMsg): CreateConsumerOverrideRequest { - return CreateConsumerOverrideRequest.decode(message.value); - }, - toProto(message: CreateConsumerOverrideRequest): Uint8Array { - return CreateConsumerOverrideRequest.encode(message).finish(); - }, - toProtoMsg(message: CreateConsumerOverrideRequest): CreateConsumerOverrideRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.CreateConsumerOverrideRequest", - value: CreateConsumerOverrideRequest.encode(message).finish() - }; - } -}; -function createBaseUpdateConsumerOverrideRequest(): UpdateConsumerOverrideRequest { - return { - name: "", - override: QuotaOverride.fromPartial({}), - force: false, - updateMask: FieldMask.fromPartial({}), - forceOnly: [] - }; -} -export const UpdateConsumerOverrideRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.UpdateConsumerOverrideRequest", - encode(message: UpdateConsumerOverrideRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.override !== undefined) { - QuotaOverride.encode(message.override, writer.uint32(18).fork()).ldelim(); - } - if (message.force === true) { - writer.uint32(24).bool(message.force); - } - if (message.updateMask !== undefined) { - FieldMask.encode(message.updateMask, writer.uint32(34).fork()).ldelim(); - } - writer.uint32(42).fork(); - for (const v of message.forceOnly) { - writer.int32(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateConsumerOverrideRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateConsumerOverrideRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.override = QuotaOverride.decode(reader, reader.uint32()); - break; - case 3: - message.force = reader.bool(); - break; - case 4: - message.updateMask = FieldMask.decode(reader, reader.uint32()); - break; - case 5: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.forceOnly.push((reader.int32() as any)); - } - } else { - message.forceOnly.push((reader.int32() as any)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UpdateConsumerOverrideRequest { - const obj = createBaseUpdateConsumerOverrideRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.override)) obj.override = QuotaOverride.fromJSON(object.override); - if (isSet(object.force)) obj.force = Boolean(object.force); - if (isSet(object.updateMask)) obj.updateMask = FieldMask.fromJSON(object.updateMask); - if (Array.isArray(object?.forceOnly)) obj.forceOnly = object.forceOnly.map((e: any) => quotaSafetyCheckFromJSON(e)); - return obj; - }, - toJSON(message: UpdateConsumerOverrideRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.override !== undefined && (obj.override = message.override ? QuotaOverride.toJSON(message.override) : undefined); - message.force !== undefined && (obj.force = message.force); - message.updateMask !== undefined && (obj.updateMask = message.updateMask ? FieldMask.toJSON(message.updateMask) : undefined); - if (message.forceOnly) { - obj.forceOnly = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.forceOnly = []; - } - return obj; - }, - fromPartial(object: DeepPartial): UpdateConsumerOverrideRequest { - const message = createBaseUpdateConsumerOverrideRequest(); - message.name = object.name ?? ""; - if (object.override !== undefined && object.override !== null) { - message.override = QuotaOverride.fromPartial(object.override); - } - message.force = object.force ?? false; - if (object.updateMask !== undefined && object.updateMask !== null) { - message.updateMask = FieldMask.fromPartial(object.updateMask); - } - message.forceOnly = object.forceOnly?.map(e => e) || []; - return message; - }, - fromSDK(object: UpdateConsumerOverrideRequestSDKType): UpdateConsumerOverrideRequest { - return { - name: object?.name, - override: object.override ? QuotaOverride.fromSDK(object.override) : undefined, - force: object?.force, - updateMask: object.update_mask ? FieldMask.fromSDK(object.update_mask) : undefined, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toSDK(message: UpdateConsumerOverrideRequest): UpdateConsumerOverrideRequestSDKType { - const obj: any = {}; - obj.name = message.name; - message.override !== undefined && (obj.override = message.override ? QuotaOverride.toSDK(message.override) : undefined); - obj.force = message.force; - message.updateMask !== undefined && (obj.update_mask = message.updateMask ? FieldMask.toSDK(message.updateMask) : undefined); - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAmino(object: UpdateConsumerOverrideRequestAmino): UpdateConsumerOverrideRequest { - return { - name: object.name, - override: object?.override ? QuotaOverride.fromAmino(object.override) : undefined, - force: object.force, - updateMask: object?.update_mask ? FieldMask.fromAmino(object.update_mask) : undefined, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toAmino(message: UpdateConsumerOverrideRequest): UpdateConsumerOverrideRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.override = message.override ? QuotaOverride.toAmino(message.override) : undefined; - obj.force = message.force; - obj.update_mask = message.updateMask ? FieldMask.toAmino(message.updateMask) : undefined; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAminoMsg(object: UpdateConsumerOverrideRequestAminoMsg): UpdateConsumerOverrideRequest { - return UpdateConsumerOverrideRequest.fromAmino(object.value); - }, - fromProtoMsg(message: UpdateConsumerOverrideRequestProtoMsg): UpdateConsumerOverrideRequest { - return UpdateConsumerOverrideRequest.decode(message.value); - }, - toProto(message: UpdateConsumerOverrideRequest): Uint8Array { - return UpdateConsumerOverrideRequest.encode(message).finish(); - }, - toProtoMsg(message: UpdateConsumerOverrideRequest): UpdateConsumerOverrideRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.UpdateConsumerOverrideRequest", - value: UpdateConsumerOverrideRequest.encode(message).finish() - }; - } -}; -function createBaseDeleteConsumerOverrideRequest(): DeleteConsumerOverrideRequest { - return { - name: "", - force: false, - forceOnly: [] - }; -} -export const DeleteConsumerOverrideRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.DeleteConsumerOverrideRequest", - encode(message: DeleteConsumerOverrideRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.force === true) { - writer.uint32(16).bool(message.force); - } - writer.uint32(26).fork(); - for (const v of message.forceOnly) { - writer.int32(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeleteConsumerOverrideRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteConsumerOverrideRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.force = reader.bool(); - break; - case 3: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.forceOnly.push((reader.int32() as any)); - } - } else { - message.forceOnly.push((reader.int32() as any)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DeleteConsumerOverrideRequest { - const obj = createBaseDeleteConsumerOverrideRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.force)) obj.force = Boolean(object.force); - if (Array.isArray(object?.forceOnly)) obj.forceOnly = object.forceOnly.map((e: any) => quotaSafetyCheckFromJSON(e)); - return obj; - }, - toJSON(message: DeleteConsumerOverrideRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.force !== undefined && (obj.force = message.force); - if (message.forceOnly) { - obj.forceOnly = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.forceOnly = []; - } - return obj; - }, - fromPartial(object: DeepPartial): DeleteConsumerOverrideRequest { - const message = createBaseDeleteConsumerOverrideRequest(); - message.name = object.name ?? ""; - message.force = object.force ?? false; - message.forceOnly = object.forceOnly?.map(e => e) || []; - return message; - }, - fromSDK(object: DeleteConsumerOverrideRequestSDKType): DeleteConsumerOverrideRequest { - return { - name: object?.name, - force: object?.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toSDK(message: DeleteConsumerOverrideRequest): DeleteConsumerOverrideRequestSDKType { - const obj: any = {}; - obj.name = message.name; - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAmino(object: DeleteConsumerOverrideRequestAmino): DeleteConsumerOverrideRequest { - return { - name: object.name, - force: object.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toAmino(message: DeleteConsumerOverrideRequest): DeleteConsumerOverrideRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAminoMsg(object: DeleteConsumerOverrideRequestAminoMsg): DeleteConsumerOverrideRequest { - return DeleteConsumerOverrideRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DeleteConsumerOverrideRequestProtoMsg): DeleteConsumerOverrideRequest { - return DeleteConsumerOverrideRequest.decode(message.value); - }, - toProto(message: DeleteConsumerOverrideRequest): Uint8Array { - return DeleteConsumerOverrideRequest.encode(message).finish(); - }, - toProtoMsg(message: DeleteConsumerOverrideRequest): DeleteConsumerOverrideRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.DeleteConsumerOverrideRequest", - value: DeleteConsumerOverrideRequest.encode(message).finish() - }; - } -}; -function createBaseListConsumerOverridesRequest(): ListConsumerOverridesRequest { - return { - parent: "", - pageSize: 0, - pageToken: "" - }; -} -export const ListConsumerOverridesRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerOverridesRequest", - encode(message: ListConsumerOverridesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.pageSize !== 0) { - writer.uint32(16).int32(message.pageSize); - } - if (message.pageToken !== "") { - writer.uint32(26).string(message.pageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListConsumerOverridesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListConsumerOverridesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListConsumerOverridesRequest { - const obj = createBaseListConsumerOverridesRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - return obj; - }, - toJSON(message: ListConsumerOverridesRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListConsumerOverridesRequest { - const message = createBaseListConsumerOverridesRequest(); - message.parent = object.parent ?? ""; - message.pageSize = object.pageSize ?? 0; - message.pageToken = object.pageToken ?? ""; - return message; - }, - fromSDK(object: ListConsumerOverridesRequestSDKType): ListConsumerOverridesRequest { - return { - parent: object?.parent, - pageSize: object?.page_size, - pageToken: object?.page_token - }; - }, - toSDK(message: ListConsumerOverridesRequest): ListConsumerOverridesRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - return obj; - }, - fromAmino(object: ListConsumerOverridesRequestAmino): ListConsumerOverridesRequest { - return { - parent: object.parent, - pageSize: object.page_size, - pageToken: object.page_token - }; - }, - toAmino(message: ListConsumerOverridesRequest): ListConsumerOverridesRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - return obj; - }, - fromAminoMsg(object: ListConsumerOverridesRequestAminoMsg): ListConsumerOverridesRequest { - return ListConsumerOverridesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListConsumerOverridesRequestProtoMsg): ListConsumerOverridesRequest { - return ListConsumerOverridesRequest.decode(message.value); - }, - toProto(message: ListConsumerOverridesRequest): Uint8Array { - return ListConsumerOverridesRequest.encode(message).finish(); - }, - toProtoMsg(message: ListConsumerOverridesRequest): ListConsumerOverridesRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerOverridesRequest", - value: ListConsumerOverridesRequest.encode(message).finish() - }; - } -}; -function createBaseListConsumerOverridesResponse(): ListConsumerOverridesResponse { - return { - overrides: [], - nextPageToken: "" - }; -} -export const ListConsumerOverridesResponse = { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerOverridesResponse", - encode(message: ListConsumerOverridesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.overrides) { - QuotaOverride.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListConsumerOverridesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListConsumerOverridesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.overrides.push(QuotaOverride.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListConsumerOverridesResponse { - const obj = createBaseListConsumerOverridesResponse(); - if (Array.isArray(object?.overrides)) obj.overrides = object.overrides.map((e: any) => QuotaOverride.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListConsumerOverridesResponse): unknown { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toJSON(e) : undefined); - } else { - obj.overrides = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListConsumerOverridesResponse { - const message = createBaseListConsumerOverridesResponse(); - message.overrides = object.overrides?.map(e => QuotaOverride.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListConsumerOverridesResponseSDKType): ListConsumerOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListConsumerOverridesResponse): ListConsumerOverridesResponseSDKType { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toSDK(e) : undefined); - } else { - obj.overrides = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListConsumerOverridesResponseAmino): ListConsumerOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListConsumerOverridesResponse): ListConsumerOverridesResponseAmino { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toAmino(e) : undefined); - } else { - obj.overrides = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListConsumerOverridesResponseAminoMsg): ListConsumerOverridesResponse { - return ListConsumerOverridesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListConsumerOverridesResponseProtoMsg): ListConsumerOverridesResponse { - return ListConsumerOverridesResponse.decode(message.value); - }, - toProto(message: ListConsumerOverridesResponse): Uint8Array { - return ListConsumerOverridesResponse.encode(message).finish(); - }, - toProtoMsg(message: ListConsumerOverridesResponse): ListConsumerOverridesResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ListConsumerOverridesResponse", - value: ListConsumerOverridesResponse.encode(message).finish() - }; - } -}; -function createBaseBatchCreateConsumerOverridesResponse(): BatchCreateConsumerOverridesResponse { - return { - overrides: [] - }; -} -export const BatchCreateConsumerOverridesResponse = { - typeUrl: "/google.api.serviceusage.v1beta1.BatchCreateConsumerOverridesResponse", - encode(message: BatchCreateConsumerOverridesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.overrides) { - QuotaOverride.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BatchCreateConsumerOverridesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBatchCreateConsumerOverridesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.overrides.push(QuotaOverride.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BatchCreateConsumerOverridesResponse { - const obj = createBaseBatchCreateConsumerOverridesResponse(); - if (Array.isArray(object?.overrides)) obj.overrides = object.overrides.map((e: any) => QuotaOverride.fromJSON(e)); - return obj; - }, - toJSON(message: BatchCreateConsumerOverridesResponse): unknown { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toJSON(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromPartial(object: DeepPartial): BatchCreateConsumerOverridesResponse { - const message = createBaseBatchCreateConsumerOverridesResponse(); - message.overrides = object.overrides?.map(e => QuotaOverride.fromPartial(e)) || []; - return message; - }, - fromSDK(object: BatchCreateConsumerOverridesResponseSDKType): BatchCreateConsumerOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromSDK(e)) : [] - }; - }, - toSDK(message: BatchCreateConsumerOverridesResponse): BatchCreateConsumerOverridesResponseSDKType { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toSDK(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromAmino(object: BatchCreateConsumerOverridesResponseAmino): BatchCreateConsumerOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromAmino(e)) : [] - }; - }, - toAmino(message: BatchCreateConsumerOverridesResponse): BatchCreateConsumerOverridesResponseAmino { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toAmino(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromAminoMsg(object: BatchCreateConsumerOverridesResponseAminoMsg): BatchCreateConsumerOverridesResponse { - return BatchCreateConsumerOverridesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: BatchCreateConsumerOverridesResponseProtoMsg): BatchCreateConsumerOverridesResponse { - return BatchCreateConsumerOverridesResponse.decode(message.value); - }, - toProto(message: BatchCreateConsumerOverridesResponse): Uint8Array { - return BatchCreateConsumerOverridesResponse.encode(message).finish(); - }, - toProtoMsg(message: BatchCreateConsumerOverridesResponse): BatchCreateConsumerOverridesResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.BatchCreateConsumerOverridesResponse", - value: BatchCreateConsumerOverridesResponse.encode(message).finish() - }; - } -}; -function createBaseImportConsumerOverridesRequest(): ImportConsumerOverridesRequest { - return { - parent: "", - inlineSource: undefined, - force: false, - forceOnly: [] - }; -} -export const ImportConsumerOverridesRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesRequest", - encode(message: ImportConsumerOverridesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.inlineSource !== undefined) { - OverrideInlineSource.encode(message.inlineSource, writer.uint32(18).fork()).ldelim(); - } - if (message.force === true) { - writer.uint32(24).bool(message.force); - } - writer.uint32(34).fork(); - for (const v of message.forceOnly) { - writer.int32(v); - } - writer.ldelim(); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ImportConsumerOverridesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseImportConsumerOverridesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.inlineSource = OverrideInlineSource.decode(reader, reader.uint32()); - break; - case 3: - message.force = reader.bool(); - break; - case 4: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.forceOnly.push((reader.int32() as any)); - } - } else { - message.forceOnly.push((reader.int32() as any)); - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ImportConsumerOverridesRequest { - const obj = createBaseImportConsumerOverridesRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.inlineSource)) obj.inlineSource = OverrideInlineSource.fromJSON(object.inlineSource); - if (isSet(object.force)) obj.force = Boolean(object.force); - if (Array.isArray(object?.forceOnly)) obj.forceOnly = object.forceOnly.map((e: any) => quotaSafetyCheckFromJSON(e)); - return obj; - }, - toJSON(message: ImportConsumerOverridesRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.inlineSource !== undefined && (obj.inlineSource = message.inlineSource ? OverrideInlineSource.toJSON(message.inlineSource) : undefined); - message.force !== undefined && (obj.force = message.force); - if (message.forceOnly) { - obj.forceOnly = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.forceOnly = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ImportConsumerOverridesRequest { - const message = createBaseImportConsumerOverridesRequest(); - message.parent = object.parent ?? ""; - if (object.inlineSource !== undefined && object.inlineSource !== null) { - message.inlineSource = OverrideInlineSource.fromPartial(object.inlineSource); - } - message.force = object.force ?? false; - message.forceOnly = object.forceOnly?.map(e => e) || []; - return message; - }, - fromSDK(object: ImportConsumerOverridesRequestSDKType): ImportConsumerOverridesRequest { - return { - parent: object?.parent, - inlineSource: object.inline_source ? OverrideInlineSource.fromSDK(object.inline_source) : undefined, - force: object?.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toSDK(message: ImportConsumerOverridesRequest): ImportConsumerOverridesRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - message.inlineSource !== undefined && (obj.inline_source = message.inlineSource ? OverrideInlineSource.toSDK(message.inlineSource) : undefined); - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAmino(object: ImportConsumerOverridesRequestAmino): ImportConsumerOverridesRequest { - return { - parent: object.parent, - inlineSource: object?.inline_source ? OverrideInlineSource.fromAmino(object.inline_source) : undefined, - force: object.force, - forceOnly: Array.isArray(object?.force_only) ? object.force_only.map((e: any) => quotaSafetyCheckFromJSON(e)) : [] - }; - }, - toAmino(message: ImportConsumerOverridesRequest): ImportConsumerOverridesRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.inline_source = message.inlineSource ? OverrideInlineSource.toAmino(message.inlineSource) : undefined; - obj.force = message.force; - if (message.forceOnly) { - obj.force_only = message.forceOnly.map(e => quotaSafetyCheckToJSON(e)); - } else { - obj.force_only = []; - } - return obj; - }, - fromAminoMsg(object: ImportConsumerOverridesRequestAminoMsg): ImportConsumerOverridesRequest { - return ImportConsumerOverridesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ImportConsumerOverridesRequestProtoMsg): ImportConsumerOverridesRequest { - return ImportConsumerOverridesRequest.decode(message.value); - }, - toProto(message: ImportConsumerOverridesRequest): Uint8Array { - return ImportConsumerOverridesRequest.encode(message).finish(); - }, - toProtoMsg(message: ImportConsumerOverridesRequest): ImportConsumerOverridesRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesRequest", - value: ImportConsumerOverridesRequest.encode(message).finish() - }; - } -}; -function createBaseImportConsumerOverridesResponse(): ImportConsumerOverridesResponse { - return { - overrides: [] - }; -} -export const ImportConsumerOverridesResponse = { - typeUrl: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesResponse", - encode(message: ImportConsumerOverridesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.overrides) { - QuotaOverride.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ImportConsumerOverridesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseImportConsumerOverridesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.overrides.push(QuotaOverride.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ImportConsumerOverridesResponse { - const obj = createBaseImportConsumerOverridesResponse(); - if (Array.isArray(object?.overrides)) obj.overrides = object.overrides.map((e: any) => QuotaOverride.fromJSON(e)); - return obj; - }, - toJSON(message: ImportConsumerOverridesResponse): unknown { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toJSON(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ImportConsumerOverridesResponse { - const message = createBaseImportConsumerOverridesResponse(); - message.overrides = object.overrides?.map(e => QuotaOverride.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ImportConsumerOverridesResponseSDKType): ImportConsumerOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromSDK(e)) : [] - }; - }, - toSDK(message: ImportConsumerOverridesResponse): ImportConsumerOverridesResponseSDKType { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toSDK(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromAmino(object: ImportConsumerOverridesResponseAmino): ImportConsumerOverridesResponse { - return { - overrides: Array.isArray(object?.overrides) ? object.overrides.map((e: any) => QuotaOverride.fromAmino(e)) : [] - }; - }, - toAmino(message: ImportConsumerOverridesResponse): ImportConsumerOverridesResponseAmino { - const obj: any = {}; - if (message.overrides) { - obj.overrides = message.overrides.map(e => e ? QuotaOverride.toAmino(e) : undefined); - } else { - obj.overrides = []; - } - return obj; - }, - fromAminoMsg(object: ImportConsumerOverridesResponseAminoMsg): ImportConsumerOverridesResponse { - return ImportConsumerOverridesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ImportConsumerOverridesResponseProtoMsg): ImportConsumerOverridesResponse { - return ImportConsumerOverridesResponse.decode(message.value); - }, - toProto(message: ImportConsumerOverridesResponse): Uint8Array { - return ImportConsumerOverridesResponse.encode(message).finish(); - }, - toProtoMsg(message: ImportConsumerOverridesResponse): ImportConsumerOverridesResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesResponse", - value: ImportConsumerOverridesResponse.encode(message).finish() - }; - } -}; -function createBaseImportConsumerOverridesMetadata(): ImportConsumerOverridesMetadata { - return {}; -} -export const ImportConsumerOverridesMetadata = { - typeUrl: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesMetadata", - encode(_: ImportConsumerOverridesMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ImportConsumerOverridesMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseImportConsumerOverridesMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): ImportConsumerOverridesMetadata { - const obj = createBaseImportConsumerOverridesMetadata(); - return obj; - }, - toJSON(_: ImportConsumerOverridesMetadata): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): ImportConsumerOverridesMetadata { - const message = createBaseImportConsumerOverridesMetadata(); - return message; - }, - fromSDK(_: ImportConsumerOverridesMetadataSDKType): ImportConsumerOverridesMetadata { - return {}; - }, - toSDK(_: ImportConsumerOverridesMetadata): ImportConsumerOverridesMetadataSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: ImportConsumerOverridesMetadataAmino): ImportConsumerOverridesMetadata { - return {}; - }, - toAmino(_: ImportConsumerOverridesMetadata): ImportConsumerOverridesMetadataAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: ImportConsumerOverridesMetadataAminoMsg): ImportConsumerOverridesMetadata { - return ImportConsumerOverridesMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: ImportConsumerOverridesMetadataProtoMsg): ImportConsumerOverridesMetadata { - return ImportConsumerOverridesMetadata.decode(message.value); - }, - toProto(message: ImportConsumerOverridesMetadata): Uint8Array { - return ImportConsumerOverridesMetadata.encode(message).finish(); - }, - toProtoMsg(message: ImportConsumerOverridesMetadata): ImportConsumerOverridesMetadataProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ImportConsumerOverridesMetadata", - value: ImportConsumerOverridesMetadata.encode(message).finish() - }; - } -}; -function createBaseImportAdminQuotaPoliciesResponse(): ImportAdminQuotaPoliciesResponse { - return { - policies: [] - }; -} -export const ImportAdminQuotaPoliciesResponse = { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminQuotaPoliciesResponse", - encode(message: ImportAdminQuotaPoliciesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.policies) { - AdminQuotaPolicy.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ImportAdminQuotaPoliciesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseImportAdminQuotaPoliciesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.policies.push(AdminQuotaPolicy.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ImportAdminQuotaPoliciesResponse { - const obj = createBaseImportAdminQuotaPoliciesResponse(); - if (Array.isArray(object?.policies)) obj.policies = object.policies.map((e: any) => AdminQuotaPolicy.fromJSON(e)); - return obj; - }, - toJSON(message: ImportAdminQuotaPoliciesResponse): unknown { - const obj: any = {}; - if (message.policies) { - obj.policies = message.policies.map(e => e ? AdminQuotaPolicy.toJSON(e) : undefined); - } else { - obj.policies = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ImportAdminQuotaPoliciesResponse { - const message = createBaseImportAdminQuotaPoliciesResponse(); - message.policies = object.policies?.map(e => AdminQuotaPolicy.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ImportAdminQuotaPoliciesResponseSDKType): ImportAdminQuotaPoliciesResponse { - return { - policies: Array.isArray(object?.policies) ? object.policies.map((e: any) => AdminQuotaPolicy.fromSDK(e)) : [] - }; - }, - toSDK(message: ImportAdminQuotaPoliciesResponse): ImportAdminQuotaPoliciesResponseSDKType { - const obj: any = {}; - if (message.policies) { - obj.policies = message.policies.map(e => e ? AdminQuotaPolicy.toSDK(e) : undefined); - } else { - obj.policies = []; - } - return obj; - }, - fromAmino(object: ImportAdminQuotaPoliciesResponseAmino): ImportAdminQuotaPoliciesResponse { - return { - policies: Array.isArray(object?.policies) ? object.policies.map((e: any) => AdminQuotaPolicy.fromAmino(e)) : [] - }; - }, - toAmino(message: ImportAdminQuotaPoliciesResponse): ImportAdminQuotaPoliciesResponseAmino { - const obj: any = {}; - if (message.policies) { - obj.policies = message.policies.map(e => e ? AdminQuotaPolicy.toAmino(e) : undefined); - } else { - obj.policies = []; - } - return obj; - }, - fromAminoMsg(object: ImportAdminQuotaPoliciesResponseAminoMsg): ImportAdminQuotaPoliciesResponse { - return ImportAdminQuotaPoliciesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ImportAdminQuotaPoliciesResponseProtoMsg): ImportAdminQuotaPoliciesResponse { - return ImportAdminQuotaPoliciesResponse.decode(message.value); - }, - toProto(message: ImportAdminQuotaPoliciesResponse): Uint8Array { - return ImportAdminQuotaPoliciesResponse.encode(message).finish(); - }, - toProtoMsg(message: ImportAdminQuotaPoliciesResponse): ImportAdminQuotaPoliciesResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminQuotaPoliciesResponse", - value: ImportAdminQuotaPoliciesResponse.encode(message).finish() - }; - } -}; -function createBaseImportAdminQuotaPoliciesMetadata(): ImportAdminQuotaPoliciesMetadata { - return {}; -} -export const ImportAdminQuotaPoliciesMetadata = { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminQuotaPoliciesMetadata", - encode(_: ImportAdminQuotaPoliciesMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ImportAdminQuotaPoliciesMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseImportAdminQuotaPoliciesMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): ImportAdminQuotaPoliciesMetadata { - const obj = createBaseImportAdminQuotaPoliciesMetadata(); - return obj; - }, - toJSON(_: ImportAdminQuotaPoliciesMetadata): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): ImportAdminQuotaPoliciesMetadata { - const message = createBaseImportAdminQuotaPoliciesMetadata(); - return message; - }, - fromSDK(_: ImportAdminQuotaPoliciesMetadataSDKType): ImportAdminQuotaPoliciesMetadata { - return {}; - }, - toSDK(_: ImportAdminQuotaPoliciesMetadata): ImportAdminQuotaPoliciesMetadataSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: ImportAdminQuotaPoliciesMetadataAmino): ImportAdminQuotaPoliciesMetadata { - return {}; - }, - toAmino(_: ImportAdminQuotaPoliciesMetadata): ImportAdminQuotaPoliciesMetadataAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: ImportAdminQuotaPoliciesMetadataAminoMsg): ImportAdminQuotaPoliciesMetadata { - return ImportAdminQuotaPoliciesMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: ImportAdminQuotaPoliciesMetadataProtoMsg): ImportAdminQuotaPoliciesMetadata { - return ImportAdminQuotaPoliciesMetadata.decode(message.value); - }, - toProto(message: ImportAdminQuotaPoliciesMetadata): Uint8Array { - return ImportAdminQuotaPoliciesMetadata.encode(message).finish(); - }, - toProtoMsg(message: ImportAdminQuotaPoliciesMetadata): ImportAdminQuotaPoliciesMetadataProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.ImportAdminQuotaPoliciesMetadata", - value: ImportAdminQuotaPoliciesMetadata.encode(message).finish() - }; - } -}; -function createBaseCreateAdminQuotaPolicyMetadata(): CreateAdminQuotaPolicyMetadata { - return {}; -} -export const CreateAdminQuotaPolicyMetadata = { - typeUrl: "/google.api.serviceusage.v1beta1.CreateAdminQuotaPolicyMetadata", - encode(_: CreateAdminQuotaPolicyMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CreateAdminQuotaPolicyMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCreateAdminQuotaPolicyMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): CreateAdminQuotaPolicyMetadata { - const obj = createBaseCreateAdminQuotaPolicyMetadata(); - return obj; - }, - toJSON(_: CreateAdminQuotaPolicyMetadata): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): CreateAdminQuotaPolicyMetadata { - const message = createBaseCreateAdminQuotaPolicyMetadata(); - return message; - }, - fromSDK(_: CreateAdminQuotaPolicyMetadataSDKType): CreateAdminQuotaPolicyMetadata { - return {}; - }, - toSDK(_: CreateAdminQuotaPolicyMetadata): CreateAdminQuotaPolicyMetadataSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: CreateAdminQuotaPolicyMetadataAmino): CreateAdminQuotaPolicyMetadata { - return {}; - }, - toAmino(_: CreateAdminQuotaPolicyMetadata): CreateAdminQuotaPolicyMetadataAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: CreateAdminQuotaPolicyMetadataAminoMsg): CreateAdminQuotaPolicyMetadata { - return CreateAdminQuotaPolicyMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: CreateAdminQuotaPolicyMetadataProtoMsg): CreateAdminQuotaPolicyMetadata { - return CreateAdminQuotaPolicyMetadata.decode(message.value); - }, - toProto(message: CreateAdminQuotaPolicyMetadata): Uint8Array { - return CreateAdminQuotaPolicyMetadata.encode(message).finish(); - }, - toProtoMsg(message: CreateAdminQuotaPolicyMetadata): CreateAdminQuotaPolicyMetadataProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.CreateAdminQuotaPolicyMetadata", - value: CreateAdminQuotaPolicyMetadata.encode(message).finish() - }; - } -}; -function createBaseUpdateAdminQuotaPolicyMetadata(): UpdateAdminQuotaPolicyMetadata { - return {}; -} -export const UpdateAdminQuotaPolicyMetadata = { - typeUrl: "/google.api.serviceusage.v1beta1.UpdateAdminQuotaPolicyMetadata", - encode(_: UpdateAdminQuotaPolicyMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAdminQuotaPolicyMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateAdminQuotaPolicyMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): UpdateAdminQuotaPolicyMetadata { - const obj = createBaseUpdateAdminQuotaPolicyMetadata(); - return obj; - }, - toJSON(_: UpdateAdminQuotaPolicyMetadata): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): UpdateAdminQuotaPolicyMetadata { - const message = createBaseUpdateAdminQuotaPolicyMetadata(); - return message; - }, - fromSDK(_: UpdateAdminQuotaPolicyMetadataSDKType): UpdateAdminQuotaPolicyMetadata { - return {}; - }, - toSDK(_: UpdateAdminQuotaPolicyMetadata): UpdateAdminQuotaPolicyMetadataSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: UpdateAdminQuotaPolicyMetadataAmino): UpdateAdminQuotaPolicyMetadata { - return {}; - }, - toAmino(_: UpdateAdminQuotaPolicyMetadata): UpdateAdminQuotaPolicyMetadataAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: UpdateAdminQuotaPolicyMetadataAminoMsg): UpdateAdminQuotaPolicyMetadata { - return UpdateAdminQuotaPolicyMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: UpdateAdminQuotaPolicyMetadataProtoMsg): UpdateAdminQuotaPolicyMetadata { - return UpdateAdminQuotaPolicyMetadata.decode(message.value); - }, - toProto(message: UpdateAdminQuotaPolicyMetadata): Uint8Array { - return UpdateAdminQuotaPolicyMetadata.encode(message).finish(); - }, - toProtoMsg(message: UpdateAdminQuotaPolicyMetadata): UpdateAdminQuotaPolicyMetadataProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.UpdateAdminQuotaPolicyMetadata", - value: UpdateAdminQuotaPolicyMetadata.encode(message).finish() - }; - } -}; -function createBaseDeleteAdminQuotaPolicyMetadata(): DeleteAdminQuotaPolicyMetadata { - return {}; -} -export const DeleteAdminQuotaPolicyMetadata = { - typeUrl: "/google.api.serviceusage.v1beta1.DeleteAdminQuotaPolicyMetadata", - encode(_: DeleteAdminQuotaPolicyMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeleteAdminQuotaPolicyMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteAdminQuotaPolicyMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): DeleteAdminQuotaPolicyMetadata { - const obj = createBaseDeleteAdminQuotaPolicyMetadata(); - return obj; - }, - toJSON(_: DeleteAdminQuotaPolicyMetadata): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): DeleteAdminQuotaPolicyMetadata { - const message = createBaseDeleteAdminQuotaPolicyMetadata(); - return message; - }, - fromSDK(_: DeleteAdminQuotaPolicyMetadataSDKType): DeleteAdminQuotaPolicyMetadata { - return {}; - }, - toSDK(_: DeleteAdminQuotaPolicyMetadata): DeleteAdminQuotaPolicyMetadataSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: DeleteAdminQuotaPolicyMetadataAmino): DeleteAdminQuotaPolicyMetadata { - return {}; - }, - toAmino(_: DeleteAdminQuotaPolicyMetadata): DeleteAdminQuotaPolicyMetadataAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: DeleteAdminQuotaPolicyMetadataAminoMsg): DeleteAdminQuotaPolicyMetadata { - return DeleteAdminQuotaPolicyMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: DeleteAdminQuotaPolicyMetadataProtoMsg): DeleteAdminQuotaPolicyMetadata { - return DeleteAdminQuotaPolicyMetadata.decode(message.value); - }, - toProto(message: DeleteAdminQuotaPolicyMetadata): Uint8Array { - return DeleteAdminQuotaPolicyMetadata.encode(message).finish(); - }, - toProtoMsg(message: DeleteAdminQuotaPolicyMetadata): DeleteAdminQuotaPolicyMetadataProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.DeleteAdminQuotaPolicyMetadata", - value: DeleteAdminQuotaPolicyMetadata.encode(message).finish() - }; - } -}; -function createBaseGenerateServiceIdentityRequest(): GenerateServiceIdentityRequest { - return { - parent: "" - }; -} -export const GenerateServiceIdentityRequest = { - typeUrl: "/google.api.serviceusage.v1beta1.GenerateServiceIdentityRequest", - encode(message: GenerateServiceIdentityRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GenerateServiceIdentityRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGenerateServiceIdentityRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GenerateServiceIdentityRequest { - const obj = createBaseGenerateServiceIdentityRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - return obj; - }, - toJSON(message: GenerateServiceIdentityRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - return obj; - }, - fromPartial(object: DeepPartial): GenerateServiceIdentityRequest { - const message = createBaseGenerateServiceIdentityRequest(); - message.parent = object.parent ?? ""; - return message; - }, - fromSDK(object: GenerateServiceIdentityRequestSDKType): GenerateServiceIdentityRequest { - return { - parent: object?.parent - }; - }, - toSDK(message: GenerateServiceIdentityRequest): GenerateServiceIdentityRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - return obj; - }, - fromAmino(object: GenerateServiceIdentityRequestAmino): GenerateServiceIdentityRequest { - return { - parent: object.parent - }; - }, - toAmino(message: GenerateServiceIdentityRequest): GenerateServiceIdentityRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - return obj; - }, - fromAminoMsg(object: GenerateServiceIdentityRequestAminoMsg): GenerateServiceIdentityRequest { - return GenerateServiceIdentityRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GenerateServiceIdentityRequestProtoMsg): GenerateServiceIdentityRequest { - return GenerateServiceIdentityRequest.decode(message.value); - }, - toProto(message: GenerateServiceIdentityRequest): Uint8Array { - return GenerateServiceIdentityRequest.encode(message).finish(); - }, - toProtoMsg(message: GenerateServiceIdentityRequest): GenerateServiceIdentityRequestProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.GenerateServiceIdentityRequest", - value: GenerateServiceIdentityRequest.encode(message).finish() - }; - } -}; -function createBaseGetServiceIdentityResponse(): GetServiceIdentityResponse { - return { - identity: ServiceIdentity.fromPartial({}), - state: 0 - }; -} -export const GetServiceIdentityResponse = { - typeUrl: "/google.api.serviceusage.v1beta1.GetServiceIdentityResponse", - encode(message: GetServiceIdentityResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.identity !== undefined) { - ServiceIdentity.encode(message.identity, writer.uint32(10).fork()).ldelim(); - } - if (message.state !== 0) { - writer.uint32(16).int32(message.state); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetServiceIdentityResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetServiceIdentityResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.identity = ServiceIdentity.decode(reader, reader.uint32()); - break; - case 2: - message.state = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetServiceIdentityResponse { - const obj = createBaseGetServiceIdentityResponse(); - if (isSet(object.identity)) obj.identity = ServiceIdentity.fromJSON(object.identity); - if (isSet(object.state)) obj.state = getServiceIdentityResponse_IdentityStateFromJSON(object.state); - return obj; - }, - toJSON(message: GetServiceIdentityResponse): unknown { - const obj: any = {}; - message.identity !== undefined && (obj.identity = message.identity ? ServiceIdentity.toJSON(message.identity) : undefined); - message.state !== undefined && (obj.state = getServiceIdentityResponse_IdentityStateToJSON(message.state)); - return obj; - }, - fromPartial(object: DeepPartial): GetServiceIdentityResponse { - const message = createBaseGetServiceIdentityResponse(); - if (object.identity !== undefined && object.identity !== null) { - message.identity = ServiceIdentity.fromPartial(object.identity); - } - message.state = object.state ?? 0; - return message; - }, - fromSDK(object: GetServiceIdentityResponseSDKType): GetServiceIdentityResponse { - return { - identity: object.identity ? ServiceIdentity.fromSDK(object.identity) : undefined, - state: isSet(object.state) ? getServiceIdentityResponse_IdentityStateFromJSON(object.state) : -1 - }; - }, - toSDK(message: GetServiceIdentityResponse): GetServiceIdentityResponseSDKType { - const obj: any = {}; - message.identity !== undefined && (obj.identity = message.identity ? ServiceIdentity.toSDK(message.identity) : undefined); - message.state !== undefined && (obj.state = getServiceIdentityResponse_IdentityStateToJSON(message.state)); - return obj; - }, - fromAmino(object: GetServiceIdentityResponseAmino): GetServiceIdentityResponse { - return { - identity: object?.identity ? ServiceIdentity.fromAmino(object.identity) : undefined, - state: isSet(object.state) ? getServiceIdentityResponse_IdentityStateFromJSON(object.state) : -1 - }; - }, - toAmino(message: GetServiceIdentityResponse): GetServiceIdentityResponseAmino { - const obj: any = {}; - obj.identity = message.identity ? ServiceIdentity.toAmino(message.identity) : undefined; - obj.state = message.state; - return obj; - }, - fromAminoMsg(object: GetServiceIdentityResponseAminoMsg): GetServiceIdentityResponse { - return GetServiceIdentityResponse.fromAmino(object.value); - }, - fromProtoMsg(message: GetServiceIdentityResponseProtoMsg): GetServiceIdentityResponse { - return GetServiceIdentityResponse.decode(message.value); - }, - toProto(message: GetServiceIdentityResponse): Uint8Array { - return GetServiceIdentityResponse.encode(message).finish(); - }, - toProtoMsg(message: GetServiceIdentityResponse): GetServiceIdentityResponseProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.GetServiceIdentityResponse", - value: GetServiceIdentityResponse.encode(message).finish() - }; - } -}; -function createBaseGetServiceIdentityMetadata(): GetServiceIdentityMetadata { - return {}; -} -export const GetServiceIdentityMetadata = { - typeUrl: "/google.api.serviceusage.v1beta1.GetServiceIdentityMetadata", - encode(_: GetServiceIdentityMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetServiceIdentityMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetServiceIdentityMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): GetServiceIdentityMetadata { - const obj = createBaseGetServiceIdentityMetadata(); - return obj; - }, - toJSON(_: GetServiceIdentityMetadata): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): GetServiceIdentityMetadata { - const message = createBaseGetServiceIdentityMetadata(); - return message; - }, - fromSDK(_: GetServiceIdentityMetadataSDKType): GetServiceIdentityMetadata { - return {}; - }, - toSDK(_: GetServiceIdentityMetadata): GetServiceIdentityMetadataSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: GetServiceIdentityMetadataAmino): GetServiceIdentityMetadata { - return {}; - }, - toAmino(_: GetServiceIdentityMetadata): GetServiceIdentityMetadataAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: GetServiceIdentityMetadataAminoMsg): GetServiceIdentityMetadata { - return GetServiceIdentityMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: GetServiceIdentityMetadataProtoMsg): GetServiceIdentityMetadata { - return GetServiceIdentityMetadata.decode(message.value); - }, - toProto(message: GetServiceIdentityMetadata): Uint8Array { - return GetServiceIdentityMetadata.encode(message).finish(); - }, - toProtoMsg(message: GetServiceIdentityMetadata): GetServiceIdentityMetadataProtoMsg { - return { - typeUrl: "/google.api.serviceusage.v1beta1.GetServiceIdentityMetadata", - value: GetServiceIdentityMetadata.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/source_info.ts b/quicksilverjs/src/codegen/google/api/source_info.ts deleted file mode 100644 index 60eb47f92..000000000 --- a/quicksilverjs/src/codegen/google/api/source_info.ts +++ /dev/null @@ -1,119 +0,0 @@ -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** Source information used to create a Service Config */ -export interface SourceInfo { - /** All files used during config generation. */ - sourceFiles: Any[]; -} -export interface SourceInfoProtoMsg { - typeUrl: "/google.api.SourceInfo"; - value: Uint8Array; -} -/** Source information used to create a Service Config */ -export interface SourceInfoAmino { - /** All files used during config generation. */ - source_files: AnyAmino[]; -} -export interface SourceInfoAminoMsg { - type: "/google.api.SourceInfo"; - value: SourceInfoAmino; -} -/** Source information used to create a Service Config */ -export interface SourceInfoSDKType { - source_files: AnySDKType[]; -} -function createBaseSourceInfo(): SourceInfo { - return { - sourceFiles: [] - }; -} -export const SourceInfo = { - typeUrl: "/google.api.SourceInfo", - encode(message: SourceInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.sourceFiles) { - Any.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SourceInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourceInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sourceFiles.push(Any.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SourceInfo { - const obj = createBaseSourceInfo(); - if (Array.isArray(object?.sourceFiles)) obj.sourceFiles = object.sourceFiles.map((e: any) => Any.fromJSON(e)); - return obj; - }, - toJSON(message: SourceInfo): unknown { - const obj: any = {}; - if (message.sourceFiles) { - obj.sourceFiles = message.sourceFiles.map(e => e ? Any.toJSON(e) : undefined); - } else { - obj.sourceFiles = []; - } - return obj; - }, - fromPartial(object: DeepPartial): SourceInfo { - const message = createBaseSourceInfo(); - message.sourceFiles = object.sourceFiles?.map(e => Any.fromPartial(e)) || []; - return message; - }, - fromSDK(object: SourceInfoSDKType): SourceInfo { - return { - sourceFiles: Array.isArray(object?.source_files) ? object.source_files.map((e: any) => Any.fromSDK(e)) : [] - }; - }, - toSDK(message: SourceInfo): SourceInfoSDKType { - const obj: any = {}; - if (message.sourceFiles) { - obj.source_files = message.sourceFiles.map(e => e ? Any.toSDK(e) : undefined); - } else { - obj.source_files = []; - } - return obj; - }, - fromAmino(object: SourceInfoAmino): SourceInfo { - return { - sourceFiles: Array.isArray(object?.source_files) ? object.source_files.map((e: any) => Any.fromAmino(e)) : [] - }; - }, - toAmino(message: SourceInfo): SourceInfoAmino { - const obj: any = {}; - if (message.sourceFiles) { - obj.source_files = message.sourceFiles.map(e => e ? Any.toAmino(e) : undefined); - } else { - obj.source_files = []; - } - return obj; - }, - fromAminoMsg(object: SourceInfoAminoMsg): SourceInfo { - return SourceInfo.fromAmino(object.value); - }, - fromProtoMsg(message: SourceInfoProtoMsg): SourceInfo { - return SourceInfo.decode(message.value); - }, - toProto(message: SourceInfo): Uint8Array { - return SourceInfo.encode(message).finish(); - }, - toProtoMsg(message: SourceInfo): SourceInfoProtoMsg { - return { - typeUrl: "/google.api.SourceInfo", - value: SourceInfo.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/system_parameter.ts b/quicksilverjs/src/codegen/google/api/system_parameter.ts deleted file mode 100644 index a1a9eca7e..000000000 --- a/quicksilverjs/src/codegen/google/api/system_parameter.ts +++ /dev/null @@ -1,529 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * ### System parameter configuration - * - * A system parameter is a special kind of parameter defined by the API - * system, not by an individual API. It is typically mapped to an HTTP header - * and/or a URL query parameter. This configuration specifies which methods - * change the names of the system parameters. - */ -export interface SystemParameters { - /** - * Define system parameters. - * - * The parameters defined here will override the default parameters - * implemented by the system. If this field is missing from the service - * config, default system parameters will be used. Default system parameters - * and names is implementation-dependent. - * - * Example: define api key for all methods - * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key - * - * - * Example: define 2 api key names for a specific method. - * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: SystemParameterRule[]; -} -export interface SystemParametersProtoMsg { - typeUrl: "/google.api.SystemParameters"; - value: Uint8Array; -} -/** - * ### System parameter configuration - * - * A system parameter is a special kind of parameter defined by the API - * system, not by an individual API. It is typically mapped to an HTTP header - * and/or a URL query parameter. This configuration specifies which methods - * change the names of the system parameters. - */ -export interface SystemParametersAmino { - /** - * Define system parameters. - * - * The parameters defined here will override the default parameters - * implemented by the system. If this field is missing from the service - * config, default system parameters will be used. Default system parameters - * and names is implementation-dependent. - * - * Example: define api key for all methods - * - * system_parameters - * rules: - * - selector: "*" - * parameters: - * - name: api_key - * url_query_parameter: api_key - * - * - * Example: define 2 api key names for a specific method. - * - * system_parameters - * rules: - * - selector: "/ListShelves" - * parameters: - * - name: api_key - * http_header: Api-Key1 - * - name: api_key - * http_header: Api-Key2 - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: SystemParameterRuleAmino[]; -} -export interface SystemParametersAminoMsg { - type: "/google.api.SystemParameters"; - value: SystemParametersAmino; -} -/** - * ### System parameter configuration - * - * A system parameter is a special kind of parameter defined by the API - * system, not by an individual API. It is typically mapped to an HTTP header - * and/or a URL query parameter. This configuration specifies which methods - * change the names of the system parameters. - */ -export interface SystemParametersSDKType { - rules: SystemParameterRuleSDKType[]; -} -/** - * Define a system parameter rule mapping system parameter definitions to - * methods. - */ -export interface SystemParameterRule { - /** - * Selects the methods to which this rule applies. Use '*' to indicate all - * methods in all APIs. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * Define parameters. Multiple names may be defined for a parameter. - * For a given method call, only one of them should be used. If multiple - * names are used the behavior is implementation-dependent. - * If none of the specified names are present the behavior is - * parameter-dependent. - */ - parameters: SystemParameter[]; -} -export interface SystemParameterRuleProtoMsg { - typeUrl: "/google.api.SystemParameterRule"; - value: Uint8Array; -} -/** - * Define a system parameter rule mapping system parameter definitions to - * methods. - */ -export interface SystemParameterRuleAmino { - /** - * Selects the methods to which this rule applies. Use '*' to indicate all - * methods in all APIs. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * Define parameters. Multiple names may be defined for a parameter. - * For a given method call, only one of them should be used. If multiple - * names are used the behavior is implementation-dependent. - * If none of the specified names are present the behavior is - * parameter-dependent. - */ - parameters: SystemParameterAmino[]; -} -export interface SystemParameterRuleAminoMsg { - type: "/google.api.SystemParameterRule"; - value: SystemParameterRuleAmino; -} -/** - * Define a system parameter rule mapping system parameter definitions to - * methods. - */ -export interface SystemParameterRuleSDKType { - selector: string; - parameters: SystemParameterSDKType[]; -} -/** - * Define a parameter's name and location. The parameter may be passed as either - * an HTTP header or a URL query parameter, and if both are passed the behavior - * is implementation-dependent. - */ -export interface SystemParameter { - /** Define the name of the parameter, such as "api_key" . It is case sensitive. */ - name: string; - /** - * Define the HTTP header name to use for the parameter. It is case - * insensitive. - */ - httpHeader: string; - /** - * Define the URL query parameter name to use for the parameter. It is case - * sensitive. - */ - urlQueryParameter: string; -} -export interface SystemParameterProtoMsg { - typeUrl: "/google.api.SystemParameter"; - value: Uint8Array; -} -/** - * Define a parameter's name and location. The parameter may be passed as either - * an HTTP header or a URL query parameter, and if both are passed the behavior - * is implementation-dependent. - */ -export interface SystemParameterAmino { - /** Define the name of the parameter, such as "api_key" . It is case sensitive. */ - name: string; - /** - * Define the HTTP header name to use for the parameter. It is case - * insensitive. - */ - http_header: string; - /** - * Define the URL query parameter name to use for the parameter. It is case - * sensitive. - */ - url_query_parameter: string; -} -export interface SystemParameterAminoMsg { - type: "/google.api.SystemParameter"; - value: SystemParameterAmino; -} -/** - * Define a parameter's name and location. The parameter may be passed as either - * an HTTP header or a URL query parameter, and if both are passed the behavior - * is implementation-dependent. - */ -export interface SystemParameterSDKType { - name: string; - http_header: string; - url_query_parameter: string; -} -function createBaseSystemParameters(): SystemParameters { - return { - rules: [] - }; -} -export const SystemParameters = { - typeUrl: "/google.api.SystemParameters", - encode(message: SystemParameters, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rules) { - SystemParameterRule.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SystemParameters { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSystemParameters(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rules.push(SystemParameterRule.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SystemParameters { - const obj = createBaseSystemParameters(); - if (Array.isArray(object?.rules)) obj.rules = object.rules.map((e: any) => SystemParameterRule.fromJSON(e)); - return obj; - }, - toJSON(message: SystemParameters): unknown { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? SystemParameterRule.toJSON(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromPartial(object: DeepPartial): SystemParameters { - const message = createBaseSystemParameters(); - message.rules = object.rules?.map(e => SystemParameterRule.fromPartial(e)) || []; - return message; - }, - fromSDK(object: SystemParametersSDKType): SystemParameters { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => SystemParameterRule.fromSDK(e)) : [] - }; - }, - toSDK(message: SystemParameters): SystemParametersSDKType { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? SystemParameterRule.toSDK(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromAmino(object: SystemParametersAmino): SystemParameters { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => SystemParameterRule.fromAmino(e)) : [] - }; - }, - toAmino(message: SystemParameters): SystemParametersAmino { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? SystemParameterRule.toAmino(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromAminoMsg(object: SystemParametersAminoMsg): SystemParameters { - return SystemParameters.fromAmino(object.value); - }, - fromProtoMsg(message: SystemParametersProtoMsg): SystemParameters { - return SystemParameters.decode(message.value); - }, - toProto(message: SystemParameters): Uint8Array { - return SystemParameters.encode(message).finish(); - }, - toProtoMsg(message: SystemParameters): SystemParametersProtoMsg { - return { - typeUrl: "/google.api.SystemParameters", - value: SystemParameters.encode(message).finish() - }; - } -}; -function createBaseSystemParameterRule(): SystemParameterRule { - return { - selector: "", - parameters: [] - }; -} -export const SystemParameterRule = { - typeUrl: "/google.api.SystemParameterRule", - encode(message: SystemParameterRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.selector !== "") { - writer.uint32(10).string(message.selector); - } - for (const v of message.parameters) { - SystemParameter.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SystemParameterRule { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSystemParameterRule(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - message.parameters.push(SystemParameter.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SystemParameterRule { - const obj = createBaseSystemParameterRule(); - if (isSet(object.selector)) obj.selector = String(object.selector); - if (Array.isArray(object?.parameters)) obj.parameters = object.parameters.map((e: any) => SystemParameter.fromJSON(e)); - return obj; - }, - toJSON(message: SystemParameterRule): unknown { - const obj: any = {}; - message.selector !== undefined && (obj.selector = message.selector); - if (message.parameters) { - obj.parameters = message.parameters.map(e => e ? SystemParameter.toJSON(e) : undefined); - } else { - obj.parameters = []; - } - return obj; - }, - fromPartial(object: DeepPartial): SystemParameterRule { - const message = createBaseSystemParameterRule(); - message.selector = object.selector ?? ""; - message.parameters = object.parameters?.map(e => SystemParameter.fromPartial(e)) || []; - return message; - }, - fromSDK(object: SystemParameterRuleSDKType): SystemParameterRule { - return { - selector: object?.selector, - parameters: Array.isArray(object?.parameters) ? object.parameters.map((e: any) => SystemParameter.fromSDK(e)) : [] - }; - }, - toSDK(message: SystemParameterRule): SystemParameterRuleSDKType { - const obj: any = {}; - obj.selector = message.selector; - if (message.parameters) { - obj.parameters = message.parameters.map(e => e ? SystemParameter.toSDK(e) : undefined); - } else { - obj.parameters = []; - } - return obj; - }, - fromAmino(object: SystemParameterRuleAmino): SystemParameterRule { - return { - selector: object.selector, - parameters: Array.isArray(object?.parameters) ? object.parameters.map((e: any) => SystemParameter.fromAmino(e)) : [] - }; - }, - toAmino(message: SystemParameterRule): SystemParameterRuleAmino { - const obj: any = {}; - obj.selector = message.selector; - if (message.parameters) { - obj.parameters = message.parameters.map(e => e ? SystemParameter.toAmino(e) : undefined); - } else { - obj.parameters = []; - } - return obj; - }, - fromAminoMsg(object: SystemParameterRuleAminoMsg): SystemParameterRule { - return SystemParameterRule.fromAmino(object.value); - }, - fromProtoMsg(message: SystemParameterRuleProtoMsg): SystemParameterRule { - return SystemParameterRule.decode(message.value); - }, - toProto(message: SystemParameterRule): Uint8Array { - return SystemParameterRule.encode(message).finish(); - }, - toProtoMsg(message: SystemParameterRule): SystemParameterRuleProtoMsg { - return { - typeUrl: "/google.api.SystemParameterRule", - value: SystemParameterRule.encode(message).finish() - }; - } -}; -function createBaseSystemParameter(): SystemParameter { - return { - name: "", - httpHeader: "", - urlQueryParameter: "" - }; -} -export const SystemParameter = { - typeUrl: "/google.api.SystemParameter", - encode(message: SystemParameter, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.httpHeader !== "") { - writer.uint32(18).string(message.httpHeader); - } - if (message.urlQueryParameter !== "") { - writer.uint32(26).string(message.urlQueryParameter); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SystemParameter { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSystemParameter(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.httpHeader = reader.string(); - break; - case 3: - message.urlQueryParameter = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SystemParameter { - const obj = createBaseSystemParameter(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.httpHeader)) obj.httpHeader = String(object.httpHeader); - if (isSet(object.urlQueryParameter)) obj.urlQueryParameter = String(object.urlQueryParameter); - return obj; - }, - toJSON(message: SystemParameter): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.httpHeader !== undefined && (obj.httpHeader = message.httpHeader); - message.urlQueryParameter !== undefined && (obj.urlQueryParameter = message.urlQueryParameter); - return obj; - }, - fromPartial(object: DeepPartial): SystemParameter { - const message = createBaseSystemParameter(); - message.name = object.name ?? ""; - message.httpHeader = object.httpHeader ?? ""; - message.urlQueryParameter = object.urlQueryParameter ?? ""; - return message; - }, - fromSDK(object: SystemParameterSDKType): SystemParameter { - return { - name: object?.name, - httpHeader: object?.http_header, - urlQueryParameter: object?.url_query_parameter - }; - }, - toSDK(message: SystemParameter): SystemParameterSDKType { - const obj: any = {}; - obj.name = message.name; - obj.http_header = message.httpHeader; - obj.url_query_parameter = message.urlQueryParameter; - return obj; - }, - fromAmino(object: SystemParameterAmino): SystemParameter { - return { - name: object.name, - httpHeader: object.http_header, - urlQueryParameter: object.url_query_parameter - }; - }, - toAmino(message: SystemParameter): SystemParameterAmino { - const obj: any = {}; - obj.name = message.name; - obj.http_header = message.httpHeader; - obj.url_query_parameter = message.urlQueryParameter; - return obj; - }, - fromAminoMsg(object: SystemParameterAminoMsg): SystemParameter { - return SystemParameter.fromAmino(object.value); - }, - fromProtoMsg(message: SystemParameterProtoMsg): SystemParameter { - return SystemParameter.decode(message.value); - }, - toProto(message: SystemParameter): Uint8Array { - return SystemParameter.encode(message).finish(); - }, - toProtoMsg(message: SystemParameter): SystemParameterProtoMsg { - return { - typeUrl: "/google.api.SystemParameter", - value: SystemParameter.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/usage.ts b/quicksilverjs/src/codegen/google/api/usage.ts deleted file mode 100644 index 705a74a18..000000000 --- a/quicksilverjs/src/codegen/google/api/usage.ts +++ /dev/null @@ -1,459 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.api"; -/** Configuration controlling usage of a service. */ -export interface Usage { - /** - * Requirements that must be satisfied before a consumer project can use the - * service. Each requirement is of the form /; - * for example 'serviceusage.googleapis.com/billing-enabled'. - * - * For Google APIs, a Terms of Service requirement must be included here. - * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". - * Other Google APIs should include - * "serviceusage.googleapis.com/tos/universal". Additional ToS can be - * included based on the business needs. - */ - requirements: string[]; - /** - * A list of usage rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: UsageRule[]; - /** - * The full resource name of a channel used for sending notifications to the - * service producer. - * - * Google Service Management currently only supports - * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification - * channel. To use Google Cloud Pub/Sub as the channel, this must be the name - * of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format - * documented in https://cloud.google.com/pubsub/docs/overview. - */ - producerNotificationChannel: string; -} -export interface UsageProtoMsg { - typeUrl: "/google.api.Usage"; - value: Uint8Array; -} -/** Configuration controlling usage of a service. */ -export interface UsageAmino { - /** - * Requirements that must be satisfied before a consumer project can use the - * service. Each requirement is of the form /; - * for example 'serviceusage.googleapis.com/billing-enabled'. - * - * For Google APIs, a Terms of Service requirement must be included here. - * Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". - * Other Google APIs should include - * "serviceusage.googleapis.com/tos/universal". Additional ToS can be - * included based on the business needs. - */ - requirements: string[]; - /** - * A list of usage rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: UsageRuleAmino[]; - /** - * The full resource name of a channel used for sending notifications to the - * service producer. - * - * Google Service Management currently only supports - * [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification - * channel. To use Google Cloud Pub/Sub as the channel, this must be the name - * of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format - * documented in https://cloud.google.com/pubsub/docs/overview. - */ - producer_notification_channel: string; -} -export interface UsageAminoMsg { - type: "/google.api.Usage"; - value: UsageAmino; -} -/** Configuration controlling usage of a service. */ -export interface UsageSDKType { - requirements: string[]; - rules: UsageRuleSDKType[]; - producer_notification_channel: string; -} -/** - * Usage configuration rules for the service. - * - * NOTE: Under development. - * - * - * Use this rule to configure unregistered calls for the service. Unregistered - * calls are calls that do not contain consumer project identity. - * (Example: calls that do not contain an API key). - * By default, API methods do not allow unregistered calls, and each method call - * must be identified by a consumer project identity. Use this rule to - * allow/disallow unregistered calls. - * - * Example of an API that wants to allow unregistered calls for entire service. - * - * usage: - * rules: - * - selector: "*" - * allow_unregistered_calls: true - * - * Example of a method that wants to allow unregistered calls. - * - * usage: - * rules: - * - selector: "google.example.library.v1.LibraryService.CreateBook" - * allow_unregistered_calls: true - */ -export interface UsageRule { - /** - * Selects the methods to which this rule applies. Use '*' to indicate all - * methods in all APIs. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * If true, the selected method allows unregistered calls, e.g. calls - * that don't identify any user or application. - */ - allowUnregisteredCalls: boolean; - /** - * If true, the selected method should skip service control and the control - * plane features, such as quota and billing, will not be available. - * This flag is used by Google Cloud Endpoints to bypass checks for internal - * methods, such as service health check methods. - */ - skipServiceControl: boolean; -} -export interface UsageRuleProtoMsg { - typeUrl: "/google.api.UsageRule"; - value: Uint8Array; -} -/** - * Usage configuration rules for the service. - * - * NOTE: Under development. - * - * - * Use this rule to configure unregistered calls for the service. Unregistered - * calls are calls that do not contain consumer project identity. - * (Example: calls that do not contain an API key). - * By default, API methods do not allow unregistered calls, and each method call - * must be identified by a consumer project identity. Use this rule to - * allow/disallow unregistered calls. - * - * Example of an API that wants to allow unregistered calls for entire service. - * - * usage: - * rules: - * - selector: "*" - * allow_unregistered_calls: true - * - * Example of a method that wants to allow unregistered calls. - * - * usage: - * rules: - * - selector: "google.example.library.v1.LibraryService.CreateBook" - * allow_unregistered_calls: true - */ -export interface UsageRuleAmino { - /** - * Selects the methods to which this rule applies. Use '*' to indicate all - * methods in all APIs. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * If true, the selected method allows unregistered calls, e.g. calls - * that don't identify any user or application. - */ - allow_unregistered_calls: boolean; - /** - * If true, the selected method should skip service control and the control - * plane features, such as quota and billing, will not be available. - * This flag is used by Google Cloud Endpoints to bypass checks for internal - * methods, such as service health check methods. - */ - skip_service_control: boolean; -} -export interface UsageRuleAminoMsg { - type: "/google.api.UsageRule"; - value: UsageRuleAmino; -} -/** - * Usage configuration rules for the service. - * - * NOTE: Under development. - * - * - * Use this rule to configure unregistered calls for the service. Unregistered - * calls are calls that do not contain consumer project identity. - * (Example: calls that do not contain an API key). - * By default, API methods do not allow unregistered calls, and each method call - * must be identified by a consumer project identity. Use this rule to - * allow/disallow unregistered calls. - * - * Example of an API that wants to allow unregistered calls for entire service. - * - * usage: - * rules: - * - selector: "*" - * allow_unregistered_calls: true - * - * Example of a method that wants to allow unregistered calls. - * - * usage: - * rules: - * - selector: "google.example.library.v1.LibraryService.CreateBook" - * allow_unregistered_calls: true - */ -export interface UsageRuleSDKType { - selector: string; - allow_unregistered_calls: boolean; - skip_service_control: boolean; -} -function createBaseUsage(): Usage { - return { - requirements: [], - rules: [], - producerNotificationChannel: "" - }; -} -export const Usage = { - typeUrl: "/google.api.Usage", - encode(message: Usage, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.requirements) { - writer.uint32(10).string(v!); - } - for (const v of message.rules) { - UsageRule.encode(v!, writer.uint32(50).fork()).ldelim(); - } - if (message.producerNotificationChannel !== "") { - writer.uint32(58).string(message.producerNotificationChannel); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Usage { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUsage(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.requirements.push(reader.string()); - break; - case 6: - message.rules.push(UsageRule.decode(reader, reader.uint32())); - break; - case 7: - message.producerNotificationChannel = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Usage { - const obj = createBaseUsage(); - if (Array.isArray(object?.requirements)) obj.requirements = object.requirements.map((e: any) => String(e)); - if (Array.isArray(object?.rules)) obj.rules = object.rules.map((e: any) => UsageRule.fromJSON(e)); - if (isSet(object.producerNotificationChannel)) obj.producerNotificationChannel = String(object.producerNotificationChannel); - return obj; - }, - toJSON(message: Usage): unknown { - const obj: any = {}; - if (message.requirements) { - obj.requirements = message.requirements.map(e => e); - } else { - obj.requirements = []; - } - if (message.rules) { - obj.rules = message.rules.map(e => e ? UsageRule.toJSON(e) : undefined); - } else { - obj.rules = []; - } - message.producerNotificationChannel !== undefined && (obj.producerNotificationChannel = message.producerNotificationChannel); - return obj; - }, - fromPartial(object: DeepPartial): Usage { - const message = createBaseUsage(); - message.requirements = object.requirements?.map(e => e) || []; - message.rules = object.rules?.map(e => UsageRule.fromPartial(e)) || []; - message.producerNotificationChannel = object.producerNotificationChannel ?? ""; - return message; - }, - fromSDK(object: UsageSDKType): Usage { - return { - requirements: Array.isArray(object?.requirements) ? object.requirements.map((e: any) => e) : [], - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => UsageRule.fromSDK(e)) : [], - producerNotificationChannel: object?.producer_notification_channel - }; - }, - toSDK(message: Usage): UsageSDKType { - const obj: any = {}; - if (message.requirements) { - obj.requirements = message.requirements.map(e => e); - } else { - obj.requirements = []; - } - if (message.rules) { - obj.rules = message.rules.map(e => e ? UsageRule.toSDK(e) : undefined); - } else { - obj.rules = []; - } - obj.producer_notification_channel = message.producerNotificationChannel; - return obj; - }, - fromAmino(object: UsageAmino): Usage { - return { - requirements: Array.isArray(object?.requirements) ? object.requirements.map((e: any) => e) : [], - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => UsageRule.fromAmino(e)) : [], - producerNotificationChannel: object.producer_notification_channel - }; - }, - toAmino(message: Usage): UsageAmino { - const obj: any = {}; - if (message.requirements) { - obj.requirements = message.requirements.map(e => e); - } else { - obj.requirements = []; - } - if (message.rules) { - obj.rules = message.rules.map(e => e ? UsageRule.toAmino(e) : undefined); - } else { - obj.rules = []; - } - obj.producer_notification_channel = message.producerNotificationChannel; - return obj; - }, - fromAminoMsg(object: UsageAminoMsg): Usage { - return Usage.fromAmino(object.value); - }, - fromProtoMsg(message: UsageProtoMsg): Usage { - return Usage.decode(message.value); - }, - toProto(message: Usage): Uint8Array { - return Usage.encode(message).finish(); - }, - toProtoMsg(message: Usage): UsageProtoMsg { - return { - typeUrl: "/google.api.Usage", - value: Usage.encode(message).finish() - }; - } -}; -function createBaseUsageRule(): UsageRule { - return { - selector: "", - allowUnregisteredCalls: false, - skipServiceControl: false - }; -} -export const UsageRule = { - typeUrl: "/google.api.UsageRule", - encode(message: UsageRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.selector !== "") { - writer.uint32(10).string(message.selector); - } - if (message.allowUnregisteredCalls === true) { - writer.uint32(16).bool(message.allowUnregisteredCalls); - } - if (message.skipServiceControl === true) { - writer.uint32(24).bool(message.skipServiceControl); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UsageRule { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUsageRule(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - message.allowUnregisteredCalls = reader.bool(); - break; - case 3: - message.skipServiceControl = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UsageRule { - const obj = createBaseUsageRule(); - if (isSet(object.selector)) obj.selector = String(object.selector); - if (isSet(object.allowUnregisteredCalls)) obj.allowUnregisteredCalls = Boolean(object.allowUnregisteredCalls); - if (isSet(object.skipServiceControl)) obj.skipServiceControl = Boolean(object.skipServiceControl); - return obj; - }, - toJSON(message: UsageRule): unknown { - const obj: any = {}; - message.selector !== undefined && (obj.selector = message.selector); - message.allowUnregisteredCalls !== undefined && (obj.allowUnregisteredCalls = message.allowUnregisteredCalls); - message.skipServiceControl !== undefined && (obj.skipServiceControl = message.skipServiceControl); - return obj; - }, - fromPartial(object: DeepPartial): UsageRule { - const message = createBaseUsageRule(); - message.selector = object.selector ?? ""; - message.allowUnregisteredCalls = object.allowUnregisteredCalls ?? false; - message.skipServiceControl = object.skipServiceControl ?? false; - return message; - }, - fromSDK(object: UsageRuleSDKType): UsageRule { - return { - selector: object?.selector, - allowUnregisteredCalls: object?.allow_unregistered_calls, - skipServiceControl: object?.skip_service_control - }; - }, - toSDK(message: UsageRule): UsageRuleSDKType { - const obj: any = {}; - obj.selector = message.selector; - obj.allow_unregistered_calls = message.allowUnregisteredCalls; - obj.skip_service_control = message.skipServiceControl; - return obj; - }, - fromAmino(object: UsageRuleAmino): UsageRule { - return { - selector: object.selector, - allowUnregisteredCalls: object.allow_unregistered_calls, - skipServiceControl: object.skip_service_control - }; - }, - toAmino(message: UsageRule): UsageRuleAmino { - const obj: any = {}; - obj.selector = message.selector; - obj.allow_unregistered_calls = message.allowUnregisteredCalls; - obj.skip_service_control = message.skipServiceControl; - return obj; - }, - fromAminoMsg(object: UsageRuleAminoMsg): UsageRule { - return UsageRule.fromAmino(object.value); - }, - fromProtoMsg(message: UsageRuleProtoMsg): UsageRule { - return UsageRule.decode(message.value); - }, - toProto(message: UsageRule): Uint8Array { - return UsageRule.encode(message).finish(); - }, - toProtoMsg(message: UsageRule): UsageRuleProtoMsg { - return { - typeUrl: "/google.api.UsageRule", - value: UsageRule.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/api/visibility.ts b/quicksilverjs/src/codegen/google/api/visibility.ts deleted file mode 100644 index 971c21f06..000000000 --- a/quicksilverjs/src/codegen/google/api/visibility.ts +++ /dev/null @@ -1,366 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, isSet } from "../../helpers"; -export const protobufPackage = "google.api"; -/** - * `Visibility` defines restrictions for the visibility of service - * elements. Restrictions are specified using visibility labels - * (e.g., PREVIEW) that are elsewhere linked to users and projects. - * - * Users and projects can have access to more than one visibility label. The - * effective visibility for multiple labels is the union of each label's - * elements, plus any unrestricted elements. - * - * If an element and its parents have no restrictions, visibility is - * unconditionally granted. - * - * Example: - * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: PREVIEW - * - selector: google.calendar.Calendar.Delegate - * restriction: INTERNAL - * - * Here, all methods are publicly visible except for the restricted methods - * EnhancedSearch and Delegate. - */ -export interface Visibility { - /** - * A list of visibility rules that apply to individual API elements. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: VisibilityRule[]; -} -export interface VisibilityProtoMsg { - typeUrl: "/google.api.Visibility"; - value: Uint8Array; -} -/** - * `Visibility` defines restrictions for the visibility of service - * elements. Restrictions are specified using visibility labels - * (e.g., PREVIEW) that are elsewhere linked to users and projects. - * - * Users and projects can have access to more than one visibility label. The - * effective visibility for multiple labels is the union of each label's - * elements, plus any unrestricted elements. - * - * If an element and its parents have no restrictions, visibility is - * unconditionally granted. - * - * Example: - * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: PREVIEW - * - selector: google.calendar.Calendar.Delegate - * restriction: INTERNAL - * - * Here, all methods are publicly visible except for the restricted methods - * EnhancedSearch and Delegate. - */ -export interface VisibilityAmino { - /** - * A list of visibility rules that apply to individual API elements. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - */ - rules: VisibilityRuleAmino[]; -} -export interface VisibilityAminoMsg { - type: "/google.api.Visibility"; - value: VisibilityAmino; -} -/** - * `Visibility` defines restrictions for the visibility of service - * elements. Restrictions are specified using visibility labels - * (e.g., PREVIEW) that are elsewhere linked to users and projects. - * - * Users and projects can have access to more than one visibility label. The - * effective visibility for multiple labels is the union of each label's - * elements, plus any unrestricted elements. - * - * If an element and its parents have no restrictions, visibility is - * unconditionally granted. - * - * Example: - * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: PREVIEW - * - selector: google.calendar.Calendar.Delegate - * restriction: INTERNAL - * - * Here, all methods are publicly visible except for the restricted methods - * EnhancedSearch and Delegate. - */ -export interface VisibilitySDKType { - rules: VisibilityRuleSDKType[]; -} -/** - * A visibility rule provides visibility configuration for an individual API - * element. - */ -export interface VisibilityRule { - /** - * Selects methods, messages, fields, enums, etc. to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * A comma-separated list of visibility labels that apply to the `selector`. - * Any of the listed labels can be used to grant the visibility. - * - * If a rule has multiple labels, removing one of the labels but not all of - * them can break clients. - * - * Example: - * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: INTERNAL, PREVIEW - * - * Removing INTERNAL from this restriction will break clients that rely on - * this method and only had access to it through INTERNAL. - */ - restriction: string; -} -export interface VisibilityRuleProtoMsg { - typeUrl: "/google.api.VisibilityRule"; - value: Uint8Array; -} -/** - * A visibility rule provides visibility configuration for an individual API - * element. - */ -export interface VisibilityRuleAmino { - /** - * Selects methods, messages, fields, enums, etc. to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax details. - */ - selector: string; - /** - * A comma-separated list of visibility labels that apply to the `selector`. - * Any of the listed labels can be used to grant the visibility. - * - * If a rule has multiple labels, removing one of the labels but not all of - * them can break clients. - * - * Example: - * - * visibility: - * rules: - * - selector: google.calendar.Calendar.EnhancedSearch - * restriction: INTERNAL, PREVIEW - * - * Removing INTERNAL from this restriction will break clients that rely on - * this method and only had access to it through INTERNAL. - */ - restriction: string; -} -export interface VisibilityRuleAminoMsg { - type: "/google.api.VisibilityRule"; - value: VisibilityRuleAmino; -} -/** - * A visibility rule provides visibility configuration for an individual API - * element. - */ -export interface VisibilityRuleSDKType { - selector: string; - restriction: string; -} -function createBaseVisibility(): Visibility { - return { - rules: [] - }; -} -export const Visibility = { - typeUrl: "/google.api.Visibility", - encode(message: Visibility, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.rules) { - VisibilityRule.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Visibility { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVisibility(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.rules.push(VisibilityRule.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Visibility { - const obj = createBaseVisibility(); - if (Array.isArray(object?.rules)) obj.rules = object.rules.map((e: any) => VisibilityRule.fromJSON(e)); - return obj; - }, - toJSON(message: Visibility): unknown { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? VisibilityRule.toJSON(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromPartial(object: DeepPartial): Visibility { - const message = createBaseVisibility(); - message.rules = object.rules?.map(e => VisibilityRule.fromPartial(e)) || []; - return message; - }, - fromSDK(object: VisibilitySDKType): Visibility { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => VisibilityRule.fromSDK(e)) : [] - }; - }, - toSDK(message: Visibility): VisibilitySDKType { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? VisibilityRule.toSDK(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromAmino(object: VisibilityAmino): Visibility { - return { - rules: Array.isArray(object?.rules) ? object.rules.map((e: any) => VisibilityRule.fromAmino(e)) : [] - }; - }, - toAmino(message: Visibility): VisibilityAmino { - const obj: any = {}; - if (message.rules) { - obj.rules = message.rules.map(e => e ? VisibilityRule.toAmino(e) : undefined); - } else { - obj.rules = []; - } - return obj; - }, - fromAminoMsg(object: VisibilityAminoMsg): Visibility { - return Visibility.fromAmino(object.value); - }, - fromProtoMsg(message: VisibilityProtoMsg): Visibility { - return Visibility.decode(message.value); - }, - toProto(message: Visibility): Uint8Array { - return Visibility.encode(message).finish(); - }, - toProtoMsg(message: Visibility): VisibilityProtoMsg { - return { - typeUrl: "/google.api.Visibility", - value: Visibility.encode(message).finish() - }; - } -}; -function createBaseVisibilityRule(): VisibilityRule { - return { - selector: "", - restriction: "" - }; -} -export const VisibilityRule = { - typeUrl: "/google.api.VisibilityRule", - encode(message: VisibilityRule, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.selector !== "") { - writer.uint32(10).string(message.selector); - } - if (message.restriction !== "") { - writer.uint32(18).string(message.restriction); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): VisibilityRule { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVisibilityRule(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - message.restriction = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): VisibilityRule { - const obj = createBaseVisibilityRule(); - if (isSet(object.selector)) obj.selector = String(object.selector); - if (isSet(object.restriction)) obj.restriction = String(object.restriction); - return obj; - }, - toJSON(message: VisibilityRule): unknown { - const obj: any = {}; - message.selector !== undefined && (obj.selector = message.selector); - message.restriction !== undefined && (obj.restriction = message.restriction); - return obj; - }, - fromPartial(object: DeepPartial): VisibilityRule { - const message = createBaseVisibilityRule(); - message.selector = object.selector ?? ""; - message.restriction = object.restriction ?? ""; - return message; - }, - fromSDK(object: VisibilityRuleSDKType): VisibilityRule { - return { - selector: object?.selector, - restriction: object?.restriction - }; - }, - toSDK(message: VisibilityRule): VisibilityRuleSDKType { - const obj: any = {}; - obj.selector = message.selector; - obj.restriction = message.restriction; - return obj; - }, - fromAmino(object: VisibilityRuleAmino): VisibilityRule { - return { - selector: object.selector, - restriction: object.restriction - }; - }, - toAmino(message: VisibilityRule): VisibilityRuleAmino { - const obj: any = {}; - obj.selector = message.selector; - obj.restriction = message.restriction; - return obj; - }, - fromAminoMsg(object: VisibilityRuleAminoMsg): VisibilityRule { - return VisibilityRule.fromAmino(object.value); - }, - fromProtoMsg(message: VisibilityRuleProtoMsg): VisibilityRule { - return VisibilityRule.decode(message.value); - }, - toProto(message: VisibilityRule): Uint8Array { - return VisibilityRule.encode(message).finish(); - }, - toProtoMsg(message: VisibilityRule): VisibilityRuleProtoMsg { - return { - typeUrl: "/google.api.VisibilityRule", - value: VisibilityRule.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/bundle.ts b/quicksilverjs/src/codegen/google/bundle.ts deleted file mode 100644 index 61df7a8c2..000000000 --- a/quicksilverjs/src/codegen/google/bundle.ts +++ /dev/null @@ -1,120 +0,0 @@ -import * as _101 from "./api/annotations"; -import * as _102 from "./api/auth"; -import * as _103 from "./api/backend"; -import * as _104 from "./api/billing"; -import * as _105 from "./api/client"; -import * as _106 from "./api/config_change"; -import * as _107 from "./api/consumer"; -import * as _108 from "./api/context"; -import * as _109 from "./api/control"; -import * as _110 from "./api/distribution"; -import * as _111 from "./api/documentation"; -import * as _112 from "./api/endpoint"; -import * as _113 from "./api/error_reason"; -import * as _114 from "./api/field_behavior"; -import * as _115 from "./api/http"; -import * as _116 from "./api/httpbody"; -import * as _117 from "./api/label"; -import * as _118 from "./api/launch_stage"; -import * as _119 from "./api/log"; -import * as _120 from "./api/logging"; -import * as _121 from "./api/metric"; -import * as _122 from "./api/monitored_resource"; -import * as _123 from "./api/monitoring"; -import * as _124 from "./api/quota"; -import * as _125 from "./api/resource"; -import * as _126 from "./api/routing"; -import * as _127 from "./api/service"; -import * as _128 from "./api/source_info"; -import * as _129 from "./api/system_parameter"; -import * as _130 from "./api/usage"; -import * as _131 from "./api/visibility"; -import * as _132 from "./logging/type/http_request"; -import * as _133 from "./logging/type/log_severity"; -import * as _134 from "./logging/v2/log_entry"; -import * as _135 from "./logging/v2/logging_config"; -import * as _136 from "./logging/v2/logging_metrics"; -import * as _137 from "./logging/v2/logging"; -import * as _138 from "./longrunning/operations"; -import * as _139 from "./protobuf/any"; -import * as _140 from "./protobuf/api"; -import * as _141 from "./protobuf/descriptor"; -import * as _142 from "./protobuf/duration"; -import * as _143 from "./protobuf/empty"; -import * as _144 from "./protobuf/field_mask"; -import * as _145 from "./protobuf/source_context"; -import * as _146 from "./protobuf/struct"; -import * as _147 from "./protobuf/timestamp"; -import * as _148 from "./protobuf/type"; -import * as _149 from "./protobuf/wrappers"; -import * as _150 from "./rpc/code"; -import * as _151 from "./rpc/error_details"; -import * as _152 from "./rpc/status"; -export namespace google { - export const api = { - ..._101, - ..._102, - ..._103, - ..._104, - ..._105, - ..._106, - ..._107, - ..._108, - ..._109, - ..._110, - ..._111, - ..._112, - ..._113, - ..._114, - ..._115, - ..._116, - ..._117, - ..._118, - ..._119, - ..._120, - ..._121, - ..._122, - ..._123, - ..._124, - ..._125, - ..._126, - ..._127, - ..._128, - ..._129, - ..._130, - ..._131 - }; - export namespace logging { - export const type = { - ..._132, - ..._133 - }; - export const v2 = { - ..._134, - ..._135, - ..._136, - ..._137 - }; - } - export const longrunning = { - ..._138 - }; - export const protobuf = { - ..._139, - ..._140, - ..._141, - ..._142, - ..._143, - ..._144, - ..._145, - ..._146, - ..._147, - ..._148, - ..._149 - }; - export const rpc = { - ..._150, - ..._151, - ..._152 - }; -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/logging/type/http_request.ts b/quicksilverjs/src/codegen/google/logging/type/http_request.ts deleted file mode 100644 index c1461b39f..000000000 --- a/quicksilverjs/src/codegen/google/logging/type/http_request.ts +++ /dev/null @@ -1,477 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../../protobuf/duration"; -import { Long, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.logging.type"; -/** - * A common proto for logging HTTP requests. Only contains semantics - * defined by the HTTP specification. Product-specific logging - * information MUST be defined in a separate message. - */ -export interface HttpRequest { - /** The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. */ - requestMethod: string; - /** - * The scheme (http, https), the host name, the path and the query - * portion of the URL that was requested. - * Example: `"http://example.com/some/info?color=red"`. - */ - requestUrl: string; - /** - * The size of the HTTP request message in bytes, including the request - * headers and the request body. - */ - requestSize: Long; - /** - * The response code indicating the status of response. - * Examples: 200, 404. - */ - status: number; - /** - * The size of the HTTP response message sent back to the client, in bytes, - * including the response headers and the response body. - */ - responseSize: Long; - /** - * The user agent sent by the client. Example: - * `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET - * CLR 1.0.3705)"`. - */ - userAgent: string; - /** - * The IP address (IPv4 or IPv6) of the client that issued the HTTP - * request. This field can include port information. Examples: - * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`. - */ - remoteIp: string; - /** - * The IP address (IPv4 or IPv6) of the origin server that the request was - * sent to. This field can include port information. Examples: - * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`. - */ - serverIp: string; - /** - * The referer URL of the request, as defined in - * [HTTP/1.1 Header Field - * Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). - */ - referer: string; - /** - * The request processing latency on the server, from the time the request was - * received until the response was sent. - */ - latency: Duration; - /** Whether or not a cache lookup was attempted. */ - cacheLookup: boolean; - /** - * Whether or not an entity was served from cache - * (with or without validation). - */ - cacheHit: boolean; - /** - * Whether or not the response was validated with the origin server before - * being served from cache. This field is only meaningful if `cache_hit` is - * True. - */ - cacheValidatedWithOriginServer: boolean; - /** - * The number of HTTP response bytes inserted into cache. Set only when a - * cache fill was attempted. - */ - cacheFillBytes: Long; - /** Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" */ - protocol: string; -} -export interface HttpRequestProtoMsg { - typeUrl: "/google.logging.type.HttpRequest"; - value: Uint8Array; -} -/** - * A common proto for logging HTTP requests. Only contains semantics - * defined by the HTTP specification. Product-specific logging - * information MUST be defined in a separate message. - */ -export interface HttpRequestAmino { - /** The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. */ - request_method: string; - /** - * The scheme (http, https), the host name, the path and the query - * portion of the URL that was requested. - * Example: `"http://example.com/some/info?color=red"`. - */ - request_url: string; - /** - * The size of the HTTP request message in bytes, including the request - * headers and the request body. - */ - request_size: string; - /** - * The response code indicating the status of response. - * Examples: 200, 404. - */ - status: number; - /** - * The size of the HTTP response message sent back to the client, in bytes, - * including the response headers and the response body. - */ - response_size: string; - /** - * The user agent sent by the client. Example: - * `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET - * CLR 1.0.3705)"`. - */ - user_agent: string; - /** - * The IP address (IPv4 or IPv6) of the client that issued the HTTP - * request. This field can include port information. Examples: - * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`. - */ - remote_ip: string; - /** - * The IP address (IPv4 or IPv6) of the origin server that the request was - * sent to. This field can include port information. Examples: - * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`. - */ - server_ip: string; - /** - * The referer URL of the request, as defined in - * [HTTP/1.1 Header Field - * Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). - */ - referer: string; - /** - * The request processing latency on the server, from the time the request was - * received until the response was sent. - */ - latency?: DurationAmino; - /** Whether or not a cache lookup was attempted. */ - cache_lookup: boolean; - /** - * Whether or not an entity was served from cache - * (with or without validation). - */ - cache_hit: boolean; - /** - * Whether or not the response was validated with the origin server before - * being served from cache. This field is only meaningful if `cache_hit` is - * True. - */ - cache_validated_with_origin_server: boolean; - /** - * The number of HTTP response bytes inserted into cache. Set only when a - * cache fill was attempted. - */ - cache_fill_bytes: string; - /** Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" */ - protocol: string; -} -export interface HttpRequestAminoMsg { - type: "/google.logging.type.HttpRequest"; - value: HttpRequestAmino; -} -/** - * A common proto for logging HTTP requests. Only contains semantics - * defined by the HTTP specification. Product-specific logging - * information MUST be defined in a separate message. - */ -export interface HttpRequestSDKType { - request_method: string; - request_url: string; - request_size: Long; - status: number; - response_size: Long; - user_agent: string; - remote_ip: string; - server_ip: string; - referer: string; - latency: DurationSDKType; - cache_lookup: boolean; - cache_hit: boolean; - cache_validated_with_origin_server: boolean; - cache_fill_bytes: Long; - protocol: string; -} -function createBaseHttpRequest(): HttpRequest { - return { - requestMethod: "", - requestUrl: "", - requestSize: Long.ZERO, - status: 0, - responseSize: Long.ZERO, - userAgent: "", - remoteIp: "", - serverIp: "", - referer: "", - latency: Duration.fromPartial({}), - cacheLookup: false, - cacheHit: false, - cacheValidatedWithOriginServer: false, - cacheFillBytes: Long.ZERO, - protocol: "" - }; -} -export const HttpRequest = { - typeUrl: "/google.logging.type.HttpRequest", - encode(message: HttpRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.requestMethod !== "") { - writer.uint32(10).string(message.requestMethod); - } - if (message.requestUrl !== "") { - writer.uint32(18).string(message.requestUrl); - } - if (!message.requestSize.isZero()) { - writer.uint32(24).int64(message.requestSize); - } - if (message.status !== 0) { - writer.uint32(32).int32(message.status); - } - if (!message.responseSize.isZero()) { - writer.uint32(40).int64(message.responseSize); - } - if (message.userAgent !== "") { - writer.uint32(50).string(message.userAgent); - } - if (message.remoteIp !== "") { - writer.uint32(58).string(message.remoteIp); - } - if (message.serverIp !== "") { - writer.uint32(106).string(message.serverIp); - } - if (message.referer !== "") { - writer.uint32(66).string(message.referer); - } - if (message.latency !== undefined) { - Duration.encode(message.latency, writer.uint32(114).fork()).ldelim(); - } - if (message.cacheLookup === true) { - writer.uint32(88).bool(message.cacheLookup); - } - if (message.cacheHit === true) { - writer.uint32(72).bool(message.cacheHit); - } - if (message.cacheValidatedWithOriginServer === true) { - writer.uint32(80).bool(message.cacheValidatedWithOriginServer); - } - if (!message.cacheFillBytes.isZero()) { - writer.uint32(96).int64(message.cacheFillBytes); - } - if (message.protocol !== "") { - writer.uint32(122).string(message.protocol); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): HttpRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseHttpRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.requestMethod = reader.string(); - break; - case 2: - message.requestUrl = reader.string(); - break; - case 3: - message.requestSize = (reader.int64() as Long); - break; - case 4: - message.status = reader.int32(); - break; - case 5: - message.responseSize = (reader.int64() as Long); - break; - case 6: - message.userAgent = reader.string(); - break; - case 7: - message.remoteIp = reader.string(); - break; - case 13: - message.serverIp = reader.string(); - break; - case 8: - message.referer = reader.string(); - break; - case 14: - message.latency = Duration.decode(reader, reader.uint32()); - break; - case 11: - message.cacheLookup = reader.bool(); - break; - case 9: - message.cacheHit = reader.bool(); - break; - case 10: - message.cacheValidatedWithOriginServer = reader.bool(); - break; - case 12: - message.cacheFillBytes = (reader.int64() as Long); - break; - case 15: - message.protocol = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): HttpRequest { - const obj = createBaseHttpRequest(); - if (isSet(object.requestMethod)) obj.requestMethod = String(object.requestMethod); - if (isSet(object.requestUrl)) obj.requestUrl = String(object.requestUrl); - if (isSet(object.requestSize)) obj.requestSize = Long.fromValue(object.requestSize); - if (isSet(object.status)) obj.status = Number(object.status); - if (isSet(object.responseSize)) obj.responseSize = Long.fromValue(object.responseSize); - if (isSet(object.userAgent)) obj.userAgent = String(object.userAgent); - if (isSet(object.remoteIp)) obj.remoteIp = String(object.remoteIp); - if (isSet(object.serverIp)) obj.serverIp = String(object.serverIp); - if (isSet(object.referer)) obj.referer = String(object.referer); - if (isSet(object.latency)) obj.latency = Duration.fromJSON(object.latency); - if (isSet(object.cacheLookup)) obj.cacheLookup = Boolean(object.cacheLookup); - if (isSet(object.cacheHit)) obj.cacheHit = Boolean(object.cacheHit); - if (isSet(object.cacheValidatedWithOriginServer)) obj.cacheValidatedWithOriginServer = Boolean(object.cacheValidatedWithOriginServer); - if (isSet(object.cacheFillBytes)) obj.cacheFillBytes = Long.fromValue(object.cacheFillBytes); - if (isSet(object.protocol)) obj.protocol = String(object.protocol); - return obj; - }, - toJSON(message: HttpRequest): unknown { - const obj: any = {}; - message.requestMethod !== undefined && (obj.requestMethod = message.requestMethod); - message.requestUrl !== undefined && (obj.requestUrl = message.requestUrl); - message.requestSize !== undefined && (obj.requestSize = (message.requestSize || Long.ZERO).toString()); - message.status !== undefined && (obj.status = Math.round(message.status)); - message.responseSize !== undefined && (obj.responseSize = (message.responseSize || Long.ZERO).toString()); - message.userAgent !== undefined && (obj.userAgent = message.userAgent); - message.remoteIp !== undefined && (obj.remoteIp = message.remoteIp); - message.serverIp !== undefined && (obj.serverIp = message.serverIp); - message.referer !== undefined && (obj.referer = message.referer); - message.latency !== undefined && (obj.latency = message.latency ? Duration.toJSON(message.latency) : undefined); - message.cacheLookup !== undefined && (obj.cacheLookup = message.cacheLookup); - message.cacheHit !== undefined && (obj.cacheHit = message.cacheHit); - message.cacheValidatedWithOriginServer !== undefined && (obj.cacheValidatedWithOriginServer = message.cacheValidatedWithOriginServer); - message.cacheFillBytes !== undefined && (obj.cacheFillBytes = (message.cacheFillBytes || Long.ZERO).toString()); - message.protocol !== undefined && (obj.protocol = message.protocol); - return obj; - }, - fromPartial(object: DeepPartial): HttpRequest { - const message = createBaseHttpRequest(); - message.requestMethod = object.requestMethod ?? ""; - message.requestUrl = object.requestUrl ?? ""; - if (object.requestSize !== undefined && object.requestSize !== null) { - message.requestSize = Long.fromValue(object.requestSize); - } - message.status = object.status ?? 0; - if (object.responseSize !== undefined && object.responseSize !== null) { - message.responseSize = Long.fromValue(object.responseSize); - } - message.userAgent = object.userAgent ?? ""; - message.remoteIp = object.remoteIp ?? ""; - message.serverIp = object.serverIp ?? ""; - message.referer = object.referer ?? ""; - if (object.latency !== undefined && object.latency !== null) { - message.latency = Duration.fromPartial(object.latency); - } - message.cacheLookup = object.cacheLookup ?? false; - message.cacheHit = object.cacheHit ?? false; - message.cacheValidatedWithOriginServer = object.cacheValidatedWithOriginServer ?? false; - if (object.cacheFillBytes !== undefined && object.cacheFillBytes !== null) { - message.cacheFillBytes = Long.fromValue(object.cacheFillBytes); - } - message.protocol = object.protocol ?? ""; - return message; - }, - fromSDK(object: HttpRequestSDKType): HttpRequest { - return { - requestMethod: object?.request_method, - requestUrl: object?.request_url, - requestSize: object?.request_size, - status: object?.status, - responseSize: object?.response_size, - userAgent: object?.user_agent, - remoteIp: object?.remote_ip, - serverIp: object?.server_ip, - referer: object?.referer, - latency: object.latency ? Duration.fromSDK(object.latency) : undefined, - cacheLookup: object?.cache_lookup, - cacheHit: object?.cache_hit, - cacheValidatedWithOriginServer: object?.cache_validated_with_origin_server, - cacheFillBytes: object?.cache_fill_bytes, - protocol: object?.protocol - }; - }, - toSDK(message: HttpRequest): HttpRequestSDKType { - const obj: any = {}; - obj.request_method = message.requestMethod; - obj.request_url = message.requestUrl; - obj.request_size = message.requestSize; - obj.status = message.status; - obj.response_size = message.responseSize; - obj.user_agent = message.userAgent; - obj.remote_ip = message.remoteIp; - obj.server_ip = message.serverIp; - obj.referer = message.referer; - message.latency !== undefined && (obj.latency = message.latency ? Duration.toSDK(message.latency) : undefined); - obj.cache_lookup = message.cacheLookup; - obj.cache_hit = message.cacheHit; - obj.cache_validated_with_origin_server = message.cacheValidatedWithOriginServer; - obj.cache_fill_bytes = message.cacheFillBytes; - obj.protocol = message.protocol; - return obj; - }, - fromAmino(object: HttpRequestAmino): HttpRequest { - return { - requestMethod: object.request_method, - requestUrl: object.request_url, - requestSize: Long.fromString(object.request_size), - status: object.status, - responseSize: Long.fromString(object.response_size), - userAgent: object.user_agent, - remoteIp: object.remote_ip, - serverIp: object.server_ip, - referer: object.referer, - latency: object?.latency ? Duration.fromAmino(object.latency) : undefined, - cacheLookup: object.cache_lookup, - cacheHit: object.cache_hit, - cacheValidatedWithOriginServer: object.cache_validated_with_origin_server, - cacheFillBytes: Long.fromString(object.cache_fill_bytes), - protocol: object.protocol - }; - }, - toAmino(message: HttpRequest): HttpRequestAmino { - const obj: any = {}; - obj.request_method = message.requestMethod; - obj.request_url = message.requestUrl; - obj.request_size = message.requestSize ? message.requestSize.toString() : undefined; - obj.status = message.status; - obj.response_size = message.responseSize ? message.responseSize.toString() : undefined; - obj.user_agent = message.userAgent; - obj.remote_ip = message.remoteIp; - obj.server_ip = message.serverIp; - obj.referer = message.referer; - obj.latency = message.latency ? Duration.toAmino(message.latency) : undefined; - obj.cache_lookup = message.cacheLookup; - obj.cache_hit = message.cacheHit; - obj.cache_validated_with_origin_server = message.cacheValidatedWithOriginServer; - obj.cache_fill_bytes = message.cacheFillBytes ? message.cacheFillBytes.toString() : undefined; - obj.protocol = message.protocol; - return obj; - }, - fromAminoMsg(object: HttpRequestAminoMsg): HttpRequest { - return HttpRequest.fromAmino(object.value); - }, - fromProtoMsg(message: HttpRequestProtoMsg): HttpRequest { - return HttpRequest.decode(message.value); - }, - toProto(message: HttpRequest): Uint8Array { - return HttpRequest.encode(message).finish(); - }, - toProtoMsg(message: HttpRequest): HttpRequestProtoMsg { - return { - typeUrl: "/google.logging.type.HttpRequest", - value: HttpRequest.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/logging/type/log_severity.ts b/quicksilverjs/src/codegen/google/logging/type/log_severity.ts deleted file mode 100644 index fce5ebf18..000000000 --- a/quicksilverjs/src/codegen/google/logging/type/log_severity.ts +++ /dev/null @@ -1,104 +0,0 @@ -export const protobufPackage = "google.logging.type"; -/** - * The severity of the event described in a log entry, expressed as one of the - * standard severity levels listed below. For your reference, the levels are - * assigned the listed numeric values. The effect of using numeric values other - * than those listed is undefined. - * - * You can filter for log entries by severity. For example, the following - * filter expression will match log entries with severities `INFO`, `NOTICE`, - * and `WARNING`: - * - * severity > DEBUG AND severity <= WARNING - * - * If you are writing log entries, you should map other severity encodings to - * one of these standard levels. For example, you might map all of Java's FINE, - * FINER, and FINEST levels to `LogSeverity.DEBUG`. You can preserve the - * original severity level in the log entry payload if you wish. - */ -export enum LogSeverity { - /** DEFAULT - (0) The log entry has no assigned severity level. */ - DEFAULT = 0, - /** DEBUG - (100) Debug or trace information. */ - DEBUG = 100, - /** INFO - (200) Routine information, such as ongoing status or performance. */ - INFO = 200, - /** - * NOTICE - (300) Normal but significant events, such as start up, shut down, or - * a configuration change. - */ - NOTICE = 300, - /** WARNING - (400) Warning events might cause problems. */ - WARNING = 400, - /** ERROR - (500) Error events are likely to cause problems. */ - ERROR = 500, - /** CRITICAL - (600) Critical events cause more severe problems or outages. */ - CRITICAL = 600, - /** ALERT - (700) A person must take an action immediately. */ - ALERT = 700, - /** EMERGENCY - (800) One or more systems are unusable. */ - EMERGENCY = 800, - UNRECOGNIZED = -1, -} -export const LogSeveritySDKType = LogSeverity; -export const LogSeverityAmino = LogSeverity; -export function logSeverityFromJSON(object: any): LogSeverity { - switch (object) { - case 0: - case "DEFAULT": - return LogSeverity.DEFAULT; - case 100: - case "DEBUG": - return LogSeverity.DEBUG; - case 200: - case "INFO": - return LogSeverity.INFO; - case 300: - case "NOTICE": - return LogSeverity.NOTICE; - case 400: - case "WARNING": - return LogSeverity.WARNING; - case 500: - case "ERROR": - return LogSeverity.ERROR; - case 600: - case "CRITICAL": - return LogSeverity.CRITICAL; - case 700: - case "ALERT": - return LogSeverity.ALERT; - case 800: - case "EMERGENCY": - return LogSeverity.EMERGENCY; - case -1: - case "UNRECOGNIZED": - default: - return LogSeverity.UNRECOGNIZED; - } -} -export function logSeverityToJSON(object: LogSeverity): string { - switch (object) { - case LogSeverity.DEFAULT: - return "DEFAULT"; - case LogSeverity.DEBUG: - return "DEBUG"; - case LogSeverity.INFO: - return "INFO"; - case LogSeverity.NOTICE: - return "NOTICE"; - case LogSeverity.WARNING: - return "WARNING"; - case LogSeverity.ERROR: - return "ERROR"; - case LogSeverity.CRITICAL: - return "CRITICAL"; - case LogSeverity.ALERT: - return "ALERT"; - case LogSeverity.EMERGENCY: - return "EMERGENCY"; - case LogSeverity.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/logging/v2/log_entry.ts b/quicksilverjs/src/codegen/google/logging/v2/log_entry.ts deleted file mode 100644 index bbc5eed20..000000000 --- a/quicksilverjs/src/codegen/google/logging/v2/log_entry.ts +++ /dev/null @@ -1,1335 +0,0 @@ -import { MonitoredResource, MonitoredResourceAmino, MonitoredResourceSDKType } from "../../api/monitored_resource"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../../protobuf/any"; -import { Struct, StructAmino, StructSDKType } from "../../protobuf/struct"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../protobuf/timestamp"; -import { LogSeverity, LogSeveritySDKType, logSeverityFromJSON, logSeverityToJSON } from "../type/log_severity"; -import { HttpRequest, HttpRequestAmino, HttpRequestSDKType } from "../type/http_request"; -import { Long, isSet, DeepPartial, toTimestamp, fromTimestamp, isObject } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.logging.v2"; -export interface LogEntry_LabelsEntry { - key: string; - value: string; -} -export interface LogEntry_LabelsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface LogEntry_LabelsEntryAmino { - key: string; - value: string; -} -export interface LogEntry_LabelsEntryAminoMsg { - type: string; - value: LogEntry_LabelsEntryAmino; -} -export interface LogEntry_LabelsEntrySDKType { - key: string; - value: string; -} -/** An individual entry in a log. */ -export interface LogEntry { - /** - * Required. The resource name of the log to which this log entry belongs: - * - * "projects/[PROJECT_ID]/logs/[LOG_ID]" - * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - * "folders/[FOLDER_ID]/logs/[LOG_ID]" - * - * A project number may be used in place of PROJECT_ID. The project number is - * translated to its corresponding PROJECT_ID internally and the `log_name` - * field will contain PROJECT_ID in queries and exports. - * - * `[LOG_ID]` must be URL-encoded within `log_name`. Example: - * `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`. - * - * `[LOG_ID]` must be less than 512 characters long and can only include the - * following characters: upper and lower case alphanumeric characters, - * forward-slash, underscore, hyphen, and period. - * - * For backward compatibility, if `log_name` begins with a forward-slash, such - * as `/projects/...`, then the log entry is ingested as usual, but the - * forward-slash is removed. Listing the log entry will not show the leading - * slash and filtering for a log name with a leading slash will never return - * any results. - */ - logName: string; - /** - * Required. The monitored resource that produced this log entry. - * - * Example: a log entry that reports a database error would be associated with - * the monitored resource designating the particular database that reported - * the error. - */ - resource: MonitoredResource; - /** - * The log entry payload, represented as a protocol buffer. Some Google - * Cloud Platform services use this field for their log entry payloads. - * - * The following protocol buffer types are supported; user-defined types - * are not supported: - * - * "type.googleapis.com/google.cloud.audit.AuditLog" - * "type.googleapis.com/google.appengine.logging.v1.RequestLog" - */ - protoPayload?: Any; - /** The log entry payload, represented as a Unicode string (UTF-8). */ - textPayload?: string; - /** - * The log entry payload, represented as a structure that is - * expressed as a JSON object. - */ - jsonPayload?: Struct; - /** - * Optional. The time the event described by the log entry occurred. This time is used - * to compute the log entry's age and to enforce the logs retention period. - * If this field is omitted in a new log entry, then Logging assigns it the - * current time. Timestamps have nanosecond accuracy, but trailing zeros in - * the fractional seconds might be omitted when the timestamp is displayed. - * - * Incoming log entries must have timestamps that don't exceed the - * [logs retention - * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in - * the past, and that don't exceed 24 hours in the future. Log entries outside - * those time boundaries aren't ingested by Logging. - */ - timestamp: Date; - /** Output only. The time the log entry was received by Logging. */ - receiveTimestamp: Date; - /** Optional. The severity of the log entry. The default value is `LogSeverity.DEFAULT`. */ - severity: LogSeverity; - /** - * Optional. A unique identifier for the log entry. If you provide a value, then - * Logging considers other log entries in the same project, with the same - * `timestamp`, and with the same `insert_id` to be duplicates which are - * removed in a single query result. However, there are no guarantees of - * de-duplication in the export of logs. - * - * If the `insert_id` is omitted when writing a log entry, the Logging API - * assigns its own unique identifier in this field. - * - * In queries, the `insert_id` is also used to order log entries that have - * the same `log_name` and `timestamp` values. - */ - insertId: string; - /** - * Optional. Information about the HTTP request associated with this log entry, if - * applicable. - */ - httpRequest: HttpRequest; - /** - * Optional. A map of key, value pairs that provides additional information about the - * log entry. The labels can be user-defined or system-defined. - * - * User-defined labels are arbitrary key, value pairs that you can use to - * classify logs. - * - * System-defined labels are defined by GCP services for platform logs. - * They have two components - a service namespace component and the - * attribute name. For example: `compute.googleapis.com/resource_name`. - * - * Cloud Logging truncates label keys that exceed 512 B and label - * values that exceed 64 KB upon their associated log entry being - * written. The truncation is indicated by an ellipsis at the - * end of the character string. - */ - labels: { - [key: string]: string; - }; - /** - * Optional. Information about an operation associated with the log entry, if - * applicable. - */ - operation: LogEntryOperation; - /** - * Optional. Resource name of the trace associated with the log entry, if any. If it - * contains a relative resource name, the name is assumed to be relative to - * `//tracing.googleapis.com`. Example: - * `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` - */ - trace: string; - /** - * Optional. The span ID within the trace associated with the log entry. - * - * For Trace spans, this is the same format that the Trace API v2 uses: a - * 16-character hexadecimal encoding of an 8-byte array, such as - * `000000000000004a`. - */ - spanId: string; - /** - * Optional. The sampling decision of the trace associated with the log entry. - * - * True means that the trace resource name in the `trace` field was sampled - * for storage in a trace backend. False means that the trace was not sampled - * for storage when this log entry was written, or the sampling decision was - * unknown at the time. A non-sampled `trace` value is still useful as a - * request correlation identifier. The default is False. - */ - traceSampled: boolean; - /** Optional. Source code location information associated with the log entry, if any. */ - sourceLocation: LogEntrySourceLocation; - /** - * Optional. Information indicating this LogEntry is part of a sequence of multiple log - * entries split from a single LogEntry. - */ - split: LogSplit; -} -export interface LogEntryProtoMsg { - typeUrl: "/google.logging.v2.LogEntry"; - value: Uint8Array; -} -/** An individual entry in a log. */ -export interface LogEntryAmino { - /** - * Required. The resource name of the log to which this log entry belongs: - * - * "projects/[PROJECT_ID]/logs/[LOG_ID]" - * "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" - * "folders/[FOLDER_ID]/logs/[LOG_ID]" - * - * A project number may be used in place of PROJECT_ID. The project number is - * translated to its corresponding PROJECT_ID internally and the `log_name` - * field will contain PROJECT_ID in queries and exports. - * - * `[LOG_ID]` must be URL-encoded within `log_name`. Example: - * `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`. - * - * `[LOG_ID]` must be less than 512 characters long and can only include the - * following characters: upper and lower case alphanumeric characters, - * forward-slash, underscore, hyphen, and period. - * - * For backward compatibility, if `log_name` begins with a forward-slash, such - * as `/projects/...`, then the log entry is ingested as usual, but the - * forward-slash is removed. Listing the log entry will not show the leading - * slash and filtering for a log name with a leading slash will never return - * any results. - */ - log_name: string; - /** - * Required. The monitored resource that produced this log entry. - * - * Example: a log entry that reports a database error would be associated with - * the monitored resource designating the particular database that reported - * the error. - */ - resource?: MonitoredResourceAmino; - /** - * The log entry payload, represented as a protocol buffer. Some Google - * Cloud Platform services use this field for their log entry payloads. - * - * The following protocol buffer types are supported; user-defined types - * are not supported: - * - * "type.googleapis.com/google.cloud.audit.AuditLog" - * "type.googleapis.com/google.appengine.logging.v1.RequestLog" - */ - proto_payload?: AnyAmino; - /** The log entry payload, represented as a Unicode string (UTF-8). */ - text_payload?: string; - /** - * The log entry payload, represented as a structure that is - * expressed as a JSON object. - */ - json_payload?: StructAmino; - /** - * Optional. The time the event described by the log entry occurred. This time is used - * to compute the log entry's age and to enforce the logs retention period. - * If this field is omitted in a new log entry, then Logging assigns it the - * current time. Timestamps have nanosecond accuracy, but trailing zeros in - * the fractional seconds might be omitted when the timestamp is displayed. - * - * Incoming log entries must have timestamps that don't exceed the - * [logs retention - * period](https://cloud.google.com/logging/quotas#logs_retention_periods) in - * the past, and that don't exceed 24 hours in the future. Log entries outside - * those time boundaries aren't ingested by Logging. - */ - timestamp?: Date; - /** Output only. The time the log entry was received by Logging. */ - receive_timestamp?: Date; - /** Optional. The severity of the log entry. The default value is `LogSeverity.DEFAULT`. */ - severity: LogSeverity; - /** - * Optional. A unique identifier for the log entry. If you provide a value, then - * Logging considers other log entries in the same project, with the same - * `timestamp`, and with the same `insert_id` to be duplicates which are - * removed in a single query result. However, there are no guarantees of - * de-duplication in the export of logs. - * - * If the `insert_id` is omitted when writing a log entry, the Logging API - * assigns its own unique identifier in this field. - * - * In queries, the `insert_id` is also used to order log entries that have - * the same `log_name` and `timestamp` values. - */ - insert_id: string; - /** - * Optional. Information about the HTTP request associated with this log entry, if - * applicable. - */ - http_request?: HttpRequestAmino; - /** - * Optional. A map of key, value pairs that provides additional information about the - * log entry. The labels can be user-defined or system-defined. - * - * User-defined labels are arbitrary key, value pairs that you can use to - * classify logs. - * - * System-defined labels are defined by GCP services for platform logs. - * They have two components - a service namespace component and the - * attribute name. For example: `compute.googleapis.com/resource_name`. - * - * Cloud Logging truncates label keys that exceed 512 B and label - * values that exceed 64 KB upon their associated log entry being - * written. The truncation is indicated by an ellipsis at the - * end of the character string. - */ - labels: { - [key: string]: string; - }; - /** - * Optional. Information about an operation associated with the log entry, if - * applicable. - */ - operation?: LogEntryOperationAmino; - /** - * Optional. Resource name of the trace associated with the log entry, if any. If it - * contains a relative resource name, the name is assumed to be relative to - * `//tracing.googleapis.com`. Example: - * `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` - */ - trace: string; - /** - * Optional. The span ID within the trace associated with the log entry. - * - * For Trace spans, this is the same format that the Trace API v2 uses: a - * 16-character hexadecimal encoding of an 8-byte array, such as - * `000000000000004a`. - */ - span_id: string; - /** - * Optional. The sampling decision of the trace associated with the log entry. - * - * True means that the trace resource name in the `trace` field was sampled - * for storage in a trace backend. False means that the trace was not sampled - * for storage when this log entry was written, or the sampling decision was - * unknown at the time. A non-sampled `trace` value is still useful as a - * request correlation identifier. The default is False. - */ - trace_sampled: boolean; - /** Optional. Source code location information associated with the log entry, if any. */ - source_location?: LogEntrySourceLocationAmino; - /** - * Optional. Information indicating this LogEntry is part of a sequence of multiple log - * entries split from a single LogEntry. - */ - split?: LogSplitAmino; -} -export interface LogEntryAminoMsg { - type: "/google.logging.v2.LogEntry"; - value: LogEntryAmino; -} -/** An individual entry in a log. */ -export interface LogEntrySDKType { - log_name: string; - resource: MonitoredResourceSDKType; - proto_payload?: AnySDKType; - text_payload?: string; - json_payload?: StructSDKType; - timestamp: Date; - receive_timestamp: Date; - severity: LogSeverity; - insert_id: string; - http_request: HttpRequestSDKType; - labels: { - [key: string]: string; - }; - operation: LogEntryOperationSDKType; - trace: string; - span_id: string; - trace_sampled: boolean; - source_location: LogEntrySourceLocationSDKType; - split: LogSplitSDKType; -} -/** - * Additional information about a potentially long-running operation with which - * a log entry is associated. - */ -export interface LogEntryOperation { - /** - * Optional. An arbitrary operation identifier. Log entries with the same - * identifier are assumed to be part of the same operation. - */ - id: string; - /** - * Optional. An arbitrary producer identifier. The combination of `id` and - * `producer` must be globally unique. Examples for `producer`: - * `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. - */ - producer: string; - /** Optional. Set this to True if this is the first log entry in the operation. */ - first: boolean; - /** Optional. Set this to True if this is the last log entry in the operation. */ - last: boolean; -} -export interface LogEntryOperationProtoMsg { - typeUrl: "/google.logging.v2.LogEntryOperation"; - value: Uint8Array; -} -/** - * Additional information about a potentially long-running operation with which - * a log entry is associated. - */ -export interface LogEntryOperationAmino { - /** - * Optional. An arbitrary operation identifier. Log entries with the same - * identifier are assumed to be part of the same operation. - */ - id: string; - /** - * Optional. An arbitrary producer identifier. The combination of `id` and - * `producer` must be globally unique. Examples for `producer`: - * `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. - */ - producer: string; - /** Optional. Set this to True if this is the first log entry in the operation. */ - first: boolean; - /** Optional. Set this to True if this is the last log entry in the operation. */ - last: boolean; -} -export interface LogEntryOperationAminoMsg { - type: "/google.logging.v2.LogEntryOperation"; - value: LogEntryOperationAmino; -} -/** - * Additional information about a potentially long-running operation with which - * a log entry is associated. - */ -export interface LogEntryOperationSDKType { - id: string; - producer: string; - first: boolean; - last: boolean; -} -/** - * Additional information about the source code location that produced the log - * entry. - */ -export interface LogEntrySourceLocation { - /** - * Optional. Source file name. Depending on the runtime environment, this - * might be a simple name or a fully-qualified name. - */ - file: string; - /** - * Optional. Line within the source file. 1-based; 0 indicates no line number - * available. - */ - line: Long; - /** - * Optional. Human-readable name of the function or method being invoked, with - * optional context such as the class or package name. This information may be - * used in contexts such as the logs viewer, where a file and line number are - * less meaningful. The format can vary by language. For example: - * `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` - * (Python). - */ - function: string; -} -export interface LogEntrySourceLocationProtoMsg { - typeUrl: "/google.logging.v2.LogEntrySourceLocation"; - value: Uint8Array; -} -/** - * Additional information about the source code location that produced the log - * entry. - */ -export interface LogEntrySourceLocationAmino { - /** - * Optional. Source file name. Depending on the runtime environment, this - * might be a simple name or a fully-qualified name. - */ - file: string; - /** - * Optional. Line within the source file. 1-based; 0 indicates no line number - * available. - */ - line: string; - /** - * Optional. Human-readable name of the function or method being invoked, with - * optional context such as the class or package name. This information may be - * used in contexts such as the logs viewer, where a file and line number are - * less meaningful. The format can vary by language. For example: - * `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` - * (Python). - */ - function: string; -} -export interface LogEntrySourceLocationAminoMsg { - type: "/google.logging.v2.LogEntrySourceLocation"; - value: LogEntrySourceLocationAmino; -} -/** - * Additional information about the source code location that produced the log - * entry. - */ -export interface LogEntrySourceLocationSDKType { - file: string; - line: Long; - function: string; -} -/** - * Additional information used to correlate multiple log entries. Used when a - * single LogEntry would exceed the Google Cloud Logging size limit and is - * split across multiple log entries. - */ -export interface LogSplit { - /** - * A globally unique identifier for all log entries in a sequence of split log - * entries. All log entries with the same |LogSplit.uid| are assumed to be - * part of the same sequence of split log entries. - */ - uid: string; - /** - * The index of this LogEntry in the sequence of split log entries. Log - * entries are given |index| values 0, 1, ..., n-1 for a sequence of n log - * entries. - */ - index: number; - /** The total number of log entries that the original LogEntry was split into. */ - totalSplits: number; -} -export interface LogSplitProtoMsg { - typeUrl: "/google.logging.v2.LogSplit"; - value: Uint8Array; -} -/** - * Additional information used to correlate multiple log entries. Used when a - * single LogEntry would exceed the Google Cloud Logging size limit and is - * split across multiple log entries. - */ -export interface LogSplitAmino { - /** - * A globally unique identifier for all log entries in a sequence of split log - * entries. All log entries with the same |LogSplit.uid| are assumed to be - * part of the same sequence of split log entries. - */ - uid: string; - /** - * The index of this LogEntry in the sequence of split log entries. Log - * entries are given |index| values 0, 1, ..., n-1 for a sequence of n log - * entries. - */ - index: number; - /** The total number of log entries that the original LogEntry was split into. */ - total_splits: number; -} -export interface LogSplitAminoMsg { - type: "/google.logging.v2.LogSplit"; - value: LogSplitAmino; -} -/** - * Additional information used to correlate multiple log entries. Used when a - * single LogEntry would exceed the Google Cloud Logging size limit and is - * split across multiple log entries. - */ -export interface LogSplitSDKType { - uid: string; - index: number; - total_splits: number; -} -function createBaseLogEntry_LabelsEntry(): LogEntry_LabelsEntry { - return { - key: "", - value: "" - }; -} -export const LogEntry_LabelsEntry = { - encode(message: LogEntry_LabelsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogEntry_LabelsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogEntry_LabelsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogEntry_LabelsEntry { - const obj = createBaseLogEntry_LabelsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: LogEntry_LabelsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): LogEntry_LabelsEntry { - const message = createBaseLogEntry_LabelsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: LogEntry_LabelsEntrySDKType): LogEntry_LabelsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: LogEntry_LabelsEntry): LogEntry_LabelsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: LogEntry_LabelsEntryAmino): LogEntry_LabelsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: LogEntry_LabelsEntry): LogEntry_LabelsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: LogEntry_LabelsEntryAminoMsg): LogEntry_LabelsEntry { - return LogEntry_LabelsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: LogEntry_LabelsEntryProtoMsg): LogEntry_LabelsEntry { - return LogEntry_LabelsEntry.decode(message.value); - }, - toProto(message: LogEntry_LabelsEntry): Uint8Array { - return LogEntry_LabelsEntry.encode(message).finish(); - } -}; -function createBaseLogEntry(): LogEntry { - return { - logName: "", - resource: MonitoredResource.fromPartial({}), - protoPayload: undefined, - textPayload: undefined, - jsonPayload: undefined, - timestamp: new Date(), - receiveTimestamp: new Date(), - severity: 0, - insertId: "", - httpRequest: HttpRequest.fromPartial({}), - labels: {}, - operation: LogEntryOperation.fromPartial({}), - trace: "", - spanId: "", - traceSampled: false, - sourceLocation: LogEntrySourceLocation.fromPartial({}), - split: LogSplit.fromPartial({}) - }; -} -export const LogEntry = { - typeUrl: "/google.logging.v2.LogEntry", - encode(message: LogEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.logName !== "") { - writer.uint32(98).string(message.logName); - } - if (message.resource !== undefined) { - MonitoredResource.encode(message.resource, writer.uint32(66).fork()).ldelim(); - } - if (message.protoPayload !== undefined) { - Any.encode(message.protoPayload, writer.uint32(18).fork()).ldelim(); - } - if (message.textPayload !== undefined) { - writer.uint32(26).string(message.textPayload); - } - if (message.jsonPayload !== undefined) { - Struct.encode(message.jsonPayload, writer.uint32(50).fork()).ldelim(); - } - if (message.timestamp !== undefined) { - Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(74).fork()).ldelim(); - } - if (message.receiveTimestamp !== undefined) { - Timestamp.encode(toTimestamp(message.receiveTimestamp), writer.uint32(194).fork()).ldelim(); - } - if (message.severity !== 0) { - writer.uint32(80).int32(message.severity); - } - if (message.insertId !== "") { - writer.uint32(34).string(message.insertId); - } - if (message.httpRequest !== undefined) { - HttpRequest.encode(message.httpRequest, writer.uint32(58).fork()).ldelim(); - } - Object.entries(message.labels).forEach(([key, value]) => { - LogEntry_LabelsEntry.encode({ - key: (key as any), - value - }, writer.uint32(90).fork()).ldelim(); - }); - if (message.operation !== undefined) { - LogEntryOperation.encode(message.operation, writer.uint32(122).fork()).ldelim(); - } - if (message.trace !== "") { - writer.uint32(178).string(message.trace); - } - if (message.spanId !== "") { - writer.uint32(218).string(message.spanId); - } - if (message.traceSampled === true) { - writer.uint32(240).bool(message.traceSampled); - } - if (message.sourceLocation !== undefined) { - LogEntrySourceLocation.encode(message.sourceLocation, writer.uint32(186).fork()).ldelim(); - } - if (message.split !== undefined) { - LogSplit.encode(message.split, writer.uint32(282).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 12: - message.logName = reader.string(); - break; - case 8: - message.resource = MonitoredResource.decode(reader, reader.uint32()); - break; - case 2: - message.protoPayload = Any.decode(reader, reader.uint32()); - break; - case 3: - message.textPayload = reader.string(); - break; - case 6: - message.jsonPayload = Struct.decode(reader, reader.uint32()); - break; - case 9: - message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 24: - message.receiveTimestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 10: - message.severity = (reader.int32() as any); - break; - case 4: - message.insertId = reader.string(); - break; - case 7: - message.httpRequest = HttpRequest.decode(reader, reader.uint32()); - break; - case 11: - const entry11 = LogEntry_LabelsEntry.decode(reader, reader.uint32()); - if (entry11.value !== undefined) { - message.labels[entry11.key] = entry11.value; - } - break; - case 15: - message.operation = LogEntryOperation.decode(reader, reader.uint32()); - break; - case 22: - message.trace = reader.string(); - break; - case 27: - message.spanId = reader.string(); - break; - case 30: - message.traceSampled = reader.bool(); - break; - case 23: - message.sourceLocation = LogEntrySourceLocation.decode(reader, reader.uint32()); - break; - case 35: - message.split = LogSplit.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogEntry { - const obj = createBaseLogEntry(); - if (isSet(object.logName)) obj.logName = String(object.logName); - if (isSet(object.resource)) obj.resource = MonitoredResource.fromJSON(object.resource); - if (isSet(object.protoPayload)) obj.protoPayload = Any.fromJSON(object.protoPayload); - if (isSet(object.textPayload)) obj.textPayload = String(object.textPayload); - if (isSet(object.jsonPayload)) obj.jsonPayload = Struct.fromJSON(object.jsonPayload); - if (isSet(object.timestamp)) obj.timestamp = new Date(object.timestamp); - if (isSet(object.receiveTimestamp)) obj.receiveTimestamp = new Date(object.receiveTimestamp); - if (isSet(object.severity)) obj.severity = logSeverityFromJSON(object.severity); - if (isSet(object.insertId)) obj.insertId = String(object.insertId); - if (isSet(object.httpRequest)) obj.httpRequest = HttpRequest.fromJSON(object.httpRequest); - if (isObject(object.labels)) obj.labels = Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - if (isSet(object.operation)) obj.operation = LogEntryOperation.fromJSON(object.operation); - if (isSet(object.trace)) obj.trace = String(object.trace); - if (isSet(object.spanId)) obj.spanId = String(object.spanId); - if (isSet(object.traceSampled)) obj.traceSampled = Boolean(object.traceSampled); - if (isSet(object.sourceLocation)) obj.sourceLocation = LogEntrySourceLocation.fromJSON(object.sourceLocation); - if (isSet(object.split)) obj.split = LogSplit.fromJSON(object.split); - return obj; - }, - toJSON(message: LogEntry): unknown { - const obj: any = {}; - message.logName !== undefined && (obj.logName = message.logName); - message.resource !== undefined && (obj.resource = message.resource ? MonitoredResource.toJSON(message.resource) : undefined); - message.protoPayload !== undefined && (obj.protoPayload = message.protoPayload ? Any.toJSON(message.protoPayload) : undefined); - message.textPayload !== undefined && (obj.textPayload = message.textPayload); - message.jsonPayload !== undefined && (obj.jsonPayload = message.jsonPayload ? Struct.toJSON(message.jsonPayload) : undefined); - message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString()); - message.receiveTimestamp !== undefined && (obj.receiveTimestamp = message.receiveTimestamp.toISOString()); - message.severity !== undefined && (obj.severity = logSeverityToJSON(message.severity)); - message.insertId !== undefined && (obj.insertId = message.insertId); - message.httpRequest !== undefined && (obj.httpRequest = message.httpRequest ? HttpRequest.toJSON(message.httpRequest) : undefined); - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - message.operation !== undefined && (obj.operation = message.operation ? LogEntryOperation.toJSON(message.operation) : undefined); - message.trace !== undefined && (obj.trace = message.trace); - message.spanId !== undefined && (obj.spanId = message.spanId); - message.traceSampled !== undefined && (obj.traceSampled = message.traceSampled); - message.sourceLocation !== undefined && (obj.sourceLocation = message.sourceLocation ? LogEntrySourceLocation.toJSON(message.sourceLocation) : undefined); - message.split !== undefined && (obj.split = message.split ? LogSplit.toJSON(message.split) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): LogEntry { - const message = createBaseLogEntry(); - message.logName = object.logName ?? ""; - if (object.resource !== undefined && object.resource !== null) { - message.resource = MonitoredResource.fromPartial(object.resource); - } - if (object.protoPayload !== undefined && object.protoPayload !== null) { - message.protoPayload = Any.fromPartial(object.protoPayload); - } - message.textPayload = object.textPayload ?? undefined; - if (object.jsonPayload !== undefined && object.jsonPayload !== null) { - message.jsonPayload = Struct.fromPartial(object.jsonPayload); - } - message.timestamp = object.timestamp ?? undefined; - message.receiveTimestamp = object.receiveTimestamp ?? undefined; - message.severity = object.severity ?? 0; - message.insertId = object.insertId ?? ""; - if (object.httpRequest !== undefined && object.httpRequest !== null) { - message.httpRequest = HttpRequest.fromPartial(object.httpRequest); - } - message.labels = Object.entries(object.labels ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - if (object.operation !== undefined && object.operation !== null) { - message.operation = LogEntryOperation.fromPartial(object.operation); - } - message.trace = object.trace ?? ""; - message.spanId = object.spanId ?? ""; - message.traceSampled = object.traceSampled ?? false; - if (object.sourceLocation !== undefined && object.sourceLocation !== null) { - message.sourceLocation = LogEntrySourceLocation.fromPartial(object.sourceLocation); - } - if (object.split !== undefined && object.split !== null) { - message.split = LogSplit.fromPartial(object.split); - } - return message; - }, - fromSDK(object: LogEntrySDKType): LogEntry { - return { - logName: object?.log_name, - resource: object.resource ? MonitoredResource.fromSDK(object.resource) : undefined, - protoPayload: object.proto_payload ? Any.fromSDK(object.proto_payload) : undefined, - textPayload: object?.text_payload, - jsonPayload: object.json_payload ? Struct.fromSDK(object.json_payload) : undefined, - timestamp: object.timestamp ?? undefined, - receiveTimestamp: object.receive_timestamp ?? undefined, - severity: isSet(object.severity) ? logSeverityFromJSON(object.severity) : -1, - insertId: object?.insert_id, - httpRequest: object.http_request ? HttpRequest.fromSDK(object.http_request) : undefined, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - operation: object.operation ? LogEntryOperation.fromSDK(object.operation) : undefined, - trace: object?.trace, - spanId: object?.span_id, - traceSampled: object?.trace_sampled, - sourceLocation: object.source_location ? LogEntrySourceLocation.fromSDK(object.source_location) : undefined, - split: object.split ? LogSplit.fromSDK(object.split) : undefined - }; - }, - toSDK(message: LogEntry): LogEntrySDKType { - const obj: any = {}; - obj.log_name = message.logName; - message.resource !== undefined && (obj.resource = message.resource ? MonitoredResource.toSDK(message.resource) : undefined); - message.protoPayload !== undefined && (obj.proto_payload = message.protoPayload ? Any.toSDK(message.protoPayload) : undefined); - obj.text_payload = message.textPayload; - message.jsonPayload !== undefined && (obj.json_payload = message.jsonPayload ? Struct.toSDK(message.jsonPayload) : undefined); - message.timestamp !== undefined && (obj.timestamp = message.timestamp ?? undefined); - message.receiveTimestamp !== undefined && (obj.receive_timestamp = message.receiveTimestamp ?? undefined); - message.severity !== undefined && (obj.severity = logSeverityToJSON(message.severity)); - obj.insert_id = message.insertId; - message.httpRequest !== undefined && (obj.http_request = message.httpRequest ? HttpRequest.toSDK(message.httpRequest) : undefined); - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - message.operation !== undefined && (obj.operation = message.operation ? LogEntryOperation.toSDK(message.operation) : undefined); - obj.trace = message.trace; - obj.span_id = message.spanId; - obj.trace_sampled = message.traceSampled; - message.sourceLocation !== undefined && (obj.source_location = message.sourceLocation ? LogEntrySourceLocation.toSDK(message.sourceLocation) : undefined); - message.split !== undefined && (obj.split = message.split ? LogSplit.toSDK(message.split) : undefined); - return obj; - }, - fromAmino(object: LogEntryAmino): LogEntry { - return { - logName: object.log_name, - resource: object?.resource ? MonitoredResource.fromAmino(object.resource) : undefined, - protoPayload: object?.proto_payload ? Any.fromAmino(object.proto_payload) : undefined, - textPayload: object?.text_payload, - jsonPayload: object?.json_payload ? Struct.fromAmino(object.json_payload) : undefined, - timestamp: object.timestamp, - receiveTimestamp: object.receive_timestamp, - severity: isSet(object.severity) ? logSeverityFromJSON(object.severity) : -1, - insertId: object.insert_id, - httpRequest: object?.http_request ? HttpRequest.fromAmino(object.http_request) : undefined, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - operation: object?.operation ? LogEntryOperation.fromAmino(object.operation) : undefined, - trace: object.trace, - spanId: object.span_id, - traceSampled: object.trace_sampled, - sourceLocation: object?.source_location ? LogEntrySourceLocation.fromAmino(object.source_location) : undefined, - split: object?.split ? LogSplit.fromAmino(object.split) : undefined - }; - }, - toAmino(message: LogEntry): LogEntryAmino { - const obj: any = {}; - obj.log_name = message.logName; - obj.resource = message.resource ? MonitoredResource.toAmino(message.resource) : undefined; - obj.proto_payload = message.protoPayload ? Any.toAmino(message.protoPayload) : undefined; - obj.text_payload = message.textPayload; - obj.json_payload = message.jsonPayload ? Struct.toAmino(message.jsonPayload) : undefined; - obj.timestamp = message.timestamp; - obj.receive_timestamp = message.receiveTimestamp; - obj.severity = message.severity; - obj.insert_id = message.insertId; - obj.http_request = message.httpRequest ? HttpRequest.toAmino(message.httpRequest) : undefined; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - obj.operation = message.operation ? LogEntryOperation.toAmino(message.operation) : undefined; - obj.trace = message.trace; - obj.span_id = message.spanId; - obj.trace_sampled = message.traceSampled; - obj.source_location = message.sourceLocation ? LogEntrySourceLocation.toAmino(message.sourceLocation) : undefined; - obj.split = message.split ? LogSplit.toAmino(message.split) : undefined; - return obj; - }, - fromAminoMsg(object: LogEntryAminoMsg): LogEntry { - return LogEntry.fromAmino(object.value); - }, - fromProtoMsg(message: LogEntryProtoMsg): LogEntry { - return LogEntry.decode(message.value); - }, - toProto(message: LogEntry): Uint8Array { - return LogEntry.encode(message).finish(); - }, - toProtoMsg(message: LogEntry): LogEntryProtoMsg { - return { - typeUrl: "/google.logging.v2.LogEntry", - value: LogEntry.encode(message).finish() - }; - } -}; -function createBaseLogEntryOperation(): LogEntryOperation { - return { - id: "", - producer: "", - first: false, - last: false - }; -} -export const LogEntryOperation = { - typeUrl: "/google.logging.v2.LogEntryOperation", - encode(message: LogEntryOperation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.id !== "") { - writer.uint32(10).string(message.id); - } - if (message.producer !== "") { - writer.uint32(18).string(message.producer); - } - if (message.first === true) { - writer.uint32(24).bool(message.first); - } - if (message.last === true) { - writer.uint32(32).bool(message.last); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogEntryOperation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogEntryOperation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - case 2: - message.producer = reader.string(); - break; - case 3: - message.first = reader.bool(); - break; - case 4: - message.last = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogEntryOperation { - const obj = createBaseLogEntryOperation(); - if (isSet(object.id)) obj.id = String(object.id); - if (isSet(object.producer)) obj.producer = String(object.producer); - if (isSet(object.first)) obj.first = Boolean(object.first); - if (isSet(object.last)) obj.last = Boolean(object.last); - return obj; - }, - toJSON(message: LogEntryOperation): unknown { - const obj: any = {}; - message.id !== undefined && (obj.id = message.id); - message.producer !== undefined && (obj.producer = message.producer); - message.first !== undefined && (obj.first = message.first); - message.last !== undefined && (obj.last = message.last); - return obj; - }, - fromPartial(object: DeepPartial): LogEntryOperation { - const message = createBaseLogEntryOperation(); - message.id = object.id ?? ""; - message.producer = object.producer ?? ""; - message.first = object.first ?? false; - message.last = object.last ?? false; - return message; - }, - fromSDK(object: LogEntryOperationSDKType): LogEntryOperation { - return { - id: object?.id, - producer: object?.producer, - first: object?.first, - last: object?.last - }; - }, - toSDK(message: LogEntryOperation): LogEntryOperationSDKType { - const obj: any = {}; - obj.id = message.id; - obj.producer = message.producer; - obj.first = message.first; - obj.last = message.last; - return obj; - }, - fromAmino(object: LogEntryOperationAmino): LogEntryOperation { - return { - id: object.id, - producer: object.producer, - first: object.first, - last: object.last - }; - }, - toAmino(message: LogEntryOperation): LogEntryOperationAmino { - const obj: any = {}; - obj.id = message.id; - obj.producer = message.producer; - obj.first = message.first; - obj.last = message.last; - return obj; - }, - fromAminoMsg(object: LogEntryOperationAminoMsg): LogEntryOperation { - return LogEntryOperation.fromAmino(object.value); - }, - fromProtoMsg(message: LogEntryOperationProtoMsg): LogEntryOperation { - return LogEntryOperation.decode(message.value); - }, - toProto(message: LogEntryOperation): Uint8Array { - return LogEntryOperation.encode(message).finish(); - }, - toProtoMsg(message: LogEntryOperation): LogEntryOperationProtoMsg { - return { - typeUrl: "/google.logging.v2.LogEntryOperation", - value: LogEntryOperation.encode(message).finish() - }; - } -}; -function createBaseLogEntrySourceLocation(): LogEntrySourceLocation { - return { - file: "", - line: Long.ZERO, - function: "" - }; -} -export const LogEntrySourceLocation = { - typeUrl: "/google.logging.v2.LogEntrySourceLocation", - encode(message: LogEntrySourceLocation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.file !== "") { - writer.uint32(10).string(message.file); - } - if (!message.line.isZero()) { - writer.uint32(16).int64(message.line); - } - if (message.function !== "") { - writer.uint32(26).string(message.function); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogEntrySourceLocation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogEntrySourceLocation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.file = reader.string(); - break; - case 2: - message.line = (reader.int64() as Long); - break; - case 3: - message.function = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogEntrySourceLocation { - const obj = createBaseLogEntrySourceLocation(); - if (isSet(object.file)) obj.file = String(object.file); - if (isSet(object.line)) obj.line = Long.fromValue(object.line); - if (isSet(object.function)) obj.function = String(object.function); - return obj; - }, - toJSON(message: LogEntrySourceLocation): unknown { - const obj: any = {}; - message.file !== undefined && (obj.file = message.file); - message.line !== undefined && (obj.line = (message.line || Long.ZERO).toString()); - message.function !== undefined && (obj.function = message.function); - return obj; - }, - fromPartial(object: DeepPartial): LogEntrySourceLocation { - const message = createBaseLogEntrySourceLocation(); - message.file = object.file ?? ""; - if (object.line !== undefined && object.line !== null) { - message.line = Long.fromValue(object.line); - } - message.function = object.function ?? ""; - return message; - }, - fromSDK(object: LogEntrySourceLocationSDKType): LogEntrySourceLocation { - return { - file: object?.file, - line: object?.line, - function: object?.function - }; - }, - toSDK(message: LogEntrySourceLocation): LogEntrySourceLocationSDKType { - const obj: any = {}; - obj.file = message.file; - obj.line = message.line; - obj.function = message.function; - return obj; - }, - fromAmino(object: LogEntrySourceLocationAmino): LogEntrySourceLocation { - return { - file: object.file, - line: Long.fromString(object.line), - function: object.function - }; - }, - toAmino(message: LogEntrySourceLocation): LogEntrySourceLocationAmino { - const obj: any = {}; - obj.file = message.file; - obj.line = message.line ? message.line.toString() : undefined; - obj.function = message.function; - return obj; - }, - fromAminoMsg(object: LogEntrySourceLocationAminoMsg): LogEntrySourceLocation { - return LogEntrySourceLocation.fromAmino(object.value); - }, - fromProtoMsg(message: LogEntrySourceLocationProtoMsg): LogEntrySourceLocation { - return LogEntrySourceLocation.decode(message.value); - }, - toProto(message: LogEntrySourceLocation): Uint8Array { - return LogEntrySourceLocation.encode(message).finish(); - }, - toProtoMsg(message: LogEntrySourceLocation): LogEntrySourceLocationProtoMsg { - return { - typeUrl: "/google.logging.v2.LogEntrySourceLocation", - value: LogEntrySourceLocation.encode(message).finish() - }; - } -}; -function createBaseLogSplit(): LogSplit { - return { - uid: "", - index: 0, - totalSplits: 0 - }; -} -export const LogSplit = { - typeUrl: "/google.logging.v2.LogSplit", - encode(message: LogSplit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.uid !== "") { - writer.uint32(10).string(message.uid); - } - if (message.index !== 0) { - writer.uint32(16).int32(message.index); - } - if (message.totalSplits !== 0) { - writer.uint32(24).int32(message.totalSplits); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogSplit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogSplit(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.uid = reader.string(); - break; - case 2: - message.index = reader.int32(); - break; - case 3: - message.totalSplits = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogSplit { - const obj = createBaseLogSplit(); - if (isSet(object.uid)) obj.uid = String(object.uid); - if (isSet(object.index)) obj.index = Number(object.index); - if (isSet(object.totalSplits)) obj.totalSplits = Number(object.totalSplits); - return obj; - }, - toJSON(message: LogSplit): unknown { - const obj: any = {}; - message.uid !== undefined && (obj.uid = message.uid); - message.index !== undefined && (obj.index = Math.round(message.index)); - message.totalSplits !== undefined && (obj.totalSplits = Math.round(message.totalSplits)); - return obj; - }, - fromPartial(object: DeepPartial): LogSplit { - const message = createBaseLogSplit(); - message.uid = object.uid ?? ""; - message.index = object.index ?? 0; - message.totalSplits = object.totalSplits ?? 0; - return message; - }, - fromSDK(object: LogSplitSDKType): LogSplit { - return { - uid: object?.uid, - index: object?.index, - totalSplits: object?.total_splits - }; - }, - toSDK(message: LogSplit): LogSplitSDKType { - const obj: any = {}; - obj.uid = message.uid; - obj.index = message.index; - obj.total_splits = message.totalSplits; - return obj; - }, - fromAmino(object: LogSplitAmino): LogSplit { - return { - uid: object.uid, - index: object.index, - totalSplits: object.total_splits - }; - }, - toAmino(message: LogSplit): LogSplitAmino { - const obj: any = {}; - obj.uid = message.uid; - obj.index = message.index; - obj.total_splits = message.totalSplits; - return obj; - }, - fromAminoMsg(object: LogSplitAminoMsg): LogSplit { - return LogSplit.fromAmino(object.value); - }, - fromProtoMsg(message: LogSplitProtoMsg): LogSplit { - return LogSplit.decode(message.value); - }, - toProto(message: LogSplit): Uint8Array { - return LogSplit.encode(message).finish(); - }, - toProtoMsg(message: LogSplit): LogSplitProtoMsg { - return { - typeUrl: "/google.logging.v2.LogSplit", - value: LogSplit.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/logging/v2/logging.ts b/quicksilverjs/src/codegen/google/logging/v2/logging.ts deleted file mode 100644 index 13fe69a47..000000000 --- a/quicksilverjs/src/codegen/google/logging/v2/logging.ts +++ /dev/null @@ -1,2645 +0,0 @@ -import { MonitoredResource, MonitoredResourceAmino, MonitoredResourceSDKType, MonitoredResourceDescriptor, MonitoredResourceDescriptorAmino, MonitoredResourceDescriptorSDKType } from "../../api/monitored_resource"; -import { LogEntry, LogEntryAmino, LogEntrySDKType } from "./log_entry"; -import { Duration, DurationAmino, DurationSDKType } from "../../protobuf/duration"; -import { Status, StatusAmino, StatusSDKType } from "../../rpc/status"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, isObject } from "../../../helpers"; -export const protobufPackage = "google.logging.v2"; -/** An indicator of why entries were omitted. */ -export enum TailLogEntriesResponse_SuppressionInfo_Reason { - /** REASON_UNSPECIFIED - Unexpected default. */ - REASON_UNSPECIFIED = 0, - /** - * RATE_LIMIT - Indicates suppression occurred due to relevant entries being - * received in excess of rate limits. For quotas and limits, see - * [Logging API quotas and - * limits](https://cloud.google.com/logging/quotas#api-limits). - */ - RATE_LIMIT = 1, - /** - * NOT_CONSUMED - Indicates suppression occurred due to the client not consuming - * responses quickly enough. - */ - NOT_CONSUMED = 2, - UNRECOGNIZED = -1, -} -export const TailLogEntriesResponse_SuppressionInfo_ReasonSDKType = TailLogEntriesResponse_SuppressionInfo_Reason; -export const TailLogEntriesResponse_SuppressionInfo_ReasonAmino = TailLogEntriesResponse_SuppressionInfo_Reason; -export function tailLogEntriesResponse_SuppressionInfo_ReasonFromJSON(object: any): TailLogEntriesResponse_SuppressionInfo_Reason { - switch (object) { - case 0: - case "REASON_UNSPECIFIED": - return TailLogEntriesResponse_SuppressionInfo_Reason.REASON_UNSPECIFIED; - case 1: - case "RATE_LIMIT": - return TailLogEntriesResponse_SuppressionInfo_Reason.RATE_LIMIT; - case 2: - case "NOT_CONSUMED": - return TailLogEntriesResponse_SuppressionInfo_Reason.NOT_CONSUMED; - case -1: - case "UNRECOGNIZED": - default: - return TailLogEntriesResponse_SuppressionInfo_Reason.UNRECOGNIZED; - } -} -export function tailLogEntriesResponse_SuppressionInfo_ReasonToJSON(object: TailLogEntriesResponse_SuppressionInfo_Reason): string { - switch (object) { - case TailLogEntriesResponse_SuppressionInfo_Reason.REASON_UNSPECIFIED: - return "REASON_UNSPECIFIED"; - case TailLogEntriesResponse_SuppressionInfo_Reason.RATE_LIMIT: - return "RATE_LIMIT"; - case TailLogEntriesResponse_SuppressionInfo_Reason.NOT_CONSUMED: - return "NOT_CONSUMED"; - case TailLogEntriesResponse_SuppressionInfo_Reason.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** The parameters to DeleteLog. */ -export interface DeleteLogRequest { - /** - * Required. The resource name of the log to delete: - * - * * `projects/[PROJECT_ID]/logs/[LOG_ID]` - * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]` - * * `folders/[FOLDER_ID]/logs/[LOG_ID]` - * - * `[LOG_ID]` must be URL-encoded. For example, - * `"projects/my-project-id/logs/syslog"`, - * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`. - * - * For more information about log names, see - * [LogEntry][google.logging.v2.LogEntry]. - */ - logName: string; -} -export interface DeleteLogRequestProtoMsg { - typeUrl: "/google.logging.v2.DeleteLogRequest"; - value: Uint8Array; -} -/** The parameters to DeleteLog. */ -export interface DeleteLogRequestAmino { - /** - * Required. The resource name of the log to delete: - * - * * `projects/[PROJECT_ID]/logs/[LOG_ID]` - * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]` - * * `folders/[FOLDER_ID]/logs/[LOG_ID]` - * - * `[LOG_ID]` must be URL-encoded. For example, - * `"projects/my-project-id/logs/syslog"`, - * `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`. - * - * For more information about log names, see - * [LogEntry][google.logging.v2.LogEntry]. - */ - log_name: string; -} -export interface DeleteLogRequestAminoMsg { - type: "/google.logging.v2.DeleteLogRequest"; - value: DeleteLogRequestAmino; -} -/** The parameters to DeleteLog. */ -export interface DeleteLogRequestSDKType { - log_name: string; -} -export interface WriteLogEntriesRequest_LabelsEntry { - key: string; - value: string; -} -export interface WriteLogEntriesRequest_LabelsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface WriteLogEntriesRequest_LabelsEntryAmino { - key: string; - value: string; -} -export interface WriteLogEntriesRequest_LabelsEntryAminoMsg { - type: string; - value: WriteLogEntriesRequest_LabelsEntryAmino; -} -export interface WriteLogEntriesRequest_LabelsEntrySDKType { - key: string; - value: string; -} -/** The parameters to WriteLogEntries. */ -export interface WriteLogEntriesRequest { - /** - * Optional. A default log resource name that is assigned to all log entries - * in `entries` that do not specify a value for `log_name`: - * - * * `projects/[PROJECT_ID]/logs/[LOG_ID]` - * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]` - * * `folders/[FOLDER_ID]/logs/[LOG_ID]` - * - * `[LOG_ID]` must be URL-encoded. For example: - * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" - * - * The permission `logging.logEntries.create` is needed on each project, - * organization, billing account, or folder that is receiving new log - * entries, whether the resource is specified in `logName` or in an - * individual log entry. - */ - logName: string; - /** - * Optional. A default monitored resource object that is assigned to all log - * entries in `entries` that do not specify a value for `resource`. Example: - * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} - * - * See [LogEntry][google.logging.v2.LogEntry]. - */ - resource: MonitoredResource; - /** - * Optional. Default labels that are added to the `labels` field of all log - * entries in `entries`. If a log entry already has a label with the same key - * as a label in this parameter, then the log entry's label is not changed. - * See [LogEntry][google.logging.v2.LogEntry]. - */ - labels: { - [key: string]: string; - }; - /** - * Required. The log entries to send to Logging. The order of log - * entries in this list does not matter. Values supplied in this method's - * `log_name`, `resource`, and `labels` fields are copied into those log - * entries in this list that do not include values for their corresponding - * fields. For more information, see the - * [LogEntry][google.logging.v2.LogEntry] type. - * - * If the `timestamp` or `insert_id` fields are missing in log entries, then - * this method supplies the current time or a unique identifier, respectively. - * The supplied values are chosen so that, among the log entries that did not - * supply their own values, the entries earlier in the list will sort before - * the entries later in the list. See the `entries.list` method. - * - * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quotas) in - * the past or more than 24 hours in the future will not be available when - * calling `entries.list`. However, those log entries can still be [exported - * with - * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). - * - * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quotas) for calls to - * `entries.write`, you should try to include several log entries in this - * list, rather than calling this method for each individual log entry. - */ - entries: LogEntry[]; - /** - * Optional. Whether valid entries should be written even if some other - * entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any - * entry is not written, then the response status is the error associated - * with one of the failed entries and the response includes error details - * keyed by the entries' zero-based index in the `entries.write` method. - */ - partialSuccess: boolean; - /** - * Optional. If true, the request should expect normal response, but the - * entries won't be persisted nor exported. Useful for checking whether the - * logging API endpoints are working properly before sending valuable data. - */ - dryRun: boolean; -} -export interface WriteLogEntriesRequestProtoMsg { - typeUrl: "/google.logging.v2.WriteLogEntriesRequest"; - value: Uint8Array; -} -/** The parameters to WriteLogEntries. */ -export interface WriteLogEntriesRequestAmino { - /** - * Optional. A default log resource name that is assigned to all log entries - * in `entries` that do not specify a value for `log_name`: - * - * * `projects/[PROJECT_ID]/logs/[LOG_ID]` - * * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]` - * * `folders/[FOLDER_ID]/logs/[LOG_ID]` - * - * `[LOG_ID]` must be URL-encoded. For example: - * - * "projects/my-project-id/logs/syslog" - * "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" - * - * The permission `logging.logEntries.create` is needed on each project, - * organization, billing account, or folder that is receiving new log - * entries, whether the resource is specified in `logName` or in an - * individual log entry. - */ - log_name: string; - /** - * Optional. A default monitored resource object that is assigned to all log - * entries in `entries` that do not specify a value for `resource`. Example: - * - * { "type": "gce_instance", - * "labels": { - * "zone": "us-central1-a", "instance_id": "00000000000000000000" }} - * - * See [LogEntry][google.logging.v2.LogEntry]. - */ - resource?: MonitoredResourceAmino; - /** - * Optional. Default labels that are added to the `labels` field of all log - * entries in `entries`. If a log entry already has a label with the same key - * as a label in this parameter, then the log entry's label is not changed. - * See [LogEntry][google.logging.v2.LogEntry]. - */ - labels: { - [key: string]: string; - }; - /** - * Required. The log entries to send to Logging. The order of log - * entries in this list does not matter. Values supplied in this method's - * `log_name`, `resource`, and `labels` fields are copied into those log - * entries in this list that do not include values for their corresponding - * fields. For more information, see the - * [LogEntry][google.logging.v2.LogEntry] type. - * - * If the `timestamp` or `insert_id` fields are missing in log entries, then - * this method supplies the current time or a unique identifier, respectively. - * The supplied values are chosen so that, among the log entries that did not - * supply their own values, the entries earlier in the list will sort before - * the entries later in the list. See the `entries.list` method. - * - * Log entries with timestamps that are more than the - * [logs retention period](https://cloud.google.com/logging/quotas) in - * the past or more than 24 hours in the future will not be available when - * calling `entries.list`. However, those log entries can still be [exported - * with - * LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). - * - * To improve throughput and to avoid exceeding the - * [quota limit](https://cloud.google.com/logging/quotas) for calls to - * `entries.write`, you should try to include several log entries in this - * list, rather than calling this method for each individual log entry. - */ - entries: LogEntryAmino[]; - /** - * Optional. Whether valid entries should be written even if some other - * entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any - * entry is not written, then the response status is the error associated - * with one of the failed entries and the response includes error details - * keyed by the entries' zero-based index in the `entries.write` method. - */ - partial_success: boolean; - /** - * Optional. If true, the request should expect normal response, but the - * entries won't be persisted nor exported. Useful for checking whether the - * logging API endpoints are working properly before sending valuable data. - */ - dry_run: boolean; -} -export interface WriteLogEntriesRequestAminoMsg { - type: "/google.logging.v2.WriteLogEntriesRequest"; - value: WriteLogEntriesRequestAmino; -} -/** The parameters to WriteLogEntries. */ -export interface WriteLogEntriesRequestSDKType { - log_name: string; - resource: MonitoredResourceSDKType; - labels: { - [key: string]: string; - }; - entries: LogEntrySDKType[]; - partial_success: boolean; - dry_run: boolean; -} -/** Result returned from WriteLogEntries. */ -export interface WriteLogEntriesResponse {} -export interface WriteLogEntriesResponseProtoMsg { - typeUrl: "/google.logging.v2.WriteLogEntriesResponse"; - value: Uint8Array; -} -/** Result returned from WriteLogEntries. */ -export interface WriteLogEntriesResponseAmino {} -export interface WriteLogEntriesResponseAminoMsg { - type: "/google.logging.v2.WriteLogEntriesResponse"; - value: WriteLogEntriesResponseAmino; -} -/** Result returned from WriteLogEntries. */ -export interface WriteLogEntriesResponseSDKType {} -export interface WriteLogEntriesPartialErrors_LogEntryErrorsEntry { - key: number; - value: Status; -} -export interface WriteLogEntriesPartialErrors_LogEntryErrorsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface WriteLogEntriesPartialErrors_LogEntryErrorsEntryAmino { - key: number; - value?: StatusAmino; -} -export interface WriteLogEntriesPartialErrors_LogEntryErrorsEntryAminoMsg { - type: string; - value: WriteLogEntriesPartialErrors_LogEntryErrorsEntryAmino; -} -export interface WriteLogEntriesPartialErrors_LogEntryErrorsEntrySDKType { - key: number; - value: StatusSDKType; -} -/** Error details for WriteLogEntries with partial success. */ -export interface WriteLogEntriesPartialErrors { - /** - * When `WriteLogEntriesRequest.partial_success` is true, records the error - * status for entries that were not written due to a permanent error, keyed - * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. - * - * Failed requests for which no entries are written will not include - * per-entry errors. - */ - logEntryErrors: { - [key: number]: Status; - }; -} -export interface WriteLogEntriesPartialErrorsProtoMsg { - typeUrl: "/google.logging.v2.WriteLogEntriesPartialErrors"; - value: Uint8Array; -} -/** Error details for WriteLogEntries with partial success. */ -export interface WriteLogEntriesPartialErrorsAmino { - /** - * When `WriteLogEntriesRequest.partial_success` is true, records the error - * status for entries that were not written due to a permanent error, keyed - * by the entry's zero-based index in `WriteLogEntriesRequest.entries`. - * - * Failed requests for which no entries are written will not include - * per-entry errors. - */ - log_entry_errors?: { - [key: number]: StatusAmino; - }; -} -export interface WriteLogEntriesPartialErrorsAminoMsg { - type: "/google.logging.v2.WriteLogEntriesPartialErrors"; - value: WriteLogEntriesPartialErrorsAmino; -} -/** Error details for WriteLogEntries with partial success. */ -export interface WriteLogEntriesPartialErrorsSDKType { - log_entry_errors: { - [key: number]: StatusSDKType; - }; -} -/** The parameters to `ListLogEntries`. */ -export interface ListLogEntriesRequest { - /** - * Required. Names of one or more parent resources from which to - * retrieve log entries: - * - * * `projects/[PROJECT_ID]` - * * `organizations/[ORGANIZATION_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]` - * * `folders/[FOLDER_ID]` - * - * May alternatively be one or more views: - * - * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * - * Projects listed in the `project_ids` field are added to this list. - */ - resourceNames: string[]; - /** - * Optional. A filter that chooses which log entries to return. See [Advanced - * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - * Only log entries that match the filter are returned. An empty filter - * matches all log entries in the resources listed in `resource_names`. - * Referencing a parent resource that is not listed in `resource_names` will - * cause the filter to return no results. The maximum length of the filter is - * 20000 characters. - */ - filter: string; - /** - * Optional. How the results should be sorted. Presently, the only permitted - * values are `"timestamp asc"` (default) and `"timestamp desc"`. The first - * option returns entries in order of increasing values of - * `LogEntry.timestamp` (oldest first), and the second option returns entries - * in order of decreasing timestamps (newest first). Entries with equal - * timestamps are returned in order of their `insert_id` values. - */ - orderBy: string; - /** - * Optional. The maximum number of results to return from this request. Default is 50. - * If the value is negative or exceeds 1000, the request is rejected. The - * presence of `next_page_token` in the response indicates that more results - * might be available. - */ - pageSize: number; - /** - * Optional. If present, then retrieve the next batch of results from the - * preceding call to this method. `page_token` must be the value of - * `next_page_token` from the previous response. The values of other method - * parameters should be identical to those in the previous call. - */ - pageToken: string; -} -export interface ListLogEntriesRequestProtoMsg { - typeUrl: "/google.logging.v2.ListLogEntriesRequest"; - value: Uint8Array; -} -/** The parameters to `ListLogEntries`. */ -export interface ListLogEntriesRequestAmino { - /** - * Required. Names of one or more parent resources from which to - * retrieve log entries: - * - * * `projects/[PROJECT_ID]` - * * `organizations/[ORGANIZATION_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]` - * * `folders/[FOLDER_ID]` - * - * May alternatively be one or more views: - * - * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * - * Projects listed in the `project_ids` field are added to this list. - */ - resource_names: string[]; - /** - * Optional. A filter that chooses which log entries to return. See [Advanced - * Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - * Only log entries that match the filter are returned. An empty filter - * matches all log entries in the resources listed in `resource_names`. - * Referencing a parent resource that is not listed in `resource_names` will - * cause the filter to return no results. The maximum length of the filter is - * 20000 characters. - */ - filter: string; - /** - * Optional. How the results should be sorted. Presently, the only permitted - * values are `"timestamp asc"` (default) and `"timestamp desc"`. The first - * option returns entries in order of increasing values of - * `LogEntry.timestamp` (oldest first), and the second option returns entries - * in order of decreasing timestamps (newest first). Entries with equal - * timestamps are returned in order of their `insert_id` values. - */ - order_by: string; - /** - * Optional. The maximum number of results to return from this request. Default is 50. - * If the value is negative or exceeds 1000, the request is rejected. The - * presence of `next_page_token` in the response indicates that more results - * might be available. - */ - page_size: number; - /** - * Optional. If present, then retrieve the next batch of results from the - * preceding call to this method. `page_token` must be the value of - * `next_page_token` from the previous response. The values of other method - * parameters should be identical to those in the previous call. - */ - page_token: string; -} -export interface ListLogEntriesRequestAminoMsg { - type: "/google.logging.v2.ListLogEntriesRequest"; - value: ListLogEntriesRequestAmino; -} -/** The parameters to `ListLogEntries`. */ -export interface ListLogEntriesRequestSDKType { - resource_names: string[]; - filter: string; - order_by: string; - page_size: number; - page_token: string; -} -/** Result returned from `ListLogEntries`. */ -export interface ListLogEntriesResponse { - /** - * A list of log entries. If `entries` is empty, `nextPageToken` may still be - * returned, indicating that more entries may exist. See `nextPageToken` for - * more information. - */ - entries: LogEntry[]; - /** - * If there might be more results than those appearing in this response, then - * `nextPageToken` is included. To get the next set of results, call this - * method again using the value of `nextPageToken` as `pageToken`. - * - * If a value for `next_page_token` appears and the `entries` field is empty, - * it means that the search found no log entries so far but it did not have - * time to search all the possible log entries. Retry the method with this - * value for `page_token` to continue the search. Alternatively, consider - * speeding up the search by changing your filter to specify a single log name - * or resource type, or to narrow the time range of the search. - */ - nextPageToken: string; -} -export interface ListLogEntriesResponseProtoMsg { - typeUrl: "/google.logging.v2.ListLogEntriesResponse"; - value: Uint8Array; -} -/** Result returned from `ListLogEntries`. */ -export interface ListLogEntriesResponseAmino { - /** - * A list of log entries. If `entries` is empty, `nextPageToken` may still be - * returned, indicating that more entries may exist. See `nextPageToken` for - * more information. - */ - entries: LogEntryAmino[]; - /** - * If there might be more results than those appearing in this response, then - * `nextPageToken` is included. To get the next set of results, call this - * method again using the value of `nextPageToken` as `pageToken`. - * - * If a value for `next_page_token` appears and the `entries` field is empty, - * it means that the search found no log entries so far but it did not have - * time to search all the possible log entries. Retry the method with this - * value for `page_token` to continue the search. Alternatively, consider - * speeding up the search by changing your filter to specify a single log name - * or resource type, or to narrow the time range of the search. - */ - next_page_token: string; -} -export interface ListLogEntriesResponseAminoMsg { - type: "/google.logging.v2.ListLogEntriesResponse"; - value: ListLogEntriesResponseAmino; -} -/** Result returned from `ListLogEntries`. */ -export interface ListLogEntriesResponseSDKType { - entries: LogEntrySDKType[]; - next_page_token: string; -} -/** The parameters to ListMonitoredResourceDescriptors */ -export interface ListMonitoredResourceDescriptorsRequest { - /** - * Optional. The maximum number of results to return from this request. - * Non-positive values are ignored. The presence of `nextPageToken` in the - * response indicates that more results might be available. - */ - pageSize: number; - /** - * Optional. If present, then retrieve the next batch of results from the - * preceding call to this method. `pageToken` must be the value of - * `nextPageToken` from the previous response. The values of other method - * parameters should be identical to those in the previous call. - */ - pageToken: string; -} -export interface ListMonitoredResourceDescriptorsRequestProtoMsg { - typeUrl: "/google.logging.v2.ListMonitoredResourceDescriptorsRequest"; - value: Uint8Array; -} -/** The parameters to ListMonitoredResourceDescriptors */ -export interface ListMonitoredResourceDescriptorsRequestAmino { - /** - * Optional. The maximum number of results to return from this request. - * Non-positive values are ignored. The presence of `nextPageToken` in the - * response indicates that more results might be available. - */ - page_size: number; - /** - * Optional. If present, then retrieve the next batch of results from the - * preceding call to this method. `pageToken` must be the value of - * `nextPageToken` from the previous response. The values of other method - * parameters should be identical to those in the previous call. - */ - page_token: string; -} -export interface ListMonitoredResourceDescriptorsRequestAminoMsg { - type: "/google.logging.v2.ListMonitoredResourceDescriptorsRequest"; - value: ListMonitoredResourceDescriptorsRequestAmino; -} -/** The parameters to ListMonitoredResourceDescriptors */ -export interface ListMonitoredResourceDescriptorsRequestSDKType { - page_size: number; - page_token: string; -} -/** Result returned from ListMonitoredResourceDescriptors. */ -export interface ListMonitoredResourceDescriptorsResponse { - /** A list of resource descriptors. */ - resourceDescriptors: MonitoredResourceDescriptor[]; - /** - * If there might be more results than those appearing in this response, then - * `nextPageToken` is included. To get the next set of results, call this - * method again using the value of `nextPageToken` as `pageToken`. - */ - nextPageToken: string; -} -export interface ListMonitoredResourceDescriptorsResponseProtoMsg { - typeUrl: "/google.logging.v2.ListMonitoredResourceDescriptorsResponse"; - value: Uint8Array; -} -/** Result returned from ListMonitoredResourceDescriptors. */ -export interface ListMonitoredResourceDescriptorsResponseAmino { - /** A list of resource descriptors. */ - resource_descriptors: MonitoredResourceDescriptorAmino[]; - /** - * If there might be more results than those appearing in this response, then - * `nextPageToken` is included. To get the next set of results, call this - * method again using the value of `nextPageToken` as `pageToken`. - */ - next_page_token: string; -} -export interface ListMonitoredResourceDescriptorsResponseAminoMsg { - type: "/google.logging.v2.ListMonitoredResourceDescriptorsResponse"; - value: ListMonitoredResourceDescriptorsResponseAmino; -} -/** Result returned from ListMonitoredResourceDescriptors. */ -export interface ListMonitoredResourceDescriptorsResponseSDKType { - resource_descriptors: MonitoredResourceDescriptorSDKType[]; - next_page_token: string; -} -/** The parameters to ListLogs. */ -export interface ListLogsRequest { - /** - * Required. The resource name that owns the logs: - * - * * `projects/[PROJECT_ID]` - * * `organizations/[ORGANIZATION_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]` - * * `folders/[FOLDER_ID]` - */ - parent: string; - /** - * Optional. The maximum number of results to return from this request. - * Non-positive values are ignored. The presence of `nextPageToken` in the - * response indicates that more results might be available. - */ - pageSize: number; - /** - * Optional. If present, then retrieve the next batch of results from the - * preceding call to this method. `pageToken` must be the value of - * `nextPageToken` from the previous response. The values of other method - * parameters should be identical to those in the previous call. - */ - pageToken: string; - /** - * Optional. The resource name that owns the logs: - * - * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * - * To support legacy queries, it could also be: - * - * * `projects/[PROJECT_ID]` - * * `organizations/[ORGANIZATION_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]` - * * `folders/[FOLDER_ID]` - */ - resourceNames: string[]; -} -export interface ListLogsRequestProtoMsg { - typeUrl: "/google.logging.v2.ListLogsRequest"; - value: Uint8Array; -} -/** The parameters to ListLogs. */ -export interface ListLogsRequestAmino { - /** - * Required. The resource name that owns the logs: - * - * * `projects/[PROJECT_ID]` - * * `organizations/[ORGANIZATION_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]` - * * `folders/[FOLDER_ID]` - */ - parent: string; - /** - * Optional. The maximum number of results to return from this request. - * Non-positive values are ignored. The presence of `nextPageToken` in the - * response indicates that more results might be available. - */ - page_size: number; - /** - * Optional. If present, then retrieve the next batch of results from the - * preceding call to this method. `pageToken` must be the value of - * `nextPageToken` from the previous response. The values of other method - * parameters should be identical to those in the previous call. - */ - page_token: string; - /** - * Optional. The resource name that owns the logs: - * - * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * - * To support legacy queries, it could also be: - * - * * `projects/[PROJECT_ID]` - * * `organizations/[ORGANIZATION_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]` - * * `folders/[FOLDER_ID]` - */ - resource_names: string[]; -} -export interface ListLogsRequestAminoMsg { - type: "/google.logging.v2.ListLogsRequest"; - value: ListLogsRequestAmino; -} -/** The parameters to ListLogs. */ -export interface ListLogsRequestSDKType { - parent: string; - page_size: number; - page_token: string; - resource_names: string[]; -} -/** Result returned from ListLogs. */ -export interface ListLogsResponse { - /** - * A list of log names. For example, - * `"projects/my-project/logs/syslog"` or - * `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`. - */ - logNames: string[]; - /** - * If there might be more results than those appearing in this response, then - * `nextPageToken` is included. To get the next set of results, call this - * method again using the value of `nextPageToken` as `pageToken`. - */ - nextPageToken: string; -} -export interface ListLogsResponseProtoMsg { - typeUrl: "/google.logging.v2.ListLogsResponse"; - value: Uint8Array; -} -/** Result returned from ListLogs. */ -export interface ListLogsResponseAmino { - /** - * A list of log names. For example, - * `"projects/my-project/logs/syslog"` or - * `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`. - */ - log_names: string[]; - /** - * If there might be more results than those appearing in this response, then - * `nextPageToken` is included. To get the next set of results, call this - * method again using the value of `nextPageToken` as `pageToken`. - */ - next_page_token: string; -} -export interface ListLogsResponseAminoMsg { - type: "/google.logging.v2.ListLogsResponse"; - value: ListLogsResponseAmino; -} -/** Result returned from ListLogs. */ -export interface ListLogsResponseSDKType { - log_names: string[]; - next_page_token: string; -} -/** The parameters to `TailLogEntries`. */ -export interface TailLogEntriesRequest { - /** - * Required. Name of a parent resource from which to retrieve log entries: - * - * * `projects/[PROJECT_ID]` - * * `organizations/[ORGANIZATION_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]` - * * `folders/[FOLDER_ID]` - * - * May alternatively be one or more views: - * - * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - */ - resourceNames: string[]; - /** - * Optional. A filter that chooses which log entries to return. See [Advanced - * Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters). - * Only log entries that match the filter are returned. An empty filter - * matches all log entries in the resources listed in `resource_names`. - * Referencing a parent resource that is not in `resource_names` will cause - * the filter to return no results. The maximum length of the filter is 20000 - * characters. - */ - filter: string; - /** - * Optional. The amount of time to buffer log entries at the server before - * being returned to prevent out of order results due to late arriving log - * entries. Valid values are between 0-60000 milliseconds. Defaults to 2000 - * milliseconds. - */ - bufferWindow: Duration; -} -export interface TailLogEntriesRequestProtoMsg { - typeUrl: "/google.logging.v2.TailLogEntriesRequest"; - value: Uint8Array; -} -/** The parameters to `TailLogEntries`. */ -export interface TailLogEntriesRequestAmino { - /** - * Required. Name of a parent resource from which to retrieve log entries: - * - * * `projects/[PROJECT_ID]` - * * `organizations/[ORGANIZATION_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]` - * * `folders/[FOLDER_ID]` - * - * May alternatively be one or more views: - * - * * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - * * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` - */ - resource_names: string[]; - /** - * Optional. A filter that chooses which log entries to return. See [Advanced - * Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters). - * Only log entries that match the filter are returned. An empty filter - * matches all log entries in the resources listed in `resource_names`. - * Referencing a parent resource that is not in `resource_names` will cause - * the filter to return no results. The maximum length of the filter is 20000 - * characters. - */ - filter: string; - /** - * Optional. The amount of time to buffer log entries at the server before - * being returned to prevent out of order results due to late arriving log - * entries. Valid values are between 0-60000 milliseconds. Defaults to 2000 - * milliseconds. - */ - buffer_window?: DurationAmino; -} -export interface TailLogEntriesRequestAminoMsg { - type: "/google.logging.v2.TailLogEntriesRequest"; - value: TailLogEntriesRequestAmino; -} -/** The parameters to `TailLogEntries`. */ -export interface TailLogEntriesRequestSDKType { - resource_names: string[]; - filter: string; - buffer_window: DurationSDKType; -} -/** Result returned from `TailLogEntries`. */ -export interface TailLogEntriesResponse { - /** - * A list of log entries. Each response in the stream will order entries with - * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed - * between separate responses. - */ - entries: LogEntry[]; - /** - * If entries that otherwise would have been included in the session were not - * sent back to the client, counts of relevant entries omitted from the - * session with the reason that they were not included. There will be at most - * one of each reason per response. The counts represent the number of - * suppressed entries since the last streamed response. - */ - suppressionInfo: TailLogEntriesResponse_SuppressionInfo[]; -} -export interface TailLogEntriesResponseProtoMsg { - typeUrl: "/google.logging.v2.TailLogEntriesResponse"; - value: Uint8Array; -} -/** Result returned from `TailLogEntries`. */ -export interface TailLogEntriesResponseAmino { - /** - * A list of log entries. Each response in the stream will order entries with - * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed - * between separate responses. - */ - entries: LogEntryAmino[]; - /** - * If entries that otherwise would have been included in the session were not - * sent back to the client, counts of relevant entries omitted from the - * session with the reason that they were not included. There will be at most - * one of each reason per response. The counts represent the number of - * suppressed entries since the last streamed response. - */ - suppression_info: TailLogEntriesResponse_SuppressionInfoAmino[]; -} -export interface TailLogEntriesResponseAminoMsg { - type: "/google.logging.v2.TailLogEntriesResponse"; - value: TailLogEntriesResponseAmino; -} -/** Result returned from `TailLogEntries`. */ -export interface TailLogEntriesResponseSDKType { - entries: LogEntrySDKType[]; - suppression_info: TailLogEntriesResponse_SuppressionInfoSDKType[]; -} -/** Information about entries that were omitted from the session. */ -export interface TailLogEntriesResponse_SuppressionInfo { - /** The reason that entries were omitted from the session. */ - reason: TailLogEntriesResponse_SuppressionInfo_Reason; - /** A lower bound on the count of entries omitted due to `reason`. */ - suppressedCount: number; -} -export interface TailLogEntriesResponse_SuppressionInfoProtoMsg { - typeUrl: "/google.logging.v2.SuppressionInfo"; - value: Uint8Array; -} -/** Information about entries that were omitted from the session. */ -export interface TailLogEntriesResponse_SuppressionInfoAmino { - /** The reason that entries were omitted from the session. */ - reason: TailLogEntriesResponse_SuppressionInfo_Reason; - /** A lower bound on the count of entries omitted due to `reason`. */ - suppressed_count: number; -} -export interface TailLogEntriesResponse_SuppressionInfoAminoMsg { - type: "/google.logging.v2.SuppressionInfo"; - value: TailLogEntriesResponse_SuppressionInfoAmino; -} -/** Information about entries that were omitted from the session. */ -export interface TailLogEntriesResponse_SuppressionInfoSDKType { - reason: TailLogEntriesResponse_SuppressionInfo_Reason; - suppressed_count: number; -} -function createBaseDeleteLogRequest(): DeleteLogRequest { - return { - logName: "" - }; -} -export const DeleteLogRequest = { - typeUrl: "/google.logging.v2.DeleteLogRequest", - encode(message: DeleteLogRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.logName !== "") { - writer.uint32(10).string(message.logName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeleteLogRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteLogRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.logName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DeleteLogRequest { - const obj = createBaseDeleteLogRequest(); - if (isSet(object.logName)) obj.logName = String(object.logName); - return obj; - }, - toJSON(message: DeleteLogRequest): unknown { - const obj: any = {}; - message.logName !== undefined && (obj.logName = message.logName); - return obj; - }, - fromPartial(object: DeepPartial): DeleteLogRequest { - const message = createBaseDeleteLogRequest(); - message.logName = object.logName ?? ""; - return message; - }, - fromSDK(object: DeleteLogRequestSDKType): DeleteLogRequest { - return { - logName: object?.log_name - }; - }, - toSDK(message: DeleteLogRequest): DeleteLogRequestSDKType { - const obj: any = {}; - obj.log_name = message.logName; - return obj; - }, - fromAmino(object: DeleteLogRequestAmino): DeleteLogRequest { - return { - logName: object.log_name - }; - }, - toAmino(message: DeleteLogRequest): DeleteLogRequestAmino { - const obj: any = {}; - obj.log_name = message.logName; - return obj; - }, - fromAminoMsg(object: DeleteLogRequestAminoMsg): DeleteLogRequest { - return DeleteLogRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DeleteLogRequestProtoMsg): DeleteLogRequest { - return DeleteLogRequest.decode(message.value); - }, - toProto(message: DeleteLogRequest): Uint8Array { - return DeleteLogRequest.encode(message).finish(); - }, - toProtoMsg(message: DeleteLogRequest): DeleteLogRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.DeleteLogRequest", - value: DeleteLogRequest.encode(message).finish() - }; - } -}; -function createBaseWriteLogEntriesRequest_LabelsEntry(): WriteLogEntriesRequest_LabelsEntry { - return { - key: "", - value: "" - }; -} -export const WriteLogEntriesRequest_LabelsEntry = { - encode(message: WriteLogEntriesRequest_LabelsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): WriteLogEntriesRequest_LabelsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseWriteLogEntriesRequest_LabelsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): WriteLogEntriesRequest_LabelsEntry { - const obj = createBaseWriteLogEntriesRequest_LabelsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: WriteLogEntriesRequest_LabelsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): WriteLogEntriesRequest_LabelsEntry { - const message = createBaseWriteLogEntriesRequest_LabelsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: WriteLogEntriesRequest_LabelsEntrySDKType): WriteLogEntriesRequest_LabelsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: WriteLogEntriesRequest_LabelsEntry): WriteLogEntriesRequest_LabelsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: WriteLogEntriesRequest_LabelsEntryAmino): WriteLogEntriesRequest_LabelsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: WriteLogEntriesRequest_LabelsEntry): WriteLogEntriesRequest_LabelsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: WriteLogEntriesRequest_LabelsEntryAminoMsg): WriteLogEntriesRequest_LabelsEntry { - return WriteLogEntriesRequest_LabelsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: WriteLogEntriesRequest_LabelsEntryProtoMsg): WriteLogEntriesRequest_LabelsEntry { - return WriteLogEntriesRequest_LabelsEntry.decode(message.value); - }, - toProto(message: WriteLogEntriesRequest_LabelsEntry): Uint8Array { - return WriteLogEntriesRequest_LabelsEntry.encode(message).finish(); - } -}; -function createBaseWriteLogEntriesRequest(): WriteLogEntriesRequest { - return { - logName: "", - resource: MonitoredResource.fromPartial({}), - labels: {}, - entries: [], - partialSuccess: false, - dryRun: false - }; -} -export const WriteLogEntriesRequest = { - typeUrl: "/google.logging.v2.WriteLogEntriesRequest", - encode(message: WriteLogEntriesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.logName !== "") { - writer.uint32(10).string(message.logName); - } - if (message.resource !== undefined) { - MonitoredResource.encode(message.resource, writer.uint32(18).fork()).ldelim(); - } - Object.entries(message.labels).forEach(([key, value]) => { - WriteLogEntriesRequest_LabelsEntry.encode({ - key: (key as any), - value - }, writer.uint32(26).fork()).ldelim(); - }); - for (const v of message.entries) { - LogEntry.encode(v!, writer.uint32(34).fork()).ldelim(); - } - if (message.partialSuccess === true) { - writer.uint32(40).bool(message.partialSuccess); - } - if (message.dryRun === true) { - writer.uint32(48).bool(message.dryRun); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): WriteLogEntriesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseWriteLogEntriesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.logName = reader.string(); - break; - case 2: - message.resource = MonitoredResource.decode(reader, reader.uint32()); - break; - case 3: - const entry3 = WriteLogEntriesRequest_LabelsEntry.decode(reader, reader.uint32()); - if (entry3.value !== undefined) { - message.labels[entry3.key] = entry3.value; - } - break; - case 4: - message.entries.push(LogEntry.decode(reader, reader.uint32())); - break; - case 5: - message.partialSuccess = reader.bool(); - break; - case 6: - message.dryRun = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): WriteLogEntriesRequest { - const obj = createBaseWriteLogEntriesRequest(); - if (isSet(object.logName)) obj.logName = String(object.logName); - if (isSet(object.resource)) obj.resource = MonitoredResource.fromJSON(object.resource); - if (isObject(object.labels)) obj.labels = Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => LogEntry.fromJSON(e)); - if (isSet(object.partialSuccess)) obj.partialSuccess = Boolean(object.partialSuccess); - if (isSet(object.dryRun)) obj.dryRun = Boolean(object.dryRun); - return obj; - }, - toJSON(message: WriteLogEntriesRequest): unknown { - const obj: any = {}; - message.logName !== undefined && (obj.logName = message.logName); - message.resource !== undefined && (obj.resource = message.resource ? MonitoredResource.toJSON(message.resource) : undefined); - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - if (message.entries) { - obj.entries = message.entries.map(e => e ? LogEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - message.partialSuccess !== undefined && (obj.partialSuccess = message.partialSuccess); - message.dryRun !== undefined && (obj.dryRun = message.dryRun); - return obj; - }, - fromPartial(object: DeepPartial): WriteLogEntriesRequest { - const message = createBaseWriteLogEntriesRequest(); - message.logName = object.logName ?? ""; - if (object.resource !== undefined && object.resource !== null) { - message.resource = MonitoredResource.fromPartial(object.resource); - } - message.labels = Object.entries(object.labels ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - message.entries = object.entries?.map(e => LogEntry.fromPartial(e)) || []; - message.partialSuccess = object.partialSuccess ?? false; - message.dryRun = object.dryRun ?? false; - return message; - }, - fromSDK(object: WriteLogEntriesRequestSDKType): WriteLogEntriesRequest { - return { - logName: object?.log_name, - resource: object.resource ? MonitoredResource.fromSDK(object.resource) : undefined, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => LogEntry.fromSDK(e)) : [], - partialSuccess: object?.partial_success, - dryRun: object?.dry_run - }; - }, - toSDK(message: WriteLogEntriesRequest): WriteLogEntriesRequestSDKType { - const obj: any = {}; - obj.log_name = message.logName; - message.resource !== undefined && (obj.resource = message.resource ? MonitoredResource.toSDK(message.resource) : undefined); - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - if (message.entries) { - obj.entries = message.entries.map(e => e ? LogEntry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - obj.partial_success = message.partialSuccess; - obj.dry_run = message.dryRun; - return obj; - }, - fromAmino(object: WriteLogEntriesRequestAmino): WriteLogEntriesRequest { - return { - logName: object.log_name, - resource: object?.resource ? MonitoredResource.fromAmino(object.resource) : undefined, - labels: isObject(object.labels) ? Object.entries(object.labels).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => LogEntry.fromAmino(e)) : [], - partialSuccess: object.partial_success, - dryRun: object.dry_run - }; - }, - toAmino(message: WriteLogEntriesRequest): WriteLogEntriesRequestAmino { - const obj: any = {}; - obj.log_name = message.logName; - obj.resource = message.resource ? MonitoredResource.toAmino(message.resource) : undefined; - obj.labels = {}; - if (message.labels) { - Object.entries(message.labels).forEach(([k, v]) => { - obj.labels[k] = v; - }); - } - if (message.entries) { - obj.entries = message.entries.map(e => e ? LogEntry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - obj.partial_success = message.partialSuccess; - obj.dry_run = message.dryRun; - return obj; - }, - fromAminoMsg(object: WriteLogEntriesRequestAminoMsg): WriteLogEntriesRequest { - return WriteLogEntriesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: WriteLogEntriesRequestProtoMsg): WriteLogEntriesRequest { - return WriteLogEntriesRequest.decode(message.value); - }, - toProto(message: WriteLogEntriesRequest): Uint8Array { - return WriteLogEntriesRequest.encode(message).finish(); - }, - toProtoMsg(message: WriteLogEntriesRequest): WriteLogEntriesRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.WriteLogEntriesRequest", - value: WriteLogEntriesRequest.encode(message).finish() - }; - } -}; -function createBaseWriteLogEntriesResponse(): WriteLogEntriesResponse { - return {}; -} -export const WriteLogEntriesResponse = { - typeUrl: "/google.logging.v2.WriteLogEntriesResponse", - encode(_: WriteLogEntriesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): WriteLogEntriesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseWriteLogEntriesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): WriteLogEntriesResponse { - const obj = createBaseWriteLogEntriesResponse(); - return obj; - }, - toJSON(_: WriteLogEntriesResponse): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): WriteLogEntriesResponse { - const message = createBaseWriteLogEntriesResponse(); - return message; - }, - fromSDK(_: WriteLogEntriesResponseSDKType): WriteLogEntriesResponse { - return {}; - }, - toSDK(_: WriteLogEntriesResponse): WriteLogEntriesResponseSDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: WriteLogEntriesResponseAmino): WriteLogEntriesResponse { - return {}; - }, - toAmino(_: WriteLogEntriesResponse): WriteLogEntriesResponseAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: WriteLogEntriesResponseAminoMsg): WriteLogEntriesResponse { - return WriteLogEntriesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: WriteLogEntriesResponseProtoMsg): WriteLogEntriesResponse { - return WriteLogEntriesResponse.decode(message.value); - }, - toProto(message: WriteLogEntriesResponse): Uint8Array { - return WriteLogEntriesResponse.encode(message).finish(); - }, - toProtoMsg(message: WriteLogEntriesResponse): WriteLogEntriesResponseProtoMsg { - return { - typeUrl: "/google.logging.v2.WriteLogEntriesResponse", - value: WriteLogEntriesResponse.encode(message).finish() - }; - } -}; -function createBaseWriteLogEntriesPartialErrors_LogEntryErrorsEntry(): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { - return { - key: 0, - value: Status.fromPartial({}) - }; -} -export const WriteLogEntriesPartialErrors_LogEntryErrorsEntry = { - encode(message: WriteLogEntriesPartialErrors_LogEntryErrorsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== 0) { - writer.uint32(8).int32(message.key); - } - if (message.value !== undefined) { - Status.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseWriteLogEntriesPartialErrors_LogEntryErrorsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.int32(); - break; - case 2: - message.value = Status.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { - const obj = createBaseWriteLogEntriesPartialErrors_LogEntryErrorsEntry(); - if (isSet(object.key)) obj.key = Number(object.key); - if (isSet(object.value)) obj.value = Status.fromJSON(object.value); - return obj; - }, - toJSON(message: WriteLogEntriesPartialErrors_LogEntryErrorsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = Math.round(message.key)); - message.value !== undefined && (obj.value = message.value ? Status.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { - const message = createBaseWriteLogEntriesPartialErrors_LogEntryErrorsEntry(); - message.key = object.key ?? 0; - if (object.value !== undefined && object.value !== null) { - message.value = Status.fromPartial(object.value); - } - return message; - }, - fromSDK(object: WriteLogEntriesPartialErrors_LogEntryErrorsEntrySDKType): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { - return { - key: object?.key, - value: object.value ? Status.fromSDK(object.value) : undefined - }; - }, - toSDK(message: WriteLogEntriesPartialErrors_LogEntryErrorsEntry): WriteLogEntriesPartialErrors_LogEntryErrorsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - message.value !== undefined && (obj.value = message.value ? Status.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: WriteLogEntriesPartialErrors_LogEntryErrorsEntryAmino): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { - return { - key: object.key, - value: object?.value ? Status.fromAmino(object.value) : undefined - }; - }, - toAmino(message: WriteLogEntriesPartialErrors_LogEntryErrorsEntry): WriteLogEntriesPartialErrors_LogEntryErrorsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value ? Status.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: WriteLogEntriesPartialErrors_LogEntryErrorsEntryAminoMsg): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { - return WriteLogEntriesPartialErrors_LogEntryErrorsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: WriteLogEntriesPartialErrors_LogEntryErrorsEntryProtoMsg): WriteLogEntriesPartialErrors_LogEntryErrorsEntry { - return WriteLogEntriesPartialErrors_LogEntryErrorsEntry.decode(message.value); - }, - toProto(message: WriteLogEntriesPartialErrors_LogEntryErrorsEntry): Uint8Array { - return WriteLogEntriesPartialErrors_LogEntryErrorsEntry.encode(message).finish(); - } -}; -function createBaseWriteLogEntriesPartialErrors(): WriteLogEntriesPartialErrors { - return { - logEntryErrors: {} - }; -} -export const WriteLogEntriesPartialErrors = { - typeUrl: "/google.logging.v2.WriteLogEntriesPartialErrors", - encode(message: WriteLogEntriesPartialErrors, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - Object.entries(message.logEntryErrors).forEach(([key, value]) => { - WriteLogEntriesPartialErrors_LogEntryErrorsEntry.encode({ - key: (key as any), - value - }, writer.uint32(10).fork()).ldelim(); - }); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): WriteLogEntriesPartialErrors { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseWriteLogEntriesPartialErrors(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - const entry1 = WriteLogEntriesPartialErrors_LogEntryErrorsEntry.decode(reader, reader.uint32()); - if (entry1.value !== undefined) { - message.logEntryErrors[entry1.key] = entry1.value; - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): WriteLogEntriesPartialErrors { - const obj = createBaseWriteLogEntriesPartialErrors(); - if (isObject(object.logEntryErrors)) obj.logEntryErrors = Object.entries(object.logEntryErrors).reduce<{ - [key: number]: Status; - }>((acc, [key, value]) => { - acc[Number(key)] = Status.fromJSON(value); - return acc; - }, {}); - return obj; - }, - toJSON(message: WriteLogEntriesPartialErrors): unknown { - const obj: any = {}; - obj.logEntryErrors = {}; - if (message.logEntryErrors) { - Object.entries(message.logEntryErrors).forEach(([k, v]) => { - obj.logEntryErrors[k] = Status.toJSON(v); - }); - } - return obj; - }, - fromPartial(object: DeepPartial): WriteLogEntriesPartialErrors { - const message = createBaseWriteLogEntriesPartialErrors(); - message.logEntryErrors = Object.entries(object.logEntryErrors ?? {}).reduce<{ - [key: number]: Status; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[Number(key)] = Status.fromPartial(value); - } - return acc; - }, {}); - return message; - }, - fromSDK(object: WriteLogEntriesPartialErrorsSDKType): WriteLogEntriesPartialErrors { - return { - logEntryErrors: isObject(object.log_entry_errors) ? Object.entries(object.log_entry_errors).reduce<{ - [key: number]: Status; - }>((acc, [key, value]) => { - acc[Number(key)] = Status.fromSDK(value); - return acc; - }, {}) : {} - }; - }, - toSDK(message: WriteLogEntriesPartialErrors): WriteLogEntriesPartialErrorsSDKType { - const obj: any = {}; - obj.log_entry_errors = {}; - if (message.logEntryErrors) { - Object.entries(message.logEntryErrors).forEach(([k, v]) => { - obj.log_entry_errors[k] = Status.toSDK(v); - }); - } - return obj; - }, - fromAmino(object: WriteLogEntriesPartialErrorsAmino): WriteLogEntriesPartialErrors { - return { - logEntryErrors: isObject(object.log_entry_errors) ? Object.entries(object.log_entry_errors).reduce<{ - [key: number]: Status; - }>((acc, [key, value]) => { - acc[Number(key)] = Status.fromAmino(value); - return acc; - }, {}) : {} - }; - }, - toAmino(message: WriteLogEntriesPartialErrors): WriteLogEntriesPartialErrorsAmino { - const obj: any = {}; - obj.log_entry_errors = {}; - if (message.logEntryErrors) { - Object.entries(message.logEntryErrors).forEach(([k, v]) => { - obj.log_entry_errors[k] = Status.toAmino(v); - }); - } - return obj; - }, - fromAminoMsg(object: WriteLogEntriesPartialErrorsAminoMsg): WriteLogEntriesPartialErrors { - return WriteLogEntriesPartialErrors.fromAmino(object.value); - }, - fromProtoMsg(message: WriteLogEntriesPartialErrorsProtoMsg): WriteLogEntriesPartialErrors { - return WriteLogEntriesPartialErrors.decode(message.value); - }, - toProto(message: WriteLogEntriesPartialErrors): Uint8Array { - return WriteLogEntriesPartialErrors.encode(message).finish(); - }, - toProtoMsg(message: WriteLogEntriesPartialErrors): WriteLogEntriesPartialErrorsProtoMsg { - return { - typeUrl: "/google.logging.v2.WriteLogEntriesPartialErrors", - value: WriteLogEntriesPartialErrors.encode(message).finish() - }; - } -}; -function createBaseListLogEntriesRequest(): ListLogEntriesRequest { - return { - resourceNames: [], - filter: "", - orderBy: "", - pageSize: 0, - pageToken: "" - }; -} -export const ListLogEntriesRequest = { - typeUrl: "/google.logging.v2.ListLogEntriesRequest", - encode(message: ListLogEntriesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.resourceNames) { - writer.uint32(66).string(v!); - } - if (message.filter !== "") { - writer.uint32(18).string(message.filter); - } - if (message.orderBy !== "") { - writer.uint32(26).string(message.orderBy); - } - if (message.pageSize !== 0) { - writer.uint32(32).int32(message.pageSize); - } - if (message.pageToken !== "") { - writer.uint32(42).string(message.pageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListLogEntriesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListLogEntriesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 8: - message.resourceNames.push(reader.string()); - break; - case 2: - message.filter = reader.string(); - break; - case 3: - message.orderBy = reader.string(); - break; - case 4: - message.pageSize = reader.int32(); - break; - case 5: - message.pageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListLogEntriesRequest { - const obj = createBaseListLogEntriesRequest(); - if (Array.isArray(object?.resourceNames)) obj.resourceNames = object.resourceNames.map((e: any) => String(e)); - if (isSet(object.filter)) obj.filter = String(object.filter); - if (isSet(object.orderBy)) obj.orderBy = String(object.orderBy); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - return obj; - }, - toJSON(message: ListLogEntriesRequest): unknown { - const obj: any = {}; - if (message.resourceNames) { - obj.resourceNames = message.resourceNames.map(e => e); - } else { - obj.resourceNames = []; - } - message.filter !== undefined && (obj.filter = message.filter); - message.orderBy !== undefined && (obj.orderBy = message.orderBy); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListLogEntriesRequest { - const message = createBaseListLogEntriesRequest(); - message.resourceNames = object.resourceNames?.map(e => e) || []; - message.filter = object.filter ?? ""; - message.orderBy = object.orderBy ?? ""; - message.pageSize = object.pageSize ?? 0; - message.pageToken = object.pageToken ?? ""; - return message; - }, - fromSDK(object: ListLogEntriesRequestSDKType): ListLogEntriesRequest { - return { - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [], - filter: object?.filter, - orderBy: object?.order_by, - pageSize: object?.page_size, - pageToken: object?.page_token - }; - }, - toSDK(message: ListLogEntriesRequest): ListLogEntriesRequestSDKType { - const obj: any = {}; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - obj.filter = message.filter; - obj.order_by = message.orderBy; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - return obj; - }, - fromAmino(object: ListLogEntriesRequestAmino): ListLogEntriesRequest { - return { - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [], - filter: object.filter, - orderBy: object.order_by, - pageSize: object.page_size, - pageToken: object.page_token - }; - }, - toAmino(message: ListLogEntriesRequest): ListLogEntriesRequestAmino { - const obj: any = {}; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - obj.filter = message.filter; - obj.order_by = message.orderBy; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - return obj; - }, - fromAminoMsg(object: ListLogEntriesRequestAminoMsg): ListLogEntriesRequest { - return ListLogEntriesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListLogEntriesRequestProtoMsg): ListLogEntriesRequest { - return ListLogEntriesRequest.decode(message.value); - }, - toProto(message: ListLogEntriesRequest): Uint8Array { - return ListLogEntriesRequest.encode(message).finish(); - }, - toProtoMsg(message: ListLogEntriesRequest): ListLogEntriesRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.ListLogEntriesRequest", - value: ListLogEntriesRequest.encode(message).finish() - }; - } -}; -function createBaseListLogEntriesResponse(): ListLogEntriesResponse { - return { - entries: [], - nextPageToken: "" - }; -} -export const ListLogEntriesResponse = { - typeUrl: "/google.logging.v2.ListLogEntriesResponse", - encode(message: ListLogEntriesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.entries) { - LogEntry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListLogEntriesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListLogEntriesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.entries.push(LogEntry.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListLogEntriesResponse { - const obj = createBaseListLogEntriesResponse(); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => LogEntry.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListLogEntriesResponse): unknown { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? LogEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListLogEntriesResponse { - const message = createBaseListLogEntriesResponse(); - message.entries = object.entries?.map(e => LogEntry.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListLogEntriesResponseSDKType): ListLogEntriesResponse { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => LogEntry.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListLogEntriesResponse): ListLogEntriesResponseSDKType { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? LogEntry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListLogEntriesResponseAmino): ListLogEntriesResponse { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => LogEntry.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListLogEntriesResponse): ListLogEntriesResponseAmino { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? LogEntry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListLogEntriesResponseAminoMsg): ListLogEntriesResponse { - return ListLogEntriesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListLogEntriesResponseProtoMsg): ListLogEntriesResponse { - return ListLogEntriesResponse.decode(message.value); - }, - toProto(message: ListLogEntriesResponse): Uint8Array { - return ListLogEntriesResponse.encode(message).finish(); - }, - toProtoMsg(message: ListLogEntriesResponse): ListLogEntriesResponseProtoMsg { - return { - typeUrl: "/google.logging.v2.ListLogEntriesResponse", - value: ListLogEntriesResponse.encode(message).finish() - }; - } -}; -function createBaseListMonitoredResourceDescriptorsRequest(): ListMonitoredResourceDescriptorsRequest { - return { - pageSize: 0, - pageToken: "" - }; -} -export const ListMonitoredResourceDescriptorsRequest = { - typeUrl: "/google.logging.v2.ListMonitoredResourceDescriptorsRequest", - encode(message: ListMonitoredResourceDescriptorsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.pageSize !== 0) { - writer.uint32(8).int32(message.pageSize); - } - if (message.pageToken !== "") { - writer.uint32(18).string(message.pageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListMonitoredResourceDescriptorsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListMonitoredResourceDescriptorsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.pageSize = reader.int32(); - break; - case 2: - message.pageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListMonitoredResourceDescriptorsRequest { - const obj = createBaseListMonitoredResourceDescriptorsRequest(); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - return obj; - }, - toJSON(message: ListMonitoredResourceDescriptorsRequest): unknown { - const obj: any = {}; - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListMonitoredResourceDescriptorsRequest { - const message = createBaseListMonitoredResourceDescriptorsRequest(); - message.pageSize = object.pageSize ?? 0; - message.pageToken = object.pageToken ?? ""; - return message; - }, - fromSDK(object: ListMonitoredResourceDescriptorsRequestSDKType): ListMonitoredResourceDescriptorsRequest { - return { - pageSize: object?.page_size, - pageToken: object?.page_token - }; - }, - toSDK(message: ListMonitoredResourceDescriptorsRequest): ListMonitoredResourceDescriptorsRequestSDKType { - const obj: any = {}; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - return obj; - }, - fromAmino(object: ListMonitoredResourceDescriptorsRequestAmino): ListMonitoredResourceDescriptorsRequest { - return { - pageSize: object.page_size, - pageToken: object.page_token - }; - }, - toAmino(message: ListMonitoredResourceDescriptorsRequest): ListMonitoredResourceDescriptorsRequestAmino { - const obj: any = {}; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - return obj; - }, - fromAminoMsg(object: ListMonitoredResourceDescriptorsRequestAminoMsg): ListMonitoredResourceDescriptorsRequest { - return ListMonitoredResourceDescriptorsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListMonitoredResourceDescriptorsRequestProtoMsg): ListMonitoredResourceDescriptorsRequest { - return ListMonitoredResourceDescriptorsRequest.decode(message.value); - }, - toProto(message: ListMonitoredResourceDescriptorsRequest): Uint8Array { - return ListMonitoredResourceDescriptorsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListMonitoredResourceDescriptorsRequest): ListMonitoredResourceDescriptorsRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.ListMonitoredResourceDescriptorsRequest", - value: ListMonitoredResourceDescriptorsRequest.encode(message).finish() - }; - } -}; -function createBaseListMonitoredResourceDescriptorsResponse(): ListMonitoredResourceDescriptorsResponse { - return { - resourceDescriptors: [], - nextPageToken: "" - }; -} -export const ListMonitoredResourceDescriptorsResponse = { - typeUrl: "/google.logging.v2.ListMonitoredResourceDescriptorsResponse", - encode(message: ListMonitoredResourceDescriptorsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.resourceDescriptors) { - MonitoredResourceDescriptor.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListMonitoredResourceDescriptorsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListMonitoredResourceDescriptorsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.resourceDescriptors.push(MonitoredResourceDescriptor.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListMonitoredResourceDescriptorsResponse { - const obj = createBaseListMonitoredResourceDescriptorsResponse(); - if (Array.isArray(object?.resourceDescriptors)) obj.resourceDescriptors = object.resourceDescriptors.map((e: any) => MonitoredResourceDescriptor.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListMonitoredResourceDescriptorsResponse): unknown { - const obj: any = {}; - if (message.resourceDescriptors) { - obj.resourceDescriptors = message.resourceDescriptors.map(e => e ? MonitoredResourceDescriptor.toJSON(e) : undefined); - } else { - obj.resourceDescriptors = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListMonitoredResourceDescriptorsResponse { - const message = createBaseListMonitoredResourceDescriptorsResponse(); - message.resourceDescriptors = object.resourceDescriptors?.map(e => MonitoredResourceDescriptor.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListMonitoredResourceDescriptorsResponseSDKType): ListMonitoredResourceDescriptorsResponse { - return { - resourceDescriptors: Array.isArray(object?.resource_descriptors) ? object.resource_descriptors.map((e: any) => MonitoredResourceDescriptor.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListMonitoredResourceDescriptorsResponse): ListMonitoredResourceDescriptorsResponseSDKType { - const obj: any = {}; - if (message.resourceDescriptors) { - obj.resource_descriptors = message.resourceDescriptors.map(e => e ? MonitoredResourceDescriptor.toSDK(e) : undefined); - } else { - obj.resource_descriptors = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListMonitoredResourceDescriptorsResponseAmino): ListMonitoredResourceDescriptorsResponse { - return { - resourceDescriptors: Array.isArray(object?.resource_descriptors) ? object.resource_descriptors.map((e: any) => MonitoredResourceDescriptor.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListMonitoredResourceDescriptorsResponse): ListMonitoredResourceDescriptorsResponseAmino { - const obj: any = {}; - if (message.resourceDescriptors) { - obj.resource_descriptors = message.resourceDescriptors.map(e => e ? MonitoredResourceDescriptor.toAmino(e) : undefined); - } else { - obj.resource_descriptors = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListMonitoredResourceDescriptorsResponseAminoMsg): ListMonitoredResourceDescriptorsResponse { - return ListMonitoredResourceDescriptorsResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListMonitoredResourceDescriptorsResponseProtoMsg): ListMonitoredResourceDescriptorsResponse { - return ListMonitoredResourceDescriptorsResponse.decode(message.value); - }, - toProto(message: ListMonitoredResourceDescriptorsResponse): Uint8Array { - return ListMonitoredResourceDescriptorsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListMonitoredResourceDescriptorsResponse): ListMonitoredResourceDescriptorsResponseProtoMsg { - return { - typeUrl: "/google.logging.v2.ListMonitoredResourceDescriptorsResponse", - value: ListMonitoredResourceDescriptorsResponse.encode(message).finish() - }; - } -}; -function createBaseListLogsRequest(): ListLogsRequest { - return { - parent: "", - pageSize: 0, - pageToken: "", - resourceNames: [] - }; -} -export const ListLogsRequest = { - typeUrl: "/google.logging.v2.ListLogsRequest", - encode(message: ListLogsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.pageSize !== 0) { - writer.uint32(16).int32(message.pageSize); - } - if (message.pageToken !== "") { - writer.uint32(26).string(message.pageToken); - } - for (const v of message.resourceNames) { - writer.uint32(66).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListLogsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListLogsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - case 8: - message.resourceNames.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListLogsRequest { - const obj = createBaseListLogsRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (Array.isArray(object?.resourceNames)) obj.resourceNames = object.resourceNames.map((e: any) => String(e)); - return obj; - }, - toJSON(message: ListLogsRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - if (message.resourceNames) { - obj.resourceNames = message.resourceNames.map(e => e); - } else { - obj.resourceNames = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ListLogsRequest { - const message = createBaseListLogsRequest(); - message.parent = object.parent ?? ""; - message.pageSize = object.pageSize ?? 0; - message.pageToken = object.pageToken ?? ""; - message.resourceNames = object.resourceNames?.map(e => e) || []; - return message; - }, - fromSDK(object: ListLogsRequestSDKType): ListLogsRequest { - return { - parent: object?.parent, - pageSize: object?.page_size, - pageToken: object?.page_token, - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [] - }; - }, - toSDK(message: ListLogsRequest): ListLogsRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - return obj; - }, - fromAmino(object: ListLogsRequestAmino): ListLogsRequest { - return { - parent: object.parent, - pageSize: object.page_size, - pageToken: object.page_token, - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [] - }; - }, - toAmino(message: ListLogsRequest): ListLogsRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - return obj; - }, - fromAminoMsg(object: ListLogsRequestAminoMsg): ListLogsRequest { - return ListLogsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListLogsRequestProtoMsg): ListLogsRequest { - return ListLogsRequest.decode(message.value); - }, - toProto(message: ListLogsRequest): Uint8Array { - return ListLogsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListLogsRequest): ListLogsRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.ListLogsRequest", - value: ListLogsRequest.encode(message).finish() - }; - } -}; -function createBaseListLogsResponse(): ListLogsResponse { - return { - logNames: [], - nextPageToken: "" - }; -} -export const ListLogsResponse = { - typeUrl: "/google.logging.v2.ListLogsResponse", - encode(message: ListLogsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.logNames) { - writer.uint32(26).string(v!); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListLogsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListLogsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 3: - message.logNames.push(reader.string()); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListLogsResponse { - const obj = createBaseListLogsResponse(); - if (Array.isArray(object?.logNames)) obj.logNames = object.logNames.map((e: any) => String(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListLogsResponse): unknown { - const obj: any = {}; - if (message.logNames) { - obj.logNames = message.logNames.map(e => e); - } else { - obj.logNames = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListLogsResponse { - const message = createBaseListLogsResponse(); - message.logNames = object.logNames?.map(e => e) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListLogsResponseSDKType): ListLogsResponse { - return { - logNames: Array.isArray(object?.log_names) ? object.log_names.map((e: any) => e) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListLogsResponse): ListLogsResponseSDKType { - const obj: any = {}; - if (message.logNames) { - obj.log_names = message.logNames.map(e => e); - } else { - obj.log_names = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListLogsResponseAmino): ListLogsResponse { - return { - logNames: Array.isArray(object?.log_names) ? object.log_names.map((e: any) => e) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListLogsResponse): ListLogsResponseAmino { - const obj: any = {}; - if (message.logNames) { - obj.log_names = message.logNames.map(e => e); - } else { - obj.log_names = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListLogsResponseAminoMsg): ListLogsResponse { - return ListLogsResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListLogsResponseProtoMsg): ListLogsResponse { - return ListLogsResponse.decode(message.value); - }, - toProto(message: ListLogsResponse): Uint8Array { - return ListLogsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListLogsResponse): ListLogsResponseProtoMsg { - return { - typeUrl: "/google.logging.v2.ListLogsResponse", - value: ListLogsResponse.encode(message).finish() - }; - } -}; -function createBaseTailLogEntriesRequest(): TailLogEntriesRequest { - return { - resourceNames: [], - filter: "", - bufferWindow: Duration.fromPartial({}) - }; -} -export const TailLogEntriesRequest = { - typeUrl: "/google.logging.v2.TailLogEntriesRequest", - encode(message: TailLogEntriesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.resourceNames) { - writer.uint32(10).string(v!); - } - if (message.filter !== "") { - writer.uint32(18).string(message.filter); - } - if (message.bufferWindow !== undefined) { - Duration.encode(message.bufferWindow, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TailLogEntriesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTailLogEntriesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.resourceNames.push(reader.string()); - break; - case 2: - message.filter = reader.string(); - break; - case 3: - message.bufferWindow = Duration.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TailLogEntriesRequest { - const obj = createBaseTailLogEntriesRequest(); - if (Array.isArray(object?.resourceNames)) obj.resourceNames = object.resourceNames.map((e: any) => String(e)); - if (isSet(object.filter)) obj.filter = String(object.filter); - if (isSet(object.bufferWindow)) obj.bufferWindow = Duration.fromJSON(object.bufferWindow); - return obj; - }, - toJSON(message: TailLogEntriesRequest): unknown { - const obj: any = {}; - if (message.resourceNames) { - obj.resourceNames = message.resourceNames.map(e => e); - } else { - obj.resourceNames = []; - } - message.filter !== undefined && (obj.filter = message.filter); - message.bufferWindow !== undefined && (obj.bufferWindow = message.bufferWindow ? Duration.toJSON(message.bufferWindow) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): TailLogEntriesRequest { - const message = createBaseTailLogEntriesRequest(); - message.resourceNames = object.resourceNames?.map(e => e) || []; - message.filter = object.filter ?? ""; - if (object.bufferWindow !== undefined && object.bufferWindow !== null) { - message.bufferWindow = Duration.fromPartial(object.bufferWindow); - } - return message; - }, - fromSDK(object: TailLogEntriesRequestSDKType): TailLogEntriesRequest { - return { - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [], - filter: object?.filter, - bufferWindow: object.buffer_window ? Duration.fromSDK(object.buffer_window) : undefined - }; - }, - toSDK(message: TailLogEntriesRequest): TailLogEntriesRequestSDKType { - const obj: any = {}; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - obj.filter = message.filter; - message.bufferWindow !== undefined && (obj.buffer_window = message.bufferWindow ? Duration.toSDK(message.bufferWindow) : undefined); - return obj; - }, - fromAmino(object: TailLogEntriesRequestAmino): TailLogEntriesRequest { - return { - resourceNames: Array.isArray(object?.resource_names) ? object.resource_names.map((e: any) => e) : [], - filter: object.filter, - bufferWindow: object?.buffer_window ? Duration.fromAmino(object.buffer_window) : undefined - }; - }, - toAmino(message: TailLogEntriesRequest): TailLogEntriesRequestAmino { - const obj: any = {}; - if (message.resourceNames) { - obj.resource_names = message.resourceNames.map(e => e); - } else { - obj.resource_names = []; - } - obj.filter = message.filter; - obj.buffer_window = message.bufferWindow ? Duration.toAmino(message.bufferWindow) : undefined; - return obj; - }, - fromAminoMsg(object: TailLogEntriesRequestAminoMsg): TailLogEntriesRequest { - return TailLogEntriesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: TailLogEntriesRequestProtoMsg): TailLogEntriesRequest { - return TailLogEntriesRequest.decode(message.value); - }, - toProto(message: TailLogEntriesRequest): Uint8Array { - return TailLogEntriesRequest.encode(message).finish(); - }, - toProtoMsg(message: TailLogEntriesRequest): TailLogEntriesRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.TailLogEntriesRequest", - value: TailLogEntriesRequest.encode(message).finish() - }; - } -}; -function createBaseTailLogEntriesResponse(): TailLogEntriesResponse { - return { - entries: [], - suppressionInfo: [] - }; -} -export const TailLogEntriesResponse = { - typeUrl: "/google.logging.v2.TailLogEntriesResponse", - encode(message: TailLogEntriesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.entries) { - LogEntry.encode(v!, writer.uint32(10).fork()).ldelim(); - } - for (const v of message.suppressionInfo) { - TailLogEntriesResponse_SuppressionInfo.encode(v!, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TailLogEntriesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTailLogEntriesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.entries.push(LogEntry.decode(reader, reader.uint32())); - break; - case 2: - message.suppressionInfo.push(TailLogEntriesResponse_SuppressionInfo.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TailLogEntriesResponse { - const obj = createBaseTailLogEntriesResponse(); - if (Array.isArray(object?.entries)) obj.entries = object.entries.map((e: any) => LogEntry.fromJSON(e)); - if (Array.isArray(object?.suppressionInfo)) obj.suppressionInfo = object.suppressionInfo.map((e: any) => TailLogEntriesResponse_SuppressionInfo.fromJSON(e)); - return obj; - }, - toJSON(message: TailLogEntriesResponse): unknown { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? LogEntry.toJSON(e) : undefined); - } else { - obj.entries = []; - } - if (message.suppressionInfo) { - obj.suppressionInfo = message.suppressionInfo.map(e => e ? TailLogEntriesResponse_SuppressionInfo.toJSON(e) : undefined); - } else { - obj.suppressionInfo = []; - } - return obj; - }, - fromPartial(object: DeepPartial): TailLogEntriesResponse { - const message = createBaseTailLogEntriesResponse(); - message.entries = object.entries?.map(e => LogEntry.fromPartial(e)) || []; - message.suppressionInfo = object.suppressionInfo?.map(e => TailLogEntriesResponse_SuppressionInfo.fromPartial(e)) || []; - return message; - }, - fromSDK(object: TailLogEntriesResponseSDKType): TailLogEntriesResponse { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => LogEntry.fromSDK(e)) : [], - suppressionInfo: Array.isArray(object?.suppression_info) ? object.suppression_info.map((e: any) => TailLogEntriesResponse_SuppressionInfo.fromSDK(e)) : [] - }; - }, - toSDK(message: TailLogEntriesResponse): TailLogEntriesResponseSDKType { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? LogEntry.toSDK(e) : undefined); - } else { - obj.entries = []; - } - if (message.suppressionInfo) { - obj.suppression_info = message.suppressionInfo.map(e => e ? TailLogEntriesResponse_SuppressionInfo.toSDK(e) : undefined); - } else { - obj.suppression_info = []; - } - return obj; - }, - fromAmino(object: TailLogEntriesResponseAmino): TailLogEntriesResponse { - return { - entries: Array.isArray(object?.entries) ? object.entries.map((e: any) => LogEntry.fromAmino(e)) : [], - suppressionInfo: Array.isArray(object?.suppression_info) ? object.suppression_info.map((e: any) => TailLogEntriesResponse_SuppressionInfo.fromAmino(e)) : [] - }; - }, - toAmino(message: TailLogEntriesResponse): TailLogEntriesResponseAmino { - const obj: any = {}; - if (message.entries) { - obj.entries = message.entries.map(e => e ? LogEntry.toAmino(e) : undefined); - } else { - obj.entries = []; - } - if (message.suppressionInfo) { - obj.suppression_info = message.suppressionInfo.map(e => e ? TailLogEntriesResponse_SuppressionInfo.toAmino(e) : undefined); - } else { - obj.suppression_info = []; - } - return obj; - }, - fromAminoMsg(object: TailLogEntriesResponseAminoMsg): TailLogEntriesResponse { - return TailLogEntriesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: TailLogEntriesResponseProtoMsg): TailLogEntriesResponse { - return TailLogEntriesResponse.decode(message.value); - }, - toProto(message: TailLogEntriesResponse): Uint8Array { - return TailLogEntriesResponse.encode(message).finish(); - }, - toProtoMsg(message: TailLogEntriesResponse): TailLogEntriesResponseProtoMsg { - return { - typeUrl: "/google.logging.v2.TailLogEntriesResponse", - value: TailLogEntriesResponse.encode(message).finish() - }; - } -}; -function createBaseTailLogEntriesResponse_SuppressionInfo(): TailLogEntriesResponse_SuppressionInfo { - return { - reason: 0, - suppressedCount: 0 - }; -} -export const TailLogEntriesResponse_SuppressionInfo = { - typeUrl: "/google.logging.v2.SuppressionInfo", - encode(message: TailLogEntriesResponse_SuppressionInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.reason !== 0) { - writer.uint32(8).int32(message.reason); - } - if (message.suppressedCount !== 0) { - writer.uint32(16).int32(message.suppressedCount); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): TailLogEntriesResponse_SuppressionInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTailLogEntriesResponse_SuppressionInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.reason = (reader.int32() as any); - break; - case 2: - message.suppressedCount = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): TailLogEntriesResponse_SuppressionInfo { - const obj = createBaseTailLogEntriesResponse_SuppressionInfo(); - if (isSet(object.reason)) obj.reason = tailLogEntriesResponse_SuppressionInfo_ReasonFromJSON(object.reason); - if (isSet(object.suppressedCount)) obj.suppressedCount = Number(object.suppressedCount); - return obj; - }, - toJSON(message: TailLogEntriesResponse_SuppressionInfo): unknown { - const obj: any = {}; - message.reason !== undefined && (obj.reason = tailLogEntriesResponse_SuppressionInfo_ReasonToJSON(message.reason)); - message.suppressedCount !== undefined && (obj.suppressedCount = Math.round(message.suppressedCount)); - return obj; - }, - fromPartial(object: DeepPartial): TailLogEntriesResponse_SuppressionInfo { - const message = createBaseTailLogEntriesResponse_SuppressionInfo(); - message.reason = object.reason ?? 0; - message.suppressedCount = object.suppressedCount ?? 0; - return message; - }, - fromSDK(object: TailLogEntriesResponse_SuppressionInfoSDKType): TailLogEntriesResponse_SuppressionInfo { - return { - reason: isSet(object.reason) ? tailLogEntriesResponse_SuppressionInfo_ReasonFromJSON(object.reason) : -1, - suppressedCount: object?.suppressed_count - }; - }, - toSDK(message: TailLogEntriesResponse_SuppressionInfo): TailLogEntriesResponse_SuppressionInfoSDKType { - const obj: any = {}; - message.reason !== undefined && (obj.reason = tailLogEntriesResponse_SuppressionInfo_ReasonToJSON(message.reason)); - obj.suppressed_count = message.suppressedCount; - return obj; - }, - fromAmino(object: TailLogEntriesResponse_SuppressionInfoAmino): TailLogEntriesResponse_SuppressionInfo { - return { - reason: isSet(object.reason) ? tailLogEntriesResponse_SuppressionInfo_ReasonFromJSON(object.reason) : -1, - suppressedCount: object.suppressed_count - }; - }, - toAmino(message: TailLogEntriesResponse_SuppressionInfo): TailLogEntriesResponse_SuppressionInfoAmino { - const obj: any = {}; - obj.reason = message.reason; - obj.suppressed_count = message.suppressedCount; - return obj; - }, - fromAminoMsg(object: TailLogEntriesResponse_SuppressionInfoAminoMsg): TailLogEntriesResponse_SuppressionInfo { - return TailLogEntriesResponse_SuppressionInfo.fromAmino(object.value); - }, - fromProtoMsg(message: TailLogEntriesResponse_SuppressionInfoProtoMsg): TailLogEntriesResponse_SuppressionInfo { - return TailLogEntriesResponse_SuppressionInfo.decode(message.value); - }, - toProto(message: TailLogEntriesResponse_SuppressionInfo): Uint8Array { - return TailLogEntriesResponse_SuppressionInfo.encode(message).finish(); - }, - toProtoMsg(message: TailLogEntriesResponse_SuppressionInfo): TailLogEntriesResponse_SuppressionInfoProtoMsg { - return { - typeUrl: "/google.logging.v2.SuppressionInfo", - value: TailLogEntriesResponse_SuppressionInfo.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/logging/v2/logging_config.ts b/quicksilverjs/src/codegen/google/logging/v2/logging_config.ts deleted file mode 100644 index 08081fe32..000000000 --- a/quicksilverjs/src/codegen/google/logging/v2/logging_config.ts +++ /dev/null @@ -1,7356 +0,0 @@ -import { FieldMask, FieldMaskAmino, FieldMaskSDKType } from "../../protobuf/field_mask"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../protobuf/timestamp"; -import { Long, toTimestamp, fromTimestamp, isSet, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.logging.v2"; -/** Deprecated. This is unused. */ -export enum LogSink_VersionFormat { - /** VERSION_FORMAT_UNSPECIFIED - An unspecified format version that will default to V2. */ - VERSION_FORMAT_UNSPECIFIED = 0, - /** V2 - `LogEntry` version 2 format. */ - V2 = 1, - /** V1 - `LogEntry` version 1 format. */ - V1 = 2, - UNRECOGNIZED = -1, -} -export const LogSink_VersionFormatSDKType = LogSink_VersionFormat; -export const LogSink_VersionFormatAmino = LogSink_VersionFormat; -export function logSink_VersionFormatFromJSON(object: any): LogSink_VersionFormat { - switch (object) { - case 0: - case "VERSION_FORMAT_UNSPECIFIED": - return LogSink_VersionFormat.VERSION_FORMAT_UNSPECIFIED; - case 1: - case "V2": - return LogSink_VersionFormat.V2; - case 2: - case "V1": - return LogSink_VersionFormat.V1; - case -1: - case "UNRECOGNIZED": - default: - return LogSink_VersionFormat.UNRECOGNIZED; - } -} -export function logSink_VersionFormatToJSON(object: LogSink_VersionFormat): string { - switch (object) { - case LogSink_VersionFormat.VERSION_FORMAT_UNSPECIFIED: - return "VERSION_FORMAT_UNSPECIFIED"; - case LogSink_VersionFormat.V2: - return "V2"; - case LogSink_VersionFormat.V1: - return "V1"; - case LogSink_VersionFormat.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** LogBucket lifecycle states. */ -export enum LifecycleState { - /** - * LIFECYCLE_STATE_UNSPECIFIED - Unspecified state. This is only used/useful for distinguishing unset - * values. - */ - LIFECYCLE_STATE_UNSPECIFIED = 0, - /** ACTIVE - The normal and active state. */ - ACTIVE = 1, - /** - * DELETE_REQUESTED - The resource has been marked for deletion by the user. For some resources - * (e.g. buckets), this can be reversed by an un-delete operation. - */ - DELETE_REQUESTED = 2, - UNRECOGNIZED = -1, -} -export const LifecycleStateSDKType = LifecycleState; -export const LifecycleStateAmino = LifecycleState; -export function lifecycleStateFromJSON(object: any): LifecycleState { - switch (object) { - case 0: - case "LIFECYCLE_STATE_UNSPECIFIED": - return LifecycleState.LIFECYCLE_STATE_UNSPECIFIED; - case 1: - case "ACTIVE": - return LifecycleState.ACTIVE; - case 2: - case "DELETE_REQUESTED": - return LifecycleState.DELETE_REQUESTED; - case -1: - case "UNRECOGNIZED": - default: - return LifecycleState.UNRECOGNIZED; - } -} -export function lifecycleStateToJSON(object: LifecycleState): string { - switch (object) { - case LifecycleState.LIFECYCLE_STATE_UNSPECIFIED: - return "LIFECYCLE_STATE_UNSPECIFIED"; - case LifecycleState.ACTIVE: - return "ACTIVE"; - case LifecycleState.DELETE_REQUESTED: - return "DELETE_REQUESTED"; - case LifecycleState.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * List of different operation states. - * High level state of the operation. This is used to report the job's - * current state to the user. Once a long running operation is created, - * the current state of the operation can be queried even before the - * operation is finished and the final result is available. - */ -export enum OperationState { - /** OPERATION_STATE_UNSPECIFIED - Should not be used. */ - OPERATION_STATE_UNSPECIFIED = 0, - /** OPERATION_STATE_SCHEDULED - The operation is scheduled. */ - OPERATION_STATE_SCHEDULED = 1, - /** OPERATION_STATE_WAITING_FOR_PERMISSIONS - Waiting for necessary permissions. */ - OPERATION_STATE_WAITING_FOR_PERMISSIONS = 2, - /** OPERATION_STATE_RUNNING - The operation is running. */ - OPERATION_STATE_RUNNING = 3, - /** OPERATION_STATE_SUCCEEDED - The operation was completed successfully. */ - OPERATION_STATE_SUCCEEDED = 4, - /** OPERATION_STATE_FAILED - The operation failed. */ - OPERATION_STATE_FAILED = 5, - /** OPERATION_STATE_CANCELLED - The operation was cancelled by the user. */ - OPERATION_STATE_CANCELLED = 6, - UNRECOGNIZED = -1, -} -export const OperationStateSDKType = OperationState; -export const OperationStateAmino = OperationState; -export function operationStateFromJSON(object: any): OperationState { - switch (object) { - case 0: - case "OPERATION_STATE_UNSPECIFIED": - return OperationState.OPERATION_STATE_UNSPECIFIED; - case 1: - case "OPERATION_STATE_SCHEDULED": - return OperationState.OPERATION_STATE_SCHEDULED; - case 2: - case "OPERATION_STATE_WAITING_FOR_PERMISSIONS": - return OperationState.OPERATION_STATE_WAITING_FOR_PERMISSIONS; - case 3: - case "OPERATION_STATE_RUNNING": - return OperationState.OPERATION_STATE_RUNNING; - case 4: - case "OPERATION_STATE_SUCCEEDED": - return OperationState.OPERATION_STATE_SUCCEEDED; - case 5: - case "OPERATION_STATE_FAILED": - return OperationState.OPERATION_STATE_FAILED; - case 6: - case "OPERATION_STATE_CANCELLED": - return OperationState.OPERATION_STATE_CANCELLED; - case -1: - case "UNRECOGNIZED": - default: - return OperationState.UNRECOGNIZED; - } -} -export function operationStateToJSON(object: OperationState): string { - switch (object) { - case OperationState.OPERATION_STATE_UNSPECIFIED: - return "OPERATION_STATE_UNSPECIFIED"; - case OperationState.OPERATION_STATE_SCHEDULED: - return "OPERATION_STATE_SCHEDULED"; - case OperationState.OPERATION_STATE_WAITING_FOR_PERMISSIONS: - return "OPERATION_STATE_WAITING_FOR_PERMISSIONS"; - case OperationState.OPERATION_STATE_RUNNING: - return "OPERATION_STATE_RUNNING"; - case OperationState.OPERATION_STATE_SUCCEEDED: - return "OPERATION_STATE_SUCCEEDED"; - case OperationState.OPERATION_STATE_FAILED: - return "OPERATION_STATE_FAILED"; - case OperationState.OPERATION_STATE_CANCELLED: - return "OPERATION_STATE_CANCELLED"; - case OperationState.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Describes a repository in which log entries are stored. */ -export interface LogBucket { - /** - * Output only. The resource name of the bucket. - * - * For example: - * - * `projects/my-project/locations/global/buckets/my-bucket` - * - * For a list of supported locations, see [Supported - * Regions](https://cloud.google.com/logging/docs/region-support) - * - * For the location of `global` it is unspecified where log entries are - * actually stored. - * - * After a bucket has been created, the location cannot be changed. - */ - name: string; - /** Describes this bucket. */ - description: string; - /** - * Output only. The creation timestamp of the bucket. This is not set for any of the - * default buckets. - */ - createTime: Date; - /** Output only. The last update timestamp of the bucket. */ - updateTime: Date; - /** - * Logs will be retained by default for this amount of time, after which they - * will automatically be deleted. The minimum retention period is 1 day. If - * this value is set to zero at bucket creation time, the default time of 30 - * days will be used. - */ - retentionDays: number; - /** - * Whether the bucket is locked. - * - * The retention period on a locked bucket cannot be changed. Locked buckets - * may only be deleted if they are empty. - */ - locked: boolean; - /** Output only. The bucket lifecycle state. */ - lifecycleState: LifecycleState; - /** - * Log entry field paths that are denied access in this bucket. - * - * The following fields and their children are eligible: `textPayload`, - * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`. - * - * Restricting a repeated field will restrict all values. Adding a parent will - * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`) - */ - restrictedFields: string[]; - /** - * The CMEK settings of the log bucket. If present, new log entries written to - * this log bucket are encrypted using the CMEK key provided in this - * configuration. If a log bucket has CMEK settings, the CMEK settings cannot - * be disabled later by updating the log bucket. Changing the KMS key is - * allowed. - */ - cmekSettings: CmekSettings; -} -export interface LogBucketProtoMsg { - typeUrl: "/google.logging.v2.LogBucket"; - value: Uint8Array; -} -/** Describes a repository in which log entries are stored. */ -export interface LogBucketAmino { - /** - * Output only. The resource name of the bucket. - * - * For example: - * - * `projects/my-project/locations/global/buckets/my-bucket` - * - * For a list of supported locations, see [Supported - * Regions](https://cloud.google.com/logging/docs/region-support) - * - * For the location of `global` it is unspecified where log entries are - * actually stored. - * - * After a bucket has been created, the location cannot be changed. - */ - name: string; - /** Describes this bucket. */ - description: string; - /** - * Output only. The creation timestamp of the bucket. This is not set for any of the - * default buckets. - */ - create_time?: Date; - /** Output only. The last update timestamp of the bucket. */ - update_time?: Date; - /** - * Logs will be retained by default for this amount of time, after which they - * will automatically be deleted. The minimum retention period is 1 day. If - * this value is set to zero at bucket creation time, the default time of 30 - * days will be used. - */ - retention_days: number; - /** - * Whether the bucket is locked. - * - * The retention period on a locked bucket cannot be changed. Locked buckets - * may only be deleted if they are empty. - */ - locked: boolean; - /** Output only. The bucket lifecycle state. */ - lifecycle_state: LifecycleState; - /** - * Log entry field paths that are denied access in this bucket. - * - * The following fields and their children are eligible: `textPayload`, - * `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`. - * - * Restricting a repeated field will restrict all values. Adding a parent will - * block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`) - */ - restricted_fields: string[]; - /** - * The CMEK settings of the log bucket. If present, new log entries written to - * this log bucket are encrypted using the CMEK key provided in this - * configuration. If a log bucket has CMEK settings, the CMEK settings cannot - * be disabled later by updating the log bucket. Changing the KMS key is - * allowed. - */ - cmek_settings?: CmekSettingsAmino; -} -export interface LogBucketAminoMsg { - type: "/google.logging.v2.LogBucket"; - value: LogBucketAmino; -} -/** Describes a repository in which log entries are stored. */ -export interface LogBucketSDKType { - name: string; - description: string; - create_time: Date; - update_time: Date; - retention_days: number; - locked: boolean; - lifecycle_state: LifecycleState; - restricted_fields: string[]; - cmek_settings: CmekSettingsSDKType; -} -/** Describes a view over log entries in a bucket. */ -export interface LogView { - /** - * The resource name of the view. - * - * For example: - * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` - */ - name: string; - /** Describes this view. */ - description: string; - /** Output only. The creation timestamp of the view. */ - createTime: Date; - /** Output only. The last update timestamp of the view. */ - updateTime: Date; - /** - * Filter that restricts which log entries in a bucket are visible in this - * view. - * - * Filters are restricted to be a logical AND of ==/!= of any of the - * following: - * - * - originating project/folder/organization/billing account. - * - resource type - * - log id - * - * For example: - * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") - */ - filter: string; -} -export interface LogViewProtoMsg { - typeUrl: "/google.logging.v2.LogView"; - value: Uint8Array; -} -/** Describes a view over log entries in a bucket. */ -export interface LogViewAmino { - /** - * The resource name of the view. - * - * For example: - * - * `projects/my-project/locations/global/buckets/my-bucket/views/my-view` - */ - name: string; - /** Describes this view. */ - description: string; - /** Output only. The creation timestamp of the view. */ - create_time?: Date; - /** Output only. The last update timestamp of the view. */ - update_time?: Date; - /** - * Filter that restricts which log entries in a bucket are visible in this - * view. - * - * Filters are restricted to be a logical AND of ==/!= of any of the - * following: - * - * - originating project/folder/organization/billing account. - * - resource type - * - log id - * - * For example: - * - * SOURCE("projects/myproject") AND resource.type = "gce_instance" - * AND LOG_ID("stdout") - */ - filter: string; -} -export interface LogViewAminoMsg { - type: "/google.logging.v2.LogView"; - value: LogViewAmino; -} -/** Describes a view over log entries in a bucket. */ -export interface LogViewSDKType { - name: string; - description: string; - create_time: Date; - update_time: Date; - filter: string; -} -/** - * Describes a sink used to export log entries to one of the following - * destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a - * Pub/Sub topic or a Cloud Logging log bucket. A logs filter controls which log - * entries are exported. The sink must be created within a project, - * organization, billing account, or folder. - */ -export interface LogSink { - /** - * Required. The client-assigned sink identifier, unique within the project. - * - * For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited - * to 100 characters and can include only the following characters: upper and - * lower-case alphanumeric characters, underscores, hyphens, and periods. - * First character has to be alphanumeric. - */ - name: string; - /** - * Required. The export destination: - * - * "storage.googleapis.com/[GCS_BUCKET]" - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" - * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" - * - * The sink's `writer_identity`, set when the sink is created, must have - * permission to write to the destination or else the log entries are not - * exported. For more information, see - * [Exporting Logs with - * Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). - */ - destination: string; - /** - * Optional. An [advanced logs - * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The - * only exported log entries are those that are in the resource owning the - * sink and that match the filter. - * - * For example: - * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` - */ - filter: string; - /** - * Optional. A description of this sink. - * - * The maximum length of the description is 8000 characters. - */ - description: string; - /** - * Optional. If set to true, then this sink is disabled and it does not export any log - * entries. - */ - disabled: boolean; - /** - * Optional. Log entries that match any of these exclusion filters will not be exported. - * - * If a log entry is matched by both `filter` and one of `exclusion_filters` - * it will not be exported. - */ - exclusions: LogExclusion[]; - /** Deprecated. This field is unused. */ - /** @deprecated */ - outputVersionFormat: LogSink_VersionFormat; - /** - * Output only. An IAM identity—a service account or group—under which Cloud - * Logging writes the exported log entries to the sink's destination. This - * field is set by - * [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and - * [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the - * value of `unique_writer_identity` in those methods. - * - * Until you grant this identity write-access to the destination, log entry - * exports from this sink will fail. For more information, see [Granting - * Access for a - * Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). - * Consult the destination service's documentation to determine the - * appropriate IAM roles to assign to the identity. - * - * Sinks that have a destination that is a log bucket in the same project as - * the sink do not have a writer_identity and no additional permissions are - * required. - */ - writerIdentity: string; - /** - * Optional. This field applies only to sinks owned by organizations and folders. If the - * field is false, the default, only the logs owned by the sink's parent - * resource are available for export. If the field is true, then log entries - * from all the projects, folders, and billing accounts contained in the - * sink's parent resource are also available for export. Whether a particular - * log entry from the children is exported depends on the sink's filter - * expression. - * - * For example, if this field is true, then the filter - * `resource.type=gce_instance` would export all Compute Engine VM instance - * log entries from all projects in the sink's parent. - * - * To only export entries from certain child projects, filter on the project - * part of the log name: - * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance - */ - includeChildren: boolean; - /** Optional. Options that affect sinks exporting data to BigQuery. */ - bigqueryOptions?: BigQueryOptions; - /** - * Output only. The creation timestamp of the sink. - * - * This field may not be present for older sinks. - */ - createTime: Date; - /** - * Output only. The last update timestamp of the sink. - * - * This field may not be present for older sinks. - */ - updateTime: Date; -} -export interface LogSinkProtoMsg { - typeUrl: "/google.logging.v2.LogSink"; - value: Uint8Array; -} -/** - * Describes a sink used to export log entries to one of the following - * destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a - * Pub/Sub topic or a Cloud Logging log bucket. A logs filter controls which log - * entries are exported. The sink must be created within a project, - * organization, billing account, or folder. - */ -export interface LogSinkAmino { - /** - * Required. The client-assigned sink identifier, unique within the project. - * - * For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited - * to 100 characters and can include only the following characters: upper and - * lower-case alphanumeric characters, underscores, hyphens, and periods. - * First character has to be alphanumeric. - */ - name: string; - /** - * Required. The export destination: - * - * "storage.googleapis.com/[GCS_BUCKET]" - * "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" - * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" - * - * The sink's `writer_identity`, set when the sink is created, must have - * permission to write to the destination or else the log entries are not - * exported. For more information, see - * [Exporting Logs with - * Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). - */ - destination: string; - /** - * Optional. An [advanced logs - * filter](https://cloud.google.com/logging/docs/view/advanced-queries). The - * only exported log entries are those that are in the resource owning the - * sink and that match the filter. - * - * For example: - * - * `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR` - */ - filter: string; - /** - * Optional. A description of this sink. - * - * The maximum length of the description is 8000 characters. - */ - description: string; - /** - * Optional. If set to true, then this sink is disabled and it does not export any log - * entries. - */ - disabled: boolean; - /** - * Optional. Log entries that match any of these exclusion filters will not be exported. - * - * If a log entry is matched by both `filter` and one of `exclusion_filters` - * it will not be exported. - */ - exclusions: LogExclusionAmino[]; - /** Deprecated. This field is unused. */ - /** @deprecated */ - output_version_format: LogSink_VersionFormat; - /** - * Output only. An IAM identity—a service account or group—under which Cloud - * Logging writes the exported log entries to the sink's destination. This - * field is set by - * [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and - * [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the - * value of `unique_writer_identity` in those methods. - * - * Until you grant this identity write-access to the destination, log entry - * exports from this sink will fail. For more information, see [Granting - * Access for a - * Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). - * Consult the destination service's documentation to determine the - * appropriate IAM roles to assign to the identity. - * - * Sinks that have a destination that is a log bucket in the same project as - * the sink do not have a writer_identity and no additional permissions are - * required. - */ - writer_identity: string; - /** - * Optional. This field applies only to sinks owned by organizations and folders. If the - * field is false, the default, only the logs owned by the sink's parent - * resource are available for export. If the field is true, then log entries - * from all the projects, folders, and billing accounts contained in the - * sink's parent resource are also available for export. Whether a particular - * log entry from the children is exported depends on the sink's filter - * expression. - * - * For example, if this field is true, then the filter - * `resource.type=gce_instance` would export all Compute Engine VM instance - * log entries from all projects in the sink's parent. - * - * To only export entries from certain child projects, filter on the project - * part of the log name: - * - * logName:("projects/test-project1/" OR "projects/test-project2/") AND - * resource.type=gce_instance - */ - include_children: boolean; - /** Optional. Options that affect sinks exporting data to BigQuery. */ - bigquery_options?: BigQueryOptionsAmino; - /** - * Output only. The creation timestamp of the sink. - * - * This field may not be present for older sinks. - */ - create_time?: Date; - /** - * Output only. The last update timestamp of the sink. - * - * This field may not be present for older sinks. - */ - update_time?: Date; -} -export interface LogSinkAminoMsg { - type: "/google.logging.v2.LogSink"; - value: LogSinkAmino; -} -/** - * Describes a sink used to export log entries to one of the following - * destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a - * Pub/Sub topic or a Cloud Logging log bucket. A logs filter controls which log - * entries are exported. The sink must be created within a project, - * organization, billing account, or folder. - */ -export interface LogSinkSDKType { - name: string; - destination: string; - filter: string; - description: string; - disabled: boolean; - exclusions: LogExclusionSDKType[]; - /** @deprecated */ - output_version_format: LogSink_VersionFormat; - writer_identity: string; - include_children: boolean; - bigquery_options?: BigQueryOptionsSDKType; - create_time: Date; - update_time: Date; -} -/** Options that change functionality of a sink exporting data to BigQuery. */ -export interface BigQueryOptions { - /** - * Optional. Whether to use [BigQuery's partition - * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By - * default, Cloud Logging creates dated tables based on the log entries' - * timestamps, e.g. syslog_20170523. With partitioned tables the date suffix - * is no longer present and [special query - * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) - * has to be used instead. In both cases, tables are sharded based on UTC - * timezone. - */ - usePartitionedTables: boolean; - /** - * Output only. True if new timestamp column based partitioning is in use, false if legacy - * ingestion-time partitioning is in use. - * - * All new sinks will have this field set true and will use timestamp column - * based partitioning. If use_partitioned_tables is false, this value has no - * meaning and will be false. Legacy sinks using partitioned tables will have - * this field set to false. - */ - usesTimestampColumnPartitioning: boolean; -} -export interface BigQueryOptionsProtoMsg { - typeUrl: "/google.logging.v2.BigQueryOptions"; - value: Uint8Array; -} -/** Options that change functionality of a sink exporting data to BigQuery. */ -export interface BigQueryOptionsAmino { - /** - * Optional. Whether to use [BigQuery's partition - * tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By - * default, Cloud Logging creates dated tables based on the log entries' - * timestamps, e.g. syslog_20170523. With partitioned tables the date suffix - * is no longer present and [special query - * syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables) - * has to be used instead. In both cases, tables are sharded based on UTC - * timezone. - */ - use_partitioned_tables: boolean; - /** - * Output only. True if new timestamp column based partitioning is in use, false if legacy - * ingestion-time partitioning is in use. - * - * All new sinks will have this field set true and will use timestamp column - * based partitioning. If use_partitioned_tables is false, this value has no - * meaning and will be false. Legacy sinks using partitioned tables will have - * this field set to false. - */ - uses_timestamp_column_partitioning: boolean; -} -export interface BigQueryOptionsAminoMsg { - type: "/google.logging.v2.BigQueryOptions"; - value: BigQueryOptionsAmino; -} -/** Options that change functionality of a sink exporting data to BigQuery. */ -export interface BigQueryOptionsSDKType { - use_partitioned_tables: boolean; - uses_timestamp_column_partitioning: boolean; -} -/** The parameters to `ListBuckets`. */ -export interface ListBucketsRequest { - /** - * Required. The parent resource whose buckets are to be listed: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" - * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" - * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" - * - * Note: The locations portion of the resource must be specified, but - * supplying the character `-` in place of [LOCATION_ID] will return all - * buckets. - */ - parent: string; - /** - * Optional. If present, then retrieve the next batch of results from the preceding call - * to this method. `pageToken` must be the value of `nextPageToken` from the - * previous response. The values of other method parameters should be - * identical to those in the previous call. - */ - pageToken: string; - /** - * Optional. The maximum number of results to return from this request. Non-positive - * values are ignored. The presence of `nextPageToken` in the response - * indicates that more results might be available. - */ - pageSize: number; -} -export interface ListBucketsRequestProtoMsg { - typeUrl: "/google.logging.v2.ListBucketsRequest"; - value: Uint8Array; -} -/** The parameters to `ListBuckets`. */ -export interface ListBucketsRequestAmino { - /** - * Required. The parent resource whose buckets are to be listed: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" - * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" - * "folders/[FOLDER_ID]/locations/[LOCATION_ID]" - * - * Note: The locations portion of the resource must be specified, but - * supplying the character `-` in place of [LOCATION_ID] will return all - * buckets. - */ - parent: string; - /** - * Optional. If present, then retrieve the next batch of results from the preceding call - * to this method. `pageToken` must be the value of `nextPageToken` from the - * previous response. The values of other method parameters should be - * identical to those in the previous call. - */ - page_token: string; - /** - * Optional. The maximum number of results to return from this request. Non-positive - * values are ignored. The presence of `nextPageToken` in the response - * indicates that more results might be available. - */ - page_size: number; -} -export interface ListBucketsRequestAminoMsg { - type: "/google.logging.v2.ListBucketsRequest"; - value: ListBucketsRequestAmino; -} -/** The parameters to `ListBuckets`. */ -export interface ListBucketsRequestSDKType { - parent: string; - page_token: string; - page_size: number; -} -/** The response from ListBuckets. */ -export interface ListBucketsResponse { - /** A list of buckets. */ - buckets: LogBucket[]; - /** - * If there might be more results than appear in this response, then - * `nextPageToken` is included. To get the next set of results, call the same - * method again using the value of `nextPageToken` as `pageToken`. - */ - nextPageToken: string; -} -export interface ListBucketsResponseProtoMsg { - typeUrl: "/google.logging.v2.ListBucketsResponse"; - value: Uint8Array; -} -/** The response from ListBuckets. */ -export interface ListBucketsResponseAmino { - /** A list of buckets. */ - buckets: LogBucketAmino[]; - /** - * If there might be more results than appear in this response, then - * `nextPageToken` is included. To get the next set of results, call the same - * method again using the value of `nextPageToken` as `pageToken`. - */ - next_page_token: string; -} -export interface ListBucketsResponseAminoMsg { - type: "/google.logging.v2.ListBucketsResponse"; - value: ListBucketsResponseAmino; -} -/** The response from ListBuckets. */ -export interface ListBucketsResponseSDKType { - buckets: LogBucketSDKType[]; - next_page_token: string; -} -/** The parameters to `CreateBucket`. */ -export interface CreateBucketRequest { - /** - * Required. The resource in which to create the log bucket: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" - * - * For example: - * - * `"projects/my-project/locations/global"` - */ - parent: string; - /** - * Required. A client-assigned identifier such as `"my-bucket"`. Identifiers are limited - * to 100 characters and can include only letters, digits, underscores, - * hyphens, and periods. - */ - bucketId: string; - /** - * Required. The new bucket. The region specified in the new bucket must be compliant - * with any Location Restriction Org Policy. The name field in the bucket is - * ignored. - */ - bucket: LogBucket; -} -export interface CreateBucketRequestProtoMsg { - typeUrl: "/google.logging.v2.CreateBucketRequest"; - value: Uint8Array; -} -/** The parameters to `CreateBucket`. */ -export interface CreateBucketRequestAmino { - /** - * Required. The resource in which to create the log bucket: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]" - * - * For example: - * - * `"projects/my-project/locations/global"` - */ - parent: string; - /** - * Required. A client-assigned identifier such as `"my-bucket"`. Identifiers are limited - * to 100 characters and can include only letters, digits, underscores, - * hyphens, and periods. - */ - bucket_id: string; - /** - * Required. The new bucket. The region specified in the new bucket must be compliant - * with any Location Restriction Org Policy. The name field in the bucket is - * ignored. - */ - bucket?: LogBucketAmino; -} -export interface CreateBucketRequestAminoMsg { - type: "/google.logging.v2.CreateBucketRequest"; - value: CreateBucketRequestAmino; -} -/** The parameters to `CreateBucket`. */ -export interface CreateBucketRequestSDKType { - parent: string; - bucket_id: string; - bucket: LogBucketSDKType; -} -/** The parameters to `UpdateBucket`. */ -export interface UpdateBucketRequest { - /** - * Required. The full resource name of the bucket to update. - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket"` - */ - name: string; - /** Required. The updated bucket. */ - bucket: LogBucket; - /** - * Required. Field mask that specifies the fields in `bucket` that need an update. A - * bucket field will be overwritten if, and only if, it is in the update mask. - * `name` and output only fields cannot be updated. - * - * For a detailed `FieldMask` definition, see: - * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask - * - * For example: `updateMask=retention_days` - */ - updateMask: FieldMask; -} -export interface UpdateBucketRequestProtoMsg { - typeUrl: "/google.logging.v2.UpdateBucketRequest"; - value: Uint8Array; -} -/** The parameters to `UpdateBucket`. */ -export interface UpdateBucketRequestAmino { - /** - * Required. The full resource name of the bucket to update. - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket"` - */ - name: string; - /** Required. The updated bucket. */ - bucket?: LogBucketAmino; - /** - * Required. Field mask that specifies the fields in `bucket` that need an update. A - * bucket field will be overwritten if, and only if, it is in the update mask. - * `name` and output only fields cannot be updated. - * - * For a detailed `FieldMask` definition, see: - * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask - * - * For example: `updateMask=retention_days` - */ - update_mask?: FieldMaskAmino; -} -export interface UpdateBucketRequestAminoMsg { - type: "/google.logging.v2.UpdateBucketRequest"; - value: UpdateBucketRequestAmino; -} -/** The parameters to `UpdateBucket`. */ -export interface UpdateBucketRequestSDKType { - name: string; - bucket: LogBucketSDKType; - update_mask: FieldMaskSDKType; -} -/** The parameters to `GetBucket`. */ -export interface GetBucketRequest { - /** - * Required. The resource name of the bucket: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket"` - */ - name: string; -} -export interface GetBucketRequestProtoMsg { - typeUrl: "/google.logging.v2.GetBucketRequest"; - value: Uint8Array; -} -/** The parameters to `GetBucket`. */ -export interface GetBucketRequestAmino { - /** - * Required. The resource name of the bucket: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket"` - */ - name: string; -} -export interface GetBucketRequestAminoMsg { - type: "/google.logging.v2.GetBucketRequest"; - value: GetBucketRequestAmino; -} -/** The parameters to `GetBucket`. */ -export interface GetBucketRequestSDKType { - name: string; -} -/** The parameters to `DeleteBucket`. */ -export interface DeleteBucketRequest { - /** - * Required. The full resource name of the bucket to delete. - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket"` - */ - name: string; -} -export interface DeleteBucketRequestProtoMsg { - typeUrl: "/google.logging.v2.DeleteBucketRequest"; - value: Uint8Array; -} -/** The parameters to `DeleteBucket`. */ -export interface DeleteBucketRequestAmino { - /** - * Required. The full resource name of the bucket to delete. - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket"` - */ - name: string; -} -export interface DeleteBucketRequestAminoMsg { - type: "/google.logging.v2.DeleteBucketRequest"; - value: DeleteBucketRequestAmino; -} -/** The parameters to `DeleteBucket`. */ -export interface DeleteBucketRequestSDKType { - name: string; -} -/** The parameters to `UndeleteBucket`. */ -export interface UndeleteBucketRequest { - /** - * Required. The full resource name of the bucket to undelete. - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket"` - */ - name: string; -} -export interface UndeleteBucketRequestProtoMsg { - typeUrl: "/google.logging.v2.UndeleteBucketRequest"; - value: Uint8Array; -} -/** The parameters to `UndeleteBucket`. */ -export interface UndeleteBucketRequestAmino { - /** - * Required. The full resource name of the bucket to undelete. - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket"` - */ - name: string; -} -export interface UndeleteBucketRequestAminoMsg { - type: "/google.logging.v2.UndeleteBucketRequest"; - value: UndeleteBucketRequestAmino; -} -/** The parameters to `UndeleteBucket`. */ -export interface UndeleteBucketRequestSDKType { - name: string; -} -/** The parameters to `ListViews`. */ -export interface ListViewsRequest { - /** - * Required. The bucket whose views are to be listed: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - */ - parent: string; - /** - * Optional. If present, then retrieve the next batch of results from the preceding call - * to this method. `pageToken` must be the value of `nextPageToken` from the - * previous response. The values of other method parameters should be - * identical to those in the previous call. - */ - pageToken: string; - /** - * Optional. The maximum number of results to return from this request. - * - * Non-positive values are ignored. The presence of `nextPageToken` in the - * response indicates that more results might be available. - */ - pageSize: number; -} -export interface ListViewsRequestProtoMsg { - typeUrl: "/google.logging.v2.ListViewsRequest"; - value: Uint8Array; -} -/** The parameters to `ListViews`. */ -export interface ListViewsRequestAmino { - /** - * Required. The bucket whose views are to be listed: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" - */ - parent: string; - /** - * Optional. If present, then retrieve the next batch of results from the preceding call - * to this method. `pageToken` must be the value of `nextPageToken` from the - * previous response. The values of other method parameters should be - * identical to those in the previous call. - */ - page_token: string; - /** - * Optional. The maximum number of results to return from this request. - * - * Non-positive values are ignored. The presence of `nextPageToken` in the - * response indicates that more results might be available. - */ - page_size: number; -} -export interface ListViewsRequestAminoMsg { - type: "/google.logging.v2.ListViewsRequest"; - value: ListViewsRequestAmino; -} -/** The parameters to `ListViews`. */ -export interface ListViewsRequestSDKType { - parent: string; - page_token: string; - page_size: number; -} -/** The response from ListViews. */ -export interface ListViewsResponse { - /** A list of views. */ - views: LogView[]; - /** - * If there might be more results than appear in this response, then - * `nextPageToken` is included. To get the next set of results, call the same - * method again using the value of `nextPageToken` as `pageToken`. - */ - nextPageToken: string; -} -export interface ListViewsResponseProtoMsg { - typeUrl: "/google.logging.v2.ListViewsResponse"; - value: Uint8Array; -} -/** The response from ListViews. */ -export interface ListViewsResponseAmino { - /** A list of views. */ - views: LogViewAmino[]; - /** - * If there might be more results than appear in this response, then - * `nextPageToken` is included. To get the next set of results, call the same - * method again using the value of `nextPageToken` as `pageToken`. - */ - next_page_token: string; -} -export interface ListViewsResponseAminoMsg { - type: "/google.logging.v2.ListViewsResponse"; - value: ListViewsResponseAmino; -} -/** The response from ListViews. */ -export interface ListViewsResponseSDKType { - views: LogViewSDKType[]; - next_page_token: string; -} -/** The parameters to `CreateView`. */ -export interface CreateViewRequest { - /** - * Required. The bucket in which to create the view - * - * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket"` - */ - parent: string; - /** Required. The id to use for this view. */ - viewId: string; - /** Required. The new view. */ - view: LogView; -} -export interface CreateViewRequestProtoMsg { - typeUrl: "/google.logging.v2.CreateViewRequest"; - value: Uint8Array; -} -/** The parameters to `CreateView`. */ -export interface CreateViewRequestAmino { - /** - * Required. The bucket in which to create the view - * - * `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket"` - */ - parent: string; - /** Required. The id to use for this view. */ - view_id: string; - /** Required. The new view. */ - view?: LogViewAmino; -} -export interface CreateViewRequestAminoMsg { - type: "/google.logging.v2.CreateViewRequest"; - value: CreateViewRequestAmino; -} -/** The parameters to `CreateView`. */ -export interface CreateViewRequestSDKType { - parent: string; - view_id: string; - view: LogViewSDKType; -} -/** The parameters to `UpdateView`. */ -export interface UpdateViewRequest { - /** - * Required. The full resource name of the view to update - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"` - */ - name: string; - /** Required. The updated view. */ - view: LogView; - /** - * Optional. Field mask that specifies the fields in `view` that need - * an update. A field will be overwritten if, and only if, it is - * in the update mask. `name` and output only fields cannot be updated. - * - * For a detailed `FieldMask` definition, see - * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask - * - * For example: `updateMask=filter` - */ - updateMask: FieldMask; -} -export interface UpdateViewRequestProtoMsg { - typeUrl: "/google.logging.v2.UpdateViewRequest"; - value: Uint8Array; -} -/** The parameters to `UpdateView`. */ -export interface UpdateViewRequestAmino { - /** - * Required. The full resource name of the view to update - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"` - */ - name: string; - /** Required. The updated view. */ - view?: LogViewAmino; - /** - * Optional. Field mask that specifies the fields in `view` that need - * an update. A field will be overwritten if, and only if, it is - * in the update mask. `name` and output only fields cannot be updated. - * - * For a detailed `FieldMask` definition, see - * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask - * - * For example: `updateMask=filter` - */ - update_mask?: FieldMaskAmino; -} -export interface UpdateViewRequestAminoMsg { - type: "/google.logging.v2.UpdateViewRequest"; - value: UpdateViewRequestAmino; -} -/** The parameters to `UpdateView`. */ -export interface UpdateViewRequestSDKType { - name: string; - view: LogViewSDKType; - update_mask: FieldMaskSDKType; -} -/** The parameters to `GetView`. */ -export interface GetViewRequest { - /** - * Required. The resource name of the policy: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"` - */ - name: string; -} -export interface GetViewRequestProtoMsg { - typeUrl: "/google.logging.v2.GetViewRequest"; - value: Uint8Array; -} -/** The parameters to `GetView`. */ -export interface GetViewRequestAmino { - /** - * Required. The resource name of the policy: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"` - */ - name: string; -} -export interface GetViewRequestAminoMsg { - type: "/google.logging.v2.GetViewRequest"; - value: GetViewRequestAmino; -} -/** The parameters to `GetView`. */ -export interface GetViewRequestSDKType { - name: string; -} -/** The parameters to `DeleteView`. */ -export interface DeleteViewRequest { - /** - * Required. The full resource name of the view to delete: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"` - */ - name: string; -} -export interface DeleteViewRequestProtoMsg { - typeUrl: "/google.logging.v2.DeleteViewRequest"; - value: Uint8Array; -} -/** The parameters to `DeleteView`. */ -export interface DeleteViewRequestAmino { - /** - * Required. The full resource name of the view to delete: - * - * "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" - * - * For example: - * - * `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"` - */ - name: string; -} -export interface DeleteViewRequestAminoMsg { - type: "/google.logging.v2.DeleteViewRequest"; - value: DeleteViewRequestAmino; -} -/** The parameters to `DeleteView`. */ -export interface DeleteViewRequestSDKType { - name: string; -} -/** The parameters to `ListSinks`. */ -export interface ListSinksRequest { - /** - * Required. The parent resource whose sinks are to be listed: - * - * "projects/[PROJECT_ID]" - * "organizations/[ORGANIZATION_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]" - * "folders/[FOLDER_ID]" - */ - parent: string; - /** - * Optional. If present, then retrieve the next batch of results from the - * preceding call to this method. `pageToken` must be the value of - * `nextPageToken` from the previous response. The values of other method - * parameters should be identical to those in the previous call. - */ - pageToken: string; - /** - * Optional. The maximum number of results to return from this request. - * Non-positive values are ignored. The presence of `nextPageToken` in the - * response indicates that more results might be available. - */ - pageSize: number; -} -export interface ListSinksRequestProtoMsg { - typeUrl: "/google.logging.v2.ListSinksRequest"; - value: Uint8Array; -} -/** The parameters to `ListSinks`. */ -export interface ListSinksRequestAmino { - /** - * Required. The parent resource whose sinks are to be listed: - * - * "projects/[PROJECT_ID]" - * "organizations/[ORGANIZATION_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]" - * "folders/[FOLDER_ID]" - */ - parent: string; - /** - * Optional. If present, then retrieve the next batch of results from the - * preceding call to this method. `pageToken` must be the value of - * `nextPageToken` from the previous response. The values of other method - * parameters should be identical to those in the previous call. - */ - page_token: string; - /** - * Optional. The maximum number of results to return from this request. - * Non-positive values are ignored. The presence of `nextPageToken` in the - * response indicates that more results might be available. - */ - page_size: number; -} -export interface ListSinksRequestAminoMsg { - type: "/google.logging.v2.ListSinksRequest"; - value: ListSinksRequestAmino; -} -/** The parameters to `ListSinks`. */ -export interface ListSinksRequestSDKType { - parent: string; - page_token: string; - page_size: number; -} -/** Result returned from `ListSinks`. */ -export interface ListSinksResponse { - /** A list of sinks. */ - sinks: LogSink[]; - /** - * If there might be more results than appear in this response, then - * `nextPageToken` is included. To get the next set of results, call the same - * method again using the value of `nextPageToken` as `pageToken`. - */ - nextPageToken: string; -} -export interface ListSinksResponseProtoMsg { - typeUrl: "/google.logging.v2.ListSinksResponse"; - value: Uint8Array; -} -/** Result returned from `ListSinks`. */ -export interface ListSinksResponseAmino { - /** A list of sinks. */ - sinks: LogSinkAmino[]; - /** - * If there might be more results than appear in this response, then - * `nextPageToken` is included. To get the next set of results, call the same - * method again using the value of `nextPageToken` as `pageToken`. - */ - next_page_token: string; -} -export interface ListSinksResponseAminoMsg { - type: "/google.logging.v2.ListSinksResponse"; - value: ListSinksResponseAmino; -} -/** Result returned from `ListSinks`. */ -export interface ListSinksResponseSDKType { - sinks: LogSinkSDKType[]; - next_page_token: string; -} -/** The parameters to `GetSink`. */ -export interface GetSinkRequest { - /** - * Required. The resource name of the sink: - * - * "projects/[PROJECT_ID]/sinks/[SINK_ID]" - * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - * "folders/[FOLDER_ID]/sinks/[SINK_ID]" - * - * For example: - * - * `"projects/my-project/sinks/my-sink"` - */ - sinkName: string; -} -export interface GetSinkRequestProtoMsg { - typeUrl: "/google.logging.v2.GetSinkRequest"; - value: Uint8Array; -} -/** The parameters to `GetSink`. */ -export interface GetSinkRequestAmino { - /** - * Required. The resource name of the sink: - * - * "projects/[PROJECT_ID]/sinks/[SINK_ID]" - * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - * "folders/[FOLDER_ID]/sinks/[SINK_ID]" - * - * For example: - * - * `"projects/my-project/sinks/my-sink"` - */ - sink_name: string; -} -export interface GetSinkRequestAminoMsg { - type: "/google.logging.v2.GetSinkRequest"; - value: GetSinkRequestAmino; -} -/** The parameters to `GetSink`. */ -export interface GetSinkRequestSDKType { - sink_name: string; -} -/** The parameters to `CreateSink`. */ -export interface CreateSinkRequest { - /** - * Required. The resource in which to create the sink: - * - * "projects/[PROJECT_ID]" - * "organizations/[ORGANIZATION_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]" - * "folders/[FOLDER_ID]" - * - * For examples: - * - * `"projects/my-project"` - * `"organizations/123456789"` - */ - parent: string; - /** - * Required. The new sink, whose `name` parameter is a sink identifier that - * is not already in use. - */ - sink: LogSink; - /** - * Optional. Determines the kind of IAM identity returned as `writer_identity` - * in the new sink. If this value is omitted or set to false, and if the - * sink's parent is a project, then the value returned as `writer_identity` is - * the same group or service account used by Cloud Logging before the addition - * of writer identities to this API. The sink's destination must be in the - * same project as the sink itself. - * - * If this field is set to true, or if the sink is owned by a non-project - * resource such as an organization, then the value of `writer_identity` will - * be a unique service account used only for exports from the new sink. For - * more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. - */ - uniqueWriterIdentity: boolean; -} -export interface CreateSinkRequestProtoMsg { - typeUrl: "/google.logging.v2.CreateSinkRequest"; - value: Uint8Array; -} -/** The parameters to `CreateSink`. */ -export interface CreateSinkRequestAmino { - /** - * Required. The resource in which to create the sink: - * - * "projects/[PROJECT_ID]" - * "organizations/[ORGANIZATION_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]" - * "folders/[FOLDER_ID]" - * - * For examples: - * - * `"projects/my-project"` - * `"organizations/123456789"` - */ - parent: string; - /** - * Required. The new sink, whose `name` parameter is a sink identifier that - * is not already in use. - */ - sink?: LogSinkAmino; - /** - * Optional. Determines the kind of IAM identity returned as `writer_identity` - * in the new sink. If this value is omitted or set to false, and if the - * sink's parent is a project, then the value returned as `writer_identity` is - * the same group or service account used by Cloud Logging before the addition - * of writer identities to this API. The sink's destination must be in the - * same project as the sink itself. - * - * If this field is set to true, or if the sink is owned by a non-project - * resource such as an organization, then the value of `writer_identity` will - * be a unique service account used only for exports from the new sink. For - * more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. - */ - unique_writer_identity: boolean; -} -export interface CreateSinkRequestAminoMsg { - type: "/google.logging.v2.CreateSinkRequest"; - value: CreateSinkRequestAmino; -} -/** The parameters to `CreateSink`. */ -export interface CreateSinkRequestSDKType { - parent: string; - sink: LogSinkSDKType; - unique_writer_identity: boolean; -} -/** The parameters to `UpdateSink`. */ -export interface UpdateSinkRequest { - /** - * Required. The full resource name of the sink to update, including the parent - * resource and the sink identifier: - * - * "projects/[PROJECT_ID]/sinks/[SINK_ID]" - * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - * "folders/[FOLDER_ID]/sinks/[SINK_ID]" - * - * For example: - * - * `"projects/my-project/sinks/my-sink"` - */ - sinkName: string; - /** - * Required. The updated sink, whose name is the same identifier that appears as part - * of `sink_name`. - */ - sink: LogSink; - /** - * Optional. See [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] - * for a description of this field. When updating a sink, the effect of this - * field on the value of `writer_identity` in the updated sink depends on both - * the old and new values of this field: - * - * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. - * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. - * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. - */ - uniqueWriterIdentity: boolean; - /** - * Optional. Field mask that specifies the fields in `sink` that need - * an update. A sink field will be overwritten if, and only if, it is - * in the update mask. `name` and output only fields cannot be updated. - * - * An empty `updateMask` is temporarily treated as using the following mask - * for backwards compatibility purposes: - * - * `destination,filter,includeChildren` - * - * At some point in the future, behavior will be removed and specifying an - * empty `updateMask` will be an error. - * - * For a detailed `FieldMask` definition, see - * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask - * - * For example: `updateMask=filter` - */ - updateMask: FieldMask; -} -export interface UpdateSinkRequestProtoMsg { - typeUrl: "/google.logging.v2.UpdateSinkRequest"; - value: Uint8Array; -} -/** The parameters to `UpdateSink`. */ -export interface UpdateSinkRequestAmino { - /** - * Required. The full resource name of the sink to update, including the parent - * resource and the sink identifier: - * - * "projects/[PROJECT_ID]/sinks/[SINK_ID]" - * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - * "folders/[FOLDER_ID]/sinks/[SINK_ID]" - * - * For example: - * - * `"projects/my-project/sinks/my-sink"` - */ - sink_name: string; - /** - * Required. The updated sink, whose name is the same identifier that appears as part - * of `sink_name`. - */ - sink?: LogSinkAmino; - /** - * Optional. See [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] - * for a description of this field. When updating a sink, the effect of this - * field on the value of `writer_identity` in the updated sink depends on both - * the old and new values of this field: - * - * + If the old and new values of this field are both false or both true, - * then there is no change to the sink's `writer_identity`. - * + If the old value is false and the new value is true, then - * `writer_identity` is changed to a unique service account. - * + It is an error if the old value is true and the new value is - * set to false or defaulted to false. - */ - unique_writer_identity: boolean; - /** - * Optional. Field mask that specifies the fields in `sink` that need - * an update. A sink field will be overwritten if, and only if, it is - * in the update mask. `name` and output only fields cannot be updated. - * - * An empty `updateMask` is temporarily treated as using the following mask - * for backwards compatibility purposes: - * - * `destination,filter,includeChildren` - * - * At some point in the future, behavior will be removed and specifying an - * empty `updateMask` will be an error. - * - * For a detailed `FieldMask` definition, see - * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask - * - * For example: `updateMask=filter` - */ - update_mask?: FieldMaskAmino; -} -export interface UpdateSinkRequestAminoMsg { - type: "/google.logging.v2.UpdateSinkRequest"; - value: UpdateSinkRequestAmino; -} -/** The parameters to `UpdateSink`. */ -export interface UpdateSinkRequestSDKType { - sink_name: string; - sink: LogSinkSDKType; - unique_writer_identity: boolean; - update_mask: FieldMaskSDKType; -} -/** The parameters to `DeleteSink`. */ -export interface DeleteSinkRequest { - /** - * Required. The full resource name of the sink to delete, including the parent - * resource and the sink identifier: - * - * "projects/[PROJECT_ID]/sinks/[SINK_ID]" - * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - * "folders/[FOLDER_ID]/sinks/[SINK_ID]" - * - * For example: - * - * `"projects/my-project/sinks/my-sink"` - */ - sinkName: string; -} -export interface DeleteSinkRequestProtoMsg { - typeUrl: "/google.logging.v2.DeleteSinkRequest"; - value: Uint8Array; -} -/** The parameters to `DeleteSink`. */ -export interface DeleteSinkRequestAmino { - /** - * Required. The full resource name of the sink to delete, including the parent - * resource and the sink identifier: - * - * "projects/[PROJECT_ID]/sinks/[SINK_ID]" - * "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" - * "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" - * "folders/[FOLDER_ID]/sinks/[SINK_ID]" - * - * For example: - * - * `"projects/my-project/sinks/my-sink"` - */ - sink_name: string; -} -export interface DeleteSinkRequestAminoMsg { - type: "/google.logging.v2.DeleteSinkRequest"; - value: DeleteSinkRequestAmino; -} -/** The parameters to `DeleteSink`. */ -export interface DeleteSinkRequestSDKType { - sink_name: string; -} -/** - * Specifies a set of log entries that are filtered out by a sink. If - * your Google Cloud resource receives a large volume of log entries, you can - * use exclusions to reduce your chargeable logs. Note that exclusions on - * organization-level and folder-level sinks don't apply to child resources. - * Note also that you cannot modify the _Required sink or exclude logs from it. - */ -export interface LogExclusion { - /** - * Required. A client-assigned identifier, such as `"load-balancer-exclusion"`. - * Identifiers are limited to 100 characters and can include only letters, - * digits, underscores, hyphens, and periods. First character has to be - * alphanumeric. - */ - name: string; - /** Optional. A description of this exclusion. */ - description: string; - /** - * Required. An [advanced logs - * filter](https://cloud.google.com/logging/docs/view/advanced-queries) that - * matches the log entries to be excluded. By using the [sample - * function](https://cloud.google.com/logging/docs/view/advanced-queries#sample), - * you can exclude less than 100% of the matching log entries. - * - * For example, the following query matches 99% of low-severity log entries - * from Google Cloud Storage buckets: - * - * `resource.type=gcs_bucket severity>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.createTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 5: - message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 11: - message.retentionDays = reader.int32(); - break; - case 9: - message.locked = reader.bool(); - break; - case 12: - message.lifecycleState = (reader.int32() as any); - break; - case 15: - message.restrictedFields.push(reader.string()); - break; - case 19: - message.cmekSettings = CmekSettings.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogBucket { - const obj = createBaseLogBucket(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.createTime)) obj.createTime = new Date(object.createTime); - if (isSet(object.updateTime)) obj.updateTime = new Date(object.updateTime); - if (isSet(object.retentionDays)) obj.retentionDays = Number(object.retentionDays); - if (isSet(object.locked)) obj.locked = Boolean(object.locked); - if (isSet(object.lifecycleState)) obj.lifecycleState = lifecycleStateFromJSON(object.lifecycleState); - if (Array.isArray(object?.restrictedFields)) obj.restrictedFields = object.restrictedFields.map((e: any) => String(e)); - if (isSet(object.cmekSettings)) obj.cmekSettings = CmekSettings.fromJSON(object.cmekSettings); - return obj; - }, - toJSON(message: LogBucket): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.description !== undefined && (obj.description = message.description); - message.createTime !== undefined && (obj.createTime = message.createTime.toISOString()); - message.updateTime !== undefined && (obj.updateTime = message.updateTime.toISOString()); - message.retentionDays !== undefined && (obj.retentionDays = Math.round(message.retentionDays)); - message.locked !== undefined && (obj.locked = message.locked); - message.lifecycleState !== undefined && (obj.lifecycleState = lifecycleStateToJSON(message.lifecycleState)); - if (message.restrictedFields) { - obj.restrictedFields = message.restrictedFields.map(e => e); - } else { - obj.restrictedFields = []; - } - message.cmekSettings !== undefined && (obj.cmekSettings = message.cmekSettings ? CmekSettings.toJSON(message.cmekSettings) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): LogBucket { - const message = createBaseLogBucket(); - message.name = object.name ?? ""; - message.description = object.description ?? ""; - message.createTime = object.createTime ?? undefined; - message.updateTime = object.updateTime ?? undefined; - message.retentionDays = object.retentionDays ?? 0; - message.locked = object.locked ?? false; - message.lifecycleState = object.lifecycleState ?? 0; - message.restrictedFields = object.restrictedFields?.map(e => e) || []; - if (object.cmekSettings !== undefined && object.cmekSettings !== null) { - message.cmekSettings = CmekSettings.fromPartial(object.cmekSettings); - } - return message; - }, - fromSDK(object: LogBucketSDKType): LogBucket { - return { - name: object?.name, - description: object?.description, - createTime: object.create_time ?? undefined, - updateTime: object.update_time ?? undefined, - retentionDays: object?.retention_days, - locked: object?.locked, - lifecycleState: isSet(object.lifecycle_state) ? lifecycleStateFromJSON(object.lifecycle_state) : -1, - restrictedFields: Array.isArray(object?.restricted_fields) ? object.restricted_fields.map((e: any) => e) : [], - cmekSettings: object.cmek_settings ? CmekSettings.fromSDK(object.cmek_settings) : undefined - }; - }, - toSDK(message: LogBucket): LogBucketSDKType { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - message.createTime !== undefined && (obj.create_time = message.createTime ?? undefined); - message.updateTime !== undefined && (obj.update_time = message.updateTime ?? undefined); - obj.retention_days = message.retentionDays; - obj.locked = message.locked; - message.lifecycleState !== undefined && (obj.lifecycle_state = lifecycleStateToJSON(message.lifecycleState)); - if (message.restrictedFields) { - obj.restricted_fields = message.restrictedFields.map(e => e); - } else { - obj.restricted_fields = []; - } - message.cmekSettings !== undefined && (obj.cmek_settings = message.cmekSettings ? CmekSettings.toSDK(message.cmekSettings) : undefined); - return obj; - }, - fromAmino(object: LogBucketAmino): LogBucket { - return { - name: object.name, - description: object.description, - createTime: object.create_time, - updateTime: object.update_time, - retentionDays: object.retention_days, - locked: object.locked, - lifecycleState: isSet(object.lifecycle_state) ? lifecycleStateFromJSON(object.lifecycle_state) : -1, - restrictedFields: Array.isArray(object?.restricted_fields) ? object.restricted_fields.map((e: any) => e) : [], - cmekSettings: object?.cmek_settings ? CmekSettings.fromAmino(object.cmek_settings) : undefined - }; - }, - toAmino(message: LogBucket): LogBucketAmino { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - obj.create_time = message.createTime; - obj.update_time = message.updateTime; - obj.retention_days = message.retentionDays; - obj.locked = message.locked; - obj.lifecycle_state = message.lifecycleState; - if (message.restrictedFields) { - obj.restricted_fields = message.restrictedFields.map(e => e); - } else { - obj.restricted_fields = []; - } - obj.cmek_settings = message.cmekSettings ? CmekSettings.toAmino(message.cmekSettings) : undefined; - return obj; - }, - fromAminoMsg(object: LogBucketAminoMsg): LogBucket { - return LogBucket.fromAmino(object.value); - }, - fromProtoMsg(message: LogBucketProtoMsg): LogBucket { - return LogBucket.decode(message.value); - }, - toProto(message: LogBucket): Uint8Array { - return LogBucket.encode(message).finish(); - }, - toProtoMsg(message: LogBucket): LogBucketProtoMsg { - return { - typeUrl: "/google.logging.v2.LogBucket", - value: LogBucket.encode(message).finish() - }; - } -}; -function createBaseLogView(): LogView { - return { - name: "", - description: "", - createTime: new Date(), - updateTime: new Date(), - filter: "" - }; -} -export const LogView = { - typeUrl: "/google.logging.v2.LogView", - encode(message: LogView, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.description !== "") { - writer.uint32(26).string(message.description); - } - if (message.createTime !== undefined) { - Timestamp.encode(toTimestamp(message.createTime), writer.uint32(34).fork()).ldelim(); - } - if (message.updateTime !== undefined) { - Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(42).fork()).ldelim(); - } - if (message.filter !== "") { - writer.uint32(58).string(message.filter); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogView { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogView(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.createTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 5: - message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 7: - message.filter = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogView { - const obj = createBaseLogView(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.createTime)) obj.createTime = new Date(object.createTime); - if (isSet(object.updateTime)) obj.updateTime = new Date(object.updateTime); - if (isSet(object.filter)) obj.filter = String(object.filter); - return obj; - }, - toJSON(message: LogView): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.description !== undefined && (obj.description = message.description); - message.createTime !== undefined && (obj.createTime = message.createTime.toISOString()); - message.updateTime !== undefined && (obj.updateTime = message.updateTime.toISOString()); - message.filter !== undefined && (obj.filter = message.filter); - return obj; - }, - fromPartial(object: DeepPartial): LogView { - const message = createBaseLogView(); - message.name = object.name ?? ""; - message.description = object.description ?? ""; - message.createTime = object.createTime ?? undefined; - message.updateTime = object.updateTime ?? undefined; - message.filter = object.filter ?? ""; - return message; - }, - fromSDK(object: LogViewSDKType): LogView { - return { - name: object?.name, - description: object?.description, - createTime: object.create_time ?? undefined, - updateTime: object.update_time ?? undefined, - filter: object?.filter - }; - }, - toSDK(message: LogView): LogViewSDKType { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - message.createTime !== undefined && (obj.create_time = message.createTime ?? undefined); - message.updateTime !== undefined && (obj.update_time = message.updateTime ?? undefined); - obj.filter = message.filter; - return obj; - }, - fromAmino(object: LogViewAmino): LogView { - return { - name: object.name, - description: object.description, - createTime: object.create_time, - updateTime: object.update_time, - filter: object.filter - }; - }, - toAmino(message: LogView): LogViewAmino { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - obj.create_time = message.createTime; - obj.update_time = message.updateTime; - obj.filter = message.filter; - return obj; - }, - fromAminoMsg(object: LogViewAminoMsg): LogView { - return LogView.fromAmino(object.value); - }, - fromProtoMsg(message: LogViewProtoMsg): LogView { - return LogView.decode(message.value); - }, - toProto(message: LogView): Uint8Array { - return LogView.encode(message).finish(); - }, - toProtoMsg(message: LogView): LogViewProtoMsg { - return { - typeUrl: "/google.logging.v2.LogView", - value: LogView.encode(message).finish() - }; - } -}; -function createBaseLogSink(): LogSink { - return { - name: "", - destination: "", - filter: "", - description: "", - disabled: false, - exclusions: [], - outputVersionFormat: 0, - writerIdentity: "", - includeChildren: false, - bigqueryOptions: undefined, - createTime: new Date(), - updateTime: new Date() - }; -} -export const LogSink = { - typeUrl: "/google.logging.v2.LogSink", - encode(message: LogSink, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.destination !== "") { - writer.uint32(26).string(message.destination); - } - if (message.filter !== "") { - writer.uint32(42).string(message.filter); - } - if (message.description !== "") { - writer.uint32(146).string(message.description); - } - if (message.disabled === true) { - writer.uint32(152).bool(message.disabled); - } - for (const v of message.exclusions) { - LogExclusion.encode(v!, writer.uint32(130).fork()).ldelim(); - } - if (message.outputVersionFormat !== 0) { - writer.uint32(48).int32(message.outputVersionFormat); - } - if (message.writerIdentity !== "") { - writer.uint32(66).string(message.writerIdentity); - } - if (message.includeChildren === true) { - writer.uint32(72).bool(message.includeChildren); - } - if (message.bigqueryOptions !== undefined) { - BigQueryOptions.encode(message.bigqueryOptions, writer.uint32(98).fork()).ldelim(); - } - if (message.createTime !== undefined) { - Timestamp.encode(toTimestamp(message.createTime), writer.uint32(106).fork()).ldelim(); - } - if (message.updateTime !== undefined) { - Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(114).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogSink { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogSink(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.destination = reader.string(); - break; - case 5: - message.filter = reader.string(); - break; - case 18: - message.description = reader.string(); - break; - case 19: - message.disabled = reader.bool(); - break; - case 16: - message.exclusions.push(LogExclusion.decode(reader, reader.uint32())); - break; - case 6: - message.outputVersionFormat = (reader.int32() as any); - break; - case 8: - message.writerIdentity = reader.string(); - break; - case 9: - message.includeChildren = reader.bool(); - break; - case 12: - message.bigqueryOptions = BigQueryOptions.decode(reader, reader.uint32()); - break; - case 13: - message.createTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 14: - message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogSink { - const obj = createBaseLogSink(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.destination)) obj.destination = String(object.destination); - if (isSet(object.filter)) obj.filter = String(object.filter); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.disabled)) obj.disabled = Boolean(object.disabled); - if (Array.isArray(object?.exclusions)) obj.exclusions = object.exclusions.map((e: any) => LogExclusion.fromJSON(e)); - if (isSet(object.outputVersionFormat)) obj.outputVersionFormat = logSink_VersionFormatFromJSON(object.outputVersionFormat); - if (isSet(object.writerIdentity)) obj.writerIdentity = String(object.writerIdentity); - if (isSet(object.includeChildren)) obj.includeChildren = Boolean(object.includeChildren); - if (isSet(object.bigqueryOptions)) obj.bigqueryOptions = BigQueryOptions.fromJSON(object.bigqueryOptions); - if (isSet(object.createTime)) obj.createTime = new Date(object.createTime); - if (isSet(object.updateTime)) obj.updateTime = new Date(object.updateTime); - return obj; - }, - toJSON(message: LogSink): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.destination !== undefined && (obj.destination = message.destination); - message.filter !== undefined && (obj.filter = message.filter); - message.description !== undefined && (obj.description = message.description); - message.disabled !== undefined && (obj.disabled = message.disabled); - if (message.exclusions) { - obj.exclusions = message.exclusions.map(e => e ? LogExclusion.toJSON(e) : undefined); - } else { - obj.exclusions = []; - } - message.outputVersionFormat !== undefined && (obj.outputVersionFormat = logSink_VersionFormatToJSON(message.outputVersionFormat)); - message.writerIdentity !== undefined && (obj.writerIdentity = message.writerIdentity); - message.includeChildren !== undefined && (obj.includeChildren = message.includeChildren); - message.bigqueryOptions !== undefined && (obj.bigqueryOptions = message.bigqueryOptions ? BigQueryOptions.toJSON(message.bigqueryOptions) : undefined); - message.createTime !== undefined && (obj.createTime = message.createTime.toISOString()); - message.updateTime !== undefined && (obj.updateTime = message.updateTime.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): LogSink { - const message = createBaseLogSink(); - message.name = object.name ?? ""; - message.destination = object.destination ?? ""; - message.filter = object.filter ?? ""; - message.description = object.description ?? ""; - message.disabled = object.disabled ?? false; - message.exclusions = object.exclusions?.map(e => LogExclusion.fromPartial(e)) || []; - message.outputVersionFormat = object.outputVersionFormat ?? 0; - message.writerIdentity = object.writerIdentity ?? ""; - message.includeChildren = object.includeChildren ?? false; - if (object.bigqueryOptions !== undefined && object.bigqueryOptions !== null) { - message.bigqueryOptions = BigQueryOptions.fromPartial(object.bigqueryOptions); - } - message.createTime = object.createTime ?? undefined; - message.updateTime = object.updateTime ?? undefined; - return message; - }, - fromSDK(object: LogSinkSDKType): LogSink { - return { - name: object?.name, - destination: object?.destination, - filter: object?.filter, - description: object?.description, - disabled: object?.disabled, - exclusions: Array.isArray(object?.exclusions) ? object.exclusions.map((e: any) => LogExclusion.fromSDK(e)) : [], - outputVersionFormat: isSet(object.output_version_format) ? logSink_VersionFormatFromJSON(object.output_version_format) : -1, - writerIdentity: object?.writer_identity, - includeChildren: object?.include_children, - bigqueryOptions: object.bigquery_options ? BigQueryOptions.fromSDK(object.bigquery_options) : undefined, - createTime: object.create_time ?? undefined, - updateTime: object.update_time ?? undefined - }; - }, - toSDK(message: LogSink): LogSinkSDKType { - const obj: any = {}; - obj.name = message.name; - obj.destination = message.destination; - obj.filter = message.filter; - obj.description = message.description; - obj.disabled = message.disabled; - if (message.exclusions) { - obj.exclusions = message.exclusions.map(e => e ? LogExclusion.toSDK(e) : undefined); - } else { - obj.exclusions = []; - } - message.outputVersionFormat !== undefined && (obj.output_version_format = logSink_VersionFormatToJSON(message.outputVersionFormat)); - obj.writer_identity = message.writerIdentity; - obj.include_children = message.includeChildren; - message.bigqueryOptions !== undefined && (obj.bigquery_options = message.bigqueryOptions ? BigQueryOptions.toSDK(message.bigqueryOptions) : undefined); - message.createTime !== undefined && (obj.create_time = message.createTime ?? undefined); - message.updateTime !== undefined && (obj.update_time = message.updateTime ?? undefined); - return obj; - }, - fromAmino(object: LogSinkAmino): LogSink { - return { - name: object.name, - destination: object.destination, - filter: object.filter, - description: object.description, - disabled: object.disabled, - exclusions: Array.isArray(object?.exclusions) ? object.exclusions.map((e: any) => LogExclusion.fromAmino(e)) : [], - outputVersionFormat: isSet(object.output_version_format) ? logSink_VersionFormatFromJSON(object.output_version_format) : -1, - writerIdentity: object.writer_identity, - includeChildren: object.include_children, - bigqueryOptions: object?.bigquery_options ? BigQueryOptions.fromAmino(object.bigquery_options) : undefined, - createTime: object.create_time, - updateTime: object.update_time - }; - }, - toAmino(message: LogSink): LogSinkAmino { - const obj: any = {}; - obj.name = message.name; - obj.destination = message.destination; - obj.filter = message.filter; - obj.description = message.description; - obj.disabled = message.disabled; - if (message.exclusions) { - obj.exclusions = message.exclusions.map(e => e ? LogExclusion.toAmino(e) : undefined); - } else { - obj.exclusions = []; - } - obj.output_version_format = message.outputVersionFormat; - obj.writer_identity = message.writerIdentity; - obj.include_children = message.includeChildren; - obj.bigquery_options = message.bigqueryOptions ? BigQueryOptions.toAmino(message.bigqueryOptions) : undefined; - obj.create_time = message.createTime; - obj.update_time = message.updateTime; - return obj; - }, - fromAminoMsg(object: LogSinkAminoMsg): LogSink { - return LogSink.fromAmino(object.value); - }, - fromProtoMsg(message: LogSinkProtoMsg): LogSink { - return LogSink.decode(message.value); - }, - toProto(message: LogSink): Uint8Array { - return LogSink.encode(message).finish(); - }, - toProtoMsg(message: LogSink): LogSinkProtoMsg { - return { - typeUrl: "/google.logging.v2.LogSink", - value: LogSink.encode(message).finish() - }; - } -}; -function createBaseBigQueryOptions(): BigQueryOptions { - return { - usePartitionedTables: false, - usesTimestampColumnPartitioning: false - }; -} -export const BigQueryOptions = { - typeUrl: "/google.logging.v2.BigQueryOptions", - encode(message: BigQueryOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.usePartitionedTables === true) { - writer.uint32(8).bool(message.usePartitionedTables); - } - if (message.usesTimestampColumnPartitioning === true) { - writer.uint32(24).bool(message.usesTimestampColumnPartitioning); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): BigQueryOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseBigQueryOptions(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.usePartitionedTables = reader.bool(); - break; - case 3: - message.usesTimestampColumnPartitioning = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): BigQueryOptions { - const obj = createBaseBigQueryOptions(); - if (isSet(object.usePartitionedTables)) obj.usePartitionedTables = Boolean(object.usePartitionedTables); - if (isSet(object.usesTimestampColumnPartitioning)) obj.usesTimestampColumnPartitioning = Boolean(object.usesTimestampColumnPartitioning); - return obj; - }, - toJSON(message: BigQueryOptions): unknown { - const obj: any = {}; - message.usePartitionedTables !== undefined && (obj.usePartitionedTables = message.usePartitionedTables); - message.usesTimestampColumnPartitioning !== undefined && (obj.usesTimestampColumnPartitioning = message.usesTimestampColumnPartitioning); - return obj; - }, - fromPartial(object: DeepPartial): BigQueryOptions { - const message = createBaseBigQueryOptions(); - message.usePartitionedTables = object.usePartitionedTables ?? false; - message.usesTimestampColumnPartitioning = object.usesTimestampColumnPartitioning ?? false; - return message; - }, - fromSDK(object: BigQueryOptionsSDKType): BigQueryOptions { - return { - usePartitionedTables: object?.use_partitioned_tables, - usesTimestampColumnPartitioning: object?.uses_timestamp_column_partitioning - }; - }, - toSDK(message: BigQueryOptions): BigQueryOptionsSDKType { - const obj: any = {}; - obj.use_partitioned_tables = message.usePartitionedTables; - obj.uses_timestamp_column_partitioning = message.usesTimestampColumnPartitioning; - return obj; - }, - fromAmino(object: BigQueryOptionsAmino): BigQueryOptions { - return { - usePartitionedTables: object.use_partitioned_tables, - usesTimestampColumnPartitioning: object.uses_timestamp_column_partitioning - }; - }, - toAmino(message: BigQueryOptions): BigQueryOptionsAmino { - const obj: any = {}; - obj.use_partitioned_tables = message.usePartitionedTables; - obj.uses_timestamp_column_partitioning = message.usesTimestampColumnPartitioning; - return obj; - }, - fromAminoMsg(object: BigQueryOptionsAminoMsg): BigQueryOptions { - return BigQueryOptions.fromAmino(object.value); - }, - fromProtoMsg(message: BigQueryOptionsProtoMsg): BigQueryOptions { - return BigQueryOptions.decode(message.value); - }, - toProto(message: BigQueryOptions): Uint8Array { - return BigQueryOptions.encode(message).finish(); - }, - toProtoMsg(message: BigQueryOptions): BigQueryOptionsProtoMsg { - return { - typeUrl: "/google.logging.v2.BigQueryOptions", - value: BigQueryOptions.encode(message).finish() - }; - } -}; -function createBaseListBucketsRequest(): ListBucketsRequest { - return { - parent: "", - pageToken: "", - pageSize: 0 - }; -} -export const ListBucketsRequest = { - typeUrl: "/google.logging.v2.ListBucketsRequest", - encode(message: ListBucketsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.pageToken !== "") { - writer.uint32(18).string(message.pageToken); - } - if (message.pageSize !== 0) { - writer.uint32(24).int32(message.pageSize); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListBucketsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListBucketsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListBucketsRequest { - const obj = createBaseListBucketsRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - return obj; - }, - toJSON(message: ListBucketsRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - return obj; - }, - fromPartial(object: DeepPartial): ListBucketsRequest { - const message = createBaseListBucketsRequest(); - message.parent = object.parent ?? ""; - message.pageToken = object.pageToken ?? ""; - message.pageSize = object.pageSize ?? 0; - return message; - }, - fromSDK(object: ListBucketsRequestSDKType): ListBucketsRequest { - return { - parent: object?.parent, - pageToken: object?.page_token, - pageSize: object?.page_size - }; - }, - toSDK(message: ListBucketsRequest): ListBucketsRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAmino(object: ListBucketsRequestAmino): ListBucketsRequest { - return { - parent: object.parent, - pageToken: object.page_token, - pageSize: object.page_size - }; - }, - toAmino(message: ListBucketsRequest): ListBucketsRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAminoMsg(object: ListBucketsRequestAminoMsg): ListBucketsRequest { - return ListBucketsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListBucketsRequestProtoMsg): ListBucketsRequest { - return ListBucketsRequest.decode(message.value); - }, - toProto(message: ListBucketsRequest): Uint8Array { - return ListBucketsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListBucketsRequest): ListBucketsRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.ListBucketsRequest", - value: ListBucketsRequest.encode(message).finish() - }; - } -}; -function createBaseListBucketsResponse(): ListBucketsResponse { - return { - buckets: [], - nextPageToken: "" - }; -} -export const ListBucketsResponse = { - typeUrl: "/google.logging.v2.ListBucketsResponse", - encode(message: ListBucketsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.buckets) { - LogBucket.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListBucketsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListBucketsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.buckets.push(LogBucket.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListBucketsResponse { - const obj = createBaseListBucketsResponse(); - if (Array.isArray(object?.buckets)) obj.buckets = object.buckets.map((e: any) => LogBucket.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListBucketsResponse): unknown { - const obj: any = {}; - if (message.buckets) { - obj.buckets = message.buckets.map(e => e ? LogBucket.toJSON(e) : undefined); - } else { - obj.buckets = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListBucketsResponse { - const message = createBaseListBucketsResponse(); - message.buckets = object.buckets?.map(e => LogBucket.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListBucketsResponseSDKType): ListBucketsResponse { - return { - buckets: Array.isArray(object?.buckets) ? object.buckets.map((e: any) => LogBucket.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListBucketsResponse): ListBucketsResponseSDKType { - const obj: any = {}; - if (message.buckets) { - obj.buckets = message.buckets.map(e => e ? LogBucket.toSDK(e) : undefined); - } else { - obj.buckets = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListBucketsResponseAmino): ListBucketsResponse { - return { - buckets: Array.isArray(object?.buckets) ? object.buckets.map((e: any) => LogBucket.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListBucketsResponse): ListBucketsResponseAmino { - const obj: any = {}; - if (message.buckets) { - obj.buckets = message.buckets.map(e => e ? LogBucket.toAmino(e) : undefined); - } else { - obj.buckets = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListBucketsResponseAminoMsg): ListBucketsResponse { - return ListBucketsResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListBucketsResponseProtoMsg): ListBucketsResponse { - return ListBucketsResponse.decode(message.value); - }, - toProto(message: ListBucketsResponse): Uint8Array { - return ListBucketsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListBucketsResponse): ListBucketsResponseProtoMsg { - return { - typeUrl: "/google.logging.v2.ListBucketsResponse", - value: ListBucketsResponse.encode(message).finish() - }; - } -}; -function createBaseCreateBucketRequest(): CreateBucketRequest { - return { - parent: "", - bucketId: "", - bucket: LogBucket.fromPartial({}) - }; -} -export const CreateBucketRequest = { - typeUrl: "/google.logging.v2.CreateBucketRequest", - encode(message: CreateBucketRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.bucketId !== "") { - writer.uint32(18).string(message.bucketId); - } - if (message.bucket !== undefined) { - LogBucket.encode(message.bucket, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CreateBucketRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCreateBucketRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.bucketId = reader.string(); - break; - case 3: - message.bucket = LogBucket.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CreateBucketRequest { - const obj = createBaseCreateBucketRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.bucketId)) obj.bucketId = String(object.bucketId); - if (isSet(object.bucket)) obj.bucket = LogBucket.fromJSON(object.bucket); - return obj; - }, - toJSON(message: CreateBucketRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.bucketId !== undefined && (obj.bucketId = message.bucketId); - message.bucket !== undefined && (obj.bucket = message.bucket ? LogBucket.toJSON(message.bucket) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CreateBucketRequest { - const message = createBaseCreateBucketRequest(); - message.parent = object.parent ?? ""; - message.bucketId = object.bucketId ?? ""; - if (object.bucket !== undefined && object.bucket !== null) { - message.bucket = LogBucket.fromPartial(object.bucket); - } - return message; - }, - fromSDK(object: CreateBucketRequestSDKType): CreateBucketRequest { - return { - parent: object?.parent, - bucketId: object?.bucket_id, - bucket: object.bucket ? LogBucket.fromSDK(object.bucket) : undefined - }; - }, - toSDK(message: CreateBucketRequest): CreateBucketRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.bucket_id = message.bucketId; - message.bucket !== undefined && (obj.bucket = message.bucket ? LogBucket.toSDK(message.bucket) : undefined); - return obj; - }, - fromAmino(object: CreateBucketRequestAmino): CreateBucketRequest { - return { - parent: object.parent, - bucketId: object.bucket_id, - bucket: object?.bucket ? LogBucket.fromAmino(object.bucket) : undefined - }; - }, - toAmino(message: CreateBucketRequest): CreateBucketRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.bucket_id = message.bucketId; - obj.bucket = message.bucket ? LogBucket.toAmino(message.bucket) : undefined; - return obj; - }, - fromAminoMsg(object: CreateBucketRequestAminoMsg): CreateBucketRequest { - return CreateBucketRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CreateBucketRequestProtoMsg): CreateBucketRequest { - return CreateBucketRequest.decode(message.value); - }, - toProto(message: CreateBucketRequest): Uint8Array { - return CreateBucketRequest.encode(message).finish(); - }, - toProtoMsg(message: CreateBucketRequest): CreateBucketRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.CreateBucketRequest", - value: CreateBucketRequest.encode(message).finish() - }; - } -}; -function createBaseUpdateBucketRequest(): UpdateBucketRequest { - return { - name: "", - bucket: LogBucket.fromPartial({}), - updateMask: FieldMask.fromPartial({}) - }; -} -export const UpdateBucketRequest = { - typeUrl: "/google.logging.v2.UpdateBucketRequest", - encode(message: UpdateBucketRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.bucket !== undefined) { - LogBucket.encode(message.bucket, writer.uint32(18).fork()).ldelim(); - } - if (message.updateMask !== undefined) { - FieldMask.encode(message.updateMask, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateBucketRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateBucketRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.bucket = LogBucket.decode(reader, reader.uint32()); - break; - case 4: - message.updateMask = FieldMask.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UpdateBucketRequest { - const obj = createBaseUpdateBucketRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.bucket)) obj.bucket = LogBucket.fromJSON(object.bucket); - if (isSet(object.updateMask)) obj.updateMask = FieldMask.fromJSON(object.updateMask); - return obj; - }, - toJSON(message: UpdateBucketRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.bucket !== undefined && (obj.bucket = message.bucket ? LogBucket.toJSON(message.bucket) : undefined); - message.updateMask !== undefined && (obj.updateMask = message.updateMask ? FieldMask.toJSON(message.updateMask) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): UpdateBucketRequest { - const message = createBaseUpdateBucketRequest(); - message.name = object.name ?? ""; - if (object.bucket !== undefined && object.bucket !== null) { - message.bucket = LogBucket.fromPartial(object.bucket); - } - if (object.updateMask !== undefined && object.updateMask !== null) { - message.updateMask = FieldMask.fromPartial(object.updateMask); - } - return message; - }, - fromSDK(object: UpdateBucketRequestSDKType): UpdateBucketRequest { - return { - name: object?.name, - bucket: object.bucket ? LogBucket.fromSDK(object.bucket) : undefined, - updateMask: object.update_mask ? FieldMask.fromSDK(object.update_mask) : undefined - }; - }, - toSDK(message: UpdateBucketRequest): UpdateBucketRequestSDKType { - const obj: any = {}; - obj.name = message.name; - message.bucket !== undefined && (obj.bucket = message.bucket ? LogBucket.toSDK(message.bucket) : undefined); - message.updateMask !== undefined && (obj.update_mask = message.updateMask ? FieldMask.toSDK(message.updateMask) : undefined); - return obj; - }, - fromAmino(object: UpdateBucketRequestAmino): UpdateBucketRequest { - return { - name: object.name, - bucket: object?.bucket ? LogBucket.fromAmino(object.bucket) : undefined, - updateMask: object?.update_mask ? FieldMask.fromAmino(object.update_mask) : undefined - }; - }, - toAmino(message: UpdateBucketRequest): UpdateBucketRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.bucket = message.bucket ? LogBucket.toAmino(message.bucket) : undefined; - obj.update_mask = message.updateMask ? FieldMask.toAmino(message.updateMask) : undefined; - return obj; - }, - fromAminoMsg(object: UpdateBucketRequestAminoMsg): UpdateBucketRequest { - return UpdateBucketRequest.fromAmino(object.value); - }, - fromProtoMsg(message: UpdateBucketRequestProtoMsg): UpdateBucketRequest { - return UpdateBucketRequest.decode(message.value); - }, - toProto(message: UpdateBucketRequest): Uint8Array { - return UpdateBucketRequest.encode(message).finish(); - }, - toProtoMsg(message: UpdateBucketRequest): UpdateBucketRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.UpdateBucketRequest", - value: UpdateBucketRequest.encode(message).finish() - }; - } -}; -function createBaseGetBucketRequest(): GetBucketRequest { - return { - name: "" - }; -} -export const GetBucketRequest = { - typeUrl: "/google.logging.v2.GetBucketRequest", - encode(message: GetBucketRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetBucketRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetBucketRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetBucketRequest { - const obj = createBaseGetBucketRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: GetBucketRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): GetBucketRequest { - const message = createBaseGetBucketRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: GetBucketRequestSDKType): GetBucketRequest { - return { - name: object?.name - }; - }, - toSDK(message: GetBucketRequest): GetBucketRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: GetBucketRequestAmino): GetBucketRequest { - return { - name: object.name - }; - }, - toAmino(message: GetBucketRequest): GetBucketRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: GetBucketRequestAminoMsg): GetBucketRequest { - return GetBucketRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetBucketRequestProtoMsg): GetBucketRequest { - return GetBucketRequest.decode(message.value); - }, - toProto(message: GetBucketRequest): Uint8Array { - return GetBucketRequest.encode(message).finish(); - }, - toProtoMsg(message: GetBucketRequest): GetBucketRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.GetBucketRequest", - value: GetBucketRequest.encode(message).finish() - }; - } -}; -function createBaseDeleteBucketRequest(): DeleteBucketRequest { - return { - name: "" - }; -} -export const DeleteBucketRequest = { - typeUrl: "/google.logging.v2.DeleteBucketRequest", - encode(message: DeleteBucketRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeleteBucketRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteBucketRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DeleteBucketRequest { - const obj = createBaseDeleteBucketRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: DeleteBucketRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): DeleteBucketRequest { - const message = createBaseDeleteBucketRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: DeleteBucketRequestSDKType): DeleteBucketRequest { - return { - name: object?.name - }; - }, - toSDK(message: DeleteBucketRequest): DeleteBucketRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: DeleteBucketRequestAmino): DeleteBucketRequest { - return { - name: object.name - }; - }, - toAmino(message: DeleteBucketRequest): DeleteBucketRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: DeleteBucketRequestAminoMsg): DeleteBucketRequest { - return DeleteBucketRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DeleteBucketRequestProtoMsg): DeleteBucketRequest { - return DeleteBucketRequest.decode(message.value); - }, - toProto(message: DeleteBucketRequest): Uint8Array { - return DeleteBucketRequest.encode(message).finish(); - }, - toProtoMsg(message: DeleteBucketRequest): DeleteBucketRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.DeleteBucketRequest", - value: DeleteBucketRequest.encode(message).finish() - }; - } -}; -function createBaseUndeleteBucketRequest(): UndeleteBucketRequest { - return { - name: "" - }; -} -export const UndeleteBucketRequest = { - typeUrl: "/google.logging.v2.UndeleteBucketRequest", - encode(message: UndeleteBucketRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UndeleteBucketRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUndeleteBucketRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UndeleteBucketRequest { - const obj = createBaseUndeleteBucketRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: UndeleteBucketRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): UndeleteBucketRequest { - const message = createBaseUndeleteBucketRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: UndeleteBucketRequestSDKType): UndeleteBucketRequest { - return { - name: object?.name - }; - }, - toSDK(message: UndeleteBucketRequest): UndeleteBucketRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: UndeleteBucketRequestAmino): UndeleteBucketRequest { - return { - name: object.name - }; - }, - toAmino(message: UndeleteBucketRequest): UndeleteBucketRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: UndeleteBucketRequestAminoMsg): UndeleteBucketRequest { - return UndeleteBucketRequest.fromAmino(object.value); - }, - fromProtoMsg(message: UndeleteBucketRequestProtoMsg): UndeleteBucketRequest { - return UndeleteBucketRequest.decode(message.value); - }, - toProto(message: UndeleteBucketRequest): Uint8Array { - return UndeleteBucketRequest.encode(message).finish(); - }, - toProtoMsg(message: UndeleteBucketRequest): UndeleteBucketRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.UndeleteBucketRequest", - value: UndeleteBucketRequest.encode(message).finish() - }; - } -}; -function createBaseListViewsRequest(): ListViewsRequest { - return { - parent: "", - pageToken: "", - pageSize: 0 - }; -} -export const ListViewsRequest = { - typeUrl: "/google.logging.v2.ListViewsRequest", - encode(message: ListViewsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.pageToken !== "") { - writer.uint32(18).string(message.pageToken); - } - if (message.pageSize !== 0) { - writer.uint32(24).int32(message.pageSize); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListViewsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListViewsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListViewsRequest { - const obj = createBaseListViewsRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - return obj; - }, - toJSON(message: ListViewsRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - return obj; - }, - fromPartial(object: DeepPartial): ListViewsRequest { - const message = createBaseListViewsRequest(); - message.parent = object.parent ?? ""; - message.pageToken = object.pageToken ?? ""; - message.pageSize = object.pageSize ?? 0; - return message; - }, - fromSDK(object: ListViewsRequestSDKType): ListViewsRequest { - return { - parent: object?.parent, - pageToken: object?.page_token, - pageSize: object?.page_size - }; - }, - toSDK(message: ListViewsRequest): ListViewsRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAmino(object: ListViewsRequestAmino): ListViewsRequest { - return { - parent: object.parent, - pageToken: object.page_token, - pageSize: object.page_size - }; - }, - toAmino(message: ListViewsRequest): ListViewsRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAminoMsg(object: ListViewsRequestAminoMsg): ListViewsRequest { - return ListViewsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListViewsRequestProtoMsg): ListViewsRequest { - return ListViewsRequest.decode(message.value); - }, - toProto(message: ListViewsRequest): Uint8Array { - return ListViewsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListViewsRequest): ListViewsRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.ListViewsRequest", - value: ListViewsRequest.encode(message).finish() - }; - } -}; -function createBaseListViewsResponse(): ListViewsResponse { - return { - views: [], - nextPageToken: "" - }; -} -export const ListViewsResponse = { - typeUrl: "/google.logging.v2.ListViewsResponse", - encode(message: ListViewsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.views) { - LogView.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListViewsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListViewsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.views.push(LogView.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListViewsResponse { - const obj = createBaseListViewsResponse(); - if (Array.isArray(object?.views)) obj.views = object.views.map((e: any) => LogView.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListViewsResponse): unknown { - const obj: any = {}; - if (message.views) { - obj.views = message.views.map(e => e ? LogView.toJSON(e) : undefined); - } else { - obj.views = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListViewsResponse { - const message = createBaseListViewsResponse(); - message.views = object.views?.map(e => LogView.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListViewsResponseSDKType): ListViewsResponse { - return { - views: Array.isArray(object?.views) ? object.views.map((e: any) => LogView.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListViewsResponse): ListViewsResponseSDKType { - const obj: any = {}; - if (message.views) { - obj.views = message.views.map(e => e ? LogView.toSDK(e) : undefined); - } else { - obj.views = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListViewsResponseAmino): ListViewsResponse { - return { - views: Array.isArray(object?.views) ? object.views.map((e: any) => LogView.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListViewsResponse): ListViewsResponseAmino { - const obj: any = {}; - if (message.views) { - obj.views = message.views.map(e => e ? LogView.toAmino(e) : undefined); - } else { - obj.views = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListViewsResponseAminoMsg): ListViewsResponse { - return ListViewsResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListViewsResponseProtoMsg): ListViewsResponse { - return ListViewsResponse.decode(message.value); - }, - toProto(message: ListViewsResponse): Uint8Array { - return ListViewsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListViewsResponse): ListViewsResponseProtoMsg { - return { - typeUrl: "/google.logging.v2.ListViewsResponse", - value: ListViewsResponse.encode(message).finish() - }; - } -}; -function createBaseCreateViewRequest(): CreateViewRequest { - return { - parent: "", - viewId: "", - view: LogView.fromPartial({}) - }; -} -export const CreateViewRequest = { - typeUrl: "/google.logging.v2.CreateViewRequest", - encode(message: CreateViewRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.viewId !== "") { - writer.uint32(18).string(message.viewId); - } - if (message.view !== undefined) { - LogView.encode(message.view, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CreateViewRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCreateViewRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.viewId = reader.string(); - break; - case 3: - message.view = LogView.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CreateViewRequest { - const obj = createBaseCreateViewRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.viewId)) obj.viewId = String(object.viewId); - if (isSet(object.view)) obj.view = LogView.fromJSON(object.view); - return obj; - }, - toJSON(message: CreateViewRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.viewId !== undefined && (obj.viewId = message.viewId); - message.view !== undefined && (obj.view = message.view ? LogView.toJSON(message.view) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CreateViewRequest { - const message = createBaseCreateViewRequest(); - message.parent = object.parent ?? ""; - message.viewId = object.viewId ?? ""; - if (object.view !== undefined && object.view !== null) { - message.view = LogView.fromPartial(object.view); - } - return message; - }, - fromSDK(object: CreateViewRequestSDKType): CreateViewRequest { - return { - parent: object?.parent, - viewId: object?.view_id, - view: object.view ? LogView.fromSDK(object.view) : undefined - }; - }, - toSDK(message: CreateViewRequest): CreateViewRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.view_id = message.viewId; - message.view !== undefined && (obj.view = message.view ? LogView.toSDK(message.view) : undefined); - return obj; - }, - fromAmino(object: CreateViewRequestAmino): CreateViewRequest { - return { - parent: object.parent, - viewId: object.view_id, - view: object?.view ? LogView.fromAmino(object.view) : undefined - }; - }, - toAmino(message: CreateViewRequest): CreateViewRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.view_id = message.viewId; - obj.view = message.view ? LogView.toAmino(message.view) : undefined; - return obj; - }, - fromAminoMsg(object: CreateViewRequestAminoMsg): CreateViewRequest { - return CreateViewRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CreateViewRequestProtoMsg): CreateViewRequest { - return CreateViewRequest.decode(message.value); - }, - toProto(message: CreateViewRequest): Uint8Array { - return CreateViewRequest.encode(message).finish(); - }, - toProtoMsg(message: CreateViewRequest): CreateViewRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.CreateViewRequest", - value: CreateViewRequest.encode(message).finish() - }; - } -}; -function createBaseUpdateViewRequest(): UpdateViewRequest { - return { - name: "", - view: LogView.fromPartial({}), - updateMask: FieldMask.fromPartial({}) - }; -} -export const UpdateViewRequest = { - typeUrl: "/google.logging.v2.UpdateViewRequest", - encode(message: UpdateViewRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.view !== undefined) { - LogView.encode(message.view, writer.uint32(18).fork()).ldelim(); - } - if (message.updateMask !== undefined) { - FieldMask.encode(message.updateMask, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateViewRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateViewRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.view = LogView.decode(reader, reader.uint32()); - break; - case 4: - message.updateMask = FieldMask.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UpdateViewRequest { - const obj = createBaseUpdateViewRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.view)) obj.view = LogView.fromJSON(object.view); - if (isSet(object.updateMask)) obj.updateMask = FieldMask.fromJSON(object.updateMask); - return obj; - }, - toJSON(message: UpdateViewRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.view !== undefined && (obj.view = message.view ? LogView.toJSON(message.view) : undefined); - message.updateMask !== undefined && (obj.updateMask = message.updateMask ? FieldMask.toJSON(message.updateMask) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): UpdateViewRequest { - const message = createBaseUpdateViewRequest(); - message.name = object.name ?? ""; - if (object.view !== undefined && object.view !== null) { - message.view = LogView.fromPartial(object.view); - } - if (object.updateMask !== undefined && object.updateMask !== null) { - message.updateMask = FieldMask.fromPartial(object.updateMask); - } - return message; - }, - fromSDK(object: UpdateViewRequestSDKType): UpdateViewRequest { - return { - name: object?.name, - view: object.view ? LogView.fromSDK(object.view) : undefined, - updateMask: object.update_mask ? FieldMask.fromSDK(object.update_mask) : undefined - }; - }, - toSDK(message: UpdateViewRequest): UpdateViewRequestSDKType { - const obj: any = {}; - obj.name = message.name; - message.view !== undefined && (obj.view = message.view ? LogView.toSDK(message.view) : undefined); - message.updateMask !== undefined && (obj.update_mask = message.updateMask ? FieldMask.toSDK(message.updateMask) : undefined); - return obj; - }, - fromAmino(object: UpdateViewRequestAmino): UpdateViewRequest { - return { - name: object.name, - view: object?.view ? LogView.fromAmino(object.view) : undefined, - updateMask: object?.update_mask ? FieldMask.fromAmino(object.update_mask) : undefined - }; - }, - toAmino(message: UpdateViewRequest): UpdateViewRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.view = message.view ? LogView.toAmino(message.view) : undefined; - obj.update_mask = message.updateMask ? FieldMask.toAmino(message.updateMask) : undefined; - return obj; - }, - fromAminoMsg(object: UpdateViewRequestAminoMsg): UpdateViewRequest { - return UpdateViewRequest.fromAmino(object.value); - }, - fromProtoMsg(message: UpdateViewRequestProtoMsg): UpdateViewRequest { - return UpdateViewRequest.decode(message.value); - }, - toProto(message: UpdateViewRequest): Uint8Array { - return UpdateViewRequest.encode(message).finish(); - }, - toProtoMsg(message: UpdateViewRequest): UpdateViewRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.UpdateViewRequest", - value: UpdateViewRequest.encode(message).finish() - }; - } -}; -function createBaseGetViewRequest(): GetViewRequest { - return { - name: "" - }; -} -export const GetViewRequest = { - typeUrl: "/google.logging.v2.GetViewRequest", - encode(message: GetViewRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetViewRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetViewRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetViewRequest { - const obj = createBaseGetViewRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: GetViewRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): GetViewRequest { - const message = createBaseGetViewRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: GetViewRequestSDKType): GetViewRequest { - return { - name: object?.name - }; - }, - toSDK(message: GetViewRequest): GetViewRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: GetViewRequestAmino): GetViewRequest { - return { - name: object.name - }; - }, - toAmino(message: GetViewRequest): GetViewRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: GetViewRequestAminoMsg): GetViewRequest { - return GetViewRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetViewRequestProtoMsg): GetViewRequest { - return GetViewRequest.decode(message.value); - }, - toProto(message: GetViewRequest): Uint8Array { - return GetViewRequest.encode(message).finish(); - }, - toProtoMsg(message: GetViewRequest): GetViewRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.GetViewRequest", - value: GetViewRequest.encode(message).finish() - }; - } -}; -function createBaseDeleteViewRequest(): DeleteViewRequest { - return { - name: "" - }; -} -export const DeleteViewRequest = { - typeUrl: "/google.logging.v2.DeleteViewRequest", - encode(message: DeleteViewRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeleteViewRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteViewRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DeleteViewRequest { - const obj = createBaseDeleteViewRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: DeleteViewRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): DeleteViewRequest { - const message = createBaseDeleteViewRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: DeleteViewRequestSDKType): DeleteViewRequest { - return { - name: object?.name - }; - }, - toSDK(message: DeleteViewRequest): DeleteViewRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: DeleteViewRequestAmino): DeleteViewRequest { - return { - name: object.name - }; - }, - toAmino(message: DeleteViewRequest): DeleteViewRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: DeleteViewRequestAminoMsg): DeleteViewRequest { - return DeleteViewRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DeleteViewRequestProtoMsg): DeleteViewRequest { - return DeleteViewRequest.decode(message.value); - }, - toProto(message: DeleteViewRequest): Uint8Array { - return DeleteViewRequest.encode(message).finish(); - }, - toProtoMsg(message: DeleteViewRequest): DeleteViewRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.DeleteViewRequest", - value: DeleteViewRequest.encode(message).finish() - }; - } -}; -function createBaseListSinksRequest(): ListSinksRequest { - return { - parent: "", - pageToken: "", - pageSize: 0 - }; -} -export const ListSinksRequest = { - typeUrl: "/google.logging.v2.ListSinksRequest", - encode(message: ListSinksRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.pageToken !== "") { - writer.uint32(18).string(message.pageToken); - } - if (message.pageSize !== 0) { - writer.uint32(24).int32(message.pageSize); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListSinksRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListSinksRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListSinksRequest { - const obj = createBaseListSinksRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - return obj; - }, - toJSON(message: ListSinksRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - return obj; - }, - fromPartial(object: DeepPartial): ListSinksRequest { - const message = createBaseListSinksRequest(); - message.parent = object.parent ?? ""; - message.pageToken = object.pageToken ?? ""; - message.pageSize = object.pageSize ?? 0; - return message; - }, - fromSDK(object: ListSinksRequestSDKType): ListSinksRequest { - return { - parent: object?.parent, - pageToken: object?.page_token, - pageSize: object?.page_size - }; - }, - toSDK(message: ListSinksRequest): ListSinksRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAmino(object: ListSinksRequestAmino): ListSinksRequest { - return { - parent: object.parent, - pageToken: object.page_token, - pageSize: object.page_size - }; - }, - toAmino(message: ListSinksRequest): ListSinksRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAminoMsg(object: ListSinksRequestAminoMsg): ListSinksRequest { - return ListSinksRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListSinksRequestProtoMsg): ListSinksRequest { - return ListSinksRequest.decode(message.value); - }, - toProto(message: ListSinksRequest): Uint8Array { - return ListSinksRequest.encode(message).finish(); - }, - toProtoMsg(message: ListSinksRequest): ListSinksRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.ListSinksRequest", - value: ListSinksRequest.encode(message).finish() - }; - } -}; -function createBaseListSinksResponse(): ListSinksResponse { - return { - sinks: [], - nextPageToken: "" - }; -} -export const ListSinksResponse = { - typeUrl: "/google.logging.v2.ListSinksResponse", - encode(message: ListSinksResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.sinks) { - LogSink.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListSinksResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListSinksResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sinks.push(LogSink.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListSinksResponse { - const obj = createBaseListSinksResponse(); - if (Array.isArray(object?.sinks)) obj.sinks = object.sinks.map((e: any) => LogSink.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListSinksResponse): unknown { - const obj: any = {}; - if (message.sinks) { - obj.sinks = message.sinks.map(e => e ? LogSink.toJSON(e) : undefined); - } else { - obj.sinks = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListSinksResponse { - const message = createBaseListSinksResponse(); - message.sinks = object.sinks?.map(e => LogSink.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListSinksResponseSDKType): ListSinksResponse { - return { - sinks: Array.isArray(object?.sinks) ? object.sinks.map((e: any) => LogSink.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListSinksResponse): ListSinksResponseSDKType { - const obj: any = {}; - if (message.sinks) { - obj.sinks = message.sinks.map(e => e ? LogSink.toSDK(e) : undefined); - } else { - obj.sinks = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListSinksResponseAmino): ListSinksResponse { - return { - sinks: Array.isArray(object?.sinks) ? object.sinks.map((e: any) => LogSink.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListSinksResponse): ListSinksResponseAmino { - const obj: any = {}; - if (message.sinks) { - obj.sinks = message.sinks.map(e => e ? LogSink.toAmino(e) : undefined); - } else { - obj.sinks = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListSinksResponseAminoMsg): ListSinksResponse { - return ListSinksResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListSinksResponseProtoMsg): ListSinksResponse { - return ListSinksResponse.decode(message.value); - }, - toProto(message: ListSinksResponse): Uint8Array { - return ListSinksResponse.encode(message).finish(); - }, - toProtoMsg(message: ListSinksResponse): ListSinksResponseProtoMsg { - return { - typeUrl: "/google.logging.v2.ListSinksResponse", - value: ListSinksResponse.encode(message).finish() - }; - } -}; -function createBaseGetSinkRequest(): GetSinkRequest { - return { - sinkName: "" - }; -} -export const GetSinkRequest = { - typeUrl: "/google.logging.v2.GetSinkRequest", - encode(message: GetSinkRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sinkName !== "") { - writer.uint32(10).string(message.sinkName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetSinkRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetSinkRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sinkName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetSinkRequest { - const obj = createBaseGetSinkRequest(); - if (isSet(object.sinkName)) obj.sinkName = String(object.sinkName); - return obj; - }, - toJSON(message: GetSinkRequest): unknown { - const obj: any = {}; - message.sinkName !== undefined && (obj.sinkName = message.sinkName); - return obj; - }, - fromPartial(object: DeepPartial): GetSinkRequest { - const message = createBaseGetSinkRequest(); - message.sinkName = object.sinkName ?? ""; - return message; - }, - fromSDK(object: GetSinkRequestSDKType): GetSinkRequest { - return { - sinkName: object?.sink_name - }; - }, - toSDK(message: GetSinkRequest): GetSinkRequestSDKType { - const obj: any = {}; - obj.sink_name = message.sinkName; - return obj; - }, - fromAmino(object: GetSinkRequestAmino): GetSinkRequest { - return { - sinkName: object.sink_name - }; - }, - toAmino(message: GetSinkRequest): GetSinkRequestAmino { - const obj: any = {}; - obj.sink_name = message.sinkName; - return obj; - }, - fromAminoMsg(object: GetSinkRequestAminoMsg): GetSinkRequest { - return GetSinkRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetSinkRequestProtoMsg): GetSinkRequest { - return GetSinkRequest.decode(message.value); - }, - toProto(message: GetSinkRequest): Uint8Array { - return GetSinkRequest.encode(message).finish(); - }, - toProtoMsg(message: GetSinkRequest): GetSinkRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.GetSinkRequest", - value: GetSinkRequest.encode(message).finish() - }; - } -}; -function createBaseCreateSinkRequest(): CreateSinkRequest { - return { - parent: "", - sink: LogSink.fromPartial({}), - uniqueWriterIdentity: false - }; -} -export const CreateSinkRequest = { - typeUrl: "/google.logging.v2.CreateSinkRequest", - encode(message: CreateSinkRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.sink !== undefined) { - LogSink.encode(message.sink, writer.uint32(18).fork()).ldelim(); - } - if (message.uniqueWriterIdentity === true) { - writer.uint32(24).bool(message.uniqueWriterIdentity); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CreateSinkRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCreateSinkRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.sink = LogSink.decode(reader, reader.uint32()); - break; - case 3: - message.uniqueWriterIdentity = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CreateSinkRequest { - const obj = createBaseCreateSinkRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.sink)) obj.sink = LogSink.fromJSON(object.sink); - if (isSet(object.uniqueWriterIdentity)) obj.uniqueWriterIdentity = Boolean(object.uniqueWriterIdentity); - return obj; - }, - toJSON(message: CreateSinkRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.sink !== undefined && (obj.sink = message.sink ? LogSink.toJSON(message.sink) : undefined); - message.uniqueWriterIdentity !== undefined && (obj.uniqueWriterIdentity = message.uniqueWriterIdentity); - return obj; - }, - fromPartial(object: DeepPartial): CreateSinkRequest { - const message = createBaseCreateSinkRequest(); - message.parent = object.parent ?? ""; - if (object.sink !== undefined && object.sink !== null) { - message.sink = LogSink.fromPartial(object.sink); - } - message.uniqueWriterIdentity = object.uniqueWriterIdentity ?? false; - return message; - }, - fromSDK(object: CreateSinkRequestSDKType): CreateSinkRequest { - return { - parent: object?.parent, - sink: object.sink ? LogSink.fromSDK(object.sink) : undefined, - uniqueWriterIdentity: object?.unique_writer_identity - }; - }, - toSDK(message: CreateSinkRequest): CreateSinkRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - message.sink !== undefined && (obj.sink = message.sink ? LogSink.toSDK(message.sink) : undefined); - obj.unique_writer_identity = message.uniqueWriterIdentity; - return obj; - }, - fromAmino(object: CreateSinkRequestAmino): CreateSinkRequest { - return { - parent: object.parent, - sink: object?.sink ? LogSink.fromAmino(object.sink) : undefined, - uniqueWriterIdentity: object.unique_writer_identity - }; - }, - toAmino(message: CreateSinkRequest): CreateSinkRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.sink = message.sink ? LogSink.toAmino(message.sink) : undefined; - obj.unique_writer_identity = message.uniqueWriterIdentity; - return obj; - }, - fromAminoMsg(object: CreateSinkRequestAminoMsg): CreateSinkRequest { - return CreateSinkRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CreateSinkRequestProtoMsg): CreateSinkRequest { - return CreateSinkRequest.decode(message.value); - }, - toProto(message: CreateSinkRequest): Uint8Array { - return CreateSinkRequest.encode(message).finish(); - }, - toProtoMsg(message: CreateSinkRequest): CreateSinkRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.CreateSinkRequest", - value: CreateSinkRequest.encode(message).finish() - }; - } -}; -function createBaseUpdateSinkRequest(): UpdateSinkRequest { - return { - sinkName: "", - sink: LogSink.fromPartial({}), - uniqueWriterIdentity: false, - updateMask: FieldMask.fromPartial({}) - }; -} -export const UpdateSinkRequest = { - typeUrl: "/google.logging.v2.UpdateSinkRequest", - encode(message: UpdateSinkRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sinkName !== "") { - writer.uint32(10).string(message.sinkName); - } - if (message.sink !== undefined) { - LogSink.encode(message.sink, writer.uint32(18).fork()).ldelim(); - } - if (message.uniqueWriterIdentity === true) { - writer.uint32(24).bool(message.uniqueWriterIdentity); - } - if (message.updateMask !== undefined) { - FieldMask.encode(message.updateMask, writer.uint32(34).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateSinkRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateSinkRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sinkName = reader.string(); - break; - case 2: - message.sink = LogSink.decode(reader, reader.uint32()); - break; - case 3: - message.uniqueWriterIdentity = reader.bool(); - break; - case 4: - message.updateMask = FieldMask.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UpdateSinkRequest { - const obj = createBaseUpdateSinkRequest(); - if (isSet(object.sinkName)) obj.sinkName = String(object.sinkName); - if (isSet(object.sink)) obj.sink = LogSink.fromJSON(object.sink); - if (isSet(object.uniqueWriterIdentity)) obj.uniqueWriterIdentity = Boolean(object.uniqueWriterIdentity); - if (isSet(object.updateMask)) obj.updateMask = FieldMask.fromJSON(object.updateMask); - return obj; - }, - toJSON(message: UpdateSinkRequest): unknown { - const obj: any = {}; - message.sinkName !== undefined && (obj.sinkName = message.sinkName); - message.sink !== undefined && (obj.sink = message.sink ? LogSink.toJSON(message.sink) : undefined); - message.uniqueWriterIdentity !== undefined && (obj.uniqueWriterIdentity = message.uniqueWriterIdentity); - message.updateMask !== undefined && (obj.updateMask = message.updateMask ? FieldMask.toJSON(message.updateMask) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): UpdateSinkRequest { - const message = createBaseUpdateSinkRequest(); - message.sinkName = object.sinkName ?? ""; - if (object.sink !== undefined && object.sink !== null) { - message.sink = LogSink.fromPartial(object.sink); - } - message.uniqueWriterIdentity = object.uniqueWriterIdentity ?? false; - if (object.updateMask !== undefined && object.updateMask !== null) { - message.updateMask = FieldMask.fromPartial(object.updateMask); - } - return message; - }, - fromSDK(object: UpdateSinkRequestSDKType): UpdateSinkRequest { - return { - sinkName: object?.sink_name, - sink: object.sink ? LogSink.fromSDK(object.sink) : undefined, - uniqueWriterIdentity: object?.unique_writer_identity, - updateMask: object.update_mask ? FieldMask.fromSDK(object.update_mask) : undefined - }; - }, - toSDK(message: UpdateSinkRequest): UpdateSinkRequestSDKType { - const obj: any = {}; - obj.sink_name = message.sinkName; - message.sink !== undefined && (obj.sink = message.sink ? LogSink.toSDK(message.sink) : undefined); - obj.unique_writer_identity = message.uniqueWriterIdentity; - message.updateMask !== undefined && (obj.update_mask = message.updateMask ? FieldMask.toSDK(message.updateMask) : undefined); - return obj; - }, - fromAmino(object: UpdateSinkRequestAmino): UpdateSinkRequest { - return { - sinkName: object.sink_name, - sink: object?.sink ? LogSink.fromAmino(object.sink) : undefined, - uniqueWriterIdentity: object.unique_writer_identity, - updateMask: object?.update_mask ? FieldMask.fromAmino(object.update_mask) : undefined - }; - }, - toAmino(message: UpdateSinkRequest): UpdateSinkRequestAmino { - const obj: any = {}; - obj.sink_name = message.sinkName; - obj.sink = message.sink ? LogSink.toAmino(message.sink) : undefined; - obj.unique_writer_identity = message.uniqueWriterIdentity; - obj.update_mask = message.updateMask ? FieldMask.toAmino(message.updateMask) : undefined; - return obj; - }, - fromAminoMsg(object: UpdateSinkRequestAminoMsg): UpdateSinkRequest { - return UpdateSinkRequest.fromAmino(object.value); - }, - fromProtoMsg(message: UpdateSinkRequestProtoMsg): UpdateSinkRequest { - return UpdateSinkRequest.decode(message.value); - }, - toProto(message: UpdateSinkRequest): Uint8Array { - return UpdateSinkRequest.encode(message).finish(); - }, - toProtoMsg(message: UpdateSinkRequest): UpdateSinkRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.UpdateSinkRequest", - value: UpdateSinkRequest.encode(message).finish() - }; - } -}; -function createBaseDeleteSinkRequest(): DeleteSinkRequest { - return { - sinkName: "" - }; -} -export const DeleteSinkRequest = { - typeUrl: "/google.logging.v2.DeleteSinkRequest", - encode(message: DeleteSinkRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.sinkName !== "") { - writer.uint32(10).string(message.sinkName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeleteSinkRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteSinkRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.sinkName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DeleteSinkRequest { - const obj = createBaseDeleteSinkRequest(); - if (isSet(object.sinkName)) obj.sinkName = String(object.sinkName); - return obj; - }, - toJSON(message: DeleteSinkRequest): unknown { - const obj: any = {}; - message.sinkName !== undefined && (obj.sinkName = message.sinkName); - return obj; - }, - fromPartial(object: DeepPartial): DeleteSinkRequest { - const message = createBaseDeleteSinkRequest(); - message.sinkName = object.sinkName ?? ""; - return message; - }, - fromSDK(object: DeleteSinkRequestSDKType): DeleteSinkRequest { - return { - sinkName: object?.sink_name - }; - }, - toSDK(message: DeleteSinkRequest): DeleteSinkRequestSDKType { - const obj: any = {}; - obj.sink_name = message.sinkName; - return obj; - }, - fromAmino(object: DeleteSinkRequestAmino): DeleteSinkRequest { - return { - sinkName: object.sink_name - }; - }, - toAmino(message: DeleteSinkRequest): DeleteSinkRequestAmino { - const obj: any = {}; - obj.sink_name = message.sinkName; - return obj; - }, - fromAminoMsg(object: DeleteSinkRequestAminoMsg): DeleteSinkRequest { - return DeleteSinkRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DeleteSinkRequestProtoMsg): DeleteSinkRequest { - return DeleteSinkRequest.decode(message.value); - }, - toProto(message: DeleteSinkRequest): Uint8Array { - return DeleteSinkRequest.encode(message).finish(); - }, - toProtoMsg(message: DeleteSinkRequest): DeleteSinkRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.DeleteSinkRequest", - value: DeleteSinkRequest.encode(message).finish() - }; - } -}; -function createBaseLogExclusion(): LogExclusion { - return { - name: "", - description: "", - filter: "", - disabled: false, - createTime: new Date(), - updateTime: new Date() - }; -} -export const LogExclusion = { - typeUrl: "/google.logging.v2.LogExclusion", - encode(message: LogExclusion, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.filter !== "") { - writer.uint32(26).string(message.filter); - } - if (message.disabled === true) { - writer.uint32(32).bool(message.disabled); - } - if (message.createTime !== undefined) { - Timestamp.encode(toTimestamp(message.createTime), writer.uint32(42).fork()).ldelim(); - } - if (message.updateTime !== undefined) { - Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogExclusion { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogExclusion(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.filter = reader.string(); - break; - case 4: - message.disabled = reader.bool(); - break; - case 5: - message.createTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 6: - message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogExclusion { - const obj = createBaseLogExclusion(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.filter)) obj.filter = String(object.filter); - if (isSet(object.disabled)) obj.disabled = Boolean(object.disabled); - if (isSet(object.createTime)) obj.createTime = new Date(object.createTime); - if (isSet(object.updateTime)) obj.updateTime = new Date(object.updateTime); - return obj; - }, - toJSON(message: LogExclusion): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.description !== undefined && (obj.description = message.description); - message.filter !== undefined && (obj.filter = message.filter); - message.disabled !== undefined && (obj.disabled = message.disabled); - message.createTime !== undefined && (obj.createTime = message.createTime.toISOString()); - message.updateTime !== undefined && (obj.updateTime = message.updateTime.toISOString()); - return obj; - }, - fromPartial(object: DeepPartial): LogExclusion { - const message = createBaseLogExclusion(); - message.name = object.name ?? ""; - message.description = object.description ?? ""; - message.filter = object.filter ?? ""; - message.disabled = object.disabled ?? false; - message.createTime = object.createTime ?? undefined; - message.updateTime = object.updateTime ?? undefined; - return message; - }, - fromSDK(object: LogExclusionSDKType): LogExclusion { - return { - name: object?.name, - description: object?.description, - filter: object?.filter, - disabled: object?.disabled, - createTime: object.create_time ?? undefined, - updateTime: object.update_time ?? undefined - }; - }, - toSDK(message: LogExclusion): LogExclusionSDKType { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - obj.filter = message.filter; - obj.disabled = message.disabled; - message.createTime !== undefined && (obj.create_time = message.createTime ?? undefined); - message.updateTime !== undefined && (obj.update_time = message.updateTime ?? undefined); - return obj; - }, - fromAmino(object: LogExclusionAmino): LogExclusion { - return { - name: object.name, - description: object.description, - filter: object.filter, - disabled: object.disabled, - createTime: object.create_time, - updateTime: object.update_time - }; - }, - toAmino(message: LogExclusion): LogExclusionAmino { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - obj.filter = message.filter; - obj.disabled = message.disabled; - obj.create_time = message.createTime; - obj.update_time = message.updateTime; - return obj; - }, - fromAminoMsg(object: LogExclusionAminoMsg): LogExclusion { - return LogExclusion.fromAmino(object.value); - }, - fromProtoMsg(message: LogExclusionProtoMsg): LogExclusion { - return LogExclusion.decode(message.value); - }, - toProto(message: LogExclusion): Uint8Array { - return LogExclusion.encode(message).finish(); - }, - toProtoMsg(message: LogExclusion): LogExclusionProtoMsg { - return { - typeUrl: "/google.logging.v2.LogExclusion", - value: LogExclusion.encode(message).finish() - }; - } -}; -function createBaseListExclusionsRequest(): ListExclusionsRequest { - return { - parent: "", - pageToken: "", - pageSize: 0 - }; -} -export const ListExclusionsRequest = { - typeUrl: "/google.logging.v2.ListExclusionsRequest", - encode(message: ListExclusionsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.pageToken !== "") { - writer.uint32(18).string(message.pageToken); - } - if (message.pageSize !== 0) { - writer.uint32(24).int32(message.pageSize); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListExclusionsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListExclusionsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListExclusionsRequest { - const obj = createBaseListExclusionsRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - return obj; - }, - toJSON(message: ListExclusionsRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - return obj; - }, - fromPartial(object: DeepPartial): ListExclusionsRequest { - const message = createBaseListExclusionsRequest(); - message.parent = object.parent ?? ""; - message.pageToken = object.pageToken ?? ""; - message.pageSize = object.pageSize ?? 0; - return message; - }, - fromSDK(object: ListExclusionsRequestSDKType): ListExclusionsRequest { - return { - parent: object?.parent, - pageToken: object?.page_token, - pageSize: object?.page_size - }; - }, - toSDK(message: ListExclusionsRequest): ListExclusionsRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAmino(object: ListExclusionsRequestAmino): ListExclusionsRequest { - return { - parent: object.parent, - pageToken: object.page_token, - pageSize: object.page_size - }; - }, - toAmino(message: ListExclusionsRequest): ListExclusionsRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAminoMsg(object: ListExclusionsRequestAminoMsg): ListExclusionsRequest { - return ListExclusionsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListExclusionsRequestProtoMsg): ListExclusionsRequest { - return ListExclusionsRequest.decode(message.value); - }, - toProto(message: ListExclusionsRequest): Uint8Array { - return ListExclusionsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListExclusionsRequest): ListExclusionsRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.ListExclusionsRequest", - value: ListExclusionsRequest.encode(message).finish() - }; - } -}; -function createBaseListExclusionsResponse(): ListExclusionsResponse { - return { - exclusions: [], - nextPageToken: "" - }; -} -export const ListExclusionsResponse = { - typeUrl: "/google.logging.v2.ListExclusionsResponse", - encode(message: ListExclusionsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.exclusions) { - LogExclusion.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListExclusionsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListExclusionsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.exclusions.push(LogExclusion.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListExclusionsResponse { - const obj = createBaseListExclusionsResponse(); - if (Array.isArray(object?.exclusions)) obj.exclusions = object.exclusions.map((e: any) => LogExclusion.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListExclusionsResponse): unknown { - const obj: any = {}; - if (message.exclusions) { - obj.exclusions = message.exclusions.map(e => e ? LogExclusion.toJSON(e) : undefined); - } else { - obj.exclusions = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListExclusionsResponse { - const message = createBaseListExclusionsResponse(); - message.exclusions = object.exclusions?.map(e => LogExclusion.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListExclusionsResponseSDKType): ListExclusionsResponse { - return { - exclusions: Array.isArray(object?.exclusions) ? object.exclusions.map((e: any) => LogExclusion.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListExclusionsResponse): ListExclusionsResponseSDKType { - const obj: any = {}; - if (message.exclusions) { - obj.exclusions = message.exclusions.map(e => e ? LogExclusion.toSDK(e) : undefined); - } else { - obj.exclusions = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListExclusionsResponseAmino): ListExclusionsResponse { - return { - exclusions: Array.isArray(object?.exclusions) ? object.exclusions.map((e: any) => LogExclusion.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListExclusionsResponse): ListExclusionsResponseAmino { - const obj: any = {}; - if (message.exclusions) { - obj.exclusions = message.exclusions.map(e => e ? LogExclusion.toAmino(e) : undefined); - } else { - obj.exclusions = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListExclusionsResponseAminoMsg): ListExclusionsResponse { - return ListExclusionsResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListExclusionsResponseProtoMsg): ListExclusionsResponse { - return ListExclusionsResponse.decode(message.value); - }, - toProto(message: ListExclusionsResponse): Uint8Array { - return ListExclusionsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListExclusionsResponse): ListExclusionsResponseProtoMsg { - return { - typeUrl: "/google.logging.v2.ListExclusionsResponse", - value: ListExclusionsResponse.encode(message).finish() - }; - } -}; -function createBaseGetExclusionRequest(): GetExclusionRequest { - return { - name: "" - }; -} -export const GetExclusionRequest = { - typeUrl: "/google.logging.v2.GetExclusionRequest", - encode(message: GetExclusionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetExclusionRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetExclusionRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetExclusionRequest { - const obj = createBaseGetExclusionRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: GetExclusionRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): GetExclusionRequest { - const message = createBaseGetExclusionRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: GetExclusionRequestSDKType): GetExclusionRequest { - return { - name: object?.name - }; - }, - toSDK(message: GetExclusionRequest): GetExclusionRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: GetExclusionRequestAmino): GetExclusionRequest { - return { - name: object.name - }; - }, - toAmino(message: GetExclusionRequest): GetExclusionRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: GetExclusionRequestAminoMsg): GetExclusionRequest { - return GetExclusionRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetExclusionRequestProtoMsg): GetExclusionRequest { - return GetExclusionRequest.decode(message.value); - }, - toProto(message: GetExclusionRequest): Uint8Array { - return GetExclusionRequest.encode(message).finish(); - }, - toProtoMsg(message: GetExclusionRequest): GetExclusionRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.GetExclusionRequest", - value: GetExclusionRequest.encode(message).finish() - }; - } -}; -function createBaseCreateExclusionRequest(): CreateExclusionRequest { - return { - parent: "", - exclusion: LogExclusion.fromPartial({}) - }; -} -export const CreateExclusionRequest = { - typeUrl: "/google.logging.v2.CreateExclusionRequest", - encode(message: CreateExclusionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.exclusion !== undefined) { - LogExclusion.encode(message.exclusion, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CreateExclusionRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCreateExclusionRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.exclusion = LogExclusion.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CreateExclusionRequest { - const obj = createBaseCreateExclusionRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.exclusion)) obj.exclusion = LogExclusion.fromJSON(object.exclusion); - return obj; - }, - toJSON(message: CreateExclusionRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.exclusion !== undefined && (obj.exclusion = message.exclusion ? LogExclusion.toJSON(message.exclusion) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CreateExclusionRequest { - const message = createBaseCreateExclusionRequest(); - message.parent = object.parent ?? ""; - if (object.exclusion !== undefined && object.exclusion !== null) { - message.exclusion = LogExclusion.fromPartial(object.exclusion); - } - return message; - }, - fromSDK(object: CreateExclusionRequestSDKType): CreateExclusionRequest { - return { - parent: object?.parent, - exclusion: object.exclusion ? LogExclusion.fromSDK(object.exclusion) : undefined - }; - }, - toSDK(message: CreateExclusionRequest): CreateExclusionRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - message.exclusion !== undefined && (obj.exclusion = message.exclusion ? LogExclusion.toSDK(message.exclusion) : undefined); - return obj; - }, - fromAmino(object: CreateExclusionRequestAmino): CreateExclusionRequest { - return { - parent: object.parent, - exclusion: object?.exclusion ? LogExclusion.fromAmino(object.exclusion) : undefined - }; - }, - toAmino(message: CreateExclusionRequest): CreateExclusionRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.exclusion = message.exclusion ? LogExclusion.toAmino(message.exclusion) : undefined; - return obj; - }, - fromAminoMsg(object: CreateExclusionRequestAminoMsg): CreateExclusionRequest { - return CreateExclusionRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CreateExclusionRequestProtoMsg): CreateExclusionRequest { - return CreateExclusionRequest.decode(message.value); - }, - toProto(message: CreateExclusionRequest): Uint8Array { - return CreateExclusionRequest.encode(message).finish(); - }, - toProtoMsg(message: CreateExclusionRequest): CreateExclusionRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.CreateExclusionRequest", - value: CreateExclusionRequest.encode(message).finish() - }; - } -}; -function createBaseUpdateExclusionRequest(): UpdateExclusionRequest { - return { - name: "", - exclusion: LogExclusion.fromPartial({}), - updateMask: FieldMask.fromPartial({}) - }; -} -export const UpdateExclusionRequest = { - typeUrl: "/google.logging.v2.UpdateExclusionRequest", - encode(message: UpdateExclusionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.exclusion !== undefined) { - LogExclusion.encode(message.exclusion, writer.uint32(18).fork()).ldelim(); - } - if (message.updateMask !== undefined) { - FieldMask.encode(message.updateMask, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateExclusionRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateExclusionRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.exclusion = LogExclusion.decode(reader, reader.uint32()); - break; - case 3: - message.updateMask = FieldMask.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UpdateExclusionRequest { - const obj = createBaseUpdateExclusionRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.exclusion)) obj.exclusion = LogExclusion.fromJSON(object.exclusion); - if (isSet(object.updateMask)) obj.updateMask = FieldMask.fromJSON(object.updateMask); - return obj; - }, - toJSON(message: UpdateExclusionRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.exclusion !== undefined && (obj.exclusion = message.exclusion ? LogExclusion.toJSON(message.exclusion) : undefined); - message.updateMask !== undefined && (obj.updateMask = message.updateMask ? FieldMask.toJSON(message.updateMask) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): UpdateExclusionRequest { - const message = createBaseUpdateExclusionRequest(); - message.name = object.name ?? ""; - if (object.exclusion !== undefined && object.exclusion !== null) { - message.exclusion = LogExclusion.fromPartial(object.exclusion); - } - if (object.updateMask !== undefined && object.updateMask !== null) { - message.updateMask = FieldMask.fromPartial(object.updateMask); - } - return message; - }, - fromSDK(object: UpdateExclusionRequestSDKType): UpdateExclusionRequest { - return { - name: object?.name, - exclusion: object.exclusion ? LogExclusion.fromSDK(object.exclusion) : undefined, - updateMask: object.update_mask ? FieldMask.fromSDK(object.update_mask) : undefined - }; - }, - toSDK(message: UpdateExclusionRequest): UpdateExclusionRequestSDKType { - const obj: any = {}; - obj.name = message.name; - message.exclusion !== undefined && (obj.exclusion = message.exclusion ? LogExclusion.toSDK(message.exclusion) : undefined); - message.updateMask !== undefined && (obj.update_mask = message.updateMask ? FieldMask.toSDK(message.updateMask) : undefined); - return obj; - }, - fromAmino(object: UpdateExclusionRequestAmino): UpdateExclusionRequest { - return { - name: object.name, - exclusion: object?.exclusion ? LogExclusion.fromAmino(object.exclusion) : undefined, - updateMask: object?.update_mask ? FieldMask.fromAmino(object.update_mask) : undefined - }; - }, - toAmino(message: UpdateExclusionRequest): UpdateExclusionRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.exclusion = message.exclusion ? LogExclusion.toAmino(message.exclusion) : undefined; - obj.update_mask = message.updateMask ? FieldMask.toAmino(message.updateMask) : undefined; - return obj; - }, - fromAminoMsg(object: UpdateExclusionRequestAminoMsg): UpdateExclusionRequest { - return UpdateExclusionRequest.fromAmino(object.value); - }, - fromProtoMsg(message: UpdateExclusionRequestProtoMsg): UpdateExclusionRequest { - return UpdateExclusionRequest.decode(message.value); - }, - toProto(message: UpdateExclusionRequest): Uint8Array { - return UpdateExclusionRequest.encode(message).finish(); - }, - toProtoMsg(message: UpdateExclusionRequest): UpdateExclusionRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.UpdateExclusionRequest", - value: UpdateExclusionRequest.encode(message).finish() - }; - } -}; -function createBaseDeleteExclusionRequest(): DeleteExclusionRequest { - return { - name: "" - }; -} -export const DeleteExclusionRequest = { - typeUrl: "/google.logging.v2.DeleteExclusionRequest", - encode(message: DeleteExclusionRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeleteExclusionRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteExclusionRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DeleteExclusionRequest { - const obj = createBaseDeleteExclusionRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: DeleteExclusionRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): DeleteExclusionRequest { - const message = createBaseDeleteExclusionRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: DeleteExclusionRequestSDKType): DeleteExclusionRequest { - return { - name: object?.name - }; - }, - toSDK(message: DeleteExclusionRequest): DeleteExclusionRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: DeleteExclusionRequestAmino): DeleteExclusionRequest { - return { - name: object.name - }; - }, - toAmino(message: DeleteExclusionRequest): DeleteExclusionRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: DeleteExclusionRequestAminoMsg): DeleteExclusionRequest { - return DeleteExclusionRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DeleteExclusionRequestProtoMsg): DeleteExclusionRequest { - return DeleteExclusionRequest.decode(message.value); - }, - toProto(message: DeleteExclusionRequest): Uint8Array { - return DeleteExclusionRequest.encode(message).finish(); - }, - toProtoMsg(message: DeleteExclusionRequest): DeleteExclusionRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.DeleteExclusionRequest", - value: DeleteExclusionRequest.encode(message).finish() - }; - } -}; -function createBaseGetCmekSettingsRequest(): GetCmekSettingsRequest { - return { - name: "" - }; -} -export const GetCmekSettingsRequest = { - typeUrl: "/google.logging.v2.GetCmekSettingsRequest", - encode(message: GetCmekSettingsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetCmekSettingsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetCmekSettingsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetCmekSettingsRequest { - const obj = createBaseGetCmekSettingsRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: GetCmekSettingsRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): GetCmekSettingsRequest { - const message = createBaseGetCmekSettingsRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: GetCmekSettingsRequestSDKType): GetCmekSettingsRequest { - return { - name: object?.name - }; - }, - toSDK(message: GetCmekSettingsRequest): GetCmekSettingsRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: GetCmekSettingsRequestAmino): GetCmekSettingsRequest { - return { - name: object.name - }; - }, - toAmino(message: GetCmekSettingsRequest): GetCmekSettingsRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: GetCmekSettingsRequestAminoMsg): GetCmekSettingsRequest { - return GetCmekSettingsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetCmekSettingsRequestProtoMsg): GetCmekSettingsRequest { - return GetCmekSettingsRequest.decode(message.value); - }, - toProto(message: GetCmekSettingsRequest): Uint8Array { - return GetCmekSettingsRequest.encode(message).finish(); - }, - toProtoMsg(message: GetCmekSettingsRequest): GetCmekSettingsRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.GetCmekSettingsRequest", - value: GetCmekSettingsRequest.encode(message).finish() - }; - } -}; -function createBaseUpdateCmekSettingsRequest(): UpdateCmekSettingsRequest { - return { - name: "", - cmekSettings: CmekSettings.fromPartial({}), - updateMask: FieldMask.fromPartial({}) - }; -} -export const UpdateCmekSettingsRequest = { - typeUrl: "/google.logging.v2.UpdateCmekSettingsRequest", - encode(message: UpdateCmekSettingsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.cmekSettings !== undefined) { - CmekSettings.encode(message.cmekSettings, writer.uint32(18).fork()).ldelim(); - } - if (message.updateMask !== undefined) { - FieldMask.encode(message.updateMask, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateCmekSettingsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateCmekSettingsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.cmekSettings = CmekSettings.decode(reader, reader.uint32()); - break; - case 3: - message.updateMask = FieldMask.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UpdateCmekSettingsRequest { - const obj = createBaseUpdateCmekSettingsRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.cmekSettings)) obj.cmekSettings = CmekSettings.fromJSON(object.cmekSettings); - if (isSet(object.updateMask)) obj.updateMask = FieldMask.fromJSON(object.updateMask); - return obj; - }, - toJSON(message: UpdateCmekSettingsRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.cmekSettings !== undefined && (obj.cmekSettings = message.cmekSettings ? CmekSettings.toJSON(message.cmekSettings) : undefined); - message.updateMask !== undefined && (obj.updateMask = message.updateMask ? FieldMask.toJSON(message.updateMask) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): UpdateCmekSettingsRequest { - const message = createBaseUpdateCmekSettingsRequest(); - message.name = object.name ?? ""; - if (object.cmekSettings !== undefined && object.cmekSettings !== null) { - message.cmekSettings = CmekSettings.fromPartial(object.cmekSettings); - } - if (object.updateMask !== undefined && object.updateMask !== null) { - message.updateMask = FieldMask.fromPartial(object.updateMask); - } - return message; - }, - fromSDK(object: UpdateCmekSettingsRequestSDKType): UpdateCmekSettingsRequest { - return { - name: object?.name, - cmekSettings: object.cmek_settings ? CmekSettings.fromSDK(object.cmek_settings) : undefined, - updateMask: object.update_mask ? FieldMask.fromSDK(object.update_mask) : undefined - }; - }, - toSDK(message: UpdateCmekSettingsRequest): UpdateCmekSettingsRequestSDKType { - const obj: any = {}; - obj.name = message.name; - message.cmekSettings !== undefined && (obj.cmek_settings = message.cmekSettings ? CmekSettings.toSDK(message.cmekSettings) : undefined); - message.updateMask !== undefined && (obj.update_mask = message.updateMask ? FieldMask.toSDK(message.updateMask) : undefined); - return obj; - }, - fromAmino(object: UpdateCmekSettingsRequestAmino): UpdateCmekSettingsRequest { - return { - name: object.name, - cmekSettings: object?.cmek_settings ? CmekSettings.fromAmino(object.cmek_settings) : undefined, - updateMask: object?.update_mask ? FieldMask.fromAmino(object.update_mask) : undefined - }; - }, - toAmino(message: UpdateCmekSettingsRequest): UpdateCmekSettingsRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.cmek_settings = message.cmekSettings ? CmekSettings.toAmino(message.cmekSettings) : undefined; - obj.update_mask = message.updateMask ? FieldMask.toAmino(message.updateMask) : undefined; - return obj; - }, - fromAminoMsg(object: UpdateCmekSettingsRequestAminoMsg): UpdateCmekSettingsRequest { - return UpdateCmekSettingsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: UpdateCmekSettingsRequestProtoMsg): UpdateCmekSettingsRequest { - return UpdateCmekSettingsRequest.decode(message.value); - }, - toProto(message: UpdateCmekSettingsRequest): Uint8Array { - return UpdateCmekSettingsRequest.encode(message).finish(); - }, - toProtoMsg(message: UpdateCmekSettingsRequest): UpdateCmekSettingsRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.UpdateCmekSettingsRequest", - value: UpdateCmekSettingsRequest.encode(message).finish() - }; - } -}; -function createBaseCmekSettings(): CmekSettings { - return { - name: "", - kmsKeyName: "", - serviceAccountId: "" - }; -} -export const CmekSettings = { - typeUrl: "/google.logging.v2.CmekSettings", - encode(message: CmekSettings, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.kmsKeyName !== "") { - writer.uint32(18).string(message.kmsKeyName); - } - if (message.serviceAccountId !== "") { - writer.uint32(26).string(message.serviceAccountId); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CmekSettings { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCmekSettings(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.kmsKeyName = reader.string(); - break; - case 3: - message.serviceAccountId = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CmekSettings { - const obj = createBaseCmekSettings(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.kmsKeyName)) obj.kmsKeyName = String(object.kmsKeyName); - if (isSet(object.serviceAccountId)) obj.serviceAccountId = String(object.serviceAccountId); - return obj; - }, - toJSON(message: CmekSettings): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.kmsKeyName !== undefined && (obj.kmsKeyName = message.kmsKeyName); - message.serviceAccountId !== undefined && (obj.serviceAccountId = message.serviceAccountId); - return obj; - }, - fromPartial(object: DeepPartial): CmekSettings { - const message = createBaseCmekSettings(); - message.name = object.name ?? ""; - message.kmsKeyName = object.kmsKeyName ?? ""; - message.serviceAccountId = object.serviceAccountId ?? ""; - return message; - }, - fromSDK(object: CmekSettingsSDKType): CmekSettings { - return { - name: object?.name, - kmsKeyName: object?.kms_key_name, - serviceAccountId: object?.service_account_id - }; - }, - toSDK(message: CmekSettings): CmekSettingsSDKType { - const obj: any = {}; - obj.name = message.name; - obj.kms_key_name = message.kmsKeyName; - obj.service_account_id = message.serviceAccountId; - return obj; - }, - fromAmino(object: CmekSettingsAmino): CmekSettings { - return { - name: object.name, - kmsKeyName: object.kms_key_name, - serviceAccountId: object.service_account_id - }; - }, - toAmino(message: CmekSettings): CmekSettingsAmino { - const obj: any = {}; - obj.name = message.name; - obj.kms_key_name = message.kmsKeyName; - obj.service_account_id = message.serviceAccountId; - return obj; - }, - fromAminoMsg(object: CmekSettingsAminoMsg): CmekSettings { - return CmekSettings.fromAmino(object.value); - }, - fromProtoMsg(message: CmekSettingsProtoMsg): CmekSettings { - return CmekSettings.decode(message.value); - }, - toProto(message: CmekSettings): Uint8Array { - return CmekSettings.encode(message).finish(); - }, - toProtoMsg(message: CmekSettings): CmekSettingsProtoMsg { - return { - typeUrl: "/google.logging.v2.CmekSettings", - value: CmekSettings.encode(message).finish() - }; - } -}; -function createBaseGetSettingsRequest(): GetSettingsRequest { - return { - name: "" - }; -} -export const GetSettingsRequest = { - typeUrl: "/google.logging.v2.GetSettingsRequest", - encode(message: GetSettingsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetSettingsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetSettingsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetSettingsRequest { - const obj = createBaseGetSettingsRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: GetSettingsRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): GetSettingsRequest { - const message = createBaseGetSettingsRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: GetSettingsRequestSDKType): GetSettingsRequest { - return { - name: object?.name - }; - }, - toSDK(message: GetSettingsRequest): GetSettingsRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: GetSettingsRequestAmino): GetSettingsRequest { - return { - name: object.name - }; - }, - toAmino(message: GetSettingsRequest): GetSettingsRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: GetSettingsRequestAminoMsg): GetSettingsRequest { - return GetSettingsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetSettingsRequestProtoMsg): GetSettingsRequest { - return GetSettingsRequest.decode(message.value); - }, - toProto(message: GetSettingsRequest): Uint8Array { - return GetSettingsRequest.encode(message).finish(); - }, - toProtoMsg(message: GetSettingsRequest): GetSettingsRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.GetSettingsRequest", - value: GetSettingsRequest.encode(message).finish() - }; - } -}; -function createBaseUpdateSettingsRequest(): UpdateSettingsRequest { - return { - name: "", - settings: Settings.fromPartial({}), - updateMask: FieldMask.fromPartial({}) - }; -} -export const UpdateSettingsRequest = { - typeUrl: "/google.logging.v2.UpdateSettingsRequest", - encode(message: UpdateSettingsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.settings !== undefined) { - Settings.encode(message.settings, writer.uint32(18).fork()).ldelim(); - } - if (message.updateMask !== undefined) { - FieldMask.encode(message.updateMask, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateSettingsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateSettingsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.settings = Settings.decode(reader, reader.uint32()); - break; - case 3: - message.updateMask = FieldMask.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UpdateSettingsRequest { - const obj = createBaseUpdateSettingsRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.settings)) obj.settings = Settings.fromJSON(object.settings); - if (isSet(object.updateMask)) obj.updateMask = FieldMask.fromJSON(object.updateMask); - return obj; - }, - toJSON(message: UpdateSettingsRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.settings !== undefined && (obj.settings = message.settings ? Settings.toJSON(message.settings) : undefined); - message.updateMask !== undefined && (obj.updateMask = message.updateMask ? FieldMask.toJSON(message.updateMask) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): UpdateSettingsRequest { - const message = createBaseUpdateSettingsRequest(); - message.name = object.name ?? ""; - if (object.settings !== undefined && object.settings !== null) { - message.settings = Settings.fromPartial(object.settings); - } - if (object.updateMask !== undefined && object.updateMask !== null) { - message.updateMask = FieldMask.fromPartial(object.updateMask); - } - return message; - }, - fromSDK(object: UpdateSettingsRequestSDKType): UpdateSettingsRequest { - return { - name: object?.name, - settings: object.settings ? Settings.fromSDK(object.settings) : undefined, - updateMask: object.update_mask ? FieldMask.fromSDK(object.update_mask) : undefined - }; - }, - toSDK(message: UpdateSettingsRequest): UpdateSettingsRequestSDKType { - const obj: any = {}; - obj.name = message.name; - message.settings !== undefined && (obj.settings = message.settings ? Settings.toSDK(message.settings) : undefined); - message.updateMask !== undefined && (obj.update_mask = message.updateMask ? FieldMask.toSDK(message.updateMask) : undefined); - return obj; - }, - fromAmino(object: UpdateSettingsRequestAmino): UpdateSettingsRequest { - return { - name: object.name, - settings: object?.settings ? Settings.fromAmino(object.settings) : undefined, - updateMask: object?.update_mask ? FieldMask.fromAmino(object.update_mask) : undefined - }; - }, - toAmino(message: UpdateSettingsRequest): UpdateSettingsRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.settings = message.settings ? Settings.toAmino(message.settings) : undefined; - obj.update_mask = message.updateMask ? FieldMask.toAmino(message.updateMask) : undefined; - return obj; - }, - fromAminoMsg(object: UpdateSettingsRequestAminoMsg): UpdateSettingsRequest { - return UpdateSettingsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: UpdateSettingsRequestProtoMsg): UpdateSettingsRequest { - return UpdateSettingsRequest.decode(message.value); - }, - toProto(message: UpdateSettingsRequest): Uint8Array { - return UpdateSettingsRequest.encode(message).finish(); - }, - toProtoMsg(message: UpdateSettingsRequest): UpdateSettingsRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.UpdateSettingsRequest", - value: UpdateSettingsRequest.encode(message).finish() - }; - } -}; -function createBaseSettings(): Settings { - return { - name: "", - kmsKeyName: "", - kmsServiceAccountId: "", - storageLocation: "", - disableDefaultSink: false - }; -} -export const Settings = { - typeUrl: "/google.logging.v2.Settings", - encode(message: Settings, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.kmsKeyName !== "") { - writer.uint32(18).string(message.kmsKeyName); - } - if (message.kmsServiceAccountId !== "") { - writer.uint32(26).string(message.kmsServiceAccountId); - } - if (message.storageLocation !== "") { - writer.uint32(34).string(message.storageLocation); - } - if (message.disableDefaultSink === true) { - writer.uint32(40).bool(message.disableDefaultSink); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Settings { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSettings(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.kmsKeyName = reader.string(); - break; - case 3: - message.kmsServiceAccountId = reader.string(); - break; - case 4: - message.storageLocation = reader.string(); - break; - case 5: - message.disableDefaultSink = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Settings { - const obj = createBaseSettings(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.kmsKeyName)) obj.kmsKeyName = String(object.kmsKeyName); - if (isSet(object.kmsServiceAccountId)) obj.kmsServiceAccountId = String(object.kmsServiceAccountId); - if (isSet(object.storageLocation)) obj.storageLocation = String(object.storageLocation); - if (isSet(object.disableDefaultSink)) obj.disableDefaultSink = Boolean(object.disableDefaultSink); - return obj; - }, - toJSON(message: Settings): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.kmsKeyName !== undefined && (obj.kmsKeyName = message.kmsKeyName); - message.kmsServiceAccountId !== undefined && (obj.kmsServiceAccountId = message.kmsServiceAccountId); - message.storageLocation !== undefined && (obj.storageLocation = message.storageLocation); - message.disableDefaultSink !== undefined && (obj.disableDefaultSink = message.disableDefaultSink); - return obj; - }, - fromPartial(object: DeepPartial): Settings { - const message = createBaseSettings(); - message.name = object.name ?? ""; - message.kmsKeyName = object.kmsKeyName ?? ""; - message.kmsServiceAccountId = object.kmsServiceAccountId ?? ""; - message.storageLocation = object.storageLocation ?? ""; - message.disableDefaultSink = object.disableDefaultSink ?? false; - return message; - }, - fromSDK(object: SettingsSDKType): Settings { - return { - name: object?.name, - kmsKeyName: object?.kms_key_name, - kmsServiceAccountId: object?.kms_service_account_id, - storageLocation: object?.storage_location, - disableDefaultSink: object?.disable_default_sink - }; - }, - toSDK(message: Settings): SettingsSDKType { - const obj: any = {}; - obj.name = message.name; - obj.kms_key_name = message.kmsKeyName; - obj.kms_service_account_id = message.kmsServiceAccountId; - obj.storage_location = message.storageLocation; - obj.disable_default_sink = message.disableDefaultSink; - return obj; - }, - fromAmino(object: SettingsAmino): Settings { - return { - name: object.name, - kmsKeyName: object.kms_key_name, - kmsServiceAccountId: object.kms_service_account_id, - storageLocation: object.storage_location, - disableDefaultSink: object.disable_default_sink - }; - }, - toAmino(message: Settings): SettingsAmino { - const obj: any = {}; - obj.name = message.name; - obj.kms_key_name = message.kmsKeyName; - obj.kms_service_account_id = message.kmsServiceAccountId; - obj.storage_location = message.storageLocation; - obj.disable_default_sink = message.disableDefaultSink; - return obj; - }, - fromAminoMsg(object: SettingsAminoMsg): Settings { - return Settings.fromAmino(object.value); - }, - fromProtoMsg(message: SettingsProtoMsg): Settings { - return Settings.decode(message.value); - }, - toProto(message: Settings): Uint8Array { - return Settings.encode(message).finish(); - }, - toProtoMsg(message: Settings): SettingsProtoMsg { - return { - typeUrl: "/google.logging.v2.Settings", - value: Settings.encode(message).finish() - }; - } -}; -function createBaseCopyLogEntriesRequest(): CopyLogEntriesRequest { - return { - name: "", - filter: "", - destination: "" - }; -} -export const CopyLogEntriesRequest = { - typeUrl: "/google.logging.v2.CopyLogEntriesRequest", - encode(message: CopyLogEntriesRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.filter !== "") { - writer.uint32(26).string(message.filter); - } - if (message.destination !== "") { - writer.uint32(34).string(message.destination); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CopyLogEntriesRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCopyLogEntriesRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.filter = reader.string(); - break; - case 4: - message.destination = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CopyLogEntriesRequest { - const obj = createBaseCopyLogEntriesRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.filter)) obj.filter = String(object.filter); - if (isSet(object.destination)) obj.destination = String(object.destination); - return obj; - }, - toJSON(message: CopyLogEntriesRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.filter !== undefined && (obj.filter = message.filter); - message.destination !== undefined && (obj.destination = message.destination); - return obj; - }, - fromPartial(object: DeepPartial): CopyLogEntriesRequest { - const message = createBaseCopyLogEntriesRequest(); - message.name = object.name ?? ""; - message.filter = object.filter ?? ""; - message.destination = object.destination ?? ""; - return message; - }, - fromSDK(object: CopyLogEntriesRequestSDKType): CopyLogEntriesRequest { - return { - name: object?.name, - filter: object?.filter, - destination: object?.destination - }; - }, - toSDK(message: CopyLogEntriesRequest): CopyLogEntriesRequestSDKType { - const obj: any = {}; - obj.name = message.name; - obj.filter = message.filter; - obj.destination = message.destination; - return obj; - }, - fromAmino(object: CopyLogEntriesRequestAmino): CopyLogEntriesRequest { - return { - name: object.name, - filter: object.filter, - destination: object.destination - }; - }, - toAmino(message: CopyLogEntriesRequest): CopyLogEntriesRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.filter = message.filter; - obj.destination = message.destination; - return obj; - }, - fromAminoMsg(object: CopyLogEntriesRequestAminoMsg): CopyLogEntriesRequest { - return CopyLogEntriesRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CopyLogEntriesRequestProtoMsg): CopyLogEntriesRequest { - return CopyLogEntriesRequest.decode(message.value); - }, - toProto(message: CopyLogEntriesRequest): Uint8Array { - return CopyLogEntriesRequest.encode(message).finish(); - }, - toProtoMsg(message: CopyLogEntriesRequest): CopyLogEntriesRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.CopyLogEntriesRequest", - value: CopyLogEntriesRequest.encode(message).finish() - }; - } -}; -function createBaseCopyLogEntriesMetadata(): CopyLogEntriesMetadata { - return { - startTime: new Date(), - endTime: new Date(), - state: 0, - cancellationRequested: false, - request: CopyLogEntriesRequest.fromPartial({}), - progress: 0, - writerIdentity: "" - }; -} -export const CopyLogEntriesMetadata = { - typeUrl: "/google.logging.v2.CopyLogEntriesMetadata", - encode(message: CopyLogEntriesMetadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.startTime !== undefined) { - Timestamp.encode(toTimestamp(message.startTime), writer.uint32(10).fork()).ldelim(); - } - if (message.endTime !== undefined) { - Timestamp.encode(toTimestamp(message.endTime), writer.uint32(18).fork()).ldelim(); - } - if (message.state !== 0) { - writer.uint32(24).int32(message.state); - } - if (message.cancellationRequested === true) { - writer.uint32(32).bool(message.cancellationRequested); - } - if (message.request !== undefined) { - CopyLogEntriesRequest.encode(message.request, writer.uint32(42).fork()).ldelim(); - } - if (message.progress !== 0) { - writer.uint32(48).int32(message.progress); - } - if (message.writerIdentity !== "") { - writer.uint32(58).string(message.writerIdentity); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CopyLogEntriesMetadata { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCopyLogEntriesMetadata(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.startTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 2: - message.endTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 3: - message.state = (reader.int32() as any); - break; - case 4: - message.cancellationRequested = reader.bool(); - break; - case 5: - message.request = CopyLogEntriesRequest.decode(reader, reader.uint32()); - break; - case 6: - message.progress = reader.int32(); - break; - case 7: - message.writerIdentity = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CopyLogEntriesMetadata { - const obj = createBaseCopyLogEntriesMetadata(); - if (isSet(object.startTime)) obj.startTime = new Date(object.startTime); - if (isSet(object.endTime)) obj.endTime = new Date(object.endTime); - if (isSet(object.state)) obj.state = operationStateFromJSON(object.state); - if (isSet(object.cancellationRequested)) obj.cancellationRequested = Boolean(object.cancellationRequested); - if (isSet(object.request)) obj.request = CopyLogEntriesRequest.fromJSON(object.request); - if (isSet(object.progress)) obj.progress = Number(object.progress); - if (isSet(object.writerIdentity)) obj.writerIdentity = String(object.writerIdentity); - return obj; - }, - toJSON(message: CopyLogEntriesMetadata): unknown { - const obj: any = {}; - message.startTime !== undefined && (obj.startTime = message.startTime.toISOString()); - message.endTime !== undefined && (obj.endTime = message.endTime.toISOString()); - message.state !== undefined && (obj.state = operationStateToJSON(message.state)); - message.cancellationRequested !== undefined && (obj.cancellationRequested = message.cancellationRequested); - message.request !== undefined && (obj.request = message.request ? CopyLogEntriesRequest.toJSON(message.request) : undefined); - message.progress !== undefined && (obj.progress = Math.round(message.progress)); - message.writerIdentity !== undefined && (obj.writerIdentity = message.writerIdentity); - return obj; - }, - fromPartial(object: DeepPartial): CopyLogEntriesMetadata { - const message = createBaseCopyLogEntriesMetadata(); - message.startTime = object.startTime ?? undefined; - message.endTime = object.endTime ?? undefined; - message.state = object.state ?? 0; - message.cancellationRequested = object.cancellationRequested ?? false; - if (object.request !== undefined && object.request !== null) { - message.request = CopyLogEntriesRequest.fromPartial(object.request); - } - message.progress = object.progress ?? 0; - message.writerIdentity = object.writerIdentity ?? ""; - return message; - }, - fromSDK(object: CopyLogEntriesMetadataSDKType): CopyLogEntriesMetadata { - return { - startTime: object.start_time ?? undefined, - endTime: object.end_time ?? undefined, - state: isSet(object.state) ? operationStateFromJSON(object.state) : -1, - cancellationRequested: object?.cancellation_requested, - request: object.request ? CopyLogEntriesRequest.fromSDK(object.request) : undefined, - progress: object?.progress, - writerIdentity: object?.writer_identity - }; - }, - toSDK(message: CopyLogEntriesMetadata): CopyLogEntriesMetadataSDKType { - const obj: any = {}; - message.startTime !== undefined && (obj.start_time = message.startTime ?? undefined); - message.endTime !== undefined && (obj.end_time = message.endTime ?? undefined); - message.state !== undefined && (obj.state = operationStateToJSON(message.state)); - obj.cancellation_requested = message.cancellationRequested; - message.request !== undefined && (obj.request = message.request ? CopyLogEntriesRequest.toSDK(message.request) : undefined); - obj.progress = message.progress; - obj.writer_identity = message.writerIdentity; - return obj; - }, - fromAmino(object: CopyLogEntriesMetadataAmino): CopyLogEntriesMetadata { - return { - startTime: object.start_time, - endTime: object.end_time, - state: isSet(object.state) ? operationStateFromJSON(object.state) : -1, - cancellationRequested: object.cancellation_requested, - request: object?.request ? CopyLogEntriesRequest.fromAmino(object.request) : undefined, - progress: object.progress, - writerIdentity: object.writer_identity - }; - }, - toAmino(message: CopyLogEntriesMetadata): CopyLogEntriesMetadataAmino { - const obj: any = {}; - obj.start_time = message.startTime; - obj.end_time = message.endTime; - obj.state = message.state; - obj.cancellation_requested = message.cancellationRequested; - obj.request = message.request ? CopyLogEntriesRequest.toAmino(message.request) : undefined; - obj.progress = message.progress; - obj.writer_identity = message.writerIdentity; - return obj; - }, - fromAminoMsg(object: CopyLogEntriesMetadataAminoMsg): CopyLogEntriesMetadata { - return CopyLogEntriesMetadata.fromAmino(object.value); - }, - fromProtoMsg(message: CopyLogEntriesMetadataProtoMsg): CopyLogEntriesMetadata { - return CopyLogEntriesMetadata.decode(message.value); - }, - toProto(message: CopyLogEntriesMetadata): Uint8Array { - return CopyLogEntriesMetadata.encode(message).finish(); - }, - toProtoMsg(message: CopyLogEntriesMetadata): CopyLogEntriesMetadataProtoMsg { - return { - typeUrl: "/google.logging.v2.CopyLogEntriesMetadata", - value: CopyLogEntriesMetadata.encode(message).finish() - }; - } -}; -function createBaseCopyLogEntriesResponse(): CopyLogEntriesResponse { - return { - logEntriesCopiedCount: Long.ZERO - }; -} -export const CopyLogEntriesResponse = { - typeUrl: "/google.logging.v2.CopyLogEntriesResponse", - encode(message: CopyLogEntriesResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.logEntriesCopiedCount.isZero()) { - writer.uint32(8).int64(message.logEntriesCopiedCount); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CopyLogEntriesResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCopyLogEntriesResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.logEntriesCopiedCount = (reader.int64() as Long); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CopyLogEntriesResponse { - const obj = createBaseCopyLogEntriesResponse(); - if (isSet(object.logEntriesCopiedCount)) obj.logEntriesCopiedCount = Long.fromValue(object.logEntriesCopiedCount); - return obj; - }, - toJSON(message: CopyLogEntriesResponse): unknown { - const obj: any = {}; - message.logEntriesCopiedCount !== undefined && (obj.logEntriesCopiedCount = (message.logEntriesCopiedCount || Long.ZERO).toString()); - return obj; - }, - fromPartial(object: DeepPartial): CopyLogEntriesResponse { - const message = createBaseCopyLogEntriesResponse(); - if (object.logEntriesCopiedCount !== undefined && object.logEntriesCopiedCount !== null) { - message.logEntriesCopiedCount = Long.fromValue(object.logEntriesCopiedCount); - } - return message; - }, - fromSDK(object: CopyLogEntriesResponseSDKType): CopyLogEntriesResponse { - return { - logEntriesCopiedCount: object?.log_entries_copied_count - }; - }, - toSDK(message: CopyLogEntriesResponse): CopyLogEntriesResponseSDKType { - const obj: any = {}; - obj.log_entries_copied_count = message.logEntriesCopiedCount; - return obj; - }, - fromAmino(object: CopyLogEntriesResponseAmino): CopyLogEntriesResponse { - return { - logEntriesCopiedCount: Long.fromString(object.log_entries_copied_count) - }; - }, - toAmino(message: CopyLogEntriesResponse): CopyLogEntriesResponseAmino { - const obj: any = {}; - obj.log_entries_copied_count = message.logEntriesCopiedCount ? message.logEntriesCopiedCount.toString() : undefined; - return obj; - }, - fromAminoMsg(object: CopyLogEntriesResponseAminoMsg): CopyLogEntriesResponse { - return CopyLogEntriesResponse.fromAmino(object.value); - }, - fromProtoMsg(message: CopyLogEntriesResponseProtoMsg): CopyLogEntriesResponse { - return CopyLogEntriesResponse.decode(message.value); - }, - toProto(message: CopyLogEntriesResponse): Uint8Array { - return CopyLogEntriesResponse.encode(message).finish(); - }, - toProtoMsg(message: CopyLogEntriesResponse): CopyLogEntriesResponseProtoMsg { - return { - typeUrl: "/google.logging.v2.CopyLogEntriesResponse", - value: CopyLogEntriesResponse.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/logging/v2/logging_metrics.ts b/quicksilverjs/src/codegen/google/logging/v2/logging_metrics.ts deleted file mode 100644 index 63aab4ddd..000000000 --- a/quicksilverjs/src/codegen/google/logging/v2/logging_metrics.ts +++ /dev/null @@ -1,1535 +0,0 @@ -import { MetricDescriptor, MetricDescriptorAmino, MetricDescriptorSDKType } from "../../api/metric"; -import { Distribution_BucketOptions } from "../../api/distribution"; -import { Timestamp, TimestampAmino, TimestampSDKType } from "../../protobuf/timestamp"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, toTimestamp, fromTimestamp, isObject } from "../../../helpers"; -export const protobufPackage = "google.logging.v2"; -/** Logging API version. */ -export enum LogMetric_ApiVersion { - /** V2 - Logging API v2. */ - V2 = 0, - /** V1 - Logging API v1. */ - V1 = 1, - UNRECOGNIZED = -1, -} -export const LogMetric_ApiVersionSDKType = LogMetric_ApiVersion; -export const LogMetric_ApiVersionAmino = LogMetric_ApiVersion; -export function logMetric_ApiVersionFromJSON(object: any): LogMetric_ApiVersion { - switch (object) { - case 0: - case "V2": - return LogMetric_ApiVersion.V2; - case 1: - case "V1": - return LogMetric_ApiVersion.V1; - case -1: - case "UNRECOGNIZED": - default: - return LogMetric_ApiVersion.UNRECOGNIZED; - } -} -export function logMetric_ApiVersionToJSON(object: LogMetric_ApiVersion): string { - switch (object) { - case LogMetric_ApiVersion.V2: - return "V2"; - case LogMetric_ApiVersion.V1: - return "V1"; - case LogMetric_ApiVersion.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export interface LogMetric_LabelExtractorsEntry { - key: string; - value: string; -} -export interface LogMetric_LabelExtractorsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface LogMetric_LabelExtractorsEntryAmino { - key: string; - value: string; -} -export interface LogMetric_LabelExtractorsEntryAminoMsg { - type: string; - value: LogMetric_LabelExtractorsEntryAmino; -} -export interface LogMetric_LabelExtractorsEntrySDKType { - key: string; - value: string; -} -/** - * Describes a logs-based metric. The value of the metric is the number of log - * entries that match a logs filter in a given time interval. - * - * Logs-based metrics can also be used to extract values from logs and create a - * distribution of the values. The distribution records the statistics of the - * extracted values along with an optional histogram of the values as specified - * by the bucket options. - */ -export interface LogMetric { - /** - * Required. The client-assigned metric identifier. - * Examples: `"error_count"`, `"nginx/requests"`. - * - * Metric identifiers are limited to 100 characters and can include only the - * following characters: `A-Z`, `a-z`, `0-9`, and the special characters - * `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of - * name pieces, and it cannot be the first character of the name. - * - * This field is the `[METRIC_ID]` part of a metric resource name in the - * format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the - * resource name of a metric is - * `"projects/my-project/metrics/nginx%2Frequests"`, this field's value is - * `"nginx/requests"`. - */ - name: string; - /** - * Optional. A description of this metric, which is used in documentation. - * The maximum length of the description is 8000 characters. - */ - description: string; - /** - * Required. An [advanced logs - * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which - * is used to match log entries. Example: - * - * "resource.type=gae_app AND severity>=ERROR" - * - * The maximum length of the filter is 20000 characters. - */ - filter: string; - /** - * Optional. If set to True, then this metric is disabled and it does not - * generate any points. - */ - disabled: boolean; - /** - * Optional. The metric descriptor associated with the logs-based metric. - * If unspecified, it uses a default metric descriptor with a DELTA metric - * kind, INT64 value type, with no labels and a unit of "1". Such a metric - * counts the number of log entries matching the `filter` expression. - * - * The `name`, `type`, and `description` fields in the `metric_descriptor` - * are output only, and is constructed using the `name` and `description` - * field in the LogMetric. - * - * To create a logs-based metric that records a distribution of log values, a - * DELTA metric kind with a DISTRIBUTION value type must be used along with - * a `value_extractor` expression in the LogMetric. - * - * Each label in the metric descriptor must have a matching label - * name as the key and an extractor expression as the value in the - * `label_extractors` map. - * - * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot - * be updated once initially configured. New labels can be added in the - * `metric_descriptor`, but existing labels cannot be modified except for - * their description. - */ - metricDescriptor: MetricDescriptor; - /** - * Optional. A `value_extractor` is required when using a distribution - * logs-based metric to extract the values to record from a log entry. - * Two functions are supported for value extraction: `EXTRACT(field)` or - * `REGEXP_EXTRACT(field, regex)`. The argument are: - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. - * - * The result of the extraction must be convertible to a double type, as the - * distribution always records double values. If either the extraction or - * the conversion to double fails, then those values are not recorded in the - * distribution. - * - * Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` - */ - valueExtractor: string; - /** - * Optional. A map from a label key string to an extractor expression which is - * used to extract data from a log entry field and assign as the label value. - * Each label key specified in the LabelDescriptor must have an associated - * extractor expression in this map. The syntax of the extractor expression - * is the same as for the `value_extractor` field. - * - * The extracted value is converted to the type defined in the label - * descriptor. If the either the extraction or the type conversion fails, - * the label will have a default value. The default value for a string - * label is an empty string, for an integer label its 0, and for a boolean - * label its `false`. - * - * Note that there are upper bounds on the maximum number of labels and the - * number of active time series that are allowed in a project. - */ - labelExtractors: { - [key: string]: string; - }; - /** - * Optional. The `bucket_options` are required when the logs-based metric is - * using a DISTRIBUTION value type and it describes the bucket boundaries - * used to create a histogram of the extracted values. - */ - bucketOptions: Distribution_BucketOptions; - /** - * Output only. The creation timestamp of the metric. - * - * This field may not be present for older metrics. - */ - createTime: Date; - /** - * Output only. The last update timestamp of the metric. - * - * This field may not be present for older metrics. - */ - updateTime: Date; - /** - * Deprecated. The API version that created or updated this metric. - * The v2 format is used by default and cannot be changed. - */ - /** @deprecated */ - version: LogMetric_ApiVersion; -} -export interface LogMetricProtoMsg { - typeUrl: "/google.logging.v2.LogMetric"; - value: Uint8Array; -} -/** - * Describes a logs-based metric. The value of the metric is the number of log - * entries that match a logs filter in a given time interval. - * - * Logs-based metrics can also be used to extract values from logs and create a - * distribution of the values. The distribution records the statistics of the - * extracted values along with an optional histogram of the values as specified - * by the bucket options. - */ -export interface LogMetricAmino { - /** - * Required. The client-assigned metric identifier. - * Examples: `"error_count"`, `"nginx/requests"`. - * - * Metric identifiers are limited to 100 characters and can include only the - * following characters: `A-Z`, `a-z`, `0-9`, and the special characters - * `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of - * name pieces, and it cannot be the first character of the name. - * - * This field is the `[METRIC_ID]` part of a metric resource name in the - * format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the - * resource name of a metric is - * `"projects/my-project/metrics/nginx%2Frequests"`, this field's value is - * `"nginx/requests"`. - */ - name: string; - /** - * Optional. A description of this metric, which is used in documentation. - * The maximum length of the description is 8000 characters. - */ - description: string; - /** - * Required. An [advanced logs - * filter](https://cloud.google.com/logging/docs/view/advanced_filters) which - * is used to match log entries. Example: - * - * "resource.type=gae_app AND severity>=ERROR" - * - * The maximum length of the filter is 20000 characters. - */ - filter: string; - /** - * Optional. If set to True, then this metric is disabled and it does not - * generate any points. - */ - disabled: boolean; - /** - * Optional. The metric descriptor associated with the logs-based metric. - * If unspecified, it uses a default metric descriptor with a DELTA metric - * kind, INT64 value type, with no labels and a unit of "1". Such a metric - * counts the number of log entries matching the `filter` expression. - * - * The `name`, `type`, and `description` fields in the `metric_descriptor` - * are output only, and is constructed using the `name` and `description` - * field in the LogMetric. - * - * To create a logs-based metric that records a distribution of log values, a - * DELTA metric kind with a DISTRIBUTION value type must be used along with - * a `value_extractor` expression in the LogMetric. - * - * Each label in the metric descriptor must have a matching label - * name as the key and an extractor expression as the value in the - * `label_extractors` map. - * - * The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot - * be updated once initially configured. New labels can be added in the - * `metric_descriptor`, but existing labels cannot be modified except for - * their description. - */ - metric_descriptor?: MetricDescriptorAmino; - /** - * Optional. A `value_extractor` is required when using a distribution - * logs-based metric to extract the values to record from a log entry. - * Two functions are supported for value extraction: `EXTRACT(field)` or - * `REGEXP_EXTRACT(field, regex)`. The argument are: - * 1. field: The name of the log entry field from which the value is to be - * extracted. - * 2. regex: A regular expression using the Google RE2 syntax - * (https://github.com/google/re2/wiki/Syntax) with a single capture - * group to extract data from the specified log entry field. The value - * of the field is converted to a string before applying the regex. - * It is an error to specify a regex that does not include exactly one - * capture group. - * - * The result of the extraction must be convertible to a double type, as the - * distribution always records double values. If either the extraction or - * the conversion to double fails, then those values are not recorded in the - * distribution. - * - * Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")` - */ - value_extractor: string; - /** - * Optional. A map from a label key string to an extractor expression which is - * used to extract data from a log entry field and assign as the label value. - * Each label key specified in the LabelDescriptor must have an associated - * extractor expression in this map. The syntax of the extractor expression - * is the same as for the `value_extractor` field. - * - * The extracted value is converted to the type defined in the label - * descriptor. If the either the extraction or the type conversion fails, - * the label will have a default value. The default value for a string - * label is an empty string, for an integer label its 0, and for a boolean - * label its `false`. - * - * Note that there are upper bounds on the maximum number of labels and the - * number of active time series that are allowed in a project. - */ - label_extractors: { - [key: string]: string; - }; - /** - * Optional. The `bucket_options` are required when the logs-based metric is - * using a DISTRIBUTION value type and it describes the bucket boundaries - * used to create a histogram of the extracted values. - */ - bucket_options?: Distribution_BucketOptionsAmino; - /** - * Output only. The creation timestamp of the metric. - * - * This field may not be present for older metrics. - */ - create_time?: Date; - /** - * Output only. The last update timestamp of the metric. - * - * This field may not be present for older metrics. - */ - update_time?: Date; - /** - * Deprecated. The API version that created or updated this metric. - * The v2 format is used by default and cannot be changed. - */ - /** @deprecated */ - version: LogMetric_ApiVersion; -} -export interface LogMetricAminoMsg { - type: "/google.logging.v2.LogMetric"; - value: LogMetricAmino; -} -/** - * Describes a logs-based metric. The value of the metric is the number of log - * entries that match a logs filter in a given time interval. - * - * Logs-based metrics can also be used to extract values from logs and create a - * distribution of the values. The distribution records the statistics of the - * extracted values along with an optional histogram of the values as specified - * by the bucket options. - */ -export interface LogMetricSDKType { - name: string; - description: string; - filter: string; - disabled: boolean; - metric_descriptor: MetricDescriptorSDKType; - value_extractor: string; - label_extractors: { - [key: string]: string; - }; - bucket_options: Distribution_BucketOptionsSDKType; - create_time: Date; - update_time: Date; - /** @deprecated */ - version: LogMetric_ApiVersion; -} -/** The parameters to ListLogMetrics. */ -export interface ListLogMetricsRequest { - /** - * Required. The name of the project containing the metrics: - * - * "projects/[PROJECT_ID]" - */ - parent: string; - /** - * Optional. If present, then retrieve the next batch of results from the - * preceding call to this method. `pageToken` must be the value of - * `nextPageToken` from the previous response. The values of other method - * parameters should be identical to those in the previous call. - */ - pageToken: string; - /** - * Optional. The maximum number of results to return from this request. - * Non-positive values are ignored. The presence of `nextPageToken` in the - * response indicates that more results might be available. - */ - pageSize: number; -} -export interface ListLogMetricsRequestProtoMsg { - typeUrl: "/google.logging.v2.ListLogMetricsRequest"; - value: Uint8Array; -} -/** The parameters to ListLogMetrics. */ -export interface ListLogMetricsRequestAmino { - /** - * Required. The name of the project containing the metrics: - * - * "projects/[PROJECT_ID]" - */ - parent: string; - /** - * Optional. If present, then retrieve the next batch of results from the - * preceding call to this method. `pageToken` must be the value of - * `nextPageToken` from the previous response. The values of other method - * parameters should be identical to those in the previous call. - */ - page_token: string; - /** - * Optional. The maximum number of results to return from this request. - * Non-positive values are ignored. The presence of `nextPageToken` in the - * response indicates that more results might be available. - */ - page_size: number; -} -export interface ListLogMetricsRequestAminoMsg { - type: "/google.logging.v2.ListLogMetricsRequest"; - value: ListLogMetricsRequestAmino; -} -/** The parameters to ListLogMetrics. */ -export interface ListLogMetricsRequestSDKType { - parent: string; - page_token: string; - page_size: number; -} -/** Result returned from ListLogMetrics. */ -export interface ListLogMetricsResponse { - /** A list of logs-based metrics. */ - metrics: LogMetric[]; - /** - * If there might be more results than appear in this response, then - * `nextPageToken` is included. To get the next set of results, call this - * method again using the value of `nextPageToken` as `pageToken`. - */ - nextPageToken: string; -} -export interface ListLogMetricsResponseProtoMsg { - typeUrl: "/google.logging.v2.ListLogMetricsResponse"; - value: Uint8Array; -} -/** Result returned from ListLogMetrics. */ -export interface ListLogMetricsResponseAmino { - /** A list of logs-based metrics. */ - metrics: LogMetricAmino[]; - /** - * If there might be more results than appear in this response, then - * `nextPageToken` is included. To get the next set of results, call this - * method again using the value of `nextPageToken` as `pageToken`. - */ - next_page_token: string; -} -export interface ListLogMetricsResponseAminoMsg { - type: "/google.logging.v2.ListLogMetricsResponse"; - value: ListLogMetricsResponseAmino; -} -/** Result returned from ListLogMetrics. */ -export interface ListLogMetricsResponseSDKType { - metrics: LogMetricSDKType[]; - next_page_token: string; -} -/** The parameters to GetLogMetric. */ -export interface GetLogMetricRequest { - /** - * Required. The resource name of the desired metric: - * - * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - */ - metricName: string; -} -export interface GetLogMetricRequestProtoMsg { - typeUrl: "/google.logging.v2.GetLogMetricRequest"; - value: Uint8Array; -} -/** The parameters to GetLogMetric. */ -export interface GetLogMetricRequestAmino { - /** - * Required. The resource name of the desired metric: - * - * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - */ - metric_name: string; -} -export interface GetLogMetricRequestAminoMsg { - type: "/google.logging.v2.GetLogMetricRequest"; - value: GetLogMetricRequestAmino; -} -/** The parameters to GetLogMetric. */ -export interface GetLogMetricRequestSDKType { - metric_name: string; -} -/** The parameters to CreateLogMetric. */ -export interface CreateLogMetricRequest { - /** - * Required. The resource name of the project in which to create the metric: - * - * "projects/[PROJECT_ID]" - * - * The new metric must be provided in the request. - */ - parent: string; - /** - * Required. The new logs-based metric, which must not have an identifier that - * already exists. - */ - metric: LogMetric; -} -export interface CreateLogMetricRequestProtoMsg { - typeUrl: "/google.logging.v2.CreateLogMetricRequest"; - value: Uint8Array; -} -/** The parameters to CreateLogMetric. */ -export interface CreateLogMetricRequestAmino { - /** - * Required. The resource name of the project in which to create the metric: - * - * "projects/[PROJECT_ID]" - * - * The new metric must be provided in the request. - */ - parent: string; - /** - * Required. The new logs-based metric, which must not have an identifier that - * already exists. - */ - metric?: LogMetricAmino; -} -export interface CreateLogMetricRequestAminoMsg { - type: "/google.logging.v2.CreateLogMetricRequest"; - value: CreateLogMetricRequestAmino; -} -/** The parameters to CreateLogMetric. */ -export interface CreateLogMetricRequestSDKType { - parent: string; - metric: LogMetricSDKType; -} -/** The parameters to UpdateLogMetric. */ -export interface UpdateLogMetricRequest { - /** - * Required. The resource name of the metric to update: - * - * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - * - * The updated metric must be provided in the request and it's - * `name` field must be the same as `[METRIC_ID]` If the metric - * does not exist in `[PROJECT_ID]`, then a new metric is created. - */ - metricName: string; - /** Required. The updated metric. */ - metric: LogMetric; -} -export interface UpdateLogMetricRequestProtoMsg { - typeUrl: "/google.logging.v2.UpdateLogMetricRequest"; - value: Uint8Array; -} -/** The parameters to UpdateLogMetric. */ -export interface UpdateLogMetricRequestAmino { - /** - * Required. The resource name of the metric to update: - * - * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - * - * The updated metric must be provided in the request and it's - * `name` field must be the same as `[METRIC_ID]` If the metric - * does not exist in `[PROJECT_ID]`, then a new metric is created. - */ - metric_name: string; - /** Required. The updated metric. */ - metric?: LogMetricAmino; -} -export interface UpdateLogMetricRequestAminoMsg { - type: "/google.logging.v2.UpdateLogMetricRequest"; - value: UpdateLogMetricRequestAmino; -} -/** The parameters to UpdateLogMetric. */ -export interface UpdateLogMetricRequestSDKType { - metric_name: string; - metric: LogMetricSDKType; -} -/** The parameters to DeleteLogMetric. */ -export interface DeleteLogMetricRequest { - /** - * Required. The resource name of the metric to delete: - * - * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - */ - metricName: string; -} -export interface DeleteLogMetricRequestProtoMsg { - typeUrl: "/google.logging.v2.DeleteLogMetricRequest"; - value: Uint8Array; -} -/** The parameters to DeleteLogMetric. */ -export interface DeleteLogMetricRequestAmino { - /** - * Required. The resource name of the metric to delete: - * - * "projects/[PROJECT_ID]/metrics/[METRIC_ID]" - */ - metric_name: string; -} -export interface DeleteLogMetricRequestAminoMsg { - type: "/google.logging.v2.DeleteLogMetricRequest"; - value: DeleteLogMetricRequestAmino; -} -/** The parameters to DeleteLogMetric. */ -export interface DeleteLogMetricRequestSDKType { - metric_name: string; -} -function createBaseLogMetric_LabelExtractorsEntry(): LogMetric_LabelExtractorsEntry { - return { - key: "", - value: "" - }; -} -export const LogMetric_LabelExtractorsEntry = { - encode(message: LogMetric_LabelExtractorsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogMetric_LabelExtractorsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogMetric_LabelExtractorsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogMetric_LabelExtractorsEntry { - const obj = createBaseLogMetric_LabelExtractorsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = String(object.value); - return obj; - }, - toJSON(message: LogMetric_LabelExtractorsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value); - return obj; - }, - fromPartial(object: DeepPartial): LogMetric_LabelExtractorsEntry { - const message = createBaseLogMetric_LabelExtractorsEntry(); - message.key = object.key ?? ""; - message.value = object.value ?? ""; - return message; - }, - fromSDK(object: LogMetric_LabelExtractorsEntrySDKType): LogMetric_LabelExtractorsEntry { - return { - key: object?.key, - value: object?.value - }; - }, - toSDK(message: LogMetric_LabelExtractorsEntry): LogMetric_LabelExtractorsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAmino(object: LogMetric_LabelExtractorsEntryAmino): LogMetric_LabelExtractorsEntry { - return { - key: object.key, - value: object.value - }; - }, - toAmino(message: LogMetric_LabelExtractorsEntry): LogMetric_LabelExtractorsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: LogMetric_LabelExtractorsEntryAminoMsg): LogMetric_LabelExtractorsEntry { - return LogMetric_LabelExtractorsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: LogMetric_LabelExtractorsEntryProtoMsg): LogMetric_LabelExtractorsEntry { - return LogMetric_LabelExtractorsEntry.decode(message.value); - }, - toProto(message: LogMetric_LabelExtractorsEntry): Uint8Array { - return LogMetric_LabelExtractorsEntry.encode(message).finish(); - } -}; -function createBaseLogMetric(): LogMetric { - return { - name: "", - description: "", - filter: "", - disabled: false, - metricDescriptor: MetricDescriptor.fromPartial({}), - valueExtractor: "", - labelExtractors: {}, - bucketOptions: Distribution_BucketOptions.fromPartial({}), - createTime: new Date(), - updateTime: new Date(), - version: 0 - }; -} -export const LogMetric = { - typeUrl: "/google.logging.v2.LogMetric", - encode(message: LogMetric, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.description !== "") { - writer.uint32(18).string(message.description); - } - if (message.filter !== "") { - writer.uint32(26).string(message.filter); - } - if (message.disabled === true) { - writer.uint32(96).bool(message.disabled); - } - if (message.metricDescriptor !== undefined) { - MetricDescriptor.encode(message.metricDescriptor, writer.uint32(42).fork()).ldelim(); - } - if (message.valueExtractor !== "") { - writer.uint32(50).string(message.valueExtractor); - } - Object.entries(message.labelExtractors).forEach(([key, value]) => { - LogMetric_LabelExtractorsEntry.encode({ - key: (key as any), - value - }, writer.uint32(58).fork()).ldelim(); - }); - if (message.bucketOptions !== undefined) { - Distribution_BucketOptions.encode(message.bucketOptions, writer.uint32(66).fork()).ldelim(); - } - if (message.createTime !== undefined) { - Timestamp.encode(toTimestamp(message.createTime), writer.uint32(74).fork()).ldelim(); - } - if (message.updateTime !== undefined) { - Timestamp.encode(toTimestamp(message.updateTime), writer.uint32(82).fork()).ldelim(); - } - if (message.version !== 0) { - writer.uint32(32).int32(message.version); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): LogMetric { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseLogMetric(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.description = reader.string(); - break; - case 3: - message.filter = reader.string(); - break; - case 12: - message.disabled = reader.bool(); - break; - case 5: - message.metricDescriptor = MetricDescriptor.decode(reader, reader.uint32()); - break; - case 6: - message.valueExtractor = reader.string(); - break; - case 7: - const entry7 = LogMetric_LabelExtractorsEntry.decode(reader, reader.uint32()); - if (entry7.value !== undefined) { - message.labelExtractors[entry7.key] = entry7.value; - } - break; - case 8: - message.bucketOptions = Distribution_BucketOptions.decode(reader, reader.uint32()); - break; - case 9: - message.createTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 10: - message.updateTime = fromTimestamp(Timestamp.decode(reader, reader.uint32())); - break; - case 4: - message.version = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): LogMetric { - const obj = createBaseLogMetric(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.description)) obj.description = String(object.description); - if (isSet(object.filter)) obj.filter = String(object.filter); - if (isSet(object.disabled)) obj.disabled = Boolean(object.disabled); - if (isSet(object.metricDescriptor)) obj.metricDescriptor = MetricDescriptor.fromJSON(object.metricDescriptor); - if (isSet(object.valueExtractor)) obj.valueExtractor = String(object.valueExtractor); - if (isObject(object.labelExtractors)) obj.labelExtractors = Object.entries(object.labelExtractors).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}); - if (isSet(object.bucketOptions)) obj.bucketOptions = Distribution_BucketOptions.fromJSON(object.bucketOptions); - if (isSet(object.createTime)) obj.createTime = new Date(object.createTime); - if (isSet(object.updateTime)) obj.updateTime = new Date(object.updateTime); - if (isSet(object.version)) obj.version = logMetric_ApiVersionFromJSON(object.version); - return obj; - }, - toJSON(message: LogMetric): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.description !== undefined && (obj.description = message.description); - message.filter !== undefined && (obj.filter = message.filter); - message.disabled !== undefined && (obj.disabled = message.disabled); - message.metricDescriptor !== undefined && (obj.metricDescriptor = message.metricDescriptor ? MetricDescriptor.toJSON(message.metricDescriptor) : undefined); - message.valueExtractor !== undefined && (obj.valueExtractor = message.valueExtractor); - obj.labelExtractors = {}; - if (message.labelExtractors) { - Object.entries(message.labelExtractors).forEach(([k, v]) => { - obj.labelExtractors[k] = v; - }); - } - message.bucketOptions !== undefined && (obj.bucketOptions = message.bucketOptions ? Distribution_BucketOptions.toJSON(message.bucketOptions) : undefined); - message.createTime !== undefined && (obj.createTime = message.createTime.toISOString()); - message.updateTime !== undefined && (obj.updateTime = message.updateTime.toISOString()); - message.version !== undefined && (obj.version = logMetric_ApiVersionToJSON(message.version)); - return obj; - }, - fromPartial(object: DeepPartial): LogMetric { - const message = createBaseLogMetric(); - message.name = object.name ?? ""; - message.description = object.description ?? ""; - message.filter = object.filter ?? ""; - message.disabled = object.disabled ?? false; - if (object.metricDescriptor !== undefined && object.metricDescriptor !== null) { - message.metricDescriptor = MetricDescriptor.fromPartial(object.metricDescriptor); - } - message.valueExtractor = object.valueExtractor ?? ""; - message.labelExtractors = Object.entries(object.labelExtractors ?? {}).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = String(value); - } - return acc; - }, {}); - if (object.bucketOptions !== undefined && object.bucketOptions !== null) { - message.bucketOptions = Distribution_BucketOptions.fromPartial(object.bucketOptions); - } - message.createTime = object.createTime ?? undefined; - message.updateTime = object.updateTime ?? undefined; - message.version = object.version ?? 0; - return message; - }, - fromSDK(object: LogMetricSDKType): LogMetric { - return { - name: object?.name, - description: object?.description, - filter: object?.filter, - disabled: object?.disabled, - metricDescriptor: object.metric_descriptor ? MetricDescriptor.fromSDK(object.metric_descriptor) : undefined, - valueExtractor: object?.value_extractor, - labelExtractors: isObject(object.label_extractors) ? Object.entries(object.label_extractors).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - bucketOptions: object.bucket_options ? Distribution_BucketOptions.fromSDK(object.bucket_options) : undefined, - createTime: object.create_time ?? undefined, - updateTime: object.update_time ?? undefined, - version: isSet(object.version) ? logMetric_ApiVersionFromJSON(object.version) : -1 - }; - }, - toSDK(message: LogMetric): LogMetricSDKType { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - obj.filter = message.filter; - obj.disabled = message.disabled; - message.metricDescriptor !== undefined && (obj.metric_descriptor = message.metricDescriptor ? MetricDescriptor.toSDK(message.metricDescriptor) : undefined); - obj.value_extractor = message.valueExtractor; - obj.label_extractors = {}; - if (message.labelExtractors) { - Object.entries(message.labelExtractors).forEach(([k, v]) => { - obj.label_extractors[k] = v; - }); - } - message.bucketOptions !== undefined && (obj.bucket_options = message.bucketOptions ? Distribution_BucketOptions.toSDK(message.bucketOptions) : undefined); - message.createTime !== undefined && (obj.create_time = message.createTime ?? undefined); - message.updateTime !== undefined && (obj.update_time = message.updateTime ?? undefined); - message.version !== undefined && (obj.version = logMetric_ApiVersionToJSON(message.version)); - return obj; - }, - fromAmino(object: LogMetricAmino): LogMetric { - return { - name: object.name, - description: object.description, - filter: object.filter, - disabled: object.disabled, - metricDescriptor: object?.metric_descriptor ? MetricDescriptor.fromAmino(object.metric_descriptor) : undefined, - valueExtractor: object.value_extractor, - labelExtractors: isObject(object.label_extractors) ? Object.entries(object.label_extractors).reduce<{ - [key: string]: string; - }>((acc, [key, value]) => { - acc[key] = String(value); - return acc; - }, {}) : {}, - bucketOptions: object?.bucket_options ? Distribution_BucketOptions.fromAmino(object.bucket_options) : undefined, - createTime: object.create_time, - updateTime: object.update_time, - version: isSet(object.version) ? logMetric_ApiVersionFromJSON(object.version) : -1 - }; - }, - toAmino(message: LogMetric): LogMetricAmino { - const obj: any = {}; - obj.name = message.name; - obj.description = message.description; - obj.filter = message.filter; - obj.disabled = message.disabled; - obj.metric_descriptor = message.metricDescriptor ? MetricDescriptor.toAmino(message.metricDescriptor) : undefined; - obj.value_extractor = message.valueExtractor; - obj.label_extractors = {}; - if (message.labelExtractors) { - Object.entries(message.labelExtractors).forEach(([k, v]) => { - obj.label_extractors[k] = v; - }); - } - obj.bucket_options = message.bucketOptions ? Distribution_BucketOptions.toAmino(message.bucketOptions) : undefined; - obj.create_time = message.createTime; - obj.update_time = message.updateTime; - obj.version = message.version; - return obj; - }, - fromAminoMsg(object: LogMetricAminoMsg): LogMetric { - return LogMetric.fromAmino(object.value); - }, - fromProtoMsg(message: LogMetricProtoMsg): LogMetric { - return LogMetric.decode(message.value); - }, - toProto(message: LogMetric): Uint8Array { - return LogMetric.encode(message).finish(); - }, - toProtoMsg(message: LogMetric): LogMetricProtoMsg { - return { - typeUrl: "/google.logging.v2.LogMetric", - value: LogMetric.encode(message).finish() - }; - } -}; -function createBaseListLogMetricsRequest(): ListLogMetricsRequest { - return { - parent: "", - pageToken: "", - pageSize: 0 - }; -} -export const ListLogMetricsRequest = { - typeUrl: "/google.logging.v2.ListLogMetricsRequest", - encode(message: ListLogMetricsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.pageToken !== "") { - writer.uint32(18).string(message.pageToken); - } - if (message.pageSize !== 0) { - writer.uint32(24).int32(message.pageSize); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListLogMetricsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListLogMetricsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.pageToken = reader.string(); - break; - case 3: - message.pageSize = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListLogMetricsRequest { - const obj = createBaseListLogMetricsRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - return obj; - }, - toJSON(message: ListLogMetricsRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - return obj; - }, - fromPartial(object: DeepPartial): ListLogMetricsRequest { - const message = createBaseListLogMetricsRequest(); - message.parent = object.parent ?? ""; - message.pageToken = object.pageToken ?? ""; - message.pageSize = object.pageSize ?? 0; - return message; - }, - fromSDK(object: ListLogMetricsRequestSDKType): ListLogMetricsRequest { - return { - parent: object?.parent, - pageToken: object?.page_token, - pageSize: object?.page_size - }; - }, - toSDK(message: ListLogMetricsRequest): ListLogMetricsRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAmino(object: ListLogMetricsRequestAmino): ListLogMetricsRequest { - return { - parent: object.parent, - pageToken: object.page_token, - pageSize: object.page_size - }; - }, - toAmino(message: ListLogMetricsRequest): ListLogMetricsRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.page_token = message.pageToken; - obj.page_size = message.pageSize; - return obj; - }, - fromAminoMsg(object: ListLogMetricsRequestAminoMsg): ListLogMetricsRequest { - return ListLogMetricsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListLogMetricsRequestProtoMsg): ListLogMetricsRequest { - return ListLogMetricsRequest.decode(message.value); - }, - toProto(message: ListLogMetricsRequest): Uint8Array { - return ListLogMetricsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListLogMetricsRequest): ListLogMetricsRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.ListLogMetricsRequest", - value: ListLogMetricsRequest.encode(message).finish() - }; - } -}; -function createBaseListLogMetricsResponse(): ListLogMetricsResponse { - return { - metrics: [], - nextPageToken: "" - }; -} -export const ListLogMetricsResponse = { - typeUrl: "/google.logging.v2.ListLogMetricsResponse", - encode(message: ListLogMetricsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.metrics) { - LogMetric.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListLogMetricsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListLogMetricsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.metrics.push(LogMetric.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListLogMetricsResponse { - const obj = createBaseListLogMetricsResponse(); - if (Array.isArray(object?.metrics)) obj.metrics = object.metrics.map((e: any) => LogMetric.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListLogMetricsResponse): unknown { - const obj: any = {}; - if (message.metrics) { - obj.metrics = message.metrics.map(e => e ? LogMetric.toJSON(e) : undefined); - } else { - obj.metrics = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListLogMetricsResponse { - const message = createBaseListLogMetricsResponse(); - message.metrics = object.metrics?.map(e => LogMetric.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListLogMetricsResponseSDKType): ListLogMetricsResponse { - return { - metrics: Array.isArray(object?.metrics) ? object.metrics.map((e: any) => LogMetric.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListLogMetricsResponse): ListLogMetricsResponseSDKType { - const obj: any = {}; - if (message.metrics) { - obj.metrics = message.metrics.map(e => e ? LogMetric.toSDK(e) : undefined); - } else { - obj.metrics = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListLogMetricsResponseAmino): ListLogMetricsResponse { - return { - metrics: Array.isArray(object?.metrics) ? object.metrics.map((e: any) => LogMetric.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListLogMetricsResponse): ListLogMetricsResponseAmino { - const obj: any = {}; - if (message.metrics) { - obj.metrics = message.metrics.map(e => e ? LogMetric.toAmino(e) : undefined); - } else { - obj.metrics = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListLogMetricsResponseAminoMsg): ListLogMetricsResponse { - return ListLogMetricsResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListLogMetricsResponseProtoMsg): ListLogMetricsResponse { - return ListLogMetricsResponse.decode(message.value); - }, - toProto(message: ListLogMetricsResponse): Uint8Array { - return ListLogMetricsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListLogMetricsResponse): ListLogMetricsResponseProtoMsg { - return { - typeUrl: "/google.logging.v2.ListLogMetricsResponse", - value: ListLogMetricsResponse.encode(message).finish() - }; - } -}; -function createBaseGetLogMetricRequest(): GetLogMetricRequest { - return { - metricName: "" - }; -} -export const GetLogMetricRequest = { - typeUrl: "/google.logging.v2.GetLogMetricRequest", - encode(message: GetLogMetricRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.metricName !== "") { - writer.uint32(10).string(message.metricName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetLogMetricRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetLogMetricRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.metricName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetLogMetricRequest { - const obj = createBaseGetLogMetricRequest(); - if (isSet(object.metricName)) obj.metricName = String(object.metricName); - return obj; - }, - toJSON(message: GetLogMetricRequest): unknown { - const obj: any = {}; - message.metricName !== undefined && (obj.metricName = message.metricName); - return obj; - }, - fromPartial(object: DeepPartial): GetLogMetricRequest { - const message = createBaseGetLogMetricRequest(); - message.metricName = object.metricName ?? ""; - return message; - }, - fromSDK(object: GetLogMetricRequestSDKType): GetLogMetricRequest { - return { - metricName: object?.metric_name - }; - }, - toSDK(message: GetLogMetricRequest): GetLogMetricRequestSDKType { - const obj: any = {}; - obj.metric_name = message.metricName; - return obj; - }, - fromAmino(object: GetLogMetricRequestAmino): GetLogMetricRequest { - return { - metricName: object.metric_name - }; - }, - toAmino(message: GetLogMetricRequest): GetLogMetricRequestAmino { - const obj: any = {}; - obj.metric_name = message.metricName; - return obj; - }, - fromAminoMsg(object: GetLogMetricRequestAminoMsg): GetLogMetricRequest { - return GetLogMetricRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetLogMetricRequestProtoMsg): GetLogMetricRequest { - return GetLogMetricRequest.decode(message.value); - }, - toProto(message: GetLogMetricRequest): Uint8Array { - return GetLogMetricRequest.encode(message).finish(); - }, - toProtoMsg(message: GetLogMetricRequest): GetLogMetricRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.GetLogMetricRequest", - value: GetLogMetricRequest.encode(message).finish() - }; - } -}; -function createBaseCreateLogMetricRequest(): CreateLogMetricRequest { - return { - parent: "", - metric: LogMetric.fromPartial({}) - }; -} -export const CreateLogMetricRequest = { - typeUrl: "/google.logging.v2.CreateLogMetricRequest", - encode(message: CreateLogMetricRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.parent !== "") { - writer.uint32(10).string(message.parent); - } - if (message.metric !== undefined) { - LogMetric.encode(message.metric, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CreateLogMetricRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCreateLogMetricRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.parent = reader.string(); - break; - case 2: - message.metric = LogMetric.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CreateLogMetricRequest { - const obj = createBaseCreateLogMetricRequest(); - if (isSet(object.parent)) obj.parent = String(object.parent); - if (isSet(object.metric)) obj.metric = LogMetric.fromJSON(object.metric); - return obj; - }, - toJSON(message: CreateLogMetricRequest): unknown { - const obj: any = {}; - message.parent !== undefined && (obj.parent = message.parent); - message.metric !== undefined && (obj.metric = message.metric ? LogMetric.toJSON(message.metric) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CreateLogMetricRequest { - const message = createBaseCreateLogMetricRequest(); - message.parent = object.parent ?? ""; - if (object.metric !== undefined && object.metric !== null) { - message.metric = LogMetric.fromPartial(object.metric); - } - return message; - }, - fromSDK(object: CreateLogMetricRequestSDKType): CreateLogMetricRequest { - return { - parent: object?.parent, - metric: object.metric ? LogMetric.fromSDK(object.metric) : undefined - }; - }, - toSDK(message: CreateLogMetricRequest): CreateLogMetricRequestSDKType { - const obj: any = {}; - obj.parent = message.parent; - message.metric !== undefined && (obj.metric = message.metric ? LogMetric.toSDK(message.metric) : undefined); - return obj; - }, - fromAmino(object: CreateLogMetricRequestAmino): CreateLogMetricRequest { - return { - parent: object.parent, - metric: object?.metric ? LogMetric.fromAmino(object.metric) : undefined - }; - }, - toAmino(message: CreateLogMetricRequest): CreateLogMetricRequestAmino { - const obj: any = {}; - obj.parent = message.parent; - obj.metric = message.metric ? LogMetric.toAmino(message.metric) : undefined; - return obj; - }, - fromAminoMsg(object: CreateLogMetricRequestAminoMsg): CreateLogMetricRequest { - return CreateLogMetricRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CreateLogMetricRequestProtoMsg): CreateLogMetricRequest { - return CreateLogMetricRequest.decode(message.value); - }, - toProto(message: CreateLogMetricRequest): Uint8Array { - return CreateLogMetricRequest.encode(message).finish(); - }, - toProtoMsg(message: CreateLogMetricRequest): CreateLogMetricRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.CreateLogMetricRequest", - value: CreateLogMetricRequest.encode(message).finish() - }; - } -}; -function createBaseUpdateLogMetricRequest(): UpdateLogMetricRequest { - return { - metricName: "", - metric: LogMetric.fromPartial({}) - }; -} -export const UpdateLogMetricRequest = { - typeUrl: "/google.logging.v2.UpdateLogMetricRequest", - encode(message: UpdateLogMetricRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.metricName !== "") { - writer.uint32(10).string(message.metricName); - } - if (message.metric !== undefined) { - LogMetric.encode(message.metric, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateLogMetricRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateLogMetricRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.metricName = reader.string(); - break; - case 2: - message.metric = LogMetric.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UpdateLogMetricRequest { - const obj = createBaseUpdateLogMetricRequest(); - if (isSet(object.metricName)) obj.metricName = String(object.metricName); - if (isSet(object.metric)) obj.metric = LogMetric.fromJSON(object.metric); - return obj; - }, - toJSON(message: UpdateLogMetricRequest): unknown { - const obj: any = {}; - message.metricName !== undefined && (obj.metricName = message.metricName); - message.metric !== undefined && (obj.metric = message.metric ? LogMetric.toJSON(message.metric) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): UpdateLogMetricRequest { - const message = createBaseUpdateLogMetricRequest(); - message.metricName = object.metricName ?? ""; - if (object.metric !== undefined && object.metric !== null) { - message.metric = LogMetric.fromPartial(object.metric); - } - return message; - }, - fromSDK(object: UpdateLogMetricRequestSDKType): UpdateLogMetricRequest { - return { - metricName: object?.metric_name, - metric: object.metric ? LogMetric.fromSDK(object.metric) : undefined - }; - }, - toSDK(message: UpdateLogMetricRequest): UpdateLogMetricRequestSDKType { - const obj: any = {}; - obj.metric_name = message.metricName; - message.metric !== undefined && (obj.metric = message.metric ? LogMetric.toSDK(message.metric) : undefined); - return obj; - }, - fromAmino(object: UpdateLogMetricRequestAmino): UpdateLogMetricRequest { - return { - metricName: object.metric_name, - metric: object?.metric ? LogMetric.fromAmino(object.metric) : undefined - }; - }, - toAmino(message: UpdateLogMetricRequest): UpdateLogMetricRequestAmino { - const obj: any = {}; - obj.metric_name = message.metricName; - obj.metric = message.metric ? LogMetric.toAmino(message.metric) : undefined; - return obj; - }, - fromAminoMsg(object: UpdateLogMetricRequestAminoMsg): UpdateLogMetricRequest { - return UpdateLogMetricRequest.fromAmino(object.value); - }, - fromProtoMsg(message: UpdateLogMetricRequestProtoMsg): UpdateLogMetricRequest { - return UpdateLogMetricRequest.decode(message.value); - }, - toProto(message: UpdateLogMetricRequest): Uint8Array { - return UpdateLogMetricRequest.encode(message).finish(); - }, - toProtoMsg(message: UpdateLogMetricRequest): UpdateLogMetricRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.UpdateLogMetricRequest", - value: UpdateLogMetricRequest.encode(message).finish() - }; - } -}; -function createBaseDeleteLogMetricRequest(): DeleteLogMetricRequest { - return { - metricName: "" - }; -} -export const DeleteLogMetricRequest = { - typeUrl: "/google.logging.v2.DeleteLogMetricRequest", - encode(message: DeleteLogMetricRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.metricName !== "") { - writer.uint32(10).string(message.metricName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeleteLogMetricRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteLogMetricRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.metricName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DeleteLogMetricRequest { - const obj = createBaseDeleteLogMetricRequest(); - if (isSet(object.metricName)) obj.metricName = String(object.metricName); - return obj; - }, - toJSON(message: DeleteLogMetricRequest): unknown { - const obj: any = {}; - message.metricName !== undefined && (obj.metricName = message.metricName); - return obj; - }, - fromPartial(object: DeepPartial): DeleteLogMetricRequest { - const message = createBaseDeleteLogMetricRequest(); - message.metricName = object.metricName ?? ""; - return message; - }, - fromSDK(object: DeleteLogMetricRequestSDKType): DeleteLogMetricRequest { - return { - metricName: object?.metric_name - }; - }, - toSDK(message: DeleteLogMetricRequest): DeleteLogMetricRequestSDKType { - const obj: any = {}; - obj.metric_name = message.metricName; - return obj; - }, - fromAmino(object: DeleteLogMetricRequestAmino): DeleteLogMetricRequest { - return { - metricName: object.metric_name - }; - }, - toAmino(message: DeleteLogMetricRequest): DeleteLogMetricRequestAmino { - const obj: any = {}; - obj.metric_name = message.metricName; - return obj; - }, - fromAminoMsg(object: DeleteLogMetricRequestAminoMsg): DeleteLogMetricRequest { - return DeleteLogMetricRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DeleteLogMetricRequestProtoMsg): DeleteLogMetricRequest { - return DeleteLogMetricRequest.decode(message.value); - }, - toProto(message: DeleteLogMetricRequest): Uint8Array { - return DeleteLogMetricRequest.encode(message).finish(); - }, - toProtoMsg(message: DeleteLogMetricRequest): DeleteLogMetricRequestProtoMsg { - return { - typeUrl: "/google.logging.v2.DeleteLogMetricRequest", - value: DeleteLogMetricRequest.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/longrunning/operations.ts b/quicksilverjs/src/codegen/google/longrunning/operations.ts deleted file mode 100644 index 9c71cae51..000000000 --- a/quicksilverjs/src/codegen/google/longrunning/operations.ts +++ /dev/null @@ -1,1171 +0,0 @@ -import { Duration, DurationAmino, DurationSDKType } from "../protobuf/duration"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "../protobuf/any"; -import { Status, StatusAmino, StatusSDKType } from "../rpc/status"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.longrunning"; -/** - * This resource represents a long-running operation that is the result of a - * network API call. - */ -export interface Operation { - /** - * The server-assigned name, which is only unique within the same service that - * originally returns it. If you use the default HTTP mapping, the - * `name` should be a resource name ending with `operations/{unique_id}`. - */ - name: string; - /** - * Service-specific metadata associated with the operation. It typically - * contains progress information and common metadata such as create time. - * Some services might not provide such metadata. Any method that returns a - * long-running operation should document the metadata type, if any. - */ - metadata: Any; - /** - * If the value is `false`, it means the operation is still in progress. - * If `true`, the operation is completed, and either `error` or `response` is - * available. - */ - done: boolean; - /** The error result of the operation in case of failure or cancellation. */ - error?: Status; - /** - * The normal response of the operation in case of success. If the original - * method returns no data on success, such as `Delete`, the response is - * `google.protobuf.Empty`. If the original method is standard - * `Get`/`Create`/`Update`, the response should be the resource. For other - * methods, the response should have the type `XxxResponse`, where `Xxx` - * is the original method name. For example, if the original method name - * is `TakeSnapshot()`, the inferred response type is - * `TakeSnapshotResponse`. - */ - response?: Any; -} -export interface OperationProtoMsg { - typeUrl: "/google.longrunning.Operation"; - value: Uint8Array; -} -/** - * This resource represents a long-running operation that is the result of a - * network API call. - */ -export interface OperationAmino { - /** - * The server-assigned name, which is only unique within the same service that - * originally returns it. If you use the default HTTP mapping, the - * `name` should be a resource name ending with `operations/{unique_id}`. - */ - name: string; - /** - * Service-specific metadata associated with the operation. It typically - * contains progress information and common metadata such as create time. - * Some services might not provide such metadata. Any method that returns a - * long-running operation should document the metadata type, if any. - */ - metadata?: AnyAmino; - /** - * If the value is `false`, it means the operation is still in progress. - * If `true`, the operation is completed, and either `error` or `response` is - * available. - */ - done: boolean; - /** The error result of the operation in case of failure or cancellation. */ - error?: StatusAmino; - /** - * The normal response of the operation in case of success. If the original - * method returns no data on success, such as `Delete`, the response is - * `google.protobuf.Empty`. If the original method is standard - * `Get`/`Create`/`Update`, the response should be the resource. For other - * methods, the response should have the type `XxxResponse`, where `Xxx` - * is the original method name. For example, if the original method name - * is `TakeSnapshot()`, the inferred response type is - * `TakeSnapshotResponse`. - */ - response?: AnyAmino; -} -export interface OperationAminoMsg { - type: "/google.longrunning.Operation"; - value: OperationAmino; -} -/** - * This resource represents a long-running operation that is the result of a - * network API call. - */ -export interface OperationSDKType { - name: string; - metadata: AnySDKType; - done: boolean; - error?: StatusSDKType; - response?: AnySDKType; -} -/** The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation]. */ -export interface GetOperationRequest { - /** The name of the operation resource. */ - name: string; -} -export interface GetOperationRequestProtoMsg { - typeUrl: "/google.longrunning.GetOperationRequest"; - value: Uint8Array; -} -/** The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation]. */ -export interface GetOperationRequestAmino { - /** The name of the operation resource. */ - name: string; -} -export interface GetOperationRequestAminoMsg { - type: "/google.longrunning.GetOperationRequest"; - value: GetOperationRequestAmino; -} -/** The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation]. */ -export interface GetOperationRequestSDKType { - name: string; -} -/** The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. */ -export interface ListOperationsRequest { - /** The name of the operation's parent resource. */ - name: string; - /** The standard list filter. */ - filter: string; - /** The standard list page size. */ - pageSize: number; - /** The standard list page token. */ - pageToken: string; -} -export interface ListOperationsRequestProtoMsg { - typeUrl: "/google.longrunning.ListOperationsRequest"; - value: Uint8Array; -} -/** The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. */ -export interface ListOperationsRequestAmino { - /** The name of the operation's parent resource. */ - name: string; - /** The standard list filter. */ - filter: string; - /** The standard list page size. */ - page_size: number; - /** The standard list page token. */ - page_token: string; -} -export interface ListOperationsRequestAminoMsg { - type: "/google.longrunning.ListOperationsRequest"; - value: ListOperationsRequestAmino; -} -/** The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. */ -export interface ListOperationsRequestSDKType { - name: string; - filter: string; - page_size: number; - page_token: string; -} -/** The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. */ -export interface ListOperationsResponse { - /** A list of operations that matches the specified filter in the request. */ - operations: Operation[]; - /** The standard List next-page token. */ - nextPageToken: string; -} -export interface ListOperationsResponseProtoMsg { - typeUrl: "/google.longrunning.ListOperationsResponse"; - value: Uint8Array; -} -/** The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. */ -export interface ListOperationsResponseAmino { - /** A list of operations that matches the specified filter in the request. */ - operations: OperationAmino[]; - /** The standard List next-page token. */ - next_page_token: string; -} -export interface ListOperationsResponseAminoMsg { - type: "/google.longrunning.ListOperationsResponse"; - value: ListOperationsResponseAmino; -} -/** The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations]. */ -export interface ListOperationsResponseSDKType { - operations: OperationSDKType[]; - next_page_token: string; -} -/** The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]. */ -export interface CancelOperationRequest { - /** The name of the operation resource to be cancelled. */ - name: string; -} -export interface CancelOperationRequestProtoMsg { - typeUrl: "/google.longrunning.CancelOperationRequest"; - value: Uint8Array; -} -/** The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]. */ -export interface CancelOperationRequestAmino { - /** The name of the operation resource to be cancelled. */ - name: string; -} -export interface CancelOperationRequestAminoMsg { - type: "/google.longrunning.CancelOperationRequest"; - value: CancelOperationRequestAmino; -} -/** The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation]. */ -export interface CancelOperationRequestSDKType { - name: string; -} -/** The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation]. */ -export interface DeleteOperationRequest { - /** The name of the operation resource to be deleted. */ - name: string; -} -export interface DeleteOperationRequestProtoMsg { - typeUrl: "/google.longrunning.DeleteOperationRequest"; - value: Uint8Array; -} -/** The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation]. */ -export interface DeleteOperationRequestAmino { - /** The name of the operation resource to be deleted. */ - name: string; -} -export interface DeleteOperationRequestAminoMsg { - type: "/google.longrunning.DeleteOperationRequest"; - value: DeleteOperationRequestAmino; -} -/** The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation]. */ -export interface DeleteOperationRequestSDKType { - name: string; -} -/** The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation]. */ -export interface WaitOperationRequest { - /** The name of the operation resource to wait on. */ - name: string; - /** - * The maximum duration to wait before timing out. If left blank, the wait - * will be at most the time permitted by the underlying HTTP/RPC protocol. - * If RPC context deadline is also specified, the shorter one will be used. - */ - timeout: Duration; -} -export interface WaitOperationRequestProtoMsg { - typeUrl: "/google.longrunning.WaitOperationRequest"; - value: Uint8Array; -} -/** The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation]. */ -export interface WaitOperationRequestAmino { - /** The name of the operation resource to wait on. */ - name: string; - /** - * The maximum duration to wait before timing out. If left blank, the wait - * will be at most the time permitted by the underlying HTTP/RPC protocol. - * If RPC context deadline is also specified, the shorter one will be used. - */ - timeout?: DurationAmino; -} -export interface WaitOperationRequestAminoMsg { - type: "/google.longrunning.WaitOperationRequest"; - value: WaitOperationRequestAmino; -} -/** The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation]. */ -export interface WaitOperationRequestSDKType { - name: string; - timeout: DurationSDKType; -} -/** - * A message representing the message types used by a long-running operation. - * - * Example: - * - * rpc LongRunningRecognize(LongRunningRecognizeRequest) - * returns (google.longrunning.Operation) { - * option (google.longrunning.operation_info) = { - * response_type: "LongRunningRecognizeResponse" - * metadata_type: "LongRunningRecognizeMetadata" - * }; - * } - */ -export interface OperationInfo { - /** - * Required. The message name of the primary return type for this - * long-running operation. - * This type will be used to deserialize the LRO's response. - * - * If the response is in a different package from the rpc, a fully-qualified - * message name must be used (e.g. `google.protobuf.Struct`). - * - * Note: Altering this value constitutes a breaking change. - */ - responseType: string; - /** - * Required. The message name of the metadata type for this long-running - * operation. - * - * If the response is in a different package from the rpc, a fully-qualified - * message name must be used (e.g. `google.protobuf.Struct`). - * - * Note: Altering this value constitutes a breaking change. - */ - metadataType: string; -} -export interface OperationInfoProtoMsg { - typeUrl: "/google.longrunning.OperationInfo"; - value: Uint8Array; -} -/** - * A message representing the message types used by a long-running operation. - * - * Example: - * - * rpc LongRunningRecognize(LongRunningRecognizeRequest) - * returns (google.longrunning.Operation) { - * option (google.longrunning.operation_info) = { - * response_type: "LongRunningRecognizeResponse" - * metadata_type: "LongRunningRecognizeMetadata" - * }; - * } - */ -export interface OperationInfoAmino { - /** - * Required. The message name of the primary return type for this - * long-running operation. - * This type will be used to deserialize the LRO's response. - * - * If the response is in a different package from the rpc, a fully-qualified - * message name must be used (e.g. `google.protobuf.Struct`). - * - * Note: Altering this value constitutes a breaking change. - */ - response_type: string; - /** - * Required. The message name of the metadata type for this long-running - * operation. - * - * If the response is in a different package from the rpc, a fully-qualified - * message name must be used (e.g. `google.protobuf.Struct`). - * - * Note: Altering this value constitutes a breaking change. - */ - metadata_type: string; -} -export interface OperationInfoAminoMsg { - type: "/google.longrunning.OperationInfo"; - value: OperationInfoAmino; -} -/** - * A message representing the message types used by a long-running operation. - * - * Example: - * - * rpc LongRunningRecognize(LongRunningRecognizeRequest) - * returns (google.longrunning.Operation) { - * option (google.longrunning.operation_info) = { - * response_type: "LongRunningRecognizeResponse" - * metadata_type: "LongRunningRecognizeMetadata" - * }; - * } - */ -export interface OperationInfoSDKType { - response_type: string; - metadata_type: string; -} -function createBaseOperation(): Operation { - return { - name: "", - metadata: Any.fromPartial({}), - done: false, - error: undefined, - response: undefined - }; -} -export const Operation = { - typeUrl: "/google.longrunning.Operation", - encode(message: Operation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.metadata !== undefined) { - Any.encode(message.metadata, writer.uint32(18).fork()).ldelim(); - } - if (message.done === true) { - writer.uint32(24).bool(message.done); - } - if (message.error !== undefined) { - Status.encode(message.error, writer.uint32(34).fork()).ldelim(); - } - if (message.response !== undefined) { - Any.encode(message.response, writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Operation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOperation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.metadata = Any.decode(reader, reader.uint32()); - break; - case 3: - message.done = reader.bool(); - break; - case 4: - message.error = Status.decode(reader, reader.uint32()); - break; - case 5: - message.response = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Operation { - const obj = createBaseOperation(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.metadata)) obj.metadata = Any.fromJSON(object.metadata); - if (isSet(object.done)) obj.done = Boolean(object.done); - if (isSet(object.error)) obj.error = Status.fromJSON(object.error); - if (isSet(object.response)) obj.response = Any.fromJSON(object.response); - return obj; - }, - toJSON(message: Operation): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.metadata !== undefined && (obj.metadata = message.metadata ? Any.toJSON(message.metadata) : undefined); - message.done !== undefined && (obj.done = message.done); - message.error !== undefined && (obj.error = message.error ? Status.toJSON(message.error) : undefined); - message.response !== undefined && (obj.response = message.response ? Any.toJSON(message.response) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Operation { - const message = createBaseOperation(); - message.name = object.name ?? ""; - if (object.metadata !== undefined && object.metadata !== null) { - message.metadata = Any.fromPartial(object.metadata); - } - message.done = object.done ?? false; - if (object.error !== undefined && object.error !== null) { - message.error = Status.fromPartial(object.error); - } - if (object.response !== undefined && object.response !== null) { - message.response = Any.fromPartial(object.response); - } - return message; - }, - fromSDK(object: OperationSDKType): Operation { - return { - name: object?.name, - metadata: object.metadata ? Any.fromSDK(object.metadata) : undefined, - done: object?.done, - error: object.error ? Status.fromSDK(object.error) : undefined, - response: object.response ? Any.fromSDK(object.response) : undefined - }; - }, - toSDK(message: Operation): OperationSDKType { - const obj: any = {}; - obj.name = message.name; - message.metadata !== undefined && (obj.metadata = message.metadata ? Any.toSDK(message.metadata) : undefined); - obj.done = message.done; - message.error !== undefined && (obj.error = message.error ? Status.toSDK(message.error) : undefined); - message.response !== undefined && (obj.response = message.response ? Any.toSDK(message.response) : undefined); - return obj; - }, - fromAmino(object: OperationAmino): Operation { - return { - name: object.name, - metadata: object?.metadata ? Any.fromAmino(object.metadata) : undefined, - done: object.done, - error: object?.error ? Status.fromAmino(object.error) : undefined, - response: object?.response ? Any.fromAmino(object.response) : undefined - }; - }, - toAmino(message: Operation): OperationAmino { - const obj: any = {}; - obj.name = message.name; - obj.metadata = message.metadata ? Any.toAmino(message.metadata) : undefined; - obj.done = message.done; - obj.error = message.error ? Status.toAmino(message.error) : undefined; - obj.response = message.response ? Any.toAmino(message.response) : undefined; - return obj; - }, - fromAminoMsg(object: OperationAminoMsg): Operation { - return Operation.fromAmino(object.value); - }, - fromProtoMsg(message: OperationProtoMsg): Operation { - return Operation.decode(message.value); - }, - toProto(message: Operation): Uint8Array { - return Operation.encode(message).finish(); - }, - toProtoMsg(message: Operation): OperationProtoMsg { - return { - typeUrl: "/google.longrunning.Operation", - value: Operation.encode(message).finish() - }; - } -}; -function createBaseGetOperationRequest(): GetOperationRequest { - return { - name: "" - }; -} -export const GetOperationRequest = { - typeUrl: "/google.longrunning.GetOperationRequest", - encode(message: GetOperationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GetOperationRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGetOperationRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GetOperationRequest { - const obj = createBaseGetOperationRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: GetOperationRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): GetOperationRequest { - const message = createBaseGetOperationRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: GetOperationRequestSDKType): GetOperationRequest { - return { - name: object?.name - }; - }, - toSDK(message: GetOperationRequest): GetOperationRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: GetOperationRequestAmino): GetOperationRequest { - return { - name: object.name - }; - }, - toAmino(message: GetOperationRequest): GetOperationRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: GetOperationRequestAminoMsg): GetOperationRequest { - return GetOperationRequest.fromAmino(object.value); - }, - fromProtoMsg(message: GetOperationRequestProtoMsg): GetOperationRequest { - return GetOperationRequest.decode(message.value); - }, - toProto(message: GetOperationRequest): Uint8Array { - return GetOperationRequest.encode(message).finish(); - }, - toProtoMsg(message: GetOperationRequest): GetOperationRequestProtoMsg { - return { - typeUrl: "/google.longrunning.GetOperationRequest", - value: GetOperationRequest.encode(message).finish() - }; - } -}; -function createBaseListOperationsRequest(): ListOperationsRequest { - return { - name: "", - filter: "", - pageSize: 0, - pageToken: "" - }; -} -export const ListOperationsRequest = { - typeUrl: "/google.longrunning.ListOperationsRequest", - encode(message: ListOperationsRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(34).string(message.name); - } - if (message.filter !== "") { - writer.uint32(10).string(message.filter); - } - if (message.pageSize !== 0) { - writer.uint32(16).int32(message.pageSize); - } - if (message.pageToken !== "") { - writer.uint32(26).string(message.pageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListOperationsRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListOperationsRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 4: - message.name = reader.string(); - break; - case 1: - message.filter = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListOperationsRequest { - const obj = createBaseListOperationsRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.filter)) obj.filter = String(object.filter); - if (isSet(object.pageSize)) obj.pageSize = Number(object.pageSize); - if (isSet(object.pageToken)) obj.pageToken = String(object.pageToken); - return obj; - }, - toJSON(message: ListOperationsRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.filter !== undefined && (obj.filter = message.filter); - message.pageSize !== undefined && (obj.pageSize = Math.round(message.pageSize)); - message.pageToken !== undefined && (obj.pageToken = message.pageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListOperationsRequest { - const message = createBaseListOperationsRequest(); - message.name = object.name ?? ""; - message.filter = object.filter ?? ""; - message.pageSize = object.pageSize ?? 0; - message.pageToken = object.pageToken ?? ""; - return message; - }, - fromSDK(object: ListOperationsRequestSDKType): ListOperationsRequest { - return { - name: object?.name, - filter: object?.filter, - pageSize: object?.page_size, - pageToken: object?.page_token - }; - }, - toSDK(message: ListOperationsRequest): ListOperationsRequestSDKType { - const obj: any = {}; - obj.name = message.name; - obj.filter = message.filter; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - return obj; - }, - fromAmino(object: ListOperationsRequestAmino): ListOperationsRequest { - return { - name: object.name, - filter: object.filter, - pageSize: object.page_size, - pageToken: object.page_token - }; - }, - toAmino(message: ListOperationsRequest): ListOperationsRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.filter = message.filter; - obj.page_size = message.pageSize; - obj.page_token = message.pageToken; - return obj; - }, - fromAminoMsg(object: ListOperationsRequestAminoMsg): ListOperationsRequest { - return ListOperationsRequest.fromAmino(object.value); - }, - fromProtoMsg(message: ListOperationsRequestProtoMsg): ListOperationsRequest { - return ListOperationsRequest.decode(message.value); - }, - toProto(message: ListOperationsRequest): Uint8Array { - return ListOperationsRequest.encode(message).finish(); - }, - toProtoMsg(message: ListOperationsRequest): ListOperationsRequestProtoMsg { - return { - typeUrl: "/google.longrunning.ListOperationsRequest", - value: ListOperationsRequest.encode(message).finish() - }; - } -}; -function createBaseListOperationsResponse(): ListOperationsResponse { - return { - operations: [], - nextPageToken: "" - }; -} -export const ListOperationsResponse = { - typeUrl: "/google.longrunning.ListOperationsResponse", - encode(message: ListOperationsResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.operations) { - Operation.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.nextPageToken !== "") { - writer.uint32(18).string(message.nextPageToken); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListOperationsResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListOperationsResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.operations.push(Operation.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListOperationsResponse { - const obj = createBaseListOperationsResponse(); - if (Array.isArray(object?.operations)) obj.operations = object.operations.map((e: any) => Operation.fromJSON(e)); - if (isSet(object.nextPageToken)) obj.nextPageToken = String(object.nextPageToken); - return obj; - }, - toJSON(message: ListOperationsResponse): unknown { - const obj: any = {}; - if (message.operations) { - obj.operations = message.operations.map(e => e ? Operation.toJSON(e) : undefined); - } else { - obj.operations = []; - } - message.nextPageToken !== undefined && (obj.nextPageToken = message.nextPageToken); - return obj; - }, - fromPartial(object: DeepPartial): ListOperationsResponse { - const message = createBaseListOperationsResponse(); - message.operations = object.operations?.map(e => Operation.fromPartial(e)) || []; - message.nextPageToken = object.nextPageToken ?? ""; - return message; - }, - fromSDK(object: ListOperationsResponseSDKType): ListOperationsResponse { - return { - operations: Array.isArray(object?.operations) ? object.operations.map((e: any) => Operation.fromSDK(e)) : [], - nextPageToken: object?.next_page_token - }; - }, - toSDK(message: ListOperationsResponse): ListOperationsResponseSDKType { - const obj: any = {}; - if (message.operations) { - obj.operations = message.operations.map(e => e ? Operation.toSDK(e) : undefined); - } else { - obj.operations = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAmino(object: ListOperationsResponseAmino): ListOperationsResponse { - return { - operations: Array.isArray(object?.operations) ? object.operations.map((e: any) => Operation.fromAmino(e)) : [], - nextPageToken: object.next_page_token - }; - }, - toAmino(message: ListOperationsResponse): ListOperationsResponseAmino { - const obj: any = {}; - if (message.operations) { - obj.operations = message.operations.map(e => e ? Operation.toAmino(e) : undefined); - } else { - obj.operations = []; - } - obj.next_page_token = message.nextPageToken; - return obj; - }, - fromAminoMsg(object: ListOperationsResponseAminoMsg): ListOperationsResponse { - return ListOperationsResponse.fromAmino(object.value); - }, - fromProtoMsg(message: ListOperationsResponseProtoMsg): ListOperationsResponse { - return ListOperationsResponse.decode(message.value); - }, - toProto(message: ListOperationsResponse): Uint8Array { - return ListOperationsResponse.encode(message).finish(); - }, - toProtoMsg(message: ListOperationsResponse): ListOperationsResponseProtoMsg { - return { - typeUrl: "/google.longrunning.ListOperationsResponse", - value: ListOperationsResponse.encode(message).finish() - }; - } -}; -function createBaseCancelOperationRequest(): CancelOperationRequest { - return { - name: "" - }; -} -export const CancelOperationRequest = { - typeUrl: "/google.longrunning.CancelOperationRequest", - encode(message: CancelOperationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CancelOperationRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCancelOperationRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CancelOperationRequest { - const obj = createBaseCancelOperationRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: CancelOperationRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): CancelOperationRequest { - const message = createBaseCancelOperationRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: CancelOperationRequestSDKType): CancelOperationRequest { - return { - name: object?.name - }; - }, - toSDK(message: CancelOperationRequest): CancelOperationRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: CancelOperationRequestAmino): CancelOperationRequest { - return { - name: object.name - }; - }, - toAmino(message: CancelOperationRequest): CancelOperationRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: CancelOperationRequestAminoMsg): CancelOperationRequest { - return CancelOperationRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CancelOperationRequestProtoMsg): CancelOperationRequest { - return CancelOperationRequest.decode(message.value); - }, - toProto(message: CancelOperationRequest): Uint8Array { - return CancelOperationRequest.encode(message).finish(); - }, - toProtoMsg(message: CancelOperationRequest): CancelOperationRequestProtoMsg { - return { - typeUrl: "/google.longrunning.CancelOperationRequest", - value: CancelOperationRequest.encode(message).finish() - }; - } -}; -function createBaseDeleteOperationRequest(): DeleteOperationRequest { - return { - name: "" - }; -} -export const DeleteOperationRequest = { - typeUrl: "/google.longrunning.DeleteOperationRequest", - encode(message: DeleteOperationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DeleteOperationRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteOperationRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DeleteOperationRequest { - const obj = createBaseDeleteOperationRequest(); - if (isSet(object.name)) obj.name = String(object.name); - return obj; - }, - toJSON(message: DeleteOperationRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - return obj; - }, - fromPartial(object: DeepPartial): DeleteOperationRequest { - const message = createBaseDeleteOperationRequest(); - message.name = object.name ?? ""; - return message; - }, - fromSDK(object: DeleteOperationRequestSDKType): DeleteOperationRequest { - return { - name: object?.name - }; - }, - toSDK(message: DeleteOperationRequest): DeleteOperationRequestSDKType { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAmino(object: DeleteOperationRequestAmino): DeleteOperationRequest { - return { - name: object.name - }; - }, - toAmino(message: DeleteOperationRequest): DeleteOperationRequestAmino { - const obj: any = {}; - obj.name = message.name; - return obj; - }, - fromAminoMsg(object: DeleteOperationRequestAminoMsg): DeleteOperationRequest { - return DeleteOperationRequest.fromAmino(object.value); - }, - fromProtoMsg(message: DeleteOperationRequestProtoMsg): DeleteOperationRequest { - return DeleteOperationRequest.decode(message.value); - }, - toProto(message: DeleteOperationRequest): Uint8Array { - return DeleteOperationRequest.encode(message).finish(); - }, - toProtoMsg(message: DeleteOperationRequest): DeleteOperationRequestProtoMsg { - return { - typeUrl: "/google.longrunning.DeleteOperationRequest", - value: DeleteOperationRequest.encode(message).finish() - }; - } -}; -function createBaseWaitOperationRequest(): WaitOperationRequest { - return { - name: "", - timeout: Duration.fromPartial({}) - }; -} -export const WaitOperationRequest = { - typeUrl: "/google.longrunning.WaitOperationRequest", - encode(message: WaitOperationRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.timeout !== undefined) { - Duration.encode(message.timeout, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): WaitOperationRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseWaitOperationRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.timeout = Duration.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): WaitOperationRequest { - const obj = createBaseWaitOperationRequest(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.timeout)) obj.timeout = Duration.fromJSON(object.timeout); - return obj; - }, - toJSON(message: WaitOperationRequest): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.timeout !== undefined && (obj.timeout = message.timeout ? Duration.toJSON(message.timeout) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): WaitOperationRequest { - const message = createBaseWaitOperationRequest(); - message.name = object.name ?? ""; - if (object.timeout !== undefined && object.timeout !== null) { - message.timeout = Duration.fromPartial(object.timeout); - } - return message; - }, - fromSDK(object: WaitOperationRequestSDKType): WaitOperationRequest { - return { - name: object?.name, - timeout: object.timeout ? Duration.fromSDK(object.timeout) : undefined - }; - }, - toSDK(message: WaitOperationRequest): WaitOperationRequestSDKType { - const obj: any = {}; - obj.name = message.name; - message.timeout !== undefined && (obj.timeout = message.timeout ? Duration.toSDK(message.timeout) : undefined); - return obj; - }, - fromAmino(object: WaitOperationRequestAmino): WaitOperationRequest { - return { - name: object.name, - timeout: object?.timeout ? Duration.fromAmino(object.timeout) : undefined - }; - }, - toAmino(message: WaitOperationRequest): WaitOperationRequestAmino { - const obj: any = {}; - obj.name = message.name; - obj.timeout = message.timeout ? Duration.toAmino(message.timeout) : undefined; - return obj; - }, - fromAminoMsg(object: WaitOperationRequestAminoMsg): WaitOperationRequest { - return WaitOperationRequest.fromAmino(object.value); - }, - fromProtoMsg(message: WaitOperationRequestProtoMsg): WaitOperationRequest { - return WaitOperationRequest.decode(message.value); - }, - toProto(message: WaitOperationRequest): Uint8Array { - return WaitOperationRequest.encode(message).finish(); - }, - toProtoMsg(message: WaitOperationRequest): WaitOperationRequestProtoMsg { - return { - typeUrl: "/google.longrunning.WaitOperationRequest", - value: WaitOperationRequest.encode(message).finish() - }; - } -}; -function createBaseOperationInfo(): OperationInfo { - return { - responseType: "", - metadataType: "" - }; -} -export const OperationInfo = { - typeUrl: "/google.longrunning.OperationInfo", - encode(message: OperationInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.responseType !== "") { - writer.uint32(10).string(message.responseType); - } - if (message.metadataType !== "") { - writer.uint32(18).string(message.metadataType); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): OperationInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOperationInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.responseType = reader.string(); - break; - case 2: - message.metadataType = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): OperationInfo { - const obj = createBaseOperationInfo(); - if (isSet(object.responseType)) obj.responseType = String(object.responseType); - if (isSet(object.metadataType)) obj.metadataType = String(object.metadataType); - return obj; - }, - toJSON(message: OperationInfo): unknown { - const obj: any = {}; - message.responseType !== undefined && (obj.responseType = message.responseType); - message.metadataType !== undefined && (obj.metadataType = message.metadataType); - return obj; - }, - fromPartial(object: DeepPartial): OperationInfo { - const message = createBaseOperationInfo(); - message.responseType = object.responseType ?? ""; - message.metadataType = object.metadataType ?? ""; - return message; - }, - fromSDK(object: OperationInfoSDKType): OperationInfo { - return { - responseType: object?.response_type, - metadataType: object?.metadata_type - }; - }, - toSDK(message: OperationInfo): OperationInfoSDKType { - const obj: any = {}; - obj.response_type = message.responseType; - obj.metadata_type = message.metadataType; - return obj; - }, - fromAmino(object: OperationInfoAmino): OperationInfo { - return { - responseType: object.response_type, - metadataType: object.metadata_type - }; - }, - toAmino(message: OperationInfo): OperationInfoAmino { - const obj: any = {}; - obj.response_type = message.responseType; - obj.metadata_type = message.metadataType; - return obj; - }, - fromAminoMsg(object: OperationInfoAminoMsg): OperationInfo { - return OperationInfo.fromAmino(object.value); - }, - fromProtoMsg(message: OperationInfoProtoMsg): OperationInfo { - return OperationInfo.decode(message.value); - }, - toProto(message: OperationInfo): Uint8Array { - return OperationInfo.encode(message).finish(); - }, - toProtoMsg(message: OperationInfo): OperationInfoProtoMsg { - return { - typeUrl: "/google.longrunning.OperationInfo", - value: OperationInfo.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/protobuf/any.ts b/quicksilverjs/src/codegen/google/protobuf/any.ts deleted file mode 100644 index a588ae669..000000000 --- a/quicksilverjs/src/codegen/google/protobuf/any.ts +++ /dev/null @@ -1,421 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, bytesFromBase64, base64FromBytes, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.protobuf"; -/** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * Protobuf library provides support to pack/unpack Any values in the form - * of utility functions or additional generated methods of the Any type. - * - * Example 1: Pack and unpack a message in C++. - * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } - * - * Example 2: Pack and unpack a message in Java. - * - * Foo foo = ...; - * Any any = Any.pack(foo); - * ... - * if (any.is(Foo.class)) { - * foo = any.unpack(Foo.class); - * } - * - * Example 3: Pack and unpack a message in Python. - * - * foo = Foo(...) - * any = Any() - * any.Pack(foo) - * ... - * if any.Is(Foo.DESCRIPTOR): - * any.Unpack(foo) - * ... - * - * Example 4: Pack and unpack a message in Go - * - * foo := &pb.Foo{...} - * any, err := ptypes.MarshalAny(foo) - * ... - * foo := &pb.Foo{} - * if err := ptypes.UnmarshalAny(any, foo); err != nil { - * ... - * } - * - * The pack methods provided by protobuf library will by default use - * 'type.googleapis.com/full.type.name' as the type URL and the unpack - * methods only use the fully qualified type name after the last '/' - * in the type URL, for example "foo.bar.com/x/y.z" will yield type - * name "y.z". - * - * - * JSON - * ==== - * The JSON representation of an `Any` value uses the regular - * representation of the deserialized, embedded message, with an - * additional field `@type` which contains the type URL. Example: - * - * package google.profile; - * message Person { - * string first_name = 1; - * string last_name = 2; - * } - * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } - * - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - */ -export interface Any { - /** - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. - * - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - */ - typeUrl: string; - /** Must be a valid serialized protocol buffer of the above specified type. */ - value: Uint8Array; -} -export interface AnyProtoMsg { - typeUrl: "/google.protobuf.Any"; - value: Uint8Array; -} -/** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * Protobuf library provides support to pack/unpack Any values in the form - * of utility functions or additional generated methods of the Any type. - * - * Example 1: Pack and unpack a message in C++. - * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } - * - * Example 2: Pack and unpack a message in Java. - * - * Foo foo = ...; - * Any any = Any.pack(foo); - * ... - * if (any.is(Foo.class)) { - * foo = any.unpack(Foo.class); - * } - * - * Example 3: Pack and unpack a message in Python. - * - * foo = Foo(...) - * any = Any() - * any.Pack(foo) - * ... - * if any.Is(Foo.DESCRIPTOR): - * any.Unpack(foo) - * ... - * - * Example 4: Pack and unpack a message in Go - * - * foo := &pb.Foo{...} - * any, err := ptypes.MarshalAny(foo) - * ... - * foo := &pb.Foo{} - * if err := ptypes.UnmarshalAny(any, foo); err != nil { - * ... - * } - * - * The pack methods provided by protobuf library will by default use - * 'type.googleapis.com/full.type.name' as the type URL and the unpack - * methods only use the fully qualified type name after the last '/' - * in the type URL, for example "foo.bar.com/x/y.z" will yield type - * name "y.z". - * - * - * JSON - * ==== - * The JSON representation of an `Any` value uses the regular - * representation of the deserialized, embedded message, with an - * additional field `@type` which contains the type URL. Example: - * - * package google.profile; - * message Person { - * string first_name = 1; - * string last_name = 2; - * } - * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } - * - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - */ -export interface AnyAmino { - /** - * A URL/resource name that uniquely identifies the type of the serialized - * protocol buffer message. This string must contain at least - * one "/" character. The last segment of the URL's path must represent - * the fully qualified name of the type (as in - * `path/google.protobuf.Duration`). The name should be in a canonical form - * (e.g., leading "." is not accepted). - * - * In practice, teams usually precompile into the binary all types that they - * expect it to use in the context of Any. However, for URLs which use the - * scheme `http`, `https`, or no scheme, one can optionally set up a type - * server that maps type URLs to message definitions as follows: - * - * * If no scheme is provided, `https` is assumed. - * * An HTTP GET on the URL must yield a [google.protobuf.Type][] - * value in binary format, or produce an error. - * * Applications are allowed to cache lookup results based on the - * URL, or have them precompiled into a binary to avoid any - * lookup. Therefore, binary compatibility needs to be preserved - * on changes to types. (Use versioned type names to manage - * breaking changes.) - * - * Note: this functionality is not currently available in the official - * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. - * - * Schemes other than `http`, `https` (or the empty scheme) might be - * used with implementation specific semantics. - */ - type: string; - /** Must be a valid serialized protocol buffer of the above specified type. */ - value: any; -} -export interface AnyAminoMsg { - type: string; - value: AnyAmino; -} -/** - * `Any` contains an arbitrary serialized protocol buffer message along with a - * URL that describes the type of the serialized message. - * - * Protobuf library provides support to pack/unpack Any values in the form - * of utility functions or additional generated methods of the Any type. - * - * Example 1: Pack and unpack a message in C++. - * - * Foo foo = ...; - * Any any; - * any.PackFrom(foo); - * ... - * if (any.UnpackTo(&foo)) { - * ... - * } - * - * Example 2: Pack and unpack a message in Java. - * - * Foo foo = ...; - * Any any = Any.pack(foo); - * ... - * if (any.is(Foo.class)) { - * foo = any.unpack(Foo.class); - * } - * - * Example 3: Pack and unpack a message in Python. - * - * foo = Foo(...) - * any = Any() - * any.Pack(foo) - * ... - * if any.Is(Foo.DESCRIPTOR): - * any.Unpack(foo) - * ... - * - * Example 4: Pack and unpack a message in Go - * - * foo := &pb.Foo{...} - * any, err := ptypes.MarshalAny(foo) - * ... - * foo := &pb.Foo{} - * if err := ptypes.UnmarshalAny(any, foo); err != nil { - * ... - * } - * - * The pack methods provided by protobuf library will by default use - * 'type.googleapis.com/full.type.name' as the type URL and the unpack - * methods only use the fully qualified type name after the last '/' - * in the type URL, for example "foo.bar.com/x/y.z" will yield type - * name "y.z". - * - * - * JSON - * ==== - * The JSON representation of an `Any` value uses the regular - * representation of the deserialized, embedded message, with an - * additional field `@type` which contains the type URL. Example: - * - * package google.profile; - * message Person { - * string first_name = 1; - * string last_name = 2; - * } - * - * { - * "@type": "type.googleapis.com/google.profile.Person", - * "firstName": , - * "lastName": - * } - * - * If the embedded message type is well-known and has a custom JSON - * representation, that representation will be embedded adding a field - * `value` which holds the custom JSON in addition to the `@type` - * field. Example (for message [google.protobuf.Duration][]): - * - * { - * "@type": "type.googleapis.com/google.protobuf.Duration", - * "value": "1.212s" - * } - */ -export interface AnySDKType { - type_url: string; - value: Uint8Array; -} -function createBaseAny(): Any { - return { - typeUrl: "", - value: new Uint8Array() - }; -} -export const Any = { - typeUrl: "/google.protobuf.Any", - encode(message: Any, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.typeUrl !== "") { - writer.uint32(10).string(message.typeUrl); - } - if (message.value.length !== 0) { - writer.uint32(18).bytes(message.value); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Any { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAny(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.typeUrl = reader.string(); - break; - case 2: - message.value = reader.bytes(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Any { - const obj = createBaseAny(); - if (isSet(object.typeUrl)) obj.typeUrl = String(object.typeUrl); - if (isSet(object.value)) obj.value = bytesFromBase64(object.value); - return obj; - }, - toJSON(message: Any): unknown { - const obj: any = {}; - message.typeUrl !== undefined && (obj.typeUrl = message.typeUrl); - message.value !== undefined && (obj.value = base64FromBytes(message.value !== undefined ? message.value : new Uint8Array())); - return obj; - }, - fromPartial(object: DeepPartial): Any { - const message = createBaseAny(); - message.typeUrl = object.typeUrl ?? ""; - message.value = object.value ?? new Uint8Array(); - return message; - }, - fromSDK(object: AnySDKType): Any { - return { - typeUrl: object?.type_url, - value: object?.value - }; - }, - toSDK(message: Any): AnySDKType { - const obj: any = {}; - obj.type_url = message.typeUrl; - obj.value = message.value; - return obj; - }, - fromAmino(object: AnyAmino): Any { - return { - typeUrl: object.type, - value: object.value - }; - }, - toAmino(message: Any): AnyAmino { - const obj: any = {}; - obj.type = message.typeUrl; - obj.value = message.value; - return obj; - }, - fromAminoMsg(object: AnyAminoMsg): Any { - return Any.fromAmino(object.value); - }, - fromProtoMsg(message: AnyProtoMsg): Any { - return Any.decode(message.value); - }, - toProto(message: Any): Uint8Array { - return Any.encode(message).finish(); - }, - toProtoMsg(message: Any): AnyProtoMsg { - return { - typeUrl: "/google.protobuf.Any", - value: Any.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/protobuf/api.ts b/quicksilverjs/src/codegen/google/protobuf/api.ts deleted file mode 100644 index aace80b71..000000000 --- a/quicksilverjs/src/codegen/google/protobuf/api.ts +++ /dev/null @@ -1,936 +0,0 @@ -import { Option, OptionAmino, OptionSDKType, Syntax, SyntaxSDKType, syntaxFromJSON, syntaxToJSON } from "./type"; -import { SourceContext, SourceContextAmino, SourceContextSDKType } from "./source_context"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.protobuf"; -/** - * Api is a light-weight descriptor for an API Interface. - * - * Interfaces are also described as "protocol buffer services" in some contexts, - * such as by the "service" keyword in a .proto file, but they are different - * from API Services, which represent a concrete implementation of an interface - * as opposed to simply a description of methods and bindings. They are also - * sometimes simply referred to as "APIs" in other contexts, such as the name of - * this message itself. See https://cloud.google.com/apis/design/glossary for - * detailed terminology. - */ -export interface Api { - /** - * The fully qualified name of this interface, including package name - * followed by the interface's simple name. - */ - name: string; - /** The methods of this interface, in unspecified order. */ - methods: Method[]; - /** Any metadata attached to the interface. */ - options: Option[]; - /** - * A version string for this interface. If specified, must have the form - * `major-version.minor-version`, as in `1.10`. If the minor version is - * omitted, it defaults to zero. If the entire version field is empty, the - * major version is derived from the package name, as outlined below. If the - * field is not empty, the version in the package name will be verified to be - * consistent with what is provided here. - * - * The versioning schema uses [semantic - * versioning](http://semver.org) where the major version number - * indicates a breaking change and the minor version an additive, - * non-breaking change. Both version numbers are signals to users - * what to expect from different versions, and should be carefully - * chosen based on the product plan. - * - * The major version is also reflected in the package name of the - * interface, which must end in `v`, as in - * `google.feature.v1`. For major versions 0 and 1, the suffix can - * be omitted. Zero major versions must only be used for - * experimental, non-GA interfaces. - */ - version: string; - /** - * Source context for the protocol buffer service represented by this - * message. - */ - sourceContext: SourceContext; - /** Included interfaces. See [Mixin][]. */ - mixins: Mixin[]; - /** The source syntax of the service. */ - syntax: Syntax; -} -export interface ApiProtoMsg { - typeUrl: "/google.protobuf.Api"; - value: Uint8Array; -} -/** - * Api is a light-weight descriptor for an API Interface. - * - * Interfaces are also described as "protocol buffer services" in some contexts, - * such as by the "service" keyword in a .proto file, but they are different - * from API Services, which represent a concrete implementation of an interface - * as opposed to simply a description of methods and bindings. They are also - * sometimes simply referred to as "APIs" in other contexts, such as the name of - * this message itself. See https://cloud.google.com/apis/design/glossary for - * detailed terminology. - */ -export interface ApiAmino { - /** - * The fully qualified name of this interface, including package name - * followed by the interface's simple name. - */ - name: string; - /** The methods of this interface, in unspecified order. */ - methods: MethodAmino[]; - /** Any metadata attached to the interface. */ - options: OptionAmino[]; - /** - * A version string for this interface. If specified, must have the form - * `major-version.minor-version`, as in `1.10`. If the minor version is - * omitted, it defaults to zero. If the entire version field is empty, the - * major version is derived from the package name, as outlined below. If the - * field is not empty, the version in the package name will be verified to be - * consistent with what is provided here. - * - * The versioning schema uses [semantic - * versioning](http://semver.org) where the major version number - * indicates a breaking change and the minor version an additive, - * non-breaking change. Both version numbers are signals to users - * what to expect from different versions, and should be carefully - * chosen based on the product plan. - * - * The major version is also reflected in the package name of the - * interface, which must end in `v`, as in - * `google.feature.v1`. For major versions 0 and 1, the suffix can - * be omitted. Zero major versions must only be used for - * experimental, non-GA interfaces. - */ - version: string; - /** - * Source context for the protocol buffer service represented by this - * message. - */ - source_context?: SourceContextAmino; - /** Included interfaces. See [Mixin][]. */ - mixins: MixinAmino[]; - /** The source syntax of the service. */ - syntax: Syntax; -} -export interface ApiAminoMsg { - type: "/google.protobuf.Api"; - value: ApiAmino; -} -/** - * Api is a light-weight descriptor for an API Interface. - * - * Interfaces are also described as "protocol buffer services" in some contexts, - * such as by the "service" keyword in a .proto file, but they are different - * from API Services, which represent a concrete implementation of an interface - * as opposed to simply a description of methods and bindings. They are also - * sometimes simply referred to as "APIs" in other contexts, such as the name of - * this message itself. See https://cloud.google.com/apis/design/glossary for - * detailed terminology. - */ -export interface ApiSDKType { - name: string; - methods: MethodSDKType[]; - options: OptionSDKType[]; - version: string; - source_context: SourceContextSDKType; - mixins: MixinSDKType[]; - syntax: Syntax; -} -/** Method represents a method of an API interface. */ -export interface Method { - /** The simple name of this method. */ - name: string; - /** A URL of the input message type. */ - requestTypeUrl: string; - /** If true, the request is streamed. */ - requestStreaming: boolean; - /** The URL of the output message type. */ - responseTypeUrl: string; - /** If true, the response is streamed. */ - responseStreaming: boolean; - /** Any metadata attached to the method. */ - options: Option[]; - /** The source syntax of this method. */ - syntax: Syntax; -} -export interface MethodProtoMsg { - typeUrl: "/google.protobuf.Method"; - value: Uint8Array; -} -/** Method represents a method of an API interface. */ -export interface MethodAmino { - /** The simple name of this method. */ - name: string; - /** A URL of the input message type. */ - request_type_url: string; - /** If true, the request is streamed. */ - request_streaming: boolean; - /** The URL of the output message type. */ - response_type_url: string; - /** If true, the response is streamed. */ - response_streaming: boolean; - /** Any metadata attached to the method. */ - options: OptionAmino[]; - /** The source syntax of this method. */ - syntax: Syntax; -} -export interface MethodAminoMsg { - type: "/google.protobuf.Method"; - value: MethodAmino; -} -/** Method represents a method of an API interface. */ -export interface MethodSDKType { - name: string; - request_type_url: string; - request_streaming: boolean; - response_type_url: string; - response_streaming: boolean; - options: OptionSDKType[]; - syntax: Syntax; -} -/** - * Declares an API Interface to be included in this interface. The including - * interface must redeclare all the methods from the included interface, but - * documentation and options are inherited as follows: - * - * - If after comment and whitespace stripping, the documentation - * string of the redeclared method is empty, it will be inherited - * from the original method. - * - * - Each annotation belonging to the service config (http, - * visibility) which is not set in the redeclared method will be - * inherited. - * - * - If an http annotation is inherited, the path pattern will be - * modified as follows. Any version prefix will be replaced by the - * version of the including interface plus the [root][] path if - * specified. - * - * Example of a simple mixin: - * - * package google.acl.v1; - * service AccessControl { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v1/{resource=**}:getAcl"; - * } - * } - * - * package google.storage.v2; - * service Storage { - * rpc GetAcl(GetAclRequest) returns (Acl); - * - * // Get a data record. - * rpc GetData(GetDataRequest) returns (Data) { - * option (google.api.http).get = "/v2/{resource=**}"; - * } - * } - * - * Example of a mixin configuration: - * - * apis: - * - name: google.storage.v2.Storage - * mixins: - * - name: google.acl.v1.AccessControl - * - * The mixin construct implies that all methods in `AccessControl` are - * also declared with same name and request/response types in - * `Storage`. A documentation generator or annotation processor will - * see the effective `Storage.GetAcl` method after inherting - * documentation and annotations as follows: - * - * service Storage { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v2/{resource=**}:getAcl"; - * } - * ... - * } - * - * Note how the version in the path pattern changed from `v1` to `v2`. - * - * If the `root` field in the mixin is specified, it should be a - * relative path under which inherited HTTP paths are placed. Example: - * - * apis: - * - name: google.storage.v2.Storage - * mixins: - * - name: google.acl.v1.AccessControl - * root: acls - * - * This implies the following inherited HTTP annotation: - * - * service Storage { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; - * } - * ... - * } - */ -export interface Mixin { - /** The fully qualified name of the interface which is included. */ - name: string; - /** - * If non-empty specifies a path under which inherited HTTP paths - * are rooted. - */ - root: string; -} -export interface MixinProtoMsg { - typeUrl: "/google.protobuf.Mixin"; - value: Uint8Array; -} -/** - * Declares an API Interface to be included in this interface. The including - * interface must redeclare all the methods from the included interface, but - * documentation and options are inherited as follows: - * - * - If after comment and whitespace stripping, the documentation - * string of the redeclared method is empty, it will be inherited - * from the original method. - * - * - Each annotation belonging to the service config (http, - * visibility) which is not set in the redeclared method will be - * inherited. - * - * - If an http annotation is inherited, the path pattern will be - * modified as follows. Any version prefix will be replaced by the - * version of the including interface plus the [root][] path if - * specified. - * - * Example of a simple mixin: - * - * package google.acl.v1; - * service AccessControl { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v1/{resource=**}:getAcl"; - * } - * } - * - * package google.storage.v2; - * service Storage { - * rpc GetAcl(GetAclRequest) returns (Acl); - * - * // Get a data record. - * rpc GetData(GetDataRequest) returns (Data) { - * option (google.api.http).get = "/v2/{resource=**}"; - * } - * } - * - * Example of a mixin configuration: - * - * apis: - * - name: google.storage.v2.Storage - * mixins: - * - name: google.acl.v1.AccessControl - * - * The mixin construct implies that all methods in `AccessControl` are - * also declared with same name and request/response types in - * `Storage`. A documentation generator or annotation processor will - * see the effective `Storage.GetAcl` method after inherting - * documentation and annotations as follows: - * - * service Storage { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v2/{resource=**}:getAcl"; - * } - * ... - * } - * - * Note how the version in the path pattern changed from `v1` to `v2`. - * - * If the `root` field in the mixin is specified, it should be a - * relative path under which inherited HTTP paths are placed. Example: - * - * apis: - * - name: google.storage.v2.Storage - * mixins: - * - name: google.acl.v1.AccessControl - * root: acls - * - * This implies the following inherited HTTP annotation: - * - * service Storage { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; - * } - * ... - * } - */ -export interface MixinAmino { - /** The fully qualified name of the interface which is included. */ - name: string; - /** - * If non-empty specifies a path under which inherited HTTP paths - * are rooted. - */ - root: string; -} -export interface MixinAminoMsg { - type: "/google.protobuf.Mixin"; - value: MixinAmino; -} -/** - * Declares an API Interface to be included in this interface. The including - * interface must redeclare all the methods from the included interface, but - * documentation and options are inherited as follows: - * - * - If after comment and whitespace stripping, the documentation - * string of the redeclared method is empty, it will be inherited - * from the original method. - * - * - Each annotation belonging to the service config (http, - * visibility) which is not set in the redeclared method will be - * inherited. - * - * - If an http annotation is inherited, the path pattern will be - * modified as follows. Any version prefix will be replaced by the - * version of the including interface plus the [root][] path if - * specified. - * - * Example of a simple mixin: - * - * package google.acl.v1; - * service AccessControl { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v1/{resource=**}:getAcl"; - * } - * } - * - * package google.storage.v2; - * service Storage { - * rpc GetAcl(GetAclRequest) returns (Acl); - * - * // Get a data record. - * rpc GetData(GetDataRequest) returns (Data) { - * option (google.api.http).get = "/v2/{resource=**}"; - * } - * } - * - * Example of a mixin configuration: - * - * apis: - * - name: google.storage.v2.Storage - * mixins: - * - name: google.acl.v1.AccessControl - * - * The mixin construct implies that all methods in `AccessControl` are - * also declared with same name and request/response types in - * `Storage`. A documentation generator or annotation processor will - * see the effective `Storage.GetAcl` method after inherting - * documentation and annotations as follows: - * - * service Storage { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v2/{resource=**}:getAcl"; - * } - * ... - * } - * - * Note how the version in the path pattern changed from `v1` to `v2`. - * - * If the `root` field in the mixin is specified, it should be a - * relative path under which inherited HTTP paths are placed. Example: - * - * apis: - * - name: google.storage.v2.Storage - * mixins: - * - name: google.acl.v1.AccessControl - * root: acls - * - * This implies the following inherited HTTP annotation: - * - * service Storage { - * // Get the underlying ACL object. - * rpc GetAcl(GetAclRequest) returns (Acl) { - * option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; - * } - * ... - * } - */ -export interface MixinSDKType { - name: string; - root: string; -} -function createBaseApi(): Api { - return { - name: "", - methods: [], - options: [], - version: "", - sourceContext: SourceContext.fromPartial({}), - mixins: [], - syntax: 0 - }; -} -export const Api = { - typeUrl: "/google.protobuf.Api", - encode(message: Api, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - for (const v of message.methods) { - Method.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.options) { - Option.encode(v!, writer.uint32(26).fork()).ldelim(); - } - if (message.version !== "") { - writer.uint32(34).string(message.version); - } - if (message.sourceContext !== undefined) { - SourceContext.encode(message.sourceContext, writer.uint32(42).fork()).ldelim(); - } - for (const v of message.mixins) { - Mixin.encode(v!, writer.uint32(50).fork()).ldelim(); - } - if (message.syntax !== 0) { - writer.uint32(56).int32(message.syntax); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Api { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseApi(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.methods.push(Method.decode(reader, reader.uint32())); - break; - case 3: - message.options.push(Option.decode(reader, reader.uint32())); - break; - case 4: - message.version = reader.string(); - break; - case 5: - message.sourceContext = SourceContext.decode(reader, reader.uint32()); - break; - case 6: - message.mixins.push(Mixin.decode(reader, reader.uint32())); - break; - case 7: - message.syntax = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Api { - const obj = createBaseApi(); - if (isSet(object.name)) obj.name = String(object.name); - if (Array.isArray(object?.methods)) obj.methods = object.methods.map((e: any) => Method.fromJSON(e)); - if (Array.isArray(object?.options)) obj.options = object.options.map((e: any) => Option.fromJSON(e)); - if (isSet(object.version)) obj.version = String(object.version); - if (isSet(object.sourceContext)) obj.sourceContext = SourceContext.fromJSON(object.sourceContext); - if (Array.isArray(object?.mixins)) obj.mixins = object.mixins.map((e: any) => Mixin.fromJSON(e)); - if (isSet(object.syntax)) obj.syntax = syntaxFromJSON(object.syntax); - return obj; - }, - toJSON(message: Api): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.methods) { - obj.methods = message.methods.map(e => e ? Method.toJSON(e) : undefined); - } else { - obj.methods = []; - } - if (message.options) { - obj.options = message.options.map(e => e ? Option.toJSON(e) : undefined); - } else { - obj.options = []; - } - message.version !== undefined && (obj.version = message.version); - message.sourceContext !== undefined && (obj.sourceContext = message.sourceContext ? SourceContext.toJSON(message.sourceContext) : undefined); - if (message.mixins) { - obj.mixins = message.mixins.map(e => e ? Mixin.toJSON(e) : undefined); - } else { - obj.mixins = []; - } - message.syntax !== undefined && (obj.syntax = syntaxToJSON(message.syntax)); - return obj; - }, - fromPartial(object: DeepPartial): Api { - const message = createBaseApi(); - message.name = object.name ?? ""; - message.methods = object.methods?.map(e => Method.fromPartial(e)) || []; - message.options = object.options?.map(e => Option.fromPartial(e)) || []; - message.version = object.version ?? ""; - if (object.sourceContext !== undefined && object.sourceContext !== null) { - message.sourceContext = SourceContext.fromPartial(object.sourceContext); - } - message.mixins = object.mixins?.map(e => Mixin.fromPartial(e)) || []; - message.syntax = object.syntax ?? 0; - return message; - }, - fromSDK(object: ApiSDKType): Api { - return { - name: object?.name, - methods: Array.isArray(object?.methods) ? object.methods.map((e: any) => Method.fromSDK(e)) : [], - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromSDK(e)) : [], - version: object?.version, - sourceContext: object.source_context ? SourceContext.fromSDK(object.source_context) : undefined, - mixins: Array.isArray(object?.mixins) ? object.mixins.map((e: any) => Mixin.fromSDK(e)) : [], - syntax: isSet(object.syntax) ? syntaxFromJSON(object.syntax) : -1 - }; - }, - toSDK(message: Api): ApiSDKType { - const obj: any = {}; - obj.name = message.name; - if (message.methods) { - obj.methods = message.methods.map(e => e ? Method.toSDK(e) : undefined); - } else { - obj.methods = []; - } - if (message.options) { - obj.options = message.options.map(e => e ? Option.toSDK(e) : undefined); - } else { - obj.options = []; - } - obj.version = message.version; - message.sourceContext !== undefined && (obj.source_context = message.sourceContext ? SourceContext.toSDK(message.sourceContext) : undefined); - if (message.mixins) { - obj.mixins = message.mixins.map(e => e ? Mixin.toSDK(e) : undefined); - } else { - obj.mixins = []; - } - message.syntax !== undefined && (obj.syntax = syntaxToJSON(message.syntax)); - return obj; - }, - fromAmino(object: ApiAmino): Api { - return { - name: object.name, - methods: Array.isArray(object?.methods) ? object.methods.map((e: any) => Method.fromAmino(e)) : [], - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromAmino(e)) : [], - version: object.version, - sourceContext: object?.source_context ? SourceContext.fromAmino(object.source_context) : undefined, - mixins: Array.isArray(object?.mixins) ? object.mixins.map((e: any) => Mixin.fromAmino(e)) : [], - syntax: isSet(object.syntax) ? syntaxFromJSON(object.syntax) : -1 - }; - }, - toAmino(message: Api): ApiAmino { - const obj: any = {}; - obj.name = message.name; - if (message.methods) { - obj.methods = message.methods.map(e => e ? Method.toAmino(e) : undefined); - } else { - obj.methods = []; - } - if (message.options) { - obj.options = message.options.map(e => e ? Option.toAmino(e) : undefined); - } else { - obj.options = []; - } - obj.version = message.version; - obj.source_context = message.sourceContext ? SourceContext.toAmino(message.sourceContext) : undefined; - if (message.mixins) { - obj.mixins = message.mixins.map(e => e ? Mixin.toAmino(e) : undefined); - } else { - obj.mixins = []; - } - obj.syntax = message.syntax; - return obj; - }, - fromAminoMsg(object: ApiAminoMsg): Api { - return Api.fromAmino(object.value); - }, - fromProtoMsg(message: ApiProtoMsg): Api { - return Api.decode(message.value); - }, - toProto(message: Api): Uint8Array { - return Api.encode(message).finish(); - }, - toProtoMsg(message: Api): ApiProtoMsg { - return { - typeUrl: "/google.protobuf.Api", - value: Api.encode(message).finish() - }; - } -}; -function createBaseMethod(): Method { - return { - name: "", - requestTypeUrl: "", - requestStreaming: false, - responseTypeUrl: "", - responseStreaming: false, - options: [], - syntax: 0 - }; -} -export const Method = { - typeUrl: "/google.protobuf.Method", - encode(message: Method, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.requestTypeUrl !== "") { - writer.uint32(18).string(message.requestTypeUrl); - } - if (message.requestStreaming === true) { - writer.uint32(24).bool(message.requestStreaming); - } - if (message.responseTypeUrl !== "") { - writer.uint32(34).string(message.responseTypeUrl); - } - if (message.responseStreaming === true) { - writer.uint32(40).bool(message.responseStreaming); - } - for (const v of message.options) { - Option.encode(v!, writer.uint32(50).fork()).ldelim(); - } - if (message.syntax !== 0) { - writer.uint32(56).int32(message.syntax); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Method { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMethod(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.requestTypeUrl = reader.string(); - break; - case 3: - message.requestStreaming = reader.bool(); - break; - case 4: - message.responseTypeUrl = reader.string(); - break; - case 5: - message.responseStreaming = reader.bool(); - break; - case 6: - message.options.push(Option.decode(reader, reader.uint32())); - break; - case 7: - message.syntax = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Method { - const obj = createBaseMethod(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.requestTypeUrl)) obj.requestTypeUrl = String(object.requestTypeUrl); - if (isSet(object.requestStreaming)) obj.requestStreaming = Boolean(object.requestStreaming); - if (isSet(object.responseTypeUrl)) obj.responseTypeUrl = String(object.responseTypeUrl); - if (isSet(object.responseStreaming)) obj.responseStreaming = Boolean(object.responseStreaming); - if (Array.isArray(object?.options)) obj.options = object.options.map((e: any) => Option.fromJSON(e)); - if (isSet(object.syntax)) obj.syntax = syntaxFromJSON(object.syntax); - return obj; - }, - toJSON(message: Method): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.requestTypeUrl !== undefined && (obj.requestTypeUrl = message.requestTypeUrl); - message.requestStreaming !== undefined && (obj.requestStreaming = message.requestStreaming); - message.responseTypeUrl !== undefined && (obj.responseTypeUrl = message.responseTypeUrl); - message.responseStreaming !== undefined && (obj.responseStreaming = message.responseStreaming); - if (message.options) { - obj.options = message.options.map(e => e ? Option.toJSON(e) : undefined); - } else { - obj.options = []; - } - message.syntax !== undefined && (obj.syntax = syntaxToJSON(message.syntax)); - return obj; - }, - fromPartial(object: DeepPartial): Method { - const message = createBaseMethod(); - message.name = object.name ?? ""; - message.requestTypeUrl = object.requestTypeUrl ?? ""; - message.requestStreaming = object.requestStreaming ?? false; - message.responseTypeUrl = object.responseTypeUrl ?? ""; - message.responseStreaming = object.responseStreaming ?? false; - message.options = object.options?.map(e => Option.fromPartial(e)) || []; - message.syntax = object.syntax ?? 0; - return message; - }, - fromSDK(object: MethodSDKType): Method { - return { - name: object?.name, - requestTypeUrl: object?.request_type_url, - requestStreaming: object?.request_streaming, - responseTypeUrl: object?.response_type_url, - responseStreaming: object?.response_streaming, - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromSDK(e)) : [], - syntax: isSet(object.syntax) ? syntaxFromJSON(object.syntax) : -1 - }; - }, - toSDK(message: Method): MethodSDKType { - const obj: any = {}; - obj.name = message.name; - obj.request_type_url = message.requestTypeUrl; - obj.request_streaming = message.requestStreaming; - obj.response_type_url = message.responseTypeUrl; - obj.response_streaming = message.responseStreaming; - if (message.options) { - obj.options = message.options.map(e => e ? Option.toSDK(e) : undefined); - } else { - obj.options = []; - } - message.syntax !== undefined && (obj.syntax = syntaxToJSON(message.syntax)); - return obj; - }, - fromAmino(object: MethodAmino): Method { - return { - name: object.name, - requestTypeUrl: object.request_type_url, - requestStreaming: object.request_streaming, - responseTypeUrl: object.response_type_url, - responseStreaming: object.response_streaming, - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromAmino(e)) : [], - syntax: isSet(object.syntax) ? syntaxFromJSON(object.syntax) : -1 - }; - }, - toAmino(message: Method): MethodAmino { - const obj: any = {}; - obj.name = message.name; - obj.request_type_url = message.requestTypeUrl; - obj.request_streaming = message.requestStreaming; - obj.response_type_url = message.responseTypeUrl; - obj.response_streaming = message.responseStreaming; - if (message.options) { - obj.options = message.options.map(e => e ? Option.toAmino(e) : undefined); - } else { - obj.options = []; - } - obj.syntax = message.syntax; - return obj; - }, - fromAminoMsg(object: MethodAminoMsg): Method { - return Method.fromAmino(object.value); - }, - fromProtoMsg(message: MethodProtoMsg): Method { - return Method.decode(message.value); - }, - toProto(message: Method): Uint8Array { - return Method.encode(message).finish(); - }, - toProtoMsg(message: Method): MethodProtoMsg { - return { - typeUrl: "/google.protobuf.Method", - value: Method.encode(message).finish() - }; - } -}; -function createBaseMixin(): Mixin { - return { - name: "", - root: "" - }; -} -export const Mixin = { - typeUrl: "/google.protobuf.Mixin", - encode(message: Mixin, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.root !== "") { - writer.uint32(18).string(message.root); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Mixin { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMixin(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.root = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Mixin { - const obj = createBaseMixin(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.root)) obj.root = String(object.root); - return obj; - }, - toJSON(message: Mixin): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.root !== undefined && (obj.root = message.root); - return obj; - }, - fromPartial(object: DeepPartial): Mixin { - const message = createBaseMixin(); - message.name = object.name ?? ""; - message.root = object.root ?? ""; - return message; - }, - fromSDK(object: MixinSDKType): Mixin { - return { - name: object?.name, - root: object?.root - }; - }, - toSDK(message: Mixin): MixinSDKType { - const obj: any = {}; - obj.name = message.name; - obj.root = message.root; - return obj; - }, - fromAmino(object: MixinAmino): Mixin { - return { - name: object.name, - root: object.root - }; - }, - toAmino(message: Mixin): MixinAmino { - const obj: any = {}; - obj.name = message.name; - obj.root = message.root; - return obj; - }, - fromAminoMsg(object: MixinAminoMsg): Mixin { - return Mixin.fromAmino(object.value); - }, - fromProtoMsg(message: MixinProtoMsg): Mixin { - return Mixin.decode(message.value); - }, - toProto(message: Mixin): Uint8Array { - return Mixin.encode(message).finish(); - }, - toProtoMsg(message: Mixin): MixinProtoMsg { - return { - typeUrl: "/google.protobuf.Mixin", - value: Mixin.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/protobuf/compiler/plugin.ts b/quicksilverjs/src/codegen/google/protobuf/compiler/plugin.ts deleted file mode 100644 index 03733eee7..000000000 --- a/quicksilverjs/src/codegen/google/protobuf/compiler/plugin.ts +++ /dev/null @@ -1,779 +0,0 @@ -import { FileDescriptorProto, FileDescriptorProtoAmino, FileDescriptorProtoSDKType } from "../descriptor"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../../helpers"; -export const protobufPackage = "google.protobuf.compiler"; -/** The version number of protocol compiler. */ -export interface Version { - major: number; - minor: number; - patch: number; - /** - * A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should - * be empty for mainline stable releases. - */ - suffix: string; -} -export interface VersionProtoMsg { - typeUrl: "/google.protobuf.compiler.Version"; - value: Uint8Array; -} -/** The version number of protocol compiler. */ -export interface VersionAmino { - major: number; - minor: number; - patch: number; - /** - * A suffix for alpha, beta or rc release, e.g., "alpha-1", "rc2". It should - * be empty for mainline stable releases. - */ - suffix: string; -} -export interface VersionAminoMsg { - type: "/google.protobuf.compiler.Version"; - value: VersionAmino; -} -/** The version number of protocol compiler. */ -export interface VersionSDKType { - major: number; - minor: number; - patch: number; - suffix: string; -} -/** An encoded CodeGeneratorRequest is written to the plugin's stdin. */ -export interface CodeGeneratorRequest { - /** - * The .proto files that were explicitly listed on the command-line. The - * code generator should generate code only for these files. Each file's - * descriptor will be included in proto_file, below. - */ - fileToGenerate: string[]; - /** The generator parameter passed on the command-line. */ - parameter: string; - /** - * FileDescriptorProtos for all files in files_to_generate and everything - * they import. The files will appear in topological order, so each file - * appears before any file that imports it. - * - * protoc guarantees that all proto_files will be written after - * the fields above, even though this is not technically guaranteed by the - * protobuf wire format. This theoretically could allow a plugin to stream - * in the FileDescriptorProtos and handle them one by one rather than read - * the entire set into memory at once. However, as of this writing, this - * is not similarly optimized on protoc's end -- it will store all fields in - * memory at once before sending them to the plugin. - * - * Type names of fields and extensions in the FileDescriptorProto are always - * fully qualified. - */ - protoFile: FileDescriptorProto[]; - /** The version number of protocol compiler. */ - compilerVersion: Version; -} -export interface CodeGeneratorRequestProtoMsg { - typeUrl: "/google.protobuf.compiler.CodeGeneratorRequest"; - value: Uint8Array; -} -/** An encoded CodeGeneratorRequest is written to the plugin's stdin. */ -export interface CodeGeneratorRequestAmino { - /** - * The .proto files that were explicitly listed on the command-line. The - * code generator should generate code only for these files. Each file's - * descriptor will be included in proto_file, below. - */ - file_to_generate: string[]; - /** The generator parameter passed on the command-line. */ - parameter: string; - /** - * FileDescriptorProtos for all files in files_to_generate and everything - * they import. The files will appear in topological order, so each file - * appears before any file that imports it. - * - * protoc guarantees that all proto_files will be written after - * the fields above, even though this is not technically guaranteed by the - * protobuf wire format. This theoretically could allow a plugin to stream - * in the FileDescriptorProtos and handle them one by one rather than read - * the entire set into memory at once. However, as of this writing, this - * is not similarly optimized on protoc's end -- it will store all fields in - * memory at once before sending them to the plugin. - * - * Type names of fields and extensions in the FileDescriptorProto are always - * fully qualified. - */ - proto_file: FileDescriptorProtoAmino[]; - /** The version number of protocol compiler. */ - compiler_version?: VersionAmino; -} -export interface CodeGeneratorRequestAminoMsg { - type: "/google.protobuf.compiler.CodeGeneratorRequest"; - value: CodeGeneratorRequestAmino; -} -/** An encoded CodeGeneratorRequest is written to the plugin's stdin. */ -export interface CodeGeneratorRequestSDKType { - file_to_generate: string[]; - parameter: string; - proto_file: FileDescriptorProtoSDKType[]; - compiler_version: VersionSDKType; -} -/** The plugin writes an encoded CodeGeneratorResponse to stdout. */ -export interface CodeGeneratorResponse { - /** - * Error message. If non-empty, code generation failed. The plugin process - * should exit with status code zero even if it reports an error in this way. - * - * This should be used to indicate errors in .proto files which prevent the - * code generator from generating correct code. Errors which indicate a - * problem in protoc itself -- such as the input CodeGeneratorRequest being - * unparseable -- should be reported by writing a message to stderr and - * exiting with a non-zero status code. - */ - error: string; - file: CodeGeneratorResponse_File[]; -} -export interface CodeGeneratorResponseProtoMsg { - typeUrl: "/google.protobuf.compiler.CodeGeneratorResponse"; - value: Uint8Array; -} -/** The plugin writes an encoded CodeGeneratorResponse to stdout. */ -export interface CodeGeneratorResponseAmino { - /** - * Error message. If non-empty, code generation failed. The plugin process - * should exit with status code zero even if it reports an error in this way. - * - * This should be used to indicate errors in .proto files which prevent the - * code generator from generating correct code. Errors which indicate a - * problem in protoc itself -- such as the input CodeGeneratorRequest being - * unparseable -- should be reported by writing a message to stderr and - * exiting with a non-zero status code. - */ - error: string; - file: CodeGeneratorResponse_FileAmino[]; -} -export interface CodeGeneratorResponseAminoMsg { - type: "/google.protobuf.compiler.CodeGeneratorResponse"; - value: CodeGeneratorResponseAmino; -} -/** The plugin writes an encoded CodeGeneratorResponse to stdout. */ -export interface CodeGeneratorResponseSDKType { - error: string; - file: CodeGeneratorResponse_FileSDKType[]; -} -/** Represents a single generated file. */ -export interface CodeGeneratorResponse_File { - /** - * The file name, relative to the output directory. The name must not - * contain "." or ".." components and must be relative, not be absolute (so, - * the file cannot lie outside the output directory). "/" must be used as - * the path separator, not "\". - * - * If the name is omitted, the content will be appended to the previous - * file. This allows the generator to break large files into small chunks, - * and allows the generated text to be streamed back to protoc so that large - * files need not reside completely in memory at one time. Note that as of - * this writing protoc does not optimize for this -- it will read the entire - * CodeGeneratorResponse before writing files to disk. - */ - name: string; - /** - * If non-empty, indicates that the named file should already exist, and the - * content here is to be inserted into that file at a defined insertion - * point. This feature allows a code generator to extend the output - * produced by another code generator. The original generator may provide - * insertion points by placing special annotations in the file that look - * like: - * @@protoc_insertion_point(NAME) - * The annotation can have arbitrary text before and after it on the line, - * which allows it to be placed in a comment. NAME should be replaced with - * an identifier naming the point -- this is what other generators will use - * as the insertion_point. Code inserted at this point will be placed - * immediately above the line containing the insertion point (thus multiple - * insertions to the same point will come out in the order they were added). - * The double-@ is intended to make it unlikely that the generated code - * could contain things that look like insertion points by accident. - * - * For example, the C++ code generator places the following line in the - * .pb.h files that it generates: - * // @@protoc_insertion_point(namespace_scope) - * This line appears within the scope of the file's package namespace, but - * outside of any particular class. Another plugin can then specify the - * insertion_point "namespace_scope" to generate additional classes or - * other declarations that should be placed in this scope. - * - * Note that if the line containing the insertion point begins with - * whitespace, the same whitespace will be added to every line of the - * inserted text. This is useful for languages like Python, where - * indentation matters. In these languages, the insertion point comment - * should be indented the same amount as any inserted code will need to be - * in order to work correctly in that context. - * - * The code generator that generates the initial file and the one which - * inserts into it must both run as part of a single invocation of protoc. - * Code generators are executed in the order in which they appear on the - * command line. - * - * If |insertion_point| is present, |name| must also be present. - */ - insertionPoint: string; - /** The file contents. */ - content: string; -} -export interface CodeGeneratorResponse_FileProtoMsg { - typeUrl: "/google.protobuf.compiler.File"; - value: Uint8Array; -} -/** Represents a single generated file. */ -export interface CodeGeneratorResponse_FileAmino { - /** - * The file name, relative to the output directory. The name must not - * contain "." or ".." components and must be relative, not be absolute (so, - * the file cannot lie outside the output directory). "/" must be used as - * the path separator, not "\". - * - * If the name is omitted, the content will be appended to the previous - * file. This allows the generator to break large files into small chunks, - * and allows the generated text to be streamed back to protoc so that large - * files need not reside completely in memory at one time. Note that as of - * this writing protoc does not optimize for this -- it will read the entire - * CodeGeneratorResponse before writing files to disk. - */ - name: string; - /** - * If non-empty, indicates that the named file should already exist, and the - * content here is to be inserted into that file at a defined insertion - * point. This feature allows a code generator to extend the output - * produced by another code generator. The original generator may provide - * insertion points by placing special annotations in the file that look - * like: - * @@protoc_insertion_point(NAME) - * The annotation can have arbitrary text before and after it on the line, - * which allows it to be placed in a comment. NAME should be replaced with - * an identifier naming the point -- this is what other generators will use - * as the insertion_point. Code inserted at this point will be placed - * immediately above the line containing the insertion point (thus multiple - * insertions to the same point will come out in the order they were added). - * The double-@ is intended to make it unlikely that the generated code - * could contain things that look like insertion points by accident. - * - * For example, the C++ code generator places the following line in the - * .pb.h files that it generates: - * // @@protoc_insertion_point(namespace_scope) - * This line appears within the scope of the file's package namespace, but - * outside of any particular class. Another plugin can then specify the - * insertion_point "namespace_scope" to generate additional classes or - * other declarations that should be placed in this scope. - * - * Note that if the line containing the insertion point begins with - * whitespace, the same whitespace will be added to every line of the - * inserted text. This is useful for languages like Python, where - * indentation matters. In these languages, the insertion point comment - * should be indented the same amount as any inserted code will need to be - * in order to work correctly in that context. - * - * The code generator that generates the initial file and the one which - * inserts into it must both run as part of a single invocation of protoc. - * Code generators are executed in the order in which they appear on the - * command line. - * - * If |insertion_point| is present, |name| must also be present. - */ - insertion_point: string; - /** The file contents. */ - content: string; -} -export interface CodeGeneratorResponse_FileAminoMsg { - type: "/google.protobuf.compiler.File"; - value: CodeGeneratorResponse_FileAmino; -} -/** Represents a single generated file. */ -export interface CodeGeneratorResponse_FileSDKType { - name: string; - insertion_point: string; - content: string; -} -function createBaseVersion(): Version { - return { - major: 0, - minor: 0, - patch: 0, - suffix: "" - }; -} -export const Version = { - typeUrl: "/google.protobuf.compiler.Version", - encode(message: Version, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.major !== 0) { - writer.uint32(8).int32(message.major); - } - if (message.minor !== 0) { - writer.uint32(16).int32(message.minor); - } - if (message.patch !== 0) { - writer.uint32(24).int32(message.patch); - } - if (message.suffix !== "") { - writer.uint32(34).string(message.suffix); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Version { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseVersion(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.major = reader.int32(); - break; - case 2: - message.minor = reader.int32(); - break; - case 3: - message.patch = reader.int32(); - break; - case 4: - message.suffix = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Version { - const obj = createBaseVersion(); - if (isSet(object.major)) obj.major = Number(object.major); - if (isSet(object.minor)) obj.minor = Number(object.minor); - if (isSet(object.patch)) obj.patch = Number(object.patch); - if (isSet(object.suffix)) obj.suffix = String(object.suffix); - return obj; - }, - toJSON(message: Version): unknown { - const obj: any = {}; - message.major !== undefined && (obj.major = Math.round(message.major)); - message.minor !== undefined && (obj.minor = Math.round(message.minor)); - message.patch !== undefined && (obj.patch = Math.round(message.patch)); - message.suffix !== undefined && (obj.suffix = message.suffix); - return obj; - }, - fromPartial(object: DeepPartial): Version { - const message = createBaseVersion(); - message.major = object.major ?? 0; - message.minor = object.minor ?? 0; - message.patch = object.patch ?? 0; - message.suffix = object.suffix ?? ""; - return message; - }, - fromSDK(object: VersionSDKType): Version { - return { - major: object?.major, - minor: object?.minor, - patch: object?.patch, - suffix: object?.suffix - }; - }, - toSDK(message: Version): VersionSDKType { - const obj: any = {}; - obj.major = message.major; - obj.minor = message.minor; - obj.patch = message.patch; - obj.suffix = message.suffix; - return obj; - }, - fromAmino(object: VersionAmino): Version { - return { - major: object.major, - minor: object.minor, - patch: object.patch, - suffix: object.suffix - }; - }, - toAmino(message: Version): VersionAmino { - const obj: any = {}; - obj.major = message.major; - obj.minor = message.minor; - obj.patch = message.patch; - obj.suffix = message.suffix; - return obj; - }, - fromAminoMsg(object: VersionAminoMsg): Version { - return Version.fromAmino(object.value); - }, - fromProtoMsg(message: VersionProtoMsg): Version { - return Version.decode(message.value); - }, - toProto(message: Version): Uint8Array { - return Version.encode(message).finish(); - }, - toProtoMsg(message: Version): VersionProtoMsg { - return { - typeUrl: "/google.protobuf.compiler.Version", - value: Version.encode(message).finish() - }; - } -}; -function createBaseCodeGeneratorRequest(): CodeGeneratorRequest { - return { - fileToGenerate: [], - parameter: "", - protoFile: [], - compilerVersion: Version.fromPartial({}) - }; -} -export const CodeGeneratorRequest = { - typeUrl: "/google.protobuf.compiler.CodeGeneratorRequest", - encode(message: CodeGeneratorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.fileToGenerate) { - writer.uint32(10).string(v!); - } - if (message.parameter !== "") { - writer.uint32(18).string(message.parameter); - } - for (const v of message.protoFile) { - FileDescriptorProto.encode(v!, writer.uint32(122).fork()).ldelim(); - } - if (message.compilerVersion !== undefined) { - Version.encode(message.compilerVersion, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CodeGeneratorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCodeGeneratorRequest(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fileToGenerate.push(reader.string()); - break; - case 2: - message.parameter = reader.string(); - break; - case 15: - message.protoFile.push(FileDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - message.compilerVersion = Version.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CodeGeneratorRequest { - const obj = createBaseCodeGeneratorRequest(); - if (Array.isArray(object?.fileToGenerate)) obj.fileToGenerate = object.fileToGenerate.map((e: any) => String(e)); - if (isSet(object.parameter)) obj.parameter = String(object.parameter); - if (Array.isArray(object?.protoFile)) obj.protoFile = object.protoFile.map((e: any) => FileDescriptorProto.fromJSON(e)); - if (isSet(object.compilerVersion)) obj.compilerVersion = Version.fromJSON(object.compilerVersion); - return obj; - }, - toJSON(message: CodeGeneratorRequest): unknown { - const obj: any = {}; - if (message.fileToGenerate) { - obj.fileToGenerate = message.fileToGenerate.map(e => e); - } else { - obj.fileToGenerate = []; - } - message.parameter !== undefined && (obj.parameter = message.parameter); - if (message.protoFile) { - obj.protoFile = message.protoFile.map(e => e ? FileDescriptorProto.toJSON(e) : undefined); - } else { - obj.protoFile = []; - } - message.compilerVersion !== undefined && (obj.compilerVersion = message.compilerVersion ? Version.toJSON(message.compilerVersion) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): CodeGeneratorRequest { - const message = createBaseCodeGeneratorRequest(); - message.fileToGenerate = object.fileToGenerate?.map(e => e) || []; - message.parameter = object.parameter ?? ""; - message.protoFile = object.protoFile?.map(e => FileDescriptorProto.fromPartial(e)) || []; - if (object.compilerVersion !== undefined && object.compilerVersion !== null) { - message.compilerVersion = Version.fromPartial(object.compilerVersion); - } - return message; - }, - fromSDK(object: CodeGeneratorRequestSDKType): CodeGeneratorRequest { - return { - fileToGenerate: Array.isArray(object?.file_to_generate) ? object.file_to_generate.map((e: any) => e) : [], - parameter: object?.parameter, - protoFile: Array.isArray(object?.proto_file) ? object.proto_file.map((e: any) => FileDescriptorProto.fromSDK(e)) : [], - compilerVersion: object.compiler_version ? Version.fromSDK(object.compiler_version) : undefined - }; - }, - toSDK(message: CodeGeneratorRequest): CodeGeneratorRequestSDKType { - const obj: any = {}; - if (message.fileToGenerate) { - obj.file_to_generate = message.fileToGenerate.map(e => e); - } else { - obj.file_to_generate = []; - } - obj.parameter = message.parameter; - if (message.protoFile) { - obj.proto_file = message.protoFile.map(e => e ? FileDescriptorProto.toSDK(e) : undefined); - } else { - obj.proto_file = []; - } - message.compilerVersion !== undefined && (obj.compiler_version = message.compilerVersion ? Version.toSDK(message.compilerVersion) : undefined); - return obj; - }, - fromAmino(object: CodeGeneratorRequestAmino): CodeGeneratorRequest { - return { - fileToGenerate: Array.isArray(object?.file_to_generate) ? object.file_to_generate.map((e: any) => e) : [], - parameter: object.parameter, - protoFile: Array.isArray(object?.proto_file) ? object.proto_file.map((e: any) => FileDescriptorProto.fromAmino(e)) : [], - compilerVersion: object?.compiler_version ? Version.fromAmino(object.compiler_version) : undefined - }; - }, - toAmino(message: CodeGeneratorRequest): CodeGeneratorRequestAmino { - const obj: any = {}; - if (message.fileToGenerate) { - obj.file_to_generate = message.fileToGenerate.map(e => e); - } else { - obj.file_to_generate = []; - } - obj.parameter = message.parameter; - if (message.protoFile) { - obj.proto_file = message.protoFile.map(e => e ? FileDescriptorProto.toAmino(e) : undefined); - } else { - obj.proto_file = []; - } - obj.compiler_version = message.compilerVersion ? Version.toAmino(message.compilerVersion) : undefined; - return obj; - }, - fromAminoMsg(object: CodeGeneratorRequestAminoMsg): CodeGeneratorRequest { - return CodeGeneratorRequest.fromAmino(object.value); - }, - fromProtoMsg(message: CodeGeneratorRequestProtoMsg): CodeGeneratorRequest { - return CodeGeneratorRequest.decode(message.value); - }, - toProto(message: CodeGeneratorRequest): Uint8Array { - return CodeGeneratorRequest.encode(message).finish(); - }, - toProtoMsg(message: CodeGeneratorRequest): CodeGeneratorRequestProtoMsg { - return { - typeUrl: "/google.protobuf.compiler.CodeGeneratorRequest", - value: CodeGeneratorRequest.encode(message).finish() - }; - } -}; -function createBaseCodeGeneratorResponse(): CodeGeneratorResponse { - return { - error: "", - file: [] - }; -} -export const CodeGeneratorResponse = { - typeUrl: "/google.protobuf.compiler.CodeGeneratorResponse", - encode(message: CodeGeneratorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.error !== "") { - writer.uint32(10).string(message.error); - } - for (const v of message.file) { - CodeGeneratorResponse_File.encode(v!, writer.uint32(122).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CodeGeneratorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCodeGeneratorResponse(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.error = reader.string(); - break; - case 15: - message.file.push(CodeGeneratorResponse_File.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CodeGeneratorResponse { - const obj = createBaseCodeGeneratorResponse(); - if (isSet(object.error)) obj.error = String(object.error); - if (Array.isArray(object?.file)) obj.file = object.file.map((e: any) => CodeGeneratorResponse_File.fromJSON(e)); - return obj; - }, - toJSON(message: CodeGeneratorResponse): unknown { - const obj: any = {}; - message.error !== undefined && (obj.error = message.error); - if (message.file) { - obj.file = message.file.map(e => e ? CodeGeneratorResponse_File.toJSON(e) : undefined); - } else { - obj.file = []; - } - return obj; - }, - fromPartial(object: DeepPartial): CodeGeneratorResponse { - const message = createBaseCodeGeneratorResponse(); - message.error = object.error ?? ""; - message.file = object.file?.map(e => CodeGeneratorResponse_File.fromPartial(e)) || []; - return message; - }, - fromSDK(object: CodeGeneratorResponseSDKType): CodeGeneratorResponse { - return { - error: object?.error, - file: Array.isArray(object?.file) ? object.file.map((e: any) => CodeGeneratorResponse_File.fromSDK(e)) : [] - }; - }, - toSDK(message: CodeGeneratorResponse): CodeGeneratorResponseSDKType { - const obj: any = {}; - obj.error = message.error; - if (message.file) { - obj.file = message.file.map(e => e ? CodeGeneratorResponse_File.toSDK(e) : undefined); - } else { - obj.file = []; - } - return obj; - }, - fromAmino(object: CodeGeneratorResponseAmino): CodeGeneratorResponse { - return { - error: object.error, - file: Array.isArray(object?.file) ? object.file.map((e: any) => CodeGeneratorResponse_File.fromAmino(e)) : [] - }; - }, - toAmino(message: CodeGeneratorResponse): CodeGeneratorResponseAmino { - const obj: any = {}; - obj.error = message.error; - if (message.file) { - obj.file = message.file.map(e => e ? CodeGeneratorResponse_File.toAmino(e) : undefined); - } else { - obj.file = []; - } - return obj; - }, - fromAminoMsg(object: CodeGeneratorResponseAminoMsg): CodeGeneratorResponse { - return CodeGeneratorResponse.fromAmino(object.value); - }, - fromProtoMsg(message: CodeGeneratorResponseProtoMsg): CodeGeneratorResponse { - return CodeGeneratorResponse.decode(message.value); - }, - toProto(message: CodeGeneratorResponse): Uint8Array { - return CodeGeneratorResponse.encode(message).finish(); - }, - toProtoMsg(message: CodeGeneratorResponse): CodeGeneratorResponseProtoMsg { - return { - typeUrl: "/google.protobuf.compiler.CodeGeneratorResponse", - value: CodeGeneratorResponse.encode(message).finish() - }; - } -}; -function createBaseCodeGeneratorResponse_File(): CodeGeneratorResponse_File { - return { - name: "", - insertionPoint: "", - content: "" - }; -} -export const CodeGeneratorResponse_File = { - typeUrl: "/google.protobuf.compiler.File", - encode(message: CodeGeneratorResponse_File, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.insertionPoint !== "") { - writer.uint32(18).string(message.insertionPoint); - } - if (message.content !== "") { - writer.uint32(122).string(message.content); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): CodeGeneratorResponse_File { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCodeGeneratorResponse_File(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.insertionPoint = reader.string(); - break; - case 15: - message.content = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): CodeGeneratorResponse_File { - const obj = createBaseCodeGeneratorResponse_File(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.insertionPoint)) obj.insertionPoint = String(object.insertionPoint); - if (isSet(object.content)) obj.content = String(object.content); - return obj; - }, - toJSON(message: CodeGeneratorResponse_File): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.insertionPoint !== undefined && (obj.insertionPoint = message.insertionPoint); - message.content !== undefined && (obj.content = message.content); - return obj; - }, - fromPartial(object: DeepPartial): CodeGeneratorResponse_File { - const message = createBaseCodeGeneratorResponse_File(); - message.name = object.name ?? ""; - message.insertionPoint = object.insertionPoint ?? ""; - message.content = object.content ?? ""; - return message; - }, - fromSDK(object: CodeGeneratorResponse_FileSDKType): CodeGeneratorResponse_File { - return { - name: object?.name, - insertionPoint: object?.insertion_point, - content: object?.content - }; - }, - toSDK(message: CodeGeneratorResponse_File): CodeGeneratorResponse_FileSDKType { - const obj: any = {}; - obj.name = message.name; - obj.insertion_point = message.insertionPoint; - obj.content = message.content; - return obj; - }, - fromAmino(object: CodeGeneratorResponse_FileAmino): CodeGeneratorResponse_File { - return { - name: object.name, - insertionPoint: object.insertion_point, - content: object.content - }; - }, - toAmino(message: CodeGeneratorResponse_File): CodeGeneratorResponse_FileAmino { - const obj: any = {}; - obj.name = message.name; - obj.insertion_point = message.insertionPoint; - obj.content = message.content; - return obj; - }, - fromAminoMsg(object: CodeGeneratorResponse_FileAminoMsg): CodeGeneratorResponse_File { - return CodeGeneratorResponse_File.fromAmino(object.value); - }, - fromProtoMsg(message: CodeGeneratorResponse_FileProtoMsg): CodeGeneratorResponse_File { - return CodeGeneratorResponse_File.decode(message.value); - }, - toProto(message: CodeGeneratorResponse_File): Uint8Array { - return CodeGeneratorResponse_File.encode(message).finish(); - }, - toProtoMsg(message: CodeGeneratorResponse_File): CodeGeneratorResponse_FileProtoMsg { - return { - typeUrl: "/google.protobuf.compiler.File", - value: CodeGeneratorResponse_File.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/protobuf/descriptor.ts b/quicksilverjs/src/codegen/google/protobuf/descriptor.ts deleted file mode 100644 index bb2d19444..000000000 --- a/quicksilverjs/src/codegen/google/protobuf/descriptor.ts +++ /dev/null @@ -1,6245 +0,0 @@ -import { Long, DeepPartial, isSet, bytesFromBase64, base64FromBytes } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.protobuf"; -export enum FieldDescriptorProto_Type { - /** - * TYPE_DOUBLE - 0 is reserved for errors. - * Order is weird for historical reasons. - */ - TYPE_DOUBLE = 1, - TYPE_FLOAT = 2, - /** - * TYPE_INT64 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - * negative values are likely. - */ - TYPE_INT64 = 3, - TYPE_UINT64 = 4, - /** - * TYPE_INT32 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - * negative values are likely. - */ - TYPE_INT32 = 5, - TYPE_FIXED64 = 6, - TYPE_FIXED32 = 7, - TYPE_BOOL = 8, - TYPE_STRING = 9, - /** - * TYPE_GROUP - Tag-delimited aggregate. - * Group type is deprecated and not supported in proto3. However, Proto3 - * implementations should still be able to parse the group wire format and - * treat group fields as unknown fields. - */ - TYPE_GROUP = 10, - TYPE_MESSAGE = 11, - /** TYPE_BYTES - New in version 2. */ - TYPE_BYTES = 12, - TYPE_UINT32 = 13, - TYPE_ENUM = 14, - TYPE_SFIXED32 = 15, - TYPE_SFIXED64 = 16, - /** TYPE_SINT32 - Uses ZigZag encoding. */ - TYPE_SINT32 = 17, - /** TYPE_SINT64 - Uses ZigZag encoding. */ - TYPE_SINT64 = 18, - UNRECOGNIZED = -1, -} -export const FieldDescriptorProto_TypeSDKType = FieldDescriptorProto_Type; -export const FieldDescriptorProto_TypeAmino = FieldDescriptorProto_Type; -export function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type { - switch (object) { - case 1: - case "TYPE_DOUBLE": - return FieldDescriptorProto_Type.TYPE_DOUBLE; - case 2: - case "TYPE_FLOAT": - return FieldDescriptorProto_Type.TYPE_FLOAT; - case 3: - case "TYPE_INT64": - return FieldDescriptorProto_Type.TYPE_INT64; - case 4: - case "TYPE_UINT64": - return FieldDescriptorProto_Type.TYPE_UINT64; - case 5: - case "TYPE_INT32": - return FieldDescriptorProto_Type.TYPE_INT32; - case 6: - case "TYPE_FIXED64": - return FieldDescriptorProto_Type.TYPE_FIXED64; - case 7: - case "TYPE_FIXED32": - return FieldDescriptorProto_Type.TYPE_FIXED32; - case 8: - case "TYPE_BOOL": - return FieldDescriptorProto_Type.TYPE_BOOL; - case 9: - case "TYPE_STRING": - return FieldDescriptorProto_Type.TYPE_STRING; - case 10: - case "TYPE_GROUP": - return FieldDescriptorProto_Type.TYPE_GROUP; - case 11: - case "TYPE_MESSAGE": - return FieldDescriptorProto_Type.TYPE_MESSAGE; - case 12: - case "TYPE_BYTES": - return FieldDescriptorProto_Type.TYPE_BYTES; - case 13: - case "TYPE_UINT32": - return FieldDescriptorProto_Type.TYPE_UINT32; - case 14: - case "TYPE_ENUM": - return FieldDescriptorProto_Type.TYPE_ENUM; - case 15: - case "TYPE_SFIXED32": - return FieldDescriptorProto_Type.TYPE_SFIXED32; - case 16: - case "TYPE_SFIXED64": - return FieldDescriptorProto_Type.TYPE_SFIXED64; - case 17: - case "TYPE_SINT32": - return FieldDescriptorProto_Type.TYPE_SINT32; - case 18: - case "TYPE_SINT64": - return FieldDescriptorProto_Type.TYPE_SINT64; - case -1: - case "UNRECOGNIZED": - default: - return FieldDescriptorProto_Type.UNRECOGNIZED; - } -} -export function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string { - switch (object) { - case FieldDescriptorProto_Type.TYPE_DOUBLE: - return "TYPE_DOUBLE"; - case FieldDescriptorProto_Type.TYPE_FLOAT: - return "TYPE_FLOAT"; - case FieldDescriptorProto_Type.TYPE_INT64: - return "TYPE_INT64"; - case FieldDescriptorProto_Type.TYPE_UINT64: - return "TYPE_UINT64"; - case FieldDescriptorProto_Type.TYPE_INT32: - return "TYPE_INT32"; - case FieldDescriptorProto_Type.TYPE_FIXED64: - return "TYPE_FIXED64"; - case FieldDescriptorProto_Type.TYPE_FIXED32: - return "TYPE_FIXED32"; - case FieldDescriptorProto_Type.TYPE_BOOL: - return "TYPE_BOOL"; - case FieldDescriptorProto_Type.TYPE_STRING: - return "TYPE_STRING"; - case FieldDescriptorProto_Type.TYPE_GROUP: - return "TYPE_GROUP"; - case FieldDescriptorProto_Type.TYPE_MESSAGE: - return "TYPE_MESSAGE"; - case FieldDescriptorProto_Type.TYPE_BYTES: - return "TYPE_BYTES"; - case FieldDescriptorProto_Type.TYPE_UINT32: - return "TYPE_UINT32"; - case FieldDescriptorProto_Type.TYPE_ENUM: - return "TYPE_ENUM"; - case FieldDescriptorProto_Type.TYPE_SFIXED32: - return "TYPE_SFIXED32"; - case FieldDescriptorProto_Type.TYPE_SFIXED64: - return "TYPE_SFIXED64"; - case FieldDescriptorProto_Type.TYPE_SINT32: - return "TYPE_SINT32"; - case FieldDescriptorProto_Type.TYPE_SINT64: - return "TYPE_SINT64"; - case FieldDescriptorProto_Type.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export enum FieldDescriptorProto_Label { - /** LABEL_OPTIONAL - 0 is reserved for errors */ - LABEL_OPTIONAL = 1, - LABEL_REQUIRED = 2, - LABEL_REPEATED = 3, - UNRECOGNIZED = -1, -} -export const FieldDescriptorProto_LabelSDKType = FieldDescriptorProto_Label; -export const FieldDescriptorProto_LabelAmino = FieldDescriptorProto_Label; -export function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label { - switch (object) { - case 1: - case "LABEL_OPTIONAL": - return FieldDescriptorProto_Label.LABEL_OPTIONAL; - case 2: - case "LABEL_REQUIRED": - return FieldDescriptorProto_Label.LABEL_REQUIRED; - case 3: - case "LABEL_REPEATED": - return FieldDescriptorProto_Label.LABEL_REPEATED; - case -1: - case "UNRECOGNIZED": - default: - return FieldDescriptorProto_Label.UNRECOGNIZED; - } -} -export function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string { - switch (object) { - case FieldDescriptorProto_Label.LABEL_OPTIONAL: - return "LABEL_OPTIONAL"; - case FieldDescriptorProto_Label.LABEL_REQUIRED: - return "LABEL_REQUIRED"; - case FieldDescriptorProto_Label.LABEL_REPEATED: - return "LABEL_REPEATED"; - case FieldDescriptorProto_Label.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Generated classes can be optimized for speed or code size. */ -export enum FileOptions_OptimizeMode { - /** - * SPEED - Generate complete code for parsing, serialization, - * etc. - */ - SPEED = 1, - /** CODE_SIZE - Use ReflectionOps to implement these methods. */ - CODE_SIZE = 2, - /** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */ - LITE_RUNTIME = 3, - UNRECOGNIZED = -1, -} -export const FileOptions_OptimizeModeSDKType = FileOptions_OptimizeMode; -export const FileOptions_OptimizeModeAmino = FileOptions_OptimizeMode; -export function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode { - switch (object) { - case 1: - case "SPEED": - return FileOptions_OptimizeMode.SPEED; - case 2: - case "CODE_SIZE": - return FileOptions_OptimizeMode.CODE_SIZE; - case 3: - case "LITE_RUNTIME": - return FileOptions_OptimizeMode.LITE_RUNTIME; - case -1: - case "UNRECOGNIZED": - default: - return FileOptions_OptimizeMode.UNRECOGNIZED; - } -} -export function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string { - switch (object) { - case FileOptions_OptimizeMode.SPEED: - return "SPEED"; - case FileOptions_OptimizeMode.CODE_SIZE: - return "CODE_SIZE"; - case FileOptions_OptimizeMode.LITE_RUNTIME: - return "LITE_RUNTIME"; - case FileOptions_OptimizeMode.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export enum FieldOptions_CType { - /** STRING - Default mode. */ - STRING = 0, - CORD = 1, - STRING_PIECE = 2, - UNRECOGNIZED = -1, -} -export const FieldOptions_CTypeSDKType = FieldOptions_CType; -export const FieldOptions_CTypeAmino = FieldOptions_CType; -export function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType { - switch (object) { - case 0: - case "STRING": - return FieldOptions_CType.STRING; - case 1: - case "CORD": - return FieldOptions_CType.CORD; - case 2: - case "STRING_PIECE": - return FieldOptions_CType.STRING_PIECE; - case -1: - case "UNRECOGNIZED": - default: - return FieldOptions_CType.UNRECOGNIZED; - } -} -export function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string { - switch (object) { - case FieldOptions_CType.STRING: - return "STRING"; - case FieldOptions_CType.CORD: - return "CORD"; - case FieldOptions_CType.STRING_PIECE: - return "STRING_PIECE"; - case FieldOptions_CType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export enum FieldOptions_JSType { - /** JS_NORMAL - Use the default type. */ - JS_NORMAL = 0, - /** JS_STRING - Use JavaScript strings. */ - JS_STRING = 1, - /** JS_NUMBER - Use JavaScript numbers. */ - JS_NUMBER = 2, - UNRECOGNIZED = -1, -} -export const FieldOptions_JSTypeSDKType = FieldOptions_JSType; -export const FieldOptions_JSTypeAmino = FieldOptions_JSType; -export function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType { - switch (object) { - case 0: - case "JS_NORMAL": - return FieldOptions_JSType.JS_NORMAL; - case 1: - case "JS_STRING": - return FieldOptions_JSType.JS_STRING; - case 2: - case "JS_NUMBER": - return FieldOptions_JSType.JS_NUMBER; - case -1: - case "UNRECOGNIZED": - default: - return FieldOptions_JSType.UNRECOGNIZED; - } -} -export function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string { - switch (object) { - case FieldOptions_JSType.JS_NORMAL: - return "JS_NORMAL"; - case FieldOptions_JSType.JS_STRING: - return "JS_STRING"; - case FieldOptions_JSType.JS_NUMBER: - return "JS_NUMBER"; - case FieldOptions_JSType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * Is this method side-effect-free (or safe in HTTP parlance), or idempotent, - * or neither? HTTP based RPC implementation may choose GET verb for safe - * methods, and PUT verb for idempotent methods instead of the default POST. - */ -export enum MethodOptions_IdempotencyLevel { - IDEMPOTENCY_UNKNOWN = 0, - /** NO_SIDE_EFFECTS - implies idempotent */ - NO_SIDE_EFFECTS = 1, - /** IDEMPOTENT - idempotent, but may have side effects */ - IDEMPOTENT = 2, - UNRECOGNIZED = -1, -} -export const MethodOptions_IdempotencyLevelSDKType = MethodOptions_IdempotencyLevel; -export const MethodOptions_IdempotencyLevelAmino = MethodOptions_IdempotencyLevel; -export function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel { - switch (object) { - case 0: - case "IDEMPOTENCY_UNKNOWN": - return MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN; - case 1: - case "NO_SIDE_EFFECTS": - return MethodOptions_IdempotencyLevel.NO_SIDE_EFFECTS; - case 2: - case "IDEMPOTENT": - return MethodOptions_IdempotencyLevel.IDEMPOTENT; - case -1: - case "UNRECOGNIZED": - default: - return MethodOptions_IdempotencyLevel.UNRECOGNIZED; - } -} -export function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string { - switch (object) { - case MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN: - return "IDEMPOTENCY_UNKNOWN"; - case MethodOptions_IdempotencyLevel.NO_SIDE_EFFECTS: - return "NO_SIDE_EFFECTS"; - case MethodOptions_IdempotencyLevel.IDEMPOTENT: - return "IDEMPOTENT"; - case MethodOptions_IdempotencyLevel.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ -export interface FileDescriptorSet { - file: FileDescriptorProto[]; -} -export interface FileDescriptorSetProtoMsg { - typeUrl: "/google.protobuf.FileDescriptorSet"; - value: Uint8Array; -} -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ -export interface FileDescriptorSetAmino { - file: FileDescriptorProtoAmino[]; -} -export interface FileDescriptorSetAminoMsg { - type: "/google.protobuf.FileDescriptorSet"; - value: FileDescriptorSetAmino; -} -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ -export interface FileDescriptorSetSDKType { - file: FileDescriptorProtoSDKType[]; -} -/** Describes a complete .proto file. */ -export interface FileDescriptorProto { - /** file name, relative to root of source tree */ - name: string; - package: string; - /** Names of files imported by this file. */ - dependency: string[]; - /** Indexes of the public imported files in the dependency list above. */ - publicDependency: number[]; - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - */ - weakDependency: number[]; - /** All top-level definitions in this file. */ - messageType: DescriptorProto[]; - enumType: EnumDescriptorProto[]; - service: ServiceDescriptorProto[]; - extension: FieldDescriptorProto[]; - options: FileOptions; - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - */ - sourceCodeInfo: SourceCodeInfo; - /** - * The syntax of the proto file. - * The supported values are "proto2" and "proto3". - */ - syntax: string; -} -export interface FileDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.FileDescriptorProto"; - value: Uint8Array; -} -/** Describes a complete .proto file. */ -export interface FileDescriptorProtoAmino { - /** file name, relative to root of source tree */ - name: string; - package: string; - /** Names of files imported by this file. */ - dependency: string[]; - /** Indexes of the public imported files in the dependency list above. */ - public_dependency: number[]; - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - */ - weak_dependency: number[]; - /** All top-level definitions in this file. */ - message_type: DescriptorProtoAmino[]; - enum_type: EnumDescriptorProtoAmino[]; - service: ServiceDescriptorProtoAmino[]; - extension: FieldDescriptorProtoAmino[]; - options?: FileOptionsAmino; - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - */ - source_code_info?: SourceCodeInfoAmino; - /** - * The syntax of the proto file. - * The supported values are "proto2" and "proto3". - */ - syntax: string; -} -export interface FileDescriptorProtoAminoMsg { - type: "/google.protobuf.FileDescriptorProto"; - value: FileDescriptorProtoAmino; -} -/** Describes a complete .proto file. */ -export interface FileDescriptorProtoSDKType { - name: string; - package: string; - dependency: string[]; - public_dependency: number[]; - weak_dependency: number[]; - message_type: DescriptorProtoSDKType[]; - enum_type: EnumDescriptorProtoSDKType[]; - service: ServiceDescriptorProtoSDKType[]; - extension: FieldDescriptorProtoSDKType[]; - options: FileOptionsSDKType; - source_code_info: SourceCodeInfoSDKType; - syntax: string; -} -/** Describes a message type. */ -export interface DescriptorProto { - name: string; - field: FieldDescriptorProto[]; - extension: FieldDescriptorProto[]; - nestedType: DescriptorProto[]; - enumType: EnumDescriptorProto[]; - extensionRange: DescriptorProto_ExtensionRange[]; - oneofDecl: OneofDescriptorProto[]; - options: MessageOptions; - reservedRange: DescriptorProto_ReservedRange[]; - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - */ - reservedName: string[]; -} -export interface DescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.DescriptorProto"; - value: Uint8Array; -} -/** Describes a message type. */ -export interface DescriptorProtoAmino { - name: string; - field: FieldDescriptorProtoAmino[]; - extension: FieldDescriptorProtoAmino[]; - nested_type: DescriptorProtoAmino[]; - enum_type: EnumDescriptorProtoAmino[]; - extension_range: DescriptorProto_ExtensionRangeAmino[]; - oneof_decl: OneofDescriptorProtoAmino[]; - options?: MessageOptionsAmino; - reserved_range: DescriptorProto_ReservedRangeAmino[]; - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - */ - reserved_name: string[]; -} -export interface DescriptorProtoAminoMsg { - type: "/google.protobuf.DescriptorProto"; - value: DescriptorProtoAmino; -} -/** Describes a message type. */ -export interface DescriptorProtoSDKType { - name: string; - field: FieldDescriptorProtoSDKType[]; - extension: FieldDescriptorProtoSDKType[]; - nested_type: DescriptorProtoSDKType[]; - enum_type: EnumDescriptorProtoSDKType[]; - extension_range: DescriptorProto_ExtensionRangeSDKType[]; - oneof_decl: OneofDescriptorProtoSDKType[]; - options: MessageOptionsSDKType; - reserved_range: DescriptorProto_ReservedRangeSDKType[]; - reserved_name: string[]; -} -export interface DescriptorProto_ExtensionRange { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; - options: ExtensionRangeOptions; -} -export interface DescriptorProto_ExtensionRangeProtoMsg { - typeUrl: "/google.protobuf.ExtensionRange"; - value: Uint8Array; -} -export interface DescriptorProto_ExtensionRangeAmino { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; - options?: ExtensionRangeOptionsAmino; -} -export interface DescriptorProto_ExtensionRangeAminoMsg { - type: "/google.protobuf.ExtensionRange"; - value: DescriptorProto_ExtensionRangeAmino; -} -export interface DescriptorProto_ExtensionRangeSDKType { - start: number; - end: number; - options: ExtensionRangeOptionsSDKType; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ -export interface DescriptorProto_ReservedRange { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; -} -export interface DescriptorProto_ReservedRangeProtoMsg { - typeUrl: "/google.protobuf.ReservedRange"; - value: Uint8Array; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ -export interface DescriptorProto_ReservedRangeAmino { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; -} -export interface DescriptorProto_ReservedRangeAminoMsg { - type: "/google.protobuf.ReservedRange"; - value: DescriptorProto_ReservedRangeAmino; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ -export interface DescriptorProto_ReservedRangeSDKType { - start: number; - end: number; -} -export interface ExtensionRangeOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface ExtensionRangeOptionsProtoMsg { - typeUrl: "/google.protobuf.ExtensionRangeOptions"; - value: Uint8Array; -} -export interface ExtensionRangeOptionsAmino { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface ExtensionRangeOptionsAminoMsg { - type: "/google.protobuf.ExtensionRangeOptions"; - value: ExtensionRangeOptionsAmino; -} -export interface ExtensionRangeOptionsSDKType { - uninterpreted_option: UninterpretedOptionSDKType[]; -} -/** Describes a field within a message. */ -export interface FieldDescriptorProto { - name: string; - number: number; - label: FieldDescriptorProto_Label; - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - */ - type: FieldDescriptorProto_Type; - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - */ - typeName: string; - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - */ - extendee: string; - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * TODO(kenton): Base-64 encode? - */ - defaultValue: string; - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - */ - oneofIndex: number; - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - */ - jsonName: string; - options: FieldOptions; -} -export interface FieldDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.FieldDescriptorProto"; - value: Uint8Array; -} -/** Describes a field within a message. */ -export interface FieldDescriptorProtoAmino { - name: string; - number: number; - label: FieldDescriptorProto_Label; - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - */ - type: FieldDescriptorProto_Type; - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - */ - type_name: string; - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - */ - extendee: string; - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * TODO(kenton): Base-64 encode? - */ - default_value: string; - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - */ - oneof_index: number; - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - */ - json_name: string; - options?: FieldOptionsAmino; -} -export interface FieldDescriptorProtoAminoMsg { - type: "/google.protobuf.FieldDescriptorProto"; - value: FieldDescriptorProtoAmino; -} -/** Describes a field within a message. */ -export interface FieldDescriptorProtoSDKType { - name: string; - number: number; - label: FieldDescriptorProto_Label; - type: FieldDescriptorProto_Type; - type_name: string; - extendee: string; - default_value: string; - oneof_index: number; - json_name: string; - options: FieldOptionsSDKType; -} -/** Describes a oneof. */ -export interface OneofDescriptorProto { - name: string; - options: OneofOptions; -} -export interface OneofDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.OneofDescriptorProto"; - value: Uint8Array; -} -/** Describes a oneof. */ -export interface OneofDescriptorProtoAmino { - name: string; - options?: OneofOptionsAmino; -} -export interface OneofDescriptorProtoAminoMsg { - type: "/google.protobuf.OneofDescriptorProto"; - value: OneofDescriptorProtoAmino; -} -/** Describes a oneof. */ -export interface OneofDescriptorProtoSDKType { - name: string; - options: OneofOptionsSDKType; -} -/** Describes an enum type. */ -export interface EnumDescriptorProto { - name: string; - value: EnumValueDescriptorProto[]; - options: EnumOptions; - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - */ - reservedRange: EnumDescriptorProto_EnumReservedRange[]; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - */ - reservedName: string[]; -} -export interface EnumDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.EnumDescriptorProto"; - value: Uint8Array; -} -/** Describes an enum type. */ -export interface EnumDescriptorProtoAmino { - name: string; - value: EnumValueDescriptorProtoAmino[]; - options?: EnumOptionsAmino; - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - */ - reserved_range: EnumDescriptorProto_EnumReservedRangeAmino[]; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - */ - reserved_name: string[]; -} -export interface EnumDescriptorProtoAminoMsg { - type: "/google.protobuf.EnumDescriptorProto"; - value: EnumDescriptorProtoAmino; -} -/** Describes an enum type. */ -export interface EnumDescriptorProtoSDKType { - name: string; - value: EnumValueDescriptorProtoSDKType[]; - options: EnumOptionsSDKType; - reserved_range: EnumDescriptorProto_EnumReservedRangeSDKType[]; - reserved_name: string[]; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ -export interface EnumDescriptorProto_EnumReservedRange { - /** Inclusive. */ - start: number; - /** Inclusive. */ - end: number; -} -export interface EnumDescriptorProto_EnumReservedRangeProtoMsg { - typeUrl: "/google.protobuf.EnumReservedRange"; - value: Uint8Array; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ -export interface EnumDescriptorProto_EnumReservedRangeAmino { - /** Inclusive. */ - start: number; - /** Inclusive. */ - end: number; -} -export interface EnumDescriptorProto_EnumReservedRangeAminoMsg { - type: "/google.protobuf.EnumReservedRange"; - value: EnumDescriptorProto_EnumReservedRangeAmino; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ -export interface EnumDescriptorProto_EnumReservedRangeSDKType { - start: number; - end: number; -} -/** Describes a value within an enum. */ -export interface EnumValueDescriptorProto { - name: string; - number: number; - options: EnumValueOptions; -} -export interface EnumValueDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.EnumValueDescriptorProto"; - value: Uint8Array; -} -/** Describes a value within an enum. */ -export interface EnumValueDescriptorProtoAmino { - name: string; - number: number; - options?: EnumValueOptionsAmino; -} -export interface EnumValueDescriptorProtoAminoMsg { - type: "/google.protobuf.EnumValueDescriptorProto"; - value: EnumValueDescriptorProtoAmino; -} -/** Describes a value within an enum. */ -export interface EnumValueDescriptorProtoSDKType { - name: string; - number: number; - options: EnumValueOptionsSDKType; -} -/** Describes a service. */ -export interface ServiceDescriptorProto { - name: string; - method: MethodDescriptorProto[]; - options: ServiceOptions; -} -export interface ServiceDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.ServiceDescriptorProto"; - value: Uint8Array; -} -/** Describes a service. */ -export interface ServiceDescriptorProtoAmino { - name: string; - method: MethodDescriptorProtoAmino[]; - options?: ServiceOptionsAmino; -} -export interface ServiceDescriptorProtoAminoMsg { - type: "/google.protobuf.ServiceDescriptorProto"; - value: ServiceDescriptorProtoAmino; -} -/** Describes a service. */ -export interface ServiceDescriptorProtoSDKType { - name: string; - method: MethodDescriptorProtoSDKType[]; - options: ServiceOptionsSDKType; -} -/** Describes a method of a service. */ -export interface MethodDescriptorProto { - name: string; - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - */ - inputType: string; - outputType: string; - options: MethodOptions; - /** Identifies if client streams multiple client messages */ - clientStreaming: boolean; - /** Identifies if server streams multiple server messages */ - serverStreaming: boolean; -} -export interface MethodDescriptorProtoProtoMsg { - typeUrl: "/google.protobuf.MethodDescriptorProto"; - value: Uint8Array; -} -/** Describes a method of a service. */ -export interface MethodDescriptorProtoAmino { - name: string; - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - */ - input_type: string; - output_type: string; - options?: MethodOptionsAmino; - /** Identifies if client streams multiple client messages */ - client_streaming: boolean; - /** Identifies if server streams multiple server messages */ - server_streaming: boolean; -} -export interface MethodDescriptorProtoAminoMsg { - type: "/google.protobuf.MethodDescriptorProto"; - value: MethodDescriptorProtoAmino; -} -/** Describes a method of a service. */ -export interface MethodDescriptorProtoSDKType { - name: string; - input_type: string; - output_type: string; - options: MethodOptionsSDKType; - client_streaming: boolean; - server_streaming: boolean; -} -export interface FileOptions { - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - */ - javaPackage: string; - /** - * If set, all the classes from the .proto file are wrapped in a single - * outer class with the given name. This applies to both Proto1 - * (equivalent to the old "--one_java_file" option) and Proto2 (where - * a .proto always translates to a single class, but you may want to - * explicitly choose the class name). - */ - javaOuterClassname: string; - /** - * If set true, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the outer class - * named by java_outer_classname. However, the outer class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - */ - javaMultipleFiles: boolean; - /** This option does nothing. */ - /** @deprecated */ - javaGenerateEqualsAndHash: boolean; - /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - */ - javaStringCheckUtf8: boolean; - optimizeFor: FileOptions_OptimizeMode; - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - */ - goPackage: string; - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - */ - ccGenericServices: boolean; - javaGenericServices: boolean; - pyGenericServices: boolean; - phpGenericServices: boolean; - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - */ - deprecated: boolean; - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - */ - ccEnableArenas: boolean; - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - */ - objcClassPrefix: string; - /** Namespace for generated classes; defaults to the package. */ - csharpNamespace: string; - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - */ - swiftPrefix: string; - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - */ - phpClassPrefix: string; - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - */ - phpNamespace: string; - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - */ - phpMetadataNamespace: string; - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - */ - rubyPackage: string; - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - */ - uninterpretedOption: UninterpretedOption[]; -} -export interface FileOptionsProtoMsg { - typeUrl: "/google.protobuf.FileOptions"; - value: Uint8Array; -} -export interface FileOptionsAmino { - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - */ - java_package: string; - /** - * If set, all the classes from the .proto file are wrapped in a single - * outer class with the given name. This applies to both Proto1 - * (equivalent to the old "--one_java_file" option) and Proto2 (where - * a .proto always translates to a single class, but you may want to - * explicitly choose the class name). - */ - java_outer_classname: string; - /** - * If set true, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the outer class - * named by java_outer_classname. However, the outer class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - */ - java_multiple_files: boolean; - /** This option does nothing. */ - /** @deprecated */ - java_generate_equals_and_hash: boolean; - /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - */ - java_string_check_utf8: boolean; - optimize_for: FileOptions_OptimizeMode; - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - */ - go_package: string; - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - */ - cc_generic_services: boolean; - java_generic_services: boolean; - py_generic_services: boolean; - php_generic_services: boolean; - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - */ - deprecated: boolean; - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - */ - cc_enable_arenas: boolean; - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - */ - objc_class_prefix: string; - /** Namespace for generated classes; defaults to the package. */ - csharp_namespace: string; - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - */ - swift_prefix: string; - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - */ - php_class_prefix: string; - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - */ - php_namespace: string; - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - */ - php_metadata_namespace: string; - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - */ - ruby_package: string; - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface FileOptionsAminoMsg { - type: "/google.protobuf.FileOptions"; - value: FileOptionsAmino; -} -export interface FileOptionsSDKType { - java_package: string; - java_outer_classname: string; - java_multiple_files: boolean; - /** @deprecated */ - java_generate_equals_and_hash: boolean; - java_string_check_utf8: boolean; - optimize_for: FileOptions_OptimizeMode; - go_package: string; - cc_generic_services: boolean; - java_generic_services: boolean; - py_generic_services: boolean; - php_generic_services: boolean; - deprecated: boolean; - cc_enable_arenas: boolean; - objc_class_prefix: string; - csharp_namespace: string; - swift_prefix: string; - php_class_prefix: string; - php_namespace: string; - php_metadata_namespace: string; - ruby_package: string; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface MessageOptions { - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - */ - messageSetWireFormat: boolean; - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - */ - noStandardDescriptorAccessor: boolean; - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - */ - deprecated: boolean; - /** - * Whether the message is an automatically generated map entry type for the - * maps field. - * - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - */ - mapEntry: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface MessageOptionsProtoMsg { - typeUrl: "/google.protobuf.MessageOptions"; - value: Uint8Array; -} -export interface MessageOptionsAmino { - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - */ - message_set_wire_format: boolean; - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - */ - no_standard_descriptor_accessor: boolean; - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - */ - deprecated: boolean; - /** - * Whether the message is an automatically generated map entry type for the - * maps field. - * - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - */ - map_entry: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface MessageOptionsAminoMsg { - type: "/google.protobuf.MessageOptions"; - value: MessageOptionsAmino; -} -export interface MessageOptionsSDKType { - message_set_wire_format: boolean; - no_standard_descriptor_accessor: boolean; - deprecated: boolean; - map_entry: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface FieldOptions { - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - */ - ctype: FieldOptions_CType; - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - */ - packed: boolean; - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - */ - jstype: FieldOptions_JSType; - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * - * - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - */ - lazy: boolean; - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - */ - deprecated: boolean; - /** For Google-internal migration only. Do not use. */ - weak: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface FieldOptionsProtoMsg { - typeUrl: "/google.protobuf.FieldOptions"; - value: Uint8Array; -} -export interface FieldOptionsAmino { - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - */ - ctype: FieldOptions_CType; - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - */ - packed: boolean; - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - */ - jstype: FieldOptions_JSType; - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * - * - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - */ - lazy: boolean; - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - */ - deprecated: boolean; - /** For Google-internal migration only. Do not use. */ - weak: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface FieldOptionsAminoMsg { - type: "/google.protobuf.FieldOptions"; - value: FieldOptionsAmino; -} -export interface FieldOptionsSDKType { - ctype: FieldOptions_CType; - packed: boolean; - jstype: FieldOptions_JSType; - lazy: boolean; - deprecated: boolean; - weak: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface OneofOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface OneofOptionsProtoMsg { - typeUrl: "/google.protobuf.OneofOptions"; - value: Uint8Array; -} -export interface OneofOptionsAmino { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface OneofOptionsAminoMsg { - type: "/google.protobuf.OneofOptions"; - value: OneofOptionsAmino; -} -export interface OneofOptionsSDKType { - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface EnumOptions { - /** - * Set this option to true to allow mapping different tag names to the same - * value. - */ - allowAlias: boolean; - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface EnumOptionsProtoMsg { - typeUrl: "/google.protobuf.EnumOptions"; - value: Uint8Array; -} -export interface EnumOptionsAmino { - /** - * Set this option to true to allow mapping different tag names to the same - * value. - */ - allow_alias: boolean; - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface EnumOptionsAminoMsg { - type: "/google.protobuf.EnumOptions"; - value: EnumOptionsAmino; -} -export interface EnumOptionsSDKType { - allow_alias: boolean; - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface EnumValueOptions { - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface EnumValueOptionsProtoMsg { - typeUrl: "/google.protobuf.EnumValueOptions"; - value: Uint8Array; -} -export interface EnumValueOptionsAmino { - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface EnumValueOptionsAminoMsg { - type: "/google.protobuf.EnumValueOptions"; - value: EnumValueOptionsAmino; -} -export interface EnumValueOptionsSDKType { - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface ServiceOptions { - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface ServiceOptionsProtoMsg { - typeUrl: "/google.protobuf.ServiceOptions"; - value: Uint8Array; -} -export interface ServiceOptionsAmino { - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface ServiceOptionsAminoMsg { - type: "/google.protobuf.ServiceOptions"; - value: ServiceOptionsAmino; -} -export interface ServiceOptionsSDKType { - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface MethodOptions { - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - */ - deprecated: boolean; - idempotencyLevel: MethodOptions_IdempotencyLevel; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface MethodOptionsProtoMsg { - typeUrl: "/google.protobuf.MethodOptions"; - value: Uint8Array; -} -export interface MethodOptionsAmino { - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - */ - deprecated: boolean; - idempotency_level: MethodOptions_IdempotencyLevel; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpreted_option: UninterpretedOptionAmino[]; -} -export interface MethodOptionsAminoMsg { - type: "/google.protobuf.MethodOptions"; - value: MethodOptionsAmino; -} -export interface MethodOptionsSDKType { - deprecated: boolean; - idempotency_level: MethodOptions_IdempotencyLevel; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ -export interface UninterpretedOption { - name: UninterpretedOption_NamePart[]; - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - */ - identifierValue: string; - positiveIntValue: Long; - negativeIntValue: Long; - doubleValue: number; - stringValue: Uint8Array; - aggregateValue: string; -} -export interface UninterpretedOptionProtoMsg { - typeUrl: "/google.protobuf.UninterpretedOption"; - value: Uint8Array; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ -export interface UninterpretedOptionAmino { - name: UninterpretedOption_NamePartAmino[]; - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - */ - identifier_value: string; - positive_int_value: string; - negative_int_value: string; - double_value: number; - string_value: Uint8Array; - aggregate_value: string; -} -export interface UninterpretedOptionAminoMsg { - type: "/google.protobuf.UninterpretedOption"; - value: UninterpretedOptionAmino; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ -export interface UninterpretedOptionSDKType { - name: UninterpretedOption_NamePartSDKType[]; - identifier_value: string; - positive_int_value: Long; - negative_int_value: Long; - double_value: number; - string_value: Uint8Array; - aggregate_value: string; -} -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - * "foo.(bar.baz).qux". - */ -export interface UninterpretedOption_NamePart { - namePart: string; - isExtension: boolean; -} -export interface UninterpretedOption_NamePartProtoMsg { - typeUrl: "/google.protobuf.NamePart"; - value: Uint8Array; -} -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - * "foo.(bar.baz).qux". - */ -export interface UninterpretedOption_NamePartAmino { - name_part: string; - is_extension: boolean; -} -export interface UninterpretedOption_NamePartAminoMsg { - type: "/google.protobuf.NamePart"; - value: UninterpretedOption_NamePartAmino; -} -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - * "foo.(bar.baz).qux". - */ -export interface UninterpretedOption_NamePartSDKType { - name_part: string; - is_extension: boolean; -} -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - */ -export interface SourceCodeInfo { - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - */ - location: SourceCodeInfo_Location[]; -} -export interface SourceCodeInfoProtoMsg { - typeUrl: "/google.protobuf.SourceCodeInfo"; - value: Uint8Array; -} -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - */ -export interface SourceCodeInfoAmino { - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - */ - location: SourceCodeInfo_LocationAmino[]; -} -export interface SourceCodeInfoAminoMsg { - type: "/google.protobuf.SourceCodeInfo"; - value: SourceCodeInfoAmino; -} -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - */ -export interface SourceCodeInfoSDKType { - location: SourceCodeInfo_LocationSDKType[]; -} -export interface SourceCodeInfo_Location { - /** - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition. For - * example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - */ - path: number[]; - /** - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - */ - span: number[]; - /** - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * - * Examples: - * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * - * // Comment attached to qux. - * // - * // Another line attached to qux. - * optional double qux = 4; - * - * // Detached comment for corge. This is not leading or trailing comments - * // to qux or corge because there are blank lines separating it from - * // both. - * - * // Detached comment for corge paragraph 2. - * - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. *\/ - * /* Block comment attached to - * * grault. *\/ - * optional int32 grault = 6; - * - * // ignored detached comments. - */ - leadingComments: string; - trailingComments: string; - leadingDetachedComments: string[]; -} -export interface SourceCodeInfo_LocationProtoMsg { - typeUrl: "/google.protobuf.Location"; - value: Uint8Array; -} -export interface SourceCodeInfo_LocationAmino { - /** - * Identifies which part of the FileDescriptorProto was defined at this - * location. - * - * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition. For - * example, this path: - * [ 4, 3, 2, 7, 1 ] - * refers to: - * file.message_type(3) // 4, 3 - * .field(7) // 2, 7 - * .name() // 1 - * This is because FileDescriptorProto.message_type has field number 4: - * repeated DescriptorProto message_type = 4; - * and DescriptorProto.field has field number 2: - * repeated FieldDescriptorProto field = 2; - * and FieldDescriptorProto.name has field number 1: - * optional string name = 1; - * - * Thus, the above path gives the location of a field name. If we removed - * the last element: - * [ 4, 3, 2, 7 ] - * this path refers to the whole field declaration (from the beginning - * of the label to the terminating semicolon). - */ - path: number[]; - /** - * Always has exactly three or four elements: start line, start column, - * end line (optional, otherwise assumed same as start line), end column. - * These are packed into a single field for efficiency. Note that line - * and column numbers are zero-based -- typically you will want to add - * 1 to each before displaying to a user. - */ - span: number[]; - /** - * If this SourceCodeInfo represents a complete declaration, these are any - * comments appearing before and after the declaration which appear to be - * attached to the declaration. - * - * A series of line comments appearing on consecutive lines, with no other - * tokens appearing on those lines, will be treated as a single comment. - * - * leading_detached_comments will keep paragraphs of comments that appear - * before (but not connected to) the current element. Each paragraph, - * separated by empty lines, will be one comment element in the repeated - * field. - * - * Only the comment content is provided; comment markers (e.g. //) are - * stripped out. For block comments, leading whitespace and an asterisk - * will be stripped from the beginning of each line other than the first. - * Newlines are included in the output. - * - * Examples: - * - * optional int32 foo = 1; // Comment attached to foo. - * // Comment attached to bar. - * optional int32 bar = 2; - * - * optional string baz = 3; - * // Comment attached to baz. - * // Another line attached to baz. - * - * // Comment attached to qux. - * // - * // Another line attached to qux. - * optional double qux = 4; - * - * // Detached comment for corge. This is not leading or trailing comments - * // to qux or corge because there are blank lines separating it from - * // both. - * - * // Detached comment for corge paragraph 2. - * - * optional string corge = 5; - * /* Block comment attached - * * to corge. Leading asterisks - * * will be removed. *\/ - * /* Block comment attached to - * * grault. *\/ - * optional int32 grault = 6; - * - * // ignored detached comments. - */ - leading_comments: string; - trailing_comments: string; - leading_detached_comments: string[]; -} -export interface SourceCodeInfo_LocationAminoMsg { - type: "/google.protobuf.Location"; - value: SourceCodeInfo_LocationAmino; -} -export interface SourceCodeInfo_LocationSDKType { - path: number[]; - span: number[]; - leading_comments: string; - trailing_comments: string; - leading_detached_comments: string[]; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ -export interface GeneratedCodeInfo { - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - */ - annotation: GeneratedCodeInfo_Annotation[]; -} -export interface GeneratedCodeInfoProtoMsg { - typeUrl: "/google.protobuf.GeneratedCodeInfo"; - value: Uint8Array; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ -export interface GeneratedCodeInfoAmino { - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - */ - annotation: GeneratedCodeInfo_AnnotationAmino[]; -} -export interface GeneratedCodeInfoAminoMsg { - type: "/google.protobuf.GeneratedCodeInfo"; - value: GeneratedCodeInfoAmino; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ -export interface GeneratedCodeInfoSDKType { - annotation: GeneratedCodeInfo_AnnotationSDKType[]; -} -export interface GeneratedCodeInfo_Annotation { - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - */ - path: number[]; - /** Identifies the filesystem path to the original source .proto. */ - sourceFile: string; - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - */ - begin: number; - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified offset. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - */ - end: number; -} -export interface GeneratedCodeInfo_AnnotationProtoMsg { - typeUrl: "/google.protobuf.Annotation"; - value: Uint8Array; -} -export interface GeneratedCodeInfo_AnnotationAmino { - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - */ - path: number[]; - /** Identifies the filesystem path to the original source .proto. */ - source_file: string; - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - */ - begin: number; - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified offset. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - */ - end: number; -} -export interface GeneratedCodeInfo_AnnotationAminoMsg { - type: "/google.protobuf.Annotation"; - value: GeneratedCodeInfo_AnnotationAmino; -} -export interface GeneratedCodeInfo_AnnotationSDKType { - path: number[]; - source_file: string; - begin: number; - end: number; -} -function createBaseFileDescriptorSet(): FileDescriptorSet { - return { - file: [] - }; -} -export const FileDescriptorSet = { - typeUrl: "/google.protobuf.FileDescriptorSet", - encode(message: FileDescriptorSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.file) { - FileDescriptorProto.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorSet { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFileDescriptorSet(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.file.push(FileDescriptorProto.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): FileDescriptorSet { - const obj = createBaseFileDescriptorSet(); - if (Array.isArray(object?.file)) obj.file = object.file.map((e: any) => FileDescriptorProto.fromJSON(e)); - return obj; - }, - toJSON(message: FileDescriptorSet): unknown { - const obj: any = {}; - if (message.file) { - obj.file = message.file.map(e => e ? FileDescriptorProto.toJSON(e) : undefined); - } else { - obj.file = []; - } - return obj; - }, - fromPartial(object: DeepPartial): FileDescriptorSet { - const message = createBaseFileDescriptorSet(); - message.file = object.file?.map(e => FileDescriptorProto.fromPartial(e)) || []; - return message; - }, - fromSDK(object: FileDescriptorSetSDKType): FileDescriptorSet { - return { - file: Array.isArray(object?.file) ? object.file.map((e: any) => FileDescriptorProto.fromSDK(e)) : [] - }; - }, - toSDK(message: FileDescriptorSet): FileDescriptorSetSDKType { - const obj: any = {}; - if (message.file) { - obj.file = message.file.map(e => e ? FileDescriptorProto.toSDK(e) : undefined); - } else { - obj.file = []; - } - return obj; - }, - fromAmino(object: FileDescriptorSetAmino): FileDescriptorSet { - return { - file: Array.isArray(object?.file) ? object.file.map((e: any) => FileDescriptorProto.fromAmino(e)) : [] - }; - }, - toAmino(message: FileDescriptorSet): FileDescriptorSetAmino { - const obj: any = {}; - if (message.file) { - obj.file = message.file.map(e => e ? FileDescriptorProto.toAmino(e) : undefined); - } else { - obj.file = []; - } - return obj; - }, - fromAminoMsg(object: FileDescriptorSetAminoMsg): FileDescriptorSet { - return FileDescriptorSet.fromAmino(object.value); - }, - fromProtoMsg(message: FileDescriptorSetProtoMsg): FileDescriptorSet { - return FileDescriptorSet.decode(message.value); - }, - toProto(message: FileDescriptorSet): Uint8Array { - return FileDescriptorSet.encode(message).finish(); - }, - toProtoMsg(message: FileDescriptorSet): FileDescriptorSetProtoMsg { - return { - typeUrl: "/google.protobuf.FileDescriptorSet", - value: FileDescriptorSet.encode(message).finish() - }; - } -}; -function createBaseFileDescriptorProto(): FileDescriptorProto { - return { - name: "", - package: "", - dependency: [], - publicDependency: [], - weakDependency: [], - messageType: [], - enumType: [], - service: [], - extension: [], - options: FileOptions.fromPartial({}), - sourceCodeInfo: SourceCodeInfo.fromPartial({}), - syntax: "" - }; -} -export const FileDescriptorProto = { - typeUrl: "/google.protobuf.FileDescriptorProto", - encode(message: FileDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.package !== "") { - writer.uint32(18).string(message.package); - } - for (const v of message.dependency) { - writer.uint32(26).string(v!); - } - writer.uint32(82).fork(); - for (const v of message.publicDependency) { - writer.int32(v); - } - writer.ldelim(); - writer.uint32(90).fork(); - for (const v of message.weakDependency) { - writer.int32(v); - } - writer.ldelim(); - for (const v of message.messageType) { - DescriptorProto.encode(v!, writer.uint32(34).fork()).ldelim(); - } - for (const v of message.enumType) { - EnumDescriptorProto.encode(v!, writer.uint32(42).fork()).ldelim(); - } - for (const v of message.service) { - ServiceDescriptorProto.encode(v!, writer.uint32(50).fork()).ldelim(); - } - for (const v of message.extension) { - FieldDescriptorProto.encode(v!, writer.uint32(58).fork()).ldelim(); - } - if (message.options !== undefined) { - FileOptions.encode(message.options, writer.uint32(66).fork()).ldelim(); - } - if (message.sourceCodeInfo !== undefined) { - SourceCodeInfo.encode(message.sourceCodeInfo, writer.uint32(74).fork()).ldelim(); - } - if (message.syntax !== "") { - writer.uint32(98).string(message.syntax); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFileDescriptorProto(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.package = reader.string(); - break; - case 3: - message.dependency.push(reader.string()); - break; - case 10: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.publicDependency.push(reader.int32()); - } - } else { - message.publicDependency.push(reader.int32()); - } - break; - case 11: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.weakDependency.push(reader.int32()); - } - } else { - message.weakDependency.push(reader.int32()); - } - break; - case 4: - message.messageType.push(DescriptorProto.decode(reader, reader.uint32())); - break; - case 5: - message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32())); - break; - case 6: - message.service.push(ServiceDescriptorProto.decode(reader, reader.uint32())); - break; - case 7: - message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 8: - message.options = FileOptions.decode(reader, reader.uint32()); - break; - case 9: - message.sourceCodeInfo = SourceCodeInfo.decode(reader, reader.uint32()); - break; - case 12: - message.syntax = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): FileDescriptorProto { - const obj = createBaseFileDescriptorProto(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.package)) obj.package = String(object.package); - if (Array.isArray(object?.dependency)) obj.dependency = object.dependency.map((e: any) => String(e)); - if (Array.isArray(object?.publicDependency)) obj.publicDependency = object.publicDependency.map((e: any) => Number(e)); - if (Array.isArray(object?.weakDependency)) obj.weakDependency = object.weakDependency.map((e: any) => Number(e)); - if (Array.isArray(object?.messageType)) obj.messageType = object.messageType.map((e: any) => DescriptorProto.fromJSON(e)); - if (Array.isArray(object?.enumType)) obj.enumType = object.enumType.map((e: any) => EnumDescriptorProto.fromJSON(e)); - if (Array.isArray(object?.service)) obj.service = object.service.map((e: any) => ServiceDescriptorProto.fromJSON(e)); - if (Array.isArray(object?.extension)) obj.extension = object.extension.map((e: any) => FieldDescriptorProto.fromJSON(e)); - if (isSet(object.options)) obj.options = FileOptions.fromJSON(object.options); - if (isSet(object.sourceCodeInfo)) obj.sourceCodeInfo = SourceCodeInfo.fromJSON(object.sourceCodeInfo); - if (isSet(object.syntax)) obj.syntax = String(object.syntax); - return obj; - }, - toJSON(message: FileDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.package !== undefined && (obj.package = message.package); - if (message.dependency) { - obj.dependency = message.dependency.map(e => e); - } else { - obj.dependency = []; - } - if (message.publicDependency) { - obj.publicDependency = message.publicDependency.map(e => Math.round(e)); - } else { - obj.publicDependency = []; - } - if (message.weakDependency) { - obj.weakDependency = message.weakDependency.map(e => Math.round(e)); - } else { - obj.weakDependency = []; - } - if (message.messageType) { - obj.messageType = message.messageType.map(e => e ? DescriptorProto.toJSON(e) : undefined); - } else { - obj.messageType = []; - } - if (message.enumType) { - obj.enumType = message.enumType.map(e => e ? EnumDescriptorProto.toJSON(e) : undefined); - } else { - obj.enumType = []; - } - if (message.service) { - obj.service = message.service.map(e => e ? ServiceDescriptorProto.toJSON(e) : undefined); - } else { - obj.service = []; - } - if (message.extension) { - obj.extension = message.extension.map(e => e ? FieldDescriptorProto.toJSON(e) : undefined); - } else { - obj.extension = []; - } - message.options !== undefined && (obj.options = message.options ? FileOptions.toJSON(message.options) : undefined); - message.sourceCodeInfo !== undefined && (obj.sourceCodeInfo = message.sourceCodeInfo ? SourceCodeInfo.toJSON(message.sourceCodeInfo) : undefined); - message.syntax !== undefined && (obj.syntax = message.syntax); - return obj; - }, - fromPartial(object: DeepPartial): FileDescriptorProto { - const message = createBaseFileDescriptorProto(); - message.name = object.name ?? ""; - message.package = object.package ?? ""; - message.dependency = object.dependency?.map(e => e) || []; - message.publicDependency = object.publicDependency?.map(e => e) || []; - message.weakDependency = object.weakDependency?.map(e => e) || []; - message.messageType = object.messageType?.map(e => DescriptorProto.fromPartial(e)) || []; - message.enumType = object.enumType?.map(e => EnumDescriptorProto.fromPartial(e)) || []; - message.service = object.service?.map(e => ServiceDescriptorProto.fromPartial(e)) || []; - message.extension = object.extension?.map(e => FieldDescriptorProto.fromPartial(e)) || []; - if (object.options !== undefined && object.options !== null) { - message.options = FileOptions.fromPartial(object.options); - } - if (object.sourceCodeInfo !== undefined && object.sourceCodeInfo !== null) { - message.sourceCodeInfo = SourceCodeInfo.fromPartial(object.sourceCodeInfo); - } - message.syntax = object.syntax ?? ""; - return message; - }, - fromSDK(object: FileDescriptorProtoSDKType): FileDescriptorProto { - return { - name: object?.name, - package: object?.package, - dependency: Array.isArray(object?.dependency) ? object.dependency.map((e: any) => e) : [], - publicDependency: Array.isArray(object?.public_dependency) ? object.public_dependency.map((e: any) => e) : [], - weakDependency: Array.isArray(object?.weak_dependency) ? object.weak_dependency.map((e: any) => e) : [], - messageType: Array.isArray(object?.message_type) ? object.message_type.map((e: any) => DescriptorProto.fromSDK(e)) : [], - enumType: Array.isArray(object?.enum_type) ? object.enum_type.map((e: any) => EnumDescriptorProto.fromSDK(e)) : [], - service: Array.isArray(object?.service) ? object.service.map((e: any) => ServiceDescriptorProto.fromSDK(e)) : [], - extension: Array.isArray(object?.extension) ? object.extension.map((e: any) => FieldDescriptorProto.fromSDK(e)) : [], - options: object.options ? FileOptions.fromSDK(object.options) : undefined, - sourceCodeInfo: object.source_code_info ? SourceCodeInfo.fromSDK(object.source_code_info) : undefined, - syntax: object?.syntax - }; - }, - toSDK(message: FileDescriptorProto): FileDescriptorProtoSDKType { - const obj: any = {}; - obj.name = message.name; - obj.package = message.package; - if (message.dependency) { - obj.dependency = message.dependency.map(e => e); - } else { - obj.dependency = []; - } - if (message.publicDependency) { - obj.public_dependency = message.publicDependency.map(e => e); - } else { - obj.public_dependency = []; - } - if (message.weakDependency) { - obj.weak_dependency = message.weakDependency.map(e => e); - } else { - obj.weak_dependency = []; - } - if (message.messageType) { - obj.message_type = message.messageType.map(e => e ? DescriptorProto.toSDK(e) : undefined); - } else { - obj.message_type = []; - } - if (message.enumType) { - obj.enum_type = message.enumType.map(e => e ? EnumDescriptorProto.toSDK(e) : undefined); - } else { - obj.enum_type = []; - } - if (message.service) { - obj.service = message.service.map(e => e ? ServiceDescriptorProto.toSDK(e) : undefined); - } else { - obj.service = []; - } - if (message.extension) { - obj.extension = message.extension.map(e => e ? FieldDescriptorProto.toSDK(e) : undefined); - } else { - obj.extension = []; - } - message.options !== undefined && (obj.options = message.options ? FileOptions.toSDK(message.options) : undefined); - message.sourceCodeInfo !== undefined && (obj.source_code_info = message.sourceCodeInfo ? SourceCodeInfo.toSDK(message.sourceCodeInfo) : undefined); - obj.syntax = message.syntax; - return obj; - }, - fromAmino(object: FileDescriptorProtoAmino): FileDescriptorProto { - return { - name: object.name, - package: object.package, - dependency: Array.isArray(object?.dependency) ? object.dependency.map((e: any) => e) : [], - publicDependency: Array.isArray(object?.public_dependency) ? object.public_dependency.map((e: any) => e) : [], - weakDependency: Array.isArray(object?.weak_dependency) ? object.weak_dependency.map((e: any) => e) : [], - messageType: Array.isArray(object?.message_type) ? object.message_type.map((e: any) => DescriptorProto.fromAmino(e)) : [], - enumType: Array.isArray(object?.enum_type) ? object.enum_type.map((e: any) => EnumDescriptorProto.fromAmino(e)) : [], - service: Array.isArray(object?.service) ? object.service.map((e: any) => ServiceDescriptorProto.fromAmino(e)) : [], - extension: Array.isArray(object?.extension) ? object.extension.map((e: any) => FieldDescriptorProto.fromAmino(e)) : [], - options: object?.options ? FileOptions.fromAmino(object.options) : undefined, - sourceCodeInfo: object?.source_code_info ? SourceCodeInfo.fromAmino(object.source_code_info) : undefined, - syntax: object.syntax - }; - }, - toAmino(message: FileDescriptorProto): FileDescriptorProtoAmino { - const obj: any = {}; - obj.name = message.name; - obj.package = message.package; - if (message.dependency) { - obj.dependency = message.dependency.map(e => e); - } else { - obj.dependency = []; - } - if (message.publicDependency) { - obj.public_dependency = message.publicDependency.map(e => e); - } else { - obj.public_dependency = []; - } - if (message.weakDependency) { - obj.weak_dependency = message.weakDependency.map(e => e); - } else { - obj.weak_dependency = []; - } - if (message.messageType) { - obj.message_type = message.messageType.map(e => e ? DescriptorProto.toAmino(e) : undefined); - } else { - obj.message_type = []; - } - if (message.enumType) { - obj.enum_type = message.enumType.map(e => e ? EnumDescriptorProto.toAmino(e) : undefined); - } else { - obj.enum_type = []; - } - if (message.service) { - obj.service = message.service.map(e => e ? ServiceDescriptorProto.toAmino(e) : undefined); - } else { - obj.service = []; - } - if (message.extension) { - obj.extension = message.extension.map(e => e ? FieldDescriptorProto.toAmino(e) : undefined); - } else { - obj.extension = []; - } - obj.options = message.options ? FileOptions.toAmino(message.options) : undefined; - obj.source_code_info = message.sourceCodeInfo ? SourceCodeInfo.toAmino(message.sourceCodeInfo) : undefined; - obj.syntax = message.syntax; - return obj; - }, - fromAminoMsg(object: FileDescriptorProtoAminoMsg): FileDescriptorProto { - return FileDescriptorProto.fromAmino(object.value); - }, - fromProtoMsg(message: FileDescriptorProtoProtoMsg): FileDescriptorProto { - return FileDescriptorProto.decode(message.value); - }, - toProto(message: FileDescriptorProto): Uint8Array { - return FileDescriptorProto.encode(message).finish(); - }, - toProtoMsg(message: FileDescriptorProto): FileDescriptorProtoProtoMsg { - return { - typeUrl: "/google.protobuf.FileDescriptorProto", - value: FileDescriptorProto.encode(message).finish() - }; - } -}; -function createBaseDescriptorProto(): DescriptorProto { - return { - name: "", - field: [], - extension: [], - nestedType: [], - enumType: [], - extensionRange: [], - oneofDecl: [], - options: MessageOptions.fromPartial({}), - reservedRange: [], - reservedName: [] - }; -} -export const DescriptorProto = { - typeUrl: "/google.protobuf.DescriptorProto", - encode(message: DescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - for (const v of message.field) { - FieldDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.extension) { - FieldDescriptorProto.encode(v!, writer.uint32(50).fork()).ldelim(); - } - for (const v of message.nestedType) { - DescriptorProto.encode(v!, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.enumType) { - EnumDescriptorProto.encode(v!, writer.uint32(34).fork()).ldelim(); - } - for (const v of message.extensionRange) { - DescriptorProto_ExtensionRange.encode(v!, writer.uint32(42).fork()).ldelim(); - } - for (const v of message.oneofDecl) { - OneofDescriptorProto.encode(v!, writer.uint32(66).fork()).ldelim(); - } - if (message.options !== undefined) { - MessageOptions.encode(message.options, writer.uint32(58).fork()).ldelim(); - } - for (const v of message.reservedRange) { - DescriptorProto_ReservedRange.encode(v!, writer.uint32(74).fork()).ldelim(); - } - for (const v of message.reservedName) { - writer.uint32(82).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDescriptorProto(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.field.push(FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 6: - message.extension.push(FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - message.nestedType.push(DescriptorProto.decode(reader, reader.uint32())); - break; - case 4: - message.enumType.push(EnumDescriptorProto.decode(reader, reader.uint32())); - break; - case 5: - message.extensionRange.push(DescriptorProto_ExtensionRange.decode(reader, reader.uint32())); - break; - case 8: - message.oneofDecl.push(OneofDescriptorProto.decode(reader, reader.uint32())); - break; - case 7: - message.options = MessageOptions.decode(reader, reader.uint32()); - break; - case 9: - message.reservedRange.push(DescriptorProto_ReservedRange.decode(reader, reader.uint32())); - break; - case 10: - message.reservedName.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DescriptorProto { - const obj = createBaseDescriptorProto(); - if (isSet(object.name)) obj.name = String(object.name); - if (Array.isArray(object?.field)) obj.field = object.field.map((e: any) => FieldDescriptorProto.fromJSON(e)); - if (Array.isArray(object?.extension)) obj.extension = object.extension.map((e: any) => FieldDescriptorProto.fromJSON(e)); - if (Array.isArray(object?.nestedType)) obj.nestedType = object.nestedType.map((e: any) => DescriptorProto.fromJSON(e)); - if (Array.isArray(object?.enumType)) obj.enumType = object.enumType.map((e: any) => EnumDescriptorProto.fromJSON(e)); - if (Array.isArray(object?.extensionRange)) obj.extensionRange = object.extensionRange.map((e: any) => DescriptorProto_ExtensionRange.fromJSON(e)); - if (Array.isArray(object?.oneofDecl)) obj.oneofDecl = object.oneofDecl.map((e: any) => OneofDescriptorProto.fromJSON(e)); - if (isSet(object.options)) obj.options = MessageOptions.fromJSON(object.options); - if (Array.isArray(object?.reservedRange)) obj.reservedRange = object.reservedRange.map((e: any) => DescriptorProto_ReservedRange.fromJSON(e)); - if (Array.isArray(object?.reservedName)) obj.reservedName = object.reservedName.map((e: any) => String(e)); - return obj; - }, - toJSON(message: DescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.field) { - obj.field = message.field.map(e => e ? FieldDescriptorProto.toJSON(e) : undefined); - } else { - obj.field = []; - } - if (message.extension) { - obj.extension = message.extension.map(e => e ? FieldDescriptorProto.toJSON(e) : undefined); - } else { - obj.extension = []; - } - if (message.nestedType) { - obj.nestedType = message.nestedType.map(e => e ? DescriptorProto.toJSON(e) : undefined); - } else { - obj.nestedType = []; - } - if (message.enumType) { - obj.enumType = message.enumType.map(e => e ? EnumDescriptorProto.toJSON(e) : undefined); - } else { - obj.enumType = []; - } - if (message.extensionRange) { - obj.extensionRange = message.extensionRange.map(e => e ? DescriptorProto_ExtensionRange.toJSON(e) : undefined); - } else { - obj.extensionRange = []; - } - if (message.oneofDecl) { - obj.oneofDecl = message.oneofDecl.map(e => e ? OneofDescriptorProto.toJSON(e) : undefined); - } else { - obj.oneofDecl = []; - } - message.options !== undefined && (obj.options = message.options ? MessageOptions.toJSON(message.options) : undefined); - if (message.reservedRange) { - obj.reservedRange = message.reservedRange.map(e => e ? DescriptorProto_ReservedRange.toJSON(e) : undefined); - } else { - obj.reservedRange = []; - } - if (message.reservedName) { - obj.reservedName = message.reservedName.map(e => e); - } else { - obj.reservedName = []; - } - return obj; - }, - fromPartial(object: DeepPartial): DescriptorProto { - const message = createBaseDescriptorProto(); - message.name = object.name ?? ""; - message.field = object.field?.map(e => FieldDescriptorProto.fromPartial(e)) || []; - message.extension = object.extension?.map(e => FieldDescriptorProto.fromPartial(e)) || []; - message.nestedType = object.nestedType?.map(e => DescriptorProto.fromPartial(e)) || []; - message.enumType = object.enumType?.map(e => EnumDescriptorProto.fromPartial(e)) || []; - message.extensionRange = object.extensionRange?.map(e => DescriptorProto_ExtensionRange.fromPartial(e)) || []; - message.oneofDecl = object.oneofDecl?.map(e => OneofDescriptorProto.fromPartial(e)) || []; - if (object.options !== undefined && object.options !== null) { - message.options = MessageOptions.fromPartial(object.options); - } - message.reservedRange = object.reservedRange?.map(e => DescriptorProto_ReservedRange.fromPartial(e)) || []; - message.reservedName = object.reservedName?.map(e => e) || []; - return message; - }, - fromSDK(object: DescriptorProtoSDKType): DescriptorProto { - return { - name: object?.name, - field: Array.isArray(object?.field) ? object.field.map((e: any) => FieldDescriptorProto.fromSDK(e)) : [], - extension: Array.isArray(object?.extension) ? object.extension.map((e: any) => FieldDescriptorProto.fromSDK(e)) : [], - nestedType: Array.isArray(object?.nested_type) ? object.nested_type.map((e: any) => DescriptorProto.fromSDK(e)) : [], - enumType: Array.isArray(object?.enum_type) ? object.enum_type.map((e: any) => EnumDescriptorProto.fromSDK(e)) : [], - extensionRange: Array.isArray(object?.extension_range) ? object.extension_range.map((e: any) => DescriptorProto_ExtensionRange.fromSDK(e)) : [], - oneofDecl: Array.isArray(object?.oneof_decl) ? object.oneof_decl.map((e: any) => OneofDescriptorProto.fromSDK(e)) : [], - options: object.options ? MessageOptions.fromSDK(object.options) : undefined, - reservedRange: Array.isArray(object?.reserved_range) ? object.reserved_range.map((e: any) => DescriptorProto_ReservedRange.fromSDK(e)) : [], - reservedName: Array.isArray(object?.reserved_name) ? object.reserved_name.map((e: any) => e) : [] - }; - }, - toSDK(message: DescriptorProto): DescriptorProtoSDKType { - const obj: any = {}; - obj.name = message.name; - if (message.field) { - obj.field = message.field.map(e => e ? FieldDescriptorProto.toSDK(e) : undefined); - } else { - obj.field = []; - } - if (message.extension) { - obj.extension = message.extension.map(e => e ? FieldDescriptorProto.toSDK(e) : undefined); - } else { - obj.extension = []; - } - if (message.nestedType) { - obj.nested_type = message.nestedType.map(e => e ? DescriptorProto.toSDK(e) : undefined); - } else { - obj.nested_type = []; - } - if (message.enumType) { - obj.enum_type = message.enumType.map(e => e ? EnumDescriptorProto.toSDK(e) : undefined); - } else { - obj.enum_type = []; - } - if (message.extensionRange) { - obj.extension_range = message.extensionRange.map(e => e ? DescriptorProto_ExtensionRange.toSDK(e) : undefined); - } else { - obj.extension_range = []; - } - if (message.oneofDecl) { - obj.oneof_decl = message.oneofDecl.map(e => e ? OneofDescriptorProto.toSDK(e) : undefined); - } else { - obj.oneof_decl = []; - } - message.options !== undefined && (obj.options = message.options ? MessageOptions.toSDK(message.options) : undefined); - if (message.reservedRange) { - obj.reserved_range = message.reservedRange.map(e => e ? DescriptorProto_ReservedRange.toSDK(e) : undefined); - } else { - obj.reserved_range = []; - } - if (message.reservedName) { - obj.reserved_name = message.reservedName.map(e => e); - } else { - obj.reserved_name = []; - } - return obj; - }, - fromAmino(object: DescriptorProtoAmino): DescriptorProto { - return { - name: object.name, - field: Array.isArray(object?.field) ? object.field.map((e: any) => FieldDescriptorProto.fromAmino(e)) : [], - extension: Array.isArray(object?.extension) ? object.extension.map((e: any) => FieldDescriptorProto.fromAmino(e)) : [], - nestedType: Array.isArray(object?.nested_type) ? object.nested_type.map((e: any) => DescriptorProto.fromAmino(e)) : [], - enumType: Array.isArray(object?.enum_type) ? object.enum_type.map((e: any) => EnumDescriptorProto.fromAmino(e)) : [], - extensionRange: Array.isArray(object?.extension_range) ? object.extension_range.map((e: any) => DescriptorProto_ExtensionRange.fromAmino(e)) : [], - oneofDecl: Array.isArray(object?.oneof_decl) ? object.oneof_decl.map((e: any) => OneofDescriptorProto.fromAmino(e)) : [], - options: object?.options ? MessageOptions.fromAmino(object.options) : undefined, - reservedRange: Array.isArray(object?.reserved_range) ? object.reserved_range.map((e: any) => DescriptorProto_ReservedRange.fromAmino(e)) : [], - reservedName: Array.isArray(object?.reserved_name) ? object.reserved_name.map((e: any) => e) : [] - }; - }, - toAmino(message: DescriptorProto): DescriptorProtoAmino { - const obj: any = {}; - obj.name = message.name; - if (message.field) { - obj.field = message.field.map(e => e ? FieldDescriptorProto.toAmino(e) : undefined); - } else { - obj.field = []; - } - if (message.extension) { - obj.extension = message.extension.map(e => e ? FieldDescriptorProto.toAmino(e) : undefined); - } else { - obj.extension = []; - } - if (message.nestedType) { - obj.nested_type = message.nestedType.map(e => e ? DescriptorProto.toAmino(e) : undefined); - } else { - obj.nested_type = []; - } - if (message.enumType) { - obj.enum_type = message.enumType.map(e => e ? EnumDescriptorProto.toAmino(e) : undefined); - } else { - obj.enum_type = []; - } - if (message.extensionRange) { - obj.extension_range = message.extensionRange.map(e => e ? DescriptorProto_ExtensionRange.toAmino(e) : undefined); - } else { - obj.extension_range = []; - } - if (message.oneofDecl) { - obj.oneof_decl = message.oneofDecl.map(e => e ? OneofDescriptorProto.toAmino(e) : undefined); - } else { - obj.oneof_decl = []; - } - obj.options = message.options ? MessageOptions.toAmino(message.options) : undefined; - if (message.reservedRange) { - obj.reserved_range = message.reservedRange.map(e => e ? DescriptorProto_ReservedRange.toAmino(e) : undefined); - } else { - obj.reserved_range = []; - } - if (message.reservedName) { - obj.reserved_name = message.reservedName.map(e => e); - } else { - obj.reserved_name = []; - } - return obj; - }, - fromAminoMsg(object: DescriptorProtoAminoMsg): DescriptorProto { - return DescriptorProto.fromAmino(object.value); - }, - fromProtoMsg(message: DescriptorProtoProtoMsg): DescriptorProto { - return DescriptorProto.decode(message.value); - }, - toProto(message: DescriptorProto): Uint8Array { - return DescriptorProto.encode(message).finish(); - }, - toProtoMsg(message: DescriptorProto): DescriptorProtoProtoMsg { - return { - typeUrl: "/google.protobuf.DescriptorProto", - value: DescriptorProto.encode(message).finish() - }; - } -}; -function createBaseDescriptorProto_ExtensionRange(): DescriptorProto_ExtensionRange { - return { - start: 0, - end: 0, - options: ExtensionRangeOptions.fromPartial({}) - }; -} -export const DescriptorProto_ExtensionRange = { - typeUrl: "/google.protobuf.ExtensionRange", - encode(message: DescriptorProto_ExtensionRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.start !== 0) { - writer.uint32(8).int32(message.start); - } - if (message.end !== 0) { - writer.uint32(16).int32(message.end); - } - if (message.options !== undefined) { - ExtensionRangeOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ExtensionRange { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDescriptorProto_ExtensionRange(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; - case 3: - message.options = ExtensionRangeOptions.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DescriptorProto_ExtensionRange { - const obj = createBaseDescriptorProto_ExtensionRange(); - if (isSet(object.start)) obj.start = Number(object.start); - if (isSet(object.end)) obj.end = Number(object.end); - if (isSet(object.options)) obj.options = ExtensionRangeOptions.fromJSON(object.options); - return obj; - }, - toJSON(message: DescriptorProto_ExtensionRange): unknown { - const obj: any = {}; - message.start !== undefined && (obj.start = Math.round(message.start)); - message.end !== undefined && (obj.end = Math.round(message.end)); - message.options !== undefined && (obj.options = message.options ? ExtensionRangeOptions.toJSON(message.options) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): DescriptorProto_ExtensionRange { - const message = createBaseDescriptorProto_ExtensionRange(); - message.start = object.start ?? 0; - message.end = object.end ?? 0; - if (object.options !== undefined && object.options !== null) { - message.options = ExtensionRangeOptions.fromPartial(object.options); - } - return message; - }, - fromSDK(object: DescriptorProto_ExtensionRangeSDKType): DescriptorProto_ExtensionRange { - return { - start: object?.start, - end: object?.end, - options: object.options ? ExtensionRangeOptions.fromSDK(object.options) : undefined - }; - }, - toSDK(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeSDKType { - const obj: any = {}; - obj.start = message.start; - obj.end = message.end; - message.options !== undefined && (obj.options = message.options ? ExtensionRangeOptions.toSDK(message.options) : undefined); - return obj; - }, - fromAmino(object: DescriptorProto_ExtensionRangeAmino): DescriptorProto_ExtensionRange { - return { - start: object.start, - end: object.end, - options: object?.options ? ExtensionRangeOptions.fromAmino(object.options) : undefined - }; - }, - toAmino(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeAmino { - const obj: any = {}; - obj.start = message.start; - obj.end = message.end; - obj.options = message.options ? ExtensionRangeOptions.toAmino(message.options) : undefined; - return obj; - }, - fromAminoMsg(object: DescriptorProto_ExtensionRangeAminoMsg): DescriptorProto_ExtensionRange { - return DescriptorProto_ExtensionRange.fromAmino(object.value); - }, - fromProtoMsg(message: DescriptorProto_ExtensionRangeProtoMsg): DescriptorProto_ExtensionRange { - return DescriptorProto_ExtensionRange.decode(message.value); - }, - toProto(message: DescriptorProto_ExtensionRange): Uint8Array { - return DescriptorProto_ExtensionRange.encode(message).finish(); - }, - toProtoMsg(message: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRangeProtoMsg { - return { - typeUrl: "/google.protobuf.ExtensionRange", - value: DescriptorProto_ExtensionRange.encode(message).finish() - }; - } -}; -function createBaseDescriptorProto_ReservedRange(): DescriptorProto_ReservedRange { - return { - start: 0, - end: 0 - }; -} -export const DescriptorProto_ReservedRange = { - typeUrl: "/google.protobuf.ReservedRange", - encode(message: DescriptorProto_ReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.start !== 0) { - writer.uint32(8).int32(message.start); - } - if (message.end !== 0) { - writer.uint32(16).int32(message.end); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ReservedRange { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDescriptorProto_ReservedRange(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): DescriptorProto_ReservedRange { - const obj = createBaseDescriptorProto_ReservedRange(); - if (isSet(object.start)) obj.start = Number(object.start); - if (isSet(object.end)) obj.end = Number(object.end); - return obj; - }, - toJSON(message: DescriptorProto_ReservedRange): unknown { - const obj: any = {}; - message.start !== undefined && (obj.start = Math.round(message.start)); - message.end !== undefined && (obj.end = Math.round(message.end)); - return obj; - }, - fromPartial(object: DeepPartial): DescriptorProto_ReservedRange { - const message = createBaseDescriptorProto_ReservedRange(); - message.start = object.start ?? 0; - message.end = object.end ?? 0; - return message; - }, - fromSDK(object: DescriptorProto_ReservedRangeSDKType): DescriptorProto_ReservedRange { - return { - start: object?.start, - end: object?.end - }; - }, - toSDK(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeSDKType { - const obj: any = {}; - obj.start = message.start; - obj.end = message.end; - return obj; - }, - fromAmino(object: DescriptorProto_ReservedRangeAmino): DescriptorProto_ReservedRange { - return { - start: object.start, - end: object.end - }; - }, - toAmino(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeAmino { - const obj: any = {}; - obj.start = message.start; - obj.end = message.end; - return obj; - }, - fromAminoMsg(object: DescriptorProto_ReservedRangeAminoMsg): DescriptorProto_ReservedRange { - return DescriptorProto_ReservedRange.fromAmino(object.value); - }, - fromProtoMsg(message: DescriptorProto_ReservedRangeProtoMsg): DescriptorProto_ReservedRange { - return DescriptorProto_ReservedRange.decode(message.value); - }, - toProto(message: DescriptorProto_ReservedRange): Uint8Array { - return DescriptorProto_ReservedRange.encode(message).finish(); - }, - toProtoMsg(message: DescriptorProto_ReservedRange): DescriptorProto_ReservedRangeProtoMsg { - return { - typeUrl: "/google.protobuf.ReservedRange", - value: DescriptorProto_ReservedRange.encode(message).finish() - }; - } -}; -function createBaseExtensionRangeOptions(): ExtensionRangeOptions { - return { - uninterpretedOption: [] - }; -} -export const ExtensionRangeOptions = { - typeUrl: "/google.protobuf.ExtensionRangeOptions", - encode(message: ExtensionRangeOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExtensionRangeOptions(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ExtensionRangeOptions { - const obj = createBaseExtensionRangeOptions(); - if (Array.isArray(object?.uninterpretedOption)) obj.uninterpretedOption = object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)); - return obj; - }, - toJSON(message: ExtensionRangeOptions): unknown { - const obj: any = {}; - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ExtensionRangeOptions { - const message = createBaseExtensionRangeOptions(); - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ExtensionRangeOptionsSDKType): ExtensionRangeOptions { - return { - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromSDK(e)) : [] - }; - }, - toSDK(message: ExtensionRangeOptions): ExtensionRangeOptionsSDKType { - const obj: any = {}; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toSDK(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAmino(object: ExtensionRangeOptionsAmino): ExtensionRangeOptions { - return { - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromAmino(e)) : [] - }; - }, - toAmino(message: ExtensionRangeOptions): ExtensionRangeOptionsAmino { - const obj: any = {}; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toAmino(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAminoMsg(object: ExtensionRangeOptionsAminoMsg): ExtensionRangeOptions { - return ExtensionRangeOptions.fromAmino(object.value); - }, - fromProtoMsg(message: ExtensionRangeOptionsProtoMsg): ExtensionRangeOptions { - return ExtensionRangeOptions.decode(message.value); - }, - toProto(message: ExtensionRangeOptions): Uint8Array { - return ExtensionRangeOptions.encode(message).finish(); - }, - toProtoMsg(message: ExtensionRangeOptions): ExtensionRangeOptionsProtoMsg { - return { - typeUrl: "/google.protobuf.ExtensionRangeOptions", - value: ExtensionRangeOptions.encode(message).finish() - }; - } -}; -function createBaseFieldDescriptorProto(): FieldDescriptorProto { - return { - name: "", - number: 0, - label: 1, - type: 1, - typeName: "", - extendee: "", - defaultValue: "", - oneofIndex: 0, - jsonName: "", - options: FieldOptions.fromPartial({}) - }; -} -export const FieldDescriptorProto = { - typeUrl: "/google.protobuf.FieldDescriptorProto", - encode(message: FieldDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.number !== 0) { - writer.uint32(24).int32(message.number); - } - if (message.label !== 1) { - writer.uint32(32).int32(message.label); - } - if (message.type !== 1) { - writer.uint32(40).int32(message.type); - } - if (message.typeName !== "") { - writer.uint32(50).string(message.typeName); - } - if (message.extendee !== "") { - writer.uint32(18).string(message.extendee); - } - if (message.defaultValue !== "") { - writer.uint32(58).string(message.defaultValue); - } - if (message.oneofIndex !== 0) { - writer.uint32(72).int32(message.oneofIndex); - } - if (message.jsonName !== "") { - writer.uint32(82).string(message.jsonName); - } - if (message.options !== undefined) { - FieldOptions.encode(message.options, writer.uint32(66).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): FieldDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFieldDescriptorProto(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.number = reader.int32(); - break; - case 4: - message.label = (reader.int32() as any); - break; - case 5: - message.type = (reader.int32() as any); - break; - case 6: - message.typeName = reader.string(); - break; - case 2: - message.extendee = reader.string(); - break; - case 7: - message.defaultValue = reader.string(); - break; - case 9: - message.oneofIndex = reader.int32(); - break; - case 10: - message.jsonName = reader.string(); - break; - case 8: - message.options = FieldOptions.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): FieldDescriptorProto { - const obj = createBaseFieldDescriptorProto(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.number)) obj.number = Number(object.number); - if (isSet(object.label)) obj.label = fieldDescriptorProto_LabelFromJSON(object.label); - if (isSet(object.type)) obj.type = fieldDescriptorProto_TypeFromJSON(object.type); - if (isSet(object.typeName)) obj.typeName = String(object.typeName); - if (isSet(object.extendee)) obj.extendee = String(object.extendee); - if (isSet(object.defaultValue)) obj.defaultValue = String(object.defaultValue); - if (isSet(object.oneofIndex)) obj.oneofIndex = Number(object.oneofIndex); - if (isSet(object.jsonName)) obj.jsonName = String(object.jsonName); - if (isSet(object.options)) obj.options = FieldOptions.fromJSON(object.options); - return obj; - }, - toJSON(message: FieldDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.number !== undefined && (obj.number = Math.round(message.number)); - message.label !== undefined && (obj.label = fieldDescriptorProto_LabelToJSON(message.label)); - message.type !== undefined && (obj.type = fieldDescriptorProto_TypeToJSON(message.type)); - message.typeName !== undefined && (obj.typeName = message.typeName); - message.extendee !== undefined && (obj.extendee = message.extendee); - message.defaultValue !== undefined && (obj.defaultValue = message.defaultValue); - message.oneofIndex !== undefined && (obj.oneofIndex = Math.round(message.oneofIndex)); - message.jsonName !== undefined && (obj.jsonName = message.jsonName); - message.options !== undefined && (obj.options = message.options ? FieldOptions.toJSON(message.options) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): FieldDescriptorProto { - const message = createBaseFieldDescriptorProto(); - message.name = object.name ?? ""; - message.number = object.number ?? 0; - message.label = object.label ?? 1; - message.type = object.type ?? 1; - message.typeName = object.typeName ?? ""; - message.extendee = object.extendee ?? ""; - message.defaultValue = object.defaultValue ?? ""; - message.oneofIndex = object.oneofIndex ?? 0; - message.jsonName = object.jsonName ?? ""; - if (object.options !== undefined && object.options !== null) { - message.options = FieldOptions.fromPartial(object.options); - } - return message; - }, - fromSDK(object: FieldDescriptorProtoSDKType): FieldDescriptorProto { - return { - name: object?.name, - number: object?.number, - label: isSet(object.label) ? fieldDescriptorProto_LabelFromJSON(object.label) : -1, - type: isSet(object.type) ? fieldDescriptorProto_TypeFromJSON(object.type) : -1, - typeName: object?.type_name, - extendee: object?.extendee, - defaultValue: object?.default_value, - oneofIndex: object?.oneof_index, - jsonName: object?.json_name, - options: object.options ? FieldOptions.fromSDK(object.options) : undefined - }; - }, - toSDK(message: FieldDescriptorProto): FieldDescriptorProtoSDKType { - const obj: any = {}; - obj.name = message.name; - obj.number = message.number; - message.label !== undefined && (obj.label = fieldDescriptorProto_LabelToJSON(message.label)); - message.type !== undefined && (obj.type = fieldDescriptorProto_TypeToJSON(message.type)); - obj.type_name = message.typeName; - obj.extendee = message.extendee; - obj.default_value = message.defaultValue; - obj.oneof_index = message.oneofIndex; - obj.json_name = message.jsonName; - message.options !== undefined && (obj.options = message.options ? FieldOptions.toSDK(message.options) : undefined); - return obj; - }, - fromAmino(object: FieldDescriptorProtoAmino): FieldDescriptorProto { - return { - name: object.name, - number: object.number, - label: isSet(object.label) ? fieldDescriptorProto_LabelFromJSON(object.label) : -1, - type: isSet(object.type) ? fieldDescriptorProto_TypeFromJSON(object.type) : -1, - typeName: object.type_name, - extendee: object.extendee, - defaultValue: object.default_value, - oneofIndex: object.oneof_index, - jsonName: object.json_name, - options: object?.options ? FieldOptions.fromAmino(object.options) : undefined - }; - }, - toAmino(message: FieldDescriptorProto): FieldDescriptorProtoAmino { - const obj: any = {}; - obj.name = message.name; - obj.number = message.number; - obj.label = message.label; - obj.type = message.type; - obj.type_name = message.typeName; - obj.extendee = message.extendee; - obj.default_value = message.defaultValue; - obj.oneof_index = message.oneofIndex; - obj.json_name = message.jsonName; - obj.options = message.options ? FieldOptions.toAmino(message.options) : undefined; - return obj; - }, - fromAminoMsg(object: FieldDescriptorProtoAminoMsg): FieldDescriptorProto { - return FieldDescriptorProto.fromAmino(object.value); - }, - fromProtoMsg(message: FieldDescriptorProtoProtoMsg): FieldDescriptorProto { - return FieldDescriptorProto.decode(message.value); - }, - toProto(message: FieldDescriptorProto): Uint8Array { - return FieldDescriptorProto.encode(message).finish(); - }, - toProtoMsg(message: FieldDescriptorProto): FieldDescriptorProtoProtoMsg { - return { - typeUrl: "/google.protobuf.FieldDescriptorProto", - value: FieldDescriptorProto.encode(message).finish() - }; - } -}; -function createBaseOneofDescriptorProto(): OneofDescriptorProto { - return { - name: "", - options: OneofOptions.fromPartial({}) - }; -} -export const OneofDescriptorProto = { - typeUrl: "/google.protobuf.OneofDescriptorProto", - encode(message: OneofDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.options !== undefined) { - OneofOptions.encode(message.options, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): OneofDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOneofDescriptorProto(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.options = OneofOptions.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): OneofDescriptorProto { - const obj = createBaseOneofDescriptorProto(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.options)) obj.options = OneofOptions.fromJSON(object.options); - return obj; - }, - toJSON(message: OneofDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.options !== undefined && (obj.options = message.options ? OneofOptions.toJSON(message.options) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): OneofDescriptorProto { - const message = createBaseOneofDescriptorProto(); - message.name = object.name ?? ""; - if (object.options !== undefined && object.options !== null) { - message.options = OneofOptions.fromPartial(object.options); - } - return message; - }, - fromSDK(object: OneofDescriptorProtoSDKType): OneofDescriptorProto { - return { - name: object?.name, - options: object.options ? OneofOptions.fromSDK(object.options) : undefined - }; - }, - toSDK(message: OneofDescriptorProto): OneofDescriptorProtoSDKType { - const obj: any = {}; - obj.name = message.name; - message.options !== undefined && (obj.options = message.options ? OneofOptions.toSDK(message.options) : undefined); - return obj; - }, - fromAmino(object: OneofDescriptorProtoAmino): OneofDescriptorProto { - return { - name: object.name, - options: object?.options ? OneofOptions.fromAmino(object.options) : undefined - }; - }, - toAmino(message: OneofDescriptorProto): OneofDescriptorProtoAmino { - const obj: any = {}; - obj.name = message.name; - obj.options = message.options ? OneofOptions.toAmino(message.options) : undefined; - return obj; - }, - fromAminoMsg(object: OneofDescriptorProtoAminoMsg): OneofDescriptorProto { - return OneofDescriptorProto.fromAmino(object.value); - }, - fromProtoMsg(message: OneofDescriptorProtoProtoMsg): OneofDescriptorProto { - return OneofDescriptorProto.decode(message.value); - }, - toProto(message: OneofDescriptorProto): Uint8Array { - return OneofDescriptorProto.encode(message).finish(); - }, - toProtoMsg(message: OneofDescriptorProto): OneofDescriptorProtoProtoMsg { - return { - typeUrl: "/google.protobuf.OneofDescriptorProto", - value: OneofDescriptorProto.encode(message).finish() - }; - } -}; -function createBaseEnumDescriptorProto(): EnumDescriptorProto { - return { - name: "", - value: [], - options: EnumOptions.fromPartial({}), - reservedRange: [], - reservedName: [] - }; -} -export const EnumDescriptorProto = { - typeUrl: "/google.protobuf.EnumDescriptorProto", - encode(message: EnumDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - for (const v of message.value) { - EnumValueDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.options !== undefined) { - EnumOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); - } - for (const v of message.reservedRange) { - EnumDescriptorProto_EnumReservedRange.encode(v!, writer.uint32(34).fork()).ldelim(); - } - for (const v of message.reservedName) { - writer.uint32(42).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumDescriptorProto(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.value.push(EnumValueDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - message.options = EnumOptions.decode(reader, reader.uint32()); - break; - case 4: - message.reservedRange.push(EnumDescriptorProto_EnumReservedRange.decode(reader, reader.uint32())); - break; - case 5: - message.reservedName.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EnumDescriptorProto { - const obj = createBaseEnumDescriptorProto(); - if (isSet(object.name)) obj.name = String(object.name); - if (Array.isArray(object?.value)) obj.value = object.value.map((e: any) => EnumValueDescriptorProto.fromJSON(e)); - if (isSet(object.options)) obj.options = EnumOptions.fromJSON(object.options); - if (Array.isArray(object?.reservedRange)) obj.reservedRange = object.reservedRange.map((e: any) => EnumDescriptorProto_EnumReservedRange.fromJSON(e)); - if (Array.isArray(object?.reservedName)) obj.reservedName = object.reservedName.map((e: any) => String(e)); - return obj; - }, - toJSON(message: EnumDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.value) { - obj.value = message.value.map(e => e ? EnumValueDescriptorProto.toJSON(e) : undefined); - } else { - obj.value = []; - } - message.options !== undefined && (obj.options = message.options ? EnumOptions.toJSON(message.options) : undefined); - if (message.reservedRange) { - obj.reservedRange = message.reservedRange.map(e => e ? EnumDescriptorProto_EnumReservedRange.toJSON(e) : undefined); - } else { - obj.reservedRange = []; - } - if (message.reservedName) { - obj.reservedName = message.reservedName.map(e => e); - } else { - obj.reservedName = []; - } - return obj; - }, - fromPartial(object: DeepPartial): EnumDescriptorProto { - const message = createBaseEnumDescriptorProto(); - message.name = object.name ?? ""; - message.value = object.value?.map(e => EnumValueDescriptorProto.fromPartial(e)) || []; - if (object.options !== undefined && object.options !== null) { - message.options = EnumOptions.fromPartial(object.options); - } - message.reservedRange = object.reservedRange?.map(e => EnumDescriptorProto_EnumReservedRange.fromPartial(e)) || []; - message.reservedName = object.reservedName?.map(e => e) || []; - return message; - }, - fromSDK(object: EnumDescriptorProtoSDKType): EnumDescriptorProto { - return { - name: object?.name, - value: Array.isArray(object?.value) ? object.value.map((e: any) => EnumValueDescriptorProto.fromSDK(e)) : [], - options: object.options ? EnumOptions.fromSDK(object.options) : undefined, - reservedRange: Array.isArray(object?.reserved_range) ? object.reserved_range.map((e: any) => EnumDescriptorProto_EnumReservedRange.fromSDK(e)) : [], - reservedName: Array.isArray(object?.reserved_name) ? object.reserved_name.map((e: any) => e) : [] - }; - }, - toSDK(message: EnumDescriptorProto): EnumDescriptorProtoSDKType { - const obj: any = {}; - obj.name = message.name; - if (message.value) { - obj.value = message.value.map(e => e ? EnumValueDescriptorProto.toSDK(e) : undefined); - } else { - obj.value = []; - } - message.options !== undefined && (obj.options = message.options ? EnumOptions.toSDK(message.options) : undefined); - if (message.reservedRange) { - obj.reserved_range = message.reservedRange.map(e => e ? EnumDescriptorProto_EnumReservedRange.toSDK(e) : undefined); - } else { - obj.reserved_range = []; - } - if (message.reservedName) { - obj.reserved_name = message.reservedName.map(e => e); - } else { - obj.reserved_name = []; - } - return obj; - }, - fromAmino(object: EnumDescriptorProtoAmino): EnumDescriptorProto { - return { - name: object.name, - value: Array.isArray(object?.value) ? object.value.map((e: any) => EnumValueDescriptorProto.fromAmino(e)) : [], - options: object?.options ? EnumOptions.fromAmino(object.options) : undefined, - reservedRange: Array.isArray(object?.reserved_range) ? object.reserved_range.map((e: any) => EnumDescriptorProto_EnumReservedRange.fromAmino(e)) : [], - reservedName: Array.isArray(object?.reserved_name) ? object.reserved_name.map((e: any) => e) : [] - }; - }, - toAmino(message: EnumDescriptorProto): EnumDescriptorProtoAmino { - const obj: any = {}; - obj.name = message.name; - if (message.value) { - obj.value = message.value.map(e => e ? EnumValueDescriptorProto.toAmino(e) : undefined); - } else { - obj.value = []; - } - obj.options = message.options ? EnumOptions.toAmino(message.options) : undefined; - if (message.reservedRange) { - obj.reserved_range = message.reservedRange.map(e => e ? EnumDescriptorProto_EnumReservedRange.toAmino(e) : undefined); - } else { - obj.reserved_range = []; - } - if (message.reservedName) { - obj.reserved_name = message.reservedName.map(e => e); - } else { - obj.reserved_name = []; - } - return obj; - }, - fromAminoMsg(object: EnumDescriptorProtoAminoMsg): EnumDescriptorProto { - return EnumDescriptorProto.fromAmino(object.value); - }, - fromProtoMsg(message: EnumDescriptorProtoProtoMsg): EnumDescriptorProto { - return EnumDescriptorProto.decode(message.value); - }, - toProto(message: EnumDescriptorProto): Uint8Array { - return EnumDescriptorProto.encode(message).finish(); - }, - toProtoMsg(message: EnumDescriptorProto): EnumDescriptorProtoProtoMsg { - return { - typeUrl: "/google.protobuf.EnumDescriptorProto", - value: EnumDescriptorProto.encode(message).finish() - }; - } -}; -function createBaseEnumDescriptorProto_EnumReservedRange(): EnumDescriptorProto_EnumReservedRange { - return { - start: 0, - end: 0 - }; -} -export const EnumDescriptorProto_EnumReservedRange = { - typeUrl: "/google.protobuf.EnumReservedRange", - encode(message: EnumDescriptorProto_EnumReservedRange, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.start !== 0) { - writer.uint32(8).int32(message.start); - } - if (message.end !== 0) { - writer.uint32(16).int32(message.end); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto_EnumReservedRange { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumDescriptorProto_EnumReservedRange(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EnumDescriptorProto_EnumReservedRange { - const obj = createBaseEnumDescriptorProto_EnumReservedRange(); - if (isSet(object.start)) obj.start = Number(object.start); - if (isSet(object.end)) obj.end = Number(object.end); - return obj; - }, - toJSON(message: EnumDescriptorProto_EnumReservedRange): unknown { - const obj: any = {}; - message.start !== undefined && (obj.start = Math.round(message.start)); - message.end !== undefined && (obj.end = Math.round(message.end)); - return obj; - }, - fromPartial(object: DeepPartial): EnumDescriptorProto_EnumReservedRange { - const message = createBaseEnumDescriptorProto_EnumReservedRange(); - message.start = object.start ?? 0; - message.end = object.end ?? 0; - return message; - }, - fromSDK(object: EnumDescriptorProto_EnumReservedRangeSDKType): EnumDescriptorProto_EnumReservedRange { - return { - start: object?.start, - end: object?.end - }; - }, - toSDK(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeSDKType { - const obj: any = {}; - obj.start = message.start; - obj.end = message.end; - return obj; - }, - fromAmino(object: EnumDescriptorProto_EnumReservedRangeAmino): EnumDescriptorProto_EnumReservedRange { - return { - start: object.start, - end: object.end - }; - }, - toAmino(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeAmino { - const obj: any = {}; - obj.start = message.start; - obj.end = message.end; - return obj; - }, - fromAminoMsg(object: EnumDescriptorProto_EnumReservedRangeAminoMsg): EnumDescriptorProto_EnumReservedRange { - return EnumDescriptorProto_EnumReservedRange.fromAmino(object.value); - }, - fromProtoMsg(message: EnumDescriptorProto_EnumReservedRangeProtoMsg): EnumDescriptorProto_EnumReservedRange { - return EnumDescriptorProto_EnumReservedRange.decode(message.value); - }, - toProto(message: EnumDescriptorProto_EnumReservedRange): Uint8Array { - return EnumDescriptorProto_EnumReservedRange.encode(message).finish(); - }, - toProtoMsg(message: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRangeProtoMsg { - return { - typeUrl: "/google.protobuf.EnumReservedRange", - value: EnumDescriptorProto_EnumReservedRange.encode(message).finish() - }; - } -}; -function createBaseEnumValueDescriptorProto(): EnumValueDescriptorProto { - return { - name: "", - number: 0, - options: EnumValueOptions.fromPartial({}) - }; -} -export const EnumValueDescriptorProto = { - typeUrl: "/google.protobuf.EnumValueDescriptorProto", - encode(message: EnumValueDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.number !== 0) { - writer.uint32(16).int32(message.number); - } - if (message.options !== undefined) { - EnumValueOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumValueDescriptorProto(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.number = reader.int32(); - break; - case 3: - message.options = EnumValueOptions.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EnumValueDescriptorProto { - const obj = createBaseEnumValueDescriptorProto(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.number)) obj.number = Number(object.number); - if (isSet(object.options)) obj.options = EnumValueOptions.fromJSON(object.options); - return obj; - }, - toJSON(message: EnumValueDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.number !== undefined && (obj.number = Math.round(message.number)); - message.options !== undefined && (obj.options = message.options ? EnumValueOptions.toJSON(message.options) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): EnumValueDescriptorProto { - const message = createBaseEnumValueDescriptorProto(); - message.name = object.name ?? ""; - message.number = object.number ?? 0; - if (object.options !== undefined && object.options !== null) { - message.options = EnumValueOptions.fromPartial(object.options); - } - return message; - }, - fromSDK(object: EnumValueDescriptorProtoSDKType): EnumValueDescriptorProto { - return { - name: object?.name, - number: object?.number, - options: object.options ? EnumValueOptions.fromSDK(object.options) : undefined - }; - }, - toSDK(message: EnumValueDescriptorProto): EnumValueDescriptorProtoSDKType { - const obj: any = {}; - obj.name = message.name; - obj.number = message.number; - message.options !== undefined && (obj.options = message.options ? EnumValueOptions.toSDK(message.options) : undefined); - return obj; - }, - fromAmino(object: EnumValueDescriptorProtoAmino): EnumValueDescriptorProto { - return { - name: object.name, - number: object.number, - options: object?.options ? EnumValueOptions.fromAmino(object.options) : undefined - }; - }, - toAmino(message: EnumValueDescriptorProto): EnumValueDescriptorProtoAmino { - const obj: any = {}; - obj.name = message.name; - obj.number = message.number; - obj.options = message.options ? EnumValueOptions.toAmino(message.options) : undefined; - return obj; - }, - fromAminoMsg(object: EnumValueDescriptorProtoAminoMsg): EnumValueDescriptorProto { - return EnumValueDescriptorProto.fromAmino(object.value); - }, - fromProtoMsg(message: EnumValueDescriptorProtoProtoMsg): EnumValueDescriptorProto { - return EnumValueDescriptorProto.decode(message.value); - }, - toProto(message: EnumValueDescriptorProto): Uint8Array { - return EnumValueDescriptorProto.encode(message).finish(); - }, - toProtoMsg(message: EnumValueDescriptorProto): EnumValueDescriptorProtoProtoMsg { - return { - typeUrl: "/google.protobuf.EnumValueDescriptorProto", - value: EnumValueDescriptorProto.encode(message).finish() - }; - } -}; -function createBaseServiceDescriptorProto(): ServiceDescriptorProto { - return { - name: "", - method: [], - options: ServiceOptions.fromPartial({}) - }; -} -export const ServiceDescriptorProto = { - typeUrl: "/google.protobuf.ServiceDescriptorProto", - encode(message: ServiceDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - for (const v of message.method) { - MethodDescriptorProto.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.options !== undefined) { - ServiceOptions.encode(message.options, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ServiceDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseServiceDescriptorProto(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.method.push(MethodDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - message.options = ServiceOptions.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ServiceDescriptorProto { - const obj = createBaseServiceDescriptorProto(); - if (isSet(object.name)) obj.name = String(object.name); - if (Array.isArray(object?.method)) obj.method = object.method.map((e: any) => MethodDescriptorProto.fromJSON(e)); - if (isSet(object.options)) obj.options = ServiceOptions.fromJSON(object.options); - return obj; - }, - toJSON(message: ServiceDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.method) { - obj.method = message.method.map(e => e ? MethodDescriptorProto.toJSON(e) : undefined); - } else { - obj.method = []; - } - message.options !== undefined && (obj.options = message.options ? ServiceOptions.toJSON(message.options) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): ServiceDescriptorProto { - const message = createBaseServiceDescriptorProto(); - message.name = object.name ?? ""; - message.method = object.method?.map(e => MethodDescriptorProto.fromPartial(e)) || []; - if (object.options !== undefined && object.options !== null) { - message.options = ServiceOptions.fromPartial(object.options); - } - return message; - }, - fromSDK(object: ServiceDescriptorProtoSDKType): ServiceDescriptorProto { - return { - name: object?.name, - method: Array.isArray(object?.method) ? object.method.map((e: any) => MethodDescriptorProto.fromSDK(e)) : [], - options: object.options ? ServiceOptions.fromSDK(object.options) : undefined - }; - }, - toSDK(message: ServiceDescriptorProto): ServiceDescriptorProtoSDKType { - const obj: any = {}; - obj.name = message.name; - if (message.method) { - obj.method = message.method.map(e => e ? MethodDescriptorProto.toSDK(e) : undefined); - } else { - obj.method = []; - } - message.options !== undefined && (obj.options = message.options ? ServiceOptions.toSDK(message.options) : undefined); - return obj; - }, - fromAmino(object: ServiceDescriptorProtoAmino): ServiceDescriptorProto { - return { - name: object.name, - method: Array.isArray(object?.method) ? object.method.map((e: any) => MethodDescriptorProto.fromAmino(e)) : [], - options: object?.options ? ServiceOptions.fromAmino(object.options) : undefined - }; - }, - toAmino(message: ServiceDescriptorProto): ServiceDescriptorProtoAmino { - const obj: any = {}; - obj.name = message.name; - if (message.method) { - obj.method = message.method.map(e => e ? MethodDescriptorProto.toAmino(e) : undefined); - } else { - obj.method = []; - } - obj.options = message.options ? ServiceOptions.toAmino(message.options) : undefined; - return obj; - }, - fromAminoMsg(object: ServiceDescriptorProtoAminoMsg): ServiceDescriptorProto { - return ServiceDescriptorProto.fromAmino(object.value); - }, - fromProtoMsg(message: ServiceDescriptorProtoProtoMsg): ServiceDescriptorProto { - return ServiceDescriptorProto.decode(message.value); - }, - toProto(message: ServiceDescriptorProto): Uint8Array { - return ServiceDescriptorProto.encode(message).finish(); - }, - toProtoMsg(message: ServiceDescriptorProto): ServiceDescriptorProtoProtoMsg { - return { - typeUrl: "/google.protobuf.ServiceDescriptorProto", - value: ServiceDescriptorProto.encode(message).finish() - }; - } -}; -function createBaseMethodDescriptorProto(): MethodDescriptorProto { - return { - name: "", - inputType: "", - outputType: "", - options: MethodOptions.fromPartial({}), - clientStreaming: false, - serverStreaming: false - }; -} -export const MethodDescriptorProto = { - typeUrl: "/google.protobuf.MethodDescriptorProto", - encode(message: MethodDescriptorProto, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.inputType !== "") { - writer.uint32(18).string(message.inputType); - } - if (message.outputType !== "") { - writer.uint32(26).string(message.outputType); - } - if (message.options !== undefined) { - MethodOptions.encode(message.options, writer.uint32(34).fork()).ldelim(); - } - if (message.clientStreaming === true) { - writer.uint32(40).bool(message.clientStreaming); - } - if (message.serverStreaming === true) { - writer.uint32(48).bool(message.serverStreaming); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MethodDescriptorProto { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMethodDescriptorProto(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.inputType = reader.string(); - break; - case 3: - message.outputType = reader.string(); - break; - case 4: - message.options = MethodOptions.decode(reader, reader.uint32()); - break; - case 5: - message.clientStreaming = reader.bool(); - break; - case 6: - message.serverStreaming = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MethodDescriptorProto { - const obj = createBaseMethodDescriptorProto(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.inputType)) obj.inputType = String(object.inputType); - if (isSet(object.outputType)) obj.outputType = String(object.outputType); - if (isSet(object.options)) obj.options = MethodOptions.fromJSON(object.options); - if (isSet(object.clientStreaming)) obj.clientStreaming = Boolean(object.clientStreaming); - if (isSet(object.serverStreaming)) obj.serverStreaming = Boolean(object.serverStreaming); - return obj; - }, - toJSON(message: MethodDescriptorProto): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.inputType !== undefined && (obj.inputType = message.inputType); - message.outputType !== undefined && (obj.outputType = message.outputType); - message.options !== undefined && (obj.options = message.options ? MethodOptions.toJSON(message.options) : undefined); - message.clientStreaming !== undefined && (obj.clientStreaming = message.clientStreaming); - message.serverStreaming !== undefined && (obj.serverStreaming = message.serverStreaming); - return obj; - }, - fromPartial(object: DeepPartial): MethodDescriptorProto { - const message = createBaseMethodDescriptorProto(); - message.name = object.name ?? ""; - message.inputType = object.inputType ?? ""; - message.outputType = object.outputType ?? ""; - if (object.options !== undefined && object.options !== null) { - message.options = MethodOptions.fromPartial(object.options); - } - message.clientStreaming = object.clientStreaming ?? false; - message.serverStreaming = object.serverStreaming ?? false; - return message; - }, - fromSDK(object: MethodDescriptorProtoSDKType): MethodDescriptorProto { - return { - name: object?.name, - inputType: object?.input_type, - outputType: object?.output_type, - options: object.options ? MethodOptions.fromSDK(object.options) : undefined, - clientStreaming: object?.client_streaming, - serverStreaming: object?.server_streaming - }; - }, - toSDK(message: MethodDescriptorProto): MethodDescriptorProtoSDKType { - const obj: any = {}; - obj.name = message.name; - obj.input_type = message.inputType; - obj.output_type = message.outputType; - message.options !== undefined && (obj.options = message.options ? MethodOptions.toSDK(message.options) : undefined); - obj.client_streaming = message.clientStreaming; - obj.server_streaming = message.serverStreaming; - return obj; - }, - fromAmino(object: MethodDescriptorProtoAmino): MethodDescriptorProto { - return { - name: object.name, - inputType: object.input_type, - outputType: object.output_type, - options: object?.options ? MethodOptions.fromAmino(object.options) : undefined, - clientStreaming: object.client_streaming, - serverStreaming: object.server_streaming - }; - }, - toAmino(message: MethodDescriptorProto): MethodDescriptorProtoAmino { - const obj: any = {}; - obj.name = message.name; - obj.input_type = message.inputType; - obj.output_type = message.outputType; - obj.options = message.options ? MethodOptions.toAmino(message.options) : undefined; - obj.client_streaming = message.clientStreaming; - obj.server_streaming = message.serverStreaming; - return obj; - }, - fromAminoMsg(object: MethodDescriptorProtoAminoMsg): MethodDescriptorProto { - return MethodDescriptorProto.fromAmino(object.value); - }, - fromProtoMsg(message: MethodDescriptorProtoProtoMsg): MethodDescriptorProto { - return MethodDescriptorProto.decode(message.value); - }, - toProto(message: MethodDescriptorProto): Uint8Array { - return MethodDescriptorProto.encode(message).finish(); - }, - toProtoMsg(message: MethodDescriptorProto): MethodDescriptorProtoProtoMsg { - return { - typeUrl: "/google.protobuf.MethodDescriptorProto", - value: MethodDescriptorProto.encode(message).finish() - }; - } -}; -function createBaseFileOptions(): FileOptions { - return { - javaPackage: "", - javaOuterClassname: "", - javaMultipleFiles: false, - javaGenerateEqualsAndHash: false, - javaStringCheckUtf8: false, - optimizeFor: 1, - goPackage: "", - ccGenericServices: false, - javaGenericServices: false, - pyGenericServices: false, - phpGenericServices: false, - deprecated: false, - ccEnableArenas: false, - objcClassPrefix: "", - csharpNamespace: "", - swiftPrefix: "", - phpClassPrefix: "", - phpNamespace: "", - phpMetadataNamespace: "", - rubyPackage: "", - uninterpretedOption: [] - }; -} -export const FileOptions = { - typeUrl: "/google.protobuf.FileOptions", - encode(message: FileOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.javaPackage !== "") { - writer.uint32(10).string(message.javaPackage); - } - if (message.javaOuterClassname !== "") { - writer.uint32(66).string(message.javaOuterClassname); - } - if (message.javaMultipleFiles === true) { - writer.uint32(80).bool(message.javaMultipleFiles); - } - if (message.javaGenerateEqualsAndHash === true) { - writer.uint32(160).bool(message.javaGenerateEqualsAndHash); - } - if (message.javaStringCheckUtf8 === true) { - writer.uint32(216).bool(message.javaStringCheckUtf8); - } - if (message.optimizeFor !== 1) { - writer.uint32(72).int32(message.optimizeFor); - } - if (message.goPackage !== "") { - writer.uint32(90).string(message.goPackage); - } - if (message.ccGenericServices === true) { - writer.uint32(128).bool(message.ccGenericServices); - } - if (message.javaGenericServices === true) { - writer.uint32(136).bool(message.javaGenericServices); - } - if (message.pyGenericServices === true) { - writer.uint32(144).bool(message.pyGenericServices); - } - if (message.phpGenericServices === true) { - writer.uint32(336).bool(message.phpGenericServices); - } - if (message.deprecated === true) { - writer.uint32(184).bool(message.deprecated); - } - if (message.ccEnableArenas === true) { - writer.uint32(248).bool(message.ccEnableArenas); - } - if (message.objcClassPrefix !== "") { - writer.uint32(290).string(message.objcClassPrefix); - } - if (message.csharpNamespace !== "") { - writer.uint32(298).string(message.csharpNamespace); - } - if (message.swiftPrefix !== "") { - writer.uint32(314).string(message.swiftPrefix); - } - if (message.phpClassPrefix !== "") { - writer.uint32(322).string(message.phpClassPrefix); - } - if (message.phpNamespace !== "") { - writer.uint32(330).string(message.phpNamespace); - } - if (message.phpMetadataNamespace !== "") { - writer.uint32(354).string(message.phpMetadataNamespace); - } - if (message.rubyPackage !== "") { - writer.uint32(362).string(message.rubyPackage); - } - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): FileOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFileOptions(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.javaPackage = reader.string(); - break; - case 8: - message.javaOuterClassname = reader.string(); - break; - case 10: - message.javaMultipleFiles = reader.bool(); - break; - case 20: - message.javaGenerateEqualsAndHash = reader.bool(); - break; - case 27: - message.javaStringCheckUtf8 = reader.bool(); - break; - case 9: - message.optimizeFor = (reader.int32() as any); - break; - case 11: - message.goPackage = reader.string(); - break; - case 16: - message.ccGenericServices = reader.bool(); - break; - case 17: - message.javaGenericServices = reader.bool(); - break; - case 18: - message.pyGenericServices = reader.bool(); - break; - case 42: - message.phpGenericServices = reader.bool(); - break; - case 23: - message.deprecated = reader.bool(); - break; - case 31: - message.ccEnableArenas = reader.bool(); - break; - case 36: - message.objcClassPrefix = reader.string(); - break; - case 37: - message.csharpNamespace = reader.string(); - break; - case 39: - message.swiftPrefix = reader.string(); - break; - case 40: - message.phpClassPrefix = reader.string(); - break; - case 41: - message.phpNamespace = reader.string(); - break; - case 44: - message.phpMetadataNamespace = reader.string(); - break; - case 45: - message.rubyPackage = reader.string(); - break; - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): FileOptions { - const obj = createBaseFileOptions(); - if (isSet(object.javaPackage)) obj.javaPackage = String(object.javaPackage); - if (isSet(object.javaOuterClassname)) obj.javaOuterClassname = String(object.javaOuterClassname); - if (isSet(object.javaMultipleFiles)) obj.javaMultipleFiles = Boolean(object.javaMultipleFiles); - if (isSet(object.javaGenerateEqualsAndHash)) obj.javaGenerateEqualsAndHash = Boolean(object.javaGenerateEqualsAndHash); - if (isSet(object.javaStringCheckUtf8)) obj.javaStringCheckUtf8 = Boolean(object.javaStringCheckUtf8); - if (isSet(object.optimizeFor)) obj.optimizeFor = fileOptions_OptimizeModeFromJSON(object.optimizeFor); - if (isSet(object.goPackage)) obj.goPackage = String(object.goPackage); - if (isSet(object.ccGenericServices)) obj.ccGenericServices = Boolean(object.ccGenericServices); - if (isSet(object.javaGenericServices)) obj.javaGenericServices = Boolean(object.javaGenericServices); - if (isSet(object.pyGenericServices)) obj.pyGenericServices = Boolean(object.pyGenericServices); - if (isSet(object.phpGenericServices)) obj.phpGenericServices = Boolean(object.phpGenericServices); - if (isSet(object.deprecated)) obj.deprecated = Boolean(object.deprecated); - if (isSet(object.ccEnableArenas)) obj.ccEnableArenas = Boolean(object.ccEnableArenas); - if (isSet(object.objcClassPrefix)) obj.objcClassPrefix = String(object.objcClassPrefix); - if (isSet(object.csharpNamespace)) obj.csharpNamespace = String(object.csharpNamespace); - if (isSet(object.swiftPrefix)) obj.swiftPrefix = String(object.swiftPrefix); - if (isSet(object.phpClassPrefix)) obj.phpClassPrefix = String(object.phpClassPrefix); - if (isSet(object.phpNamespace)) obj.phpNamespace = String(object.phpNamespace); - if (isSet(object.phpMetadataNamespace)) obj.phpMetadataNamespace = String(object.phpMetadataNamespace); - if (isSet(object.rubyPackage)) obj.rubyPackage = String(object.rubyPackage); - if (Array.isArray(object?.uninterpretedOption)) obj.uninterpretedOption = object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)); - return obj; - }, - toJSON(message: FileOptions): unknown { - const obj: any = {}; - message.javaPackage !== undefined && (obj.javaPackage = message.javaPackage); - message.javaOuterClassname !== undefined && (obj.javaOuterClassname = message.javaOuterClassname); - message.javaMultipleFiles !== undefined && (obj.javaMultipleFiles = message.javaMultipleFiles); - message.javaGenerateEqualsAndHash !== undefined && (obj.javaGenerateEqualsAndHash = message.javaGenerateEqualsAndHash); - message.javaStringCheckUtf8 !== undefined && (obj.javaStringCheckUtf8 = message.javaStringCheckUtf8); - message.optimizeFor !== undefined && (obj.optimizeFor = fileOptions_OptimizeModeToJSON(message.optimizeFor)); - message.goPackage !== undefined && (obj.goPackage = message.goPackage); - message.ccGenericServices !== undefined && (obj.ccGenericServices = message.ccGenericServices); - message.javaGenericServices !== undefined && (obj.javaGenericServices = message.javaGenericServices); - message.pyGenericServices !== undefined && (obj.pyGenericServices = message.pyGenericServices); - message.phpGenericServices !== undefined && (obj.phpGenericServices = message.phpGenericServices); - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - message.ccEnableArenas !== undefined && (obj.ccEnableArenas = message.ccEnableArenas); - message.objcClassPrefix !== undefined && (obj.objcClassPrefix = message.objcClassPrefix); - message.csharpNamespace !== undefined && (obj.csharpNamespace = message.csharpNamespace); - message.swiftPrefix !== undefined && (obj.swiftPrefix = message.swiftPrefix); - message.phpClassPrefix !== undefined && (obj.phpClassPrefix = message.phpClassPrefix); - message.phpNamespace !== undefined && (obj.phpNamespace = message.phpNamespace); - message.phpMetadataNamespace !== undefined && (obj.phpMetadataNamespace = message.phpMetadataNamespace); - message.rubyPackage !== undefined && (obj.rubyPackage = message.rubyPackage); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, - fromPartial(object: DeepPartial): FileOptions { - const message = createBaseFileOptions(); - message.javaPackage = object.javaPackage ?? ""; - message.javaOuterClassname = object.javaOuterClassname ?? ""; - message.javaMultipleFiles = object.javaMultipleFiles ?? false; - message.javaGenerateEqualsAndHash = object.javaGenerateEqualsAndHash ?? false; - message.javaStringCheckUtf8 = object.javaStringCheckUtf8 ?? false; - message.optimizeFor = object.optimizeFor ?? 1; - message.goPackage = object.goPackage ?? ""; - message.ccGenericServices = object.ccGenericServices ?? false; - message.javaGenericServices = object.javaGenericServices ?? false; - message.pyGenericServices = object.pyGenericServices ?? false; - message.phpGenericServices = object.phpGenericServices ?? false; - message.deprecated = object.deprecated ?? false; - message.ccEnableArenas = object.ccEnableArenas ?? false; - message.objcClassPrefix = object.objcClassPrefix ?? ""; - message.csharpNamespace = object.csharpNamespace ?? ""; - message.swiftPrefix = object.swiftPrefix ?? ""; - message.phpClassPrefix = object.phpClassPrefix ?? ""; - message.phpNamespace = object.phpNamespace ?? ""; - message.phpMetadataNamespace = object.phpMetadataNamespace ?? ""; - message.rubyPackage = object.rubyPackage ?? ""; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - }, - fromSDK(object: FileOptionsSDKType): FileOptions { - return { - javaPackage: object?.java_package, - javaOuterClassname: object?.java_outer_classname, - javaMultipleFiles: object?.java_multiple_files, - javaGenerateEqualsAndHash: object?.java_generate_equals_and_hash, - javaStringCheckUtf8: object?.java_string_check_utf8, - optimizeFor: isSet(object.optimize_for) ? fileOptions_OptimizeModeFromJSON(object.optimize_for) : -1, - goPackage: object?.go_package, - ccGenericServices: object?.cc_generic_services, - javaGenericServices: object?.java_generic_services, - pyGenericServices: object?.py_generic_services, - phpGenericServices: object?.php_generic_services, - deprecated: object?.deprecated, - ccEnableArenas: object?.cc_enable_arenas, - objcClassPrefix: object?.objc_class_prefix, - csharpNamespace: object?.csharp_namespace, - swiftPrefix: object?.swift_prefix, - phpClassPrefix: object?.php_class_prefix, - phpNamespace: object?.php_namespace, - phpMetadataNamespace: object?.php_metadata_namespace, - rubyPackage: object?.ruby_package, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromSDK(e)) : [] - }; - }, - toSDK(message: FileOptions): FileOptionsSDKType { - const obj: any = {}; - obj.java_package = message.javaPackage; - obj.java_outer_classname = message.javaOuterClassname; - obj.java_multiple_files = message.javaMultipleFiles; - obj.java_generate_equals_and_hash = message.javaGenerateEqualsAndHash; - obj.java_string_check_utf8 = message.javaStringCheckUtf8; - message.optimizeFor !== undefined && (obj.optimize_for = fileOptions_OptimizeModeToJSON(message.optimizeFor)); - obj.go_package = message.goPackage; - obj.cc_generic_services = message.ccGenericServices; - obj.java_generic_services = message.javaGenericServices; - obj.py_generic_services = message.pyGenericServices; - obj.php_generic_services = message.phpGenericServices; - obj.deprecated = message.deprecated; - obj.cc_enable_arenas = message.ccEnableArenas; - obj.objc_class_prefix = message.objcClassPrefix; - obj.csharp_namespace = message.csharpNamespace; - obj.swift_prefix = message.swiftPrefix; - obj.php_class_prefix = message.phpClassPrefix; - obj.php_namespace = message.phpNamespace; - obj.php_metadata_namespace = message.phpMetadataNamespace; - obj.ruby_package = message.rubyPackage; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toSDK(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAmino(object: FileOptionsAmino): FileOptions { - return { - javaPackage: object.java_package, - javaOuterClassname: object.java_outer_classname, - javaMultipleFiles: object.java_multiple_files, - javaGenerateEqualsAndHash: object.java_generate_equals_and_hash, - javaStringCheckUtf8: object.java_string_check_utf8, - optimizeFor: isSet(object.optimize_for) ? fileOptions_OptimizeModeFromJSON(object.optimize_for) : -1, - goPackage: object.go_package, - ccGenericServices: object.cc_generic_services, - javaGenericServices: object.java_generic_services, - pyGenericServices: object.py_generic_services, - phpGenericServices: object.php_generic_services, - deprecated: object.deprecated, - ccEnableArenas: object.cc_enable_arenas, - objcClassPrefix: object.objc_class_prefix, - csharpNamespace: object.csharp_namespace, - swiftPrefix: object.swift_prefix, - phpClassPrefix: object.php_class_prefix, - phpNamespace: object.php_namespace, - phpMetadataNamespace: object.php_metadata_namespace, - rubyPackage: object.ruby_package, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromAmino(e)) : [] - }; - }, - toAmino(message: FileOptions): FileOptionsAmino { - const obj: any = {}; - obj.java_package = message.javaPackage; - obj.java_outer_classname = message.javaOuterClassname; - obj.java_multiple_files = message.javaMultipleFiles; - obj.java_generate_equals_and_hash = message.javaGenerateEqualsAndHash; - obj.java_string_check_utf8 = message.javaStringCheckUtf8; - obj.optimize_for = message.optimizeFor; - obj.go_package = message.goPackage; - obj.cc_generic_services = message.ccGenericServices; - obj.java_generic_services = message.javaGenericServices; - obj.py_generic_services = message.pyGenericServices; - obj.php_generic_services = message.phpGenericServices; - obj.deprecated = message.deprecated; - obj.cc_enable_arenas = message.ccEnableArenas; - obj.objc_class_prefix = message.objcClassPrefix; - obj.csharp_namespace = message.csharpNamespace; - obj.swift_prefix = message.swiftPrefix; - obj.php_class_prefix = message.phpClassPrefix; - obj.php_namespace = message.phpNamespace; - obj.php_metadata_namespace = message.phpMetadataNamespace; - obj.ruby_package = message.rubyPackage; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toAmino(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAminoMsg(object: FileOptionsAminoMsg): FileOptions { - return FileOptions.fromAmino(object.value); - }, - fromProtoMsg(message: FileOptionsProtoMsg): FileOptions { - return FileOptions.decode(message.value); - }, - toProto(message: FileOptions): Uint8Array { - return FileOptions.encode(message).finish(); - }, - toProtoMsg(message: FileOptions): FileOptionsProtoMsg { - return { - typeUrl: "/google.protobuf.FileOptions", - value: FileOptions.encode(message).finish() - }; - } -}; -function createBaseMessageOptions(): MessageOptions { - return { - messageSetWireFormat: false, - noStandardDescriptorAccessor: false, - deprecated: false, - mapEntry: false, - uninterpretedOption: [] - }; -} -export const MessageOptions = { - typeUrl: "/google.protobuf.MessageOptions", - encode(message: MessageOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.messageSetWireFormat === true) { - writer.uint32(8).bool(message.messageSetWireFormat); - } - if (message.noStandardDescriptorAccessor === true) { - writer.uint32(16).bool(message.noStandardDescriptorAccessor); - } - if (message.deprecated === true) { - writer.uint32(24).bool(message.deprecated); - } - if (message.mapEntry === true) { - writer.uint32(56).bool(message.mapEntry); - } - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MessageOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMessageOptions(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.messageSetWireFormat = reader.bool(); - break; - case 2: - message.noStandardDescriptorAccessor = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 7: - message.mapEntry = reader.bool(); - break; - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MessageOptions { - const obj = createBaseMessageOptions(); - if (isSet(object.messageSetWireFormat)) obj.messageSetWireFormat = Boolean(object.messageSetWireFormat); - if (isSet(object.noStandardDescriptorAccessor)) obj.noStandardDescriptorAccessor = Boolean(object.noStandardDescriptorAccessor); - if (isSet(object.deprecated)) obj.deprecated = Boolean(object.deprecated); - if (isSet(object.mapEntry)) obj.mapEntry = Boolean(object.mapEntry); - if (Array.isArray(object?.uninterpretedOption)) obj.uninterpretedOption = object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)); - return obj; - }, - toJSON(message: MessageOptions): unknown { - const obj: any = {}; - message.messageSetWireFormat !== undefined && (obj.messageSetWireFormat = message.messageSetWireFormat); - message.noStandardDescriptorAccessor !== undefined && (obj.noStandardDescriptorAccessor = message.noStandardDescriptorAccessor); - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - message.mapEntry !== undefined && (obj.mapEntry = message.mapEntry); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MessageOptions { - const message = createBaseMessageOptions(); - message.messageSetWireFormat = object.messageSetWireFormat ?? false; - message.noStandardDescriptorAccessor = object.noStandardDescriptorAccessor ?? false; - message.deprecated = object.deprecated ?? false; - message.mapEntry = object.mapEntry ?? false; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MessageOptionsSDKType): MessageOptions { - return { - messageSetWireFormat: object?.message_set_wire_format, - noStandardDescriptorAccessor: object?.no_standard_descriptor_accessor, - deprecated: object?.deprecated, - mapEntry: object?.map_entry, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromSDK(e)) : [] - }; - }, - toSDK(message: MessageOptions): MessageOptionsSDKType { - const obj: any = {}; - obj.message_set_wire_format = message.messageSetWireFormat; - obj.no_standard_descriptor_accessor = message.noStandardDescriptorAccessor; - obj.deprecated = message.deprecated; - obj.map_entry = message.mapEntry; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toSDK(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAmino(object: MessageOptionsAmino): MessageOptions { - return { - messageSetWireFormat: object.message_set_wire_format, - noStandardDescriptorAccessor: object.no_standard_descriptor_accessor, - deprecated: object.deprecated, - mapEntry: object.map_entry, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromAmino(e)) : [] - }; - }, - toAmino(message: MessageOptions): MessageOptionsAmino { - const obj: any = {}; - obj.message_set_wire_format = message.messageSetWireFormat; - obj.no_standard_descriptor_accessor = message.noStandardDescriptorAccessor; - obj.deprecated = message.deprecated; - obj.map_entry = message.mapEntry; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toAmino(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAminoMsg(object: MessageOptionsAminoMsg): MessageOptions { - return MessageOptions.fromAmino(object.value); - }, - fromProtoMsg(message: MessageOptionsProtoMsg): MessageOptions { - return MessageOptions.decode(message.value); - }, - toProto(message: MessageOptions): Uint8Array { - return MessageOptions.encode(message).finish(); - }, - toProtoMsg(message: MessageOptions): MessageOptionsProtoMsg { - return { - typeUrl: "/google.protobuf.MessageOptions", - value: MessageOptions.encode(message).finish() - }; - } -}; -function createBaseFieldOptions(): FieldOptions { - return { - ctype: 1, - packed: false, - jstype: 1, - lazy: false, - deprecated: false, - weak: false, - uninterpretedOption: [] - }; -} -export const FieldOptions = { - typeUrl: "/google.protobuf.FieldOptions", - encode(message: FieldOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.ctype !== 1) { - writer.uint32(8).int32(message.ctype); - } - if (message.packed === true) { - writer.uint32(16).bool(message.packed); - } - if (message.jstype !== 1) { - writer.uint32(48).int32(message.jstype); - } - if (message.lazy === true) { - writer.uint32(40).bool(message.lazy); - } - if (message.deprecated === true) { - writer.uint32(24).bool(message.deprecated); - } - if (message.weak === true) { - writer.uint32(80).bool(message.weak); - } - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFieldOptions(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.ctype = (reader.int32() as any); - break; - case 2: - message.packed = reader.bool(); - break; - case 6: - message.jstype = (reader.int32() as any); - break; - case 5: - message.lazy = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 10: - message.weak = reader.bool(); - break; - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): FieldOptions { - const obj = createBaseFieldOptions(); - if (isSet(object.ctype)) obj.ctype = fieldOptions_CTypeFromJSON(object.ctype); - if (isSet(object.packed)) obj.packed = Boolean(object.packed); - if (isSet(object.jstype)) obj.jstype = fieldOptions_JSTypeFromJSON(object.jstype); - if (isSet(object.lazy)) obj.lazy = Boolean(object.lazy); - if (isSet(object.deprecated)) obj.deprecated = Boolean(object.deprecated); - if (isSet(object.weak)) obj.weak = Boolean(object.weak); - if (Array.isArray(object?.uninterpretedOption)) obj.uninterpretedOption = object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)); - return obj; - }, - toJSON(message: FieldOptions): unknown { - const obj: any = {}; - message.ctype !== undefined && (obj.ctype = fieldOptions_CTypeToJSON(message.ctype)); - message.packed !== undefined && (obj.packed = message.packed); - message.jstype !== undefined && (obj.jstype = fieldOptions_JSTypeToJSON(message.jstype)); - message.lazy !== undefined && (obj.lazy = message.lazy); - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - message.weak !== undefined && (obj.weak = message.weak); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, - fromPartial(object: DeepPartial): FieldOptions { - const message = createBaseFieldOptions(); - message.ctype = object.ctype ?? 1; - message.packed = object.packed ?? false; - message.jstype = object.jstype ?? 1; - message.lazy = object.lazy ?? false; - message.deprecated = object.deprecated ?? false; - message.weak = object.weak ?? false; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - }, - fromSDK(object: FieldOptionsSDKType): FieldOptions { - return { - ctype: isSet(object.ctype) ? fieldOptions_CTypeFromJSON(object.ctype) : -1, - packed: object?.packed, - jstype: isSet(object.jstype) ? fieldOptions_JSTypeFromJSON(object.jstype) : -1, - lazy: object?.lazy, - deprecated: object?.deprecated, - weak: object?.weak, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromSDK(e)) : [] - }; - }, - toSDK(message: FieldOptions): FieldOptionsSDKType { - const obj: any = {}; - message.ctype !== undefined && (obj.ctype = fieldOptions_CTypeToJSON(message.ctype)); - obj.packed = message.packed; - message.jstype !== undefined && (obj.jstype = fieldOptions_JSTypeToJSON(message.jstype)); - obj.lazy = message.lazy; - obj.deprecated = message.deprecated; - obj.weak = message.weak; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toSDK(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAmino(object: FieldOptionsAmino): FieldOptions { - return { - ctype: isSet(object.ctype) ? fieldOptions_CTypeFromJSON(object.ctype) : -1, - packed: object.packed, - jstype: isSet(object.jstype) ? fieldOptions_JSTypeFromJSON(object.jstype) : -1, - lazy: object.lazy, - deprecated: object.deprecated, - weak: object.weak, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromAmino(e)) : [] - }; - }, - toAmino(message: FieldOptions): FieldOptionsAmino { - const obj: any = {}; - obj.ctype = message.ctype; - obj.packed = message.packed; - obj.jstype = message.jstype; - obj.lazy = message.lazy; - obj.deprecated = message.deprecated; - obj.weak = message.weak; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toAmino(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAminoMsg(object: FieldOptionsAminoMsg): FieldOptions { - return FieldOptions.fromAmino(object.value); - }, - fromProtoMsg(message: FieldOptionsProtoMsg): FieldOptions { - return FieldOptions.decode(message.value); - }, - toProto(message: FieldOptions): Uint8Array { - return FieldOptions.encode(message).finish(); - }, - toProtoMsg(message: FieldOptions): FieldOptionsProtoMsg { - return { - typeUrl: "/google.protobuf.FieldOptions", - value: FieldOptions.encode(message).finish() - }; - } -}; -function createBaseOneofOptions(): OneofOptions { - return { - uninterpretedOption: [] - }; -} -export const OneofOptions = { - typeUrl: "/google.protobuf.OneofOptions", - encode(message: OneofOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): OneofOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOneofOptions(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): OneofOptions { - const obj = createBaseOneofOptions(); - if (Array.isArray(object?.uninterpretedOption)) obj.uninterpretedOption = object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)); - return obj; - }, - toJSON(message: OneofOptions): unknown { - const obj: any = {}; - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, - fromPartial(object: DeepPartial): OneofOptions { - const message = createBaseOneofOptions(); - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - }, - fromSDK(object: OneofOptionsSDKType): OneofOptions { - return { - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromSDK(e)) : [] - }; - }, - toSDK(message: OneofOptions): OneofOptionsSDKType { - const obj: any = {}; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toSDK(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAmino(object: OneofOptionsAmino): OneofOptions { - return { - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromAmino(e)) : [] - }; - }, - toAmino(message: OneofOptions): OneofOptionsAmino { - const obj: any = {}; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toAmino(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAminoMsg(object: OneofOptionsAminoMsg): OneofOptions { - return OneofOptions.fromAmino(object.value); - }, - fromProtoMsg(message: OneofOptionsProtoMsg): OneofOptions { - return OneofOptions.decode(message.value); - }, - toProto(message: OneofOptions): Uint8Array { - return OneofOptions.encode(message).finish(); - }, - toProtoMsg(message: OneofOptions): OneofOptionsProtoMsg { - return { - typeUrl: "/google.protobuf.OneofOptions", - value: OneofOptions.encode(message).finish() - }; - } -}; -function createBaseEnumOptions(): EnumOptions { - return { - allowAlias: false, - deprecated: false, - uninterpretedOption: [] - }; -} -export const EnumOptions = { - typeUrl: "/google.protobuf.EnumOptions", - encode(message: EnumOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.allowAlias === true) { - writer.uint32(16).bool(message.allowAlias); - } - if (message.deprecated === true) { - writer.uint32(24).bool(message.deprecated); - } - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EnumOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumOptions(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.allowAlias = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EnumOptions { - const obj = createBaseEnumOptions(); - if (isSet(object.allowAlias)) obj.allowAlias = Boolean(object.allowAlias); - if (isSet(object.deprecated)) obj.deprecated = Boolean(object.deprecated); - if (Array.isArray(object?.uninterpretedOption)) obj.uninterpretedOption = object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)); - return obj; - }, - toJSON(message: EnumOptions): unknown { - const obj: any = {}; - message.allowAlias !== undefined && (obj.allowAlias = message.allowAlias); - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, - fromPartial(object: DeepPartial): EnumOptions { - const message = createBaseEnumOptions(); - message.allowAlias = object.allowAlias ?? false; - message.deprecated = object.deprecated ?? false; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - }, - fromSDK(object: EnumOptionsSDKType): EnumOptions { - return { - allowAlias: object?.allow_alias, - deprecated: object?.deprecated, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromSDK(e)) : [] - }; - }, - toSDK(message: EnumOptions): EnumOptionsSDKType { - const obj: any = {}; - obj.allow_alias = message.allowAlias; - obj.deprecated = message.deprecated; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toSDK(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAmino(object: EnumOptionsAmino): EnumOptions { - return { - allowAlias: object.allow_alias, - deprecated: object.deprecated, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromAmino(e)) : [] - }; - }, - toAmino(message: EnumOptions): EnumOptionsAmino { - const obj: any = {}; - obj.allow_alias = message.allowAlias; - obj.deprecated = message.deprecated; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toAmino(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAminoMsg(object: EnumOptionsAminoMsg): EnumOptions { - return EnumOptions.fromAmino(object.value); - }, - fromProtoMsg(message: EnumOptionsProtoMsg): EnumOptions { - return EnumOptions.decode(message.value); - }, - toProto(message: EnumOptions): Uint8Array { - return EnumOptions.encode(message).finish(); - }, - toProtoMsg(message: EnumOptions): EnumOptionsProtoMsg { - return { - typeUrl: "/google.protobuf.EnumOptions", - value: EnumOptions.encode(message).finish() - }; - } -}; -function createBaseEnumValueOptions(): EnumValueOptions { - return { - deprecated: false, - uninterpretedOption: [] - }; -} -export const EnumValueOptions = { - typeUrl: "/google.protobuf.EnumValueOptions", - encode(message: EnumValueOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.deprecated === true) { - writer.uint32(8).bool(message.deprecated); - } - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumValueOptions(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.deprecated = reader.bool(); - break; - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EnumValueOptions { - const obj = createBaseEnumValueOptions(); - if (isSet(object.deprecated)) obj.deprecated = Boolean(object.deprecated); - if (Array.isArray(object?.uninterpretedOption)) obj.uninterpretedOption = object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)); - return obj; - }, - toJSON(message: EnumValueOptions): unknown { - const obj: any = {}; - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, - fromPartial(object: DeepPartial): EnumValueOptions { - const message = createBaseEnumValueOptions(); - message.deprecated = object.deprecated ?? false; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - }, - fromSDK(object: EnumValueOptionsSDKType): EnumValueOptions { - return { - deprecated: object?.deprecated, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromSDK(e)) : [] - }; - }, - toSDK(message: EnumValueOptions): EnumValueOptionsSDKType { - const obj: any = {}; - obj.deprecated = message.deprecated; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toSDK(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAmino(object: EnumValueOptionsAmino): EnumValueOptions { - return { - deprecated: object.deprecated, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromAmino(e)) : [] - }; - }, - toAmino(message: EnumValueOptions): EnumValueOptionsAmino { - const obj: any = {}; - obj.deprecated = message.deprecated; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toAmino(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAminoMsg(object: EnumValueOptionsAminoMsg): EnumValueOptions { - return EnumValueOptions.fromAmino(object.value); - }, - fromProtoMsg(message: EnumValueOptionsProtoMsg): EnumValueOptions { - return EnumValueOptions.decode(message.value); - }, - toProto(message: EnumValueOptions): Uint8Array { - return EnumValueOptions.encode(message).finish(); - }, - toProtoMsg(message: EnumValueOptions): EnumValueOptionsProtoMsg { - return { - typeUrl: "/google.protobuf.EnumValueOptions", - value: EnumValueOptions.encode(message).finish() - }; - } -}; -function createBaseServiceOptions(): ServiceOptions { - return { - deprecated: false, - uninterpretedOption: [] - }; -} -export const ServiceOptions = { - typeUrl: "/google.protobuf.ServiceOptions", - encode(message: ServiceOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.deprecated === true) { - writer.uint32(264).bool(message.deprecated); - } - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ServiceOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseServiceOptions(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 33: - message.deprecated = reader.bool(); - break; - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ServiceOptions { - const obj = createBaseServiceOptions(); - if (isSet(object.deprecated)) obj.deprecated = Boolean(object.deprecated); - if (Array.isArray(object?.uninterpretedOption)) obj.uninterpretedOption = object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)); - return obj; - }, - toJSON(message: ServiceOptions): unknown { - const obj: any = {}; - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ServiceOptions { - const message = createBaseServiceOptions(); - message.deprecated = object.deprecated ?? false; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ServiceOptionsSDKType): ServiceOptions { - return { - deprecated: object?.deprecated, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromSDK(e)) : [] - }; - }, - toSDK(message: ServiceOptions): ServiceOptionsSDKType { - const obj: any = {}; - obj.deprecated = message.deprecated; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toSDK(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAmino(object: ServiceOptionsAmino): ServiceOptions { - return { - deprecated: object.deprecated, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromAmino(e)) : [] - }; - }, - toAmino(message: ServiceOptions): ServiceOptionsAmino { - const obj: any = {}; - obj.deprecated = message.deprecated; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toAmino(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAminoMsg(object: ServiceOptionsAminoMsg): ServiceOptions { - return ServiceOptions.fromAmino(object.value); - }, - fromProtoMsg(message: ServiceOptionsProtoMsg): ServiceOptions { - return ServiceOptions.decode(message.value); - }, - toProto(message: ServiceOptions): Uint8Array { - return ServiceOptions.encode(message).finish(); - }, - toProtoMsg(message: ServiceOptions): ServiceOptionsProtoMsg { - return { - typeUrl: "/google.protobuf.ServiceOptions", - value: ServiceOptions.encode(message).finish() - }; - } -}; -function createBaseMethodOptions(): MethodOptions { - return { - deprecated: false, - idempotencyLevel: 1, - uninterpretedOption: [] - }; -} -export const MethodOptions = { - typeUrl: "/google.protobuf.MethodOptions", - encode(message: MethodOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.deprecated === true) { - writer.uint32(264).bool(message.deprecated); - } - if (message.idempotencyLevel !== 1) { - writer.uint32(272).int32(message.idempotencyLevel); - } - for (const v of message.uninterpretedOption) { - UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): MethodOptions { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMethodOptions(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 33: - message.deprecated = reader.bool(); - break; - case 34: - message.idempotencyLevel = (reader.int32() as any); - break; - case 999: - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): MethodOptions { - const obj = createBaseMethodOptions(); - if (isSet(object.deprecated)) obj.deprecated = Boolean(object.deprecated); - if (isSet(object.idempotencyLevel)) obj.idempotencyLevel = methodOptions_IdempotencyLevelFromJSON(object.idempotencyLevel); - if (Array.isArray(object?.uninterpretedOption)) obj.uninterpretedOption = object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)); - return obj; - }, - toJSON(message: MethodOptions): unknown { - const obj: any = {}; - message.deprecated !== undefined && (obj.deprecated = message.deprecated); - message.idempotencyLevel !== undefined && (obj.idempotencyLevel = methodOptions_IdempotencyLevelToJSON(message.idempotencyLevel)); - if (message.uninterpretedOption) { - obj.uninterpretedOption = message.uninterpretedOption.map(e => e ? UninterpretedOption.toJSON(e) : undefined); - } else { - obj.uninterpretedOption = []; - } - return obj; - }, - fromPartial(object: DeepPartial): MethodOptions { - const message = createBaseMethodOptions(); - message.deprecated = object.deprecated ?? false; - message.idempotencyLevel = object.idempotencyLevel ?? 1; - message.uninterpretedOption = object.uninterpretedOption?.map(e => UninterpretedOption.fromPartial(e)) || []; - return message; - }, - fromSDK(object: MethodOptionsSDKType): MethodOptions { - return { - deprecated: object?.deprecated, - idempotencyLevel: isSet(object.idempotency_level) ? methodOptions_IdempotencyLevelFromJSON(object.idempotency_level) : -1, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromSDK(e)) : [] - }; - }, - toSDK(message: MethodOptions): MethodOptionsSDKType { - const obj: any = {}; - obj.deprecated = message.deprecated; - message.idempotencyLevel !== undefined && (obj.idempotency_level = methodOptions_IdempotencyLevelToJSON(message.idempotencyLevel)); - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toSDK(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAmino(object: MethodOptionsAmino): MethodOptions { - return { - deprecated: object.deprecated, - idempotencyLevel: isSet(object.idempotency_level) ? methodOptions_IdempotencyLevelFromJSON(object.idempotency_level) : -1, - uninterpretedOption: Array.isArray(object?.uninterpreted_option) ? object.uninterpreted_option.map((e: any) => UninterpretedOption.fromAmino(e)) : [] - }; - }, - toAmino(message: MethodOptions): MethodOptionsAmino { - const obj: any = {}; - obj.deprecated = message.deprecated; - obj.idempotency_level = message.idempotencyLevel; - if (message.uninterpretedOption) { - obj.uninterpreted_option = message.uninterpretedOption.map(e => e ? UninterpretedOption.toAmino(e) : undefined); - } else { - obj.uninterpreted_option = []; - } - return obj; - }, - fromAminoMsg(object: MethodOptionsAminoMsg): MethodOptions { - return MethodOptions.fromAmino(object.value); - }, - fromProtoMsg(message: MethodOptionsProtoMsg): MethodOptions { - return MethodOptions.decode(message.value); - }, - toProto(message: MethodOptions): Uint8Array { - return MethodOptions.encode(message).finish(); - }, - toProtoMsg(message: MethodOptions): MethodOptionsProtoMsg { - return { - typeUrl: "/google.protobuf.MethodOptions", - value: MethodOptions.encode(message).finish() - }; - } -}; -function createBaseUninterpretedOption(): UninterpretedOption { - return { - name: [], - identifierValue: "", - positiveIntValue: Long.UZERO, - negativeIntValue: Long.ZERO, - doubleValue: 0, - stringValue: new Uint8Array(), - aggregateValue: "" - }; -} -export const UninterpretedOption = { - typeUrl: "/google.protobuf.UninterpretedOption", - encode(message: UninterpretedOption, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.name) { - UninterpretedOption_NamePart.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.identifierValue !== "") { - writer.uint32(26).string(message.identifierValue); - } - if (!message.positiveIntValue.isZero()) { - writer.uint32(32).uint64(message.positiveIntValue); - } - if (!message.negativeIntValue.isZero()) { - writer.uint32(40).int64(message.negativeIntValue); - } - if (message.doubleValue !== 0) { - writer.uint32(49).double(message.doubleValue); - } - if (message.stringValue.length !== 0) { - writer.uint32(58).bytes(message.stringValue); - } - if (message.aggregateValue !== "") { - writer.uint32(66).string(message.aggregateValue); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUninterpretedOption(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 2: - message.name.push(UninterpretedOption_NamePart.decode(reader, reader.uint32())); - break; - case 3: - message.identifierValue = reader.string(); - break; - case 4: - message.positiveIntValue = (reader.uint64() as Long); - break; - case 5: - message.negativeIntValue = (reader.int64() as Long); - break; - case 6: - message.doubleValue = reader.double(); - break; - case 7: - message.stringValue = reader.bytes(); - break; - case 8: - message.aggregateValue = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UninterpretedOption { - const obj = createBaseUninterpretedOption(); - if (Array.isArray(object?.name)) obj.name = object.name.map((e: any) => UninterpretedOption_NamePart.fromJSON(e)); - if (isSet(object.identifierValue)) obj.identifierValue = String(object.identifierValue); - if (isSet(object.positiveIntValue)) obj.positiveIntValue = Long.fromValue(object.positiveIntValue); - if (isSet(object.negativeIntValue)) obj.negativeIntValue = Long.fromValue(object.negativeIntValue); - if (isSet(object.doubleValue)) obj.doubleValue = Number(object.doubleValue); - if (isSet(object.stringValue)) obj.stringValue = bytesFromBase64(object.stringValue); - if (isSet(object.aggregateValue)) obj.aggregateValue = String(object.aggregateValue); - return obj; - }, - toJSON(message: UninterpretedOption): unknown { - const obj: any = {}; - if (message.name) { - obj.name = message.name.map(e => e ? UninterpretedOption_NamePart.toJSON(e) : undefined); - } else { - obj.name = []; - } - message.identifierValue !== undefined && (obj.identifierValue = message.identifierValue); - message.positiveIntValue !== undefined && (obj.positiveIntValue = (message.positiveIntValue || Long.UZERO).toString()); - message.negativeIntValue !== undefined && (obj.negativeIntValue = (message.negativeIntValue || Long.ZERO).toString()); - message.doubleValue !== undefined && (obj.doubleValue = message.doubleValue); - message.stringValue !== undefined && (obj.stringValue = base64FromBytes(message.stringValue !== undefined ? message.stringValue : new Uint8Array())); - message.aggregateValue !== undefined && (obj.aggregateValue = message.aggregateValue); - return obj; - }, - fromPartial(object: DeepPartial): UninterpretedOption { - const message = createBaseUninterpretedOption(); - message.name = object.name?.map(e => UninterpretedOption_NamePart.fromPartial(e)) || []; - message.identifierValue = object.identifierValue ?? ""; - if (object.positiveIntValue !== undefined && object.positiveIntValue !== null) { - message.positiveIntValue = Long.fromValue(object.positiveIntValue); - } - if (object.negativeIntValue !== undefined && object.negativeIntValue !== null) { - message.negativeIntValue = Long.fromValue(object.negativeIntValue); - } - message.doubleValue = object.doubleValue ?? 0; - message.stringValue = object.stringValue ?? new Uint8Array(); - message.aggregateValue = object.aggregateValue ?? ""; - return message; - }, - fromSDK(object: UninterpretedOptionSDKType): UninterpretedOption { - return { - name: Array.isArray(object?.name) ? object.name.map((e: any) => UninterpretedOption_NamePart.fromSDK(e)) : [], - identifierValue: object?.identifier_value, - positiveIntValue: object?.positive_int_value, - negativeIntValue: object?.negative_int_value, - doubleValue: object?.double_value, - stringValue: object?.string_value, - aggregateValue: object?.aggregate_value - }; - }, - toSDK(message: UninterpretedOption): UninterpretedOptionSDKType { - const obj: any = {}; - if (message.name) { - obj.name = message.name.map(e => e ? UninterpretedOption_NamePart.toSDK(e) : undefined); - } else { - obj.name = []; - } - obj.identifier_value = message.identifierValue; - obj.positive_int_value = message.positiveIntValue; - obj.negative_int_value = message.negativeIntValue; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - obj.aggregate_value = message.aggregateValue; - return obj; - }, - fromAmino(object: UninterpretedOptionAmino): UninterpretedOption { - return { - name: Array.isArray(object?.name) ? object.name.map((e: any) => UninterpretedOption_NamePart.fromAmino(e)) : [], - identifierValue: object.identifier_value, - positiveIntValue: Long.fromString(object.positive_int_value), - negativeIntValue: Long.fromString(object.negative_int_value), - doubleValue: object.double_value, - stringValue: object.string_value, - aggregateValue: object.aggregate_value - }; - }, - toAmino(message: UninterpretedOption): UninterpretedOptionAmino { - const obj: any = {}; - if (message.name) { - obj.name = message.name.map(e => e ? UninterpretedOption_NamePart.toAmino(e) : undefined); - } else { - obj.name = []; - } - obj.identifier_value = message.identifierValue; - obj.positive_int_value = message.positiveIntValue ? message.positiveIntValue.toString() : undefined; - obj.negative_int_value = message.negativeIntValue ? message.negativeIntValue.toString() : undefined; - obj.double_value = message.doubleValue; - obj.string_value = message.stringValue; - obj.aggregate_value = message.aggregateValue; - return obj; - }, - fromAminoMsg(object: UninterpretedOptionAminoMsg): UninterpretedOption { - return UninterpretedOption.fromAmino(object.value); - }, - fromProtoMsg(message: UninterpretedOptionProtoMsg): UninterpretedOption { - return UninterpretedOption.decode(message.value); - }, - toProto(message: UninterpretedOption): Uint8Array { - return UninterpretedOption.encode(message).finish(); - }, - toProtoMsg(message: UninterpretedOption): UninterpretedOptionProtoMsg { - return { - typeUrl: "/google.protobuf.UninterpretedOption", - value: UninterpretedOption.encode(message).finish() - }; - } -}; -function createBaseUninterpretedOption_NamePart(): UninterpretedOption_NamePart { - return { - namePart: "", - isExtension: false - }; -} -export const UninterpretedOption_NamePart = { - typeUrl: "/google.protobuf.NamePart", - encode(message: UninterpretedOption_NamePart, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.namePart !== "") { - writer.uint32(10).string(message.namePart); - } - if (message.isExtension === true) { - writer.uint32(16).bool(message.isExtension); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption_NamePart { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUninterpretedOption_NamePart(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.namePart = reader.string(); - break; - case 2: - message.isExtension = reader.bool(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): UninterpretedOption_NamePart { - const obj = createBaseUninterpretedOption_NamePart(); - if (isSet(object.namePart)) obj.namePart = String(object.namePart); - if (isSet(object.isExtension)) obj.isExtension = Boolean(object.isExtension); - return obj; - }, - toJSON(message: UninterpretedOption_NamePart): unknown { - const obj: any = {}; - message.namePart !== undefined && (obj.namePart = message.namePart); - message.isExtension !== undefined && (obj.isExtension = message.isExtension); - return obj; - }, - fromPartial(object: DeepPartial): UninterpretedOption_NamePart { - const message = createBaseUninterpretedOption_NamePart(); - message.namePart = object.namePart ?? ""; - message.isExtension = object.isExtension ?? false; - return message; - }, - fromSDK(object: UninterpretedOption_NamePartSDKType): UninterpretedOption_NamePart { - return { - namePart: object?.name_part, - isExtension: object?.is_extension - }; - }, - toSDK(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartSDKType { - const obj: any = {}; - obj.name_part = message.namePart; - obj.is_extension = message.isExtension; - return obj; - }, - fromAmino(object: UninterpretedOption_NamePartAmino): UninterpretedOption_NamePart { - return { - namePart: object.name_part, - isExtension: object.is_extension - }; - }, - toAmino(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartAmino { - const obj: any = {}; - obj.name_part = message.namePart; - obj.is_extension = message.isExtension; - return obj; - }, - fromAminoMsg(object: UninterpretedOption_NamePartAminoMsg): UninterpretedOption_NamePart { - return UninterpretedOption_NamePart.fromAmino(object.value); - }, - fromProtoMsg(message: UninterpretedOption_NamePartProtoMsg): UninterpretedOption_NamePart { - return UninterpretedOption_NamePart.decode(message.value); - }, - toProto(message: UninterpretedOption_NamePart): Uint8Array { - return UninterpretedOption_NamePart.encode(message).finish(); - }, - toProtoMsg(message: UninterpretedOption_NamePart): UninterpretedOption_NamePartProtoMsg { - return { - typeUrl: "/google.protobuf.NamePart", - value: UninterpretedOption_NamePart.encode(message).finish() - }; - } -}; -function createBaseSourceCodeInfo(): SourceCodeInfo { - return { - location: [] - }; -} -export const SourceCodeInfo = { - typeUrl: "/google.protobuf.SourceCodeInfo", - encode(message: SourceCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.location) { - SourceCodeInfo_Location.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourceCodeInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.location.push(SourceCodeInfo_Location.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SourceCodeInfo { - const obj = createBaseSourceCodeInfo(); - if (Array.isArray(object?.location)) obj.location = object.location.map((e: any) => SourceCodeInfo_Location.fromJSON(e)); - return obj; - }, - toJSON(message: SourceCodeInfo): unknown { - const obj: any = {}; - if (message.location) { - obj.location = message.location.map(e => e ? SourceCodeInfo_Location.toJSON(e) : undefined); - } else { - obj.location = []; - } - return obj; - }, - fromPartial(object: DeepPartial): SourceCodeInfo { - const message = createBaseSourceCodeInfo(); - message.location = object.location?.map(e => SourceCodeInfo_Location.fromPartial(e)) || []; - return message; - }, - fromSDK(object: SourceCodeInfoSDKType): SourceCodeInfo { - return { - location: Array.isArray(object?.location) ? object.location.map((e: any) => SourceCodeInfo_Location.fromSDK(e)) : [] - }; - }, - toSDK(message: SourceCodeInfo): SourceCodeInfoSDKType { - const obj: any = {}; - if (message.location) { - obj.location = message.location.map(e => e ? SourceCodeInfo_Location.toSDK(e) : undefined); - } else { - obj.location = []; - } - return obj; - }, - fromAmino(object: SourceCodeInfoAmino): SourceCodeInfo { - return { - location: Array.isArray(object?.location) ? object.location.map((e: any) => SourceCodeInfo_Location.fromAmino(e)) : [] - }; - }, - toAmino(message: SourceCodeInfo): SourceCodeInfoAmino { - const obj: any = {}; - if (message.location) { - obj.location = message.location.map(e => e ? SourceCodeInfo_Location.toAmino(e) : undefined); - } else { - obj.location = []; - } - return obj; - }, - fromAminoMsg(object: SourceCodeInfoAminoMsg): SourceCodeInfo { - return SourceCodeInfo.fromAmino(object.value); - }, - fromProtoMsg(message: SourceCodeInfoProtoMsg): SourceCodeInfo { - return SourceCodeInfo.decode(message.value); - }, - toProto(message: SourceCodeInfo): Uint8Array { - return SourceCodeInfo.encode(message).finish(); - }, - toProtoMsg(message: SourceCodeInfo): SourceCodeInfoProtoMsg { - return { - typeUrl: "/google.protobuf.SourceCodeInfo", - value: SourceCodeInfo.encode(message).finish() - }; - } -}; -function createBaseSourceCodeInfo_Location(): SourceCodeInfo_Location { - return { - path: [], - span: [], - leadingComments: "", - trailingComments: "", - leadingDetachedComments: [] - }; -} -export const SourceCodeInfo_Location = { - typeUrl: "/google.protobuf.Location", - encode(message: SourceCodeInfo_Location, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - for (const v of message.path) { - writer.int32(v); - } - writer.ldelim(); - writer.uint32(18).fork(); - for (const v of message.span) { - writer.int32(v); - } - writer.ldelim(); - if (message.leadingComments !== "") { - writer.uint32(26).string(message.leadingComments); - } - if (message.trailingComments !== "") { - writer.uint32(34).string(message.trailingComments); - } - for (const v of message.leadingDetachedComments) { - writer.uint32(50).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo_Location { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourceCodeInfo_Location(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.path.push(reader.int32()); - } - } else { - message.path.push(reader.int32()); - } - break; - case 2: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.span.push(reader.int32()); - } - } else { - message.span.push(reader.int32()); - } - break; - case 3: - message.leadingComments = reader.string(); - break; - case 4: - message.trailingComments = reader.string(); - break; - case 6: - message.leadingDetachedComments.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SourceCodeInfo_Location { - const obj = createBaseSourceCodeInfo_Location(); - if (Array.isArray(object?.path)) obj.path = object.path.map((e: any) => Number(e)); - if (Array.isArray(object?.span)) obj.span = object.span.map((e: any) => Number(e)); - if (isSet(object.leadingComments)) obj.leadingComments = String(object.leadingComments); - if (isSet(object.trailingComments)) obj.trailingComments = String(object.trailingComments); - if (Array.isArray(object?.leadingDetachedComments)) obj.leadingDetachedComments = object.leadingDetachedComments.map((e: any) => String(e)); - return obj; - }, - toJSON(message: SourceCodeInfo_Location): unknown { - const obj: any = {}; - if (message.path) { - obj.path = message.path.map(e => Math.round(e)); - } else { - obj.path = []; - } - if (message.span) { - obj.span = message.span.map(e => Math.round(e)); - } else { - obj.span = []; - } - message.leadingComments !== undefined && (obj.leadingComments = message.leadingComments); - message.trailingComments !== undefined && (obj.trailingComments = message.trailingComments); - if (message.leadingDetachedComments) { - obj.leadingDetachedComments = message.leadingDetachedComments.map(e => e); - } else { - obj.leadingDetachedComments = []; - } - return obj; - }, - fromPartial(object: DeepPartial): SourceCodeInfo_Location { - const message = createBaseSourceCodeInfo_Location(); - message.path = object.path?.map(e => e) || []; - message.span = object.span?.map(e => e) || []; - message.leadingComments = object.leadingComments ?? ""; - message.trailingComments = object.trailingComments ?? ""; - message.leadingDetachedComments = object.leadingDetachedComments?.map(e => e) || []; - return message; - }, - fromSDK(object: SourceCodeInfo_LocationSDKType): SourceCodeInfo_Location { - return { - path: Array.isArray(object?.path) ? object.path.map((e: any) => e) : [], - span: Array.isArray(object?.span) ? object.span.map((e: any) => e) : [], - leadingComments: object?.leading_comments, - trailingComments: object?.trailing_comments, - leadingDetachedComments: Array.isArray(object?.leading_detached_comments) ? object.leading_detached_comments.map((e: any) => e) : [] - }; - }, - toSDK(message: SourceCodeInfo_Location): SourceCodeInfo_LocationSDKType { - const obj: any = {}; - if (message.path) { - obj.path = message.path.map(e => e); - } else { - obj.path = []; - } - if (message.span) { - obj.span = message.span.map(e => e); - } else { - obj.span = []; - } - obj.leading_comments = message.leadingComments; - obj.trailing_comments = message.trailingComments; - if (message.leadingDetachedComments) { - obj.leading_detached_comments = message.leadingDetachedComments.map(e => e); - } else { - obj.leading_detached_comments = []; - } - return obj; - }, - fromAmino(object: SourceCodeInfo_LocationAmino): SourceCodeInfo_Location { - return { - path: Array.isArray(object?.path) ? object.path.map((e: any) => e) : [], - span: Array.isArray(object?.span) ? object.span.map((e: any) => e) : [], - leadingComments: object.leading_comments, - trailingComments: object.trailing_comments, - leadingDetachedComments: Array.isArray(object?.leading_detached_comments) ? object.leading_detached_comments.map((e: any) => e) : [] - }; - }, - toAmino(message: SourceCodeInfo_Location): SourceCodeInfo_LocationAmino { - const obj: any = {}; - if (message.path) { - obj.path = message.path.map(e => e); - } else { - obj.path = []; - } - if (message.span) { - obj.span = message.span.map(e => e); - } else { - obj.span = []; - } - obj.leading_comments = message.leadingComments; - obj.trailing_comments = message.trailingComments; - if (message.leadingDetachedComments) { - obj.leading_detached_comments = message.leadingDetachedComments.map(e => e); - } else { - obj.leading_detached_comments = []; - } - return obj; - }, - fromAminoMsg(object: SourceCodeInfo_LocationAminoMsg): SourceCodeInfo_Location { - return SourceCodeInfo_Location.fromAmino(object.value); - }, - fromProtoMsg(message: SourceCodeInfo_LocationProtoMsg): SourceCodeInfo_Location { - return SourceCodeInfo_Location.decode(message.value); - }, - toProto(message: SourceCodeInfo_Location): Uint8Array { - return SourceCodeInfo_Location.encode(message).finish(); - }, - toProtoMsg(message: SourceCodeInfo_Location): SourceCodeInfo_LocationProtoMsg { - return { - typeUrl: "/google.protobuf.Location", - value: SourceCodeInfo_Location.encode(message).finish() - }; - } -}; -function createBaseGeneratedCodeInfo(): GeneratedCodeInfo { - return { - annotation: [] - }; -} -export const GeneratedCodeInfo = { - typeUrl: "/google.protobuf.GeneratedCodeInfo", - encode(message: GeneratedCodeInfo, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.annotation) { - GeneratedCodeInfo_Annotation.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGeneratedCodeInfo(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.annotation.push(GeneratedCodeInfo_Annotation.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GeneratedCodeInfo { - const obj = createBaseGeneratedCodeInfo(); - if (Array.isArray(object?.annotation)) obj.annotation = object.annotation.map((e: any) => GeneratedCodeInfo_Annotation.fromJSON(e)); - return obj; - }, - toJSON(message: GeneratedCodeInfo): unknown { - const obj: any = {}; - if (message.annotation) { - obj.annotation = message.annotation.map(e => e ? GeneratedCodeInfo_Annotation.toJSON(e) : undefined); - } else { - obj.annotation = []; - } - return obj; - }, - fromPartial(object: DeepPartial): GeneratedCodeInfo { - const message = createBaseGeneratedCodeInfo(); - message.annotation = object.annotation?.map(e => GeneratedCodeInfo_Annotation.fromPartial(e)) || []; - return message; - }, - fromSDK(object: GeneratedCodeInfoSDKType): GeneratedCodeInfo { - return { - annotation: Array.isArray(object?.annotation) ? object.annotation.map((e: any) => GeneratedCodeInfo_Annotation.fromSDK(e)) : [] - }; - }, - toSDK(message: GeneratedCodeInfo): GeneratedCodeInfoSDKType { - const obj: any = {}; - if (message.annotation) { - obj.annotation = message.annotation.map(e => e ? GeneratedCodeInfo_Annotation.toSDK(e) : undefined); - } else { - obj.annotation = []; - } - return obj; - }, - fromAmino(object: GeneratedCodeInfoAmino): GeneratedCodeInfo { - return { - annotation: Array.isArray(object?.annotation) ? object.annotation.map((e: any) => GeneratedCodeInfo_Annotation.fromAmino(e)) : [] - }; - }, - toAmino(message: GeneratedCodeInfo): GeneratedCodeInfoAmino { - const obj: any = {}; - if (message.annotation) { - obj.annotation = message.annotation.map(e => e ? GeneratedCodeInfo_Annotation.toAmino(e) : undefined); - } else { - obj.annotation = []; - } - return obj; - }, - fromAminoMsg(object: GeneratedCodeInfoAminoMsg): GeneratedCodeInfo { - return GeneratedCodeInfo.fromAmino(object.value); - }, - fromProtoMsg(message: GeneratedCodeInfoProtoMsg): GeneratedCodeInfo { - return GeneratedCodeInfo.decode(message.value); - }, - toProto(message: GeneratedCodeInfo): Uint8Array { - return GeneratedCodeInfo.encode(message).finish(); - }, - toProtoMsg(message: GeneratedCodeInfo): GeneratedCodeInfoProtoMsg { - return { - typeUrl: "/google.protobuf.GeneratedCodeInfo", - value: GeneratedCodeInfo.encode(message).finish() - }; - } -}; -function createBaseGeneratedCodeInfo_Annotation(): GeneratedCodeInfo_Annotation { - return { - path: [], - sourceFile: "", - begin: 0, - end: 0 - }; -} -export const GeneratedCodeInfo_Annotation = { - typeUrl: "/google.protobuf.Annotation", - encode(message: GeneratedCodeInfo_Annotation, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - writer.uint32(10).fork(); - for (const v of message.path) { - writer.int32(v); - } - writer.ldelim(); - if (message.sourceFile !== "") { - writer.uint32(18).string(message.sourceFile); - } - if (message.begin !== 0) { - writer.uint32(24).int32(message.begin); - } - if (message.end !== 0) { - writer.uint32(32).int32(message.end); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseGeneratedCodeInfo_Annotation(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if ((tag & 7) === 2) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.path.push(reader.int32()); - } - } else { - message.path.push(reader.int32()); - } - break; - case 2: - message.sourceFile = reader.string(); - break; - case 3: - message.begin = reader.int32(); - break; - case 4: - message.end = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): GeneratedCodeInfo_Annotation { - const obj = createBaseGeneratedCodeInfo_Annotation(); - if (Array.isArray(object?.path)) obj.path = object.path.map((e: any) => Number(e)); - if (isSet(object.sourceFile)) obj.sourceFile = String(object.sourceFile); - if (isSet(object.begin)) obj.begin = Number(object.begin); - if (isSet(object.end)) obj.end = Number(object.end); - return obj; - }, - toJSON(message: GeneratedCodeInfo_Annotation): unknown { - const obj: any = {}; - if (message.path) { - obj.path = message.path.map(e => Math.round(e)); - } else { - obj.path = []; - } - message.sourceFile !== undefined && (obj.sourceFile = message.sourceFile); - message.begin !== undefined && (obj.begin = Math.round(message.begin)); - message.end !== undefined && (obj.end = Math.round(message.end)); - return obj; - }, - fromPartial(object: DeepPartial): GeneratedCodeInfo_Annotation { - const message = createBaseGeneratedCodeInfo_Annotation(); - message.path = object.path?.map(e => e) || []; - message.sourceFile = object.sourceFile ?? ""; - message.begin = object.begin ?? 0; - message.end = object.end ?? 0; - return message; - }, - fromSDK(object: GeneratedCodeInfo_AnnotationSDKType): GeneratedCodeInfo_Annotation { - return { - path: Array.isArray(object?.path) ? object.path.map((e: any) => e) : [], - sourceFile: object?.source_file, - begin: object?.begin, - end: object?.end - }; - }, - toSDK(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationSDKType { - const obj: any = {}; - if (message.path) { - obj.path = message.path.map(e => e); - } else { - obj.path = []; - } - obj.source_file = message.sourceFile; - obj.begin = message.begin; - obj.end = message.end; - return obj; - }, - fromAmino(object: GeneratedCodeInfo_AnnotationAmino): GeneratedCodeInfo_Annotation { - return { - path: Array.isArray(object?.path) ? object.path.map((e: any) => e) : [], - sourceFile: object.source_file, - begin: object.begin, - end: object.end - }; - }, - toAmino(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationAmino { - const obj: any = {}; - if (message.path) { - obj.path = message.path.map(e => e); - } else { - obj.path = []; - } - obj.source_file = message.sourceFile; - obj.begin = message.begin; - obj.end = message.end; - return obj; - }, - fromAminoMsg(object: GeneratedCodeInfo_AnnotationAminoMsg): GeneratedCodeInfo_Annotation { - return GeneratedCodeInfo_Annotation.fromAmino(object.value); - }, - fromProtoMsg(message: GeneratedCodeInfo_AnnotationProtoMsg): GeneratedCodeInfo_Annotation { - return GeneratedCodeInfo_Annotation.decode(message.value); - }, - toProto(message: GeneratedCodeInfo_Annotation): Uint8Array { - return GeneratedCodeInfo_Annotation.encode(message).finish(); - }, - toProtoMsg(message: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_AnnotationProtoMsg { - return { - typeUrl: "/google.protobuf.Annotation", - value: GeneratedCodeInfo_Annotation.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/protobuf/duration.ts b/quicksilverjs/src/codegen/google/protobuf/duration.ts deleted file mode 100644 index a00d486ce..000000000 --- a/quicksilverjs/src/codegen/google/protobuf/duration.ts +++ /dev/null @@ -1,308 +0,0 @@ -import { Long, isSet, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.protobuf"; -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ -export interface Duration { - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - */ - seconds: Long; - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - */ - nanos: number; -} -export interface DurationProtoMsg { - typeUrl: "/google.protobuf.Duration"; - value: Uint8Array; -} -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ -export type DurationAmino = string; -export interface DurationAminoMsg { - type: "/google.protobuf.Duration"; - value: DurationAmino; -} -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ -export interface DurationSDKType { - seconds: Long; - nanos: number; -} -function createBaseDuration(): Duration { - return { - seconds: Long.ZERO, - nanos: 0 - }; -} -export const Duration = { - typeUrl: "/google.protobuf.Duration", - encode(message: Duration, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.seconds.isZero()) { - writer.uint32(8).int64(message.seconds); - } - if (message.nanos !== 0) { - writer.uint32(16).int32(message.nanos); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Duration { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDuration(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.seconds = (reader.int64() as Long); - break; - case 2: - message.nanos = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Duration { - const obj = createBaseDuration(); - if (isSet(object.seconds)) obj.seconds = Long.fromValue(object.seconds); - if (isSet(object.nanos)) obj.nanos = Number(object.nanos); - return obj; - }, - toJSON(message: Duration): unknown { - const obj: any = {}; - message.seconds !== undefined && (obj.seconds = (message.seconds || Long.ZERO).toString()); - message.nanos !== undefined && (obj.nanos = Math.round(message.nanos)); - return obj; - }, - fromPartial(object: DeepPartial): Duration { - const message = createBaseDuration(); - if (object.seconds !== undefined && object.seconds !== null) { - message.seconds = Long.fromValue(object.seconds); - } - message.nanos = object.nanos ?? 0; - return message; - }, - fromSDK(object: DurationSDKType): Duration { - return { - seconds: object?.seconds, - nanos: object?.nanos - }; - }, - toSDK(message: Duration): DurationSDKType { - const obj: any = {}; - obj.seconds = message.seconds; - obj.nanos = message.nanos; - return obj; - }, - fromAmino(object: DurationAmino): Duration { - const value = parseInt(object); - return { - seconds: Long.fromNumber(Math.floor(value / 1_000_000_000)), - nanos: value % 1_000_000_000 - }; - }, - toAmino(message: Duration): DurationAmino { - return (message.seconds.toInt() * 1_000_000_000 + message.nanos).toString(); - }, - fromAminoMsg(object: DurationAminoMsg): Duration { - return Duration.fromAmino(object.value); - }, - fromProtoMsg(message: DurationProtoMsg): Duration { - return Duration.decode(message.value); - }, - toProto(message: Duration): Uint8Array { - return Duration.encode(message).finish(); - }, - toProtoMsg(message: Duration): DurationProtoMsg { - return { - typeUrl: "/google.protobuf.Duration", - value: Duration.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/protobuf/empty.ts b/quicksilverjs/src/codegen/google/protobuf/empty.ts deleted file mode 100644 index 27b406627..000000000 --- a/quicksilverjs/src/codegen/google/protobuf/empty.ts +++ /dev/null @@ -1,111 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../helpers"; -export const protobufPackage = "google.protobuf"; -/** - * A generic empty message that you can re-use to avoid defining duplicated - * empty messages in your APIs. A typical example is to use it as the request - * or the response type of an API method. For instance: - * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } - * - * The JSON representation for `Empty` is empty JSON object `{}`. - */ -export interface Empty {} -export interface EmptyProtoMsg { - typeUrl: "/google.protobuf.Empty"; - value: Uint8Array; -} -/** - * A generic empty message that you can re-use to avoid defining duplicated - * empty messages in your APIs. A typical example is to use it as the request - * or the response type of an API method. For instance: - * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } - * - * The JSON representation for `Empty` is empty JSON object `{}`. - */ -export interface EmptyAmino {} -export interface EmptyAminoMsg { - type: "/google.protobuf.Empty"; - value: EmptyAmino; -} -/** - * A generic empty message that you can re-use to avoid defining duplicated - * empty messages in your APIs. A typical example is to use it as the request - * or the response type of an API method. For instance: - * - * service Foo { - * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); - * } - * - * The JSON representation for `Empty` is empty JSON object `{}`. - */ -export interface EmptySDKType {} -function createBaseEmpty(): Empty { - return {}; -} -export const Empty = { - typeUrl: "/google.protobuf.Empty", - encode(_: Empty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Empty { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEmpty(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(_: any): Empty { - const obj = createBaseEmpty(); - return obj; - }, - toJSON(_: Empty): unknown { - const obj: any = {}; - return obj; - }, - fromPartial(_: DeepPartial): Empty { - const message = createBaseEmpty(); - return message; - }, - fromSDK(_: EmptySDKType): Empty { - return {}; - }, - toSDK(_: Empty): EmptySDKType { - const obj: any = {}; - return obj; - }, - fromAmino(_: EmptyAmino): Empty { - return {}; - }, - toAmino(_: Empty): EmptyAmino { - const obj: any = {}; - return obj; - }, - fromAminoMsg(object: EmptyAminoMsg): Empty { - return Empty.fromAmino(object.value); - }, - fromProtoMsg(message: EmptyProtoMsg): Empty { - return Empty.decode(message.value); - }, - toProto(message: Empty): Uint8Array { - return Empty.encode(message).finish(); - }, - toProtoMsg(message: Empty): EmptyProtoMsg { - return { - typeUrl: "/google.protobuf.Empty", - value: Empty.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/protobuf/field_mask.ts b/quicksilverjs/src/codegen/google/protobuf/field_mask.ts deleted file mode 100644 index 91bf139c4..000000000 --- a/quicksilverjs/src/codegen/google/protobuf/field_mask.ts +++ /dev/null @@ -1,718 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../helpers"; -export const protobufPackage = "google.protobuf"; -/** - * `FieldMask` represents a set of symbolic field paths, for example: - * - * paths: "f.a" - * paths: "f.b.d" - * - * Here `f` represents a field in some root message, `a` and `b` - * fields in the message found in `f`, and `d` a field found in the - * message in `f.b`. - * - * Field masks are used to specify a subset of fields that should be - * returned by a get operation or modified by an update operation. - * Field masks also have a custom JSON encoding (see below). - * - * # Field Masks in Projections - * - * When used in the context of a projection, a response message or - * sub-message is filtered by the API to only contain those fields as - * specified in the mask. For example, if the mask in the previous - * example is applied to a response message as follows: - * - * f { - * a : 22 - * b { - * d : 1 - * x : 2 - * } - * y : 13 - * } - * z: 8 - * - * The result will not contain specific values for fields x,y and z - * (their value will be set to the default, and omitted in proto text - * output): - * - * - * f { - * a : 22 - * b { - * d : 1 - * } - * } - * - * A repeated field is not allowed except at the last position of a - * paths string. - * - * If a FieldMask object is not present in a get operation, the - * operation applies to all fields (as if a FieldMask of all fields - * had been specified). - * - * Note that a field mask does not necessarily apply to the - * top-level response message. In case of a REST get operation, the - * field mask applies directly to the response, but in case of a REST - * list operation, the mask instead applies to each individual message - * in the returned resource list. In case of a REST custom method, - * other definitions may be used. Where the mask applies will be - * clearly documented together with its declaration in the API. In - * any case, the effect on the returned resource/resources is required - * behavior for APIs. - * - * # Field Masks in Update Operations - * - * A field mask in update operations specifies which fields of the - * targeted resource are going to be updated. The API is required - * to only change the values of the fields as specified in the mask - * and leave the others untouched. If a resource is passed in to - * describe the updated values, the API ignores the values of all - * fields not covered by the mask. - * - * If a repeated field is specified for an update operation, new values will - * be appended to the existing repeated field in the target resource. Note that - * a repeated field is only allowed in the last position of a `paths` string. - * - * If a sub-message is specified in the last position of the field mask for an - * update operation, then new value will be merged into the existing sub-message - * in the target resource. - * - * For example, given the target message: - * - * f { - * b { - * d: 1 - * x: 2 - * } - * c: [1] - * } - * - * And an update message: - * - * f { - * b { - * d: 10 - * } - * c: [2] - * } - * - * then if the field mask is: - * - * paths: ["f.b", "f.c"] - * - * then the result will be: - * - * f { - * b { - * d: 10 - * x: 2 - * } - * c: [1, 2] - * } - * - * An implementation may provide options to override this default behavior for - * repeated and message fields. - * - * In order to reset a field's value to the default, the field must - * be in the mask and set to the default value in the provided resource. - * Hence, in order to reset all fields of a resource, provide a default - * instance of the resource and set all fields in the mask, or do - * not provide a mask as described below. - * - * If a field mask is not present on update, the operation applies to - * all fields (as if a field mask of all fields has been specified). - * Note that in the presence of schema evolution, this may mean that - * fields the client does not know and has therefore not filled into - * the request will be reset to their default. If this is unwanted - * behavior, a specific service may require a client to always specify - * a field mask, producing an error if not. - * - * As with get operations, the location of the resource which - * describes the updated values in the request message depends on the - * operation kind. In any case, the effect of the field mask is - * required to be honored by the API. - * - * ## Considerations for HTTP REST - * - * The HTTP kind of an update operation which uses a field mask must - * be set to PATCH instead of PUT in order to satisfy HTTP semantics - * (PUT must only be used for full updates). - * - * # JSON Encoding of Field Masks - * - * In JSON, a field mask is encoded as a single string where paths are - * separated by a comma. Fields name in each path are converted - * to/from lower-camel naming conventions. - * - * As an example, consider the following message declarations: - * - * message Profile { - * User user = 1; - * Photo photo = 2; - * } - * message User { - * string display_name = 1; - * string address = 2; - * } - * - * In proto a field mask for `Profile` may look as such: - * - * mask { - * paths: "user.display_name" - * paths: "photo" - * } - * - * In JSON, the same mask is represented as below: - * - * { - * mask: "user.displayName,photo" - * } - * - * # Field Masks and Oneof Fields - * - * Field masks treat fields in oneofs just as regular fields. Consider the - * following message: - * - * message SampleMessage { - * oneof test_oneof { - * string name = 4; - * SubMessage sub_message = 9; - * } - * } - * - * The field mask can be: - * - * mask { - * paths: "name" - * } - * - * Or: - * - * mask { - * paths: "sub_message" - * } - * - * Note that oneof type names ("test_oneof" in this case) cannot be used in - * paths. - * - * ## Field Mask Verification - * - * The implementation of any API method which has a FieldMask type field in the - * request should verify the included field paths, and return an - * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. - */ -export interface FieldMask { - /** The set of field mask paths. */ - paths: string[]; -} -export interface FieldMaskProtoMsg { - typeUrl: "/google.protobuf.FieldMask"; - value: Uint8Array; -} -/** - * `FieldMask` represents a set of symbolic field paths, for example: - * - * paths: "f.a" - * paths: "f.b.d" - * - * Here `f` represents a field in some root message, `a` and `b` - * fields in the message found in `f`, and `d` a field found in the - * message in `f.b`. - * - * Field masks are used to specify a subset of fields that should be - * returned by a get operation or modified by an update operation. - * Field masks also have a custom JSON encoding (see below). - * - * # Field Masks in Projections - * - * When used in the context of a projection, a response message or - * sub-message is filtered by the API to only contain those fields as - * specified in the mask. For example, if the mask in the previous - * example is applied to a response message as follows: - * - * f { - * a : 22 - * b { - * d : 1 - * x : 2 - * } - * y : 13 - * } - * z: 8 - * - * The result will not contain specific values for fields x,y and z - * (their value will be set to the default, and omitted in proto text - * output): - * - * - * f { - * a : 22 - * b { - * d : 1 - * } - * } - * - * A repeated field is not allowed except at the last position of a - * paths string. - * - * If a FieldMask object is not present in a get operation, the - * operation applies to all fields (as if a FieldMask of all fields - * had been specified). - * - * Note that a field mask does not necessarily apply to the - * top-level response message. In case of a REST get operation, the - * field mask applies directly to the response, but in case of a REST - * list operation, the mask instead applies to each individual message - * in the returned resource list. In case of a REST custom method, - * other definitions may be used. Where the mask applies will be - * clearly documented together with its declaration in the API. In - * any case, the effect on the returned resource/resources is required - * behavior for APIs. - * - * # Field Masks in Update Operations - * - * A field mask in update operations specifies which fields of the - * targeted resource are going to be updated. The API is required - * to only change the values of the fields as specified in the mask - * and leave the others untouched. If a resource is passed in to - * describe the updated values, the API ignores the values of all - * fields not covered by the mask. - * - * If a repeated field is specified for an update operation, new values will - * be appended to the existing repeated field in the target resource. Note that - * a repeated field is only allowed in the last position of a `paths` string. - * - * If a sub-message is specified in the last position of the field mask for an - * update operation, then new value will be merged into the existing sub-message - * in the target resource. - * - * For example, given the target message: - * - * f { - * b { - * d: 1 - * x: 2 - * } - * c: [1] - * } - * - * And an update message: - * - * f { - * b { - * d: 10 - * } - * c: [2] - * } - * - * then if the field mask is: - * - * paths: ["f.b", "f.c"] - * - * then the result will be: - * - * f { - * b { - * d: 10 - * x: 2 - * } - * c: [1, 2] - * } - * - * An implementation may provide options to override this default behavior for - * repeated and message fields. - * - * In order to reset a field's value to the default, the field must - * be in the mask and set to the default value in the provided resource. - * Hence, in order to reset all fields of a resource, provide a default - * instance of the resource and set all fields in the mask, or do - * not provide a mask as described below. - * - * If a field mask is not present on update, the operation applies to - * all fields (as if a field mask of all fields has been specified). - * Note that in the presence of schema evolution, this may mean that - * fields the client does not know and has therefore not filled into - * the request will be reset to their default. If this is unwanted - * behavior, a specific service may require a client to always specify - * a field mask, producing an error if not. - * - * As with get operations, the location of the resource which - * describes the updated values in the request message depends on the - * operation kind. In any case, the effect of the field mask is - * required to be honored by the API. - * - * ## Considerations for HTTP REST - * - * The HTTP kind of an update operation which uses a field mask must - * be set to PATCH instead of PUT in order to satisfy HTTP semantics - * (PUT must only be used for full updates). - * - * # JSON Encoding of Field Masks - * - * In JSON, a field mask is encoded as a single string where paths are - * separated by a comma. Fields name in each path are converted - * to/from lower-camel naming conventions. - * - * As an example, consider the following message declarations: - * - * message Profile { - * User user = 1; - * Photo photo = 2; - * } - * message User { - * string display_name = 1; - * string address = 2; - * } - * - * In proto a field mask for `Profile` may look as such: - * - * mask { - * paths: "user.display_name" - * paths: "photo" - * } - * - * In JSON, the same mask is represented as below: - * - * { - * mask: "user.displayName,photo" - * } - * - * # Field Masks and Oneof Fields - * - * Field masks treat fields in oneofs just as regular fields. Consider the - * following message: - * - * message SampleMessage { - * oneof test_oneof { - * string name = 4; - * SubMessage sub_message = 9; - * } - * } - * - * The field mask can be: - * - * mask { - * paths: "name" - * } - * - * Or: - * - * mask { - * paths: "sub_message" - * } - * - * Note that oneof type names ("test_oneof" in this case) cannot be used in - * paths. - * - * ## Field Mask Verification - * - * The implementation of any API method which has a FieldMask type field in the - * request should verify the included field paths, and return an - * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. - */ -export interface FieldMaskAmino { - /** The set of field mask paths. */ - paths: string[]; -} -export interface FieldMaskAminoMsg { - type: "/google.protobuf.FieldMask"; - value: FieldMaskAmino; -} -/** - * `FieldMask` represents a set of symbolic field paths, for example: - * - * paths: "f.a" - * paths: "f.b.d" - * - * Here `f` represents a field in some root message, `a` and `b` - * fields in the message found in `f`, and `d` a field found in the - * message in `f.b`. - * - * Field masks are used to specify a subset of fields that should be - * returned by a get operation or modified by an update operation. - * Field masks also have a custom JSON encoding (see below). - * - * # Field Masks in Projections - * - * When used in the context of a projection, a response message or - * sub-message is filtered by the API to only contain those fields as - * specified in the mask. For example, if the mask in the previous - * example is applied to a response message as follows: - * - * f { - * a : 22 - * b { - * d : 1 - * x : 2 - * } - * y : 13 - * } - * z: 8 - * - * The result will not contain specific values for fields x,y and z - * (their value will be set to the default, and omitted in proto text - * output): - * - * - * f { - * a : 22 - * b { - * d : 1 - * } - * } - * - * A repeated field is not allowed except at the last position of a - * paths string. - * - * If a FieldMask object is not present in a get operation, the - * operation applies to all fields (as if a FieldMask of all fields - * had been specified). - * - * Note that a field mask does not necessarily apply to the - * top-level response message. In case of a REST get operation, the - * field mask applies directly to the response, but in case of a REST - * list operation, the mask instead applies to each individual message - * in the returned resource list. In case of a REST custom method, - * other definitions may be used. Where the mask applies will be - * clearly documented together with its declaration in the API. In - * any case, the effect on the returned resource/resources is required - * behavior for APIs. - * - * # Field Masks in Update Operations - * - * A field mask in update operations specifies which fields of the - * targeted resource are going to be updated. The API is required - * to only change the values of the fields as specified in the mask - * and leave the others untouched. If a resource is passed in to - * describe the updated values, the API ignores the values of all - * fields not covered by the mask. - * - * If a repeated field is specified for an update operation, new values will - * be appended to the existing repeated field in the target resource. Note that - * a repeated field is only allowed in the last position of a `paths` string. - * - * If a sub-message is specified in the last position of the field mask for an - * update operation, then new value will be merged into the existing sub-message - * in the target resource. - * - * For example, given the target message: - * - * f { - * b { - * d: 1 - * x: 2 - * } - * c: [1] - * } - * - * And an update message: - * - * f { - * b { - * d: 10 - * } - * c: [2] - * } - * - * then if the field mask is: - * - * paths: ["f.b", "f.c"] - * - * then the result will be: - * - * f { - * b { - * d: 10 - * x: 2 - * } - * c: [1, 2] - * } - * - * An implementation may provide options to override this default behavior for - * repeated and message fields. - * - * In order to reset a field's value to the default, the field must - * be in the mask and set to the default value in the provided resource. - * Hence, in order to reset all fields of a resource, provide a default - * instance of the resource and set all fields in the mask, or do - * not provide a mask as described below. - * - * If a field mask is not present on update, the operation applies to - * all fields (as if a field mask of all fields has been specified). - * Note that in the presence of schema evolution, this may mean that - * fields the client does not know and has therefore not filled into - * the request will be reset to their default. If this is unwanted - * behavior, a specific service may require a client to always specify - * a field mask, producing an error if not. - * - * As with get operations, the location of the resource which - * describes the updated values in the request message depends on the - * operation kind. In any case, the effect of the field mask is - * required to be honored by the API. - * - * ## Considerations for HTTP REST - * - * The HTTP kind of an update operation which uses a field mask must - * be set to PATCH instead of PUT in order to satisfy HTTP semantics - * (PUT must only be used for full updates). - * - * # JSON Encoding of Field Masks - * - * In JSON, a field mask is encoded as a single string where paths are - * separated by a comma. Fields name in each path are converted - * to/from lower-camel naming conventions. - * - * As an example, consider the following message declarations: - * - * message Profile { - * User user = 1; - * Photo photo = 2; - * } - * message User { - * string display_name = 1; - * string address = 2; - * } - * - * In proto a field mask for `Profile` may look as such: - * - * mask { - * paths: "user.display_name" - * paths: "photo" - * } - * - * In JSON, the same mask is represented as below: - * - * { - * mask: "user.displayName,photo" - * } - * - * # Field Masks and Oneof Fields - * - * Field masks treat fields in oneofs just as regular fields. Consider the - * following message: - * - * message SampleMessage { - * oneof test_oneof { - * string name = 4; - * SubMessage sub_message = 9; - * } - * } - * - * The field mask can be: - * - * mask { - * paths: "name" - * } - * - * Or: - * - * mask { - * paths: "sub_message" - * } - * - * Note that oneof type names ("test_oneof" in this case) cannot be used in - * paths. - * - * ## Field Mask Verification - * - * The implementation of any API method which has a FieldMask type field in the - * request should verify the included field paths, and return an - * `INVALID_ARGUMENT` error if any path is duplicated or unmappable. - */ -export interface FieldMaskSDKType { - paths: string[]; -} -function createBaseFieldMask(): FieldMask { - return { - paths: [] - }; -} -export const FieldMask = { - typeUrl: "/google.protobuf.FieldMask", - encode(message: FieldMask, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.paths) { - writer.uint32(10).string(v!); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): FieldMask { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFieldMask(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.paths.push(reader.string()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): FieldMask { - const obj = createBaseFieldMask(); - if (Array.isArray(object?.paths)) obj.paths = object.paths.map((e: any) => String(e)); - return obj; - }, - toJSON(message: FieldMask): unknown { - const obj: any = {}; - if (message.paths) { - obj.paths = message.paths.map(e => e); - } else { - obj.paths = []; - } - return obj; - }, - fromPartial(object: DeepPartial): FieldMask { - const message = createBaseFieldMask(); - message.paths = object.paths?.map(e => e) || []; - return message; - }, - fromSDK(object: FieldMaskSDKType): FieldMask { - return { - paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => e) : [] - }; - }, - toSDK(message: FieldMask): FieldMaskSDKType { - const obj: any = {}; - if (message.paths) { - obj.paths = message.paths.map(e => e); - } else { - obj.paths = []; - } - return obj; - }, - fromAmino(object: FieldMaskAmino): FieldMask { - return { - paths: Array.isArray(object?.paths) ? object.paths.map((e: any) => e) : [] - }; - }, - toAmino(message: FieldMask): FieldMaskAmino { - const obj: any = {}; - if (message.paths) { - obj.paths = message.paths.map(e => e); - } else { - obj.paths = []; - } - return obj; - }, - fromAminoMsg(object: FieldMaskAminoMsg): FieldMask { - return FieldMask.fromAmino(object.value); - }, - fromProtoMsg(message: FieldMaskProtoMsg): FieldMask { - return FieldMask.decode(message.value); - }, - toProto(message: FieldMask): Uint8Array { - return FieldMask.encode(message).finish(); - }, - toProtoMsg(message: FieldMask): FieldMaskProtoMsg { - return { - typeUrl: "/google.protobuf.FieldMask", - value: FieldMask.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/protobuf/source_context.ts b/quicksilverjs/src/codegen/google/protobuf/source_context.ts deleted file mode 100644 index 24fee16bb..000000000 --- a/quicksilverjs/src/codegen/google/protobuf/source_context.ts +++ /dev/null @@ -1,121 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.protobuf"; -/** - * `SourceContext` represents information about the source of a - * protobuf element, like the file in which it is defined. - */ -export interface SourceContext { - /** - * The path-qualified name of the .proto file that contained the associated - * protobuf element. For example: `"google/protobuf/source_context.proto"`. - */ - fileName: string; -} -export interface SourceContextProtoMsg { - typeUrl: "/google.protobuf.SourceContext"; - value: Uint8Array; -} -/** - * `SourceContext` represents information about the source of a - * protobuf element, like the file in which it is defined. - */ -export interface SourceContextAmino { - /** - * The path-qualified name of the .proto file that contained the associated - * protobuf element. For example: `"google/protobuf/source_context.proto"`. - */ - file_name: string; -} -export interface SourceContextAminoMsg { - type: "/google.protobuf.SourceContext"; - value: SourceContextAmino; -} -/** - * `SourceContext` represents information about the source of a - * protobuf element, like the file in which it is defined. - */ -export interface SourceContextSDKType { - file_name: string; -} -function createBaseSourceContext(): SourceContext { - return { - fileName: "" - }; -} -export const SourceContext = { - typeUrl: "/google.protobuf.SourceContext", - encode(message: SourceContext, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fileName !== "") { - writer.uint32(10).string(message.fileName); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): SourceContext { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseSourceContext(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.fileName = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): SourceContext { - const obj = createBaseSourceContext(); - if (isSet(object.fileName)) obj.fileName = String(object.fileName); - return obj; - }, - toJSON(message: SourceContext): unknown { - const obj: any = {}; - message.fileName !== undefined && (obj.fileName = message.fileName); - return obj; - }, - fromPartial(object: DeepPartial): SourceContext { - const message = createBaseSourceContext(); - message.fileName = object.fileName ?? ""; - return message; - }, - fromSDK(object: SourceContextSDKType): SourceContext { - return { - fileName: object?.file_name - }; - }, - toSDK(message: SourceContext): SourceContextSDKType { - const obj: any = {}; - obj.file_name = message.fileName; - return obj; - }, - fromAmino(object: SourceContextAmino): SourceContext { - return { - fileName: object.file_name - }; - }, - toAmino(message: SourceContext): SourceContextAmino { - const obj: any = {}; - obj.file_name = message.fileName; - return obj; - }, - fromAminoMsg(object: SourceContextAminoMsg): SourceContext { - return SourceContext.fromAmino(object.value); - }, - fromProtoMsg(message: SourceContextProtoMsg): SourceContext { - return SourceContext.decode(message.value); - }, - toProto(message: SourceContext): Uint8Array { - return SourceContext.encode(message).finish(); - }, - toProtoMsg(message: SourceContext): SourceContextProtoMsg { - return { - typeUrl: "/google.protobuf.SourceContext", - value: SourceContext.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/protobuf/struct.ts b/quicksilverjs/src/codegen/google/protobuf/struct.ts deleted file mode 100644 index 1c230466e..000000000 --- a/quicksilverjs/src/codegen/google/protobuf/struct.ts +++ /dev/null @@ -1,675 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial, isObject } from "../../helpers"; -export const protobufPackage = "google.protobuf"; -/** - * `NullValue` is a singleton enumeration to represent the null value for the - * `Value` type union. - * - * The JSON representation for `NullValue` is JSON `null`. - */ -export enum NullValue { - /** NULL_VALUE - Null value. */ - NULL_VALUE = 0, - UNRECOGNIZED = -1, -} -export const NullValueSDKType = NullValue; -export const NullValueAmino = NullValue; -export function nullValueFromJSON(object: any): NullValue { - switch (object) { - case 0: - case "NULL_VALUE": - return NullValue.NULL_VALUE; - case -1: - case "UNRECOGNIZED": - default: - return NullValue.UNRECOGNIZED; - } -} -export function nullValueToJSON(object: NullValue): string { - switch (object) { - case NullValue.NULL_VALUE: - return "NULL_VALUE"; - case NullValue.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -export interface Struct_FieldsEntry { - key: string; - value: Value; -} -export interface Struct_FieldsEntryProtoMsg { - typeUrl: string; - value: Uint8Array; -} -export interface Struct_FieldsEntryAmino { - key: string; - value?: ValueAmino; -} -export interface Struct_FieldsEntryAminoMsg { - type: string; - value: Struct_FieldsEntryAmino; -} -export interface Struct_FieldsEntrySDKType { - key: string; - value: ValueSDKType; -} -/** - * `Struct` represents a structured data value, consisting of fields - * which map to dynamically typed values. In some languages, `Struct` - * might be supported by a native representation. For example, in - * scripting languages like JS a struct is represented as an - * object. The details of that representation are described together - * with the proto support for the language. - * - * The JSON representation for `Struct` is JSON object. - */ -export interface Struct { - /** Unordered map of dynamically typed values. */ - fields: { - [key: string]: Value; - }; -} -export interface StructProtoMsg { - typeUrl: "/google.protobuf.Struct"; - value: Uint8Array; -} -/** - * `Struct` represents a structured data value, consisting of fields - * which map to dynamically typed values. In some languages, `Struct` - * might be supported by a native representation. For example, in - * scripting languages like JS a struct is represented as an - * object. The details of that representation are described together - * with the proto support for the language. - * - * The JSON representation for `Struct` is JSON object. - */ -export interface StructAmino { - /** Unordered map of dynamically typed values. */ - fields?: { - [key: string]: ValueAmino; - }; -} -export interface StructAminoMsg { - type: "/google.protobuf.Struct"; - value: StructAmino; -} -/** - * `Struct` represents a structured data value, consisting of fields - * which map to dynamically typed values. In some languages, `Struct` - * might be supported by a native representation. For example, in - * scripting languages like JS a struct is represented as an - * object. The details of that representation are described together - * with the proto support for the language. - * - * The JSON representation for `Struct` is JSON object. - */ -export interface StructSDKType { - fields: { - [key: string]: ValueSDKType; - }; -} -/** - * `Value` represents a dynamically typed value which can be either - * null, a number, a string, a boolean, a recursive struct value, or a - * list of values. A producer of value is expected to set one of that - * variants, absence of any variant indicates an error. - * - * The JSON representation for `Value` is JSON value. - */ -export interface Value { - /** Represents a null value. */ - nullValue?: NullValue; - /** Represents a double value. */ - numberValue?: number; - /** Represents a string value. */ - stringValue?: string; - /** Represents a boolean value. */ - boolValue?: boolean; - /** Represents a structured value. */ - structValue?: Struct; - /** Represents a repeated `Value`. */ - listValue?: ListValue; -} -export interface ValueProtoMsg { - typeUrl: "/google.protobuf.Value"; - value: Uint8Array; -} -/** - * `Value` represents a dynamically typed value which can be either - * null, a number, a string, a boolean, a recursive struct value, or a - * list of values. A producer of value is expected to set one of that - * variants, absence of any variant indicates an error. - * - * The JSON representation for `Value` is JSON value. - */ -export interface ValueAmino { - /** Represents a null value. */ - null_value?: NullValue; - /** Represents a double value. */ - number_value?: number; - /** Represents a string value. */ - string_value?: string; - /** Represents a boolean value. */ - bool_value?: boolean; - /** Represents a structured value. */ - struct_value?: StructAmino; - /** Represents a repeated `Value`. */ - list_value?: ListValueAmino; -} -export interface ValueAminoMsg { - type: "/google.protobuf.Value"; - value: ValueAmino; -} -/** - * `Value` represents a dynamically typed value which can be either - * null, a number, a string, a boolean, a recursive struct value, or a - * list of values. A producer of value is expected to set one of that - * variants, absence of any variant indicates an error. - * - * The JSON representation for `Value` is JSON value. - */ -export interface ValueSDKType { - null_value?: NullValue; - number_value?: number; - string_value?: string; - bool_value?: boolean; - struct_value?: StructSDKType; - list_value?: ListValueSDKType; -} -/** - * `ListValue` is a wrapper around a repeated field of values. - * - * The JSON representation for `ListValue` is JSON array. - */ -export interface ListValue { - /** Repeated field of dynamically typed values. */ - values: Value[]; -} -export interface ListValueProtoMsg { - typeUrl: "/google.protobuf.ListValue"; - value: Uint8Array; -} -/** - * `ListValue` is a wrapper around a repeated field of values. - * - * The JSON representation for `ListValue` is JSON array. - */ -export interface ListValueAmino { - /** Repeated field of dynamically typed values. */ - values: ValueAmino[]; -} -export interface ListValueAminoMsg { - type: "/google.protobuf.ListValue"; - value: ListValueAmino; -} -/** - * `ListValue` is a wrapper around a repeated field of values. - * - * The JSON representation for `ListValue` is JSON array. - */ -export interface ListValueSDKType { - values: ValueSDKType[]; -} -function createBaseStruct_FieldsEntry(): Struct_FieldsEntry { - return { - key: "", - value: Value.fromPartial({}) - }; -} -export const Struct_FieldsEntry = { - encode(message: Struct_FieldsEntry, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.key !== "") { - writer.uint32(10).string(message.key); - } - if (message.value !== undefined) { - Value.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Struct_FieldsEntry { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStruct_FieldsEntry(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.key = reader.string(); - break; - case 2: - message.value = Value.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Struct_FieldsEntry { - const obj = createBaseStruct_FieldsEntry(); - if (isSet(object.key)) obj.key = String(object.key); - if (isSet(object.value)) obj.value = Value.fromJSON(object.value); - return obj; - }, - toJSON(message: Struct_FieldsEntry): unknown { - const obj: any = {}; - message.key !== undefined && (obj.key = message.key); - message.value !== undefined && (obj.value = message.value ? Value.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Struct_FieldsEntry { - const message = createBaseStruct_FieldsEntry(); - message.key = object.key ?? ""; - if (object.value !== undefined && object.value !== null) { - message.value = Value.fromPartial(object.value); - } - return message; - }, - fromSDK(object: Struct_FieldsEntrySDKType): Struct_FieldsEntry { - return { - key: object?.key, - value: object.value ? Value.fromSDK(object.value) : undefined - }; - }, - toSDK(message: Struct_FieldsEntry): Struct_FieldsEntrySDKType { - const obj: any = {}; - obj.key = message.key; - message.value !== undefined && (obj.value = message.value ? Value.toSDK(message.value) : undefined); - return obj; - }, - fromAmino(object: Struct_FieldsEntryAmino): Struct_FieldsEntry { - return { - key: object.key, - value: object?.value ? Value.fromAmino(object.value) : undefined - }; - }, - toAmino(message: Struct_FieldsEntry): Struct_FieldsEntryAmino { - const obj: any = {}; - obj.key = message.key; - obj.value = message.value ? Value.toAmino(message.value) : undefined; - return obj; - }, - fromAminoMsg(object: Struct_FieldsEntryAminoMsg): Struct_FieldsEntry { - return Struct_FieldsEntry.fromAmino(object.value); - }, - fromProtoMsg(message: Struct_FieldsEntryProtoMsg): Struct_FieldsEntry { - return Struct_FieldsEntry.decode(message.value); - }, - toProto(message: Struct_FieldsEntry): Uint8Array { - return Struct_FieldsEntry.encode(message).finish(); - } -}; -function createBaseStruct(): Struct { - return { - fields: {} - }; -} -export const Struct = { - typeUrl: "/google.protobuf.Struct", - encode(message: Struct, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - Object.entries(message.fields).forEach(([key, value]) => { - Struct_FieldsEntry.encode({ - key: (key as any), - value - }, writer.uint32(10).fork()).ldelim(); - }); - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Struct { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStruct(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - const entry1 = Struct_FieldsEntry.decode(reader, reader.uint32()); - if (entry1.value !== undefined) { - message.fields[entry1.key] = entry1.value; - } - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Struct { - const obj = createBaseStruct(); - if (isObject(object.fields)) obj.fields = Object.entries(object.fields).reduce<{ - [key: string]: Value; - }>((acc, [key, value]) => { - acc[key] = Value.fromJSON(value); - return acc; - }, {}); - return obj; - }, - toJSON(message: Struct): unknown { - const obj: any = {}; - obj.fields = {}; - if (message.fields) { - Object.entries(message.fields).forEach(([k, v]) => { - obj.fields[k] = Value.toJSON(v); - }); - } - return obj; - }, - fromPartial(object: DeepPartial): Struct { - const message = createBaseStruct(); - message.fields = Object.entries(object.fields ?? {}).reduce<{ - [key: string]: Value; - }>((acc, [key, value]) => { - if (value !== undefined) { - acc[key] = Value.fromPartial(value); - } - return acc; - }, {}); - return message; - }, - fromSDK(object: StructSDKType): Struct { - return { - fields: isObject(object.fields) ? Object.entries(object.fields).reduce<{ - [key: string]: Value; - }>((acc, [key, value]) => { - acc[key] = Value.fromSDK(value); - return acc; - }, {}) : {} - }; - }, - toSDK(message: Struct): StructSDKType { - const obj: any = {}; - obj.fields = {}; - if (message.fields) { - Object.entries(message.fields).forEach(([k, v]) => { - obj.fields[k] = Value.toSDK(v); - }); - } - return obj; - }, - fromAmino(object: StructAmino): Struct { - return { - fields: isObject(object.fields) ? Object.entries(object.fields).reduce<{ - [key: string]: Value; - }>((acc, [key, value]) => { - acc[key] = Value.fromAmino(value); - return acc; - }, {}) : {} - }; - }, - toAmino(message: Struct): StructAmino { - const obj: any = {}; - obj.fields = {}; - if (message.fields) { - Object.entries(message.fields).forEach(([k, v]) => { - obj.fields[k] = Value.toAmino(v); - }); - } - return obj; - }, - fromAminoMsg(object: StructAminoMsg): Struct { - return Struct.fromAmino(object.value); - }, - fromProtoMsg(message: StructProtoMsg): Struct { - return Struct.decode(message.value); - }, - toProto(message: Struct): Uint8Array { - return Struct.encode(message).finish(); - }, - toProtoMsg(message: Struct): StructProtoMsg { - return { - typeUrl: "/google.protobuf.Struct", - value: Struct.encode(message).finish() - }; - } -}; -function createBaseValue(): Value { - return { - nullValue: undefined, - numberValue: undefined, - stringValue: undefined, - boolValue: undefined, - structValue: undefined, - listValue: undefined - }; -} -export const Value = { - typeUrl: "/google.protobuf.Value", - encode(message: Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.nullValue !== undefined) { - writer.uint32(8).int32(message.nullValue); - } - if (message.numberValue !== undefined) { - writer.uint32(17).double(message.numberValue); - } - if (message.stringValue !== undefined) { - writer.uint32(26).string(message.stringValue); - } - if (message.boolValue !== undefined) { - writer.uint32(32).bool(message.boolValue); - } - if (message.structValue !== undefined) { - Struct.encode(message.structValue, writer.uint32(42).fork()).ldelim(); - } - if (message.listValue !== undefined) { - ListValue.encode(message.listValue, writer.uint32(50).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Value { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.nullValue = (reader.int32() as any); - break; - case 2: - message.numberValue = reader.double(); - break; - case 3: - message.stringValue = reader.string(); - break; - case 4: - message.boolValue = reader.bool(); - break; - case 5: - message.structValue = Struct.decode(reader, reader.uint32()); - break; - case 6: - message.listValue = ListValue.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Value { - const obj = createBaseValue(); - if (isSet(object.nullValue)) obj.nullValue = nullValueFromJSON(object.nullValue); - if (isSet(object.numberValue)) obj.numberValue = Number(object.numberValue); - if (isSet(object.stringValue)) obj.stringValue = String(object.stringValue); - if (isSet(object.boolValue)) obj.boolValue = Boolean(object.boolValue); - if (isSet(object.structValue)) obj.structValue = Struct.fromJSON(object.structValue); - if (isSet(object.listValue)) obj.listValue = ListValue.fromJSON(object.listValue); - return obj; - }, - toJSON(message: Value): unknown { - const obj: any = {}; - message.nullValue !== undefined && (obj.nullValue = nullValueToJSON(message.nullValue)); - message.numberValue !== undefined && (obj.numberValue = message.numberValue); - message.stringValue !== undefined && (obj.stringValue = message.stringValue); - message.boolValue !== undefined && (obj.boolValue = message.boolValue); - message.structValue !== undefined && (obj.structValue = message.structValue ? Struct.toJSON(message.structValue) : undefined); - message.listValue !== undefined && (obj.listValue = message.listValue ? ListValue.toJSON(message.listValue) : undefined); - return obj; - }, - fromPartial(object: DeepPartial): Value { - const message = createBaseValue(); - message.nullValue = object.nullValue ?? undefined; - message.numberValue = object.numberValue ?? undefined; - message.stringValue = object.stringValue ?? undefined; - message.boolValue = object.boolValue ?? undefined; - if (object.structValue !== undefined && object.structValue !== null) { - message.structValue = Struct.fromPartial(object.structValue); - } - if (object.listValue !== undefined && object.listValue !== null) { - message.listValue = ListValue.fromPartial(object.listValue); - } - return message; - }, - fromSDK(object: ValueSDKType): Value { - return { - nullValue: isSet(object.null_value) ? nullValueFromJSON(object.null_value) : undefined, - numberValue: object?.number_value, - stringValue: object?.string_value, - boolValue: object?.bool_value, - structValue: object.struct_value ? Struct.fromSDK(object.struct_value) : undefined, - listValue: object.list_value ? ListValue.fromSDK(object.list_value) : undefined - }; - }, - toSDK(message: Value): ValueSDKType { - const obj: any = {}; - message.nullValue !== undefined && (obj.null_value = nullValueToJSON(message.nullValue)); - obj.number_value = message.numberValue; - obj.string_value = message.stringValue; - obj.bool_value = message.boolValue; - message.structValue !== undefined && (obj.struct_value = message.structValue ? Struct.toSDK(message.structValue) : undefined); - message.listValue !== undefined && (obj.list_value = message.listValue ? ListValue.toSDK(message.listValue) : undefined); - return obj; - }, - fromAmino(object: ValueAmino): Value { - return { - nullValue: isSet(object.null_value) ? nullValueFromJSON(object.null_value) : undefined, - numberValue: object?.number_value, - stringValue: object?.string_value, - boolValue: object?.bool_value, - structValue: object?.struct_value ? Struct.fromAmino(object.struct_value) : undefined, - listValue: object?.list_value ? ListValue.fromAmino(object.list_value) : undefined - }; - }, - toAmino(message: Value): ValueAmino { - const obj: any = {}; - obj.null_value = message.nullValue; - obj.number_value = message.numberValue; - obj.string_value = message.stringValue; - obj.bool_value = message.boolValue; - obj.struct_value = message.structValue ? Struct.toAmino(message.structValue) : undefined; - obj.list_value = message.listValue ? ListValue.toAmino(message.listValue) : undefined; - return obj; - }, - fromAminoMsg(object: ValueAminoMsg): Value { - return Value.fromAmino(object.value); - }, - fromProtoMsg(message: ValueProtoMsg): Value { - return Value.decode(message.value); - }, - toProto(message: Value): Uint8Array { - return Value.encode(message).finish(); - }, - toProtoMsg(message: Value): ValueProtoMsg { - return { - typeUrl: "/google.protobuf.Value", - value: Value.encode(message).finish() - }; - } -}; -function createBaseListValue(): ListValue { - return { - values: [] - }; -} -export const ListValue = { - typeUrl: "/google.protobuf.ListValue", - encode(message: ListValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.values) { - Value.encode(v!, writer.uint32(10).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): ListValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseListValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.values.push(Value.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): ListValue { - const obj = createBaseListValue(); - if (Array.isArray(object?.values)) obj.values = object.values.map((e: any) => Value.fromJSON(e)); - return obj; - }, - toJSON(message: ListValue): unknown { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toJSON(e) : undefined); - } else { - obj.values = []; - } - return obj; - }, - fromPartial(object: DeepPartial): ListValue { - const message = createBaseListValue(); - message.values = object.values?.map(e => Value.fromPartial(e)) || []; - return message; - }, - fromSDK(object: ListValueSDKType): ListValue { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromSDK(e)) : [] - }; - }, - toSDK(message: ListValue): ListValueSDKType { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toSDK(e) : undefined); - } else { - obj.values = []; - } - return obj; - }, - fromAmino(object: ListValueAmino): ListValue { - return { - values: Array.isArray(object?.values) ? object.values.map((e: any) => Value.fromAmino(e)) : [] - }; - }, - toAmino(message: ListValue): ListValueAmino { - const obj: any = {}; - if (message.values) { - obj.values = message.values.map(e => e ? Value.toAmino(e) : undefined); - } else { - obj.values = []; - } - return obj; - }, - fromAminoMsg(object: ListValueAminoMsg): ListValue { - return ListValue.fromAmino(object.value); - }, - fromProtoMsg(message: ListValueProtoMsg): ListValue { - return ListValue.decode(message.value); - }, - toProto(message: ListValue): Uint8Array { - return ListValue.encode(message).finish(); - }, - toProtoMsg(message: ListValue): ListValueProtoMsg { - return { - typeUrl: "/google.protobuf.ListValue", - value: ListValue.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/protobuf/timestamp.ts b/quicksilverjs/src/codegen/google/protobuf/timestamp.ts deleted file mode 100644 index 23d662050..000000000 --- a/quicksilverjs/src/codegen/google/protobuf/timestamp.ts +++ /dev/null @@ -1,374 +0,0 @@ -import { Long, isSet, DeepPartial, fromJsonTimestamp, fromTimestamp } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export const protobufPackage = "google.protobuf"; -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ -export interface Timestamp { - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - */ - seconds: Long; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - */ - nanos: number; -} -export interface TimestampProtoMsg { - typeUrl: "/google.protobuf.Timestamp"; - value: Uint8Array; -} -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ -export type TimestampAmino = string; -export interface TimestampAminoMsg { - type: "/google.protobuf.Timestamp"; - value: TimestampAmino; -} -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ -export interface TimestampSDKType { - seconds: Long; - nanos: number; -} -function createBaseTimestamp(): Timestamp { - return { - seconds: Long.ZERO, - nanos: 0 - }; -} -export const Timestamp = { - typeUrl: "/google.protobuf.Timestamp", - encode(message: Timestamp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.seconds.isZero()) { - writer.uint32(8).int64(message.seconds); - } - if (message.nanos !== 0) { - writer.uint32(16).int32(message.nanos); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseTimestamp(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.seconds = (reader.int64() as Long); - break; - case 2: - message.nanos = reader.int32(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Timestamp { - const obj = createBaseTimestamp(); - if (isSet(object.seconds)) obj.seconds = Long.fromValue(object.seconds); - if (isSet(object.nanos)) obj.nanos = Number(object.nanos); - return obj; - }, - toJSON(message: Timestamp): unknown { - const obj: any = {}; - message.seconds !== undefined && (obj.seconds = (message.seconds || Long.ZERO).toString()); - message.nanos !== undefined && (obj.nanos = Math.round(message.nanos)); - return obj; - }, - fromPartial(object: DeepPartial): Timestamp { - const message = createBaseTimestamp(); - if (object.seconds !== undefined && object.seconds !== null) { - message.seconds = Long.fromValue(object.seconds); - } - message.nanos = object.nanos ?? 0; - return message; - }, - fromSDK(object: TimestampSDKType): Timestamp { - return { - seconds: object?.seconds, - nanos: object?.nanos - }; - }, - toSDK(message: Timestamp): TimestampSDKType { - const obj: any = {}; - obj.seconds = message.seconds; - obj.nanos = message.nanos; - return obj; - }, - fromAmino(object: TimestampAmino): Timestamp { - return fromJsonTimestamp(object); - }, - toAmino(message: Timestamp): TimestampAmino { - return fromTimestamp(message).toString(); - }, - fromAminoMsg(object: TimestampAminoMsg): Timestamp { - return Timestamp.fromAmino(object.value); - }, - fromProtoMsg(message: TimestampProtoMsg): Timestamp { - return Timestamp.decode(message.value); - }, - toProto(message: Timestamp): Uint8Array { - return Timestamp.encode(message).finish(); - }, - toProtoMsg(message: Timestamp): TimestampProtoMsg { - return { - typeUrl: "/google.protobuf.Timestamp", - value: Timestamp.encode(message).finish() - }; - } -}; \ No newline at end of file diff --git a/quicksilverjs/src/codegen/google/protobuf/type.ts b/quicksilverjs/src/codegen/google/protobuf/type.ts deleted file mode 100644 index d5ee0136f..000000000 --- a/quicksilverjs/src/codegen/google/protobuf/type.ts +++ /dev/null @@ -1,1288 +0,0 @@ -import { SourceContext, SourceContextAmino, SourceContextSDKType } from "./source_context"; -import { Any, AnyProtoMsg, AnyAmino, AnySDKType } from "./any"; -import * as _m0 from "protobufjs/minimal"; -import { isSet, DeepPartial } from "../../helpers"; -export const protobufPackage = "google.protobuf"; -/** Basic field types. */ -export enum Field_Kind { - /** TYPE_UNKNOWN - Field type unknown. */ - TYPE_UNKNOWN = 0, - /** TYPE_DOUBLE - Field type double. */ - TYPE_DOUBLE = 1, - /** TYPE_FLOAT - Field type float. */ - TYPE_FLOAT = 2, - /** TYPE_INT64 - Field type int64. */ - TYPE_INT64 = 3, - /** TYPE_UINT64 - Field type uint64. */ - TYPE_UINT64 = 4, - /** TYPE_INT32 - Field type int32. */ - TYPE_INT32 = 5, - /** TYPE_FIXED64 - Field type fixed64. */ - TYPE_FIXED64 = 6, - /** TYPE_FIXED32 - Field type fixed32. */ - TYPE_FIXED32 = 7, - /** TYPE_BOOL - Field type bool. */ - TYPE_BOOL = 8, - /** TYPE_STRING - Field type string. */ - TYPE_STRING = 9, - /** TYPE_GROUP - Field type group. Proto2 syntax only, and deprecated. */ - TYPE_GROUP = 10, - /** TYPE_MESSAGE - Field type message. */ - TYPE_MESSAGE = 11, - /** TYPE_BYTES - Field type bytes. */ - TYPE_BYTES = 12, - /** TYPE_UINT32 - Field type uint32. */ - TYPE_UINT32 = 13, - /** TYPE_ENUM - Field type enum. */ - TYPE_ENUM = 14, - /** TYPE_SFIXED32 - Field type sfixed32. */ - TYPE_SFIXED32 = 15, - /** TYPE_SFIXED64 - Field type sfixed64. */ - TYPE_SFIXED64 = 16, - /** TYPE_SINT32 - Field type sint32. */ - TYPE_SINT32 = 17, - /** TYPE_SINT64 - Field type sint64. */ - TYPE_SINT64 = 18, - UNRECOGNIZED = -1, -} -export const Field_KindSDKType = Field_Kind; -export const Field_KindAmino = Field_Kind; -export function field_KindFromJSON(object: any): Field_Kind { - switch (object) { - case 0: - case "TYPE_UNKNOWN": - return Field_Kind.TYPE_UNKNOWN; - case 1: - case "TYPE_DOUBLE": - return Field_Kind.TYPE_DOUBLE; - case 2: - case "TYPE_FLOAT": - return Field_Kind.TYPE_FLOAT; - case 3: - case "TYPE_INT64": - return Field_Kind.TYPE_INT64; - case 4: - case "TYPE_UINT64": - return Field_Kind.TYPE_UINT64; - case 5: - case "TYPE_INT32": - return Field_Kind.TYPE_INT32; - case 6: - case "TYPE_FIXED64": - return Field_Kind.TYPE_FIXED64; - case 7: - case "TYPE_FIXED32": - return Field_Kind.TYPE_FIXED32; - case 8: - case "TYPE_BOOL": - return Field_Kind.TYPE_BOOL; - case 9: - case "TYPE_STRING": - return Field_Kind.TYPE_STRING; - case 10: - case "TYPE_GROUP": - return Field_Kind.TYPE_GROUP; - case 11: - case "TYPE_MESSAGE": - return Field_Kind.TYPE_MESSAGE; - case 12: - case "TYPE_BYTES": - return Field_Kind.TYPE_BYTES; - case 13: - case "TYPE_UINT32": - return Field_Kind.TYPE_UINT32; - case 14: - case "TYPE_ENUM": - return Field_Kind.TYPE_ENUM; - case 15: - case "TYPE_SFIXED32": - return Field_Kind.TYPE_SFIXED32; - case 16: - case "TYPE_SFIXED64": - return Field_Kind.TYPE_SFIXED64; - case 17: - case "TYPE_SINT32": - return Field_Kind.TYPE_SINT32; - case 18: - case "TYPE_SINT64": - return Field_Kind.TYPE_SINT64; - case -1: - case "UNRECOGNIZED": - default: - return Field_Kind.UNRECOGNIZED; - } -} -export function field_KindToJSON(object: Field_Kind): string { - switch (object) { - case Field_Kind.TYPE_UNKNOWN: - return "TYPE_UNKNOWN"; - case Field_Kind.TYPE_DOUBLE: - return "TYPE_DOUBLE"; - case Field_Kind.TYPE_FLOAT: - return "TYPE_FLOAT"; - case Field_Kind.TYPE_INT64: - return "TYPE_INT64"; - case Field_Kind.TYPE_UINT64: - return "TYPE_UINT64"; - case Field_Kind.TYPE_INT32: - return "TYPE_INT32"; - case Field_Kind.TYPE_FIXED64: - return "TYPE_FIXED64"; - case Field_Kind.TYPE_FIXED32: - return "TYPE_FIXED32"; - case Field_Kind.TYPE_BOOL: - return "TYPE_BOOL"; - case Field_Kind.TYPE_STRING: - return "TYPE_STRING"; - case Field_Kind.TYPE_GROUP: - return "TYPE_GROUP"; - case Field_Kind.TYPE_MESSAGE: - return "TYPE_MESSAGE"; - case Field_Kind.TYPE_BYTES: - return "TYPE_BYTES"; - case Field_Kind.TYPE_UINT32: - return "TYPE_UINT32"; - case Field_Kind.TYPE_ENUM: - return "TYPE_ENUM"; - case Field_Kind.TYPE_SFIXED32: - return "TYPE_SFIXED32"; - case Field_Kind.TYPE_SFIXED64: - return "TYPE_SFIXED64"; - case Field_Kind.TYPE_SINT32: - return "TYPE_SINT32"; - case Field_Kind.TYPE_SINT64: - return "TYPE_SINT64"; - case Field_Kind.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** Whether a field is optional, required, or repeated. */ -export enum Field_Cardinality { - /** CARDINALITY_UNKNOWN - For fields with unknown cardinality. */ - CARDINALITY_UNKNOWN = 0, - /** CARDINALITY_OPTIONAL - For optional fields. */ - CARDINALITY_OPTIONAL = 1, - /** CARDINALITY_REQUIRED - For required fields. Proto2 syntax only. */ - CARDINALITY_REQUIRED = 2, - /** CARDINALITY_REPEATED - For repeated fields. */ - CARDINALITY_REPEATED = 3, - UNRECOGNIZED = -1, -} -export const Field_CardinalitySDKType = Field_Cardinality; -export const Field_CardinalityAmino = Field_Cardinality; -export function field_CardinalityFromJSON(object: any): Field_Cardinality { - switch (object) { - case 0: - case "CARDINALITY_UNKNOWN": - return Field_Cardinality.CARDINALITY_UNKNOWN; - case 1: - case "CARDINALITY_OPTIONAL": - return Field_Cardinality.CARDINALITY_OPTIONAL; - case 2: - case "CARDINALITY_REQUIRED": - return Field_Cardinality.CARDINALITY_REQUIRED; - case 3: - case "CARDINALITY_REPEATED": - return Field_Cardinality.CARDINALITY_REPEATED; - case -1: - case "UNRECOGNIZED": - default: - return Field_Cardinality.UNRECOGNIZED; - } -} -export function field_CardinalityToJSON(object: Field_Cardinality): string { - switch (object) { - case Field_Cardinality.CARDINALITY_UNKNOWN: - return "CARDINALITY_UNKNOWN"; - case Field_Cardinality.CARDINALITY_OPTIONAL: - return "CARDINALITY_OPTIONAL"; - case Field_Cardinality.CARDINALITY_REQUIRED: - return "CARDINALITY_REQUIRED"; - case Field_Cardinality.CARDINALITY_REPEATED: - return "CARDINALITY_REPEATED"; - case Field_Cardinality.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** The syntax in which a protocol buffer element is defined. */ -export enum Syntax { - /** SYNTAX_PROTO2 - Syntax `proto2`. */ - SYNTAX_PROTO2 = 0, - /** SYNTAX_PROTO3 - Syntax `proto3`. */ - SYNTAX_PROTO3 = 1, - UNRECOGNIZED = -1, -} -export const SyntaxSDKType = Syntax; -export const SyntaxAmino = Syntax; -export function syntaxFromJSON(object: any): Syntax { - switch (object) { - case 0: - case "SYNTAX_PROTO2": - return Syntax.SYNTAX_PROTO2; - case 1: - case "SYNTAX_PROTO3": - return Syntax.SYNTAX_PROTO3; - case -1: - case "UNRECOGNIZED": - default: - return Syntax.UNRECOGNIZED; - } -} -export function syntaxToJSON(object: Syntax): string { - switch (object) { - case Syntax.SYNTAX_PROTO2: - return "SYNTAX_PROTO2"; - case Syntax.SYNTAX_PROTO3: - return "SYNTAX_PROTO3"; - case Syntax.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} -/** A protocol buffer message type. */ -export interface Type { - /** The fully qualified message name. */ - name: string; - /** The list of fields. */ - fields: Field[]; - /** The list of types appearing in `oneof` definitions in this type. */ - oneofs: string[]; - /** The protocol buffer options. */ - options: Option[]; - /** The source context. */ - sourceContext: SourceContext; - /** The source syntax. */ - syntax: Syntax; -} -export interface TypeProtoMsg { - typeUrl: "/google.protobuf.Type"; - value: Uint8Array; -} -/** A protocol buffer message type. */ -export interface TypeAmino { - /** The fully qualified message name. */ - name: string; - /** The list of fields. */ - fields: FieldAmino[]; - /** The list of types appearing in `oneof` definitions in this type. */ - oneofs: string[]; - /** The protocol buffer options. */ - options: OptionAmino[]; - /** The source context. */ - source_context?: SourceContextAmino; - /** The source syntax. */ - syntax: Syntax; -} -export interface TypeAminoMsg { - type: "/google.protobuf.Type"; - value: TypeAmino; -} -/** A protocol buffer message type. */ -export interface TypeSDKType { - name: string; - fields: FieldSDKType[]; - oneofs: string[]; - options: OptionSDKType[]; - source_context: SourceContextSDKType; - syntax: Syntax; -} -/** A single field of a message type. */ -export interface Field { - /** The field type. */ - kind: Field_Kind; - /** The field cardinality. */ - cardinality: Field_Cardinality; - /** The field number. */ - number: number; - /** The field name. */ - name: string; - /** - * The field type URL, without the scheme, for message or enumeration - * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - */ - typeUrl: string; - /** - * The index of the field type in `Type.oneofs`, for message or enumeration - * types. The first type has index 1; zero means the type is not in the list. - */ - oneofIndex: number; - /** Whether to use alternative packed wire representation. */ - packed: boolean; - /** The protocol buffer options. */ - options: Option[]; - /** The field JSON name. */ - jsonName: string; - /** The string value of the default value of this field. Proto2 syntax only. */ - defaultValue: string; -} -export interface FieldProtoMsg { - typeUrl: "/google.protobuf.Field"; - value: Uint8Array; -} -/** A single field of a message type. */ -export interface FieldAmino { - /** The field type. */ - kind: Field_Kind; - /** The field cardinality. */ - cardinality: Field_Cardinality; - /** The field number. */ - number: number; - /** The field name. */ - name: string; - /** - * The field type URL, without the scheme, for message or enumeration - * types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. - */ - type_url: string; - /** - * The index of the field type in `Type.oneofs`, for message or enumeration - * types. The first type has index 1; zero means the type is not in the list. - */ - oneof_index: number; - /** Whether to use alternative packed wire representation. */ - packed: boolean; - /** The protocol buffer options. */ - options: OptionAmino[]; - /** The field JSON name. */ - json_name: string; - /** The string value of the default value of this field. Proto2 syntax only. */ - default_value: string; -} -export interface FieldAminoMsg { - type: "/google.protobuf.Field"; - value: FieldAmino; -} -/** A single field of a message type. */ -export interface FieldSDKType { - kind: Field_Kind; - cardinality: Field_Cardinality; - number: number; - name: string; - type_url: string; - oneof_index: number; - packed: boolean; - options: OptionSDKType[]; - json_name: string; - default_value: string; -} -/** Enum type definition. */ -export interface Enum { - /** Enum type name. */ - name: string; - /** Enum value definitions. */ - enumvalue: EnumValue[]; - /** Protocol buffer options. */ - options: Option[]; - /** The source context. */ - sourceContext: SourceContext; - /** The source syntax. */ - syntax: Syntax; -} -export interface EnumProtoMsg { - typeUrl: "/google.protobuf.Enum"; - value: Uint8Array; -} -/** Enum type definition. */ -export interface EnumAmino { - /** Enum type name. */ - name: string; - /** Enum value definitions. */ - enumvalue: EnumValueAmino[]; - /** Protocol buffer options. */ - options: OptionAmino[]; - /** The source context. */ - source_context?: SourceContextAmino; - /** The source syntax. */ - syntax: Syntax; -} -export interface EnumAminoMsg { - type: "/google.protobuf.Enum"; - value: EnumAmino; -} -/** Enum type definition. */ -export interface EnumSDKType { - name: string; - enumvalue: EnumValueSDKType[]; - options: OptionSDKType[]; - source_context: SourceContextSDKType; - syntax: Syntax; -} -/** Enum value definition. */ -export interface EnumValue { - /** Enum value name. */ - name: string; - /** Enum value number. */ - number: number; - /** Protocol buffer options. */ - options: Option[]; -} -export interface EnumValueProtoMsg { - typeUrl: "/google.protobuf.EnumValue"; - value: Uint8Array; -} -/** Enum value definition. */ -export interface EnumValueAmino { - /** Enum value name. */ - name: string; - /** Enum value number. */ - number: number; - /** Protocol buffer options. */ - options: OptionAmino[]; -} -export interface EnumValueAminoMsg { - type: "/google.protobuf.EnumValue"; - value: EnumValueAmino; -} -/** Enum value definition. */ -export interface EnumValueSDKType { - name: string; - number: number; - options: OptionSDKType[]; -} -/** - * A protocol buffer option, which can be attached to a message, field, - * enumeration, etc. - */ -export interface Option { - /** - * The option's name. For protobuf built-in options (options defined in - * descriptor.proto), this is the short name. For example, `"map_entry"`. - * For custom options, it should be the fully-qualified name. For example, - * `"google.api.http"`. - */ - name: string; - /** - * The option's value packed in an Any message. If the value is a primitive, - * the corresponding wrapper type defined in google/protobuf/wrappers.proto - * should be used. If the value is an enum, it should be stored as an int32 - * value using the google.protobuf.Int32Value type. - */ - value: Any; -} -export interface OptionProtoMsg { - typeUrl: "/google.protobuf.Option"; - value: Uint8Array; -} -/** - * A protocol buffer option, which can be attached to a message, field, - * enumeration, etc. - */ -export interface OptionAmino { - /** - * The option's name. For protobuf built-in options (options defined in - * descriptor.proto), this is the short name. For example, `"map_entry"`. - * For custom options, it should be the fully-qualified name. For example, - * `"google.api.http"`. - */ - name: string; - /** - * The option's value packed in an Any message. If the value is a primitive, - * the corresponding wrapper type defined in google/protobuf/wrappers.proto - * should be used. If the value is an enum, it should be stored as an int32 - * value using the google.protobuf.Int32Value type. - */ - value?: AnyAmino; -} -export interface OptionAminoMsg { - type: "/google.protobuf.Option"; - value: OptionAmino; -} -/** - * A protocol buffer option, which can be attached to a message, field, - * enumeration, etc. - */ -export interface OptionSDKType { - name: string; - value: AnySDKType; -} -function createBaseType(): Type { - return { - name: "", - fields: [], - oneofs: [], - options: [], - sourceContext: SourceContext.fromPartial({}), - syntax: 0 - }; -} -export const Type = { - typeUrl: "/google.protobuf.Type", - encode(message: Type, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - for (const v of message.fields) { - Field.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.oneofs) { - writer.uint32(26).string(v!); - } - for (const v of message.options) { - Option.encode(v!, writer.uint32(34).fork()).ldelim(); - } - if (message.sourceContext !== undefined) { - SourceContext.encode(message.sourceContext, writer.uint32(42).fork()).ldelim(); - } - if (message.syntax !== 0) { - writer.uint32(48).int32(message.syntax); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Type { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseType(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.fields.push(Field.decode(reader, reader.uint32())); - break; - case 3: - message.oneofs.push(reader.string()); - break; - case 4: - message.options.push(Option.decode(reader, reader.uint32())); - break; - case 5: - message.sourceContext = SourceContext.decode(reader, reader.uint32()); - break; - case 6: - message.syntax = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Type { - const obj = createBaseType(); - if (isSet(object.name)) obj.name = String(object.name); - if (Array.isArray(object?.fields)) obj.fields = object.fields.map((e: any) => Field.fromJSON(e)); - if (Array.isArray(object?.oneofs)) obj.oneofs = object.oneofs.map((e: any) => String(e)); - if (Array.isArray(object?.options)) obj.options = object.options.map((e: any) => Option.fromJSON(e)); - if (isSet(object.sourceContext)) obj.sourceContext = SourceContext.fromJSON(object.sourceContext); - if (isSet(object.syntax)) obj.syntax = syntaxFromJSON(object.syntax); - return obj; - }, - toJSON(message: Type): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.fields) { - obj.fields = message.fields.map(e => e ? Field.toJSON(e) : undefined); - } else { - obj.fields = []; - } - if (message.oneofs) { - obj.oneofs = message.oneofs.map(e => e); - } else { - obj.oneofs = []; - } - if (message.options) { - obj.options = message.options.map(e => e ? Option.toJSON(e) : undefined); - } else { - obj.options = []; - } - message.sourceContext !== undefined && (obj.sourceContext = message.sourceContext ? SourceContext.toJSON(message.sourceContext) : undefined); - message.syntax !== undefined && (obj.syntax = syntaxToJSON(message.syntax)); - return obj; - }, - fromPartial(object: DeepPartial): Type { - const message = createBaseType(); - message.name = object.name ?? ""; - message.fields = object.fields?.map(e => Field.fromPartial(e)) || []; - message.oneofs = object.oneofs?.map(e => e) || []; - message.options = object.options?.map(e => Option.fromPartial(e)) || []; - if (object.sourceContext !== undefined && object.sourceContext !== null) { - message.sourceContext = SourceContext.fromPartial(object.sourceContext); - } - message.syntax = object.syntax ?? 0; - return message; - }, - fromSDK(object: TypeSDKType): Type { - return { - name: object?.name, - fields: Array.isArray(object?.fields) ? object.fields.map((e: any) => Field.fromSDK(e)) : [], - oneofs: Array.isArray(object?.oneofs) ? object.oneofs.map((e: any) => e) : [], - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromSDK(e)) : [], - sourceContext: object.source_context ? SourceContext.fromSDK(object.source_context) : undefined, - syntax: isSet(object.syntax) ? syntaxFromJSON(object.syntax) : -1 - }; - }, - toSDK(message: Type): TypeSDKType { - const obj: any = {}; - obj.name = message.name; - if (message.fields) { - obj.fields = message.fields.map(e => e ? Field.toSDK(e) : undefined); - } else { - obj.fields = []; - } - if (message.oneofs) { - obj.oneofs = message.oneofs.map(e => e); - } else { - obj.oneofs = []; - } - if (message.options) { - obj.options = message.options.map(e => e ? Option.toSDK(e) : undefined); - } else { - obj.options = []; - } - message.sourceContext !== undefined && (obj.source_context = message.sourceContext ? SourceContext.toSDK(message.sourceContext) : undefined); - message.syntax !== undefined && (obj.syntax = syntaxToJSON(message.syntax)); - return obj; - }, - fromAmino(object: TypeAmino): Type { - return { - name: object.name, - fields: Array.isArray(object?.fields) ? object.fields.map((e: any) => Field.fromAmino(e)) : [], - oneofs: Array.isArray(object?.oneofs) ? object.oneofs.map((e: any) => e) : [], - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromAmino(e)) : [], - sourceContext: object?.source_context ? SourceContext.fromAmino(object.source_context) : undefined, - syntax: isSet(object.syntax) ? syntaxFromJSON(object.syntax) : -1 - }; - }, - toAmino(message: Type): TypeAmino { - const obj: any = {}; - obj.name = message.name; - if (message.fields) { - obj.fields = message.fields.map(e => e ? Field.toAmino(e) : undefined); - } else { - obj.fields = []; - } - if (message.oneofs) { - obj.oneofs = message.oneofs.map(e => e); - } else { - obj.oneofs = []; - } - if (message.options) { - obj.options = message.options.map(e => e ? Option.toAmino(e) : undefined); - } else { - obj.options = []; - } - obj.source_context = message.sourceContext ? SourceContext.toAmino(message.sourceContext) : undefined; - obj.syntax = message.syntax; - return obj; - }, - fromAminoMsg(object: TypeAminoMsg): Type { - return Type.fromAmino(object.value); - }, - fromProtoMsg(message: TypeProtoMsg): Type { - return Type.decode(message.value); - }, - toProto(message: Type): Uint8Array { - return Type.encode(message).finish(); - }, - toProtoMsg(message: Type): TypeProtoMsg { - return { - typeUrl: "/google.protobuf.Type", - value: Type.encode(message).finish() - }; - } -}; -function createBaseField(): Field { - return { - kind: 0, - cardinality: 0, - number: 0, - name: "", - typeUrl: "", - oneofIndex: 0, - packed: false, - options: [], - jsonName: "", - defaultValue: "" - }; -} -export const Field = { - typeUrl: "/google.protobuf.Field", - encode(message: Field, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.kind !== 0) { - writer.uint32(8).int32(message.kind); - } - if (message.cardinality !== 0) { - writer.uint32(16).int32(message.cardinality); - } - if (message.number !== 0) { - writer.uint32(24).int32(message.number); - } - if (message.name !== "") { - writer.uint32(34).string(message.name); - } - if (message.typeUrl !== "") { - writer.uint32(50).string(message.typeUrl); - } - if (message.oneofIndex !== 0) { - writer.uint32(56).int32(message.oneofIndex); - } - if (message.packed === true) { - writer.uint32(64).bool(message.packed); - } - for (const v of message.options) { - Option.encode(v!, writer.uint32(74).fork()).ldelim(); - } - if (message.jsonName !== "") { - writer.uint32(82).string(message.jsonName); - } - if (message.defaultValue !== "") { - writer.uint32(90).string(message.defaultValue); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Field { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseField(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.kind = (reader.int32() as any); - break; - case 2: - message.cardinality = (reader.int32() as any); - break; - case 3: - message.number = reader.int32(); - break; - case 4: - message.name = reader.string(); - break; - case 6: - message.typeUrl = reader.string(); - break; - case 7: - message.oneofIndex = reader.int32(); - break; - case 8: - message.packed = reader.bool(); - break; - case 9: - message.options.push(Option.decode(reader, reader.uint32())); - break; - case 10: - message.jsonName = reader.string(); - break; - case 11: - message.defaultValue = reader.string(); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Field { - const obj = createBaseField(); - if (isSet(object.kind)) obj.kind = field_KindFromJSON(object.kind); - if (isSet(object.cardinality)) obj.cardinality = field_CardinalityFromJSON(object.cardinality); - if (isSet(object.number)) obj.number = Number(object.number); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.typeUrl)) obj.typeUrl = String(object.typeUrl); - if (isSet(object.oneofIndex)) obj.oneofIndex = Number(object.oneofIndex); - if (isSet(object.packed)) obj.packed = Boolean(object.packed); - if (Array.isArray(object?.options)) obj.options = object.options.map((e: any) => Option.fromJSON(e)); - if (isSet(object.jsonName)) obj.jsonName = String(object.jsonName); - if (isSet(object.defaultValue)) obj.defaultValue = String(object.defaultValue); - return obj; - }, - toJSON(message: Field): unknown { - const obj: any = {}; - message.kind !== undefined && (obj.kind = field_KindToJSON(message.kind)); - message.cardinality !== undefined && (obj.cardinality = field_CardinalityToJSON(message.cardinality)); - message.number !== undefined && (obj.number = Math.round(message.number)); - message.name !== undefined && (obj.name = message.name); - message.typeUrl !== undefined && (obj.typeUrl = message.typeUrl); - message.oneofIndex !== undefined && (obj.oneofIndex = Math.round(message.oneofIndex)); - message.packed !== undefined && (obj.packed = message.packed); - if (message.options) { - obj.options = message.options.map(e => e ? Option.toJSON(e) : undefined); - } else { - obj.options = []; - } - message.jsonName !== undefined && (obj.jsonName = message.jsonName); - message.defaultValue !== undefined && (obj.defaultValue = message.defaultValue); - return obj; - }, - fromPartial(object: DeepPartial): Field { - const message = createBaseField(); - message.kind = object.kind ?? 0; - message.cardinality = object.cardinality ?? 0; - message.number = object.number ?? 0; - message.name = object.name ?? ""; - message.typeUrl = object.typeUrl ?? ""; - message.oneofIndex = object.oneofIndex ?? 0; - message.packed = object.packed ?? false; - message.options = object.options?.map(e => Option.fromPartial(e)) || []; - message.jsonName = object.jsonName ?? ""; - message.defaultValue = object.defaultValue ?? ""; - return message; - }, - fromSDK(object: FieldSDKType): Field { - return { - kind: isSet(object.kind) ? field_KindFromJSON(object.kind) : -1, - cardinality: isSet(object.cardinality) ? field_CardinalityFromJSON(object.cardinality) : -1, - number: object?.number, - name: object?.name, - typeUrl: object?.type_url, - oneofIndex: object?.oneof_index, - packed: object?.packed, - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromSDK(e)) : [], - jsonName: object?.json_name, - defaultValue: object?.default_value - }; - }, - toSDK(message: Field): FieldSDKType { - const obj: any = {}; - message.kind !== undefined && (obj.kind = field_KindToJSON(message.kind)); - message.cardinality !== undefined && (obj.cardinality = field_CardinalityToJSON(message.cardinality)); - obj.number = message.number; - obj.name = message.name; - obj.type_url = message.typeUrl; - obj.oneof_index = message.oneofIndex; - obj.packed = message.packed; - if (message.options) { - obj.options = message.options.map(e => e ? Option.toSDK(e) : undefined); - } else { - obj.options = []; - } - obj.json_name = message.jsonName; - obj.default_value = message.defaultValue; - return obj; - }, - fromAmino(object: FieldAmino): Field { - return { - kind: isSet(object.kind) ? field_KindFromJSON(object.kind) : -1, - cardinality: isSet(object.cardinality) ? field_CardinalityFromJSON(object.cardinality) : -1, - number: object.number, - name: object.name, - typeUrl: object.type_url, - oneofIndex: object.oneof_index, - packed: object.packed, - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromAmino(e)) : [], - jsonName: object.json_name, - defaultValue: object.default_value - }; - }, - toAmino(message: Field): FieldAmino { - const obj: any = {}; - obj.kind = message.kind; - obj.cardinality = message.cardinality; - obj.number = message.number; - obj.name = message.name; - obj.type_url = message.typeUrl; - obj.oneof_index = message.oneofIndex; - obj.packed = message.packed; - if (message.options) { - obj.options = message.options.map(e => e ? Option.toAmino(e) : undefined); - } else { - obj.options = []; - } - obj.json_name = message.jsonName; - obj.default_value = message.defaultValue; - return obj; - }, - fromAminoMsg(object: FieldAminoMsg): Field { - return Field.fromAmino(object.value); - }, - fromProtoMsg(message: FieldProtoMsg): Field { - return Field.decode(message.value); - }, - toProto(message: Field): Uint8Array { - return Field.encode(message).finish(); - }, - toProtoMsg(message: Field): FieldProtoMsg { - return { - typeUrl: "/google.protobuf.Field", - value: Field.encode(message).finish() - }; - } -}; -function createBaseEnum(): Enum { - return { - name: "", - enumvalue: [], - options: [], - sourceContext: SourceContext.fromPartial({}), - syntax: 0 - }; -} -export const Enum = { - typeUrl: "/google.protobuf.Enum", - encode(message: Enum, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - for (const v of message.enumvalue) { - EnumValue.encode(v!, writer.uint32(18).fork()).ldelim(); - } - for (const v of message.options) { - Option.encode(v!, writer.uint32(26).fork()).ldelim(); - } - if (message.sourceContext !== undefined) { - SourceContext.encode(message.sourceContext, writer.uint32(34).fork()).ldelim(); - } - if (message.syntax !== 0) { - writer.uint32(40).int32(message.syntax); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Enum { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnum(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.enumvalue.push(EnumValue.decode(reader, reader.uint32())); - break; - case 3: - message.options.push(Option.decode(reader, reader.uint32())); - break; - case 4: - message.sourceContext = SourceContext.decode(reader, reader.uint32()); - break; - case 5: - message.syntax = (reader.int32() as any); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Enum { - const obj = createBaseEnum(); - if (isSet(object.name)) obj.name = String(object.name); - if (Array.isArray(object?.enumvalue)) obj.enumvalue = object.enumvalue.map((e: any) => EnumValue.fromJSON(e)); - if (Array.isArray(object?.options)) obj.options = object.options.map((e: any) => Option.fromJSON(e)); - if (isSet(object.sourceContext)) obj.sourceContext = SourceContext.fromJSON(object.sourceContext); - if (isSet(object.syntax)) obj.syntax = syntaxFromJSON(object.syntax); - return obj; - }, - toJSON(message: Enum): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - if (message.enumvalue) { - obj.enumvalue = message.enumvalue.map(e => e ? EnumValue.toJSON(e) : undefined); - } else { - obj.enumvalue = []; - } - if (message.options) { - obj.options = message.options.map(e => e ? Option.toJSON(e) : undefined); - } else { - obj.options = []; - } - message.sourceContext !== undefined && (obj.sourceContext = message.sourceContext ? SourceContext.toJSON(message.sourceContext) : undefined); - message.syntax !== undefined && (obj.syntax = syntaxToJSON(message.syntax)); - return obj; - }, - fromPartial(object: DeepPartial): Enum { - const message = createBaseEnum(); - message.name = object.name ?? ""; - message.enumvalue = object.enumvalue?.map(e => EnumValue.fromPartial(e)) || []; - message.options = object.options?.map(e => Option.fromPartial(e)) || []; - if (object.sourceContext !== undefined && object.sourceContext !== null) { - message.sourceContext = SourceContext.fromPartial(object.sourceContext); - } - message.syntax = object.syntax ?? 0; - return message; - }, - fromSDK(object: EnumSDKType): Enum { - return { - name: object?.name, - enumvalue: Array.isArray(object?.enumvalue) ? object.enumvalue.map((e: any) => EnumValue.fromSDK(e)) : [], - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromSDK(e)) : [], - sourceContext: object.source_context ? SourceContext.fromSDK(object.source_context) : undefined, - syntax: isSet(object.syntax) ? syntaxFromJSON(object.syntax) : -1 - }; - }, - toSDK(message: Enum): EnumSDKType { - const obj: any = {}; - obj.name = message.name; - if (message.enumvalue) { - obj.enumvalue = message.enumvalue.map(e => e ? EnumValue.toSDK(e) : undefined); - } else { - obj.enumvalue = []; - } - if (message.options) { - obj.options = message.options.map(e => e ? Option.toSDK(e) : undefined); - } else { - obj.options = []; - } - message.sourceContext !== undefined && (obj.source_context = message.sourceContext ? SourceContext.toSDK(message.sourceContext) : undefined); - message.syntax !== undefined && (obj.syntax = syntaxToJSON(message.syntax)); - return obj; - }, - fromAmino(object: EnumAmino): Enum { - return { - name: object.name, - enumvalue: Array.isArray(object?.enumvalue) ? object.enumvalue.map((e: any) => EnumValue.fromAmino(e)) : [], - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromAmino(e)) : [], - sourceContext: object?.source_context ? SourceContext.fromAmino(object.source_context) : undefined, - syntax: isSet(object.syntax) ? syntaxFromJSON(object.syntax) : -1 - }; - }, - toAmino(message: Enum): EnumAmino { - const obj: any = {}; - obj.name = message.name; - if (message.enumvalue) { - obj.enumvalue = message.enumvalue.map(e => e ? EnumValue.toAmino(e) : undefined); - } else { - obj.enumvalue = []; - } - if (message.options) { - obj.options = message.options.map(e => e ? Option.toAmino(e) : undefined); - } else { - obj.options = []; - } - obj.source_context = message.sourceContext ? SourceContext.toAmino(message.sourceContext) : undefined; - obj.syntax = message.syntax; - return obj; - }, - fromAminoMsg(object: EnumAminoMsg): Enum { - return Enum.fromAmino(object.value); - }, - fromProtoMsg(message: EnumProtoMsg): Enum { - return Enum.decode(message.value); - }, - toProto(message: Enum): Uint8Array { - return Enum.encode(message).finish(); - }, - toProtoMsg(message: Enum): EnumProtoMsg { - return { - typeUrl: "/google.protobuf.Enum", - value: Enum.encode(message).finish() - }; - } -}; -function createBaseEnumValue(): EnumValue { - return { - name: "", - number: 0, - options: [] - }; -} -export const EnumValue = { - typeUrl: "/google.protobuf.EnumValue", - encode(message: EnumValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.number !== 0) { - writer.uint32(16).int32(message.number); - } - for (const v of message.options) { - Option.encode(v!, writer.uint32(26).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): EnumValue { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseEnumValue(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.number = reader.int32(); - break; - case 3: - message.options.push(Option.decode(reader, reader.uint32())); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): EnumValue { - const obj = createBaseEnumValue(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.number)) obj.number = Number(object.number); - if (Array.isArray(object?.options)) obj.options = object.options.map((e: any) => Option.fromJSON(e)); - return obj; - }, - toJSON(message: EnumValue): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.number !== undefined && (obj.number = Math.round(message.number)); - if (message.options) { - obj.options = message.options.map(e => e ? Option.toJSON(e) : undefined); - } else { - obj.options = []; - } - return obj; - }, - fromPartial(object: DeepPartial): EnumValue { - const message = createBaseEnumValue(); - message.name = object.name ?? ""; - message.number = object.number ?? 0; - message.options = object.options?.map(e => Option.fromPartial(e)) || []; - return message; - }, - fromSDK(object: EnumValueSDKType): EnumValue { - return { - name: object?.name, - number: object?.number, - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromSDK(e)) : [] - }; - }, - toSDK(message: EnumValue): EnumValueSDKType { - const obj: any = {}; - obj.name = message.name; - obj.number = message.number; - if (message.options) { - obj.options = message.options.map(e => e ? Option.toSDK(e) : undefined); - } else { - obj.options = []; - } - return obj; - }, - fromAmino(object: EnumValueAmino): EnumValue { - return { - name: object.name, - number: object.number, - options: Array.isArray(object?.options) ? object.options.map((e: any) => Option.fromAmino(e)) : [] - }; - }, - toAmino(message: EnumValue): EnumValueAmino { - const obj: any = {}; - obj.name = message.name; - obj.number = message.number; - if (message.options) { - obj.options = message.options.map(e => e ? Option.toAmino(e) : undefined); - } else { - obj.options = []; - } - return obj; - }, - fromAminoMsg(object: EnumValueAminoMsg): EnumValue { - return EnumValue.fromAmino(object.value); - }, - fromProtoMsg(message: EnumValueProtoMsg): EnumValue { - return EnumValue.decode(message.value); - }, - toProto(message: EnumValue): Uint8Array { - return EnumValue.encode(message).finish(); - }, - toProtoMsg(message: EnumValue): EnumValueProtoMsg { - return { - typeUrl: "/google.protobuf.EnumValue", - value: EnumValue.encode(message).finish() - }; - } -}; -function createBaseOption(): Option { - return { - name: "", - value: Any.fromPartial({}) - }; -} -export const Option = { - typeUrl: "/google.protobuf.Option", - encode(message: Option, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.name !== "") { - writer.uint32(10).string(message.name); - } - if (message.value !== undefined) { - Any.encode(message.value, writer.uint32(18).fork()).ldelim(); - } - return writer; - }, - decode(input: _m0.Reader | Uint8Array, length?: number): Option { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseOption(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.value = Any.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }, - fromJSON(object: any): Option { - const obj = createBaseOption(); - if (isSet(object.name)) obj.name = String(object.name); - if (isSet(object.value)) obj.value = Any.fromJSON(object.value); - return obj; - }, - toJSON(message: Option): unknown { - const obj: any = {}; - message.name !== undefined && (obj.name = message.name); - message.value !== undefined && (obj.value = message.value ? Any.toJSON(message.value) : undefined); - return obj; - }, - fromPartial(object: DeepPartial
- All validators - - - - - - - - - - {sortedValidators.map((validator, index) => ( - onValidatorClick(validator.name || '')} // Add click handler - backgroundColor={ - selectedValidators.includes(validator.name || '') - ? 'rgba(255, 128, 0, 0.25)' - : 'transparent' - } // Change background color if selected - > - - - - - - ))} - -
handleSort('moniker')} - _hover={{ - backgroundColor: 'rgba(255,128,0, 0.25)', - cursor: 'pointer', - }} - > - Moniker - handleSort('commission')} - _hover={{ - backgroundColor: 'rgba(255,128,0, 0.25)', - cursor: 'pointer', - }} - > - Commission - - Missed - - Rank -
- {(validator.name.length || 0) > 20 - ? validator.name.substring(0, 14) || '' + '...' - : validator.name || ''} - - {validator.commission - ? ( - (parseFloat(validator.commission || '') / 1e18) * - 100 - ).toFixed(2) + '%' - : 'N/A'} -
- - - - - - - ); -}; - -interface MultiModalProps { - isOpen: boolean; - onClose: () => void; - children?: React.ReactNode; - selectedChainName: string; -} - -export const MultiModal: React.FC = ({ - isOpen, - onClose, - selectedChainName, -}) => { - const [selectedValidators, setSelectedValidators] = React.useState( - [], - ); - - const [searchTerm, setSearchTerm] = React.useState(''); - - const { data, isLoading, refetch } = useValidatorData(selectedChainName); - - useEffect(() => { - if (isLoading) return; - refetch(); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [selectedChainName]); - - const validators = data?.validators; - - const handleValidatorClick = (validatorName: string) => { - // If the validator is already selected, remove it, else add to the selected list - setSelectedValidators((prevState) => - prevState.includes(validatorName) - ? prevState.filter((v) => v !== validatorName) - : [...prevState, validatorName], - ); - }; - - const handleQuickSelect = (count: number) => { - if (!data || !validators) return; - - // Get the top N validators - const topValidators = validators - .slice(0, count) - .map((validator) => validator.name); - - setSelectedValidators(topValidators); - }; - - const handleSearchChange = (event: React.ChangeEvent) => { - setSearchTerm(event.target.value.toLowerCase()); - }; - - return ( - - {/* Set the size here */} - - - - - -

- - - - Validator Selection - - - - -

- - - Choose which validator(s) you would like to liquid stake to. - You can select from the list below or utilize the quick select - to pick the highest ranked validators. To learn more about - raninkings click here. - - -
-
-
- {' '} - {/* Positioning by default should be top right */} - - - {isLoading ? ( - - - - ) : ( - - - - - - - - - - - - - - - - - - - )} - - -
-
- ); -}; diff --git a/web-ui/components/Staking/networkSelectButton.tsx b/web-ui/components/Staking/networkSelectButton.tsx deleted file mode 100644 index c05928d25..000000000 --- a/web-ui/components/Staking/networkSelectButton.tsx +++ /dev/null @@ -1,136 +0,0 @@ -// CustomMenu.tsx - -import { - Menu, - MenuButton, - MenuList, - MenuItem, - Button, - Flex, - Image, - Text, -} from '@chakra-ui/react'; -import React, { Dispatch, SetStateAction } from 'react'; -import { BsArrowDown } from 'react-icons/bs'; - -const networks = [ - { - value: 'ATOM', - logo: '/img/networks/atom.svg', - name: 'Cosmos Hub', - chainName: 'cosmoshub', - }, - { - value: 'OSMO', - logo: '/img/networks/osmosis.svg', - name: 'Osmosis', - chainName: 'osmosis', - }, - { - value: 'STARS', - logo: '/img/networks/stargaze.svg', - name: 'Stargaze', - chainName: 'stargaze', - }, - { - value: 'REGEN', - logo: '/img/networks/regen.svg', - name: 'Regen', - chainName: 'regen', - }, - { - value: 'SOMM', - logo: '/img/networks/sommelier.png', - name: 'Sommelier', - chainName: 'sommelier', - }, -]; - -interface CustomMenuProps { - buttonTextColor?: string; - selectedOption: string; - selectedChainName: string; - setSelectedOption: (value: string) => void; - setSelectedChainName: (value: string) => void; -} - -export const NetworkSelect: React.FC = ({ - buttonTextColor = 'white', - selectedOption, - setSelectedOption, - setSelectedChainName, - selectedChainName, -}) => { - const handleOptionClick = (option: string) => { - setSelectedOption(option); - const selectedNetwork = networks.find((net) => net.value === option); - if (selectedNetwork) { - setSelectedChainName(selectedNetwork.chainName); - } - }; - return ( - - } - > - {selectedOption.toUpperCase()} - - - {networks.map((network) => ( - handleOptionClick(network.value)} - > - - {network.name.toLowerCase()} - - {network.name} - - - - ))} - - - ); -}; diff --git a/web-ui/components/Staking/stakingBox.tsx b/web-ui/components/Staking/stakingBox.tsx deleted file mode 100644 index d2a16749f..000000000 --- a/web-ui/components/Staking/stakingBox.tsx +++ /dev/null @@ -1,294 +0,0 @@ -import { - Box, - Tabs, - TabList, - Tab, - TabPanels, - TabPanel, - VStack, - Text, - Flex, - Stat, - StatLabel, - StatNumber, - Input, - Divider, - HStack, - Button, - Spacer, - Spinner, -} from '@chakra-ui/react'; -import React, { useEffect } from 'react'; - -import { MultiModal } from './modals/multiStakeModal'; - -type StakingBoxProps = { - selectedOption: string; - isModalOpen: boolean; - setModalOpen: (isOpen: boolean) => void; - selectedChainName: string; -}; - -export const StakingBox = ({ - selectedOption, - isModalOpen, - setModalOpen, - selectedChainName, -}: StakingBoxProps): JSX.Element => { - return ( - - - - - Stake - - - Unstake - - - - - - - Stake your {selectedOption.toUpperCase()} tokens in exchange for - q{selectedOption.toUpperCase()} which you can deploy around the - ecosystem. You can liquid stake half of your balance, if - you're going to LP. - - - - Amount to stake: - {selectedOption.toUpperCase()} - - - - - Tokens available: 0 {selectedOption.toUpperCase()} - - - - - - - - - - - What you'll get - q{selectedOption.toUpperCase()}: - - {' '} - {/* This pushes the next Stat component to the right */} - - 0 - - - - setModalOpen(false)} - selectedChainName={selectedChainName} - /> - - - - - - Unstake your q{selectedOption.toUpperCase()} tokens in exchange - for {selectedOption.toUpperCase()}. - - - - Amount tounstake: - q{selectedOption.toUpperCase()} - - - - - Tokens available: 0 q{selectedOption.toUpperCase()} - - - - - - - - - What you'll get - {selectedOption.toUpperCase()}: - - {' '} - {/* This pushes the next Stat component to the right */} - - 0 - - - - - - - - - ); -}; diff --git a/web-ui/components/ThreeJS/index.tsx b/web-ui/components/ThreeJS/index.tsx deleted file mode 100644 index 017e859a8..000000000 --- a/web-ui/components/ThreeJS/index.tsx +++ /dev/null @@ -1 +0,0 @@ -export * from './liquidMetalSphere'; diff --git a/web-ui/components/ThreeJS/liquidMetalSphere.tsx b/web-ui/components/ThreeJS/liquidMetalSphere.tsx deleted file mode 100644 index 75b1a0d1e..000000000 --- a/web-ui/components/ThreeJS/liquidMetalSphere.tsx +++ /dev/null @@ -1,70 +0,0 @@ -import { useRef, useEffect } from 'react'; -import * as THREE from 'three'; - -const LiquidMetalSphere = () => { - const mountRef = useRef( - null, - ); - - useEffect(() => { - if (!mountRef.current) return; - - const scene = new THREE.Scene(); - const camera = new THREE.PerspectiveCamera( - 75, - window.innerWidth / window.innerHeight, - 1, - 10, - ); - const renderer = new THREE.WebGLRenderer({ - antialias: true, - }); - - renderer.setSize( - window.innerWidth, - window.innerHeight, - ); - mountRef.current.appendChild( - renderer.domElement, - ); - - - const geometry = new THREE.SphereGeometry( - 1, - 32, - 32, - ); - const material = new THREE.MeshBasicMaterial({ - color: 'orange', - wireframe: true, - }); - const sphere = new THREE.Mesh( - geometry, - material, - ); - scene.add(sphere); - - camera.position.z = 5; - - const animate = () => { - requestAnimationFrame(animate); - sphere.rotation.x += 0.001; - sphere.rotation.y += 0.001; - renderer.render(scene, camera); - }; - - animate(); - - return () => { - renderer.dispose(); - window.removeEventListener( - 'resize', - () => {}, - ); - }; - }, []); - - return
; -}; - -export default LiquidMetalSphere; diff --git a/web-ui/components/index.tsx b/web-ui/components/index.tsx deleted file mode 100644 index 84957e263..000000000 --- a/web-ui/components/index.tsx +++ /dev/null @@ -1,5 +0,0 @@ -export * from './types'; -export * from './react'; -export * from './Staking'; -export * from './Governance'; -export * from './wallet'; diff --git a/web-ui/components/react/address-card.tsx b/web-ui/components/react/address-card.tsx deleted file mode 100644 index 02c3a3484..000000000 --- a/web-ui/components/react/address-card.tsx +++ /dev/null @@ -1,246 +0,0 @@ -import { - Box, - Button, - Icon, - Text, - useClipboard, - useColorMode, - Image, -} from '@chakra-ui/react'; -import { WalletStatus } from '@cosmos-kit/core'; -import React, { - ReactNode, - useEffect, - useState, -} from 'react'; -import { FaCheckCircle } from 'react-icons/fa'; -import { FiCopy } from 'react-icons/fi'; - -import { CopyAddressType } from '../types'; - -const SIZES = { - lg: { - height: 12, - walletImageSize: 7, - icon: 5, - fontSize: 'md', - }, - md: { - height: 10, - walletImageSize: 6, - icon: 4, - fontSize: 'sm', - }, - sm: { - height: 7, - walletImageSize: 5, - icon: 3.5, - fontSize: 'sm', - }, -}; - -export function stringTruncateFromCenter( - str: string, - maxLength: number, -) { - const midChar = '…'; // character to insert into the center of the result - - if (str.length <= maxLength) return str; - - // length of beginning part - const left = Math.ceil(maxLength / 2); - - // start index of ending part - const right = - str.length - Math.floor(maxLength / 2) + 1; - - return ( - str.substring(0, left) + - midChar + - str.substring(right) - ); -} - -export function handleChangeColorModeValue( - colorMode: string, - light: string, - dark: string, -) { - if (colorMode === 'light') return light; - if (colorMode === 'dark') return dark; -} - -export const ConnectedShowAddress = ({ - address, - walletIcon, - isLoading, - isRound, - size = 'md', - maxDisplayLength, -}: CopyAddressType) => { - const { hasCopied, onCopy } = useClipboard( - address ? address : '', - ); - const [displayAddress, setDisplayAddress] = - useState(''); - const { colorMode } = useColorMode(); - const defaultMaxLength = { - lg: 14, - md: 16, - sm: 18, - }; - - useEffect(() => { - if (!address) - setDisplayAddress( - 'address not identified yet', - ); - if (address && maxDisplayLength) - setDisplayAddress( - stringTruncateFromCenter( - address, - maxDisplayLength, - ), - ); - if (address && !maxDisplayLength) - setDisplayAddress( - stringTruncateFromCenter( - address, - defaultMaxLength[ - size as keyof typeof defaultMaxLength - ], - ), - ); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [address]); - - return ( - - ); -}; - -export const CopyAddressBtn = ({ - walletStatus, - connected, -}: { - walletStatus: WalletStatus; - connected: ReactNode; -}) => { - switch (walletStatus) { - case WalletStatus.Connected: - return <>{connected}; - default: - return <>; - } -}; diff --git a/web-ui/components/react/astronaut.tsx b/web-ui/components/react/astronaut.tsx deleted file mode 100644 index 0704133ad..000000000 --- a/web-ui/components/react/astronaut.tsx +++ /dev/null @@ -1,156 +0,0 @@ -export const Astronaut = (props: any) => ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -); diff --git a/web-ui/components/react/chain-card.tsx b/web-ui/components/react/chain-card.tsx deleted file mode 100644 index 09753b604..000000000 --- a/web-ui/components/react/chain-card.tsx +++ /dev/null @@ -1,60 +0,0 @@ -import { - Box, - Stack, - useColorModeValue, - Image, - Text, -} from '@chakra-ui/react'; - -import { ChainCardProps } from '../types'; - -export const ChainCard = ( - props: ChainCardProps, -) => { - return ( - - - - - - {props.prettyName} - - - ); -}; diff --git a/web-ui/components/react/header.tsx b/web-ui/components/react/header.tsx deleted file mode 100644 index 130f2e0d6..000000000 --- a/web-ui/components/react/header.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { - Flex, - Box, - Image, -} from '@chakra-ui/react'; - -import { WalletButton } from '../wallet-button'; - -export const Header: React.FC<{ chainName: string }> = ({ chainName }) => { - return ( - - - - - - - - - ); -}; diff --git a/web-ui/components/react/index.ts b/web-ui/components/react/index.ts deleted file mode 100644 index c90449f4a..000000000 --- a/web-ui/components/react/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -export * from './astronaut'; -export * from './wallet-connect'; -export * from './warn-block'; -export * from './user-card'; -export * from './address-card'; -export * from './chain-card'; -export * from './sideHeader'; -export * from './header'; diff --git a/web-ui/components/react/sideHeader.tsx b/web-ui/components/react/sideHeader.tsx deleted file mode 100644 index b11388698..000000000 --- a/web-ui/components/react/sideHeader.tsx +++ /dev/null @@ -1,235 +0,0 @@ -import { HamburgerIcon } from '@chakra-ui/icons'; -import { - Flex, - Box, - Image, - Spacer, - VStack, - IconButton, - Tooltip, -} from '@chakra-ui/react'; -import { useRouter } from 'next/router'; -import { useState, useEffect } from 'react'; - -export const SideHeader = () => { - const router = useRouter(); - const [selectedPage, setSelectedPage] = - useState(''); - useEffect(() => { - // Function to handle route changes - const handleRouteChange = (url: string) => { - const path = url.split('/')[1]; - setSelectedPage(path); - }; - - // Add the route change listener - router.events.on( - 'routeChangeComplete', - handleRouteChange, - ); - - // Cleanup the listener when the component is unmounted - return () => { - router.events.off( - 'routeChangeComplete', - handleRouteChange, - ); - }; - }, [router]); - - const commonBoxShadowColor = - 'rgba(255, 128, 0, 0.25)'; - - return ( - - - logo router.push('/')} - cursor="pointer" - /> - - - - - router.push('/staking') - } - cursor="pointer" - borderRadius="100px" - boxShadow={ - selectedPage === 'staking' - ? `0 0 15px 5px ${commonBoxShadowColor}, inset 0 0 50px 5px ${commonBoxShadowColor}` - : '' - } - _hover={{ - boxShadow: `0 0 15px 5px ${commonBoxShadowColor}, inset 0 0 50px 5px ${commonBoxShadowColor}`, - }} - > - Staking - - - - - - router.push('/governance') - } - cursor="pointer" - borderRadius="100px" - boxShadow={ - selectedPage === 'governance' - ? `0 0 15px 5px ${commonBoxShadowColor}, inset 0 0 50px 5px ${commonBoxShadowColor}` - : '' - } - _hover={{ - boxShadow: `0 0 15px 5px ${commonBoxShadowColor}, inset 0 0 50px 5px ${commonBoxShadowColor}`, - }} - > - Governance - - - - - - router.push('/assets') - } - cursor="pointer" - borderRadius="100px" - boxShadow={ - selectedPage === 'assets' - ? `0 0 15px 5px ${commonBoxShadowColor}, inset 0 0 50px 5px ${commonBoxShadowColor}` - : '' - } - _hover={{ - boxShadow: `0 0 15px 5px ${commonBoxShadowColor}, inset 0 0 50px 5px ${commonBoxShadowColor}`, - }} - > - Assets - - - - - router.push('/defi')} - cursor="pointer" - borderRadius="100px" - boxShadow={ - selectedPage === 'defi' - ? `0 0 15px 5px ${commonBoxShadowColor}, inset 0 0 50px 5px ${commonBoxShadowColor}` - : '' - } - _hover={{ - boxShadow: `0 0 15px 5px ${commonBoxShadowColor}, inset 0 0 50px 5px ${commonBoxShadowColor}`, - }} - > - DeFi - - - - - } - aria-label="DeFi" - /> - - - ); -}; diff --git a/web-ui/components/react/user-card.tsx b/web-ui/components/react/user-card.tsx deleted file mode 100644 index faa2b9507..000000000 --- a/web-ui/components/react/user-card.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import { - Text, - Stack, - Box, -} from '@chakra-ui/react'; -import React from 'react'; - -import { ConnectedUserCardType } from '../types'; - -export const ConnectedUserInfo = ({ - username, - icon, -}: ConnectedUserCardType) => { - return ( - - {username && ( - <> - - {icon} - - - {username} - - - )} - - ); -}; diff --git a/web-ui/components/react/wallet-connect.tsx b/web-ui/components/react/wallet-connect.tsx deleted file mode 100644 index 584f94ad5..000000000 --- a/web-ui/components/react/wallet-connect.tsx +++ /dev/null @@ -1,228 +0,0 @@ -import { - Button, - Icon, - Stack, - Text, - useColorModeValue, -} from '@chakra-ui/react'; -import { WalletStatus } from '@cosmos-kit/core'; -import React, { - MouseEventHandler, - ReactNode, -} from 'react'; -import { FiAlertTriangle } from 'react-icons/fi'; -import { IoWallet } from 'react-icons/io5'; - -import { ConnectWalletType } from '../types'; - -export const ConnectWalletButton = ({ - buttonText, - isLoading, - isDisabled, - icon, - onClickConnectBtn, -}: ConnectWalletType) => { - const buttonTextColor = useColorModeValue( - 'primary.700', - 'primary.50', - ); - const invertButtonTextColor = useColorModeValue( - 'primary.50', - 'primary.700', - ); - return ( - - ); -}; - -export const Disconnected = ({ - buttonText, - onClick, -}: { - buttonText: string; - onClick: MouseEventHandler; -}) => { - return ( - - ); -}; - -export const Connected = ({ - buttonText, - onClick, -}: { - buttonText: string; - onClick: MouseEventHandler; -}) => { - return ( - - ); -}; - -export const Connecting = () => { - return ; -}; - -export const Rejected = ({ - buttonText, - wordOfWarning, - onClick, -}: { - buttonText: string; - wordOfWarning?: string; - onClick: MouseEventHandler; -}) => { - const bg = useColorModeValue( - 'orange.200', - 'orange.300', - ); - - return ( - - - {wordOfWarning && ( - - - - - Warning:  - - {wordOfWarning} - - - )} - - ); -}; - -export const Error = ({ - buttonText, - wordOfWarning, - onClick, -}: { - buttonText: string; - wordOfWarning?: string; - onClick: MouseEventHandler; -}) => { - const bg = useColorModeValue( - 'orange.200', - 'orange.300', - ); - - return ( - - - {wordOfWarning && ( - - - - - Warning:  - - {wordOfWarning} - - - )} - - ); -}; - -export const NotExist = ({ - buttonText, - onClick, -}: { - buttonText: string; - onClick: MouseEventHandler; -}) => { - return ( - - ); -}; - -export const WalletConnectComponent = ({ - walletStatus, - disconnect, - connecting, - connected, - rejected, - error, - notExist, -}: { - walletStatus: WalletStatus; - disconnect: ReactNode; - connecting: ReactNode; - connected: ReactNode; - rejected: ReactNode; - error: ReactNode; - notExist: ReactNode; -}) => { - switch (walletStatus) { - case WalletStatus.Disconnected: - return <>{disconnect}; - case WalletStatus.Connecting: - return <>{connecting}; - case WalletStatus.Connected: - return <>{connected}; - case WalletStatus.Rejected: - return <>{rejected}; - case WalletStatus.Error: - return <>{error}; - case WalletStatus.NotExist: - return <>{notExist}; - default: - return <>{disconnect}; - } -}; diff --git a/web-ui/components/react/warn-block.tsx b/web-ui/components/react/warn-block.tsx deleted file mode 100644 index 3506e7a49..000000000 --- a/web-ui/components/react/warn-block.tsx +++ /dev/null @@ -1,103 +0,0 @@ -import { - Box, - Stack, - Text, - useColorModeValue, -} from '@chakra-ui/react'; -import { WalletStatus } from '@cosmos-kit/core'; -import React, { ReactNode } from 'react'; - -export const WarnBlock = ({ - wordOfWarning, - icon, -}: { - wordOfWarning?: string; - icon?: ReactNode; -}) => { - return ( - - - - {icon} - - {wordOfWarning} - - - ); -}; - -export const RejectedWarn = ({ - wordOfWarning, - icon, -}: { - wordOfWarning?: string; - icon?: ReactNode; -}) => { - return ( - - ); -}; - -export const ConnectStatusWarn = ({ - walletStatus, - rejected, - error, -}: { - walletStatus: WalletStatus; - rejected: ReactNode; - error: ReactNode; -}) => { - switch (walletStatus) { - case WalletStatus.Rejected: - return <>{rejected}; - case WalletStatus.Error: - return <>{error}; - default: - return <>; - } -}; diff --git a/web-ui/components/types.tsx b/web-ui/components/types.tsx deleted file mode 100644 index cd6acfd0c..000000000 --- a/web-ui/components/types.tsx +++ /dev/null @@ -1,53 +0,0 @@ -import { MouseEventHandler, ReactNode } from 'react'; -import { IconType } from 'react-icons'; - -export interface ChooseChainInfo { - chainName: string; - chainRoute?: string; - label: string; - value: string; - icon?: string; - disabled?: boolean; -} - -export enum WalletStatus { - NotInit = 'NotInit', - Loading = 'Loading', - Loaded = 'Loaded', - NotExist = 'NotExist', - Rejected = 'Rejected' -} - -export interface ConnectWalletType { - buttonText?: string; - isLoading?: boolean; - isDisabled?: boolean; - icon?: IconType; - onClickConnectBtn?: MouseEventHandler; -} - -export interface ConnectedUserCardType { - walletIcon?: string; - username?: string; - icon?: ReactNode; -} - -export interface FeatureProps { - title: string; - text: string; - href: string; -} - -export interface ChainCardProps { - prettyName: string; - icon?: string; -} - -export type CopyAddressType = { - address?: string; - walletIcon?: string; - isLoading?: boolean; - maxDisplayLength?: number; - isRound?: boolean; - size?: string; -}; diff --git a/web-ui/components/wallet-button.tsx b/web-ui/components/wallet-button.tsx deleted file mode 100644 index 2bf78d9f0..000000000 --- a/web-ui/components/wallet-button.tsx +++ /dev/null @@ -1,158 +0,0 @@ -import { - Center, - Grid, - GridItem, - Icon, -} from '@chakra-ui/react'; -import { - useChain, - useManager, -} from '@cosmos-kit/react'; -import { MouseEventHandler } from 'react'; -import { FiAlertTriangle } from 'react-icons/fi'; - -import { - Astronaut, - Error, - Connected, - ConnectedShowAddress, - ConnectedUserInfo, - Connecting, - ConnectStatusWarn, - CopyAddressBtn, - Disconnected, - NotExist, - Rejected, - RejectedWarn, - WalletConnectComponent, -} from '@/components'; - -export const WalletButton: React.FC<{ chainName: string }> = ({ chainName }) => { - const { - connect, - openView, - status, - username, - address, - message, - wallet, - chain: chainInfo, - } = useChain(chainName || "cosmoshub"); - const { getChainLogo } = useManager(); - - const chain = { - chainName, - label: chainInfo.pretty_name, - value: chainName, - icon: getChainLogo(chainName || "cosmoshub"), - }; - - // Events - const onClickConnect: MouseEventHandler = - async (e) => { - e.preventDefault(); - await connect(); - }; - - const onClickOpenView: MouseEventHandler = ( - e, - ) => { - e.preventDefault(); - openView(); - }; - - // Components - const connectWalletButton = ( - - } - connecting={} - connected={ - - } - rejected={ - - } - error={ - - } - notExist={ - - } - /> - ); - - const connectWalletWarn = ( - - } - wordOfWarning={`${wallet?.prettyName}: ${message}`} - /> - } - error={ - - } - wordOfWarning={`${wallet?.prettyName}: ${message}`} - /> - } - /> - ); - - const userInfo = username && ( - } - /> - ); - const addressBtn = ( - - } - /> - ); - - return ( -
- - {connectWalletButton} - {connectWalletWarn && ( - {connectWalletWarn} - )} - -
- ); -}; diff --git a/web-ui/components/wallet.tsx b/web-ui/components/wallet.tsx deleted file mode 100644 index 36b8a6dc8..000000000 --- a/web-ui/components/wallet.tsx +++ /dev/null @@ -1,152 +0,0 @@ -import { - Box, - Center, - Grid, - GridItem, - Icon, - Stack, - useColorModeValue, -} from '@chakra-ui/react'; -import { useChain, useManager } from '@cosmos-kit/react'; -import { MouseEventHandler } from 'react'; -import { FiAlertTriangle } from 'react-icons/fi'; - -import { defaultChainName as chainName } from '@/config'; - -import { - Astronaut, - Error, - Connected, - ConnectedShowAddress, - ConnectedUserInfo, - Connecting, - ConnectStatusWarn, - CopyAddressBtn, - Disconnected, - NotExist, - Rejected, - RejectedWarn, - WalletConnectComponent, - ChainCard, -} from '../components'; - -export const WalletSection = () => { - const { - connect, - openView, - status, - username, - address, - message, - wallet, - chain: chainInfo, - } = useChain(chainName); - const { getChainLogo } = useManager(); - - const chain = { - chainName, - label: chainInfo.pretty_name, - value: chainName, - icon: getChainLogo(chainName), - }; - - // Events - const onClickConnect: MouseEventHandler = async (e) => { - e.preventDefault(); - await connect(); - }; - - const onClickOpenView: MouseEventHandler = (e) => { - e.preventDefault(); - openView(); - }; - - // Components - const connectWalletButton = ( - - } - connecting={} - connected={ - - } - rejected={} - error={} - notExist={ - - } - /> - ); - - const connectWalletWarn = ( - } - wordOfWarning={`${wallet?.prettyName}: ${message}`} - /> - } - error={ - } - wordOfWarning={`${wallet?.prettyName}: ${message}`} - /> - } - /> - ); - - const userInfo = username && ( - } /> - ); - const addressBtn = ( - } - /> - ); - - return ( -
- - - - - - - {userInfo} - {addressBtn} - - {connectWalletButton} - - {connectWalletWarn && {connectWalletWarn}} - - - -
- ); -}; diff --git a/web-ui/config/defaults.ts b/web-ui/config/defaults.ts deleted file mode 100644 index 8aac33cac..000000000 --- a/web-ui/config/defaults.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { - AssetList, - Asset, -} from '@chain-registry/types'; -import { assets } from 'chain-registry'; - -export const defaultChainName = 'quicksilver'; - -export const getChainAssets = ( - chainName: string = defaultChainName, -) => { - return assets.find( - (chain) => chain.chain_name === chainName, - ) as AssetList; -}; - -export const getCoin = ( - chainName: string = defaultChainName, -) => { - const chainAssets = getChainAssets(chainName); - return chainAssets.assets[0] as Asset; -}; - -export const getExponent = ( - chainName: string, -) => { - return getCoin(chainName).denom_units.find( - (unit) => - unit.denom === getCoin(chainName).display, - )?.exponent as number; -}; - -export const formatDenom = ( - denom: string | undefined, -) => { - return denom - ? denom.length < 3 || denom.startsWith('ibc') - ? 'uqck' - : denom - : 'uqck'; -}; diff --git a/web-ui/config/index.ts b/web-ui/config/index.ts deleted file mode 100644 index 4cd3a35f5..000000000 --- a/web-ui/config/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './theme'; -export * from './defaults'; diff --git a/web-ui/config/theme.ts b/web-ui/config/theme.ts deleted file mode 100644 index 5f527cb73..000000000 --- a/web-ui/config/theme.ts +++ /dev/null @@ -1,162 +0,0 @@ -import { extendTheme } from '@chakra-ui/react'; - -const defaultThemeObject = { - config: { - initialColorMode: 'light', - useSystemColorMode: false, - }, - styles: { - global: (props: { colorMode: string }) => ({ - body: { - background: props.colorMode === 'dark' ? '#000000' : '#000000', - bgGradient: - props.colorMode === 'dark' - ? 'linear(to-r, #333333, #808080)' - : 'linear(to-l, #CCCCCC, #808080)', - color: - props.colorMode === 'dark' ? 'rgb(255, 255, 255)' : 'rgb(0, 0, 0)', - }, - }), - }, - colors: { - primary: { - dark: '#333333', - light: '#adadad', - 50: '#E6E6E6', - 100: '#CCCCCC', - 200: '#B3B3B3', - 300: '#999999', - 400: '#808080', - 500: '#666666', - 600: '#4D4D4D', - 700: '#333333', - 800: '#1A1A1A', - 900: '#000000', - }, - complimentary: { - 50: '#FFF2E6', - 100: '#FFE6CC', - 200: '#FFD9B3', - 300: '#FFCC99', - 400: '#FFBF80', - 500: '#FFB266', - 600: '#FFA54D', - 700: '#FF9933', - 800: '#FF8C1A', - 900: '#FF8000', - 1000: '#b35a02', - }, - background: { - start: 'rgb(214, 219, 220)', - end: 'rgb(255, 255, 255)', - darkStart: 'rgb(0, 0, 0)', - darkEnd: 'rgb(0, 0, 0)', - }, - text: { - light: 'white', - dark: 'rgb(255, 255, 255)', - }, - swiper: '#007aff', - lightText: '#fbfbfb', - tableBackground: 'transparent', - tile: { - start: 'rgb(239, 245, 249)', - end: 'rgb(228, 232, 233)', - darkStart: 'rgb(2, 13, 46)', - darkEnd: 'rgb(2, 5, 19)', - }, - callout: { - main: 'rgb(238, 240, 241)', - border: 'rgb(172, 175, 176)', - darkMain: 'rgb(20, 20, 20)', - darkBorder: 'rgb(108, 108, 108)', - }, - card: { - main: 'rgb(180, 185, 188)', - border: 'rgb(131, 134, 135)', - darkMain: 'rgb(100, 100, 100)', - darkBorder: 'rgb(200, 200, 200)', - }, - primaryGlow: { - light: - 'conic-gradient(from 180deg at 50% 50%, #16abff33 0deg, #0885ff33 55deg, #54d6ff33 120deg, #0071ff33 160deg, transparent 360deg)', - dark: 'radial-gradient(rgba(1, 65, 255, 0.4), rgba(1, 65, 255, 0))', - }, - secondaryGlow: { - light: 'radial-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))', - dark: 'linear-gradient(to bottom right, rgba(1, 65, 255, 0), rgba(1, 65, 255, 0), rgba(1, 65, 255, 0.3))', - }, - }, - fonts: { - heading: 'Lato, Poppins', - body: 'Lato, Poppins', - }, - textStyles: { - h1: { - fontWeight: 'bold', - fontSize: '2xl', - letterSpacing: '-0.1rem', - lineHeight: '1.2', - }, - h2: { - fontWeight: 'semibold', - fontSize: 'xl', - letterSpacing: '-0.05rem', - lineHeight: '1.2', - }, - }, - components: { - Tooltip: { - baseStyle: { - fontSize: '1em', - bgColor: 'primary.700', - color: 'primary.50', - borderRadius: '8px', - px: '0.75em', - py: '0.5em', - }, - }, - Button: { - baseStyle: { - fontWeight: 'bold', - }, - variants: { - solid: { - bgColor: 'complimentary.900', - color: 'white', - }, - outline: { - borderColor: 'complimentary.900', - color: 'primary.600', - _hover: { - color: 'complimentary.300', - }, - _active: { - bg: 'complimentary.300', - }, - }, - }, - }, - Box: { - baseStyle: { - boxShadow: - '0 4px 6px rgba(255, 190, 190, 0.1), 0 1px 3px rgba(255, 190, 190, 0.1)', - width: 'md', - height: 'md', - }, - }, - Flex: { - baseStyle: { - boxShadow: - '0 4px 6px rgba(255, 190, 190, 0.1), 0 1px 3px rgba(255, 190, 190, 0.1)', - }, - }, - Text: { - baseStyle: { - color: 'text.light', - }, - }, - }, -}; - -export const defaultTheme = extendTheme(defaultThemeObject); diff --git a/web-ui/hooks/index.ts b/web-ui/hooks/index.ts deleted file mode 100644 index fb75baa60..000000000 --- a/web-ui/hooks/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from './useTx'; -export * from './useToaster'; -export * from './useQueryHooks'; -export * from './useVotingData'; -export * from './useRpcQueryClient'; -export * from './useValidatorData'; diff --git a/web-ui/hooks/useQueryHooks.ts b/web-ui/hooks/useQueryHooks.ts deleted file mode 100644 index f5ba1700d..000000000 --- a/web-ui/hooks/useQueryHooks.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { useChain } from '@cosmos-kit/react'; -import { - useRpcEndpoint, - useRpcClient, - createRpcQueryHooks, -} from 'interchain-query'; - -export const useQueryHooks = ( - chainName: string, - extraKey?: string, -) => { - const { getRpcEndpoint } = useChain(chainName); - - const rpcEndpointQuery = useRpcEndpoint({ - getter: getRpcEndpoint, - options: { - staleTime: Infinity, - queryKeyHashFn: (queryKey) => { - const key = [...queryKey, chainName]; - return JSON.stringify( - extraKey ? [...key, extraKey] : key, - ); - }, - }, - }); - - const rpcClientQuery = useRpcClient({ - rpcEndpoint: rpcEndpointQuery.data || '', - options: { - enabled: !!rpcEndpointQuery.data, - staleTime: Infinity, - queryKeyHashFn: (queryKey) => { - return JSON.stringify( - extraKey - ? [...queryKey, extraKey] - : queryKey, - ); - }, - }, - }); - - const { cosmos: cosmosQuery } = - createRpcQueryHooks({ - rpc: rpcClientQuery.data, - }); - - const isReady = !!rpcClientQuery.data; - const isFetching = - rpcEndpointQuery.isFetching || - rpcClientQuery.isFetching; - - return { - cosmosQuery, - isReady, - isFetching, - rpcEndpoint: rpcEndpointQuery.data, - }; -}; diff --git a/web-ui/hooks/useRpcQueryClient.ts b/web-ui/hooks/useRpcQueryClient.ts deleted file mode 100644 index 9828cbfb0..000000000 --- a/web-ui/hooks/useRpcQueryClient.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { useQuery } from '@tanstack/react-query'; -import { cosmos } from 'interchain-query'; - -import { useQueryHooks } from './useQueryHooks'; - -const createRPCQueryClient = - cosmos.ClientFactory.createRPCQueryClient; - -export const useRpcQueryClient = ( - chainName: string, -) => { - const { rpcEndpoint } = - useQueryHooks(chainName); - - const rpcQueryClientQuery = useQuery({ - queryKey: ['rpcQueryClient', rpcEndpoint], - queryFn: () => - createRPCQueryClient({ - rpcEndpoint: rpcEndpoint || '', - }), - enabled: !!rpcEndpoint, - staleTime: Infinity, - }); - - return { - rpcQueryClient: rpcQueryClientQuery.data, - }; -}; diff --git a/web-ui/hooks/useToaster.tsx b/web-ui/hooks/useToaster.tsx deleted file mode 100644 index 4f1595b0f..000000000 --- a/web-ui/hooks/useToaster.tsx +++ /dev/null @@ -1,53 +0,0 @@ -import { - useToast, - Text, - Box, -} from '@chakra-ui/react'; - -export enum ToastType { - Info = 'info', - Error = 'error', - Success = 'success', - Loading = 'loading', -} - -export type CustomToast = { - title: string; - type: ToastType; - message?: string | JSX.Element; - closable?: boolean; - duration?: number; -}; - -export const useToaster = () => { - const toast = useToast({ - position: 'top-right', - containerStyle: { - maxWidth: '150px', - }, - }); - - const customToast = ({ - type, - title, - message, - closable = true, - duration = 5000, - }: CustomToast) => { - return toast({ - title, - duration, - status: type, - isClosable: closable, - description: ( - - - {message} - - - ), - }); - }; - - return { ...toast, toast: customToast }; -}; diff --git a/web-ui/hooks/useTx.ts b/web-ui/hooks/useTx.ts deleted file mode 100644 index bdc451a05..000000000 --- a/web-ui/hooks/useTx.ts +++ /dev/null @@ -1,152 +0,0 @@ -import { ToastId } from '@chakra-ui/react'; -import { - isDeliverTxSuccess, - StdFee, -} from '@cosmjs/stargate'; -import { useChain } from '@cosmos-kit/react'; -import { cosmos } from 'interchain-query'; -import { TxRaw } from 'interchain-query/cosmos/tx/v1beta1/tx'; - -import { - useToaster, - ToastType, - type CustomToast, -} from './useToaster'; - -interface Msg { - typeUrl: string; - value: any; -} - -interface TxOptions { - fee?: StdFee | null; - toast?: Partial; - onSuccess?: () => void; -} - -export enum TxStatus { - Failed = 'Transaction Failed', - Successful = 'Transaction Successful', - Broadcasting = 'Transaction Broadcasting', -} - -const txRaw = cosmos.tx.v1beta1.TxRaw; - -export const useTx = (chainName: string) => { - const { - address, - getSigningStargateClient, - estimateFee, - } = useChain(chainName); - - const toaster = useToaster(); - - const tx = async ( - msgs: Msg[], - options: TxOptions, - ) => { - if (!address) { - toaster.toast({ - type: ToastType.Error, - title: 'Wallet not connected', - message: 'Please connect the wallet', - }); - return; - } - - let signed: TxRaw; - let client: Awaited< - ReturnType - >; - - try { - let fee: StdFee; - if (options?.fee) { - fee = options.fee; - client = await getSigningStargateClient(); - } else { - const [_fee, _client] = await Promise.all( - [ - estimateFee(msgs), - getSigningStargateClient(), - ], - ); - fee = _fee; - client = _client; - } - signed = await client.sign( - address, - msgs, - fee, - '', - ); - } catch (e: any) { - console.error(e); - toaster.toast({ - title: TxStatus.Failed, - message: - e?.message || - 'An unexpected error has occured', - type: ToastType.Error, - }); - return; - } - - let broadcastToastId: ToastId; - - broadcastToastId = toaster.toast({ - title: TxStatus.Broadcasting, - message: - 'Waiting for transaction to be included in the block', - type: ToastType.Loading, - duration: 999999, - }); - - if (client && signed) { - await client - .broadcastTx( - Uint8Array.from( - txRaw.encode(signed).finish(), - ), - ) - .then((res) => { - if (isDeliverTxSuccess(res)) { - if (options.onSuccess) - options.onSuccess(); - - toaster.toast({ - title: - options.toast?.title || - TxStatus.Successful, - type: - options.toast?.type || - ToastType.Success, - message: options.toast?.message, - }); - } else { - toaster.toast({ - title: TxStatus.Failed, - message: res?.rawLog, - type: ToastType.Error, - duration: 10000, - }); - } - }) - .catch((err) => { - toaster.toast({ - title: TxStatus.Failed, - message: err?.message, - type: ToastType.Error, - duration: 10000, - }); - }) - .finally(() => - toaster.close(broadcastToastId), - ); - } else { - toaster.close(broadcastToastId); - } - }; - - return { tx }; -}; diff --git a/web-ui/hooks/useValidatorData.ts b/web-ui/hooks/useValidatorData.ts deleted file mode 100644 index 113a12608..000000000 --- a/web-ui/hooks/useValidatorData.ts +++ /dev/null @@ -1,79 +0,0 @@ -import BigNumber from 'bignumber.js'; -import { cosmos } from 'interchain-query'; -import { useEffect, useMemo, useState } from 'react'; - -import { parseValidators } from '@/utils/staking'; - -import { useQueryHooks } from './useQueryHooks'; -import { useRpcQueryClient } from './useRpcQueryClient'; - -(BigInt.prototype as any).toJSON = function () { - return this.toString(); -}; - -export const useValidatorData = (chainName: string) => { - const [isLoading, setIsLoading] = useState(false); - - const { rpcQueryClient } = useRpcQueryClient(chainName); - - const { cosmosQuery, isReady } = useQueryHooks(chainName); - - const validatorsQuery = cosmosQuery.staking.v1beta1.useValidators({ - request: { - status: cosmos.staking.v1beta1.bondStatusToJSON( - cosmos.staking.v1beta1.BondStatus.BOND_STATUS_BONDED, - ), - pagination: { - key: new Uint8Array(), - offset: 0n, - limit: 200n, - countTotal: true, - reverse: false, - }, - }, - options: { - queryKey: ['validators', chainName], - enabled: !!rpcQueryClient?.cosmos?.staking?.v1beta1.validator, - select: ({ validators }) => { - const sorted = validators.sort((a, b) => - new BigNumber(b.tokens).minus(a.tokens).toNumber(), - ); - return parseValidators(sorted); - }, - onError: (error) => { - console.error('Error fetching validators:', error); - validatorsQuery.remove(); - validatorsQuery.refetch(); - }, - }, - }); - - const loading = validatorsQuery.isFetching || !isReady; - - useEffect(() => { - setIsLoading(loading); - }, [loading]); - - type SingleQueriesData = { - validators: NonNullable<(typeof validatorsQuery)['data']>; - }; - - const singleQueriesData = useMemo(() => { - if (validatorsQuery.isFetching || !isReady) return; - return { - validators: validatorsQuery.data, - } as SingleQueriesData; - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [validatorsQuery.isFetching, isReady]); - - const refetch = () => { - validatorsQuery.remove(); - validatorsQuery.refetch(); - }; - - return { - data: singleQueriesData, - isLoading, - refetch, - }; -}; diff --git a/web-ui/hooks/useVotingData.ts b/web-ui/hooks/useVotingData.ts deleted file mode 100644 index ff2c97dcb..000000000 --- a/web-ui/hooks/useVotingData.ts +++ /dev/null @@ -1,218 +0,0 @@ -import { useChain } from '@cosmos-kit/react'; -import { useQueries } from '@tanstack/react-query'; -import { ProposalStatus } from 'interchain-query/cosmos/gov/v1/gov'; -import { - useEffect, - useMemo, - useState, -} from 'react'; - -import { useQueryHooks } from './useQueryHooks'; -import { useRpcQueryClient } from './useRpcQueryClient'; -import { - parseProposals, - parseQuorum, -} from '../utils'; - -(BigInt.prototype as any).toJSON = function () { - return this.toString(); -}; - -const getPagination = ( - limit: bigint, - reverse: boolean = false, -) => ({ - limit, - reverse, - key: new Uint8Array(), - offset: 0n, - countTotal: true, -}); - -export interface Votes { - [key: string]: number; -} - -export const useVotingData = ( - chainName: string, -) => { - const [isLoading, setIsLoading] = - useState(false); - - const { address } = useChain(chainName); - const { rpcQueryClient } = - useRpcQueryClient(chainName); - const { cosmosQuery, isReady, isFetching } = - useQueryHooks(chainName); - - const proposalsQuery = - cosmosQuery.gov.v1.useProposals({ - request: { - voter: '', - depositor: '', - pagination: getPagination(50n, true), - proposalStatus: - ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED, - }, - options: { - enabled: isReady, - staleTime: Infinity, - select: ({ proposals }) => - parseProposals(proposals), - }, - }); - - const bondedTokensQuery = - cosmosQuery.staking.v1beta1.usePool({ - options: { - enabled: isReady, - staleTime: Infinity, - select: ({ pool }) => pool?.bondedTokens, - }, - }); - - const quorumQuery = - cosmosQuery.gov.v1beta1.useParams({ - request: { paramsType: 'tallying' }, - options: { - enabled: isReady, - staleTime: Infinity, - select: ({ tallyParams }) => - parseQuorum(tallyParams?.quorum), - }, - }); - - const votedProposalsQuery = - cosmosQuery.gov.v1beta1.useProposals({ - request: { - voter: address || '/', // use '/' to differentiate from proposalsQuery - depositor: '', - pagination: getPagination(50n, true), - proposalStatus: - ProposalStatus.PROPOSAL_STATUS_UNSPECIFIED, - }, - options: { - enabled: isReady && !!address, - select: ({ proposals }) => proposals, - keepPreviousData: true, - }, - }); - - const votesQueries = useQueries({ - queries: (votedProposalsQuery.data || []).map( - ({ proposalId }) => ({ - queryKey: [ - 'voteQuery', - proposalId, - address, - ], - queryFn: () => - rpcQueryClient?.cosmos.gov.v1.vote({ - proposalId, - voter: address || '', - }), - enabled: - !!rpcQueryClient && - !!address && - !!votedProposalsQuery.data, - keepPreviousData: true, - }), - ), - }); - - const singleQueries = { - quorum: quorumQuery, - proposals: proposalsQuery, - bondedTokens: bondedTokensQuery, - votedProposals: votedProposalsQuery, - }; - - const staticQueries = [ - singleQueries.quorum, - singleQueries.proposals, - singleQueries.bondedTokens, - ]; - - const dynamicQueries = [ - singleQueries.votedProposals, - ]; - - useEffect(() => { - staticQueries.forEach((query) => - query.remove(), - ); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [chainName]); - - const isStaticQueriesFetching = - staticQueries.some( - ({ isFetching }) => isFetching, - ); - - const isDynamicQueriesFetching = - singleQueries.votedProposals.isFetching || - votesQueries.some( - ({ isFetching }) => isFetching, - ); - - const loading = - isFetching || - isStaticQueriesFetching || - isDynamicQueriesFetching; - - useEffect(() => { - // no loading when refetching - if (isFetching || isStaticQueriesFetching) - setIsLoading(true); - if (!loading) setIsLoading(false); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [isStaticQueriesFetching, loading]); - - type SingleQueries = typeof singleQueries; - - type SingleQueriesData = { - [Key in keyof SingleQueries]: NonNullable< - SingleQueries[Key]['data'] - >; - }; - - const singleQueriesData = useMemo(() => { - if (isStaticQueriesFetching || !isReady) - return; - - return Object.fromEntries( - Object.entries(singleQueries).map( - ([key, query]) => [key, query.data], - ), - ) as SingleQueriesData; - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [isStaticQueriesFetching, isReady]); - - const votes = useMemo(() => { - const votesEntries = votesQueries - .map((query) => query.data) - .map((data) => [ - data?.vote?.proposalId, - data?.vote?.options[0].option, - ]); - - return Object.fromEntries( - votesEntries, - ) as Votes; - }, [votesQueries]); - - const refetch = () => { - votesQueries.forEach((query) => - query.remove(), - ); - dynamicQueries.forEach((query) => - query.refetch(), - ); - }; - - return { - data: { ...singleQueriesData, votes }, - isLoading, - refetch, - }; -}; diff --git a/web-ui/next.config.js b/web-ui/next.config.js deleted file mode 100644 index d26ffc01d..000000000 --- a/web-ui/next.config.js +++ /dev/null @@ -1,6 +0,0 @@ -/** @type {import('next').NextConfig} */ - -module.exports = { - reactStrictMode: true, - swcMinify: true, -}; diff --git a/web-ui/package.json b/web-ui/package.json deleted file mode 100644 index f4a231cc5..000000000 --- a/web-ui/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "quicksilver-web-ui", - "version": "0.0.1", - "private": true, - "scripts": { - "dev": "next dev", - "build": "next build", - "start": "next start", - "lint": "next lint" - }, - "dependencies": { - "@chakra-ui/icons": "^2.1.1", - "@chakra-ui/react": "2.5.1", - "@chakra-ui/system": "2.0.0", - "@cosmjs/amino": "0.32.1", - "@cosmjs/cosmwasm-stargate": "0.32.1", - "@cosmjs/proto-signing": "^0.31.1", - "@cosmjs/stargate": "0.32.1", - "@cosmos-kit/core": "^2.7.8", - "@cosmos-kit/cosmostation": "^2.4.11", - "@cosmos-kit/keplr": "^2.4.12", - "@cosmos-kit/leap": "^2.3.7", - "@cosmos-kit/react": "^2.9.12", - "@emotion/react": "11.11.1", - "@emotion/styled": "11.10.6", - "@interchain-ui/react": "1.5.0", - "@radix-ui/react-icons": "^1.3.0", - "@tanstack/react-query": "^4.29.12", - "@tanstack/react-query-devtools": "^4.35.0", - "chain-registry": "1.19.0", - "cosmjs-types": "0.5.0", - "dayjs": "^1.11.10", - "framer-motion": "10.16.16", - "interchain-query": "^1.10.1", - "next": "14.0.4", - "react": "18.2.0", - "react-dom": "18.2.0", - "react-icons": "4.12.0", - "react-markdown": "^8.0.7", - "react-minimal-pie-chart": "^8.4.0", - "remixicon": "^3.5.0", - "simplex-noise": "^4.0.1", - "three": "^0.159.0" - }, - "devDependencies": { - "@types/node": "20.10.4", - "@types/react": "18.2.43", - "@types/react-dom": "18.2.17", - "@types/three": "^0.159.0", - "eslint": "8.55.0", - "eslint-config-next": "14.0.4", - "prettier": "^3.0.3", - "typescript": "4.9.3" - }, - "resolutions": { - "protobufjs": "6.11.4" - } -} diff --git a/web-ui/pages/_app.tsx b/web-ui/pages/_app.tsx deleted file mode 100644 index 901b0e096..000000000 --- a/web-ui/pages/_app.tsx +++ /dev/null @@ -1,81 +0,0 @@ -import '../styles/globals.css'; -import { Box, ChakraProvider } from '@chakra-ui/react'; -import { SignerOptions, WalletViewProps } from '@cosmos-kit/core'; -import { wallets as cosmostationWallets } from '@cosmos-kit/cosmostation'; -import { wallets as keplrWallets } from '@cosmos-kit/keplr'; -import { wallets as leapWallets } from '@cosmos-kit/leap'; -import { ChainProvider } from '@cosmos-kit/react'; -import { QueryClientProvider, QueryClient } from '@tanstack/react-query'; -import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; -import { chains, assets } from 'chain-registry'; -import type { AppProps } from 'next/app'; - -import { defaultTheme } from '@/config'; -import '@interchain-ui/react/styles'; - -const ConnectedView = ({ onClose, onReturn, wallet }: WalletViewProps) => { - const { - walletInfo: { prettyName }, - username, - address, - } = wallet; - - return ; -}; - -const ConnectingView = ({ onClose, onReturn, wallet }: WalletViewProps) => { - const { - walletInfo: { prettyName }, - username, - address, - } = wallet; - - return
{`${prettyName}/${username}/${address}`}
; -}; - -const queryClient = new QueryClient({ - defaultOptions: { - queries: { - retry: 2, - refetchOnWindowFocus: false, - }, - }, -}); - -function CreateCosmosApp({ Component, pageProps }: AppProps) { - const signerOptions: SignerOptions = { - // signingStargate: () => { - // return getSigningCosmosClientOptions(); - // } - }; - - return ( - - - - - - - - - ); -} - -export default CreateCosmosApp; diff --git a/web-ui/pages/assets.tsx b/web-ui/pages/assets.tsx deleted file mode 100644 index aa2dc3208..000000000 --- a/web-ui/pages/assets.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import { Box, Container } from '@chakra-ui/react'; -import Head from 'next/head'; - -import { Header } from '../components/react/header'; -import { SideHeader } from '../components/react/sideHeader'; - -export default function Home() { - return ( - <> - -
- - - - Quick Silver - - - - - - - ); -} diff --git a/web-ui/pages/defi.tsx b/web-ui/pages/defi.tsx deleted file mode 100644 index c6c044497..000000000 --- a/web-ui/pages/defi.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import { Box, Container } from '@chakra-ui/react'; -import Head from 'next/head'; - -import { Header } from '@/components'; -import { SideHeader } from '@/components'; - -export default function Home() { - return ( - <> - -
- - - - DeFi - - - - - - - ); -} diff --git a/web-ui/pages/governance.tsx b/web-ui/pages/governance.tsx deleted file mode 100644 index 9d8c74302..000000000 --- a/web-ui/pages/governance.tsx +++ /dev/null @@ -1,49 +0,0 @@ -import { Box, Container, Text } from '@chakra-ui/react'; -import dynamic from 'next/dynamic'; -import Head from 'next/head'; - -import { Header } from '@/components'; -import { SideHeader } from '@/components'; -import { VotingSection } from '@/components'; - -const DynamicVotingSection = dynamic(() => Promise.resolve(VotingSection), { - ssr: false, -}); - -export default function Home() { - const chainName = 'quicksilver'; - - return ( - <> - -
- - - - Governance - - - - - - Proposals - - {chainName && } - - - - - ); -} diff --git a/web-ui/pages/index.tsx b/web-ui/pages/index.tsx deleted file mode 100644 index 30d606d66..000000000 --- a/web-ui/pages/index.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import { Box } from '@chakra-ui/react'; -import Head from 'next/head'; - -import { Header } from '@/components'; -import { SideHeader } from '@/components'; - -export default function Home() { - return ( - <> - -
- - - - Quick Silver - - - - - - - ); -} diff --git a/web-ui/pages/staking.tsx b/web-ui/pages/staking.tsx deleted file mode 100644 index d8072cede..000000000 --- a/web-ui/pages/staking.tsx +++ /dev/null @@ -1,117 +0,0 @@ -import { - Box, - Image, - Container, - Flex, - VStack, - HStack, - Stat, - StatLabel, - StatNumber, -} from '@chakra-ui/react'; -import dynamic from 'next/dynamic'; -import Head from 'next/head'; -import { useState } from 'react'; - -import { Header } from '@/components'; -import { SideHeader } from '@/components'; -import { NetworkSelect } from '@/components'; -import { StakingBox } from '@/components'; -import { InfoBox } from '@/components'; -import { AssetsAccordian } from '@/components'; - -const DynamicStakingBox = dynamic(() => Promise.resolve(StakingBox), { - ssr: false, -}); - -export default function Staking() { - const [selectedOption, setSelectedOption] = useState('Atom'); - const [selectedChainName, setSelectedChainName] = useState('cosmoshub'); - const [isModalOpen, setModalOpen] = useState(false); - useState(null); - return ( - <> - - - Staking - - - -
- - - {''} - - {/* Dropdown and Statistic */} - - - - - - APY - 35% - - - - - - {/* Content Boxes */} - - {/* Staking Box*/} - - - - - {/* Right Box */} - - {/* Top Half (2/3) */} - - - - {/* Bottom Half (1/3) */} - - - - - - - - ); -} diff --git a/web-ui/public/img/background.png b/web-ui/public/img/background.png deleted file mode 100644 index 4185b5b488045c0d39211552dee8fed080aebf32..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1596705 zcmV)PK()V#P)=f+8;ka+|25#uAZUnlERrLIlJHgJFRdz(#`I!%De#_cQey{K+ZnJ!<7iR zzyaLN)Kq`QfBs+pSw?uwh#;sy*oF7clWuUEx~pkPV!CBMee3yr5_2?0udXYvI%1T2 z)b4Bjpc=%W(^hj!c11d^*bbcI;9l3GaT_veV>Fs40q-tTxnJvAb97YK<1z1|!OaDu z37RnslyC`=Yr0|)o}{_v-W6sw$8-4@Ndv3e9)W3@aX6=A<*pOq&69}X%mFBvo3@w~ z=t*kV9cEx+db&JahI-ExIU?;e%r(2~>w3J;tS}9a?zGE;b6OzKLkEU*U>e|{dq4B> zt|IJuL<^(JF{5wx+5HvKRj`cU>%HB%!ro`DugC0rcdzy6Q^)X?R$FWN_xsRg3WM%> zu{^>lw%V7!fBR`EGlS9yQRnVlPQ-h^=|<4eke_aN1hMO2=&lwGxK&1;vsb1XsG_-4 z^r88APwl#%IfVkc#{|#lIT{iAX z%~6 z+l)L^clfnup2#!rnRNAgwm|~UNN1Yug_+q?aN_9TmTYFah9m(Sy!VE|VAY$ph_Pk$ zYC%RzU+;Qb22S@VE?RkY!HqC@n08AVm^chfng0Aq1H$7V}k7a0Hi>-Cqv{_^Xe{^7s; zr@uVEuDJ5+ipNS1zb;#G#nQMXM0_5a!)+1u5K1;L`3?$+H=mdjahP9Qfq9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_*}bGiHH)Q<06)oa zhKdA0AF_{_7BoMdVG$u%wV}iU#j7KUj8N;;@|{vx1a! zPH%|fV>1q*0Q~@FyH#dM;Uv0N1}Y))oKq*RYsQdR`(%sB-a+e#Bs;p<3>3~GP?3p> z2s4!~Hi61MNQ2oY+L8i-*~i)wUDC+ouC5SPik761RQ+7z)_SO5RCc#ou`8BP)nrEk zHqFjj>Xt3fSwlt>0x|tyZyQ;qj?ZMb>xq3SQbYh!RD@ar&wMzwy1R1tv@hH`iQs@X(1Hc{PS4NO^VsTI@XB}4uy_uD%!_kOr#B$Su zoJwjk{pt6hO!ZxEBCdY4LNU-Om|YoFG((&izkRPl_B(F1x=Giz&G zBy~7}Iz6oS{;A@Ajs2Wq8rhjWMCk;8EiJ88P$QMqZIrB?e|9jXC<#cZUftb5oSe62 g>VN8K{6As+Uu7an`fV9h>i_@%07*qoM6N<$g0K+|=l}o! diff --git a/web-ui/public/img/backgroundTest.png b/web-ui/public/img/backgroundTest.png deleted file mode 100644 index 77c1bc13072729746b00e212dfe8b679bd4bfbb4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 602639 zcmb@tbzIb4_b566Lw7fV2-4j#ND3$+-6_os(mj9(f`C3MqNH?p=g>+c-KBuQ3?R)A z7oYcc-t&g{{&CNl&&+3L*4}&VSbMGS%9lEi)rj!v@c{q;(L;4*Jpcd)0RUi0;zDjA zTjL!{w_kX0brUZDfVlhj2l$?cnBf*E>#bt!tpsy-cku8A_&<}jmsVC(^>&c5c_bzZ zlNJ)>b&-~k5EBxV5|5@@(g{zc{|g(v%ayn@gps1 zJD5AajXliPf#2U9emlYK6#mk;KiwU?ZCL%?-8{Uc{pC3S?je2q`!`sCQy!o7e_pcB z?4L^ODXacZ*V}(`oKD`}aA^SnKR-WyKM{V|Ge-d-DJdxdL16)5VZPfQd|m+_-ZuVx z9$xIXnEoA=vV)i1GiSKBGt7haH)#{T~oF=ifV#cC+ztl;ia0vv+uE8a0dNO7 zPCW-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