Documentation ¶
Index ¶
- type AccountListResponse
- type AccountNFTsResponse
- type AccountNonceResponse
- type AccountsResponse
- type AddUserRequest
- type AliasOutputMetricItem
- type Allowance
- type AssetsResponse
- type BlockInfoResponse
- type BlockReceiptError
- type BlockReceiptsResponse
- type ChainInfoResponse
- type ChainMetrics
- type CommitteeInfoResponse
- type CommitteeNode
- type ConsensusPipeMetrics
- type ConsensusWorkflowMetrics
- type ContractCallViewRequest
- type ContractInfoResponse
- type ControlAddressesResponse
- type DKSharesInfo
- type DKSharesPostRequest
- type EventsResponse
- type FoundryOutputResponse
- type FungibleTokens
- type InOutput
- type InOutputMetricItem
- type InStateOutput
- type InStateOutputMetricItem
- type InfoResponse
- type InterfaceMetricItem
- type L1Params
- type MetricItem
- type NFTDataResponse
- type NativeToken
- type NativeTokenIDRegistryResponse
- type NodeOwnerCertificateRequest
- type NodeOwnerCertificateResponse
- type OffLedgerRequest
- type OnLedgerRequest
- type OnLedgerRequestMetricItem
- type Output
- type OutputID
- type PeeringNodeIdentityResponse
- type PeeringNodePublicKeyRequest
- type PeeringNodeStatusResponse
- type PeeringTrustRequest
- type ProtocolParameters
- type ReceiptError
- type ReceiptResponse
- type RentStructure
- type RequestDetail
- type RequestIDResponse
- type RequestIDsResponse
- type RequestProcessedResponse
- type RequestReceiptResponse
- type StateTransaction
- type Transaction
- type TransactionIDMetricItem
- type TransactionMetricItem
- type TxInclusionStateMsg
- type TxInclusionStateMsgMetricItem
- type UTXOInputMetricItem
- type UpdateUserPasswordRequest
- type UpdateUserPermissionsRequest
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountListResponse ¶
type AccountListResponse struct {
Accounts []string `json:"accounts"`
}
type AccountNFTsResponse ¶
type AccountNFTsResponse struct {
NFTIDs []string `json:"nftIds"`
}
type AccountNonceResponse ¶
type AccountNonceResponse struct {
Nonce uint64 `json:"nonce"`
}
type AccountsResponse ¶
type AccountsResponse struct {
AccountIDs []string `json:"accountIds"`
}
type AddUserRequest ¶
type AliasOutputMetricItem ¶
type AliasOutputMetricItem MetricItem[*Output]
ChainMetrics Echo Swagger does not support generics such as MetricItem[Foo] Creating separate types works instead. To not create a mapper for each type, the actual service remains using MetricItem[Foo] but this model here is presented to the docs. This can be removed if we change to swag/echo-swagger
type Allowance ¶
type Allowance struct { FungibleTokens *FungibleTokens `json:"fungibleTokens"` NFTs []string `json:"nfts"` }
func MapAllowance ¶
type AssetsResponse ¶
type AssetsResponse struct { BaseTokens uint64 `json:"baseTokens"` NativeTokens []*NativeToken `json:"nativeTokens"` }
type BlockInfoResponse ¶
type BlockInfoResponse struct { AnchorTransactionID string `json:"anchorTransactionId"` BlockIndex uint32 `json:"blockIndex"` GasBurned uint64 `json:"gasBurned"` GasFeeCharged uint64 `json:"gasFeeCharged"` L1CommitmentHash string `json:"l1CommitmentHash"` NumOffLedgerRequests uint16 `json:"numOffLedgerRequests"` NumSuccessfulRequests uint16 `json:"numSuccessfulRequests"` PreviousL1CommitmentHash string `json:"previousL1CommitmentHash"` Timestamp time.Time `json:"timestamp"` TotalBaseTokensInL2Accounts uint64 `json:"totalBaseTokensInL2Accounts"` TotalRequests uint16 `json:"totalRequests"` TotalStorageDeposit uint64 `json:"totalStorageDeposit"` TransactionSubEssenceHash string `json:"transactionSubEssenceHash"` }
func MapBlockInfoResponse ¶
func MapBlockInfoResponse(info *blocklog.BlockInfo) *BlockInfoResponse
type BlockReceiptError ¶
type BlockReceiptsResponse ¶
type BlockReceiptsResponse struct {
Receipts []*RequestReceiptResponse `json:"receipts"`
}
type ChainInfoResponse ¶
type ChainInfoResponse struct { IsActive bool `json:"isActive" swagger:"desc(Whether or not the chain is active.)"` ChainID string `json:"chainID" swagger:"desc(ChainID (Bech32-encoded).)"` EVMChainID uint16 `json:"evmChainId" swagger:"desc(The EVM chain ID)"` ChainOwnerID string `json:"chainOwnerId" swagger:"desc(The chain owner address (Bech32-encoded).)"` Description string `json:"description" swagger:"desc(The description of the chain.)"` GasFeePolicy gasFeePolicy `json:"gasFeePolicy"` MaxBlobSize uint32 `json:"maxBlobSize" swagger:"desc(The maximum contract blob size.)"` MaxEventSize uint16 `json:"maxEventSize" swagger:"desc(The maximum event size.)"` // TODO: Clarify MaxEventsPerReq uint16 `json:"maxEventsPerReq" swagger:"desc(The maximum amount of events per request.)"` // TODO: Clarify }
func MapChainInfoResponse ¶
func MapChainInfoResponse(chainInfo *dto.ChainInfo, evmChainID uint16) ChainInfoResponse
type ChainMetrics ¶
type ChainMetrics struct { InAliasOutput AliasOutputMetricItem `json:"inAliasOutput"` InOnLedgerRequest OnLedgerRequestMetricItem `json:"inOnLedgerRequest"` InOutput InOutputMetricItem `json:"inOutput"` InStateOutput InStateOutputMetricItem `json:"inStateOutput"` InTxInclusionState TxInclusionStateMsgMetricItem `json:"inTxInclusionState"` OutPublishGovernanceTransaction TransactionMetricItem `json:"outPublishGovernanceTransaction"` OutPullLatestOutput InterfaceMetricItem `json:"outPullLatestOutput"` OutPullOutputByID UTXOInputMetricItem `json:"outPullOutputByID"` OutPullTxInclusionState TransactionIDMetricItem `json:"outPullTxInclusionState"` }
func MapChainMetrics ¶
func MapChainMetrics(metrics *dto.ChainMetrics) *ChainMetrics
type CommitteeInfoResponse ¶
type CommitteeInfoResponse struct { AccessNodes []CommitteeNode `json:"accessNodes" swagger:"desc(A list of all access nodes and their peering info.)"` Active bool `json:"active" swagger:"desc(Whether or not the chain is active.)"` CandidateNodes []CommitteeNode `json:"candidateNodes" swagger:"desc(A list of all candidate nodes and their peering info.)"` ChainID string `json:"chainId" swagger:"desc(ChainID (Bech32-encoded).)"` CommitteeNodes []CommitteeNode `json:"committeeNodes" swagger:"desc(A list of all committee nodes and their peering info.)"` StateAddress string `json:"stateAddress" swagger:"desc(State address, if we are part of it.)"` }
type CommitteeNode ¶
type CommitteeNode struct { AccessAPI string `json:"accessAPI"` Node PeeringNodeStatusResponse `json:"node"` }
func MapCommitteeNode ¶
func MapCommitteeNode(status *dto.ChainNodeStatus) CommitteeNode
func MapCommitteeNodes ¶
func MapCommitteeNodes(status []*dto.ChainNodeStatus) []CommitteeNode
type ConsensusPipeMetrics ¶
type ConsensusPipeMetrics struct { EventStateTransitionMsgPipeSize int `json:"eventStateTransitionMsgPipeSize"` EventPeerLogIndexMsgPipeSize int `json:"eventPeerLogIndexMsgPipeSize"` EventACSMsgPipeSize int `json:"eventACSMsgPipeSize"` EventVMResultMsgPipeSize int `json:"eventVMResultMsgPipeSize"` EventTimerMsgPipeSize int `json:"eventTimerMsgPipeSize"` }
func MapConsensusPipeMetrics ¶
func MapConsensusPipeMetrics(pipeMetrics chain.ConsensusPipeMetrics) *ConsensusPipeMetrics
type ConsensusWorkflowMetrics ¶
type ConsensusWorkflowMetrics struct { FlagStateReceived bool `json:"flagStateReceived" swagger:"desc(Shows if state output is received in current consensus iteration)"` FlagBatchProposalSent bool `json:"flagBatchProposalSent" swagger:"desc(Shows if batch proposal is sent out in current consensus iteration)"` FlagConsensusBatchKnown bool `` /* 126-byte string literal not displayed */ FlagVMStarted bool `json:"flagVMStarted" swagger:"desc(Shows if virtual machine is started in current consensus iteration)"` FlagVMResultSigned bool `json:"flagVMResultSigned" swagger:"desc(Shows if virtual machine has returned its results in current consensus iteration)"` FlagTransactionFinalized bool `json:"flagTransactionFinalized" swagger:"desc(Shows if consensus on transaction is reached in current consensus iteration)"` FlagTransactionPosted bool `json:"flagTransactionPosted" swagger:"desc(Shows if transaction is posted to L1 in current consensus iteration)"` FlagTransactionSeen bool `` /* 127-byte string literal not displayed */ FlagInProgress bool `json:"flagInProgress" swagger:"desc(Shows if consensus algorithm is still not completed in current consensus iteration)"` TimeBatchProposalSent time.Time `json:"timeBatchProposalSent" swagger:"desc(Shows when batch proposal was last sent out in current consensus iteration)"` TimeConsensusBatchKnown time.Time `` /* 140-byte string literal not displayed */ TimeVMStarted time.Time `json:"timeVMStarted" swagger:"desc(Shows when virtual machine was last started in current consensus iteration)"` TimeVMResultSigned time.Time `` /* 137-byte string literal not displayed */ TimeTransactionFinalized time.Time `` /* 175-byte string literal not displayed */ TimeTransactionPosted time.Time `json:"timeTransactionPosted" swagger:"desc(Shows when transaction was last posted to L1 in current consensus iteration)"` TimeTransactionSeen time.Time `` /* 142-byte string literal not displayed */ TimeCompleted time.Time `json:"timeCompleted" swagger:"desc(Shows when algorithm was last completed in current consensus iteration)"` CurrentStateIndex uint32 `json:"currentStateIndex" swagger:"desc(Shows current state index of the consensus)"` }
func MapConsensusWorkflowStatus ¶
func MapConsensusWorkflowStatus(status chain.ConsensusWorkflowStatus) *ConsensusWorkflowMetrics
type ContractCallViewRequest ¶
type ContractCallViewRequest struct { ChainID string `json:"chainId" swagger:"desc(The chain id)"` ContractName string `json:"contractName" swagger:"desc(The contract name)"` ContractHName string `json:"contractHName" swagger:"desc(The contract name as HName (Hex))"` FunctionName string `json:"functionName" swagger:"desc(The function name)"` FunctionHName string `json:"functionHName" swagger:"desc(The function name as HName (Hex))"` Arguments dict.JSONDict `json:"arguments" swagger:"desc(Encoded arguments to be passed to the function)"` }
type ContractInfoResponse ¶
type ContractInfoResponse struct { Description string `json:"description" swagger:"desc(The description of the contract.)"` HName string `json:"hName" swagger:"desc(The id (HName as Hex)) of the contract.)"` Name string `json:"name" swagger:"desc(The name of the contract.)"` ProgramHash hashing.HashValue `json:"programHash" swagger:"desc(The hash of the contract.)"` }
type DKSharesInfo ¶
type DKSharesInfo struct {}
DKSharesInfo stands for the DKShare representation, returned by the GET and POST methods.
type DKSharesPostRequest ¶
type DKSharesPostRequest struct {}
DKSharesPostRequest is a POST request for creating new DKShare.
type EventsResponse ¶
type EventsResponse struct {
Events []string `json:"events"`
}
type FoundryOutputResponse ¶
type FoundryOutputResponse struct { FoundryID string `json:"foundryId"` Assets AssetsResponse `json:"assets"` }
type FungibleTokens ¶
type FungibleTokens struct { BaseTokens uint64 `json:"baseTokens"` NativeTokens []*NativeToken `json:"nativeTokens"` }
func MapFungibleTokens ¶
func MapFungibleTokens(tokens *isc.FungibleTokens) *FungibleTokens
type InOutput ¶
type InOutput struct { OutputID string `json:"outputId" swagger:"desc(The output ID)"` Output *Output `json:"output" swagger:"desc(The parsed output)"` }
func InOutputFromISCInOutput ¶
func InOutputFromISCInOutput(output *nodeconnmetrics.InOutput) *InOutput
type InOutputMetricItem ¶
type InOutputMetricItem MetricItem[*InOutput]
ChainMetrics Echo Swagger does not support generics such as MetricItem[Foo] Creating separate types works instead. To not create a mapper for each type, the actual service remains using MetricItem[Foo] but this model here is presented to the docs. This can be removed if we change to swag/echo-swagger
type InStateOutput ¶
type InStateOutput struct { OutputID string `json:"outputId" swagger:"desc(The output ID)"` Output *Output `json:"output" swagger:"desc(The parsed output)"` }
func InStateOutputFromISCInStateOutput ¶
func InStateOutputFromISCInStateOutput(output *nodeconnmetrics.InStateOutput) *InStateOutput
type InStateOutputMetricItem ¶
type InStateOutputMetricItem MetricItem[*InStateOutput]
ChainMetrics Echo Swagger does not support generics such as MetricItem[Foo] Creating separate types works instead. To not create a mapper for each type, the actual service remains using MetricItem[Foo] but this model here is presented to the docs. This can be removed if we change to swag/echo-swagger
type InfoResponse ¶
type InfoResponse struct { Version string `json:"version" swagger:"desc(The version of the node)"` PublicKey string `json:"publicKey" swagger:"desc(The public key of the node (Hex))"` NetID string `json:"netID" swagger:"desc(The net id of the node)"` L1Params *L1Params `json:"l1Params" swagger:"desc(The L1 parameters)"` }
type InterfaceMetricItem ¶
type InterfaceMetricItem MetricItem[interface{}]
ChainMetrics Echo Swagger does not support generics such as MetricItem[Foo] Creating separate types works instead. To not create a mapper for each type, the actual service remains using MetricItem[Foo] but this model here is presented to the docs. This can be removed if we change to swag/echo-swagger
type L1Params ¶
type L1Params struct { MaxPayloadSize int `json:"maxPayloadSize" swagger:"desc(The max payload size)"` Protocol *ProtocolParameters `json:"protocol" swagger:"desc(The protocol parameters)"` BaseToken *parameters.BaseToken `json:"baseToken" swagger:"desc(The base token parameters)"` }
func MapL1Params ¶
func MapL1Params(l1 *parameters.L1Params) *L1Params
type MetricItem ¶
type MetricItem[T interface{}] struct { Messages uint32 `json:"messages"` Timestamp time.Time `json:"timestamp"` LastMessage T `json:"lastMessage"` }
func MapMetricItem ¶
func MapMetricItem[T any, G any](metrics *dto.MetricItem[G], value T) MetricItem[T]
type NFTDataResponse ¶
type NFTDataResponse struct { ID string `json:"id"` Issuer string `json:"issuer"` Metadata string `json:"metadata"` Owner string `json:"owner"` }
func MapNFTDataResponse ¶
func MapNFTDataResponse(nft *isc.NFT) *NFTDataResponse
type NativeToken ¶
func MapNativeToken ¶
func MapNativeToken(token *iotago.NativeToken) *NativeToken
func MapNativeTokens ¶
func MapNativeTokens(tokens iotago.NativeTokens) []*NativeToken
type NativeTokenIDRegistryResponse ¶
type NativeTokenIDRegistryResponse struct {
NativeTokenRegistryIDs []string `json:"nativeTokenRegistryIds"`
}
type NodeOwnerCertificateResponse ¶
type NodeOwnerCertificateResponse struct {
Certificate string `json:"certificate" swagger:"desc(Certificate stating the ownership. (Hex))"`
}
type OffLedgerRequest ¶
type OnLedgerRequest ¶
type OnLedgerRequest struct { ID string `json:"id" swagger:"desc(The request ID)"` OutputID string `json:"outputId" swagger:"desc(The output ID)"` Output *Output `json:"output" swagger:"desc(The parsed output)"` Raw string `json:"raw" swagger:"desc(The raw data of the request (Hex))"` }
func OnLedgerRequestFromISC ¶
func OnLedgerRequestFromISC(request isc.OnLedgerRequest) *OnLedgerRequest
type OnLedgerRequestMetricItem ¶
type OnLedgerRequestMetricItem MetricItem[*OnLedgerRequest]
ChainMetrics Echo Swagger does not support generics such as MetricItem[Foo] Creating separate types works instead. To not create a mapper for each type, the actual service remains using MetricItem[Foo] but this model here is presented to the docs. This can be removed if we change to swag/echo-swagger
type Output ¶
type Output struct { OutputType iotago.OutputType `json:"outputType" swagger:"desc(The output type)"` Raw string `json:"raw" swagger:"desc(The raw data of the output (Hex))"` }
func OutputFromIotaGoOutput ¶
type OutputID ¶
type OutputID struct {
OutputID string `json:"outputId" swagger:"desc(The output ID)"`
}
type PeeringNodePublicKeyRequest ¶
type PeeringNodePublicKeyRequest struct {
PublicKey string `json:"publicKey" swagger:"desc(The peers public key encoded in Hex)"`
}
type PeeringNodeStatusResponse ¶
type PeeringNodeStatusResponse struct { IsAlive bool `json:"isAlive" swagger:"desc(Whether or not the peer is activated)"` NetID string `json:"netId" swagger:"desc(The NetID of the peer)"` NumUsers int `json:"numUsers" swagger:"desc(The amount of users attached to the peer)"` PublicKey string `json:"publicKey" swagger:"desc(The peers public key encoded in Hex)"` IsTrusted bool `json:"isTrusted" swagger:"Desc(Whether or not the peer is trusted)"` }
type PeeringTrustRequest ¶
type ProtocolParameters ¶
type ProtocolParameters struct { // The version of the protocol running. Version byte `json:"version" swagger:"desc(The protocol version)"` // The human friendly name of the network. NetworkName string `json:"networkName" swagger:"desc(The network name)"` // The HRP prefix used for Bech32 addresses in the network. Bech32HRP iotago.NetworkPrefix `json:"bech32Hrp" swagger:"desc(The human readable network prefix)"` // The minimum pow score of the network. MinPoWScore uint32 `json:"minPowScore" swagger:"desc(The minimal PoW score)"` // The below max depth parameter of the network. BelowMaxDepth uint8 `json:"belowMaxDepth" swagger:"desc(The networks max depth)"` // The rent structure used by given node/network. RentStructure RentStructure `json:"rentStructure" swagger:"desc(The rent structure of the protocol)"` // TokenSupply defines the current token supply on the network. TokenSupply string `json:"tokenSupply" swagger:"desc(The token supply)"` }
type ReceiptError ¶
type ReceiptError struct { ContractID isc.Hname `json:"contractId"` ErrorID uint16 `json:"errorId"` ErrorCode string `json:"errorCode"` Message string `json:"message"` MessageFormat string `json:"messageFormat"` Parameters []interface{} `json:"parameters"` }
func MapReceiptError ¶
func MapReceiptError(err *isc.VMError) *ReceiptError
type ReceiptResponse ¶
type ReceiptResponse struct { Request string `json:"request"` Error *ReceiptError `json:"error"` GasBudget uint64 `json:"gasBudget"` GasBurned uint64 `json:"gasBurned"` GasFeeCharged uint64 `json:"gasFeeCharged"` BlockIndex uint32 `json:"blockIndex"` RequestIndex uint16 `json:"requestIndex"` GasBurnLog []gas.BurnRecord `json:"gasBurnLog"` }
func MapReceiptResponse ¶
func MapReceiptResponse(receipt *isc.Receipt, resolvedError *isc.VMError) *ReceiptResponse
type RentStructure ¶
type RentStructure struct { // Defines the rent of a single virtual byte denoted in IOTA tokens. VByteCost uint32 `json:"vByteCost" swagger:"desc(The virtual byte cost)"` // Defines the factor to be used for data only fields. VBFactorData iotago.VByteCostFactor `json:"vByteFactorData" swagger:"desc(The virtual byte factor for data fields)"` // defines the factor to be used for key/lookup generating fields. VBFactorKey iotago.VByteCostFactor `json:"vByteFactorKey" swagger:"desc(The virtual byte factor for key/lookup generating fields)"` }
RentStructure defines the parameters of rent cost calculations on objects which take node resources.
type RequestDetail ¶
type RequestDetail struct { Allowance *Allowance `json:"allowance"` CallTarget isc.CallTarget `json:"callTarget"` FungibleTokens *FungibleTokens `json:"fungibleTokens"` GasGudget uint64 `json:"gasGudget"` IsEVM bool `json:"isEVM"` IsOffLedger bool `json:"isOffLedger"` NFT *NFTDataResponse `json:"nft"` Params dict.JSONDict `json:"params"` RequestID string `json:"requestId"` SenderAccount string `json:"senderAccount"` TargetAddress string `json:"targetAddress"` }
func MapRequestDetail ¶
func MapRequestDetail(request isc.Request) *RequestDetail
type RequestIDResponse ¶
type RequestIDResponse struct {
RequestID string `json:"requestId" swagger:"desc(The request ID of the given transaction ID.)"`
}
type RequestIDsResponse ¶
type RequestIDsResponse struct {
RequestIDs []string `json:"requestIds"`
}
type RequestReceiptResponse ¶
type RequestReceiptResponse struct { BlockIndex uint32 `json:"blockIndex"` Error *BlockReceiptError `json:"error"` GasBudget uint64 `json:"gasBudget"` GasBurnLog *gas.BurnLog `json:"gasBurnLog"` GasBurned uint64 `json:"gasBurned"` GasFeeCharged uint64 `json:"gasFeeCharged"` Request *RequestDetail `json:"request"` RequestIndex uint16 `json:"requestIndex"` }
type StateTransaction ¶
type StateTransaction struct { StateIndex uint32 `json:"stateIndex" swagger:"desc(The state index)"` TransactionID string `json:"txId" swagger:"desc(The transaction ID)"` }
func StateTransactionFromISCStateTransaction ¶
func StateTransactionFromISCStateTransaction(transaction *nodeconnmetrics.StateTransaction) *StateTransaction
type Transaction ¶
type Transaction struct {
TransactionID string `json:"txId" swagger:"desc(The transaction ID)"`
}
func TransactionFromIotaGoTransaction ¶
func TransactionFromIotaGoTransaction(transaction *iotago.Transaction) *Transaction
func TransactionFromIotaGoTransactionID ¶
func TransactionFromIotaGoTransactionID(txID *iotago.TransactionID) *Transaction
type TransactionIDMetricItem ¶
type TransactionIDMetricItem MetricItem[*Transaction]
ChainMetrics Echo Swagger does not support generics such as MetricItem[Foo] Creating separate types works instead. To not create a mapper for each type, the actual service remains using MetricItem[Foo] but this model here is presented to the docs. This can be removed if we change to swag/echo-swagger
type TransactionMetricItem ¶
type TransactionMetricItem MetricItem[*Transaction]
ChainMetrics Echo Swagger does not support generics such as MetricItem[Foo] Creating separate types works instead. To not create a mapper for each type, the actual service remains using MetricItem[Foo] but this model here is presented to the docs. This can be removed if we change to swag/echo-swagger
type TxInclusionStateMsg ¶
type TxInclusionStateMsg struct { TransactionID string `json:"txId" swagger:"desc(The transaction ID)"` State string `json:"state" swagger:"desc(The inclusion state)"` }
func TxInclusionStateMsgFromISCTxInclusionStateMsg ¶
func TxInclusionStateMsgFromISCTxInclusionStateMsg(inclusionState *nodeconnmetrics.TxInclusionStateMsg) *TxInclusionStateMsg
type TxInclusionStateMsgMetricItem ¶
type TxInclusionStateMsgMetricItem MetricItem[*TxInclusionStateMsg]
ChainMetrics Echo Swagger does not support generics such as MetricItem[Foo] Creating separate types works instead. To not create a mapper for each type, the actual service remains using MetricItem[Foo] but this model here is presented to the docs. This can be removed if we change to swag/echo-swagger
type UTXOInputMetricItem ¶
type UTXOInputMetricItem MetricItem[*OutputID]
ChainMetrics Echo Swagger does not support generics such as MetricItem[Foo] Creating separate types works instead. To not create a mapper for each type, the actual service remains using MetricItem[Foo] but this model here is presented to the docs. This can be removed if we change to swag/echo-swagger
type UpdateUserPasswordRequest ¶
type UpdateUserPasswordRequest struct {
Password string `json:"password"`
}
type UpdateUserPermissionsRequest ¶
type UpdateUserPermissionsRequest struct {
Permissions []string `json:"permissions"`
}