# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: scalekit/v1/commons/commons.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 buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.api import visibility_pb2 as google_dot_api_dot_visibility__pb2
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
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 protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!scalekit/v1/commons/commons.proto\x12\x13scalekit.v1.commons\x1a\x1b\x62uf/validate/validate.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/visibility.proto\x1a\x19google/protobuf/any.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\"\xb9\x0b\n\x16OrganizationMembership\x12\x86\x01\n\x0forganization_id\x18\x01 \x01(\tB]\x92\x41Z2@Unique identifier for the organization. Immutable and read-only.J\x16\"org_1234abcd5678efgh\"R\x0eorganizationId\x12\x89\x01\n\tjoin_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampBP\x92\x41M2KTimestamp when the membership was created. Automatically set by the server.R\x08joinTime\x12R\n\x11membership_status\x18\x03 \x01(\x0e\x32%.scalekit.v1.commons.MembershipStatusR\x10membershipStatus\x12/\n\x05roles\x18\x04 \x03(\x0b\x32\x19.scalekit.v1.commons.RoleR\x05roles\x12Q\n\x04name\x18\x05 \x01(\tB8\x92\x41\x35\x32\'Display name for the Organization name.J\n\"AcmeCorp\"H\x00R\x04name\x88\x01\x01\x12\x94\x02\n\x08metadata\x18\x07 \x03(\x0b\x32\x39.scalekit.v1.commons.OrganizationMembership.MetadataEntryB\xbc\x01\x92\x41\x9f\x01\x32\x64\x43ustom key-value pairs for storing additional user context. Keys (3-25 chars), values (1-256 chars).J7{\"department\": \"engineering\", \"location\": \"nyc-office\"}\xbaH\x16\x9a\x01\x13\x10\x14\"\x06r\x04\x10\x03\x18\x19*\x07r\x05\x10\x01\x18\x80\x02R\x08metadata\x12`\n\x0c\x64isplay_name\x18\t \x01(\tB8\x92\x41\x35\x32\'Display name for the Organization name.J\n\"AcmeCorp\"H\x01R\x0b\x64isplayName\x88\x01\x01\x12N\n\ninvited_by\x18\n \x01(\tB*\x92\x41\'2%ID of the user who invited this user.H\x02R\tinvitedBy\x88\x01\x01\x12o\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB/\x92\x41,2*Timestamp when the invitation was created.H\x03R\tcreatedAt\x88\x01\x01\x12w\n\x0b\x61\x63\x63\x65pted_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB5\x92\x41\x32\x32\x30Timestamp when the user accepted the invitation.H\x04R\nacceptedAt\x88\x01\x01\x12k\n\nexpires_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB+\x92\x41(2&Timestamp when the invitation expired.H\x05R\texpiresAt\x88\x01\x01\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x07\n\x05_nameB\x0f\n\r_display_nameB\r\n\x0b_invited_byB\r\n\x0b_created_atB\x0e\n\x0c_accepted_atB\r\n\x0b_expires_at\"\xe0\x01\n\x04Role\x12\x39\n\x02id\x18\x01 \x01(\tB)\x92\x41#2\x07Role IDJ\x18\"role_79643236410327240\"\xe0\x41\x03R\x02id\x12G\n\x04name\x18\x02 \x01(\tB3\x92\x41\x30\x32\"Unique key identifier for the roleJ\n\"team_dev\"R\x04name\x12T\n\x0c\x64isplay_name\x18\x03 \x01(\tB1\x92\x41.2 Human-readable name for the roleJ\n\"Dev Team\"R\x0b\x64isplayName\"\x99\x0c\n\x0bUserProfile\x12\x89\x01\n\x02id\x18\x01 \x01(\tBy\x92\x41s2QUnique system-generated identifier for the user profile. Immutable and read-only.J\x1e\"usr_profile_1234abcd5678efgh\"\xe0\x41\x03R\x02id\x12^\n\nfirst_name\x18\x02 \x01(\tB?\x92\x41\x34\x32*User\'s given name. Maximum 200 characters.J\x06\"John\"\xbaH\x05r\x03\x18\xc8\x01R\tfirstName\x12\\\n\tlast_name\x18\x03 \x01(\tB?\x92\x41\x34\x32+User\'s family name. Maximum 200 characters.J\x05\"Doe\"\xbaH\x05r\x03\x18\xc8\x01R\x08lastName\x12v\n\x04name\x18\x04 \x01(\tBb\x92\x41_2IFull name in display format. Typically combines first_name and last_name.J\x12\"John Michael Doe\"R\x04name\x12y\n\x06locale\x18\x05 \x01(\tBa\x92\x41^2SUser\'s localization preference in BCP-47 format. Defaults to organization settings.J\x07\"en-US\"R\x06locale\x12\x92\x01\n\x0e\x65mail_verified\x18\x06 \x01(\x08\x42k\x92\x41\x65\x32]Indicates if the user\'s email address has been verified. Automatically updated by the system.J\x04true\xe0\x41\x03R\remailVerified\x12\x8a\x01\n\x0cphone_number\x18\x07 \x01(\tBg\x92\x41\x64\x32RPhone number in E.164 international format. Required for SMS-based authentication.J\x0e\"+14155552671\"R\x0bphoneNumber\x12\x87\x02\n\x08metadata\x18\x08 \x03(\x0b\x32..scalekit.v1.commons.UserProfile.MetadataEntryB\xba\x01\x92\x41\x9d\x01\x32^System-managed key-value pairs for internal tracking. Keys (3-25 chars), values (1-256 chars).J;{\"account_status\": \"active\", \"signup_source\": \"mobile_app\"}\xbaH\x16\x9a\x01\x13\x10\x1e\"\x06r\x04\x10\x03\x18\x19*\x07r\x05\x10\x01\x18\x80\x02R\x08metadata\x12\x9e\x02\n\x11\x63ustom_attributes\x18\t \x03(\x0b\x32\x36.scalekit.v1.commons.UserProfile.CustomAttributesEntryB\xb8\x01\x92\x41\x9b\x01\x32ZCustom attributes for extended user profile data. Keys (3-25 chars), values (1-256 chars).J={\"department\": \"engineering\", \"security_clearance\": \"level2\"}\xbaH\x16\x9a\x01\x13\x10\x64\"\x06r\x04\x10\x03\x18\x19*\x07r\x05\x10\x01\x18\x80\x02R\x10\x63ustomAttributes\x1a;\n\rMetadataEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x1a\x43\n\x15\x43ustomAttributesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01*9\n\nRegionCode\x12\x1b\n\x17REGION_CODE_UNSPECIFIED\x10\x00\x12\x06\n\x02US\x10\x01\x12\x06\n\x02\x45U\x10\x02*E\n\x0f\x45nvironmentType\x12 \n\x1c\x45NVIRONMENT_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03PRD\x10\x01\x12\x07\n\x03\x44\x45V\x10\x02*w\n\x10MembershipStatus\x12!\n\x1dMembership_Status_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\x12\x12\n\x0ePENDING_INVITE\x10\x03\x12\x12\n\x0eINVITE_EXPIRED\x10\x04*\x98\x02\n\x14IdentityProviderType\x12!\n\x1dIDENTITY_PROVIDER_UNSPECIFIED\x10\x00\x12\x08\n\x04OKTA\x10\x01\x12\n\n\x06GOOGLE\x10\x02\x12\x10\n\x0cMICROSOFT_AD\x10\x03\x12\t\n\x05\x41UTH0\x10\x04\x12\x0c\n\x08ONELOGIN\x10\x05\x12\x11\n\rPING_IDENTITY\x10\x06\x12\r\n\tJUMPCLOUD\x10\x07\x12\n\n\x06\x43USTOM\x10\x08\x12\n\n\x06GITHUB\x10\t\x12\n\n\x06GITLAB\x10\n\x12\x0c\n\x08LINKEDIN\x10\x0b\x12\x0e\n\nSALESFORCE\x10\x0c\x12\r\n\tMICROSOFT\x10\r\x12\x11\n\rIDP_SIMULATOR\x10\x0e\x12\x0c\n\x08SCALEKIT\x10\x0f\x12\x08\n\x04\x41\x44\x46S\x10\x10\x42\x33Z1github.com/scalekit-inc/scalekit/pkg/grpc/commonsb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'scalekit.v1.commons.commons_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z1github.com/scalekit-inc/scalekit/pkg/grpc/commons'
  _globals['_ORGANIZATIONMEMBERSHIP_METADATAENTRY']._loaded_options = None
  _globals['_ORGANIZATIONMEMBERSHIP_METADATAENTRY']._serialized_options = b'8\001'
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['organization_id']._loaded_options = None
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['organization_id']._serialized_options = b'\222AZ2@Unique identifier for the organization. Immutable and read-only.J\026\"org_1234abcd5678efgh\"'
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['join_time']._loaded_options = None
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['join_time']._serialized_options = b'\222AM2KTimestamp when the membership was created. Automatically set by the server.'
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['name']._loaded_options = None
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['name']._serialized_options = b'\222A52\'Display name for the Organization name.J\n\"AcmeCorp\"'
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['metadata']._loaded_options = None
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['metadata']._serialized_options = b'\222A\237\0012dCustom key-value pairs for storing additional user context. Keys (3-25 chars), values (1-256 chars).J7{\"department\": \"engineering\", \"location\": \"nyc-office\"}\272H\026\232\001\023\020\024\"\006r\004\020\003\030\031*\007r\005\020\001\030\200\002'
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['display_name']._loaded_options = None
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['display_name']._serialized_options = b'\222A52\'Display name for the Organization name.J\n\"AcmeCorp\"'
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['invited_by']._loaded_options = None
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['invited_by']._serialized_options = b'\222A\'2%ID of the user who invited this user.'
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['created_at']._loaded_options = None
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['created_at']._serialized_options = b'\222A,2*Timestamp when the invitation was created.'
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['accepted_at']._loaded_options = None
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['accepted_at']._serialized_options = b'\222A220Timestamp when the user accepted the invitation.'
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['expires_at']._loaded_options = None
  _globals['_ORGANIZATIONMEMBERSHIP'].fields_by_name['expires_at']._serialized_options = b'\222A(2&Timestamp when the invitation expired.'
  _globals['_ROLE'].fields_by_name['id']._loaded_options = None
  _globals['_ROLE'].fields_by_name['id']._serialized_options = b'\222A#2\007Role IDJ\030\"role_79643236410327240\"\340A\003'
  _globals['_ROLE'].fields_by_name['name']._loaded_options = None
  _globals['_ROLE'].fields_by_name['name']._serialized_options = b'\222A02\"Unique key identifier for the roleJ\n\"team_dev\"'
  _globals['_ROLE'].fields_by_name['display_name']._loaded_options = None
  _globals['_ROLE'].fields_by_name['display_name']._serialized_options = b'\222A.2 Human-readable name for the roleJ\n\"Dev Team\"'
  _globals['_USERPROFILE_METADATAENTRY']._loaded_options = None
  _globals['_USERPROFILE_METADATAENTRY']._serialized_options = b'8\001'
  _globals['_USERPROFILE_CUSTOMATTRIBUTESENTRY']._loaded_options = None
  _globals['_USERPROFILE_CUSTOMATTRIBUTESENTRY']._serialized_options = b'8\001'
  _globals['_USERPROFILE'].fields_by_name['id']._loaded_options = None
  _globals['_USERPROFILE'].fields_by_name['id']._serialized_options = b'\222As2QUnique system-generated identifier for the user profile. Immutable and read-only.J\036\"usr_profile_1234abcd5678efgh\"\340A\003'
  _globals['_USERPROFILE'].fields_by_name['first_name']._loaded_options = None
  _globals['_USERPROFILE'].fields_by_name['first_name']._serialized_options = b'\222A42*User\'s given name. Maximum 200 characters.J\006\"John\"\272H\005r\003\030\310\001'
  _globals['_USERPROFILE'].fields_by_name['last_name']._loaded_options = None
  _globals['_USERPROFILE'].fields_by_name['last_name']._serialized_options = b'\222A42+User\'s family name. Maximum 200 characters.J\005\"Doe\"\272H\005r\003\030\310\001'
  _globals['_USERPROFILE'].fields_by_name['name']._loaded_options = None
  _globals['_USERPROFILE'].fields_by_name['name']._serialized_options = b'\222A_2IFull name in display format. Typically combines first_name and last_name.J\022\"John Michael Doe\"'
  _globals['_USERPROFILE'].fields_by_name['locale']._loaded_options = None
  _globals['_USERPROFILE'].fields_by_name['locale']._serialized_options = b'\222A^2SUser\'s localization preference in BCP-47 format. Defaults to organization settings.J\007\"en-US\"'
  _globals['_USERPROFILE'].fields_by_name['email_verified']._loaded_options = None
  _globals['_USERPROFILE'].fields_by_name['email_verified']._serialized_options = b'\222Ae2]Indicates if the user\'s email address has been verified. Automatically updated by the system.J\004true\340A\003'
  _globals['_USERPROFILE'].fields_by_name['phone_number']._loaded_options = None
  _globals['_USERPROFILE'].fields_by_name['phone_number']._serialized_options = b'\222Ad2RPhone number in E.164 international format. Required for SMS-based authentication.J\016\"+14155552671\"'
  _globals['_USERPROFILE'].fields_by_name['metadata']._loaded_options = None
  _globals['_USERPROFILE'].fields_by_name['metadata']._serialized_options = b'\222A\235\0012^System-managed key-value pairs for internal tracking. Keys (3-25 chars), values (1-256 chars).J;{\"account_status\": \"active\", \"signup_source\": \"mobile_app\"}\272H\026\232\001\023\020\036\"\006r\004\020\003\030\031*\007r\005\020\001\030\200\002'
  _globals['_USERPROFILE'].fields_by_name['custom_attributes']._loaded_options = None
  _globals['_USERPROFILE'].fields_by_name['custom_attributes']._serialized_options = b'\222A\233\0012ZCustom attributes for extended user profile data. Keys (3-25 chars), values (1-256 chars).J={\"department\": \"engineering\", \"security_clearance\": \"level2\"}\272H\026\232\001\023\020d\"\006r\004\020\003\030\031*\007r\005\020\001\030\200\002'
  _globals['_REGIONCODE']._serialized_start=3607
  _globals['_REGIONCODE']._serialized_end=3664
  _globals['_ENVIRONMENTTYPE']._serialized_start=3666
  _globals['_ENVIRONMENTTYPE']._serialized_end=3735
  _globals['_MEMBERSHIPSTATUS']._serialized_start=3737
  _globals['_MEMBERSHIPSTATUS']._serialized_end=3856
  _globals['_IDENTITYPROVIDERTYPE']._serialized_start=3859
  _globals['_IDENTITYPROVIDERTYPE']._serialized_end=4139
  _globals['_ORGANIZATIONMEMBERSHIP']._serialized_start=349
  _globals['_ORGANIZATIONMEMBERSHIP']._serialized_end=1814
  _globals['_ORGANIZATIONMEMBERSHIP_METADATAENTRY']._serialized_start=1668
  _globals['_ORGANIZATIONMEMBERSHIP_METADATAENTRY']._serialized_end=1727
  _globals['_ROLE']._serialized_start=1817
  _globals['_ROLE']._serialized_end=2041
  _globals['_USERPROFILE']._serialized_start=2044
  _globals['_USERPROFILE']._serialized_end=3605
  _globals['_USERPROFILE_METADATAENTRY']._serialized_start=1668
  _globals['_USERPROFILE_METADATAENTRY']._serialized_end=1727
  _globals['_USERPROFILE_CUSTOMATTRIBUTESENTRY']._serialized_start=3538
  _globals['_USERPROFILE_CUSTOMATTRIBUTESENTRY']._serialized_end=3605
# @@protoc_insertion_point(module_scope)
