@burnt-labs/xion-types 0.0.1-test.1762962136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jest.config.js +18 -0
- package/package.json +56 -0
- package/scripts/aminos.ts +29 -0
- package/scripts/codegen.ts +94 -0
- package/scripts/download-protos.ts +248 -0
- package/telescope.config.json +84 -0
- package/tsconfig.esm.json +9 -0
- package/tsconfig.json +18 -0
- package/types/abstractaccount/bundle.ts +35 -0
- package/types/abstractaccount/client.ts +48 -0
- package/types/abstractaccount/lcd.ts +130 -0
- package/types/abstractaccount/rpc.query.ts +93 -0
- package/types/abstractaccount/rpc.tx.ts +74 -0
- package/types/abstractaccount/v1/account.ts +250 -0
- package/types/abstractaccount/v1/events.ts +135 -0
- package/types/abstractaccount/v1/genesis.ts +106 -0
- package/types/abstractaccount/v1/params.ts +192 -0
- package/types/abstractaccount/v1/query.lcd.ts +19 -0
- package/types/abstractaccount/v1/query.rpc.Query.ts +31 -0
- package/types/abstractaccount/v1/query.ts +160 -0
- package/types/abstractaccount/v1/tx.amino.ts +14 -0
- package/types/abstractaccount/v1/tx.registry.ts +53 -0
- package/types/abstractaccount/v1/tx.rpc.msg.ts +29 -0
- package/types/abstractaccount/v1/tx.ts +454 -0
- package/types/amino/amino.ts +1 -0
- package/types/amino/bundle.ts +5 -0
- package/types/binary.ts +535 -0
- package/types/cosmos/app/runtime/v1alpha1/module.ts +492 -0
- package/types/cosmos/app/v1alpha1/config.ts +437 -0
- package/types/cosmos/app/v1alpha1/module.ts +466 -0
- package/types/cosmos/app/v1alpha1/query.rpc.Query.ts +31 -0
- package/types/cosmos/app/v1alpha1/query.ts +176 -0
- package/types/cosmos/auth/module/v1/module.ts +288 -0
- package/types/cosmos/auth/v1beta1/auth.ts +562 -0
- package/types/cosmos/auth/v1beta1/genesis.ts +123 -0
- package/types/cosmos/auth/v1beta1/query.lcd.ts +91 -0
- package/types/cosmos/auth/v1beta1/query.rpc.Query.ts +137 -0
- package/types/cosmos/auth/v1beta1/query.ts +2005 -0
- package/types/cosmos/auth/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/auth/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/auth/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/auth/v1beta1/tx.ts +208 -0
- package/types/cosmos/authz/module/v1/module.ts +77 -0
- package/types/cosmos/authz/v1beta1/authz.ts +599 -0
- package/types/cosmos/authz/v1beta1/event.ts +274 -0
- package/types/cosmos/authz/v1beta1/genesis.ts +99 -0
- package/types/cosmos/authz/v1beta1/query.lcd.ts +59 -0
- package/types/cosmos/authz/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/authz/v1beta1/query.ts +734 -0
- package/types/cosmos/authz/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/authz/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/authz/v1beta1/tx.rpc.msg.ts +49 -0
- package/types/cosmos/authz/v1beta1/tx.ts +666 -0
- package/types/cosmos/autocli/v1/options.ts +1317 -0
- package/types/cosmos/autocli/v1/query.rpc.Query.ts +32 -0
- package/types/cosmos/autocli/v1/query.ts +298 -0
- package/types/cosmos/bank/module/v1/module.ts +156 -0
- package/types/cosmos/bank/v1beta1/authz.ts +134 -0
- package/types/cosmos/bank/v1beta1/bank.ts +984 -0
- package/types/cosmos/bank/v1beta1/genesis.ts +316 -0
- package/types/cosmos/bank/v1beta1/query.lcd.ts +207 -0
- package/types/cosmos/bank/v1beta1/query.rpc.Query.ts +212 -0
- package/types/cosmos/bank/v1beta1/query.ts +3051 -0
- package/types/cosmos/bank/v1beta1/tx.amino.ts +24 -0
- package/types/cosmos/bank/v1beta1/tx.registry.ts +89 -0
- package/types/cosmos/bank/v1beta1/tx.rpc.msg.ts +53 -0
- package/types/cosmos/bank/v1beta1/tx.ts +845 -0
- package/types/cosmos/base/abci/v1beta1/abci.ts +1776 -0
- package/types/cosmos/base/node/v1beta1/query.lcd.ts +25 -0
- package/types/cosmos/base/node/v1beta1/query.rpc.Service.ts +42 -0
- package/types/cosmos/base/node/v1beta1/query.ts +467 -0
- package/types/cosmos/base/query/v1beta1/pagination.ts +372 -0
- package/types/cosmos/base/reflection/v1beta1/reflection.ts +385 -0
- package/types/cosmos/base/reflection/v2alpha1/reflection.ts +2790 -0
- package/types/cosmos/base/tendermint/v1beta1/query.lcd.ts +87 -0
- package/types/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +103 -0
- package/types/cosmos/base/tendermint/v1beta1/query.ts +2358 -0
- package/types/cosmos/base/tendermint/v1beta1/types.ts +492 -0
- package/types/cosmos/base/v1beta1/coin.ts +449 -0
- package/types/cosmos/benchmark/module/v1/module.ts +384 -0
- package/types/cosmos/benchmark/v1/benchmark.ts +186 -0
- package/types/cosmos/benchmark/v1/tx.amino.ts +9 -0
- package/types/cosmos/benchmark/v1/tx.registry.ts +35 -0
- package/types/cosmos/benchmark/v1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/benchmark/v1/tx.ts +224 -0
- package/types/cosmos/bundle.ts +807 -0
- package/types/cosmos/circuit/module/v1/module.ts +100 -0
- package/types/cosmos/circuit/v1/query.lcd.ts +40 -0
- package/types/cosmos/circuit/v1/query.rpc.Query.ts +55 -0
- package/types/cosmos/circuit/v1/query.ts +576 -0
- package/types/cosmos/circuit/v1/tx.amino.ts +19 -0
- package/types/cosmos/circuit/v1/tx.registry.ts +71 -0
- package/types/cosmos/circuit/v1/tx.rpc.msg.ts +43 -0
- package/types/cosmos/circuit/v1/tx.ts +685 -0
- package/types/cosmos/circuit/v1/types.ts +419 -0
- package/types/cosmos/client.ts +100 -0
- package/types/cosmos/consensus/module/v1/module.ts +100 -0
- package/types/cosmos/consensus/v1/query.lcd.ts +19 -0
- package/types/cosmos/consensus/v1/query.rpc.Query.ts +31 -0
- package/types/cosmos/consensus/v1/query.ts +182 -0
- package/types/cosmos/consensus/v1/tx.amino.ts +9 -0
- package/types/cosmos/consensus/v1/tx.registry.ts +35 -0
- package/types/cosmos/consensus/v1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/consensus/v1/tx.ts +257 -0
- package/types/cosmos/counter/module/v1/module.ts +100 -0
- package/types/cosmos/counter/v1/query.rpc.Query.ts +31 -0
- package/types/cosmos/counter/v1/query.ts +171 -0
- package/types/cosmos/counter/v1/tx.amino.ts +9 -0
- package/types/cosmos/counter/v1/tx.registry.ts +35 -0
- package/types/cosmos/counter/v1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/counter/v1/tx.ts +217 -0
- package/types/cosmos/crisis/module/v1/module.ts +119 -0
- package/types/cosmos/crisis/v1beta1/genesis.ts +105 -0
- package/types/cosmos/crisis/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/crisis/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/crisis/v1beta1/tx.rpc.msg.ts +32 -0
- package/types/cosmos/crisis/v1beta1/tx.ts +413 -0
- package/types/cosmos/crypto/bls12_381/keys.ts +207 -0
- package/types/cosmos/crypto/ed25519/keys.ts +214 -0
- package/types/cosmos/crypto/hd/v1/hd.ts +180 -0
- package/types/cosmos/crypto/keyring/v1/record.ts +542 -0
- package/types/cosmos/crypto/multisig/keys.ts +124 -0
- package/types/cosmos/crypto/multisig/v1beta1/multisig.ts +231 -0
- package/types/cosmos/crypto/secp256k1/keys.ts +207 -0
- package/types/cosmos/crypto/secp256r1/keys.ts +203 -0
- package/types/cosmos/distribution/module/v1/module.ts +115 -0
- package/types/cosmos/distribution/v1beta1/distribution.ts +1551 -0
- package/types/cosmos/distribution/v1beta1/genesis.ts +1208 -0
- package/types/cosmos/distribution/v1beta1/query.lcd.ts +89 -0
- package/types/cosmos/distribution/v1beta1/query.rpc.Query.ts +137 -0
- package/types/cosmos/distribution/v1beta1/query.ts +2195 -0
- package/types/cosmos/distribution/v1beta1/tx.amino.ts +39 -0
- package/types/cosmos/distribution/v1beta1/tx.registry.ts +143 -0
- package/types/cosmos/distribution/v1beta1/tx.rpc.msg.ts +96 -0
- package/types/cosmos/distribution/v1beta1/tx.ts +1460 -0
- package/types/cosmos/epochs/module/v1/module.ts +77 -0
- package/types/cosmos/epochs/v1beta1/events.ts +205 -0
- package/types/cosmos/epochs/v1beta1/genesis.ts +384 -0
- package/types/cosmos/epochs/v1beta1/query.lcd.ts +31 -0
- package/types/cosmos/epochs/v1beta1/query.rpc.Query.ts +42 -0
- package/types/cosmos/epochs/v1beta1/query.ts +390 -0
- package/types/cosmos/evidence/module/v1/module.ts +77 -0
- package/types/cosmos/evidence/v1beta1/evidence.ts +166 -0
- package/types/cosmos/evidence/v1beta1/genesis.ts +103 -0
- package/types/cosmos/evidence/v1beta1/query.lcd.ts +40 -0
- package/types/cosmos/evidence/v1beta1/query.rpc.Query.ts +44 -0
- package/types/cosmos/evidence/v1beta1/query.ts +458 -0
- package/types/cosmos/evidence/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/evidence/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/evidence/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/evidence/v1beta1/tx.ts +243 -0
- package/types/cosmos/feegrant/module/v1/module.ts +77 -0
- package/types/cosmos/feegrant/v1beta1/feegrant.ts +701 -0
- package/types/cosmos/feegrant/v1beta1/genesis.ts +99 -0
- package/types/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
- package/types/cosmos/feegrant/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/feegrant/v1beta1/query.ts +683 -0
- package/types/cosmos/feegrant/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/feegrant/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +43 -0
- package/types/cosmos/feegrant/v1beta1/tx.ts +683 -0
- package/types/cosmos/genutil/module/v1/module.ts +77 -0
- package/types/cosmos/genutil/v1beta1/genesis.ts +103 -0
- package/types/cosmos/gov/module/v1/module.ts +123 -0
- package/types/cosmos/gov/v1/genesis.ts +288 -0
- package/types/cosmos/gov/v1/gov.ts +1889 -0
- package/types/cosmos/gov/v1/query.lcd.ts +95 -0
- package/types/cosmos/gov/v1/query.rpc.Query.ts +119 -0
- package/types/cosmos/gov/v1/query.ts +2026 -0
- package/types/cosmos/gov/v1/tx.amino.ts +39 -0
- package/types/cosmos/gov/v1/tx.registry.ts +143 -0
- package/types/cosmos/gov/v1/tx.rpc.msg.ts +75 -0
- package/types/cosmos/gov/v1/tx.ts +1911 -0
- package/types/cosmos/gov/v1beta1/genesis.ts +221 -0
- package/types/cosmos/gov/v1beta1/gov.ts +1725 -0
- package/types/cosmos/gov/v1beta1/query.lcd.ts +89 -0
- package/types/cosmos/gov/v1beta1/query.rpc.Query.ts +108 -0
- package/types/cosmos/gov/v1beta1/query.ts +1813 -0
- package/types/cosmos/gov/v1beta1/tx.amino.ts +24 -0
- package/types/cosmos/gov/v1beta1/tx.registry.ts +89 -0
- package/types/cosmos/gov/v1beta1/tx.rpc.msg.ts +45 -0
- package/types/cosmos/gov/v1beta1/tx.ts +1128 -0
- package/types/cosmos/group/module/v1/module.ts +128 -0
- package/types/cosmos/group/v1/events.ts +1195 -0
- package/types/cosmos/group/v1/genesis.ts +256 -0
- package/types/cosmos/group/v1/query.lcd.ts +158 -0
- package/types/cosmos/group/v1/query.rpc.Query.ts +182 -0
- package/types/cosmos/group/v1/query.ts +3108 -0
- package/types/cosmos/group/v1/tx.amino.ts +74 -0
- package/types/cosmos/group/v1/tx.registry.ts +269 -0
- package/types/cosmos/group/v1/tx.rpc.msg.ts +125 -0
- package/types/cosmos/group/v1/tx.ts +3353 -0
- package/types/cosmos/group/v1/types.ts +2248 -0
- package/types/cosmos/ics23/v1/proofs.ts +2167 -0
- package/types/cosmos/lcd.ts +125 -0
- package/types/cosmos/mint/module/v1/module.ts +115 -0
- package/types/cosmos/mint/v1beta1/genesis.ts +120 -0
- package/types/cosmos/mint/v1beta1/mint.ts +313 -0
- package/types/cosmos/mint/v1beta1/query.lcd.ts +31 -0
- package/types/cosmos/mint/v1beta1/query.rpc.Query.ts +53 -0
- package/types/cosmos/mint/v1beta1/query.ts +544 -0
- package/types/cosmos/mint/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/mint/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/mint/v1beta1/tx.rpc.msg.ts +24 -0
- package/types/cosmos/mint/v1beta1/tx.ts +208 -0
- package/types/cosmos/msg/textual/v1/textual.ts +1 -0
- package/types/cosmos/msg/v1/msg.ts +1 -0
- package/types/cosmos/nft/module/v1/module.ts +77 -0
- package/types/cosmos/nft/v1beta1/event.ts +429 -0
- package/types/cosmos/nft/v1beta1/genesis.ts +243 -0
- package/types/cosmos/nft/v1beta1/nft.ts +389 -0
- package/types/cosmos/nft/v1beta1/query.lcd.ts +77 -0
- package/types/cosmos/nft/v1beta1/query.rpc.Query.ts +102 -0
- package/types/cosmos/nft/v1beta1/query.ts +1513 -0
- package/types/cosmos/nft/v1beta1/tx.amino.ts +9 -0
- package/types/cosmos/nft/v1beta1/tx.registry.ts +35 -0
- package/types/cosmos/nft/v1beta1/tx.rpc.msg.ts +21 -0
- package/types/cosmos/nft/v1beta1/tx.ts +232 -0
- package/types/cosmos/params/module/v1/module.ts +77 -0
- package/types/cosmos/params/v1beta1/params.ts +262 -0
- package/types/cosmos/params/v1beta1/query.lcd.ts +35 -0
- package/types/cosmos/params/v1beta1/query.rpc.Query.ts +45 -0
- package/types/cosmos/params/v1beta1/query.ts +521 -0
- package/types/cosmos/protocolpool/module/v1/module.ts +100 -0
- package/types/cosmos/protocolpool/v1/genesis.ts +126 -0
- package/types/cosmos/protocolpool/v1/query.lcd.ts +37 -0
- package/types/cosmos/protocolpool/v1/query.rpc.Query.ts +64 -0
- package/types/cosmos/protocolpool/v1/query.ts +761 -0
- package/types/cosmos/protocolpool/v1/tx.amino.ts +29 -0
- package/types/cosmos/protocolpool/v1/tx.registry.ts +107 -0
- package/types/cosmos/protocolpool/v1/tx.rpc.msg.ts +69 -0
- package/types/cosmos/protocolpool/v1/tx.ts +1124 -0
- package/types/cosmos/protocolpool/v1/types.ts +268 -0
- package/types/cosmos/query/v1/query.ts +1 -0
- package/types/cosmos/reflection/v1/reflection.ts +178 -0
- package/types/cosmos/rpc.query.ts +90 -0
- package/types/cosmos/rpc.tx.ts +71 -0
- package/types/cosmos/slashing/module/v1/module.ts +100 -0
- package/types/cosmos/slashing/v1beta1/genesis.ts +511 -0
- package/types/cosmos/slashing/v1beta1/query.lcd.ts +40 -0
- package/types/cosmos/slashing/v1beta1/query.rpc.Query.ts +55 -0
- package/types/cosmos/slashing/v1beta1/query.ts +606 -0
- package/types/cosmos/slashing/v1beta1/slashing.ts +371 -0
- package/types/cosmos/slashing/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/slashing/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/slashing/v1beta1/tx.rpc.msg.ts +36 -0
- package/types/cosmos/slashing/v1beta1/tx.ts +377 -0
- package/types/cosmos/staking/module/v1/module.ts +165 -0
- package/types/cosmos/staking/v1beta1/authz.ts +321 -0
- package/types/cosmos/staking/v1beta1/genesis.ts +370 -0
- package/types/cosmos/staking/v1beta1/query.lcd.ts +174 -0
- package/types/cosmos/staking/v1beta1/query.rpc.Query.ts +217 -0
- package/types/cosmos/staking/v1beta1/query.ts +3187 -0
- package/types/cosmos/staking/v1beta1/staking.ts +3193 -0
- package/types/cosmos/staking/v1beta1/tx.amino.ts +39 -0
- package/types/cosmos/staking/v1beta1/tx.registry.ts +143 -0
- package/types/cosmos/staking/v1beta1/tx.rpc.msg.ts +84 -0
- package/types/cosmos/staking/v1beta1/tx.ts +1642 -0
- package/types/cosmos/store/internal/kv/v1beta1/kv.ts +208 -0
- package/types/cosmos/store/snapshots/v1/snapshot.ts +840 -0
- package/types/cosmos/store/streaming/abci/grpc.ts +393 -0
- package/types/cosmos/store/v1beta1/commit_info.ts +369 -0
- package/types/cosmos/store/v1beta1/listening.ts +296 -0
- package/types/cosmos/tx/config/v1/config.ts +127 -0
- package/types/cosmos/tx/signing/v1beta1/signing.ts +713 -0
- package/types/cosmos/tx/v1beta1/service.lcd.ts +59 -0
- package/types/cosmos/tx/v1beta1/service.rpc.Service.ts +119 -0
- package/types/cosmos/tx/v1beta1/service.ts +2319 -0
- package/types/cosmos/tx/v1beta1/tx.ts +2168 -0
- package/types/cosmos/upgrade/module/v1/module.ts +100 -0
- package/types/cosmos/upgrade/v1beta1/query.lcd.ts +54 -0
- package/types/cosmos/upgrade/v1beta1/query.rpc.Query.ts +82 -0
- package/types/cosmos/upgrade/v1beta1/query.ts +1004 -0
- package/types/cosmos/upgrade/v1beta1/tx.amino.ts +14 -0
- package/types/cosmos/upgrade/v1beta1/tx.registry.ts +53 -0
- package/types/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +32 -0
- package/types/cosmos/upgrade/v1beta1/tx.ts +368 -0
- package/types/cosmos/upgrade/v1beta1/upgrade.ts +623 -0
- package/types/cosmos/vesting/module/v1/module.ts +77 -0
- package/types/cosmos/vesting/v1beta1/tx.amino.ts +19 -0
- package/types/cosmos/vesting/v1beta1/tx.registry.ts +71 -0
- package/types/cosmos/vesting/v1beta1/tx.rpc.msg.ts +46 -0
- package/types/cosmos/vesting/v1beta1/tx.ts +688 -0
- package/types/cosmos/vesting/v1beta1/vesting.ts +751 -0
- package/types/cosmos_proto/bundle.ts +5 -0
- package/types/cosmos_proto/cosmos.ts +355 -0
- package/types/cosmwasm/bundle.ts +39 -0
- package/types/cosmwasm/client.ts +48 -0
- package/types/cosmwasm/lcd.ts +132 -0
- package/types/cosmwasm/rpc.query.ts +95 -0
- package/types/cosmwasm/rpc.tx.ts +76 -0
- package/types/cosmwasm/wasm/v1/authz.ts +1409 -0
- package/types/cosmwasm/wasm/v1/genesis.ts +544 -0
- package/types/cosmwasm/wasm/v1/ibc.ts +437 -0
- package/types/cosmwasm/wasm/v1/proposal_legacy.ts +2711 -0
- package/types/cosmwasm/wasm/v1/query.lcd.ts +154 -0
- package/types/cosmwasm/wasm/v1/query.rpc.Query.ts +181 -0
- package/types/cosmwasm/wasm/v1/query.ts +3339 -0
- package/types/cosmwasm/wasm/v1/tx.amino.ts +89 -0
- package/types/cosmwasm/wasm/v1/tx.registry.ts +323 -0
- package/types/cosmwasm/wasm/v1/tx.rpc.msg.ts +197 -0
- package/types/cosmwasm/wasm/v1/tx.ts +4403 -0
- package/types/cosmwasm/wasm/v1/types.ts +1193 -0
- package/types/gogoproto/bundle.ts +5 -0
- package/types/gogoproto/gogo.ts +1 -0
- package/types/google/api/annotations.ts +1 -0
- package/types/google/api/apikeys/v2/apikeys.ts +1245 -0
- package/types/google/api/apikeys/v2/resources.ts +1268 -0
- package/types/google/api/auth.ts +1175 -0
- package/types/google/api/backend.ts +691 -0
- package/types/google/api/billing.ts +333 -0
- package/types/google/api/client.ts +3100 -0
- package/types/google/api/cloudquotas/v1/cloudquotas.ts +1196 -0
- package/types/google/api/cloudquotas/v1/resources.ts +2065 -0
- package/types/google/api/cloudquotas/v1beta/cloudquotas.ts +1196 -0
- package/types/google/api/cloudquotas/v1beta/quota_adjuster_settings.ts +509 -0
- package/types/google/api/cloudquotas/v1beta/resources.ts +2069 -0
- package/types/google/api/config_change.ts +385 -0
- package/types/google/api/consumer.ts +362 -0
- package/types/google/api/context.ts +418 -0
- package/types/google/api/control.ts +141 -0
- package/types/google/api/distribution.ts +1253 -0
- package/types/google/api/documentation.ts +738 -0
- package/types/google/api/endpoint.ts +245 -0
- package/types/google/api/error_reason.ts +816 -0
- package/types/google/api/expr/conformance/v1alpha1/conformance_service.ts +1293 -0
- package/types/google/api/expr/v1alpha1/checked.ts +2259 -0
- package/types/google/api/expr/v1alpha1/eval.ts +675 -0
- package/types/google/api/expr/v1alpha1/explain.ts +257 -0
- package/types/google/api/expr/v1alpha1/syntax.ts +2983 -0
- package/types/google/api/expr/v1alpha1/value.ts +771 -0
- package/types/google/api/expr/v1beta1/decl.ts +563 -0
- package/types/google/api/expr/v1beta1/eval.ts +758 -0
- package/types/google/api/expr/v1beta1/expr.ts +1750 -0
- package/types/google/api/expr/v1beta1/source.ts +446 -0
- package/types/google/api/expr/v1beta1/value.ts +771 -0
- package/types/google/api/field_behavior.ts +136 -0
- package/types/google/api/field_info.ts +319 -0
- package/types/google/api/http.ts +1362 -0
- package/types/google/api/httpbody.ts +270 -0
- package/types/google/api/label.ts +174 -0
- package/types/google/api/launch_stage.ts +112 -0
- package/types/google/api/log.ts +201 -0
- package/types/google/api/logging.ts +355 -0
- package/types/google/api/metric.ts +1174 -0
- package/types/google/api/monitored_resource.ts +841 -0
- package/types/google/api/monitoring.ts +430 -0
- package/types/google/api/policy.ts +314 -0
- package/types/google/api/quota.ts +1040 -0
- package/types/google/api/resource.ts +769 -0
- package/types/google/api/routing.ts +1405 -0
- package/types/google/api/service.ts +790 -0
- package/types/google/api/servicecontrol/v1/check_error.ts +366 -0
- package/types/google/api/servicecontrol/v1/distribution.ts +773 -0
- package/types/google/api/servicecontrol/v1/http_request.ts +427 -0
- package/types/google/api/servicecontrol/v1/log_entry.ts +804 -0
- package/types/google/api/servicecontrol/v1/metric_value.ts +499 -0
- package/types/google/api/servicecontrol/v1/operation.ts +544 -0
- package/types/google/api/servicecontrol/v1/quota_controller.ts +1041 -0
- package/types/google/api/servicecontrol/v1/service_controller.ts +1164 -0
- package/types/google/api/servicecontrol/v2/service_controller.ts +949 -0
- package/types/google/api/servicemanagement/v1/resources.ts +1888 -0
- package/types/google/api/servicemanagement/v1/servicemanager.ts +2444 -0
- package/types/google/api/serviceusage/v1/resources.ts +629 -0
- package/types/google/api/serviceusage/v1/serviceusage.ts +1530 -0
- package/types/google/api/serviceusage/v1beta1/resources.ts +2972 -0
- package/types/google/api/serviceusage/v1beta1/serviceusage.ts +4567 -0
- package/types/google/api/source_info.ts +97 -0
- package/types/google/api/system_parameter.ts +461 -0
- package/types/google/api/usage.ts +404 -0
- package/types/google/api/visibility.ts +328 -0
- package/types/google/bundle.ts +115 -0
- package/types/google/logging/type/log_severity.ts +104 -0
- package/types/google/longrunning/operations.ts +1153 -0
- package/types/google/protobuf/any.ts +424 -0
- package/types/google/protobuf/api.ts +942 -0
- package/types/google/protobuf/descriptor.ts +7801 -0
- package/types/google/protobuf/duration.ts +284 -0
- package/types/google/protobuf/empty.ts +93 -0
- package/types/google/protobuf/field_mask.ts +694 -0
- package/types/google/protobuf/source_context.ts +105 -0
- package/types/google/protobuf/struct.ts +584 -0
- package/types/google/protobuf/timestamp.ts +373 -0
- package/types/google/protobuf/type.ts +1279 -0
- package/types/google/protobuf/wrappers.ts +1002 -0
- package/types/google/rpc/code.ts +286 -0
- package/types/google/rpc/context/attribute_context.ts +2517 -0
- package/types/google/rpc/context/audit_context.ts +188 -0
- package/types/google/rpc/error_details.ts +2467 -0
- package/types/google/rpc/http.ts +424 -0
- package/types/google/rpc/status.ts +173 -0
- package/types/helpers.ts +259 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/controller.ts +107 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.lcd.ts +25 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.rpc.Query.ts +42 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/query.ts +379 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.amino.ts +19 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.registry.ts +71 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.rpc.msg.ts +37 -0
- package/types/ibc/applications/interchain_accounts/controller/v1/tx.ts +692 -0
- package/types/ibc/applications/interchain_accounts/genesis/v1/genesis.ts +675 -0
- package/types/ibc/applications/interchain_accounts/host/v1/host.ts +261 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.lcd.ts +19 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.rpc.Query.ts +31 -0
- package/types/ibc/applications/interchain_accounts/host/v1/query.ts +176 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.amino.ts +14 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.registry.ts +53 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.rpc.msg.ts +29 -0
- package/types/ibc/applications/interchain_accounts/host/v1/tx.ts +440 -0
- package/types/ibc/applications/interchain_accounts/v1/account.ts +115 -0
- package/types/ibc/applications/interchain_accounts/v1/metadata.ts +206 -0
- package/types/ibc/applications/interchain_accounts/v1/packet.ts +262 -0
- package/types/ibc/applications/transfer/v1/authz.ts +297 -0
- package/types/ibc/applications/transfer/v1/denomtrace.ts +133 -0
- package/types/ibc/applications/transfer/v1/genesis.ts +156 -0
- package/types/ibc/applications/transfer/v1/packet.ts +186 -0
- package/types/ibc/applications/transfer/v1/query.lcd.ts +76 -0
- package/types/ibc/applications/transfer/v1/query.rpc.Query.ts +88 -0
- package/types/ibc/applications/transfer/v1/query.ts +1233 -0
- package/types/ibc/applications/transfer/v1/token.ts +347 -0
- package/types/ibc/applications/transfer/v1/transfer.ts +140 -0
- package/types/ibc/applications/transfer/v1/tx.amino.ts +14 -0
- package/types/ibc/applications/transfer/v1/tx.registry.ts +53 -0
- package/types/ibc/applications/transfer/v1/tx.rpc.msg.ts +29 -0
- package/types/ibc/applications/transfer/v1/tx.ts +579 -0
- package/types/ibc/bundle.ts +265 -0
- package/types/ibc/client.ts +72 -0
- package/types/ibc/core/channel/v1/channel.ts +1455 -0
- package/types/ibc/core/channel/v1/genesis.ts +351 -0
- package/types/ibc/core/channel/v1/query.lcd.ts +135 -0
- package/types/ibc/core/channel/v1/query.rpc.Query.ts +200 -0
- package/types/ibc/core/channel/v1/query.ts +3943 -0
- package/types/ibc/core/channel/v1/tx.amino.ts +54 -0
- package/types/ibc/core/channel/v1/tx.registry.ts +197 -0
- package/types/ibc/core/channel/v1/tx.rpc.msg.ts +96 -0
- package/types/ibc/core/channel/v1/tx.ts +2558 -0
- package/types/ibc/core/channel/v2/genesis.ts +433 -0
- package/types/ibc/core/channel/v2/packet.ts +640 -0
- package/types/ibc/core/channel/v2/query.lcd.ts +77 -0
- package/types/ibc/core/channel/v2/query.rpc.Query.ts +108 -0
- package/types/ibc/core/channel/v2/query.ts +2075 -0
- package/types/ibc/core/channel/v2/tx.amino.ts +24 -0
- package/types/ibc/core/channel/v2/tx.registry.ts +89 -0
- package/types/ibc/core/channel/v2/tx.rpc.msg.ts +45 -0
- package/types/ibc/core/channel/v2/tx.ts +1003 -0
- package/types/ibc/core/client/v1/client.ts +636 -0
- package/types/ibc/core/client/v1/genesis.ts +448 -0
- package/types/ibc/core/client/v1/query.lcd.ts +102 -0
- package/types/ibc/core/client/v1/query.rpc.Query.ts +149 -0
- package/types/ibc/core/client/v1/query.ts +2588 -0
- package/types/ibc/core/client/v1/tx.amino.ts +44 -0
- package/types/ibc/core/client/v1/tx.registry.ts +161 -0
- package/types/ibc/core/client/v1/tx.rpc.msg.ts +77 -0
- package/types/ibc/core/client/v1/tx.ts +1796 -0
- package/types/ibc/core/client/v2/config.ts +115 -0
- package/types/ibc/core/client/v2/counterparty.ts +122 -0
- package/types/ibc/core/client/v2/genesis.ts +220 -0
- package/types/ibc/core/client/v2/query.lcd.ts +25 -0
- package/types/ibc/core/client/v2/query.rpc.Query.ts +42 -0
- package/types/ibc/core/client/v2/query.ts +402 -0
- package/types/ibc/core/client/v2/tx.amino.ts +14 -0
- package/types/ibc/core/client/v2/tx.registry.ts +53 -0
- package/types/ibc/core/client/v2/tx.rpc.msg.ts +29 -0
- package/types/ibc/core/client/v2/tx.ts +453 -0
- package/types/ibc/core/commitment/v1/commitment.ts +321 -0
- package/types/ibc/core/commitment/v2/commitment.ts +193 -0
- package/types/ibc/core/connection/v1/connection.ts +1056 -0
- package/types/ibc/core/connection/v1/genesis.ts +150 -0
- package/types/ibc/core/connection/v1/query.lcd.ts +61 -0
- package/types/ibc/core/connection/v1/query.rpc.Query.ts +97 -0
- package/types/ibc/core/connection/v1/query.ts +1472 -0
- package/types/ibc/core/connection/v1/tx.amino.ts +29 -0
- package/types/ibc/core/connection/v1/tx.registry.ts +107 -0
- package/types/ibc/core/connection/v1/tx.rpc.msg.ts +59 -0
- package/types/ibc/core/connection/v1/tx.ts +1456 -0
- package/types/ibc/core/types/v1/genesis.ts +191 -0
- package/types/ibc/lcd.ts +176 -0
- package/types/ibc/lightclients/solomachine/v2/solomachine.ts +2161 -0
- package/types/ibc/lightclients/solomachine/v3/solomachine.ts +1114 -0
- package/types/ibc/lightclients/tendermint/v1/tendermint.ts +891 -0
- package/types/ibc/lightclients/wasm/v1/genesis.ts +201 -0
- package/types/ibc/lightclients/wasm/v1/query.lcd.ts +34 -0
- package/types/ibc/lightclients/wasm/v1/query.rpc.Query.ts +44 -0
- package/types/ibc/lightclients/wasm/v1/query.ts +413 -0
- package/types/ibc/lightclients/wasm/v1/tx.amino.ts +19 -0
- package/types/ibc/lightclients/wasm/v1/tx.registry.ts +71 -0
- package/types/ibc/lightclients/wasm/v1/tx.rpc.msg.ts +37 -0
- package/types/ibc/lightclients/wasm/v1/tx.ts +640 -0
- package/types/ibc/lightclients/wasm/v1/wasm.ts +444 -0
- package/types/ibc/rpc.query.ts +123 -0
- package/types/ibc/rpc.tx.ts +104 -0
- package/types/index.ts +25 -0
- package/types/tendermint/abci/types.ts +6565 -0
- package/types/tendermint/bundle.ts +33 -0
- package/types/tendermint/crypto/keys.ts +106 -0
- package/types/tendermint/crypto/proof.ts +576 -0
- package/types/tendermint/p2p/types.ts +523 -0
- package/types/tendermint/types/block.ts +134 -0
- package/types/tendermint/types/evidence.ts +491 -0
- package/types/tendermint/types/params.ts +839 -0
- package/types/tendermint/types/types.ts +2266 -0
- package/types/tendermint/types/validator.ts +399 -0
- package/types/tendermint/version/types.ts +228 -0
- package/types/utf8.ts +149 -0
- package/types/varint.ts +489 -0
- package/types/xion/bundle.ts +117 -0
- package/types/xion/client.ts +57 -0
- package/types/xion/feeabs/v1beta1/epoch.ts +386 -0
- package/types/xion/feeabs/v1beta1/genesis.ts +136 -0
- package/types/xion/feeabs/v1beta1/osmosisibc.ts +868 -0
- package/types/xion/feeabs/v1beta1/params.ts +189 -0
- package/types/xion/feeabs/v1beta1/proposal.ts +593 -0
- package/types/xion/feeabs/v1beta1/query.lcd.ts +37 -0
- package/types/xion/feeabs/v1beta1/query.rpc.Query.ts +64 -0
- package/types/xion/feeabs/v1beta1/query.ts +732 -0
- package/types/xion/feeabs/v1beta1/tx.amino.ts +39 -0
- package/types/xion/feeabs/v1beta1/tx.registry.ts +143 -0
- package/types/xion/feeabs/v1beta1/tx.rpc.msg.ts +72 -0
- package/types/xion/feeabs/v1beta1/tx.ts +1261 -0
- package/types/xion/globalfee/v1/genesis.ts +249 -0
- package/types/xion/globalfee/v1/query.lcd.ts +19 -0
- package/types/xion/globalfee/v1/query.rpc.Query.ts +31 -0
- package/types/xion/globalfee/v1/query.ts +178 -0
- package/types/xion/jwk/v1/audience.ts +224 -0
- package/types/xion/jwk/v1/genesis.ts +117 -0
- package/types/xion/jwk/v1/params.ts +113 -0
- package/types/xion/jwk/v1/query.lcd.ts +52 -0
- package/types/xion/jwk/v1/query.rpc.Query.ts +77 -0
- package/types/xion/jwk/v1/query.ts +1697 -0
- package/types/xion/jwk/v1/tx.amino.ts +29 -0
- package/types/xion/jwk/v1/tx.registry.ts +107 -0
- package/types/xion/jwk/v1/tx.rpc.msg.ts +53 -0
- package/types/xion/jwk/v1/tx.ts +1040 -0
- package/types/xion/lcd.ts +147 -0
- package/types/xion/mint/v1/event.ts +216 -0
- package/types/xion/mint/v1/genesis.ts +114 -0
- package/types/xion/mint/v1/mint.ts +307 -0
- package/types/xion/mint/v1/query.lcd.ts +31 -0
- package/types/xion/mint/v1/query.rpc.Query.ts +53 -0
- package/types/xion/mint/v1/query.ts +508 -0
- package/types/xion/mint/v1/tx.amino.ts +9 -0
- package/types/xion/mint/v1/tx.registry.ts +35 -0
- package/types/xion/mint/v1/tx.rpc.msg.ts +26 -0
- package/types/xion/mint/v1/tx.ts +222 -0
- package/types/xion/rpc.query.ts +105 -0
- package/types/xion/rpc.tx.ts +83 -0
- package/types/xion/v1/feegrant.ts +457 -0
- package/types/xion/v1/genesis.ts +116 -0
- package/types/xion/v1/query.rpc.Query.ts +64 -0
- package/types/xion/v1/query.ts +862 -0
- package/types/xion/v1/tx.amino.ts +24 -0
- package/types/xion/v1/tx.registry.ts +89 -0
- package/types/xion/v1/tx.rpc.msg.ts +57 -0
- package/types/xion/v1/tx.ts +793 -0
|
@@ -0,0 +1,771 @@
|
|
|
1
|
+
//@ts-nocheck
|
|
2
|
+
import { NullValue } from "../../../protobuf/struct";
|
|
3
|
+
import { Any, AnyAmino, AnySDKType } from "../../../protobuf/any";
|
|
4
|
+
import { BinaryReader, BinaryWriter } from "../../../../binary";
|
|
5
|
+
import { bytesFromBase64, base64FromBytes } from "../../../../helpers";
|
|
6
|
+
/**
|
|
7
|
+
* Represents a CEL value.
|
|
8
|
+
*
|
|
9
|
+
* This is similar to `google.protobuf.Value`, but can represent CEL's full
|
|
10
|
+
* range of values.
|
|
11
|
+
*/
|
|
12
|
+
export interface Value {
|
|
13
|
+
/** Null value. */
|
|
14
|
+
nullValue?: NullValue;
|
|
15
|
+
/** Boolean value. */
|
|
16
|
+
boolValue?: boolean;
|
|
17
|
+
/** Signed integer value. */
|
|
18
|
+
int64Value?: bigint;
|
|
19
|
+
/** Unsigned integer value. */
|
|
20
|
+
uint64Value?: bigint;
|
|
21
|
+
/** Floating point value. */
|
|
22
|
+
doubleValue?: number;
|
|
23
|
+
/** UTF-8 string value. */
|
|
24
|
+
stringValue?: string;
|
|
25
|
+
/** Byte string value. */
|
|
26
|
+
bytesValue?: Uint8Array;
|
|
27
|
+
/** An enum value. */
|
|
28
|
+
enumValue?: EnumValue;
|
|
29
|
+
/** The proto message backing an object value. */
|
|
30
|
+
objectValue?: Any;
|
|
31
|
+
/** Map value. */
|
|
32
|
+
mapValue?: MapValue;
|
|
33
|
+
/** List value. */
|
|
34
|
+
listValue?: ListValue;
|
|
35
|
+
/** A Type value represented by the fully qualified name of the type. */
|
|
36
|
+
typeValue?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface ValueProtoMsg {
|
|
39
|
+
typeUrl: "/google.api.expr.v1beta1.Value";
|
|
40
|
+
value: Uint8Array;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Represents a CEL value.
|
|
44
|
+
*
|
|
45
|
+
* This is similar to `google.protobuf.Value`, but can represent CEL's full
|
|
46
|
+
* range of values.
|
|
47
|
+
* @name ValueAmino
|
|
48
|
+
* @package google.api.expr.v1beta1
|
|
49
|
+
* @see proto type: google.api.expr.v1beta1.Value
|
|
50
|
+
*/
|
|
51
|
+
export interface ValueAmino {
|
|
52
|
+
/**
|
|
53
|
+
* Null value.
|
|
54
|
+
*/
|
|
55
|
+
null_value?: NullValue;
|
|
56
|
+
/**
|
|
57
|
+
* Boolean value.
|
|
58
|
+
*/
|
|
59
|
+
bool_value?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Signed integer value.
|
|
62
|
+
*/
|
|
63
|
+
int64_value?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Unsigned integer value.
|
|
66
|
+
*/
|
|
67
|
+
uint64_value?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Floating point value.
|
|
70
|
+
*/
|
|
71
|
+
double_value?: number;
|
|
72
|
+
/**
|
|
73
|
+
* UTF-8 string value.
|
|
74
|
+
*/
|
|
75
|
+
string_value?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Byte string value.
|
|
78
|
+
*/
|
|
79
|
+
bytes_value?: string;
|
|
80
|
+
/**
|
|
81
|
+
* An enum value.
|
|
82
|
+
*/
|
|
83
|
+
enum_value?: EnumValueAmino;
|
|
84
|
+
/**
|
|
85
|
+
* The proto message backing an object value.
|
|
86
|
+
*/
|
|
87
|
+
object_value?: AnyAmino;
|
|
88
|
+
/**
|
|
89
|
+
* Map value.
|
|
90
|
+
*/
|
|
91
|
+
map_value?: MapValueAmino;
|
|
92
|
+
/**
|
|
93
|
+
* List value.
|
|
94
|
+
*/
|
|
95
|
+
list_value?: ListValueAmino;
|
|
96
|
+
/**
|
|
97
|
+
* A Type value represented by the fully qualified name of the type.
|
|
98
|
+
*/
|
|
99
|
+
type_value?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface ValueAminoMsg {
|
|
102
|
+
type: "/google.api.expr.v1beta1.Value";
|
|
103
|
+
value: ValueAmino;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Represents a CEL value.
|
|
107
|
+
*
|
|
108
|
+
* This is similar to `google.protobuf.Value`, but can represent CEL's full
|
|
109
|
+
* range of values.
|
|
110
|
+
*/
|
|
111
|
+
export interface ValueSDKType {
|
|
112
|
+
null_value?: NullValue;
|
|
113
|
+
bool_value?: boolean;
|
|
114
|
+
int64_value?: bigint;
|
|
115
|
+
uint64_value?: bigint;
|
|
116
|
+
double_value?: number;
|
|
117
|
+
string_value?: string;
|
|
118
|
+
bytes_value?: Uint8Array;
|
|
119
|
+
enum_value?: EnumValueSDKType;
|
|
120
|
+
object_value?: AnySDKType;
|
|
121
|
+
map_value?: MapValueSDKType;
|
|
122
|
+
list_value?: ListValueSDKType;
|
|
123
|
+
type_value?: string;
|
|
124
|
+
}
|
|
125
|
+
/** An enum value. */
|
|
126
|
+
export interface EnumValue {
|
|
127
|
+
/** The fully qualified name of the enum type. */
|
|
128
|
+
type: string;
|
|
129
|
+
/** The value of the enum. */
|
|
130
|
+
value: number;
|
|
131
|
+
}
|
|
132
|
+
export interface EnumValueProtoMsg {
|
|
133
|
+
typeUrl: "/google.api.expr.v1beta1.EnumValue";
|
|
134
|
+
value: Uint8Array;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* An enum value.
|
|
138
|
+
* @name EnumValueAmino
|
|
139
|
+
* @package google.api.expr.v1beta1
|
|
140
|
+
* @see proto type: google.api.expr.v1beta1.EnumValue
|
|
141
|
+
*/
|
|
142
|
+
export interface EnumValueAmino {
|
|
143
|
+
/**
|
|
144
|
+
* The fully qualified name of the enum type.
|
|
145
|
+
*/
|
|
146
|
+
type?: string;
|
|
147
|
+
/**
|
|
148
|
+
* The value of the enum.
|
|
149
|
+
*/
|
|
150
|
+
value?: number;
|
|
151
|
+
}
|
|
152
|
+
export interface EnumValueAminoMsg {
|
|
153
|
+
type: "/google.api.expr.v1beta1.EnumValue";
|
|
154
|
+
value: EnumValueAmino;
|
|
155
|
+
}
|
|
156
|
+
/** An enum value. */
|
|
157
|
+
export interface EnumValueSDKType {
|
|
158
|
+
type: string;
|
|
159
|
+
value: number;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* A list.
|
|
163
|
+
*
|
|
164
|
+
* Wrapped in a message so 'not set' and empty can be differentiated, which is
|
|
165
|
+
* required for use in a 'oneof'.
|
|
166
|
+
*/
|
|
167
|
+
export interface ListValue {
|
|
168
|
+
/** The ordered values in the list. */
|
|
169
|
+
values: Value[];
|
|
170
|
+
}
|
|
171
|
+
export interface ListValueProtoMsg {
|
|
172
|
+
typeUrl: "/google.api.expr.v1beta1.ListValue";
|
|
173
|
+
value: Uint8Array;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* A list.
|
|
177
|
+
*
|
|
178
|
+
* Wrapped in a message so 'not set' and empty can be differentiated, which is
|
|
179
|
+
* required for use in a 'oneof'.
|
|
180
|
+
* @name ListValueAmino
|
|
181
|
+
* @package google.api.expr.v1beta1
|
|
182
|
+
* @see proto type: google.api.expr.v1beta1.ListValue
|
|
183
|
+
*/
|
|
184
|
+
export interface ListValueAmino {
|
|
185
|
+
/**
|
|
186
|
+
* The ordered values in the list.
|
|
187
|
+
*/
|
|
188
|
+
values?: ValueAmino[];
|
|
189
|
+
}
|
|
190
|
+
export interface ListValueAminoMsg {
|
|
191
|
+
type: "/google.api.expr.v1beta1.ListValue";
|
|
192
|
+
value: ListValueAmino;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* A list.
|
|
196
|
+
*
|
|
197
|
+
* Wrapped in a message so 'not set' and empty can be differentiated, which is
|
|
198
|
+
* required for use in a 'oneof'.
|
|
199
|
+
*/
|
|
200
|
+
export interface ListValueSDKType {
|
|
201
|
+
values: ValueSDKType[];
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* A map.
|
|
205
|
+
*
|
|
206
|
+
* Wrapped in a message so 'not set' and empty can be differentiated, which is
|
|
207
|
+
* required for use in a 'oneof'.
|
|
208
|
+
*/
|
|
209
|
+
export interface MapValue {
|
|
210
|
+
/**
|
|
211
|
+
* The set of map entries.
|
|
212
|
+
*
|
|
213
|
+
* CEL has fewer restrictions on keys, so a protobuf map represenation
|
|
214
|
+
* cannot be used.
|
|
215
|
+
*/
|
|
216
|
+
entries: MapValue_Entry[];
|
|
217
|
+
}
|
|
218
|
+
export interface MapValueProtoMsg {
|
|
219
|
+
typeUrl: "/google.api.expr.v1beta1.MapValue";
|
|
220
|
+
value: Uint8Array;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* A map.
|
|
224
|
+
*
|
|
225
|
+
* Wrapped in a message so 'not set' and empty can be differentiated, which is
|
|
226
|
+
* required for use in a 'oneof'.
|
|
227
|
+
* @name MapValueAmino
|
|
228
|
+
* @package google.api.expr.v1beta1
|
|
229
|
+
* @see proto type: google.api.expr.v1beta1.MapValue
|
|
230
|
+
*/
|
|
231
|
+
export interface MapValueAmino {
|
|
232
|
+
/**
|
|
233
|
+
* The set of map entries.
|
|
234
|
+
*
|
|
235
|
+
* CEL has fewer restrictions on keys, so a protobuf map represenation
|
|
236
|
+
* cannot be used.
|
|
237
|
+
*/
|
|
238
|
+
entries?: MapValue_EntryAmino[];
|
|
239
|
+
}
|
|
240
|
+
export interface MapValueAminoMsg {
|
|
241
|
+
type: "/google.api.expr.v1beta1.MapValue";
|
|
242
|
+
value: MapValueAmino;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* A map.
|
|
246
|
+
*
|
|
247
|
+
* Wrapped in a message so 'not set' and empty can be differentiated, which is
|
|
248
|
+
* required for use in a 'oneof'.
|
|
249
|
+
*/
|
|
250
|
+
export interface MapValueSDKType {
|
|
251
|
+
entries: MapValue_EntrySDKType[];
|
|
252
|
+
}
|
|
253
|
+
/** An entry in the map. */
|
|
254
|
+
export interface MapValue_Entry {
|
|
255
|
+
/**
|
|
256
|
+
* The key.
|
|
257
|
+
*
|
|
258
|
+
* Must be unique with in the map.
|
|
259
|
+
* Currently only boolean, int, uint, and string values can be keys.
|
|
260
|
+
*/
|
|
261
|
+
key?: Value;
|
|
262
|
+
/** The value. */
|
|
263
|
+
value?: Value;
|
|
264
|
+
}
|
|
265
|
+
export interface MapValue_EntryProtoMsg {
|
|
266
|
+
typeUrl: "/google.api.expr.v1beta1.Entry";
|
|
267
|
+
value: Uint8Array;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* An entry in the map.
|
|
271
|
+
* @name MapValue_EntryAmino
|
|
272
|
+
* @package google.api.expr.v1beta1
|
|
273
|
+
* @see proto type: google.api.expr.v1beta1.MapValue_Entry
|
|
274
|
+
*/
|
|
275
|
+
export interface MapValue_EntryAmino {
|
|
276
|
+
/**
|
|
277
|
+
* The key.
|
|
278
|
+
*
|
|
279
|
+
* Must be unique with in the map.
|
|
280
|
+
* Currently only boolean, int, uint, and string values can be keys.
|
|
281
|
+
*/
|
|
282
|
+
key?: ValueAmino;
|
|
283
|
+
/**
|
|
284
|
+
* The value.
|
|
285
|
+
*/
|
|
286
|
+
value?: ValueAmino;
|
|
287
|
+
}
|
|
288
|
+
export interface MapValue_EntryAminoMsg {
|
|
289
|
+
type: "/google.api.expr.v1beta1.Entry";
|
|
290
|
+
value: MapValue_EntryAmino;
|
|
291
|
+
}
|
|
292
|
+
/** An entry in the map. */
|
|
293
|
+
export interface MapValue_EntrySDKType {
|
|
294
|
+
key?: ValueSDKType;
|
|
295
|
+
value?: ValueSDKType;
|
|
296
|
+
}
|
|
297
|
+
function createBaseValue(): Value {
|
|
298
|
+
return {
|
|
299
|
+
nullValue: undefined,
|
|
300
|
+
boolValue: undefined,
|
|
301
|
+
int64Value: undefined,
|
|
302
|
+
uint64Value: undefined,
|
|
303
|
+
doubleValue: undefined,
|
|
304
|
+
stringValue: undefined,
|
|
305
|
+
bytesValue: undefined,
|
|
306
|
+
enumValue: undefined,
|
|
307
|
+
objectValue: undefined,
|
|
308
|
+
mapValue: undefined,
|
|
309
|
+
listValue: undefined,
|
|
310
|
+
typeValue: undefined
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
export const Value = {
|
|
314
|
+
typeUrl: "/google.api.expr.v1beta1.Value",
|
|
315
|
+
encode(message: Value, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
316
|
+
if (message.nullValue !== undefined) {
|
|
317
|
+
writer.uint32(8).int32(message.nullValue);
|
|
318
|
+
}
|
|
319
|
+
if (message.boolValue !== undefined) {
|
|
320
|
+
writer.uint32(16).bool(message.boolValue);
|
|
321
|
+
}
|
|
322
|
+
if (message.int64Value !== undefined) {
|
|
323
|
+
writer.uint32(24).int64(message.int64Value);
|
|
324
|
+
}
|
|
325
|
+
if (message.uint64Value !== undefined) {
|
|
326
|
+
writer.uint32(32).uint64(message.uint64Value);
|
|
327
|
+
}
|
|
328
|
+
if (message.doubleValue !== undefined) {
|
|
329
|
+
writer.uint32(41).double(message.doubleValue);
|
|
330
|
+
}
|
|
331
|
+
if (message.stringValue !== undefined) {
|
|
332
|
+
writer.uint32(50).string(message.stringValue);
|
|
333
|
+
}
|
|
334
|
+
if (message.bytesValue !== undefined) {
|
|
335
|
+
writer.uint32(58).bytes(message.bytesValue);
|
|
336
|
+
}
|
|
337
|
+
if (message.enumValue !== undefined) {
|
|
338
|
+
EnumValue.encode(message.enumValue, writer.uint32(74).fork()).ldelim();
|
|
339
|
+
}
|
|
340
|
+
if (message.objectValue !== undefined) {
|
|
341
|
+
Any.encode(message.objectValue, writer.uint32(82).fork()).ldelim();
|
|
342
|
+
}
|
|
343
|
+
if (message.mapValue !== undefined) {
|
|
344
|
+
MapValue.encode(message.mapValue, writer.uint32(90).fork()).ldelim();
|
|
345
|
+
}
|
|
346
|
+
if (message.listValue !== undefined) {
|
|
347
|
+
ListValue.encode(message.listValue, writer.uint32(98).fork()).ldelim();
|
|
348
|
+
}
|
|
349
|
+
if (message.typeValue !== undefined) {
|
|
350
|
+
writer.uint32(122).string(message.typeValue);
|
|
351
|
+
}
|
|
352
|
+
return writer;
|
|
353
|
+
},
|
|
354
|
+
decode(input: BinaryReader | Uint8Array, length?: number): Value {
|
|
355
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
356
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
357
|
+
const message = createBaseValue();
|
|
358
|
+
while (reader.pos < end) {
|
|
359
|
+
const tag = reader.uint32();
|
|
360
|
+
switch (tag >>> 3) {
|
|
361
|
+
case 1:
|
|
362
|
+
message.nullValue = reader.int32() as any;
|
|
363
|
+
break;
|
|
364
|
+
case 2:
|
|
365
|
+
message.boolValue = reader.bool();
|
|
366
|
+
break;
|
|
367
|
+
case 3:
|
|
368
|
+
message.int64Value = reader.int64();
|
|
369
|
+
break;
|
|
370
|
+
case 4:
|
|
371
|
+
message.uint64Value = reader.uint64();
|
|
372
|
+
break;
|
|
373
|
+
case 5:
|
|
374
|
+
message.doubleValue = reader.double();
|
|
375
|
+
break;
|
|
376
|
+
case 6:
|
|
377
|
+
message.stringValue = reader.string();
|
|
378
|
+
break;
|
|
379
|
+
case 7:
|
|
380
|
+
message.bytesValue = reader.bytes();
|
|
381
|
+
break;
|
|
382
|
+
case 9:
|
|
383
|
+
message.enumValue = EnumValue.decode(reader, reader.uint32());
|
|
384
|
+
break;
|
|
385
|
+
case 10:
|
|
386
|
+
message.objectValue = Any.decode(reader, reader.uint32());
|
|
387
|
+
break;
|
|
388
|
+
case 11:
|
|
389
|
+
message.mapValue = MapValue.decode(reader, reader.uint32());
|
|
390
|
+
break;
|
|
391
|
+
case 12:
|
|
392
|
+
message.listValue = ListValue.decode(reader, reader.uint32());
|
|
393
|
+
break;
|
|
394
|
+
case 15:
|
|
395
|
+
message.typeValue = reader.string();
|
|
396
|
+
break;
|
|
397
|
+
default:
|
|
398
|
+
reader.skipType(tag & 7);
|
|
399
|
+
break;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
return message;
|
|
403
|
+
},
|
|
404
|
+
fromPartial(object: Partial<Value>): Value {
|
|
405
|
+
const message = createBaseValue();
|
|
406
|
+
message.nullValue = object.nullValue ?? undefined;
|
|
407
|
+
message.boolValue = object.boolValue ?? undefined;
|
|
408
|
+
message.int64Value = object.int64Value !== undefined && object.int64Value !== null ? BigInt(object.int64Value.toString()) : undefined;
|
|
409
|
+
message.uint64Value = object.uint64Value !== undefined && object.uint64Value !== null ? BigInt(object.uint64Value.toString()) : undefined;
|
|
410
|
+
message.doubleValue = object.doubleValue ?? undefined;
|
|
411
|
+
message.stringValue = object.stringValue ?? undefined;
|
|
412
|
+
message.bytesValue = object.bytesValue ?? undefined;
|
|
413
|
+
message.enumValue = object.enumValue !== undefined && object.enumValue !== null ? EnumValue.fromPartial(object.enumValue) : undefined;
|
|
414
|
+
message.objectValue = object.objectValue !== undefined && object.objectValue !== null ? Any.fromPartial(object.objectValue) : undefined;
|
|
415
|
+
message.mapValue = object.mapValue !== undefined && object.mapValue !== null ? MapValue.fromPartial(object.mapValue) : undefined;
|
|
416
|
+
message.listValue = object.listValue !== undefined && object.listValue !== null ? ListValue.fromPartial(object.listValue) : undefined;
|
|
417
|
+
message.typeValue = object.typeValue ?? undefined;
|
|
418
|
+
return message;
|
|
419
|
+
},
|
|
420
|
+
fromAmino(object: ValueAmino): Value {
|
|
421
|
+
const message = createBaseValue();
|
|
422
|
+
if (object.null_value !== undefined && object.null_value !== null) {
|
|
423
|
+
message.nullValue = object.null_value;
|
|
424
|
+
}
|
|
425
|
+
if (object.bool_value !== undefined && object.bool_value !== null) {
|
|
426
|
+
message.boolValue = object.bool_value;
|
|
427
|
+
}
|
|
428
|
+
if (object.int64_value !== undefined && object.int64_value !== null) {
|
|
429
|
+
message.int64Value = BigInt(object.int64_value);
|
|
430
|
+
}
|
|
431
|
+
if (object.uint64_value !== undefined && object.uint64_value !== null) {
|
|
432
|
+
message.uint64Value = BigInt(object.uint64_value);
|
|
433
|
+
}
|
|
434
|
+
if (object.double_value !== undefined && object.double_value !== null) {
|
|
435
|
+
message.doubleValue = object.double_value;
|
|
436
|
+
}
|
|
437
|
+
if (object.string_value !== undefined && object.string_value !== null) {
|
|
438
|
+
message.stringValue = object.string_value;
|
|
439
|
+
}
|
|
440
|
+
if (object.bytes_value !== undefined && object.bytes_value !== null) {
|
|
441
|
+
message.bytesValue = bytesFromBase64(object.bytes_value);
|
|
442
|
+
}
|
|
443
|
+
if (object.enum_value !== undefined && object.enum_value !== null) {
|
|
444
|
+
message.enumValue = EnumValue.fromAmino(object.enum_value);
|
|
445
|
+
}
|
|
446
|
+
if (object.object_value !== undefined && object.object_value !== null) {
|
|
447
|
+
message.objectValue = Any.fromAmino(object.object_value);
|
|
448
|
+
}
|
|
449
|
+
if (object.map_value !== undefined && object.map_value !== null) {
|
|
450
|
+
message.mapValue = MapValue.fromAmino(object.map_value);
|
|
451
|
+
}
|
|
452
|
+
if (object.list_value !== undefined && object.list_value !== null) {
|
|
453
|
+
message.listValue = ListValue.fromAmino(object.list_value);
|
|
454
|
+
}
|
|
455
|
+
if (object.type_value !== undefined && object.type_value !== null) {
|
|
456
|
+
message.typeValue = object.type_value;
|
|
457
|
+
}
|
|
458
|
+
return message;
|
|
459
|
+
},
|
|
460
|
+
toAmino(message: Value): ValueAmino {
|
|
461
|
+
const obj: any = {};
|
|
462
|
+
obj.null_value = message.nullValue === null ? undefined : message.nullValue;
|
|
463
|
+
obj.bool_value = message.boolValue === null ? undefined : message.boolValue;
|
|
464
|
+
obj.int64_value = message.int64Value !== BigInt(0) ? message.int64Value?.toString() : undefined;
|
|
465
|
+
obj.uint64_value = message.uint64Value !== BigInt(0) ? message.uint64Value?.toString() : undefined;
|
|
466
|
+
obj.double_value = message.doubleValue === null ? undefined : message.doubleValue;
|
|
467
|
+
obj.string_value = message.stringValue === null ? undefined : message.stringValue;
|
|
468
|
+
obj.bytes_value = message.bytesValue ? base64FromBytes(message.bytesValue) : undefined;
|
|
469
|
+
obj.enum_value = message.enumValue ? EnumValue.toAmino(message.enumValue) : undefined;
|
|
470
|
+
obj.object_value = message.objectValue ? Any.toAmino(message.objectValue) : undefined;
|
|
471
|
+
obj.map_value = message.mapValue ? MapValue.toAmino(message.mapValue) : undefined;
|
|
472
|
+
obj.list_value = message.listValue ? ListValue.toAmino(message.listValue) : undefined;
|
|
473
|
+
obj.type_value = message.typeValue === null ? undefined : message.typeValue;
|
|
474
|
+
return obj;
|
|
475
|
+
},
|
|
476
|
+
fromAminoMsg(object: ValueAminoMsg): Value {
|
|
477
|
+
return Value.fromAmino(object.value);
|
|
478
|
+
},
|
|
479
|
+
fromProtoMsg(message: ValueProtoMsg): Value {
|
|
480
|
+
return Value.decode(message.value);
|
|
481
|
+
},
|
|
482
|
+
toProto(message: Value): Uint8Array {
|
|
483
|
+
return Value.encode(message).finish();
|
|
484
|
+
},
|
|
485
|
+
toProtoMsg(message: Value): ValueProtoMsg {
|
|
486
|
+
return {
|
|
487
|
+
typeUrl: "/google.api.expr.v1beta1.Value",
|
|
488
|
+
value: Value.encode(message).finish()
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
};
|
|
492
|
+
function createBaseEnumValue(): EnumValue {
|
|
493
|
+
return {
|
|
494
|
+
type: "",
|
|
495
|
+
value: 0
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
export const EnumValue = {
|
|
499
|
+
typeUrl: "/google.api.expr.v1beta1.EnumValue",
|
|
500
|
+
encode(message: EnumValue, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
501
|
+
if (message.type !== "") {
|
|
502
|
+
writer.uint32(10).string(message.type);
|
|
503
|
+
}
|
|
504
|
+
if (message.value !== 0) {
|
|
505
|
+
writer.uint32(16).int32(message.value);
|
|
506
|
+
}
|
|
507
|
+
return writer;
|
|
508
|
+
},
|
|
509
|
+
decode(input: BinaryReader | Uint8Array, length?: number): EnumValue {
|
|
510
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
511
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
512
|
+
const message = createBaseEnumValue();
|
|
513
|
+
while (reader.pos < end) {
|
|
514
|
+
const tag = reader.uint32();
|
|
515
|
+
switch (tag >>> 3) {
|
|
516
|
+
case 1:
|
|
517
|
+
message.type = reader.string();
|
|
518
|
+
break;
|
|
519
|
+
case 2:
|
|
520
|
+
message.value = reader.int32();
|
|
521
|
+
break;
|
|
522
|
+
default:
|
|
523
|
+
reader.skipType(tag & 7);
|
|
524
|
+
break;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
return message;
|
|
528
|
+
},
|
|
529
|
+
fromPartial(object: Partial<EnumValue>): EnumValue {
|
|
530
|
+
const message = createBaseEnumValue();
|
|
531
|
+
message.type = object.type ?? "";
|
|
532
|
+
message.value = object.value ?? 0;
|
|
533
|
+
return message;
|
|
534
|
+
},
|
|
535
|
+
fromAmino(object: EnumValueAmino): EnumValue {
|
|
536
|
+
const message = createBaseEnumValue();
|
|
537
|
+
if (object.type !== undefined && object.type !== null) {
|
|
538
|
+
message.type = object.type;
|
|
539
|
+
}
|
|
540
|
+
if (object.value !== undefined && object.value !== null) {
|
|
541
|
+
message.value = object.value;
|
|
542
|
+
}
|
|
543
|
+
return message;
|
|
544
|
+
},
|
|
545
|
+
toAmino(message: EnumValue): EnumValueAmino {
|
|
546
|
+
const obj: any = {};
|
|
547
|
+
obj.type = message.type === "" ? undefined : message.type;
|
|
548
|
+
obj.value = message.value === 0 ? undefined : message.value;
|
|
549
|
+
return obj;
|
|
550
|
+
},
|
|
551
|
+
fromAminoMsg(object: EnumValueAminoMsg): EnumValue {
|
|
552
|
+
return EnumValue.fromAmino(object.value);
|
|
553
|
+
},
|
|
554
|
+
fromProtoMsg(message: EnumValueProtoMsg): EnumValue {
|
|
555
|
+
return EnumValue.decode(message.value);
|
|
556
|
+
},
|
|
557
|
+
toProto(message: EnumValue): Uint8Array {
|
|
558
|
+
return EnumValue.encode(message).finish();
|
|
559
|
+
},
|
|
560
|
+
toProtoMsg(message: EnumValue): EnumValueProtoMsg {
|
|
561
|
+
return {
|
|
562
|
+
typeUrl: "/google.api.expr.v1beta1.EnumValue",
|
|
563
|
+
value: EnumValue.encode(message).finish()
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
};
|
|
567
|
+
function createBaseListValue(): ListValue {
|
|
568
|
+
return {
|
|
569
|
+
values: []
|
|
570
|
+
};
|
|
571
|
+
}
|
|
572
|
+
export const ListValue = {
|
|
573
|
+
typeUrl: "/google.api.expr.v1beta1.ListValue",
|
|
574
|
+
encode(message: ListValue, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
575
|
+
for (const v of message.values) {
|
|
576
|
+
Value.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
577
|
+
}
|
|
578
|
+
return writer;
|
|
579
|
+
},
|
|
580
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ListValue {
|
|
581
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
582
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
583
|
+
const message = createBaseListValue();
|
|
584
|
+
while (reader.pos < end) {
|
|
585
|
+
const tag = reader.uint32();
|
|
586
|
+
switch (tag >>> 3) {
|
|
587
|
+
case 1:
|
|
588
|
+
message.values.push(Value.decode(reader, reader.uint32()));
|
|
589
|
+
break;
|
|
590
|
+
default:
|
|
591
|
+
reader.skipType(tag & 7);
|
|
592
|
+
break;
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
return message;
|
|
596
|
+
},
|
|
597
|
+
fromPartial(object: Partial<ListValue>): ListValue {
|
|
598
|
+
const message = createBaseListValue();
|
|
599
|
+
message.values = object.values?.map(e => Value.fromPartial(e)) || [];
|
|
600
|
+
return message;
|
|
601
|
+
},
|
|
602
|
+
fromAmino(object: ListValueAmino): ListValue {
|
|
603
|
+
const message = createBaseListValue();
|
|
604
|
+
message.values = object.values?.map(e => Value.fromAmino(e)) || [];
|
|
605
|
+
return message;
|
|
606
|
+
},
|
|
607
|
+
toAmino(message: ListValue): ListValueAmino {
|
|
608
|
+
const obj: any = {};
|
|
609
|
+
if (message.values) {
|
|
610
|
+
obj.values = message.values.map(e => e ? Value.toAmino(e) : undefined);
|
|
611
|
+
} else {
|
|
612
|
+
obj.values = message.values;
|
|
613
|
+
}
|
|
614
|
+
return obj;
|
|
615
|
+
},
|
|
616
|
+
fromAminoMsg(object: ListValueAminoMsg): ListValue {
|
|
617
|
+
return ListValue.fromAmino(object.value);
|
|
618
|
+
},
|
|
619
|
+
fromProtoMsg(message: ListValueProtoMsg): ListValue {
|
|
620
|
+
return ListValue.decode(message.value);
|
|
621
|
+
},
|
|
622
|
+
toProto(message: ListValue): Uint8Array {
|
|
623
|
+
return ListValue.encode(message).finish();
|
|
624
|
+
},
|
|
625
|
+
toProtoMsg(message: ListValue): ListValueProtoMsg {
|
|
626
|
+
return {
|
|
627
|
+
typeUrl: "/google.api.expr.v1beta1.ListValue",
|
|
628
|
+
value: ListValue.encode(message).finish()
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
};
|
|
632
|
+
function createBaseMapValue(): MapValue {
|
|
633
|
+
return {
|
|
634
|
+
entries: []
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
export const MapValue = {
|
|
638
|
+
typeUrl: "/google.api.expr.v1beta1.MapValue",
|
|
639
|
+
encode(message: MapValue, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
640
|
+
for (const v of message.entries) {
|
|
641
|
+
MapValue_Entry.encode(v!, writer.uint32(10).fork()).ldelim();
|
|
642
|
+
}
|
|
643
|
+
return writer;
|
|
644
|
+
},
|
|
645
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MapValue {
|
|
646
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
647
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
648
|
+
const message = createBaseMapValue();
|
|
649
|
+
while (reader.pos < end) {
|
|
650
|
+
const tag = reader.uint32();
|
|
651
|
+
switch (tag >>> 3) {
|
|
652
|
+
case 1:
|
|
653
|
+
message.entries.push(MapValue_Entry.decode(reader, reader.uint32()));
|
|
654
|
+
break;
|
|
655
|
+
default:
|
|
656
|
+
reader.skipType(tag & 7);
|
|
657
|
+
break;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
return message;
|
|
661
|
+
},
|
|
662
|
+
fromPartial(object: Partial<MapValue>): MapValue {
|
|
663
|
+
const message = createBaseMapValue();
|
|
664
|
+
message.entries = object.entries?.map(e => MapValue_Entry.fromPartial(e)) || [];
|
|
665
|
+
return message;
|
|
666
|
+
},
|
|
667
|
+
fromAmino(object: MapValueAmino): MapValue {
|
|
668
|
+
const message = createBaseMapValue();
|
|
669
|
+
message.entries = object.entries?.map(e => MapValue_Entry.fromAmino(e)) || [];
|
|
670
|
+
return message;
|
|
671
|
+
},
|
|
672
|
+
toAmino(message: MapValue): MapValueAmino {
|
|
673
|
+
const obj: any = {};
|
|
674
|
+
if (message.entries) {
|
|
675
|
+
obj.entries = message.entries.map(e => e ? MapValue_Entry.toAmino(e) : undefined);
|
|
676
|
+
} else {
|
|
677
|
+
obj.entries = message.entries;
|
|
678
|
+
}
|
|
679
|
+
return obj;
|
|
680
|
+
},
|
|
681
|
+
fromAminoMsg(object: MapValueAminoMsg): MapValue {
|
|
682
|
+
return MapValue.fromAmino(object.value);
|
|
683
|
+
},
|
|
684
|
+
fromProtoMsg(message: MapValueProtoMsg): MapValue {
|
|
685
|
+
return MapValue.decode(message.value);
|
|
686
|
+
},
|
|
687
|
+
toProto(message: MapValue): Uint8Array {
|
|
688
|
+
return MapValue.encode(message).finish();
|
|
689
|
+
},
|
|
690
|
+
toProtoMsg(message: MapValue): MapValueProtoMsg {
|
|
691
|
+
return {
|
|
692
|
+
typeUrl: "/google.api.expr.v1beta1.MapValue",
|
|
693
|
+
value: MapValue.encode(message).finish()
|
|
694
|
+
};
|
|
695
|
+
}
|
|
696
|
+
};
|
|
697
|
+
function createBaseMapValue_Entry(): MapValue_Entry {
|
|
698
|
+
return {
|
|
699
|
+
key: undefined,
|
|
700
|
+
value: undefined
|
|
701
|
+
};
|
|
702
|
+
}
|
|
703
|
+
export const MapValue_Entry = {
|
|
704
|
+
typeUrl: "/google.api.expr.v1beta1.Entry",
|
|
705
|
+
encode(message: MapValue_Entry, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
|
|
706
|
+
if (message.key !== undefined) {
|
|
707
|
+
Value.encode(message.key, writer.uint32(10).fork()).ldelim();
|
|
708
|
+
}
|
|
709
|
+
if (message.value !== undefined) {
|
|
710
|
+
Value.encode(message.value, writer.uint32(18).fork()).ldelim();
|
|
711
|
+
}
|
|
712
|
+
return writer;
|
|
713
|
+
},
|
|
714
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MapValue_Entry {
|
|
715
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
716
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
717
|
+
const message = createBaseMapValue_Entry();
|
|
718
|
+
while (reader.pos < end) {
|
|
719
|
+
const tag = reader.uint32();
|
|
720
|
+
switch (tag >>> 3) {
|
|
721
|
+
case 1:
|
|
722
|
+
message.key = Value.decode(reader, reader.uint32());
|
|
723
|
+
break;
|
|
724
|
+
case 2:
|
|
725
|
+
message.value = Value.decode(reader, reader.uint32());
|
|
726
|
+
break;
|
|
727
|
+
default:
|
|
728
|
+
reader.skipType(tag & 7);
|
|
729
|
+
break;
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
return message;
|
|
733
|
+
},
|
|
734
|
+
fromPartial(object: Partial<MapValue_Entry>): MapValue_Entry {
|
|
735
|
+
const message = createBaseMapValue_Entry();
|
|
736
|
+
message.key = object.key !== undefined && object.key !== null ? Value.fromPartial(object.key) : undefined;
|
|
737
|
+
message.value = object.value !== undefined && object.value !== null ? Value.fromPartial(object.value) : undefined;
|
|
738
|
+
return message;
|
|
739
|
+
},
|
|
740
|
+
fromAmino(object: MapValue_EntryAmino): MapValue_Entry {
|
|
741
|
+
const message = createBaseMapValue_Entry();
|
|
742
|
+
if (object.key !== undefined && object.key !== null) {
|
|
743
|
+
message.key = Value.fromAmino(object.key);
|
|
744
|
+
}
|
|
745
|
+
if (object.value !== undefined && object.value !== null) {
|
|
746
|
+
message.value = Value.fromAmino(object.value);
|
|
747
|
+
}
|
|
748
|
+
return message;
|
|
749
|
+
},
|
|
750
|
+
toAmino(message: MapValue_Entry): MapValue_EntryAmino {
|
|
751
|
+
const obj: any = {};
|
|
752
|
+
obj.key = message.key ? Value.toAmino(message.key) : undefined;
|
|
753
|
+
obj.value = message.value ? Value.toAmino(message.value) : undefined;
|
|
754
|
+
return obj;
|
|
755
|
+
},
|
|
756
|
+
fromAminoMsg(object: MapValue_EntryAminoMsg): MapValue_Entry {
|
|
757
|
+
return MapValue_Entry.fromAmino(object.value);
|
|
758
|
+
},
|
|
759
|
+
fromProtoMsg(message: MapValue_EntryProtoMsg): MapValue_Entry {
|
|
760
|
+
return MapValue_Entry.decode(message.value);
|
|
761
|
+
},
|
|
762
|
+
toProto(message: MapValue_Entry): Uint8Array {
|
|
763
|
+
return MapValue_Entry.encode(message).finish();
|
|
764
|
+
},
|
|
765
|
+
toProtoMsg(message: MapValue_Entry): MapValue_EntryProtoMsg {
|
|
766
|
+
return {
|
|
767
|
+
typeUrl: "/google.api.expr.v1beta1.Entry",
|
|
768
|
+
value: MapValue_Entry.encode(message).finish()
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
};
|