# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: account.proto
# Protobuf Python Version: 5.26.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from . import annotations_pb2 as annotations__pb2
from . import api_pb2 as api__pb2
from . import auth_pb2 as auth__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\raccount.proto\x12\x18org.couchers.api.account\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x11\x61nnotations.proto\x1a\tapi.proto\x1a\nauth.proto\"\xb9\x03\n\x11GetAccountInfoRes\x12\x10\n\x08username\x18\x07 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t\x12\x18\n\x10profile_complete\x18\x04 \x01(\x08\x12\r\n\x05phone\x18\x08 \x01(\t\x12\x16\n\x0ephone_verified\x18\t \x01(\x08\x12\x10\n\x08timezone\x18\x06 \x01(\t\x12\x13\n\x0bhas_donated\x18\x0e \x01(\x08\x12\x1f\n\x17has_strong_verification\x18\n \x01(\x08\x12Y\n\x1d\x62irthdate_verification_status\x18\x0b \x01(\x0e\x32\x32.org.couchers.api.core.BirthdateVerificationStatus\x12S\n\x1agender_verification_status\x18\x0c \x01(\x0e\x32/.org.couchers.api.core.GenderVerificationStatus\x12\x14\n\x0c\x64o_not_email\x18\r \x01(\x08\x12\x14\n\x0cis_superuser\x18\x0f \x01(\x08\x12\x1e\n\x16ui_language_preference\x18\x10 \x01(\t\"M\n\x13\x43hangePasswordV2Req\x12\x1a\n\x0cold_password\x18\x01 \x01(\tB\x04\x80\xb5\x18\x01\x12\x1a\n\x0cnew_password\x18\x02 \x01(\tB\x04\x80\xb5\x18\x01\"=\n\x10\x43hangeEmailV2Req\x12\x16\n\x08password\x18\x01 \x01(\tB\x04\x80\xb5\x18\x01\x12\x11\n\tnew_email\x18\x02 \x01(\t\"=\n\x1b\x43hangeLanguagePreferenceReq\x12\x1e\n\x16ui_language_preference\x18\x01 \x01(\t\"<\n\x19GetContributorFormInfoRes\x12\x1f\n\x17\x66illed_contributor_form\x18\x01 \x01(\x08\"V\n\x16\x46illContributorFormReq\x12<\n\x10\x63ontributor_form\x18\x01 \x01(\x0b\x32\".org.couchers.auth.ContributorForm\"\x1f\n\x0e\x43hangePhoneReq\x12\r\n\x05phone\x18\x01 \x01(\t\"%\n\x0eVerifyPhoneReq\x12\x13\n\x05token\x18\x01 \x01(\tB\x04\x88\xb5\x18\x01\"Y\n\x1dInitiateStrongVerificationRes\x12\"\n\x1averification_attempt_token\x18\x01 \x01(\t\x12\x14\n\x0credirect_url\x18\x03 \x01(\t\"K\n%GetStrongVerificationAttemptStatusReq\x12\"\n\x1averification_attempt_token\x18\x01 \x01(\t\"r\n%GetStrongVerificationAttemptStatusRes\x12I\n\x06status\x18\x01 \x01(\x0e\x32\x39.org.couchers.api.account.StrongVerificationAttemptStatus\"3\n\x10\x44\x65leteAccountReq\x12\x0f\n\x07\x63onfirm\x18\x01 \x01(\x08\x12\x0e\n\x06reason\x18\x02 \x01(\t\"\x8f\x01\n\x07ModNote\x12\x0f\n\x07note_id\x18\x01 \x01(\x04\x12\x14\n\x0cnote_content\x18\x02 \x01(\t\x12+\n\x07\x63reated\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x61\x63knowledged\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"G\n\x0fListModNotesRes\x12\x34\n\tmod_notes\x18\x01 \x03(\x0b\x32!.org.couchers.api.account.ModNote\">\n\x15ListActiveSessionsReq\x12\x11\n\tpage_size\x18\x01 \x01(\r\x12\x12\n\npage_token\x18\x02 \x01(\t\"\x8c\x02\n\rActiveSession\x12+\n\x07\x63reated\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\x06\x65xpiry\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tlast_seen\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10operating_system\x18\x04 \x01(\t\x12\x0f\n\x07\x62rowser\x18\x05 \x01(\t\x12\x0e\n\x06\x64\x65vice\x18\x06 \x01(\t\x12\x1c\n\x14\x61pproximate_location\x18\x07 \x01(\t\x12\x1a\n\x12is_current_session\x18\x08 \x01(\x08\"r\n\x15ListActiveSessionsRes\x12@\n\x0f\x61\x63tive_sessions\x18\x01 \x03(\x0b\x32\'.org.couchers.api.account.ActiveSession\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"?\n\x10LogOutSessionReq\x12+\n\x07\x63reated\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\")\n\x16LogOutOtherSessionsReq\x12\x0f\n\x07\x63onfirm\x18\x01 \x01(\x08*\x94\x03\n\x1fStrongVerificationAttemptStatus\x12.\n*STRONG_VERIFICATION_ATTEMPT_STATUS_UNKNOWN\x10\x00\x12\x30\n,STRONG_VERIFICATION_ATTEMPT_STATUS_SUCCEEDED\x10\x01\x12N\nJSTRONG_VERIFICATION_ATTEMPT_STATUS_IN_PROGRESS_WAITING_ON_USER_TO_OPEN_APP\x10\x02\x12I\nESTRONG_VERIFICATION_ATTEMPT_STATUS_IN_PROGRESS_WAITING_ON_USER_IN_APP\x10\x05\x12\x45\nASTRONG_VERIFICATION_ATTEMPT_STATUS_IN_PROGRESS_WAITING_ON_BACKEND\x10\x03\x12-\n)STRONG_VERIFICATION_ATTEMPT_STATUS_FAILED\x10\x04\x32\xc9\x0c\n\x07\x41\x63\x63ount\x12W\n\x0eGetAccountInfo\x12\x16.google.protobuf.Empty\x1a+.org.couchers.api.account.GetAccountInfoRes\"\x00\x12[\n\x10\x43hangePasswordV2\x12-.org.couchers.api.account.ChangePasswordV2Req\x1a\x16.google.protobuf.Empty\"\x00\x12U\n\rChangeEmailV2\x12*.org.couchers.api.account.ChangeEmailV2Req\x1a\x16.google.protobuf.Empty\"\x00\x12g\n\x16GetContributorFormInfo\x12\x16.google.protobuf.Empty\x1a\x33.org.couchers.api.account.GetContributorFormInfoRes\"\x00\x12\x61\n\x13\x46illContributorForm\x12\x30.org.couchers.api.account.FillContributorFormReq\x1a\x16.google.protobuf.Empty\"\x00\x12k\n\x18\x43hangeLanguagePreference\x12\x35.org.couchers.api.account.ChangeLanguagePreferenceReq\x1a\x16.google.protobuf.Empty\"\x00\x12Q\n\x0b\x43hangePhone\x12(.org.couchers.api.account.ChangePhoneReq\x1a\x16.google.protobuf.Empty\"\x00\x12Q\n\x0bVerifyPhone\x12(.org.couchers.api.account.VerifyPhoneReq\x1a\x16.google.protobuf.Empty\"\x00\x12o\n\x1aInitiateStrongVerification\x12\x16.google.protobuf.Empty\x1a\x37.org.couchers.api.account.InitiateStrongVerificationRes\"\x00\x12\xa8\x01\n\"GetStrongVerificationAttemptStatus\x12?.org.couchers.api.account.GetStrongVerificationAttemptStatusReq\x1a?.org.couchers.api.account.GetStrongVerificationAttemptStatusRes\"\x00\x12P\n\x1c\x44\x65leteStrongVerificationData\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x00\x12U\n\rDeleteAccount\x12*.org.couchers.api.account.DeleteAccountReq\x1a\x16.google.protobuf.Empty\"\x00\x12S\n\x0cListModNotes\x12\x16.google.protobuf.Empty\x1a).org.couchers.api.account.ListModNotesRes\"\x00\x12x\n\x12ListActiveSessions\x12/.org.couchers.api.account.ListActiveSessionsReq\x1a/.org.couchers.api.account.ListActiveSessionsRes\"\x00\x12U\n\rLogOutSession\x12*.org.couchers.api.account.LogOutSessionReq\x1a\x16.google.protobuf.Empty\"\x00\x12\x61\n\x13LogOutOtherSessions\x12\x30.org.couchers.api.account.LogOutOtherSessionsReq\x1a\x16.google.protobuf.Empty\"\x00\x1a\x04\x88\xb5\x18\x03\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'account_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_CHANGEPASSWORDV2REQ'].fields_by_name['old_password']._loaded_options = None
  _globals['_CHANGEPASSWORDV2REQ'].fields_by_name['old_password']._serialized_options = b'\200\265\030\001'
  _globals['_CHANGEPASSWORDV2REQ'].fields_by_name['new_password']._loaded_options = None
  _globals['_CHANGEPASSWORDV2REQ'].fields_by_name['new_password']._serialized_options = b'\200\265\030\001'
  _globals['_CHANGEEMAILV2REQ'].fields_by_name['password']._loaded_options = None
  _globals['_CHANGEEMAILV2REQ'].fields_by_name['password']._serialized_options = b'\200\265\030\001'
  _globals['_VERIFYPHONEREQ'].fields_by_name['token']._loaded_options = None
  _globals['_VERIFYPHONEREQ'].fields_by_name['token']._serialized_options = b'\210\265\030\001'
  _globals['_ACCOUNT']._loaded_options = None
  _globals['_ACCOUNT']._serialized_options = b'\210\265\030\003'
  _globals['_STRONGVERIFICATIONATTEMPTSTATUS']._serialized_start=2134
  _globals['_STRONGVERIFICATIONATTEMPTSTATUS']._serialized_end=2538
  _globals['_GETACCOUNTINFORES']._serialized_start=148
  _globals['_GETACCOUNTINFORES']._serialized_end=589
  _globals['_CHANGEPASSWORDV2REQ']._serialized_start=591
  _globals['_CHANGEPASSWORDV2REQ']._serialized_end=668
  _globals['_CHANGEEMAILV2REQ']._serialized_start=670
  _globals['_CHANGEEMAILV2REQ']._serialized_end=731
  _globals['_CHANGELANGUAGEPREFERENCEREQ']._serialized_start=733
  _globals['_CHANGELANGUAGEPREFERENCEREQ']._serialized_end=794
  _globals['_GETCONTRIBUTORFORMINFORES']._serialized_start=796
  _globals['_GETCONTRIBUTORFORMINFORES']._serialized_end=856
  _globals['_FILLCONTRIBUTORFORMREQ']._serialized_start=858
  _globals['_FILLCONTRIBUTORFORMREQ']._serialized_end=944
  _globals['_CHANGEPHONEREQ']._serialized_start=946
  _globals['_CHANGEPHONEREQ']._serialized_end=977
  _globals['_VERIFYPHONEREQ']._serialized_start=979
  _globals['_VERIFYPHONEREQ']._serialized_end=1016
  _globals['_INITIATESTRONGVERIFICATIONRES']._serialized_start=1018
  _globals['_INITIATESTRONGVERIFICATIONRES']._serialized_end=1107
  _globals['_GETSTRONGVERIFICATIONATTEMPTSTATUSREQ']._serialized_start=1109
  _globals['_GETSTRONGVERIFICATIONATTEMPTSTATUSREQ']._serialized_end=1184
  _globals['_GETSTRONGVERIFICATIONATTEMPTSTATUSRES']._serialized_start=1186
  _globals['_GETSTRONGVERIFICATIONATTEMPTSTATUSRES']._serialized_end=1300
  _globals['_DELETEACCOUNTREQ']._serialized_start=1302
  _globals['_DELETEACCOUNTREQ']._serialized_end=1353
  _globals['_MODNOTE']._serialized_start=1356
  _globals['_MODNOTE']._serialized_end=1499
  _globals['_LISTMODNOTESRES']._serialized_start=1501
  _globals['_LISTMODNOTESRES']._serialized_end=1572
  _globals['_LISTACTIVESESSIONSREQ']._serialized_start=1574
  _globals['_LISTACTIVESESSIONSREQ']._serialized_end=1636
  _globals['_ACTIVESESSION']._serialized_start=1639
  _globals['_ACTIVESESSION']._serialized_end=1907
  _globals['_LISTACTIVESESSIONSRES']._serialized_start=1909
  _globals['_LISTACTIVESESSIONSRES']._serialized_end=2023
  _globals['_LOGOUTSESSIONREQ']._serialized_start=2025
  _globals['_LOGOUTSESSIONREQ']._serialized_end=2088
  _globals['_LOGOUTOTHERSESSIONSREQ']._serialized_start=2090
  _globals['_LOGOUTOTHERSESSIONSREQ']._serialized_end=2131
  _globals['_ACCOUNT']._serialized_start=2541
  _globals['_ACCOUNT']._serialized_end=4150
# @@protoc_insertion_point(module_scope)
