diff --git a/src/brevo/transactional_emails/types/send_transac_email_request_bcc_item.py b/src/brevo/transactional_emails/types/send_transac_email_request_bcc_item.py index 29a34ef..97d6966 100644 --- a/src/brevo/transactional_emails/types/send_transac_email_request_bcc_item.py +++ b/src/brevo/transactional_emails/types/send_transac_email_request_bcc_item.py @@ -3,11 +3,21 @@ import typing import pydantic +import typing_extensions from ...core.pydantic_utilities import IS_PYDANTIC_V2 +from ...core.serialization import FieldMetadata from ...core.unchecked_base_model import UncheckedBaseModel class SendTransacEmailRequestBccItem(UncheckedBaseModel): + contact_pixel_tracking_consent: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="contactPixelTrackingConsent"), + pydantic.Field( + alias="contactPixelTrackingConsent", + description="Consent of the recipient in bcc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.", + ), + ] = None email: str = pydantic.Field() """ BCC recipient email address diff --git a/src/brevo/transactional_emails/types/send_transac_email_request_cc_item.py b/src/brevo/transactional_emails/types/send_transac_email_request_cc_item.py index 9a6c4cf..ba97fa5 100644 --- a/src/brevo/transactional_emails/types/send_transac_email_request_cc_item.py +++ b/src/brevo/transactional_emails/types/send_transac_email_request_cc_item.py @@ -3,11 +3,21 @@ import typing import pydantic +import typing_extensions from ...core.pydantic_utilities import IS_PYDANTIC_V2 +from ...core.serialization import FieldMetadata from ...core.unchecked_base_model import UncheckedBaseModel class SendTransacEmailRequestCcItem(UncheckedBaseModel): + contact_pixel_tracking_consent: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="contactPixelTrackingConsent"), + pydantic.Field( + alias="contactPixelTrackingConsent", + description="Consent of the recipient in cc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.", + ), + ] = None email: str = pydantic.Field() """ CC recipient email address diff --git a/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_bcc_item.py b/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_bcc_item.py index bb4f1ba..85bbc94 100644 --- a/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_bcc_item.py +++ b/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_bcc_item.py @@ -3,11 +3,21 @@ import typing import pydantic +import typing_extensions from ...core.pydantic_utilities import IS_PYDANTIC_V2 +from ...core.serialization import FieldMetadata from ...core.unchecked_base_model import UncheckedBaseModel class SendTransacEmailRequestMessageVersionsItemBccItem(UncheckedBaseModel): + contact_pixel_tracking_consent: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="contactPixelTrackingConsent"), + pydantic.Field( + alias="contactPixelTrackingConsent", + description="Consent of the recipient in bcc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.", + ), + ] = None email: str = pydantic.Field() """ BCC recipient email address diff --git a/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_cc_item.py b/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_cc_item.py index db7f397..0b3d6cc 100644 --- a/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_cc_item.py +++ b/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_cc_item.py @@ -3,11 +3,21 @@ import typing import pydantic +import typing_extensions from ...core.pydantic_utilities import IS_PYDANTIC_V2 +from ...core.serialization import FieldMetadata from ...core.unchecked_base_model import UncheckedBaseModel class SendTransacEmailRequestMessageVersionsItemCcItem(UncheckedBaseModel): + contact_pixel_tracking_consent: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="contactPixelTrackingConsent"), + pydantic.Field( + alias="contactPixelTrackingConsent", + description="Consent of the recipient in cc for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.", + ), + ] = None email: str = pydantic.Field() """ CC recipient email address diff --git a/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_to_item.py b/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_to_item.py index 8c0381a..a704c91 100644 --- a/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_to_item.py +++ b/src/brevo/transactional_emails/types/send_transac_email_request_message_versions_item_to_item.py @@ -3,11 +3,21 @@ import typing import pydantic +import typing_extensions from ...core.pydantic_utilities import IS_PYDANTIC_V2 +from ...core.serialization import FieldMetadata from ...core.unchecked_base_model import UncheckedBaseModel class SendTransacEmailRequestMessageVersionsItemToItem(UncheckedBaseModel): + contact_pixel_tracking_consent: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="contactPixelTrackingConsent"), + pydantic.Field( + alias="contactPixelTrackingConsent", + description="Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.", + ), + ] = None email: str = pydantic.Field() """ Email address of the recipient diff --git a/src/brevo/transactional_emails/types/send_transac_email_request_to_item.py b/src/brevo/transactional_emails/types/send_transac_email_request_to_item.py index 7e565fb..8e16cca 100644 --- a/src/brevo/transactional_emails/types/send_transac_email_request_to_item.py +++ b/src/brevo/transactional_emails/types/send_transac_email_request_to_item.py @@ -3,11 +3,21 @@ import typing import pydantic +import typing_extensions from ...core.pydantic_utilities import IS_PYDANTIC_V2 +from ...core.serialization import FieldMetadata from ...core.unchecked_base_model import UncheckedBaseModel class SendTransacEmailRequestToItem(UncheckedBaseModel): + contact_pixel_tracking_consent: typing_extensions.Annotated[ + typing.Optional[bool], + FieldMetadata(alias="contactPixelTrackingConsent"), + pydantic.Field( + alias="contactPixelTrackingConsent", + description="Consent of the recipient for open (pixel) and click tracking, resolved by the sender at send time. Considered only if the per-contact pixel tracking consent feature is enabled for your account. Pass `true` if this recipient has consented to open and click tracking, in which case the open pixel and tracked links identify the recipient. Pass `false` to anonymise the open and click events (counted in aggregate statistics only). If it is not passed, the recipient is treated as unknown consent status and the email is still sent (the open and click are anonymised unless your account tracks unknown-consent contacts). A value other than `true`/`false` is rejected. Ignored when the feature is not enabled for your account.", + ), + ] = None email: str = pydantic.Field() """ Email address of the recipient