sinch.domains.conversation.models.v1.events.shared package

class sinch.domains.conversation.models.v1.events.shared.AgentJoinedAppEvent(
*,
agent_joined_event: AgentJoinedEvent,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
agent_joined_event: AgentJoinedEvent
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.events.shared.AgentJoinedEvent(
*,
agent: Agent,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • agent (Agent)

  • extra_data (Any)

agent: Agent
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.events.shared.AgentLeftAppEvent(
*,
agent_left_event: AgentLeftEvent,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
agent_left_event: AgentLeftEvent
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.events.shared.AgentLeftEvent(
*,
agent: Agent,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • agent (Agent)

  • extra_data (Any)

agent: Agent
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.events.shared.CommentReplyAppEvent(
*,
comment_reply_event: CommentReplyEvent,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
comment_reply_event: CommentReplyEvent
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.events.shared.CommentReplyEvent(
*,
text: Annotated[str, Strict(strict=True)],
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • text (Annotated[str, Strict(strict=True)])

  • extra_data (Any)

text: Annotated[str, Strict(strict=True)]
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.events.shared.ComposingAppEvent(
*,
composing_event: Dict[str, Any],
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • composing_event (Dict[str, Any])

  • extra_data (Any)

composing_event: Dict[str, Any]
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.events.shared.ComposingEndAppEvent(
*,
composing_end_event: Dict[str, Any],
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • composing_end_event (Dict[str, Any])

  • extra_data (Any)

composing_end_event: Dict[str, Any]
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.events.shared.GenericAppEvent(
*,
generic_event: GenericEvent,
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
generic_event: GenericEvent
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.events.shared.GenericEvent(*, payload: Dict[str, Any], **extra_data: Any)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • payload (Dict[str, Any])

  • extra_data (Any)

payload: Dict[str, Any]
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None

class sinch.domains.conversation.models.v1.events.shared.ReadMessageAppEvent(
*,
read_message_event: Dict[str, Any],
**extra_data: Any,
)[source]

Bases: SnakeCaseExtrasModel

Parameters:
  • read_message_event (Dict[str, Any])

  • extra_data (Any)

read_message_event: Dict[str, Any]
model_config = {'extra': 'allow', 'populate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

model_post_init(_SnakifyExtrasOnInit__context: Any) → None

Marks applied non-None defaults as set.

Parameters:

_SnakifyExtrasOnInit__context (Any)

Return type:

None