perxis.invitations.invitations_pb2

Generated protocol buffer code.

 1# -*- coding: utf-8 -*-
 2# Generated by the protocol buffer compiler.  DO NOT EDIT!
 3# NO CHECKED-IN PROTOBUF GENCODE
 4# source: invitations/invitations.proto
 5# Protobuf Python Version: 5.27.2
 6"""Generated protocol buffer code."""
 7from google.protobuf import descriptor as _descriptor
 8from google.protobuf import descriptor_pool as _descriptor_pool
 9from google.protobuf import runtime_version as _runtime_version
10from google.protobuf import symbol_database as _symbol_database
11from google.protobuf.internal import builder as _builder
12_runtime_version.ValidateProtobufRuntimeVersion(
13    _runtime_version.Domain.PUBLIC,
14    5,
15    27,
16    2,
17    '',
18    'invitations/invitations.proto'
19)
20# @@protoc_insertion_point(imports)
21
22_sym_db = _symbol_database.Default()
23
24
25from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
27from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
28from perxis.common import common_pb2 as common_dot_common__pb2
29
30
31DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dinvitations/invitations.proto\x12\x13\x63ontent.invitations\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x13\x63ommon/common.proto\"\xea\x01\n\nInvitation\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12\x0e\n\x06org_id\x18\x03 \x01(\t\x12\x10\n\x08space_id\x18\x04 \x01(\t\x12\x10\n\x08owner_id\x18\x05 \x01(\t\x12\x0c\n\x04role\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bvalid_until\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uses\x18\t \x01(\r\x12\x10\n\x08max_uses\x18\n \x01(\r\"e\n\x06\x46ilter\x12\n\n\x02id\x18\x01 \x03(\t\x12\r\n\x05\x65mail\x18\x02 \x03(\t\x12\x0e\n\x06org_id\x18\x03 \x03(\t\x12\x10\n\x08space_id\x18\x04 \x03(\t\x12\x10\n\x08owner_id\x18\x05 \x03(\t\x12\x0c\n\x04role\x18\x06 \x03(\t\"D\n\rCreateRequest\x12\x33\n\ninvitation\x18\x01 \x01(\x0b\x32\x1f.content.invitations.Invitation\"E\n\x0e\x43reateResponse\x12\x33\n\ninvitation\x18\x01 \x01(\x0b\x32\x1f.content.invitations.Invitation\"#\n\nGetRequest\x12\x15\n\rinvitation_id\x18\x01 \x01(\t\"B\n\x0bGetResponse\x12\x33\n\ninvitation\x18\x01 \x01(\x0b\x32\x1f.content.invitations.Invitation\"\xdb\x01\n\rUpdateRequest\x12\x15\n\rinvitation_id\x18\x01 \x01(\t\x12(\n\x04sent\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12+\n\x07pending\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12+\n\x07sent_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bvalid_until\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x1a\n\x18UpdateInvitationResponse\"7\n\rAcceptRequest\x12\x15\n\rinvitation_id\x18\x01 \x01(\t\x12\x0f\n\x07user_id\x18\x02 \x01(\t\"\x1a\n\x18\x41\x63\x63\x65ptInvitationResponse\"`\n\x0b\x46indRequest\x12+\n\x06\x66ilter\x18\x01 \x01(\x0b\x32\x1b.content.invitations.Filter\x12$\n\x07options\x18\x03 \x01(\x0b\x32\x13.common.FindOptions\"S\n\x0c\x46indResponse\x12\x34\n\x0binvitations\x18\x01 \x03(\x0b\x32\x1f.content.invitations.Invitation\x12\r\n\x05total\x18\x02 \x01(\x03\"&\n\rDeleteRequest\x12\x15\n\rinvitation_id\x18\x01 \x01(\t\"\x1f\n\x1d\x44\x65leteSpaceInvitationResponse2\x8d\x03\n\x0bInvitations\x12S\n\x06\x43reate\x12\".content.invitations.CreateRequest\x1a#.content.invitations.CreateResponse\"\x00\x12J\n\x03Get\x12\x1f.content.invitations.GetRequest\x1a .content.invitations.GetResponse\"\x00\x12\x46\n\x06\x41\x63\x63\x65pt\x12\".content.invitations.AcceptRequest\x1a\x16.google.protobuf.Empty\"\x00\x12M\n\x04\x46ind\x12 .content.invitations.FindRequest\x1a!.content.invitations.FindResponse\"\x00\x12\x46\n\x06\x44\x65lete\x12\".content.invitations.DeleteRequest\x1a\x16.google.protobuf.Empty\"\x00\x42<Z:git.perx.ru/perxis/perxis-go/proto/invitations;invitationsb\x06proto3')
32
33_globals = globals()
34_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'invitations.invitations_pb2', _globals)
36if not _descriptor._USE_C_DESCRIPTORS:
37  _globals['DESCRIPTOR']._loaded_options = None
38  _globals['DESCRIPTOR']._serialized_options = b'Z:git.perx.ru/perxis/perxis-go/proto/invitations;invitations'
39  _globals['_INVITATION']._serialized_start=170
40  _globals['_INVITATION']._serialized_end=404
41  _globals['_FILTER']._serialized_start=406
42  _globals['_FILTER']._serialized_end=507
43  _globals['_CREATEREQUEST']._serialized_start=509
44  _globals['_CREATEREQUEST']._serialized_end=577
45  _globals['_CREATERESPONSE']._serialized_start=579
46  _globals['_CREATERESPONSE']._serialized_end=648
47  _globals['_GETREQUEST']._serialized_start=650
48  _globals['_GETREQUEST']._serialized_end=685
49  _globals['_GETRESPONSE']._serialized_start=687
50  _globals['_GETRESPONSE']._serialized_end=753
51  _globals['_UPDATEREQUEST']._serialized_start=756
52  _globals['_UPDATEREQUEST']._serialized_end=975
53  _globals['_UPDATEINVITATIONRESPONSE']._serialized_start=977
54  _globals['_UPDATEINVITATIONRESPONSE']._serialized_end=1003
55  _globals['_ACCEPTREQUEST']._serialized_start=1005
56  _globals['_ACCEPTREQUEST']._serialized_end=1060
57  _globals['_ACCEPTINVITATIONRESPONSE']._serialized_start=1062
58  _globals['_ACCEPTINVITATIONRESPONSE']._serialized_end=1088
59  _globals['_FINDREQUEST']._serialized_start=1090
60  _globals['_FINDREQUEST']._serialized_end=1186
61  _globals['_FINDRESPONSE']._serialized_start=1188
62  _globals['_FINDRESPONSE']._serialized_end=1271
63  _globals['_DELETEREQUEST']._serialized_start=1273
64  _globals['_DELETEREQUEST']._serialized_end=1311
65  _globals['_DELETESPACEINVITATIONRESPONSE']._serialized_start=1313
66  _globals['_DELETESPACEINVITATIONRESPONSE']._serialized_end=1344
67  _globals['_INVITATIONS']._serialized_start=1347
68  _globals['_INVITATIONS']._serialized_end=1744
69# @@protoc_insertion_point(module_scope)
DESCRIPTOR = <google.protobuf.descriptor.FileDescriptor object>