{"version":3,"sources":["../../src/emails-transmissions-v1-email-transmission-email-transmissions.http.ts","../../src/emails-transmissions-v1-email-transmission-email-transmissions.types.ts","../../src/emails-transmissions-v1-email-transmission-email-transmissions.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixEmailsTransmissionsV1EmailTransmissionServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    'www.wixapis.com': [\n      {\n        srcPath: '/email-transmissions/v1',\n        destPath: '/v1',\n      },\n      {\n        srcPath: '/emails/transmissions/v1/email-transmissions',\n        destPath: '/v1/email-transmissions',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/email-transmissions/v1',\n        destPath: '/v1',\n      },\n    ],\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/emails/transmissions/v1/email-transmissions',\n        destPath: '/v1/email-transmissions',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/emails/transmissions/v1/email-transmissions',\n        destPath: '/v1/email-transmissions',\n      },\n    ],\n    'api._api_base_domain_': [\n      {\n        srcPath: '/transmissions',\n        destPath: '',\n      },\n    ],\n    'bo._base_domain_': [\n      {\n        srcPath: '/backoffice/v1/email-transmissions',\n        destPath: '/v1/backoffice/email-transmissions',\n      },\n    ],\n    'wixbo.ai': [\n      {\n        srcPath: '/backoffice/v1/email-transmissions',\n        destPath: '/v1/backoffice/email-transmissions',\n      },\n    ],\n    'wix-bo.com': [\n      {\n        srcPath: '/backoffice/v1/email-transmissions',\n        destPath: '/v1/backoffice/email-transmissions',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_email-transmissions_email-transmissions';\n\n/**\n * Creates and sends an email transmission to one or more recipients.\n *\n * The email is sent asynchronously. The returned transmission has `ACCEPTED` status.\n * Call [Get Email Transmission](https://dev.wix.com/docs/api-reference/business-management/marketing/emails/email-transmission-v1/get-email-transmission) or listen for the `EmailTransmissionCreated` webhook to track delivery status.\n */\nexport function sendEmailTransmission(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __sendEmailTransmission({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: [\n          { path: 'emailTransmission.createdDate' },\n          { path: 'emailTransmission.updatedDate' },\n        ],\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.emails.transmissions.v1.email_transmission',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.emails.transmissions.v1.EmailTransmissionService.SendEmailTransmission',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEmailsTransmissionsV1EmailTransmissionServiceUrl({\n        protoPath: '/v1/email-transmissions/send',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'emailTransmission.createdDate' },\n              { path: 'emailTransmission.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __sendEmailTransmission;\n}\n\n/** Retrieves an email transmission by ID. */\nexport function getEmailTransmission(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getEmailTransmission({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.emails.transmissions.v1.email_transmission',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.emails.transmissions.v1.EmailTransmissionService.GetEmailTransmission',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEmailsTransmissionsV1EmailTransmissionServiceUrl({\n        protoPath: '/v1/email-transmissions/{emailTransmissionId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'emailTransmission.createdDate' },\n              { path: 'emailTransmission.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getEmailTransmission;\n}\n\n/**\n * Retrieves a list of up to 100 email transmissions, given the provided paging, filtering, and sorting.\n *\n * `emailHtmlContent` is not returned in the results. To retrieve the full HTML content of a specific transmission,\n * call [Get Email Transmission](https://dev.wix.com/docs/api-reference/business-management/marketing/emails/email-transmission-v1/get-email-transmission).\n *\n * Query Email Transmissions runs with these defaults, which you can override:\n *\n * - `updatedDate` is sorted in `DESC` order\n * - `paging.limit` is `50`\n *\n * To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language),\n * [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging),\n * and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).\n */\nexport function queryEmailTransmissions(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryEmailTransmissions({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.emails.transmissions.v1.email_transmission',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.emails.transmissions.v1.EmailTransmissionService.QueryEmailTransmissions',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEmailsTransmissionsV1EmailTransmissionServiceUrl({\n        protoPath: '/v1/email-transmissions/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: [\n              { path: 'emailTransmissions.createdDate' },\n              { path: 'emailTransmissions.updatedDate' },\n            ],\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryEmailTransmissions;\n}\n\n/**\n * Deletes an email transmission by ID.\n *\n * Deletion is only allowed for transmissions with `PROCESSED` or `REJECTED` status.\n */\nexport function deleteEmailTransmission(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __deleteEmailTransmission({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.emails.transmissions.v1.email_transmission',\n      method: 'DELETE' as any,\n      methodFqn:\n        'wix.emails.transmissions.v1.EmailTransmissionService.DeleteEmailTransmission',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixEmailsTransmissionsV1EmailTransmissionServiceUrl({\n        protoPath: '/v1/email-transmissions/{emailTransmissionId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteEmailTransmission;\n}\n","/**\n * An email transmission represents a single email send request,\n * including its recipients, HTML content, sender information, type, and delivery status.\n * Creating an email transmission triggers the email to be sent asynchronously to all specified recipients.\n */\nexport interface EmailTransmission\n  extends EmailTransmissionTypeOptionsOneOf,\n    EmailTransmissionStatusOptionsOneOf {\n  /**\n   * Options for marketing emails.\n   *\n   * Used only when `type` is `MARKETING`.\n   */\n  marketingOptions?: MarketingOptions;\n  /**\n   * Details about why the email transmission was rejected.\n   *\n   * Returned only when `status` is `REJECTED`.\n   * @readonly\n   */\n  rejectedOptions?: RejectedOptions;\n  /**\n   * Email transmission ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string;\n  /**\n   * Date and time the email transmission was created.\n   * @readonly\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the email transmission was last updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Revision number, which increments by 1 each time the email transmission is updated.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Subject line of the email.\n   * @maxLength 200\n   */\n  emailSubject?: string;\n  /**\n   * Full HTML content of the email.\n   *\n   * Not returned in `queryEmailTransmissions`. Use `getEmailTransmission` to retrieve the HTML content of a specific transmission.\n   *\n   * Stored for 30 days after the transmission is created. After that, this field returns `\"<expired>\"`.\n   * @maxLength 1000000\n   */\n  emailHtmlContent?: string;\n  /**\n   * Custom key-value pairs attached to the transmission to identify the context in which the email was sent.\n   * These values are passed to the email service provider and included in domain event payloads.\n   * Keys and values support alphanumeric characters only (letters and numbers, no spaces or special characters).\n   *\n   * Default: `{}`\n   * @maxSize 10\n   */\n  metadata?: Record<string, string>;\n  /**\n   * Display name shown as the sender.\n   *\n   * Default: None (no display name is set).\n   * @minLength 1\n   * @maxLength 50\n   */\n  senderName?: string | null;\n  /**\n   * Sender email address. Must be verified using the Sender Emails API before use.\n   *\n   * If the provided address can't be used as a FROM address (for example, addresses from free email providers\n   * such as gmail.com), the email is sent from `no-reply@wixsitemail.com` and the provided address is\n   * automatically used as the reply-to address instead.\n   *\n   * Default: `no-reply@wixsitemail.com`\n   * @format EMAIL\n   */\n  senderEmailAddress?: string | null;\n  /**\n   * Recipient that receives replies to this email. When a recipient replies, the reply is directed to this\n   * address instead of the sender address.\n   *\n   * Default: When `senderEmailAddress` is provided and the email is sent from the Wix shared sender address,\n   * replies are automatically directed to `senderEmailAddress`.\n   */\n  replyTo?: Recipient;\n  /**\n   * List of recipients the email is sent to.\n   * @minSize 1\n   * @maxSize 100\n   */\n  toRecipients?: Recipient[];\n  /** Email type. */\n  type?: TypeWithLiterals;\n  /**\n   * Current status of the email transmission.\n   * @readonly\n   */\n  status?: StatusWithLiterals;\n}\n\n/** @oneof */\nexport interface EmailTransmissionTypeOptionsOneOf {\n  /**\n   * Options for marketing emails.\n   *\n   * Used only when `type` is `MARKETING`.\n   */\n  marketingOptions?: MarketingOptions;\n}\n\n/** @oneof */\nexport interface EmailTransmissionStatusOptionsOneOf {\n  /**\n   * Details about why the email transmission was rejected.\n   *\n   * Returned only when `status` is `REJECTED`.\n   * @readonly\n   */\n  rejectedOptions?: RejectedOptions;\n}\n\n/**\n * A recipient identifies a single addressee for an email transmission.\n * A recipient can be specified by contact ID, user ID, or raw email address.\n */\nexport interface Recipient extends RecipientValueOneOf {\n  /**\n   * ID of the contact to send the email to. The contact's email address is retrieved from the Contacts API.\n   * @format GUID\n   */\n  contactId?: string;\n  /**\n   * ID of the Wix user to send the email to. The user must be a site collaborator.\n   *\n   * The user's email address is retrieved from the Users API.\n   * @format GUID\n   */\n  userId?: string;\n  /**\n   * Email address to send the email to. A contact is created with this address if one doesn't already exist.\n   * @format EMAIL\n   */\n  emailAddress?: string;\n  /**\n   * Display name of the recipient.\n   * @minLength 1\n   * @maxLength 50\n   */\n  name?: string | null;\n  /**\n   * Status of this particular recipient.\n   * @readonly\n   */\n  status?: RecipientStatusWithLiterals;\n  /**\n   * Reason why the email couldn't be delivered to this recipient. `NONE` means the email was successfully sent.\n   *\n   * Returned once the transmission reaches `PROCESSED` status.\n   * @readonly\n   */\n  failureReason?: FailureReasonWithLiterals;\n}\n\n/** @oneof */\nexport interface RecipientValueOneOf {\n  /**\n   * ID of the contact to send the email to. The contact's email address is retrieved from the Contacts API.\n   * @format GUID\n   */\n  contactId?: string;\n  /**\n   * ID of the Wix user to send the email to. The user must be a site collaborator.\n   *\n   * The user's email address is retrieved from the Users API.\n   * @format GUID\n   */\n  userId?: string;\n  /**\n   * Email address to send the email to. A contact is created with this address if one doesn't already exist.\n   * @format EMAIL\n   */\n  emailAddress?: string;\n}\n\nexport enum RecipientStatus {\n  /** Recipient is still waiting to be processed. */\n  PENDING = 'PENDING',\n  /** Email for this recipient was sent (it's not the same as \"delivered\" because it can still bounce). */\n  SENT = 'SENT',\n  /** Recipient was excluded (see \"failureReason\" for more details). */\n  FAILED = 'FAILED',\n}\n\n/** @enumType */\nexport type RecipientStatusWithLiterals =\n  | RecipientStatus\n  | 'PENDING'\n  | 'SENT'\n  | 'FAILED';\n\nexport enum FailureReason {\n  /** Email was successfully sent to this recipient. */\n  NONE = 'NONE',\n  /** Contact or user wasn't found by the provided ID. */\n  RECIPIENT_NOT_FOUND = 'RECIPIENT_NOT_FOUND',\n  /** Contact or user doesn't have an email address. */\n  EMAIL_ADDRESS_MISSING = 'EMAIL_ADDRESS_MISSING',\n  /** Email address doesn't exist or is invalid. */\n  EMAIL_ADDRESS_INVALID = 'EMAIL_ADDRESS_INVALID',\n  /** Email address has previously bounced and can't be sent to. */\n  EMAIL_ADDRESS_BOUNCED = 'EMAIL_ADDRESS_BOUNCED',\n  /** Recipient hasn't given consent to receive marketing emails. */\n  MARKETING_CONSENT_NOT_GIVEN = 'MARKETING_CONSENT_NOT_GIVEN',\n  /** User isn't a collaborator on this site. Only site collaborators can be specified as recipients by user ID. */\n  NOT_SITE_COLLABORATOR = 'NOT_SITE_COLLABORATOR',\n}\n\n/** @enumType */\nexport type FailureReasonWithLiterals =\n  | FailureReason\n  | 'NONE'\n  | 'RECIPIENT_NOT_FOUND'\n  | 'EMAIL_ADDRESS_MISSING'\n  | 'EMAIL_ADDRESS_INVALID'\n  | 'EMAIL_ADDRESS_BOUNCED'\n  | 'MARKETING_CONSENT_NOT_GIVEN'\n  | 'NOT_SITE_COLLABORATOR';\n\nexport enum Type {\n  /** Email triggered by a specific action, such as an order confirmation or booking reminder. No unsubscribe link is added. */\n  TRANSACTIONAL = 'TRANSACTIONAL',\n  /** Email sent to multiple recipients as part of a campaign, such as a newsletter or promotion. An unsubscribe link is automatically added. */\n  MARKETING = 'MARKETING',\n}\n\n/** @enumType */\nexport type TypeWithLiterals = Type | 'TRANSACTIONAL' | 'MARKETING';\n\n/** Options for marketing email transmissions. */\nexport interface MarketingOptions {\n  /**\n   * Placeholder in `emailHtmlContent` that gets replaced with a recipient-specific unsubscribe URL before the email is sent. Case-sensitive.\n   * For example, `{{unsubscribe_url}}` or `[UNSUBSCRIBE_URL]`. The placeholder must be unique within the HTML content.\n   *\n   * If not set, an unsubscribe link in the site's default language is appended to the bottom of the email.\n   * @minLength 4\n   * @maxLength 100\n   */\n  unsubscribeUrlPlaceholder?: string | null;\n}\n\nexport enum Status {\n  /** Email transmission was accepted and is queued for processing. */\n  ACCEPTED = 'ACCEPTED',\n  /** Email transmission is being processed. The content is being checked, recipients are being resolved, and emails are being sent. */\n  IN_PROGRESS = 'IN_PROGRESS',\n  /** Email transmission has been fully processed. Per-recipient delivery information is available in `toRecipients`. */\n  PROCESSED = 'PROCESSED',\n  /** Email transmission failed an abuse check. No emails were sent. See `rejectedOptions` for details. */\n  REJECTED = 'REJECTED',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n  | Status\n  | 'ACCEPTED'\n  | 'IN_PROGRESS'\n  | 'PROCESSED'\n  | 'REJECTED';\n\n/** Details about a rejected email transmission. */\nexport interface RejectedOptions {\n  /**\n   * Reasons why the email transmission was rejected.\n   * The blacklists are managed by Wix and aren't queryable.\n   * If you believe your content was flagged incorrectly, contact Wix support.\n   * @minSize 1\n   * @maxSize 10\n   * @readonly\n   */\n  rejectionReasons?: RejectionReasonWithLiterals[];\n}\n\nexport enum RejectionReason {\n  /** Sender email address is on the Wix blacklist. */\n  BLACKLISTED_SENDER_EMAIL = 'BLACKLISTED_SENDER_EMAIL',\n  /** Sender display name is on the Wix blacklist. */\n  BLACKLISTED_SENDER_NAME = 'BLACKLISTED_SENDER_NAME',\n  /** Reply-to email address is on the Wix blacklist. */\n  BLACKLISTED_REPLY_TO_EMAIL = 'BLACKLISTED_REPLY_TO_EMAIL',\n  /** Reply-to display name is on the Wix blacklist. */\n  BLACKLISTED_REPLY_TO_NAME = 'BLACKLISTED_REPLY_TO_NAME',\n  /** Email content contains a link that is on the Wix blacklist. */\n  BLACKLISTED_LINK = 'BLACKLISTED_LINK',\n  /** Email content contains text that is on the Wix blacklist. */\n  BLACKLISTED_TEXT = 'BLACKLISTED_TEXT',\n  /** Email content was identified as fraudulent, such as phishing or a scam. */\n  FRAUDULENT_CONTENT = 'FRAUDULENT_CONTENT',\n}\n\n/** @enumType */\nexport type RejectionReasonWithLiterals =\n  | RejectionReason\n  | 'BLACKLISTED_SENDER_EMAIL'\n  | 'BLACKLISTED_SENDER_NAME'\n  | 'BLACKLISTED_REPLY_TO_EMAIL'\n  | 'BLACKLISTED_REPLY_TO_NAME'\n  | 'BLACKLISTED_LINK'\n  | 'BLACKLISTED_TEXT'\n  | 'FRAUDULENT_CONTENT';\n\nexport interface GetLiveEmailTransmissionRequest {\n  /**\n   * MetaSite ID that the email transmission belongs to.\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Email transmission ID.\n   * @format GUID\n   */\n  emailTransmissionId?: string;\n}\n\nexport interface GetLiveEmailTransmissionResponse {\n  /** Retrieved email transmission. */\n  emailTransmission?: EmailTransmission;\n}\n\nexport interface GetDeletedEmailTransmissionRequest {\n  /**\n   * MetaSite ID that the deleted email transmission belongs to.\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /**\n   * Email transmission ID.\n   * @format GUID\n   */\n  emailTransmissionId?: string;\n}\n\nexport interface GetDeletedEmailTransmissionResponse {\n  /** Retrieved deleted email transmission. */\n  emailTransmission?: EmailTransmission;\n}\n\nexport interface QueryLiveEmailTransmissionsRequest {\n  /**\n   * MetaSite ID to query email transmissions from.\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /** Query options, including filter, sorting, and pagination. */\n  query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n  /** 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`. */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object in the following format:\n   * `\"filter\" : {\n   * \"fieldName1\": \"value1\",\n   * \"fieldName2\":{\"$operator\":\"value2\"}\n   * }`\n   * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the following format:\n   * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n   * @maxSize 4\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n  /** 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`. */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @minLength 1\n   * @maxLength 50\n   */\n  fieldName?: string;\n  /** Sort order. */\n  order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n  /**\n   * Number of items to load.\n   * @max 100\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * You can get the relevant cursor token\n   * from the `pagingMetadata` object in the previous call's response.\n   * Not relevant for the first request.\n   * @maxLength 1000\n   */\n  cursor?: string | null;\n}\n\nexport interface QueryLiveEmailTransmissionsResponse {\n  /**\n   * Retrieved email transmissions.\n   * @maxSize 100\n   */\n  emailTransmissions?: EmailTransmission[];\n  /** Paging metadata. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  cursors?: Cursors;\n  /**\n   * Indicates if there are more results after the current page.\n   * If `true`, another page of results can be retrieved.\n   * If `false`, this is the last page.\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n  /**\n   * Cursor pointing to next page in the list of results.\n   * @maxLength 1000\n   */\n  next?: string | null;\n  /**\n   * Cursor pointing to previous page in the list of results.\n   * @maxLength 1000\n   */\n  prev?: string | null;\n}\n\nexport interface QueryDeletedEmailTransmissionsRequest {\n  /**\n   * MetaSite ID to query deleted email transmissions from.\n   * @format GUID\n   */\n  metaSiteId?: string;\n  /** Query options, including filter, sorting, and pagination. */\n  query?: CursorQuery;\n}\n\nexport interface QueryDeletedEmailTransmissionsResponse {\n  /**\n   * Retrieved deleted email transmissions.\n   * @maxSize 100\n   */\n  emailTransmissions?: EmailTransmission[];\n  /** Paging metadata. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * 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.\n   * 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.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entityAsJson?: string;\n  /**\n   * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n   * @internal\n   */\n  triggeredByUndelete?: boolean | null;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntityAsJson?: string;\n  /**\n   * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n   * wont populate it / have any reference to it in the API.\n   * 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,\n   * the developer should send only the new (current) entity.\n   * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n   * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n   * @internal\n   * @deprecated\n   */\n  previousEntityAsJson?: string | null;\n  /**\n   * Map of fully qualified field paths to their previous values for fields that changed.\n   * 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)\n   * @internal\n   */\n  modifiedFields?: Record<string, any>;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n  /**\n   * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n   * @internal\n   */\n  movedToTrash?: boolean | null;\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\nexport interface SendEmailTransmissionRequest {\n  /** Email transmission to send. */\n  emailTransmission: EmailTransmission;\n  /**\n   * Unique key used to prevent duplicate transmissions. If a request with the same idempotency key is received,\n   * the original response is returned without creating a new transmission.\n   * @format GUID\n   */\n  idempotencyKey?: string | null;\n}\n\nexport interface SendEmailTransmissionResponse {\n  /** Sent email transmission. */\n  emailTransmission?: EmailTransmission;\n}\n\nexport interface AccountSuspendedErrorDetails {\n  /**\n   * URL of the page where the site owner can contact support or learn more about the account suspension.\n   * @format WEB_URL\n   */\n  termsOfServicePageUrl?: string;\n}\n\nexport interface OutOfQuotaErrorDetails {\n  /**\n   * URL of the page where the site owner can upgrade their Email Marketing plan.\n   * @format WEB_URL\n   */\n  packagePickerUrl?: string;\n}\n\nexport interface GetEmailTransmissionRequest {\n  /**\n   * Email transmission ID.\n   * @format GUID\n   */\n  emailTransmissionId: string;\n}\n\nexport interface GetEmailTransmissionResponse {\n  /** Retrieved email transmission. */\n  emailTransmission?: EmailTransmission;\n}\n\nexport interface QueryEmailTransmissionsRequest {\n  /** Query options, including filter, sorting, and pagination. */\n  query?: CursorQuery;\n}\n\nexport interface QueryEmailTransmissionsResponse {\n  /** Retrieved email transmissions. */\n  emailTransmissions?: EmailTransmission[];\n  /** Paging metadata. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface DeleteEmailTransmissionRequest {\n  /**\n   * Email transmission ID.\n   * @format GUID\n   */\n  emailTransmissionId: string;\n}\n\nexport interface DeleteEmailTransmissionResponse {}\n\nexport interface Empty {}\n\n/** @docsIgnore */\nexport type SendEmailTransmissionApplicationErrors =\n  | {\n      code?: 'ACCOUNT_SUSPENDED';\n      description?: string;\n      data?: AccountSuspendedErrorDetails;\n    }\n  | {\n      code?: 'UNVERIFIED_SENDER_EMAIL';\n      description?: string;\n      data?: Record<string, any>;\n    }\n  | {\n      code?: 'OUT_OF_QUOTA';\n      description?: string;\n      data?: OutOfQuotaErrorDetails;\n    };\n/** @docsIgnore */\nexport type SendEmailTransmissionValidationErrors = {\n  ruleName?: 'INVALID_METADATA';\n};\n/** @docsIgnore */\nexport type DeleteEmailTransmissionApplicationErrors = {\n  code?: 'EMAIL_TRANSMISSION_IS_IN_PROGRESS';\n  description?: string;\n  data?: Record<string, any>;\n};\n","import * as ambassadorWixEmailsTransmissionsV1EmailTransmission from './emails-transmissions-v1-email-transmission-email-transmissions.http.js';\nimport * as ambassadorWixEmailsTransmissionsV1EmailTransmissionTypes from './emails-transmissions-v1-email-transmission-email-transmissions.types.js';\nimport * as ambassadorWixEmailsTransmissionsV1EmailTransmissionUniversalTypes from './emails-transmissions-v1-email-transmission-email-transmissions.universal.js';\n\nexport type __PublicMethodMetaInfo<\n  K = string,\n  M = unknown,\n  T = unknown,\n  S = unknown,\n  Q = unknown,\n  R = unknown\n> = {\n  getUrl: (context: any) => string;\n  httpMethod: K;\n  path: string;\n  pathParams: M;\n  __requestType: T;\n  __originalRequestType: S;\n  __responseType: Q;\n  __originalResponseType: R;\n};\n\nexport function sendEmailTransmission(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionUniversalTypes.SendEmailTransmissionRequest,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionTypes.SendEmailTransmissionRequest,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionUniversalTypes.SendEmailTransmissionResponse,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionTypes.SendEmailTransmissionResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEmailsTransmissionsV1EmailTransmission.sendEmailTransmission(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/email-transmissions/send',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getEmailTransmission(): __PublicMethodMetaInfo<\n  'GET',\n  { emailTransmissionId: string },\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionUniversalTypes.GetEmailTransmissionRequest,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionTypes.GetEmailTransmissionRequest,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionUniversalTypes.GetEmailTransmissionResponse,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionTypes.GetEmailTransmissionResponse\n> {\n  const payload = { emailTransmissionId: ':emailTransmissionId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixEmailsTransmissionsV1EmailTransmission.getEmailTransmission(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v1/email-transmissions/{emailTransmissionId}',\n    pathParams: { emailTransmissionId: 'emailTransmissionId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function queryEmailTransmissions(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionUniversalTypes.QueryEmailTransmissionsRequest,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionTypes.QueryEmailTransmissionsRequest,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionUniversalTypes.QueryEmailTransmissionsResponse,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionTypes.QueryEmailTransmissionsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixEmailsTransmissionsV1EmailTransmission.queryEmailTransmissions(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v1/email-transmissions/query',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function deleteEmailTransmission(): __PublicMethodMetaInfo<\n  'DELETE',\n  { emailTransmissionId: string },\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionUniversalTypes.DeleteEmailTransmissionRequest,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionTypes.DeleteEmailTransmissionRequest,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionUniversalTypes.DeleteEmailTransmissionResponse,\n  ambassadorWixEmailsTransmissionsV1EmailTransmissionTypes.DeleteEmailTransmissionResponse\n> {\n  const payload = { emailTransmissionId: ':emailTransmissionId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixEmailsTransmissionsV1EmailTransmission.deleteEmailTransmission(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v1/email-transmissions/{emailTransmissionId}',\n    pathParams: { emailTransmissionId: 'emailTransmissionId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  EmailTransmission as EmailTransmissionOriginal,\n  EmailTransmissionTypeOptionsOneOf as EmailTransmissionTypeOptionsOneOfOriginal,\n  EmailTransmissionStatusOptionsOneOf as EmailTransmissionStatusOptionsOneOfOriginal,\n  Recipient as RecipientOriginal,\n  RecipientValueOneOf as RecipientValueOneOfOriginal,\n  RecipientStatus as RecipientStatusOriginal,\n  RecipientStatusWithLiterals as RecipientStatusWithLiteralsOriginal,\n  FailureReason as FailureReasonOriginal,\n  FailureReasonWithLiterals as FailureReasonWithLiteralsOriginal,\n  Type as TypeOriginal,\n  TypeWithLiterals as TypeWithLiteralsOriginal,\n  MarketingOptions as MarketingOptionsOriginal,\n  Status as StatusOriginal,\n  StatusWithLiterals as StatusWithLiteralsOriginal,\n  RejectedOptions as RejectedOptionsOriginal,\n  RejectionReason as RejectionReasonOriginal,\n  RejectionReasonWithLiterals as RejectionReasonWithLiteralsOriginal,\n  GetLiveEmailTransmissionRequest as GetLiveEmailTransmissionRequestOriginal,\n  GetLiveEmailTransmissionResponse as GetLiveEmailTransmissionResponseOriginal,\n  GetDeletedEmailTransmissionRequest as GetDeletedEmailTransmissionRequestOriginal,\n  GetDeletedEmailTransmissionResponse as GetDeletedEmailTransmissionResponseOriginal,\n  QueryLiveEmailTransmissionsRequest as QueryLiveEmailTransmissionsRequestOriginal,\n  CursorQuery as CursorQueryOriginal,\n  CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  CursorPaging as CursorPagingOriginal,\n  QueryLiveEmailTransmissionsResponse as QueryLiveEmailTransmissionsResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  QueryDeletedEmailTransmissionsRequest as QueryDeletedEmailTransmissionsRequestOriginal,\n  QueryDeletedEmailTransmissionsResponse as QueryDeletedEmailTransmissionsResponseOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n  SendEmailTransmissionRequest as SendEmailTransmissionRequestOriginal,\n  SendEmailTransmissionResponse as SendEmailTransmissionResponseOriginal,\n  AccountSuspendedErrorDetails as AccountSuspendedErrorDetailsOriginal,\n  OutOfQuotaErrorDetails as OutOfQuotaErrorDetailsOriginal,\n  GetEmailTransmissionRequest as GetEmailTransmissionRequestOriginal,\n  GetEmailTransmissionResponse as GetEmailTransmissionResponseOriginal,\n  QueryEmailTransmissionsRequest as QueryEmailTransmissionsRequestOriginal,\n  QueryEmailTransmissionsResponse as QueryEmailTransmissionsResponseOriginal,\n  DeleteEmailTransmissionRequest as DeleteEmailTransmissionRequestOriginal,\n  DeleteEmailTransmissionResponse as DeleteEmailTransmissionResponseOriginal,\n  Empty as EmptyOriginal,\n  SendEmailTransmissionApplicationErrors as SendEmailTransmissionApplicationErrorsOriginal,\n  SendEmailTransmissionValidationErrors as SendEmailTransmissionValidationErrorsOriginal,\n  DeleteEmailTransmissionApplicationErrors as DeleteEmailTransmissionApplicationErrorsOriginal,\n} from './emails-transmissions-v1-email-transmission-email-transmissions.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,2DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB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A,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,2BAOd;AACA,QAAM,UAAU,EAAE,qBAAqB,uBAAuB;AAE9D,QAAM,oBACgD;AAAA,IAClD;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,qBAAqB,sBAAsB;AAAA,IACzD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","RecipientStatus","FailureReason","Type","Status","RejectionReason","SortOrder","WebhookIdentityType","sendEmailTransmission","getEmailTransmission","queryEmailTransmissions","deleteEmailTransmission"]}