account

package
v0.12.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package account is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	AccountState_name = map[int32]string{
		0: "ACCOUNT_STATE_UNSPECIFIED",
		1: "BLOCKED",
		2: "ACTIVE",
		3: "INACTIVE",
		4: "DELETED",
	}
	AccountState_value = map[string]int32{
		"ACCOUNT_STATE_UNSPECIFIED": 0,
		"BLOCKED":                   1,
		"ACTIVE":                    2,
		"INACTIVE":                  3,
		"DELETED":                   4,
	}
)

Enum value maps for AccountState.

View Source
var (
	AccountView_name = map[int32]string{
		0: "FULL_VIEW",
		1: "LIST_VIEW",
		2: "SEARCH_VIEW",
		3: "BASIC_VIEW",
	}
	AccountView_value = map[string]int32{
		"FULL_VIEW":   0,
		"LIST_VIEW":   1,
		"SEARCH_VIEW": 2,
		"BASIC_VIEW":  3,
	}
)

Enum value maps for AccountView.

View Source
var (
	UpdateOperation_name = map[int32]string{
		0:  "UPDATE_OPERATION_INSPECIFIED",
		1:  "UNDELETE",
		2:  "DELETE",
		3:  "UNBLOCK",
		4:  "BLOCK",
		5:  "CHANGE_GROUP",
		6:  "ADMIN_ACTIVATE",
		7:  "PASSWORD_RESET",
		8:  "CHANGE_PRIMARY_GROUP",
		9:  "GROUP_ID",
		10: "PARENT_ID",
	}
	UpdateOperation_value = map[string]int32{
		"UPDATE_OPERATION_INSPECIFIED": 0,
		"UNDELETE":                     1,
		"DELETE":                       2,
		"UNBLOCK":                      3,
		"BLOCK":                        4,
		"CHANGE_GROUP":                 5,
		"ADMIN_ACTIVATE":               6,
		"PASSWORD_RESET":               7,
		"CHANGE_PRIMARY_GROUP":         8,
		"GROUP_ID":                     9,
		"PARENT_ID":                    10,
	}
)

Enum value maps for UpdateOperation.

View Source
var (
	Account_Gender_name = map[int32]string{
		0: "GENDER_UNSPECIFIED",
		1: "MALE",
		2: "FEMALE",
	}
	Account_Gender_value = map[string]int32{
		"GENDER_UNSPECIFIED": 0,
		"MALE":               1,
		"FEMALE":             2,
	}
)

Enum value maps for Account_Gender.

View Source
var File_account_proto protoreflect.FileDescriptor

Functions

func RegisterAccountAPIHandler

func RegisterAccountAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterAccountAPIHandler registers the http handlers for service AccountAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterAccountAPIHandlerClient

func RegisterAccountAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AccountAPIClient) error

RegisterAccountAPIHandlerClient registers the http handlers for service AccountAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AccountAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AccountAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AccountAPIClient" to call the correct interceptors.

func RegisterAccountAPIHandlerFromEndpoint

func RegisterAccountAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterAccountAPIHandlerFromEndpoint is same as RegisterAccountAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterAccountAPIHandlerServer

func RegisterAccountAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AccountAPIServer) error

RegisterAccountAPIHandlerServer registers the http handlers for service AccountAPI to "mux". UnaryRPC :call AccountAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAccountAPIHandlerFromEndpoint instead.

func RegisterAccountAPIServer

func RegisterAccountAPIServer(s grpc.ServiceRegistrar, srv AccountAPIServer)

Types

type Account

type Account struct {
	AccountId       string         `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	ProjectId       string         `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	Email           string         `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Phone           string         `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	DeviceToken     string         `protobuf:"bytes,5,opt,name=device_token,json=deviceToken,proto3" json:"device_token,omitempty"`
	Names           string         `protobuf:"bytes,6,opt,name=names,proto3" json:"names,omitempty"`
	BirthDate       string         `protobuf:"bytes,7,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"`
	Gender          Account_Gender `protobuf:"varint,8,opt,name=gender,proto3,enum=gidyon.apis.Account_Gender" json:"gender,omitempty"`
	Nationality     string         `protobuf:"bytes,9,opt,name=nationality,proto3" json:"nationality,omitempty"`
	IdNumber        string         `protobuf:"bytes,10,opt,name=id_number,json=idNumber,proto3" json:"id_number,omitempty"`
	Profession      string         `protobuf:"bytes,11,opt,name=profession,proto3" json:"profession,omitempty"`
	Residence       string         `protobuf:"bytes,12,opt,name=residence,proto3" json:"residence,omitempty"`
	ProfileUrl      string         `protobuf:"bytes,13,opt,name=profile_url,json=profileUrl,proto3" json:"profile_url,omitempty"`
	Group           string         `protobuf:"bytes,14,opt,name=group,proto3" json:"group,omitempty"`
	LinkedAccounts  string         `protobuf:"bytes,15,opt,name=linked_accounts,json=linkedAccounts,proto3" json:"linked_accounts,omitempty"`
	GroupId         string         `protobuf:"bytes,16,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	ParentId        string         `protobuf:"bytes,17,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	LastLogin       string         `protobuf:"bytes,18,opt,name=last_login,json=lastLogin,proto3" json:"last_login,omitempty"`
	CreatedAt       string         `protobuf:"bytes,19,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	State           AccountState   `protobuf:"varint,20,opt,name=state,proto3,enum=gidyon.apis.AccountState" json:"state,omitempty"`
	SecondaryGroups []string       `protobuf:"bytes,21,rep,name=secondary_groups,json=secondaryGroups,proto3" json:"secondary_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated

func (*Account) Descriptor() ([]byte, []int)

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetAccountId

func (x *Account) GetAccountId() string

func (*Account) GetBirthDate

func (x *Account) GetBirthDate() string

func (*Account) GetCreatedAt

func (x *Account) GetCreatedAt() string

func (*Account) GetDeviceToken

func (x *Account) GetDeviceToken() string

func (*Account) GetEmail

func (x *Account) GetEmail() string

func (*Account) GetGender

func (x *Account) GetGender() Account_Gender

func (*Account) GetGroup

func (x *Account) GetGroup() string

func (*Account) GetGroupId

func (x *Account) GetGroupId() string

func (*Account) GetIdNumber

func (x *Account) GetIdNumber() string

func (*Account) GetLastLogin

func (x *Account) GetLastLogin() string

func (*Account) GetLinkedAccounts

func (x *Account) GetLinkedAccounts() string

func (*Account) GetNames

func (x *Account) GetNames() string

func (*Account) GetNationality

func (x *Account) GetNationality() string

func (*Account) GetParentId

func (x *Account) GetParentId() string

func (*Account) GetPhone

func (x *Account) GetPhone() string

func (*Account) GetProfession

func (x *Account) GetProfession() string

func (*Account) GetProfileUrl

func (x *Account) GetProfileUrl() string

func (*Account) GetProjectId

func (x *Account) GetProjectId() string

func (*Account) GetResidence

func (x *Account) GetResidence() string

func (*Account) GetSecondaryGroups

func (x *Account) GetSecondaryGroups() []string

func (*Account) GetState

func (x *Account) GetState() AccountState

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) ProtoReflect

func (x *Account) ProtoReflect() protoreflect.Message

func (*Account) Reset

func (x *Account) Reset()

func (*Account) String

func (x *Account) String() string

type AccountAPIClient

type AccountAPIClient interface {
	// Request to sign in using OTP
	RequestSignInOTP(ctx context.Context, in *RequestSignInOTPRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Sign in using provided OTPs
	SignInOTP(ctx context.Context, in *SignInOTPRequest, opts ...grpc.CallOption) (*SignInResponse, error)
	// Signs in a user into their account
	SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error)
	// Signs in a user using third parties like Google, Facebook, Twitter etc
	SignInExternal(ctx context.Context, in *SignInExternalRequest, opts ...grpc.CallOption) (*SignInResponse, error)
	// Fetch new JWT using refresh token and updates session
	RefreshSession(ctx context.Context, in *RefreshSessionRequest, opts ...grpc.CallOption) (*SignInResponse, error)
	// Creates an account for a new user
	CreateAccount(ctx context.Context, in *CreateAccountRequest, opts ...grpc.CallOption) (*CreateAccountResponse, error)
	// Activates an account to being active
	ActivateAccount(ctx context.Context, in *ActivateAccountRequest, opts ...grpc.CallOption) (*ActivateAccountResponse, error)
	// Requests for an OTP to activate an account, usually happens after login and
	// account not ACTIVE
	RequestActivateAccountOTP(ctx context.Context, in *RequestActivateAccountOTPRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Activates the account by passing along the OTP code sent and token
	ActivateAccountOTP(ctx context.Context, in *ActivateAccountOTPRequest, opts ...grpc.CallOption) (*ActivateAccountResponse, error)
	// Updates a user account
	UpdateAccount(ctx context.Context, in *UpdateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Request to change private account information
	RequestChangePrivateAccount(ctx context.Context, in *RequestChangePrivateAccountRequest, opts ...grpc.CallOption) (*RequestChangePrivateAccountResponse, error)
	// Updates a user private account information
	UpdatePrivateAccount(ctx context.Context, in *UpdatePrivateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Updates a user private account information while not logged in to the account
	UpdatePrivateAccountExternal(ctx context.Context, in *UpdatePrivateAccountExternalRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Deletes a user account
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Retrieves a user account
	GetAccount(ctx context.Context, in *GetAccountRequest, opts ...grpc.CallOption) (*Account, error)
	//  Retrieves multiple user accounts
	BatchGetAccounts(ctx context.Context, in *BatchGetAccountsRequest, opts ...grpc.CallOption) (*BatchGetAccountsResponse, error)
	//  Retrieves deeply linked accounts
	GetLinkedAccounts(ctx context.Context, in *GetLinkedAccountsRequest, opts ...grpc.CallOption) (*GetLinkedAccountsResponse, error)
	// Checks if an account exists
	ExistAccount(ctx context.Context, in *ExistAccountRequest, opts ...grpc.CallOption) (*ExistAccountResponse, error)
	// Updates account
	AdminUpdateAccount(ctx context.Context, in *AdminUpdateAccountRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Fetches collection of accounts
	ListAccounts(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*Accounts, error)
	// Searches accounts and linked accounts
	SearchAccounts(ctx context.Context, in *SearchAccountsRequest, opts ...grpc.CallOption) (*Accounts, error)
	// Request to get daily users stats
	DailyRegisteredUsers(ctx context.Context, in *DailyRegisteredUsersRequest, opts ...grpc.CallOption) (*CountStats, error)
}

AccountAPIClient is the client API for AccountAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAccountAPIClient

func NewAccountAPIClient(cc grpc.ClientConnInterface) AccountAPIClient

type AccountAPIServer

type AccountAPIServer interface {
	// Request to sign in using OTP
	RequestSignInOTP(context.Context, *RequestSignInOTPRequest) (*empty.Empty, error)
	// Sign in using provided OTPs
	SignInOTP(context.Context, *SignInOTPRequest) (*SignInResponse, error)
	// Signs in a user into their account
	SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
	// Signs in a user using third parties like Google, Facebook, Twitter etc
	SignInExternal(context.Context, *SignInExternalRequest) (*SignInResponse, error)
	// Fetch new JWT using refresh token and updates session
	RefreshSession(context.Context, *RefreshSessionRequest) (*SignInResponse, error)
	// Creates an account for a new user
	CreateAccount(context.Context, *CreateAccountRequest) (*CreateAccountResponse, error)
	// Activates an account to being active
	ActivateAccount(context.Context, *ActivateAccountRequest) (*ActivateAccountResponse, error)
	// Requests for an OTP to activate an account, usually happens after login and
	// account not ACTIVE
	RequestActivateAccountOTP(context.Context, *RequestActivateAccountOTPRequest) (*empty.Empty, error)
	// Activates the account by passing along the OTP code sent and token
	ActivateAccountOTP(context.Context, *ActivateAccountOTPRequest) (*ActivateAccountResponse, error)
	// Updates a user account
	UpdateAccount(context.Context, *UpdateAccountRequest) (*empty.Empty, error)
	// Request to change private account information
	RequestChangePrivateAccount(context.Context, *RequestChangePrivateAccountRequest) (*RequestChangePrivateAccountResponse, error)
	// Updates a user private account information
	UpdatePrivateAccount(context.Context, *UpdatePrivateAccountRequest) (*empty.Empty, error)
	// Updates a user private account information while not logged in to the account
	UpdatePrivateAccountExternal(context.Context, *UpdatePrivateAccountExternalRequest) (*empty.Empty, error)
	// Deletes a user account
	DeleteAccount(context.Context, *DeleteAccountRequest) (*empty.Empty, error)
	// Retrieves a user account
	GetAccount(context.Context, *GetAccountRequest) (*Account, error)
	//  Retrieves multiple user accounts
	BatchGetAccounts(context.Context, *BatchGetAccountsRequest) (*BatchGetAccountsResponse, error)
	//  Retrieves deeply linked accounts
	GetLinkedAccounts(context.Context, *GetLinkedAccountsRequest) (*GetLinkedAccountsResponse, error)
	// Checks if an account exists
	ExistAccount(context.Context, *ExistAccountRequest) (*ExistAccountResponse, error)
	// Updates account
	AdminUpdateAccount(context.Context, *AdminUpdateAccountRequest) (*empty.Empty, error)
	// Fetches collection of accounts
	ListAccounts(context.Context, *ListAccountsRequest) (*Accounts, error)
	// Searches accounts and linked accounts
	SearchAccounts(context.Context, *SearchAccountsRequest) (*Accounts, error)
	// Request to get daily users stats
	DailyRegisteredUsers(context.Context, *DailyRegisteredUsersRequest) (*CountStats, error)
	// contains filtered or unexported methods
}

AccountAPIServer is the server API for AccountAPI service. All implementations must embed UnimplementedAccountAPIServer for forward compatibility

type AccountState

type AccountState int32

AccountState

const (
	AccountState_ACCOUNT_STATE_UNSPECIFIED AccountState = 0
	AccountState_BLOCKED                   AccountState = 1
	AccountState_ACTIVE                    AccountState = 2
	AccountState_INACTIVE                  AccountState = 3
	AccountState_DELETED                   AccountState = 4
)

func (AccountState) Descriptor

func (AccountState) Enum

func (x AccountState) Enum() *AccountState

func (AccountState) EnumDescriptor deprecated

func (AccountState) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountState.Descriptor instead.

func (AccountState) Number

func (AccountState) String

func (x AccountState) String() string

func (AccountState) Type

type AccountView

type AccountView int32

AccountView

const (
	AccountView_FULL_VIEW   AccountView = 0
	AccountView_LIST_VIEW   AccountView = 1 // account_id, email, first name and last name
	AccountView_SEARCH_VIEW AccountView = 2 // account_id, email, first name and last name
	AccountView_BASIC_VIEW  AccountView = 3 // account_id, email, first name and last name
)

func (AccountView) Descriptor

func (AccountView) Enum

func (x AccountView) Enum() *AccountView

func (AccountView) EnumDescriptor deprecated

func (AccountView) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountView.Descriptor instead.

func (AccountView) Number

func (x AccountView) Number() protoreflect.EnumNumber

func (AccountView) String

func (x AccountView) String() string

func (AccountView) Type

type Account_Gender

type Account_Gender int32

Gendern of the account

const (
	Account_GENDER_UNSPECIFIED Account_Gender = 0
	Account_MALE               Account_Gender = 1
	Account_FEMALE             Account_Gender = 2
)

func (Account_Gender) Descriptor

func (Account_Gender) Enum

func (x Account_Gender) Enum() *Account_Gender

func (Account_Gender) EnumDescriptor deprecated

func (Account_Gender) EnumDescriptor() ([]byte, []int)

Deprecated: Use Account_Gender.Descriptor instead.

func (Account_Gender) Number

func (Account_Gender) String

func (x Account_Gender) String() string

func (Account_Gender) Type

type Accounts

type Accounts struct {
	NextPageToken   string     `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	Accounts        []*Account `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	CollectionCount int64      `protobuf:"varint,3,opt,name=collection_count,json=collectionCount,proto3" json:"collection_count,omitempty"`
	// contains filtered or unexported fields
}

func (*Accounts) Descriptor deprecated

func (*Accounts) Descriptor() ([]byte, []int)

Deprecated: Use Accounts.ProtoReflect.Descriptor instead.

func (*Accounts) GetAccounts

func (x *Accounts) GetAccounts() []*Account

func (*Accounts) GetCollectionCount

func (x *Accounts) GetCollectionCount() int64

func (*Accounts) GetNextPageToken

func (x *Accounts) GetNextPageToken() string

func (*Accounts) ProtoMessage

func (*Accounts) ProtoMessage()

func (*Accounts) ProtoReflect

func (x *Accounts) ProtoReflect() protoreflect.Message

func (*Accounts) Reset

func (x *Accounts) Reset()

func (*Accounts) String

func (x *Accounts) String() string

type ActivateAccountOTPRequest

type ActivateAccountOTPRequest struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Otp       string `protobuf:"bytes,2,opt,name=otp,proto3" json:"otp,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateAccountOTPRequest) Descriptor deprecated

func (*ActivateAccountOTPRequest) Descriptor() ([]byte, []int)

Deprecated: Use ActivateAccountOTPRequest.ProtoReflect.Descriptor instead.

func (*ActivateAccountOTPRequest) GetAccountId

func (x *ActivateAccountOTPRequest) GetAccountId() string

func (*ActivateAccountOTPRequest) GetOtp

func (x *ActivateAccountOTPRequest) GetOtp() string

func (*ActivateAccountOTPRequest) ProtoMessage

func (*ActivateAccountOTPRequest) ProtoMessage()

func (*ActivateAccountOTPRequest) ProtoReflect

func (*ActivateAccountOTPRequest) Reset

func (x *ActivateAccountOTPRequest) Reset()

func (*ActivateAccountOTPRequest) String

func (x *ActivateAccountOTPRequest) String() string

type ActivateAccountRequest

type ActivateAccountRequest struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Token     string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Otp       string `protobuf:"bytes,3,opt,name=otp,proto3" json:"otp,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateAccountRequest) Descriptor deprecated

func (*ActivateAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use ActivateAccountRequest.ProtoReflect.Descriptor instead.

func (*ActivateAccountRequest) GetAccountId

func (x *ActivateAccountRequest) GetAccountId() string

func (*ActivateAccountRequest) GetOtp

func (x *ActivateAccountRequest) GetOtp() string

func (*ActivateAccountRequest) GetToken

func (x *ActivateAccountRequest) GetToken() string

func (*ActivateAccountRequest) ProtoMessage

func (*ActivateAccountRequest) ProtoMessage()

func (*ActivateAccountRequest) ProtoReflect

func (x *ActivateAccountRequest) ProtoReflect() protoreflect.Message

func (*ActivateAccountRequest) Reset

func (x *ActivateAccountRequest) Reset()

func (*ActivateAccountRequest) String

func (x *ActivateAccountRequest) String() string

type ActivateAccountResponse

type ActivateAccountResponse struct {
	// contains filtered or unexported fields
}

func (*ActivateAccountResponse) Descriptor deprecated

func (*ActivateAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use ActivateAccountResponse.ProtoReflect.Descriptor instead.

func (*ActivateAccountResponse) ProtoMessage

func (*ActivateAccountResponse) ProtoMessage()

func (*ActivateAccountResponse) ProtoReflect

func (x *ActivateAccountResponse) ProtoReflect() protoreflect.Message

func (*ActivateAccountResponse) Reset

func (x *ActivateAccountResponse) Reset()

func (*ActivateAccountResponse) String

func (x *ActivateAccountResponse) String() string

type AdminUpdateAccountRequest

type AdminUpdateAccountRequest struct {
	AccountId       string               `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AdminId         string               `protobuf:"bytes,2,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"`
	UpdateOperation UpdateOperation      `` /* 140-byte string literal not displayed */
	Reason          string               `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	Payload         []string             `protobuf:"bytes,5,rep,name=payload,proto3" json:"payload,omitempty"`
	Notify          bool                 `protobuf:"varint,6,opt,name=notify,proto3" json:"notify,omitempty"`
	SendMethod      messaging.SendMethod `protobuf:"varint,7,opt,name=send_method,json=sendMethod,proto3,enum=gidyon.apis.SendMethod" json:"send_method,omitempty"`
	// Types that are assignable to NotificationChannel:
	//	*AdminUpdateAccountRequest_Sender
	//	*AdminUpdateAccountRequest_SmsAuth
	NotificationChannel isAdminUpdateAccountRequest_NotificationChannel `protobuf_oneof:"notification_channel"`
	FetchSmsAuth        bool                                            `protobuf:"varint,10,opt,name=fetch_sms_auth,json=fetchSmsAuth,proto3" json:"fetch_sms_auth,omitempty"`
	SmsCredentialId     string                                          `protobuf:"bytes,11,opt,name=sms_credential_id,json=smsCredentialId,proto3" json:"sms_credential_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminUpdateAccountRequest) Descriptor deprecated

func (*AdminUpdateAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use AdminUpdateAccountRequest.ProtoReflect.Descriptor instead.

func (*AdminUpdateAccountRequest) GetAccountId

func (x *AdminUpdateAccountRequest) GetAccountId() string

func (*AdminUpdateAccountRequest) GetAdminId

func (x *AdminUpdateAccountRequest) GetAdminId() string

func (*AdminUpdateAccountRequest) GetFetchSmsAuth

func (x *AdminUpdateAccountRequest) GetFetchSmsAuth() bool

func (*AdminUpdateAccountRequest) GetNotificationChannel

func (m *AdminUpdateAccountRequest) GetNotificationChannel() isAdminUpdateAccountRequest_NotificationChannel

func (*AdminUpdateAccountRequest) GetNotify

func (x *AdminUpdateAccountRequest) GetNotify() bool

func (*AdminUpdateAccountRequest) GetPayload

func (x *AdminUpdateAccountRequest) GetPayload() []string

func (*AdminUpdateAccountRequest) GetReason

func (x *AdminUpdateAccountRequest) GetReason() string

func (*AdminUpdateAccountRequest) GetSendMethod

func (x *AdminUpdateAccountRequest) GetSendMethod() messaging.SendMethod

func (*AdminUpdateAccountRequest) GetSender

func (*AdminUpdateAccountRequest) GetSmsAuth

func (x *AdminUpdateAccountRequest) GetSmsAuth() *sms.SMSAuth

func (*AdminUpdateAccountRequest) GetSmsCredentialId

func (x *AdminUpdateAccountRequest) GetSmsCredentialId() string

func (*AdminUpdateAccountRequest) GetUpdateOperation

func (x *AdminUpdateAccountRequest) GetUpdateOperation() UpdateOperation

func (*AdminUpdateAccountRequest) ProtoMessage

func (*AdminUpdateAccountRequest) ProtoMessage()

func (*AdminUpdateAccountRequest) ProtoReflect

func (*AdminUpdateAccountRequest) Reset

func (x *AdminUpdateAccountRequest) Reset()

func (*AdminUpdateAccountRequest) String

func (x *AdminUpdateAccountRequest) String() string

type AdminUpdateAccountRequest_Sender

type AdminUpdateAccountRequest_Sender struct {
	Sender *emailing.EmailSender `protobuf:"bytes,8,opt,name=sender,proto3,oneof"`
}

type AdminUpdateAccountRequest_SmsAuth

type AdminUpdateAccountRequest_SmsAuth struct {
	SmsAuth *sms.SMSAuth `protobuf:"bytes,9,opt,name=sms_auth,json=smsAuth,proto3,oneof"`
}

type BatchGetAccountsRequest

type BatchGetAccountsRequest struct {
	AccountIds []string `protobuf:"bytes,1,rep,name=account_ids,json=accountIds,proto3" json:"account_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetAccountsRequest) Descriptor deprecated

func (*BatchGetAccountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetAccountsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetAccountsRequest) GetAccountIds

func (x *BatchGetAccountsRequest) GetAccountIds() []string

func (*BatchGetAccountsRequest) ProtoMessage

func (*BatchGetAccountsRequest) ProtoMessage()

func (*BatchGetAccountsRequest) ProtoReflect

func (x *BatchGetAccountsRequest) ProtoReflect() protoreflect.Message

func (*BatchGetAccountsRequest) Reset

func (x *BatchGetAccountsRequest) Reset()

func (*BatchGetAccountsRequest) String

func (x *BatchGetAccountsRequest) String() string

type BatchGetAccountsResponse

type BatchGetAccountsResponse struct {
	Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetAccountsResponse) Descriptor deprecated

func (*BatchGetAccountsResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetAccountsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetAccountsResponse) GetAccounts

func (x *BatchGetAccountsResponse) GetAccounts() []*Account

func (*BatchGetAccountsResponse) ProtoMessage

func (*BatchGetAccountsResponse) ProtoMessage()

func (*BatchGetAccountsResponse) ProtoReflect

func (x *BatchGetAccountsResponse) ProtoReflect() protoreflect.Message

func (*BatchGetAccountsResponse) Reset

func (x *BatchGetAccountsResponse) Reset()

func (*BatchGetAccountsResponse) String

func (x *BatchGetAccountsResponse) String() string

type CountStat

type CountStat struct {
	Count int64  `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Date  string `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
	// contains filtered or unexported fields
}

func (*CountStat) Descriptor deprecated

func (*CountStat) Descriptor() ([]byte, []int)

Deprecated: Use CountStat.ProtoReflect.Descriptor instead.

func (*CountStat) GetCount

func (x *CountStat) GetCount() int64

func (*CountStat) GetDate

func (x *CountStat) GetDate() string

func (*CountStat) ProtoMessage

func (*CountStat) ProtoMessage()

func (*CountStat) ProtoReflect

func (x *CountStat) ProtoReflect() protoreflect.Message

func (*CountStat) Reset

func (x *CountStat) Reset()

func (*CountStat) String

func (x *CountStat) String() string

type CountStats

type CountStats struct {
	Stats []*CountStat `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*CountStats) Descriptor deprecated

func (*CountStats) Descriptor() ([]byte, []int)

Deprecated: Use CountStats.ProtoReflect.Descriptor instead.

func (*CountStats) GetStats

func (x *CountStats) GetStats() []*CountStat

func (*CountStats) ProtoMessage

func (*CountStats) ProtoMessage()

func (*CountStats) ProtoReflect

func (x *CountStats) ProtoReflect() protoreflect.Message

func (*CountStats) Reset

func (x *CountStats) Reset()

func (*CountStats) String

func (x *CountStats) String() string

type CreateAccountRequest

type CreateAccountRequest struct {
	Account            *Account             `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	PrivateAccount     *PrivateAccount      `protobuf:"bytes,2,opt,name=private_account,json=privateAccount,proto3" json:"private_account,omitempty"`
	Notify             bool                 `protobuf:"varint,3,opt,name=notify,proto3" json:"notify,omitempty"`
	UpdateOnly         bool                 `protobuf:"varint,4,opt,name=update_only,json=updateOnly,proto3" json:"update_only,omitempty"`
	ByAdmin            bool                 `protobuf:"varint,5,opt,name=by_admin,json=byAdmin,proto3" json:"by_admin,omitempty"`
	AdminId            string               `protobuf:"bytes,6,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"`
	ProjectId          string               `protobuf:"bytes,7,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	NotificationMethod messaging.SendMethod `` /* 144-byte string literal not displayed */
	// Types that are assignable to NotificationChannel:
	//	*CreateAccountRequest_Sender
	//	*CreateAccountRequest_SmsAuth
	NotificationChannel isCreateAccountRequest_NotificationChannel `protobuf_oneof:"notification_channel"`
	// Will fetch the sms auth from backend no need to pass it in request
	FetchSmsAuth bool `protobuf:"varint,11,opt,name=fetch_sms_auth,json=fetchSmsAuth,proto3" json:"fetch_sms_auth,omitempty"`
	// This is the id of the sms auth which is also the project id
	SmsCredentialId string `protobuf:"bytes,12,opt,name=sms_credential_id,json=smsCredentialId,proto3" json:"sms_credential_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountRequest) Descriptor deprecated

func (*CreateAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateAccountRequest) GetAccount

func (x *CreateAccountRequest) GetAccount() *Account

func (*CreateAccountRequest) GetAdminId

func (x *CreateAccountRequest) GetAdminId() string

func (*CreateAccountRequest) GetByAdmin

func (x *CreateAccountRequest) GetByAdmin() bool

func (*CreateAccountRequest) GetFetchSmsAuth

func (x *CreateAccountRequest) GetFetchSmsAuth() bool

func (*CreateAccountRequest) GetNotificationChannel

func (m *CreateAccountRequest) GetNotificationChannel() isCreateAccountRequest_NotificationChannel

func (*CreateAccountRequest) GetNotificationMethod

func (x *CreateAccountRequest) GetNotificationMethod() messaging.SendMethod

func (*CreateAccountRequest) GetNotify

func (x *CreateAccountRequest) GetNotify() bool

func (*CreateAccountRequest) GetPrivateAccount

func (x *CreateAccountRequest) GetPrivateAccount() *PrivateAccount

func (*CreateAccountRequest) GetProjectId

func (x *CreateAccountRequest) GetProjectId() string

func (*CreateAccountRequest) GetSender

func (x *CreateAccountRequest) GetSender() *emailing.EmailSender

func (*CreateAccountRequest) GetSmsAuth

func (x *CreateAccountRequest) GetSmsAuth() *sms.SMSAuth

func (*CreateAccountRequest) GetSmsCredentialId

func (x *CreateAccountRequest) GetSmsCredentialId() string

func (*CreateAccountRequest) GetUpdateOnly

func (x *CreateAccountRequest) GetUpdateOnly() bool

func (*CreateAccountRequest) ProtoMessage

func (*CreateAccountRequest) ProtoMessage()

func (*CreateAccountRequest) ProtoReflect

func (x *CreateAccountRequest) ProtoReflect() protoreflect.Message

func (*CreateAccountRequest) Reset

func (x *CreateAccountRequest) Reset()

func (*CreateAccountRequest) String

func (x *CreateAccountRequest) String() string

type CreateAccountRequest_Sender

type CreateAccountRequest_Sender struct {
	Sender *emailing.EmailSender `protobuf:"bytes,9,opt,name=sender,proto3,oneof"`
}

type CreateAccountRequest_SmsAuth

type CreateAccountRequest_SmsAuth struct {
	SmsAuth *sms.SMSAuth `protobuf:"bytes,10,opt,name=sms_auth,json=smsAuth,proto3,oneof"`
}

type CreateAccountResponse

type CreateAccountResponse struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccountResponse) Descriptor deprecated

func (*CreateAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateAccountResponse.ProtoReflect.Descriptor instead.

func (*CreateAccountResponse) GetAccountId

func (x *CreateAccountResponse) GetAccountId() string

func (*CreateAccountResponse) ProtoMessage

func (*CreateAccountResponse) ProtoMessage()

func (*CreateAccountResponse) ProtoReflect

func (x *CreateAccountResponse) ProtoReflect() protoreflect.Message

func (*CreateAccountResponse) Reset

func (x *CreateAccountResponse) Reset()

func (*CreateAccountResponse) String

func (x *CreateAccountResponse) String() string

type Criteria

type Criteria struct {
	Filter               bool     `protobuf:"varint,1,opt,name=filter,proto3" json:"filter,omitempty"`
	ShowActiveAccounts   bool     `protobuf:"varint,2,opt,name=show_active_accounts,json=showActiveAccounts,proto3" json:"show_active_accounts,omitempty"`
	ShowInactiveAccounts bool     `protobuf:"varint,3,opt,name=show_inactive_accounts,json=showInactiveAccounts,proto3" json:"show_inactive_accounts,omitempty"`
	ShowBlockedAccounts  bool     `protobuf:"varint,4,opt,name=show_blocked_accounts,json=showBlockedAccounts,proto3" json:"show_blocked_accounts,omitempty"`
	ShowMales            bool     `protobuf:"varint,5,opt,name=show_males,json=showMales,proto3" json:"show_males,omitempty"`
	ShowFemales          bool     `protobuf:"varint,6,opt,name=show_females,json=showFemales,proto3" json:"show_females,omitempty"`
	FilterCreationDate   bool     `protobuf:"varint,7,opt,name=filter_creation_date,json=filterCreationDate,proto3" json:"filter_creation_date,omitempty"`
	CreatedFrom          int64    `protobuf:"varint,8,opt,name=created_from,json=createdFrom,proto3" json:"created_from,omitempty"`
	CreatedUntil         int64    `protobuf:"varint,9,opt,name=created_until,json=createdUntil,proto3" json:"created_until,omitempty"`
	FilterAccountGroups  bool     `protobuf:"varint,10,opt,name=filter_account_groups,json=filterAccountGroups,proto3" json:"filter_account_groups,omitempty"`
	Groups               []string `protobuf:"bytes,11,rep,name=groups,proto3" json:"groups,omitempty"`
	ProjectIds           []string `protobuf:"bytes,12,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"`
	Phones               []string `protobuf:"bytes,13,rep,name=phones,proto3" json:"phones,omitempty"`
	Emails               []string `protobuf:"bytes,14,rep,name=emails,proto3" json:"emails,omitempty"`
	GroupIds             []string `protobuf:"bytes,15,rep,name=group_ids,json=groupIds,proto3" json:"group_ids,omitempty"`
	ParentIds            []string `protobuf:"bytes,16,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*Criteria) Descriptor deprecated

func (*Criteria) Descriptor() ([]byte, []int)

Deprecated: Use Criteria.ProtoReflect.Descriptor instead.

func (*Criteria) GetCreatedFrom

func (x *Criteria) GetCreatedFrom() int64

func (*Criteria) GetCreatedUntil

func (x *Criteria) GetCreatedUntil() int64

func (*Criteria) GetEmails

func (x *Criteria) GetEmails() []string

func (*Criteria) GetFilter

func (x *Criteria) GetFilter() bool

func (*Criteria) GetFilterAccountGroups

func (x *Criteria) GetFilterAccountGroups() bool

func (*Criteria) GetFilterCreationDate

func (x *Criteria) GetFilterCreationDate() bool

func (*Criteria) GetGroupIds

func (x *Criteria) GetGroupIds() []string

func (*Criteria) GetGroups

func (x *Criteria) GetGroups() []string

func (*Criteria) GetParentIds

func (x *Criteria) GetParentIds() []string

func (*Criteria) GetPhones

func (x *Criteria) GetPhones() []string

func (*Criteria) GetProjectIds

func (x *Criteria) GetProjectIds() []string

func (*Criteria) GetShowActiveAccounts

func (x *Criteria) GetShowActiveAccounts() bool

func (*Criteria) GetShowBlockedAccounts

func (x *Criteria) GetShowBlockedAccounts() bool

func (*Criteria) GetShowFemales

func (x *Criteria) GetShowFemales() bool

func (*Criteria) GetShowInactiveAccounts

func (x *Criteria) GetShowInactiveAccounts() bool

func (*Criteria) GetShowMales

func (x *Criteria) GetShowMales() bool

func (*Criteria) ProtoMessage

func (*Criteria) ProtoMessage()

func (*Criteria) ProtoReflect

func (x *Criteria) ProtoReflect() protoreflect.Message

func (*Criteria) Reset

func (x *Criteria) Reset()

func (*Criteria) String

func (x *Criteria) String() string

type DailyRegisteredUsersRequest

type DailyRegisteredUsersRequest struct {
	Dates       []string                            `protobuf:"bytes,1,rep,name=dates,proto3" json:"dates,omitempty"`
	Filter      *DailyRegisteredUsersRequest_Filter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	DateIsRange bool                                `protobuf:"varint,3,opt,name=date_is_range,json=dateIsRange,proto3" json:"date_is_range,omitempty"`
	// contains filtered or unexported fields
}

func (*DailyRegisteredUsersRequest) Descriptor deprecated

func (*DailyRegisteredUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use DailyRegisteredUsersRequest.ProtoReflect.Descriptor instead.

func (*DailyRegisteredUsersRequest) GetDateIsRange

func (x *DailyRegisteredUsersRequest) GetDateIsRange() bool

func (*DailyRegisteredUsersRequest) GetDates

func (x *DailyRegisteredUsersRequest) GetDates() []string

func (*DailyRegisteredUsersRequest) GetFilter

func (*DailyRegisteredUsersRequest) ProtoMessage

func (*DailyRegisteredUsersRequest) ProtoMessage()

func (*DailyRegisteredUsersRequest) ProtoReflect

func (*DailyRegisteredUsersRequest) Reset

func (x *DailyRegisteredUsersRequest) Reset()

func (*DailyRegisteredUsersRequest) String

func (x *DailyRegisteredUsersRequest) String() string

type DailyRegisteredUsersRequest_Filter

type DailyRegisteredUsersRequest_Filter struct {
	ProjectIds []string `protobuf:"bytes,1,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*DailyRegisteredUsersRequest_Filter) Descriptor deprecated

func (*DailyRegisteredUsersRequest_Filter) Descriptor() ([]byte, []int)

Deprecated: Use DailyRegisteredUsersRequest_Filter.ProtoReflect.Descriptor instead.

func (*DailyRegisteredUsersRequest_Filter) GetProjectIds

func (x *DailyRegisteredUsersRequest_Filter) GetProjectIds() []string

func (*DailyRegisteredUsersRequest_Filter) ProtoMessage

func (*DailyRegisteredUsersRequest_Filter) ProtoMessage()

func (*DailyRegisteredUsersRequest_Filter) ProtoReflect

func (*DailyRegisteredUsersRequest_Filter) Reset

func (*DailyRegisteredUsersRequest_Filter) String

type DeleteAccountRequest

type DeleteAccountRequest struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAccountRequest) Descriptor deprecated

func (*DeleteAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetAccountId

func (x *DeleteAccountRequest) GetAccountId() string

func (*DeleteAccountRequest) ProtoMessage

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect

func (x *DeleteAccountRequest) ProtoReflect() protoreflect.Message

func (*DeleteAccountRequest) Reset

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String

func (x *DeleteAccountRequest) String() string

type ExistAccountRequest

type ExistAccountRequest struct {
	Email     string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Phone     string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ExistAccountRequest) Descriptor deprecated

func (*ExistAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExistAccountRequest.ProtoReflect.Descriptor instead.

func (*ExistAccountRequest) GetEmail

func (x *ExistAccountRequest) GetEmail() string

func (*ExistAccountRequest) GetPhone

func (x *ExistAccountRequest) GetPhone() string

func (*ExistAccountRequest) GetProjectId

func (x *ExistAccountRequest) GetProjectId() string

func (*ExistAccountRequest) ProtoMessage

func (*ExistAccountRequest) ProtoMessage()

func (*ExistAccountRequest) ProtoReflect

func (x *ExistAccountRequest) ProtoReflect() protoreflect.Message

func (*ExistAccountRequest) Reset

func (x *ExistAccountRequest) Reset()

func (*ExistAccountRequest) String

func (x *ExistAccountRequest) String() string

type ExistAccountResponse

type ExistAccountResponse struct {
	Exists         bool     `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	AccountId      string   `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	ExistingFields []string `protobuf:"bytes,3,rep,name=existing_fields,json=existingFields,proto3" json:"existing_fields,omitempty"`
	// contains filtered or unexported fields
}

func (*ExistAccountResponse) Descriptor deprecated

func (*ExistAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExistAccountResponse.ProtoReflect.Descriptor instead.

func (*ExistAccountResponse) GetAccountId

func (x *ExistAccountResponse) GetAccountId() string

func (*ExistAccountResponse) GetExistingFields

func (x *ExistAccountResponse) GetExistingFields() []string

func (*ExistAccountResponse) GetExists

func (x *ExistAccountResponse) GetExists() bool

func (*ExistAccountResponse) ProtoMessage

func (*ExistAccountResponse) ProtoMessage()

func (*ExistAccountResponse) ProtoReflect

func (x *ExistAccountResponse) ProtoReflect() protoreflect.Message

func (*ExistAccountResponse) Reset

func (x *ExistAccountResponse) Reset()

func (*ExistAccountResponse) String

func (x *ExistAccountResponse) String() string

type GetAccountRequest

type GetAccountRequest struct {
	AccountId  string      `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	View       AccountView `protobuf:"varint,2,opt,name=view,proto3,enum=gidyon.apis.AccountView" json:"view,omitempty"`
	Priviledge bool        `protobuf:"varint,3,opt,name=priviledge,proto3" json:"priviledge,omitempty"`
	UsePhone   bool        `protobuf:"varint,4,opt,name=use_phone,json=usePhone,proto3" json:"use_phone,omitempty"`
	UseEmail   bool        `protobuf:"varint,5,opt,name=use_email,json=useEmail,proto3" json:"use_email,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountRequest) Descriptor deprecated

func (*GetAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) GetAccountId

func (x *GetAccountRequest) GetAccountId() string

func (*GetAccountRequest) GetPriviledge

func (x *GetAccountRequest) GetPriviledge() bool

func (*GetAccountRequest) GetUseEmail

func (x *GetAccountRequest) GetUseEmail() bool

func (*GetAccountRequest) GetUsePhone

func (x *GetAccountRequest) GetUsePhone() bool

func (*GetAccountRequest) GetView

func (x *GetAccountRequest) GetView() AccountView

func (*GetAccountRequest) ProtoMessage

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) ProtoReflect

func (x *GetAccountRequest) ProtoReflect() protoreflect.Message

func (*GetAccountRequest) Reset

func (x *GetAccountRequest) Reset()

func (*GetAccountRequest) String

func (x *GetAccountRequest) String() string

type GetLinkedAccountsRequest

type GetLinkedAccountsRequest struct {
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinkedAccountsRequest) Descriptor deprecated

func (*GetLinkedAccountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetLinkedAccountsRequest.ProtoReflect.Descriptor instead.

func (*GetLinkedAccountsRequest) GetAccountId

func (x *GetLinkedAccountsRequest) GetAccountId() string

func (*GetLinkedAccountsRequest) ProtoMessage

func (*GetLinkedAccountsRequest) ProtoMessage()

func (*GetLinkedAccountsRequest) ProtoReflect

func (x *GetLinkedAccountsRequest) ProtoReflect() protoreflect.Message

func (*GetLinkedAccountsRequest) Reset

func (x *GetLinkedAccountsRequest) Reset()

func (*GetLinkedAccountsRequest) String

func (x *GetLinkedAccountsRequest) String() string

type GetLinkedAccountsResponse

type GetLinkedAccountsResponse struct {
	Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinkedAccountsResponse) Descriptor deprecated

func (*GetLinkedAccountsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetLinkedAccountsResponse.ProtoReflect.Descriptor instead.

func (*GetLinkedAccountsResponse) GetAccounts

func (x *GetLinkedAccountsResponse) GetAccounts() []*Account

func (*GetLinkedAccountsResponse) ProtoMessage

func (*GetLinkedAccountsResponse) ProtoMessage()

func (*GetLinkedAccountsResponse) ProtoReflect

func (*GetLinkedAccountsResponse) Reset

func (x *GetLinkedAccountsResponse) Reset()

func (*GetLinkedAccountsResponse) String

func (x *GetLinkedAccountsResponse) String() string

type ListAccountsRequest

type ListAccountsRequest struct {
	PageToken    string      `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	PageSize     int32       `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	ListCriteria *Criteria   `protobuf:"bytes,3,opt,name=list_criteria,json=listCriteria,proto3" json:"list_criteria,omitempty"`
	View         AccountView `protobuf:"varint,4,opt,name=view,proto3,enum=gidyon.apis.AccountView" json:"view,omitempty"`
	Priviledge   bool        `protobuf:"varint,5,opt,name=priviledge,proto3" json:"priviledge,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAccountsRequest) Descriptor deprecated

func (*ListAccountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAccountsRequest.ProtoReflect.Descriptor instead.

func (*ListAccountsRequest) GetListCriteria

func (x *ListAccountsRequest) GetListCriteria() *Criteria

func (*ListAccountsRequest) GetPageSize

func (x *ListAccountsRequest) GetPageSize() int32

func (*ListAccountsRequest) GetPageToken

func (x *ListAccountsRequest) GetPageToken() string

func (*ListAccountsRequest) GetPriviledge

func (x *ListAccountsRequest) GetPriviledge() bool

func (*ListAccountsRequest) GetView

func (x *ListAccountsRequest) GetView() AccountView

func (*ListAccountsRequest) ProtoMessage

func (*ListAccountsRequest) ProtoMessage()

func (*ListAccountsRequest) ProtoReflect

func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message

func (*ListAccountsRequest) Reset

func (x *ListAccountsRequest) Reset()

func (*ListAccountsRequest) String

func (x *ListAccountsRequest) String() string

type PrivateAccount

type PrivateAccount struct {
	Password         string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	ConfirmPassword  string `protobuf:"bytes,2,opt,name=confirm_password,json=confirmPassword,proto3" json:"confirm_password,omitempty"`
	OldPassword      string `protobuf:"bytes,3,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	SecurityQuestion string `protobuf:"bytes,4,opt,name=security_question,json=securityQuestion,proto3" json:"security_question,omitempty"`
	SecurityAnswer   string `protobuf:"bytes,5,opt,name=security_answer,json=securityAnswer,proto3" json:"security_answer,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateAccount) Descriptor deprecated

func (*PrivateAccount) Descriptor() ([]byte, []int)

Deprecated: Use PrivateAccount.ProtoReflect.Descriptor instead.

func (*PrivateAccount) GetConfirmPassword

func (x *PrivateAccount) GetConfirmPassword() string

func (*PrivateAccount) GetOldPassword

func (x *PrivateAccount) GetOldPassword() string

func (*PrivateAccount) GetPassword

func (x *PrivateAccount) GetPassword() string

func (*PrivateAccount) GetSecurityAnswer

func (x *PrivateAccount) GetSecurityAnswer() string

func (*PrivateAccount) GetSecurityQuestion

func (x *PrivateAccount) GetSecurityQuestion() string

func (*PrivateAccount) ProtoMessage

func (*PrivateAccount) ProtoMessage()

func (*PrivateAccount) ProtoReflect

func (x *PrivateAccount) ProtoReflect() protoreflect.Message

func (*PrivateAccount) Reset

func (x *PrivateAccount) Reset()

func (*PrivateAccount) String

func (x *PrivateAccount) String() string

type RefreshSessionRequest

type RefreshSessionRequest struct {
	RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	AccountId    string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	AccountGroup string `protobuf:"bytes,3,opt,name=account_group,json=accountGroup,proto3" json:"account_group,omitempty"`
	// contains filtered or unexported fields
}

func (*RefreshSessionRequest) Descriptor deprecated

func (*RefreshSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshSessionRequest.ProtoReflect.Descriptor instead.

func (*RefreshSessionRequest) GetAccountGroup

func (x *RefreshSessionRequest) GetAccountGroup() string

func (*RefreshSessionRequest) GetAccountId

func (x *RefreshSessionRequest) GetAccountId() string

func (*RefreshSessionRequest) GetRefreshToken

func (x *RefreshSessionRequest) GetRefreshToken() string

func (*RefreshSessionRequest) ProtoMessage

func (*RefreshSessionRequest) ProtoMessage()

func (*RefreshSessionRequest) ProtoReflect

func (x *RefreshSessionRequest) ProtoReflect() protoreflect.Message

func (*RefreshSessionRequest) Reset

func (x *RefreshSessionRequest) Reset()

func (*RefreshSessionRequest) String

func (x *RefreshSessionRequest) String() string

type RequestActivateAccountOTPRequest

type RequestActivateAccountOTPRequest struct {
	AccountId string       `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	SmsAuth   *sms.SMSAuth `protobuf:"bytes,2,opt,name=sms_auth,json=smsAuth,proto3" json:"sms_auth,omitempty"`
	// Will fetch the sms auth from backend no need to pass it in request
	FetchSmsAuth bool `protobuf:"varint,3,opt,name=fetch_sms_auth,json=fetchSmsAuth,proto3" json:"fetch_sms_auth,omitempty"`
	// This is the id of the sms auth which is also the project id
	SmsCredentialId string `protobuf:"bytes,4,opt,name=sms_credential_id,json=smsCredentialId,proto3" json:"sms_credential_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestActivateAccountOTPRequest) Descriptor deprecated

func (*RequestActivateAccountOTPRequest) Descriptor() ([]byte, []int)

Deprecated: Use RequestActivateAccountOTPRequest.ProtoReflect.Descriptor instead.

func (*RequestActivateAccountOTPRequest) GetAccountId

func (x *RequestActivateAccountOTPRequest) GetAccountId() string

func (*RequestActivateAccountOTPRequest) GetFetchSmsAuth

func (x *RequestActivateAccountOTPRequest) GetFetchSmsAuth() bool

func (*RequestActivateAccountOTPRequest) GetSmsAuth

func (x *RequestActivateAccountOTPRequest) GetSmsAuth() *sms.SMSAuth

func (*RequestActivateAccountOTPRequest) GetSmsCredentialId

func (x *RequestActivateAccountOTPRequest) GetSmsCredentialId() string

func (*RequestActivateAccountOTPRequest) ProtoMessage

func (*RequestActivateAccountOTPRequest) ProtoMessage()

func (*RequestActivateAccountOTPRequest) ProtoReflect

func (*RequestActivateAccountOTPRequest) Reset

func (*RequestActivateAccountOTPRequest) String

type RequestChangePrivateAccountRequest

type RequestChangePrivateAccountRequest struct {
	Payload     string               `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	FallbackUrl string               `protobuf:"bytes,2,opt,name=fallback_url,json=fallbackUrl,proto3" json:"fallback_url,omitempty"`
	Project     string               `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	SendMethod  messaging.SendMethod `protobuf:"varint,4,opt,name=send_method,json=sendMethod,proto3,enum=gidyon.apis.SendMethod" json:"send_method,omitempty"`
	// Types that are assignable to NotificationChannel:
	//	*RequestChangePrivateAccountRequest_Sender
	//	*RequestChangePrivateAccountRequest_SmsAuth
	NotificationChannel isRequestChangePrivateAccountRequest_NotificationChannel `protobuf_oneof:"notification_channel"`
	// Will fetch the sms auth from backend no need to pass it in request
	FetchSmsAuth bool `protobuf:"varint,7,opt,name=fetch_sms_auth,json=fetchSmsAuth,proto3" json:"fetch_sms_auth,omitempty"`
	// This is the id of the sms auth which is also the project id
	SmsCredentialId string `protobuf:"bytes,8,opt,name=sms_credential_id,json=smsCredentialId,proto3" json:"sms_credential_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestChangePrivateAccountRequest) Descriptor deprecated

func (*RequestChangePrivateAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use RequestChangePrivateAccountRequest.ProtoReflect.Descriptor instead.

func (*RequestChangePrivateAccountRequest) GetFallbackUrl

func (x *RequestChangePrivateAccountRequest) GetFallbackUrl() string

func (*RequestChangePrivateAccountRequest) GetFetchSmsAuth

func (x *RequestChangePrivateAccountRequest) GetFetchSmsAuth() bool

func (*RequestChangePrivateAccountRequest) GetNotificationChannel

func (m *RequestChangePrivateAccountRequest) GetNotificationChannel() isRequestChangePrivateAccountRequest_NotificationChannel

func (*RequestChangePrivateAccountRequest) GetPayload

func (*RequestChangePrivateAccountRequest) GetProject

func (*RequestChangePrivateAccountRequest) GetSendMethod

func (*RequestChangePrivateAccountRequest) GetSender

func (*RequestChangePrivateAccountRequest) GetSmsAuth

func (*RequestChangePrivateAccountRequest) GetSmsCredentialId

func (x *RequestChangePrivateAccountRequest) GetSmsCredentialId() string

func (*RequestChangePrivateAccountRequest) ProtoMessage

func (*RequestChangePrivateAccountRequest) ProtoMessage()

func (*RequestChangePrivateAccountRequest) ProtoReflect

func (*RequestChangePrivateAccountRequest) Reset

func (*RequestChangePrivateAccountRequest) String

type RequestChangePrivateAccountRequest_Sender

type RequestChangePrivateAccountRequest_Sender struct {
	Sender *emailing.EmailSender `protobuf:"bytes,5,opt,name=sender,proto3,oneof"`
}

type RequestChangePrivateAccountRequest_SmsAuth

type RequestChangePrivateAccountRequest_SmsAuth struct {
	SmsAuth *sms.SMSAuth `protobuf:"bytes,6,opt,name=sms_auth,json=smsAuth,proto3,oneof"`
}

type RequestChangePrivateAccountResponse

type RequestChangePrivateAccountResponse struct {
	ResponseMessage string `protobuf:"bytes,1,opt,name=response_message,json=responseMessage,proto3" json:"response_message,omitempty"`
	Jwt             string `protobuf:"bytes,2,opt,name=jwt,proto3" json:"jwt,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestChangePrivateAccountResponse) Descriptor deprecated

func (*RequestChangePrivateAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use RequestChangePrivateAccountResponse.ProtoReflect.Descriptor instead.

func (*RequestChangePrivateAccountResponse) GetJwt

func (*RequestChangePrivateAccountResponse) GetResponseMessage

func (x *RequestChangePrivateAccountResponse) GetResponseMessage() string

func (*RequestChangePrivateAccountResponse) ProtoMessage

func (*RequestChangePrivateAccountResponse) ProtoMessage()

func (*RequestChangePrivateAccountResponse) ProtoReflect

func (*RequestChangePrivateAccountResponse) Reset

func (*RequestChangePrivateAccountResponse) String

type RequestSignInOTPRequest

type RequestSignInOTPRequest struct {
	Username string       `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Project  string       `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	SmsAuth  *sms.SMSAuth `protobuf:"bytes,3,opt,name=sms_auth,json=smsAuth,proto3" json:"sms_auth,omitempty"`
	// Will fetch the sms auth from backend no need to pass it in request
	FetchSmsAuth bool `protobuf:"varint,11,opt,name=fetch_sms_auth,json=fetchSmsAuth,proto3" json:"fetch_sms_auth,omitempty"`
	// This is the id of the sms auth which is also the project id
	SmsCredentialId string `protobuf:"bytes,12,opt,name=sms_credential_id,json=smsCredentialId,proto3" json:"sms_credential_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestSignInOTPRequest) Descriptor deprecated

func (*RequestSignInOTPRequest) Descriptor() ([]byte, []int)

Deprecated: Use RequestSignInOTPRequest.ProtoReflect.Descriptor instead.

func (*RequestSignInOTPRequest) GetFetchSmsAuth

func (x *RequestSignInOTPRequest) GetFetchSmsAuth() bool

func (*RequestSignInOTPRequest) GetProject

func (x *RequestSignInOTPRequest) GetProject() string

func (*RequestSignInOTPRequest) GetSmsAuth

func (x *RequestSignInOTPRequest) GetSmsAuth() *sms.SMSAuth

func (*RequestSignInOTPRequest) GetSmsCredentialId

func (x *RequestSignInOTPRequest) GetSmsCredentialId() string

func (*RequestSignInOTPRequest) GetUsername

func (x *RequestSignInOTPRequest) GetUsername() string

func (*RequestSignInOTPRequest) ProtoMessage

func (*RequestSignInOTPRequest) ProtoMessage()

func (*RequestSignInOTPRequest) ProtoReflect

func (x *RequestSignInOTPRequest) ProtoReflect() protoreflect.Message

func (*RequestSignInOTPRequest) Reset

func (x *RequestSignInOTPRequest) Reset()

func (*RequestSignInOTPRequest) String

func (x *RequestSignInOTPRequest) String() string

type SearchAccountsRequest

type SearchAccountsRequest struct {
	Query                string      `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	PageToken            string      `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	PageSize             int32       `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	SearchLinkedAccounts bool        `protobuf:"varint,4,opt,name=search_linked_accounts,json=searchLinkedAccounts,proto3" json:"search_linked_accounts,omitempty"`
	SearchCriteria       *Criteria   `protobuf:"bytes,5,opt,name=search_criteria,json=searchCriteria,proto3" json:"search_criteria,omitempty"`
	View                 AccountView `protobuf:"varint,6,opt,name=view,proto3,enum=gidyon.apis.AccountView" json:"view,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchAccountsRequest) Descriptor deprecated

func (*SearchAccountsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchAccountsRequest.ProtoReflect.Descriptor instead.

func (*SearchAccountsRequest) GetPageSize

func (x *SearchAccountsRequest) GetPageSize() int32

func (*SearchAccountsRequest) GetPageToken

func (x *SearchAccountsRequest) GetPageToken() string

func (*SearchAccountsRequest) GetQuery

func (x *SearchAccountsRequest) GetQuery() string

func (*SearchAccountsRequest) GetSearchCriteria

func (x *SearchAccountsRequest) GetSearchCriteria() *Criteria

func (*SearchAccountsRequest) GetSearchLinkedAccounts

func (x *SearchAccountsRequest) GetSearchLinkedAccounts() bool

func (*SearchAccountsRequest) GetView

func (x *SearchAccountsRequest) GetView() AccountView

func (*SearchAccountsRequest) ProtoMessage

func (*SearchAccountsRequest) ProtoMessage()

func (*SearchAccountsRequest) ProtoReflect

func (x *SearchAccountsRequest) ProtoReflect() protoreflect.Message

func (*SearchAccountsRequest) Reset

func (x *SearchAccountsRequest) Reset()

func (*SearchAccountsRequest) String

func (x *SearchAccountsRequest) String() string

type SignInExternalRequest

type SignInExternalRequest struct {
	Account   *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	AuthToken string   `protobuf:"bytes,2,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
	ProjectId string   `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInExternalRequest) Descriptor deprecated

func (*SignInExternalRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignInExternalRequest.ProtoReflect.Descriptor instead.

func (*SignInExternalRequest) GetAccount

func (x *SignInExternalRequest) GetAccount() *Account

func (*SignInExternalRequest) GetAuthToken

func (x *SignInExternalRequest) GetAuthToken() string

func (*SignInExternalRequest) GetProjectId

func (x *SignInExternalRequest) GetProjectId() string

func (*SignInExternalRequest) ProtoMessage

func (*SignInExternalRequest) ProtoMessage()

func (*SignInExternalRequest) ProtoReflect

func (x *SignInExternalRequest) ProtoReflect() protoreflect.Message

func (*SignInExternalRequest) Reset

func (x *SignInExternalRequest) Reset()

func (*SignInExternalRequest) String

func (x *SignInExternalRequest) String() string

type SignInOTPRequest

type SignInOTPRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Otp      string `protobuf:"bytes,2,opt,name=otp,proto3" json:"otp,omitempty"`
	Group    string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInOTPRequest) Descriptor deprecated

func (*SignInOTPRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignInOTPRequest.ProtoReflect.Descriptor instead.

func (*SignInOTPRequest) GetGroup

func (x *SignInOTPRequest) GetGroup() string

func (*SignInOTPRequest) GetOtp

func (x *SignInOTPRequest) GetOtp() string

func (*SignInOTPRequest) GetUsername

func (x *SignInOTPRequest) GetUsername() string

func (*SignInOTPRequest) ProtoMessage

func (*SignInOTPRequest) ProtoMessage()

func (*SignInOTPRequest) ProtoReflect

func (x *SignInOTPRequest) ProtoReflect() protoreflect.Message

func (*SignInOTPRequest) Reset

func (x *SignInOTPRequest) Reset()

func (*SignInOTPRequest) String

func (x *SignInOTPRequest) String() string

type SignInRequest

type SignInRequest struct {
	Username  string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password  string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Group     string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInRequest) Descriptor deprecated

func (*SignInRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.

func (*SignInRequest) GetGroup

func (x *SignInRequest) GetGroup() string

func (*SignInRequest) GetPassword

func (x *SignInRequest) GetPassword() string

func (*SignInRequest) GetProjectId

func (x *SignInRequest) GetProjectId() string

func (*SignInRequest) GetUsername

func (x *SignInRequest) GetUsername() string

func (*SignInRequest) ProtoMessage

func (*SignInRequest) ProtoMessage()

func (*SignInRequest) ProtoReflect

func (x *SignInRequest) ProtoReflect() protoreflect.Message

func (*SignInRequest) Reset

func (x *SignInRequest) Reset()

func (*SignInRequest) String

func (x *SignInRequest) String() string

type SignInResponse

type SignInResponse struct {
	SessionId       string       `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	AccountId       string       `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Token           string       `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	RefreshToken    string       `protobuf:"bytes,4,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	Group           string       `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"`
	State           AccountState `protobuf:"varint,6,opt,name=state,proto3,enum=gidyon.apis.AccountState" json:"state,omitempty"`
	SecondaryGroups []string     `protobuf:"bytes,7,rep,name=secondary_groups,json=secondaryGroups,proto3" json:"secondary_groups,omitempty"`
	Account         *Account     `protobuf:"bytes,8,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInResponse) Descriptor deprecated

func (*SignInResponse) Descriptor() ([]byte, []int)

Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.

func (*SignInResponse) GetAccount

func (x *SignInResponse) GetAccount() *Account

func (*SignInResponse) GetAccountId

func (x *SignInResponse) GetAccountId() string

func (*SignInResponse) GetGroup

func (x *SignInResponse) GetGroup() string

func (*SignInResponse) GetRefreshToken

func (x *SignInResponse) GetRefreshToken() string

func (*SignInResponse) GetSecondaryGroups

func (x *SignInResponse) GetSecondaryGroups() []string

func (*SignInResponse) GetSessionId

func (x *SignInResponse) GetSessionId() string

func (*SignInResponse) GetState

func (x *SignInResponse) GetState() AccountState

func (*SignInResponse) GetToken

func (x *SignInResponse) GetToken() string

func (*SignInResponse) ProtoMessage

func (*SignInResponse) ProtoMessage()

func (*SignInResponse) ProtoReflect

func (x *SignInResponse) ProtoReflect() protoreflect.Message

func (*SignInResponse) Reset

func (x *SignInResponse) Reset()

func (*SignInResponse) String

func (x *SignInResponse) String() string

type UnimplementedAccountAPIServer

type UnimplementedAccountAPIServer struct {
}

UnimplementedAccountAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedAccountAPIServer) ActivateAccount

func (UnimplementedAccountAPIServer) ActivateAccountOTP

func (UnimplementedAccountAPIServer) AdminUpdateAccount

func (UnimplementedAccountAPIServer) BatchGetAccounts

func (UnimplementedAccountAPIServer) CreateAccount

func (UnimplementedAccountAPIServer) DailyRegisteredUsers

func (UnimplementedAccountAPIServer) DeleteAccount

func (UnimplementedAccountAPIServer) ExistAccount

func (UnimplementedAccountAPIServer) GetAccount

func (UnimplementedAccountAPIServer) GetLinkedAccounts

func (UnimplementedAccountAPIServer) ListAccounts

func (UnimplementedAccountAPIServer) RefreshSession

func (UnimplementedAccountAPIServer) RequestActivateAccountOTP

func (UnimplementedAccountAPIServer) RequestSignInOTP

func (UnimplementedAccountAPIServer) SearchAccounts

func (UnimplementedAccountAPIServer) SignIn

func (UnimplementedAccountAPIServer) SignInExternal

func (UnimplementedAccountAPIServer) SignInOTP

func (UnimplementedAccountAPIServer) UpdateAccount

func (UnimplementedAccountAPIServer) UpdatePrivateAccount

func (UnimplementedAccountAPIServer) UpdatePrivateAccountExternal

type UnsafeAccountAPIServer

type UnsafeAccountAPIServer interface {
	// contains filtered or unexported methods
}

UnsafeAccountAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccountAPIServer will result in compilation errors.

type UpdateAccountRequest

type UpdateAccountRequest struct {
	Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAccountRequest) Descriptor deprecated

func (*UpdateAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAccountRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccountRequest) GetAccount

func (x *UpdateAccountRequest) GetAccount() *Account

func (*UpdateAccountRequest) ProtoMessage

func (*UpdateAccountRequest) ProtoMessage()

func (*UpdateAccountRequest) ProtoReflect

func (x *UpdateAccountRequest) ProtoReflect() protoreflect.Message

func (*UpdateAccountRequest) Reset

func (x *UpdateAccountRequest) Reset()

func (*UpdateAccountRequest) String

func (x *UpdateAccountRequest) String() string

type UpdateOperation

type UpdateOperation int32

UpdateOperation

const (
	UpdateOperation_UPDATE_OPERATION_INSPECIFIED UpdateOperation = 0
	UpdateOperation_UNDELETE                     UpdateOperation = 1
	UpdateOperation_DELETE                       UpdateOperation = 2
	UpdateOperation_UNBLOCK                      UpdateOperation = 3
	UpdateOperation_BLOCK                        UpdateOperation = 4
	UpdateOperation_CHANGE_GROUP                 UpdateOperation = 5
	UpdateOperation_ADMIN_ACTIVATE               UpdateOperation = 6
	UpdateOperation_PASSWORD_RESET               UpdateOperation = 7
	UpdateOperation_CHANGE_PRIMARY_GROUP         UpdateOperation = 8
	UpdateOperation_GROUP_ID                     UpdateOperation = 9
	UpdateOperation_PARENT_ID                    UpdateOperation = 10
)

func (UpdateOperation) Descriptor

func (UpdateOperation) Enum

func (x UpdateOperation) Enum() *UpdateOperation

func (UpdateOperation) EnumDescriptor deprecated

func (UpdateOperation) EnumDescriptor() ([]byte, []int)

Deprecated: Use UpdateOperation.Descriptor instead.

func (UpdateOperation) Number

func (UpdateOperation) String

func (x UpdateOperation) String() string

func (UpdateOperation) Type

type UpdatePrivateAccountExternalRequest

type UpdatePrivateAccountExternalRequest struct {
	Jwt            string          `protobuf:"bytes,1,opt,name=jwt,proto3" json:"jwt,omitempty"`
	Username       string          `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	ProjectId      string          `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	PrivateAccount *PrivateAccount `protobuf:"bytes,4,opt,name=private_account,json=privateAccount,proto3" json:"private_account,omitempty"`
	ChangeToken    string          `protobuf:"bytes,5,opt,name=change_token,json=changeToken,proto3" json:"change_token,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePrivateAccountExternalRequest) Descriptor deprecated

func (*UpdatePrivateAccountExternalRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePrivateAccountExternalRequest.ProtoReflect.Descriptor instead.

func (*UpdatePrivateAccountExternalRequest) GetChangeToken

func (x *UpdatePrivateAccountExternalRequest) GetChangeToken() string

func (*UpdatePrivateAccountExternalRequest) GetJwt

func (*UpdatePrivateAccountExternalRequest) GetPrivateAccount

func (x *UpdatePrivateAccountExternalRequest) GetPrivateAccount() *PrivateAccount

func (*UpdatePrivateAccountExternalRequest) GetProjectId

func (x *UpdatePrivateAccountExternalRequest) GetProjectId() string

func (*UpdatePrivateAccountExternalRequest) GetUsername

func (*UpdatePrivateAccountExternalRequest) ProtoMessage

func (*UpdatePrivateAccountExternalRequest) ProtoMessage()

func (*UpdatePrivateAccountExternalRequest) ProtoReflect

func (*UpdatePrivateAccountExternalRequest) Reset

func (*UpdatePrivateAccountExternalRequest) String

type UpdatePrivateAccountRequest

type UpdatePrivateAccountRequest struct {
	AccountId      string          `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	PrivateAccount *PrivateAccount `protobuf:"bytes,2,opt,name=private_account,json=privateAccount,proto3" json:"private_account,omitempty"`
	ChangeToken    string          `protobuf:"bytes,3,opt,name=change_token,json=changeToken,proto3" json:"change_token,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePrivateAccountRequest) Descriptor deprecated

func (*UpdatePrivateAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePrivateAccountRequest.ProtoReflect.Descriptor instead.

func (*UpdatePrivateAccountRequest) GetAccountId

func (x *UpdatePrivateAccountRequest) GetAccountId() string

func (*UpdatePrivateAccountRequest) GetChangeToken

func (x *UpdatePrivateAccountRequest) GetChangeToken() string

func (*UpdatePrivateAccountRequest) GetPrivateAccount

func (x *UpdatePrivateAccountRequest) GetPrivateAccount() *PrivateAccount

func (*UpdatePrivateAccountRequest) ProtoMessage

func (*UpdatePrivateAccountRequest) ProtoMessage()

func (*UpdatePrivateAccountRequest) ProtoReflect

func (*UpdatePrivateAccountRequest) Reset

func (x *UpdatePrivateAccountRequest) Reset()

func (*UpdatePrivateAccountRequest) String

func (x *UpdatePrivateAccountRequest) String() string

Directories

Path Synopsis
Package v1 is a reverse proxy.
Package v1 is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL