import { SendEmailTransmissionRequest as SendEmailTransmissionRequest$1, SendEmailTransmissionResponse as SendEmailTransmissionResponse$1, GetEmailTransmissionRequest as GetEmailTransmissionRequest$1, GetEmailTransmissionResponse as GetEmailTransmissionResponse$1, QueryEmailTransmissionsRequest as QueryEmailTransmissionsRequest$1, QueryEmailTransmissionsResponse as QueryEmailTransmissionsResponse$1, DeleteEmailTransmissionRequest as DeleteEmailTransmissionRequest$1, DeleteEmailTransmissionResponse as DeleteEmailTransmissionResponse$1 } from './index.typings.mjs'; import '@wix/sdk-types'; /** * An email transmission represents a single email send request, * including its recipients, HTML content, sender information, type, and delivery status. * Creating an email transmission triggers the email to be sent asynchronously to all specified recipients. */ interface EmailTransmission extends EmailTransmissionTypeOptionsOneOf, EmailTransmissionStatusOptionsOneOf { /** * Options for marketing emails. * * Used only when `type` is `MARKETING`. */ marketingOptions?: MarketingOptions; /** * Details about why the email transmission was rejected. * * Returned only when `status` is `REJECTED`. * @readonly */ rejectedOptions?: RejectedOptions; /** * Email transmission ID. * @format GUID * @readonly */ id?: string; /** * Date and time the email transmission was created. * @readonly */ createdDate?: Date | null; /** * Date and time the email transmission was last updated. * @readonly */ updatedDate?: Date | null; /** * Revision number, which increments by 1 each time the email transmission is updated. * @readonly */ revision?: string | null; /** * Subject line of the email. * @maxLength 200 */ emailSubject?: string; /** * Full HTML content of the email. * * Not returned in `queryEmailTransmissions`. Use `getEmailTransmission` to retrieve the HTML content of a specific transmission. * * Stored for 30 days after the transmission is created. After that, this field returns `""`. * @maxLength 1000000 */ emailHtmlContent?: string; /** * Custom key-value pairs attached to the transmission to identify the context in which the email was sent. * These values are passed to the email service provider and included in domain event payloads. * Keys and values support alphanumeric characters only (letters and numbers, no spaces or special characters). * * Default: `{}` * @maxSize 10 */ metadata?: Record; /** * Display name shown as the sender. * * Default: None (no display name is set). * @minLength 1 * @maxLength 50 */ senderName?: string | null; /** * Sender email address. Must be verified using the Sender Emails API before use. * * If the provided address can't be used as a FROM address (for example, addresses from free email providers * such as gmail.com), the email is sent from `no-reply@wixsitemail.com` and the provided address is * automatically used as the reply-to address instead. * * Default: `no-reply@wixsitemail.com` * @format EMAIL */ senderEmailAddress?: string | null; /** * Recipient that receives replies to this email. When a recipient replies, the reply is directed to this * address instead of the sender address. * * Default: When `senderEmailAddress` is provided and the email is sent from the Wix shared sender address, * replies are automatically directed to `senderEmailAddress`. */ replyTo?: Recipient; /** * List of recipients the email is sent to. * @minSize 1 * @maxSize 100 */ toRecipients?: Recipient[]; /** Email type. */ type?: TypeWithLiterals; /** * Current status of the email transmission. * @readonly */ status?: StatusWithLiterals; } /** @oneof */ interface EmailTransmissionTypeOptionsOneOf { /** * Options for marketing emails. * * Used only when `type` is `MARKETING`. */ marketingOptions?: MarketingOptions; } /** @oneof */ interface EmailTransmissionStatusOptionsOneOf { /** * Details about why the email transmission was rejected. * * Returned only when `status` is `REJECTED`. * @readonly */ rejectedOptions?: RejectedOptions; } /** * A recipient identifies a single addressee for an email transmission. * A recipient can be specified by contact ID, user ID, or raw email address. */ interface Recipient extends RecipientValueOneOf { /** * ID of the contact to send the email to. The contact's email address is retrieved from the Contacts API. * @format GUID */ contactId?: string; /** * ID of the Wix user to send the email to. The user must be a site collaborator. * * The user's email address is retrieved from the Users API. * @format GUID */ userId?: string; /** * Email address to send the email to. A contact is created with this address if one doesn't already exist. * @format EMAIL */ emailAddress?: string; /** * Display name of the recipient. * @minLength 1 * @maxLength 50 */ name?: string | null; /** * Status of this particular recipient. * @readonly */ status?: RecipientStatusWithLiterals; /** * Reason why the email couldn't be delivered to this recipient. `NONE` means the email was successfully sent. * * Returned once the transmission reaches `PROCESSED` status. * @readonly */ failureReason?: FailureReasonWithLiterals; } /** @oneof */ interface RecipientValueOneOf { /** * ID of the contact to send the email to. The contact's email address is retrieved from the Contacts API. * @format GUID */ contactId?: string; /** * ID of the Wix user to send the email to. The user must be a site collaborator. * * The user's email address is retrieved from the Users API. * @format GUID */ userId?: string; /** * Email address to send the email to. A contact is created with this address if one doesn't already exist. * @format EMAIL */ emailAddress?: string; } declare enum RecipientStatus { /** Recipient is still waiting to be processed. */ PENDING = "PENDING", /** Email for this recipient was sent (it's not the same as "delivered" because it can still bounce). */ SENT = "SENT", /** Recipient was excluded (see "failureReason" for more details). */ FAILED = "FAILED" } /** @enumType */ type RecipientStatusWithLiterals = RecipientStatus | 'PENDING' | 'SENT' | 'FAILED'; declare enum FailureReason { /** Email was successfully sent to this recipient. */ NONE = "NONE", /** Contact or user wasn't found by the provided ID. */ RECIPIENT_NOT_FOUND = "RECIPIENT_NOT_FOUND", /** Contact or user doesn't have an email address. */ EMAIL_ADDRESS_MISSING = "EMAIL_ADDRESS_MISSING", /** Email address doesn't exist or is invalid. */ EMAIL_ADDRESS_INVALID = "EMAIL_ADDRESS_INVALID", /** Email address has previously bounced and can't be sent to. */ EMAIL_ADDRESS_BOUNCED = "EMAIL_ADDRESS_BOUNCED", /** Recipient hasn't given consent to receive marketing emails. */ MARKETING_CONSENT_NOT_GIVEN = "MARKETING_CONSENT_NOT_GIVEN", /** User isn't a collaborator on this site. Only site collaborators can be specified as recipients by user ID. */ NOT_SITE_COLLABORATOR = "NOT_SITE_COLLABORATOR" } /** @enumType */ type FailureReasonWithLiterals = FailureReason | 'NONE' | 'RECIPIENT_NOT_FOUND' | 'EMAIL_ADDRESS_MISSING' | 'EMAIL_ADDRESS_INVALID' | 'EMAIL_ADDRESS_BOUNCED' | 'MARKETING_CONSENT_NOT_GIVEN' | 'NOT_SITE_COLLABORATOR'; declare enum Type { /** Email triggered by a specific action, such as an order confirmation or booking reminder. No unsubscribe link is added. */ TRANSACTIONAL = "TRANSACTIONAL", /** Email sent to multiple recipients as part of a campaign, such as a newsletter or promotion. An unsubscribe link is automatically added. */ MARKETING = "MARKETING" } /** @enumType */ type TypeWithLiterals = Type | 'TRANSACTIONAL' | 'MARKETING'; /** Options for marketing email transmissions. */ interface MarketingOptions { /** * Placeholder in `emailHtmlContent` that gets replaced with a recipient-specific unsubscribe URL before the email is sent. Case-sensitive. * For example, `{{unsubscribe_url}}` or `[UNSUBSCRIBE_URL]`. The placeholder must be unique within the HTML content. * * If not set, an unsubscribe link in the site's default language is appended to the bottom of the email. * @minLength 4 * @maxLength 100 */ unsubscribeUrlPlaceholder?: string | null; } declare enum Status { /** Email transmission was accepted and is queued for processing. */ ACCEPTED = "ACCEPTED", /** Email transmission is being processed. The content is being checked, recipients are being resolved, and emails are being sent. */ IN_PROGRESS = "IN_PROGRESS", /** Email transmission has been fully processed. Per-recipient delivery information is available in `toRecipients`. */ PROCESSED = "PROCESSED", /** Email transmission failed an abuse check. No emails were sent. See `rejectedOptions` for details. */ REJECTED = "REJECTED" } /** @enumType */ type StatusWithLiterals = Status | 'ACCEPTED' | 'IN_PROGRESS' | 'PROCESSED' | 'REJECTED'; /** Details about a rejected email transmission. */ interface RejectedOptions { /** * Reasons why the email transmission was rejected. * The blacklists are managed by Wix and aren't queryable. * If you believe your content was flagged incorrectly, contact Wix support. * @minSize 1 * @maxSize 10 * @readonly */ rejectionReasons?: RejectionReasonWithLiterals[]; } declare enum RejectionReason { /** Sender email address is on the Wix blacklist. */ BLACKLISTED_SENDER_EMAIL = "BLACKLISTED_SENDER_EMAIL", /** Sender display name is on the Wix blacklist. */ BLACKLISTED_SENDER_NAME = "BLACKLISTED_SENDER_NAME", /** Reply-to email address is on the Wix blacklist. */ BLACKLISTED_REPLY_TO_EMAIL = "BLACKLISTED_REPLY_TO_EMAIL", /** Reply-to display name is on the Wix blacklist. */ BLACKLISTED_REPLY_TO_NAME = "BLACKLISTED_REPLY_TO_NAME", /** Email content contains a link that is on the Wix blacklist. */ BLACKLISTED_LINK = "BLACKLISTED_LINK", /** Email content contains text that is on the Wix blacklist. */ BLACKLISTED_TEXT = "BLACKLISTED_TEXT", /** Email content was identified as fraudulent, such as phishing or a scam. */ FRAUDULENT_CONTENT = "FRAUDULENT_CONTENT" } /** @enumType */ type RejectionReasonWithLiterals = RejectionReason | 'BLACKLISTED_SENDER_EMAIL' | 'BLACKLISTED_SENDER_NAME' | 'BLACKLISTED_REPLY_TO_EMAIL' | 'BLACKLISTED_REPLY_TO_NAME' | 'BLACKLISTED_LINK' | 'BLACKLISTED_TEXT' | 'FRAUDULENT_CONTENT'; interface GetLiveEmailTransmissionRequest { /** * MetaSite ID that the email transmission belongs to. * @format GUID */ metaSiteId?: string; /** * Email transmission ID. * @format GUID */ emailTransmissionId?: string; } interface GetLiveEmailTransmissionResponse { /** Retrieved email transmission. */ emailTransmission?: EmailTransmission; } interface GetDeletedEmailTransmissionRequest { /** * MetaSite ID that the deleted email transmission belongs to. * @format GUID */ metaSiteId?: string; /** * Email transmission ID. * @format GUID */ emailTransmissionId?: string; } interface GetDeletedEmailTransmissionResponse { /** Retrieved deleted email transmission. */ emailTransmission?: EmailTransmission; } interface QueryLiveEmailTransmissionsRequest { /** * MetaSite ID to query email transmissions from. * @format GUID */ metaSiteId?: string; /** Query options, including filter, sorting, and pagination. */ query?: CursorQuery; } interface CursorQuery extends CursorQueryPagingMethodOneOf { /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ cursorPaging?: CursorPaging; /** * Filter object in the following format: * `"filter" : { * "fieldName1": "value1", * "fieldName2":{"$operator":"value2"} * }` * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains` */ filter?: Record | null; /** * Sort object in the following format: * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]` * @maxSize 4 */ sort?: Sorting[]; } /** @oneof */ interface CursorQueryPagingMethodOneOf { /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ cursorPaging?: CursorPaging; } interface Sorting { /** * Name of the field to sort by. * @minLength 1 * @maxLength 50 */ fieldName?: string; /** Sort order. */ order?: SortOrderWithLiterals; } declare enum SortOrder { ASC = "ASC", DESC = "DESC" } /** @enumType */ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC'; interface CursorPaging { /** * Number of items to load. * @max 100 */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * You can get the relevant cursor token * from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. * @maxLength 1000 */ cursor?: string | null; } interface QueryLiveEmailTransmissionsResponse { /** * Retrieved email transmissions. * @maxSize 100 */ emailTransmissions?: EmailTransmission[]; /** Paging metadata. */ pagingMetadata?: CursorPagingMetadata; } interface CursorPagingMetadata { /** Number of items returned in the response. */ count?: number | null; /** Offset that was requested. */ cursors?: Cursors; /** * Indicates if there are more results after the current page. * If `true`, another page of results can be retrieved. * If `false`, this is the last page. */ hasNext?: boolean | null; } interface Cursors { /** * Cursor pointing to next page in the list of results. * @maxLength 1000 */ next?: string | null; /** * Cursor pointing to previous page in the list of results. * @maxLength 1000 */ prev?: string | null; } interface QueryDeletedEmailTransmissionsRequest { /** * MetaSite ID to query deleted email transmissions from. * @format GUID */ metaSiteId?: string; /** Query options, including filter, sorting, and pagination. */ query?: CursorQuery; } interface QueryDeletedEmailTransmissionsResponse { /** * Retrieved deleted email transmissions. * @maxSize 100 */ emailTransmissions?: EmailTransmission[]; /** Paging metadata. */ pagingMetadata?: CursorPagingMetadata; } interface DomainEvent extends DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; /** Event ID. With this ID you can easily spot duplicated events and ignore them. */ id?: string; /** * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities. * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`. */ entityFqdn?: string; /** * Event action name, placed at the top level to make it easier for users to dispatch messages. * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`. */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number. * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; } interface EntityCreatedEvent { entityAsJson?: string; /** * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity * @internal */ triggeredByUndelete?: boolean | null; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo; /** * Optional domain-specific metadata defined by the API owner, encoded as JSON. * @internal */ additionalMetadataAsJson?: string | null; } interface RestoreInfo { deletedDate?: Date | null; } interface EntityUpdatedEvent { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; /** * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard * wont populate it / have any reference to it in the API. * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed, * the developer should send only the new (current) entity. * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message. * @internal * @deprecated */ previousEntityAsJson?: string | null; /** * Map of fully qualified field paths to their previous values for fields that changed. * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format) * @internal */ modifiedFields?: Record; /** * Optional domain-specific metadata defined by the API owner, encoded as JSON. * @internal */ additionalMetadataAsJson?: string | null; } interface EntityDeletedEvent { /** * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled * @internal */ movedToTrash?: boolean | null; /** Entity that was deleted. */ deletedEntityAsJson?: string | null; /** * Optional domain-specific metadata defined by the API owner, encoded as JSON. * @internal */ additionalMetadataAsJson?: string | null; } interface ActionEvent { bodyAsJson?: string; } interface MessageEnvelope { /** * App instance ID. * @format GUID */ instanceId?: string | null; /** * Event type. * @maxLength 150 */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; /** Details related to the account */ accountInfo?: AccountInfo; } interface IdentificationData extends IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; /** @readonly */ identityType?: WebhookIdentityTypeWithLiterals; } /** @oneof */ interface IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; } declare enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** @enumType */ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP'; interface AccountInfo { /** * ID of the Wix account associated with the event. * @format GUID */ accountId?: string | null; /** * ID of the parent Wix account. Only included when accountId belongs to a child account. * @format GUID */ parentAccountId?: string | null; /** * ID of the Wix site associated with the event. Only included when the event is tied to a specific site. * @format GUID */ siteId?: string | null; } interface SendEmailTransmissionRequest { /** Email transmission to send. */ emailTransmission: EmailTransmission; /** * Unique key used to prevent duplicate transmissions. If a request with the same idempotency key is received, * the original response is returned without creating a new transmission. * @format GUID */ idempotencyKey?: string | null; } interface SendEmailTransmissionResponse { /** Sent email transmission. */ emailTransmission?: EmailTransmission; } interface AccountSuspendedErrorDetails { /** * URL of the page where the site owner can contact support or learn more about the account suspension. * @format WEB_URL */ termsOfServicePageUrl?: string; } interface OutOfQuotaErrorDetails { /** * URL of the page where the site owner can upgrade their Email Marketing plan. * @format WEB_URL */ packagePickerUrl?: string; } interface GetEmailTransmissionRequest { /** * Email transmission ID. * @format GUID */ emailTransmissionId: string; } interface GetEmailTransmissionResponse { /** Retrieved email transmission. */ emailTransmission?: EmailTransmission; } interface QueryEmailTransmissionsRequest { /** Query options, including filter, sorting, and pagination. */ query?: CursorQuery; } interface QueryEmailTransmissionsResponse { /** Retrieved email transmissions. */ emailTransmissions?: EmailTransmission[]; /** Paging metadata. */ pagingMetadata?: CursorPagingMetadata; } interface DeleteEmailTransmissionRequest { /** * Email transmission ID. * @format GUID */ emailTransmissionId: string; } interface DeleteEmailTransmissionResponse { } interface Empty { } /** @docsIgnore */ type SendEmailTransmissionApplicationErrors = { code?: 'ACCOUNT_SUSPENDED'; description?: string; data?: AccountSuspendedErrorDetails; } | { code?: 'UNVERIFIED_SENDER_EMAIL'; description?: string; data?: Record; } | { code?: 'OUT_OF_QUOTA'; description?: string; data?: OutOfQuotaErrorDetails; }; /** @docsIgnore */ type SendEmailTransmissionValidationErrors = { ruleName?: 'INVALID_METADATA'; }; /** @docsIgnore */ type DeleteEmailTransmissionApplicationErrors = { code?: 'EMAIL_TRANSMISSION_IS_IN_PROGRESS'; description?: string; data?: Record; }; type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function sendEmailTransmission(): __PublicMethodMetaInfo<'POST', {}, SendEmailTransmissionRequest$1, SendEmailTransmissionRequest, SendEmailTransmissionResponse$1, SendEmailTransmissionResponse>; declare function getEmailTransmission(): __PublicMethodMetaInfo<'GET', { emailTransmissionId: string; }, GetEmailTransmissionRequest$1, GetEmailTransmissionRequest, GetEmailTransmissionResponse$1, GetEmailTransmissionResponse>; declare function queryEmailTransmissions(): __PublicMethodMetaInfo<'POST', {}, QueryEmailTransmissionsRequest$1, QueryEmailTransmissionsRequest, QueryEmailTransmissionsResponse$1, QueryEmailTransmissionsResponse>; declare function deleteEmailTransmission(): __PublicMethodMetaInfo<'DELETE', { emailTransmissionId: string; }, DeleteEmailTransmissionRequest$1, DeleteEmailTransmissionRequest, DeleteEmailTransmissionResponse$1, DeleteEmailTransmissionResponse>; export { type AccountInfo as AccountInfoOriginal, type AccountSuspendedErrorDetails as AccountSuspendedErrorDetailsOriginal, type ActionEvent as ActionEventOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeleteEmailTransmissionApplicationErrors as DeleteEmailTransmissionApplicationErrorsOriginal, type DeleteEmailTransmissionRequest as DeleteEmailTransmissionRequestOriginal, type DeleteEmailTransmissionResponse as DeleteEmailTransmissionResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EmailTransmission as EmailTransmissionOriginal, type EmailTransmissionStatusOptionsOneOf as EmailTransmissionStatusOptionsOneOfOriginal, type EmailTransmissionTypeOptionsOneOf as EmailTransmissionTypeOptionsOneOfOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, FailureReason as FailureReasonOriginal, type FailureReasonWithLiterals as FailureReasonWithLiteralsOriginal, type GetDeletedEmailTransmissionRequest as GetDeletedEmailTransmissionRequestOriginal, type GetDeletedEmailTransmissionResponse as GetDeletedEmailTransmissionResponseOriginal, type GetEmailTransmissionRequest as GetEmailTransmissionRequestOriginal, type GetEmailTransmissionResponse as GetEmailTransmissionResponseOriginal, type GetLiveEmailTransmissionRequest as GetLiveEmailTransmissionRequestOriginal, type GetLiveEmailTransmissionResponse as GetLiveEmailTransmissionResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type MarketingOptions as MarketingOptionsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type OutOfQuotaErrorDetails as OutOfQuotaErrorDetailsOriginal, type QueryDeletedEmailTransmissionsRequest as QueryDeletedEmailTransmissionsRequestOriginal, type QueryDeletedEmailTransmissionsResponse as QueryDeletedEmailTransmissionsResponseOriginal, type QueryEmailTransmissionsRequest as QueryEmailTransmissionsRequestOriginal, type QueryEmailTransmissionsResponse as QueryEmailTransmissionsResponseOriginal, type QueryLiveEmailTransmissionsRequest as QueryLiveEmailTransmissionsRequestOriginal, type QueryLiveEmailTransmissionsResponse as QueryLiveEmailTransmissionsResponseOriginal, type Recipient as RecipientOriginal, RecipientStatus as RecipientStatusOriginal, type RecipientStatusWithLiterals as RecipientStatusWithLiteralsOriginal, type RecipientValueOneOf as RecipientValueOneOfOriginal, type RejectedOptions as RejectedOptionsOriginal, RejectionReason as RejectionReasonOriginal, type RejectionReasonWithLiterals as RejectionReasonWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type SendEmailTransmissionApplicationErrors as SendEmailTransmissionApplicationErrorsOriginal, type SendEmailTransmissionRequest as SendEmailTransmissionRequestOriginal, type SendEmailTransmissionResponse as SendEmailTransmissionResponseOriginal, type SendEmailTransmissionValidationErrors as SendEmailTransmissionValidationErrorsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, deleteEmailTransmission, getEmailTransmission, queryEmailTransmissions, sendEmailTransmission };