@@ -4,7 +4,7 @@ from eolymp.annotations import ratelimit_pb2 as _ratelimit_pb2
44from eolymp .annotations import scope_pb2 as _scope_pb2
55from eolymp .community import email_type_pb2 as _email_type_pb2
66from eolymp .ecm import content_pb2 as _content_pb2
7- from google .protobuf . internal import containers as _containers
7+ from google .protobuf import struct_pb2 as _struct_pb2
88from google .protobuf import descriptor as _descriptor
99from google .protobuf import message as _message
1010from collections .abc import Mapping as _Mapping
@@ -16,34 +16,20 @@ class SendEmailInput(_message.Message):
1616 __slots__ = ("member_id" , "dry_run" , "bcc_me" , "type" , "campaign" , "locale" , "message" , "fragment" )
1717 class Message (_message .Message ):
1818 __slots__ = ("subject" , "body" , "parameters" )
19- class ParametersEntry (_message .Message ):
20- __slots__ = ("key" , "value" )
21- KEY_FIELD_NUMBER : _ClassVar [int ]
22- VALUE_FIELD_NUMBER : _ClassVar [int ]
23- key : str
24- value : str
25- def __init__ (self , key : _Optional [str ] = ..., value : _Optional [str ] = ...) -> None : ...
2619 SUBJECT_FIELD_NUMBER : _ClassVar [int ]
2720 BODY_FIELD_NUMBER : _ClassVar [int ]
2821 PARAMETERS_FIELD_NUMBER : _ClassVar [int ]
2922 subject : str
3023 body : _content_pb2 .Content
31- parameters : _containers . ScalarMap [ str , str ]
32- def __init__ (self , subject : _Optional [str ] = ..., body : _Optional [_Union [_content_pb2 .Content , _Mapping ]] = ..., parameters : _Optional [_Mapping [ str , str ]] = ...) -> None : ...
24+ parameters : _struct_pb2 . Struct
25+ def __init__ (self , subject : _Optional [str ] = ..., body : _Optional [_Union [_content_pb2 .Content , _Mapping ]] = ..., parameters : _Optional [_Union [ _struct_pb2 . Struct , _Mapping ]] = ...) -> None : ...
3326 class Fragment (_message .Message ):
3427 __slots__ = ("path" , "parameters" )
35- class ParametersEntry (_message .Message ):
36- __slots__ = ("key" , "value" )
37- KEY_FIELD_NUMBER : _ClassVar [int ]
38- VALUE_FIELD_NUMBER : _ClassVar [int ]
39- key : str
40- value : str
41- def __init__ (self , key : _Optional [str ] = ..., value : _Optional [str ] = ...) -> None : ...
4228 PATH_FIELD_NUMBER : _ClassVar [int ]
4329 PARAMETERS_FIELD_NUMBER : _ClassVar [int ]
4430 path : str
45- parameters : _containers . ScalarMap [ str , str ]
46- def __init__ (self , path : _Optional [str ] = ..., parameters : _Optional [_Mapping [ str , str ]] = ...) -> None : ...
31+ parameters : _struct_pb2 . Struct
32+ def __init__ (self , path : _Optional [str ] = ..., parameters : _Optional [_Union [ _struct_pb2 . Struct , _Mapping ]] = ...) -> None : ...
4733 MEMBER_ID_FIELD_NUMBER : _ClassVar [int ]
4834 DRY_RUN_FIELD_NUMBER : _ClassVar [int ]
4935 BCC_ME_FIELD_NUMBER : _ClassVar [int ]
0 commit comments