// Copyright (c) Mainflux // SPDX-License-Identifier: Apache-2.0 package sdk // updateClientSecretReq is used to update the client secret. type updateClientSecretReq struct { OldSecret string `json:"old_secret,omitempty"` NewSecret string `json:"new_secret,omitempty"` } type resetPasswordRequestreq struct { Email string `json:"email"` Host string `json:"host"` } type resetPasswordReq struct { Token string `json:"token"` Password string `json:"password"` ConfPass string `json:"confirm_password"` } type updateThingSecretReq struct { Secret string `json:"secret,omitempty"` } // updateClientIdentityReq is used to update the client identity. type updateClientIdentityReq struct { token string id string Identity string `json:"identity,omitempty"` } // UserPasswordReq contains old and new passwords. type UserPasswordReq struct { OldPassword string `json:"old_password,omitempty"` Password string `json:"password,omitempty"` } // Connection contains thing and channel ID that are connected. type Connection struct { ThingID string `json:"thing_id,omitempty"` ChannelID string `json:"channel_id,omitempty"` } type tokenReq struct { Identity string `json:"identity"` Secret string `json:"secret"` } type UsersRelationRequest struct { Relation string `json:"relation"` UserIDs []string `json:"user_ids"` } type UserGroupsRequest struct { UserGroupIDs []string `json:"group_ids"` }