Skip to content

Commit 41cd8a5

Browse files
committed
Update SDK using contracts version d69a3b5709b0cde1d0e8486a09d8b95614c38b3a
1 parent 6ee735f commit 41cd8a5

2 files changed

Lines changed: 18 additions & 14 deletions

File tree

eolymp/mail/newsletter_pb2.py

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eolymp/mail/newsletter_pb2.pyi

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
1212
DESCRIPTOR: _descriptor.FileDescriptor
1313

1414
class Newsletter(_message.Message):
15-
__slots__ = ("id", "type", "created_at", "name", "subject", "content", "recipients_count", "pending_count", "sent_count", "error_count")
15+
__slots__ = ("id", "type", "created_at", "scheduled_at", "name", "subject", "content", "recipients_count", "pending_count", "sent_count", "error_count")
1616
class Patch(_message.Message):
1717
__slots__ = ()
1818
class Field(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
@@ -23,12 +23,14 @@ class Newsletter(_message.Message):
2323
SUBJECT: _ClassVar[Newsletter.Patch.Field]
2424
CONTENT: _ClassVar[Newsletter.Patch.Field]
2525
LOCALE: _ClassVar[Newsletter.Patch.Field]
26+
SCHEDULED_AT: _ClassVar[Newsletter.Patch.Field]
2627
UNKNOWN: Newsletter.Patch.Field
2728
TYPE: Newsletter.Patch.Field
2829
NAME: Newsletter.Patch.Field
2930
SUBJECT: Newsletter.Patch.Field
3031
CONTENT: Newsletter.Patch.Field
3132
LOCALE: Newsletter.Patch.Field
33+
SCHEDULED_AT: Newsletter.Patch.Field
3234
def __init__(self) -> None: ...
3335
class Extra(_message.Message):
3436
__slots__ = ()
@@ -57,6 +59,7 @@ class Newsletter(_message.Message):
5759
ID_FIELD_NUMBER: _ClassVar[int]
5860
TYPE_FIELD_NUMBER: _ClassVar[int]
5961
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
62+
SCHEDULED_AT_FIELD_NUMBER: _ClassVar[int]
6063
NAME_FIELD_NUMBER: _ClassVar[int]
6164
SUBJECT_FIELD_NUMBER: _ClassVar[int]
6265
CONTENT_FIELD_NUMBER: _ClassVar[int]
@@ -67,11 +70,12 @@ class Newsletter(_message.Message):
6770
id: str
6871
type: _email_type_pb2.EmailType
6972
created_at: _timestamp_pb2.Timestamp
73+
scheduled_at: _timestamp_pb2.Timestamp
7074
name: str
7175
subject: str
7276
content: _content_pb2.Content
7377
recipients_count: int
7478
pending_count: int
7579
sent_count: int
7680
error_count: int
77-
def __init__(self, id: _Optional[str] = ..., type: _Optional[_Union[_email_type_pb2.EmailType, str]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., name: _Optional[str] = ..., subject: _Optional[str] = ..., content: _Optional[_Union[_content_pb2.Content, _Mapping]] = ..., recipients_count: _Optional[int] = ..., pending_count: _Optional[int] = ..., sent_count: _Optional[int] = ..., error_count: _Optional[int] = ...) -> None: ...
81+
def __init__(self, id: _Optional[str] = ..., type: _Optional[_Union[_email_type_pb2.EmailType, str]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., scheduled_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., name: _Optional[str] = ..., subject: _Optional[str] = ..., content: _Optional[_Union[_content_pb2.Content, _Mapping]] = ..., recipients_count: _Optional[int] = ..., pending_count: _Optional[int] = ..., sent_count: _Optional[int] = ..., error_count: _Optional[int] = ...) -> None: ...

0 commit comments

Comments
 (0)