user_account.proto
path mgmt/v1alpha1/user_account.proto
package mgmt.v1alpha1
Messages
AcceptTeamAccountInviteRequest
Name | Type | Description |
---|---|---|
token | string |
AcceptTeamAccountInviteResponse
Name | Type | Description |
---|---|---|
account | UserAccount |
AccountInvite
Name | Type | Description |
---|---|---|
id | string | |
account_id | string | |
sender_user_id | string | |
email | string | |
token | string | |
accepted | bool | |
created_at | google.protobuf.Timestamp | |
updated_at | google.protobuf.Timestamp | |
expires_at | google.protobuf.Timestamp |
AccountTemporalConfig
Name | Type | Description |
---|---|---|
url | string | |
namespace | string | |
sync_job_queue_name | string |
AccountUser
Name | Type | Description |
---|---|---|
id | string | |
name | string | |
image | string | |
email | string |
ConvertPersonalToTeamAccountRequest
Name | Type | Description |
---|
ConvertPersonalToTeamAccountResponse
Name | Type | Description |
---|
CreateTeamAccountRequest
Name | Type | Description |
---|---|---|
name | string |
CreateTeamAccountResponse
Name | Type | Description |
---|---|---|
account_id | string |
GetAccountTemporalConfigRequest
Name | Type | Description |
---|---|---|
account_id | string |
GetAccountTemporalConfigResponse
Name | Type | Description |
---|---|---|
config | AccountTemporalConfig |
GetTeamAccountInvitesRequest
Name | Type | Description |
---|---|---|
account_id | string |
GetTeamAccountInvitesResponse
Name | Type | Description |
---|---|---|
invites | repeated AccountInvite |
GetTeamAccountMembersRequest
Name | Type | Description |
---|---|---|
account_id | string |
GetTeamAccountMembersResponse
Name | Type | Description |
---|---|---|
users | repeated AccountUser |
GetUserAccountsRequest
Name | Type | Description |
---|
GetUserAccountsResponse
Name | Type | Description |
---|---|---|
accounts | repeated UserAccount |
GetUserRequest
Name | Type | Description |
---|
GetUserResponse
Name | Type | Description |
---|---|---|
user_id | string |
InviteUserToTeamAccountRequest
Name | Type | Description |
---|---|---|
account_id | string | |
email | string |
InviteUserToTeamAccountResponse
Name | Type | Description |
---|---|---|
invite | AccountInvite |
IsUserInAccountRequest
Name | Type | Description |
---|---|---|
account_id | string |
IsUserInAccountResponse
Name | Type | Description |
---|---|---|
ok | bool |
RemoveTeamAccountInviteRequest
Name | Type | Description |
---|---|---|
id | string |
RemoveTeamAccountInviteResponse
Name | Type | Description |
---|
RemoveTeamAccountMemberRequest
Name | Type | Description |
---|---|---|
user_id | string | |
account_id | string |
RemoveTeamAccountMemberResponse
Name | Type | Description |
---|
SetAccountTemporalConfigRequest
Name | Type | Description |
---|---|---|
account_id | string | |
config | AccountTemporalConfig |
SetAccountTemporalConfigResponse
Name | Type | Description |
---|---|---|
config | AccountTemporalConfig |
SetPersonalAccountRequest
Name | Type | Description |
---|
SetPersonalAccountResponse
Name | Type | Description |
---|---|---|
account_id | string |
SetUserRequest
Name | Type | Description |
---|
SetUserResponse
Name | Type | Description |
---|---|---|
user_id | string |
UserAccount
Name | Type | Description |
---|---|---|
id | string | |
name | string | |
type | UserAccountType |
Enums
UserAccountType
Name | Number | Description |
---|---|---|
USER_ACCOUNT_TYPE_UNSPECIFIED | 0 | |
USER_ACCOUNT_TYPE_PERSONAL | 1 | |
USER_ACCOUNT_TYPE_TEAM | 2 |
Services
UserAccountService
GetUser
Method | GetUser |
---|---|
Request | GetUserRequest |
Response | GetUserResponse |
Description |
SetUser
Method | SetUser |
---|---|
Request | SetUserRequest |
Response | SetUserResponse |
Description |
GetUserAccounts
Method | GetUserAccounts |
---|---|
Request | GetUserAccountsRequest |
Response | GetUserAccountsResponse |
Description |
SetPersonalAccount
Method | SetPersonalAccount |
---|---|
Request | SetPersonalAccountRequest |
Response | SetPersonalAccountResponse |
Description |
ConvertPersonalToTeamAccount
Method | ConvertPersonalToTeamAccount |
---|---|
Request | ConvertPersonalToTeamAccountRequest |
Response | ConvertPersonalToTeamAccountResponse |
Description |
CreateTeamAccount
Method | CreateTeamAccount |
---|---|
Request | CreateTeamAccountRequest |
Response | CreateTeamAccountResponse |
Description |
IsUserInAccount
Method | IsUserInAccount |
---|---|
Request | IsUserInAccountRequest |
Response | IsUserInAccountResponse |
Description |
GetAccountTemporalConfig
Method | GetAccountTemporalConfig |
---|---|
Request | GetAccountTemporalConfigRequest |
Response | GetAccountTemporalConfigResponse |
Description |
SetAccountTemporalConfig
Method | SetAccountTemporalConfig |
---|---|
Request | SetAccountTemporalConfigRequest |
Response | SetAccountTemporalConfigResponse |
Description |
GetTeamAccountMembers
Method | GetTeamAccountMembers |
---|---|
Request | GetTeamAccountMembersRequest |
Response | GetTeamAccountMembersResponse |
Description |
RemoveTeamAccountMember
Method | RemoveTeamAccountMember |
---|---|
Request | RemoveTeamAccountMemberRequest |
Response | RemoveTeamAccountMemberResponse |
Description |
InviteUserToTeamAccount
Method | InviteUserToTeamAccount |
---|---|
Request | InviteUserToTeamAccountRequest |
Response | InviteUserToTeamAccountResponse |
Description |
GetTeamAccountInvites
Method | GetTeamAccountInvites |
---|---|
Request | GetTeamAccountInvitesRequest |
Response | GetTeamAccountInvitesResponse |
Description |
RemoveTeamAccountInvite
Method | RemoveTeamAccountInvite |
---|---|
Request | RemoveTeamAccountInviteRequest |
Response | RemoveTeamAccountInviteResponse |
Description |
AcceptTeamAccountInvite
Method | AcceptTeamAccountInvite |
---|---|
Request | AcceptTeamAccountInviteRequest |
Response | AcceptTeamAccountInviteResponse |
Description |