// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file notification/v2/notification.proto (package notification.v2, syntax proto3) /* eslint-disable */ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; import type { PortalThemeConfig } from "../../artworker/v1/artworker_pb.js"; import { file_artworker_v1_artworker } from "../../artworker/v1/artworker_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file notification/v2/notification.proto. */ export const file_notification_v2_notification: GenFile = /*@__PURE__*/ fileDesc("CiJub3RpZmljYXRpb24vdjIvbm90aWZpY2F0aW9uLnByb3RvEg9ub3RpZmljYXRpb24udjIi6QMKDE5vdGlmaWNhdGlvbhIKCgJpZBgBIAEoCRIUCgxhcnR3b3JrZXJfaWQYAiABKAMSDgoGam9iX2lkGAMgASgJEhAKCGpvYl90eXBlGAQgASgJEhIKCmV2ZW50X3R5cGUYBSABKAkSFwoPcmVjaXBpZW50X2VtYWlsGAYgASgJEhYKDnJlY2lwaWVudF9uYW1lGAcgASgJEjMKBnN0YXR1cxgIIAEoDjIjLm5vdGlmaWNhdGlvbi52Mi5Ob3RpZmljYXRpb25TdGF0dXMSFQoNY2hhc2VfZW5hYmxlZBgJIAEoCBIaChJjaGFzZV9pbnRlcnZhbF9taW4YCiABKAUSEgoKbWF4X2NoYXNlcxgLIAEoBRITCgtjaGFzZXNfc2VudBgMIAEoBRI0ChBuZXh0X2NoYXNlX2FmdGVyGA0gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgpjcmVhdGVkX2F0GA4gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GA8gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIpCgVzZW5kcx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2ZXJ5U3RhdHVzEh8KG0RFTElWRVJZX1NUQVRVU19VTlNQRUNJRklFRBAAEhsKF0RFTElWRVJZX1NUQVRVU19QRU5ESU5HEAESGAoUREVMSVZFUllfU1RBVFVTX1NFTlQQAhIdChlERUxJVkVSWV9TVEFUVVNfREVMSVZFUkVEEAMSGgoWREVMSVZFUllfU1RBVFVTX09QRU5FRBAEEhoKFkRFTElWRVJZX1NUQVRVU19GQUlMRUQQBUJUWlJiaXRidWNrZXQub3JnL2t1ZG91ay9hcnR3b3JrZXItYmFja2VuZC9wcm90by9nZW4vZ28vbm90aWZpY2F0aW9uL3YyO25vdGlmaWNhdGlvbnYyYgZwcm90bzM", [file_google_protobuf_timestamp, file_artworker_v1_artworker]); /** * @generated from message notification.v2.Notification */ export type Notification = Message<"notification.v2.Notification"> & { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: int64 artworker_id = 2; */ artworkerId: bigint; /** * @generated from field: string job_id = 3; */ jobId: string; /** * @generated from field: string job_type = 4; */ jobType: string; /** * @generated from field: string event_type = 5; */ eventType: string; /** * @generated from field: string recipient_email = 6; */ recipientEmail: string; /** * @generated from field: string recipient_name = 7; */ recipientName: string; /** * @generated from field: notification.v2.NotificationStatus status = 8; */ status: NotificationStatus; /** * @generated from field: bool chase_enabled = 9; */ chaseEnabled: boolean; /** * @generated from field: int32 chase_interval_min = 10; */ chaseIntervalMin: number; /** * @generated from field: int32 max_chases = 11; */ maxChases: number; /** * @generated from field: int32 chases_sent = 12; */ chasesSent: number; /** * @generated from field: google.protobuf.Timestamp next_chase_after = 13; */ nextChaseAfter?: Timestamp; /** * @generated from field: google.protobuf.Timestamp created_at = 14; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 15; */ updatedAt?: Timestamp; /** * @generated from field: repeated notification.v2.EmailSend sends = 16; */ sends: EmailSend[]; }; /** * Describes the message notification.v2.Notification. * Use `create(NotificationSchema)` to create a new message. */ export const NotificationSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 0); /** * @generated from message notification.v2.EmailSend */ export type EmailSend = Message<"notification.v2.EmailSend"> & { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string notification_id = 2; */ notificationId: string; /** * @generated from field: string email_ref = 3; */ emailRef: string; /** * @generated from field: string template_name = 4; */ templateName: string; /** * @generated from field: string event_type = 5; */ eventType: string; /** * @generated from field: string recipient_email = 6; */ recipientEmail: string; /** * @generated from field: string recipient_name = 7; */ recipientName: string; /** * @generated from field: string sender_email = 8; */ senderEmail: string; /** * @generated from field: int64 artworker_id = 9; */ artworkerId: bigint; /** * @generated from field: string job_id = 10; */ jobId: string; /** * @generated from field: string job_type = 11; */ jobType: string; /** * @generated from field: bool is_chase = 12; */ isChase: boolean; /** * @generated from field: int32 chase_sequence = 13; */ chaseSequence: number; /** * @generated from field: notification.v2.DeliveryStatus status = 14; */ status: DeliveryStatus; /** * @generated from field: google.protobuf.Timestamp sent_at = 15; */ sentAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp delivered_at = 16; */ deliveredAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp opened_at = 17; */ openedAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp failed_at = 18; */ failedAt?: Timestamp; /** * @generated from field: string failure_reason = 19; */ failureReason: string; /** * @generated from field: google.protobuf.Timestamp created_at = 20; */ createdAt?: Timestamp; /** * true when this send was a consolidated/batch email * * @generated from field: bool is_consolidated = 21; */ isConsolidated: boolean; /** * "customer" | "supplier" * * @generated from field: string recipient_audience = 22; */ recipientAudience: string; /** * Action index for the job when returned from GetEmailSends / BatchGetEmailSends (per-job for link-only consolidated rows). * * @generated from field: int32 action_number = 23; */ actionNumber: number; /** * True when RenderEmailPreview(email_send_id) is expected to succeed for missing/invalid persisted * source (notification / consolidated batch). Best-effort: template or buildConsolidatedEmailData may still fail rarely. * * @generated from field: bool preview_available = 24; */ previewAvailable: boolean; }; /** * Describes the message notification.v2.EmailSend. * Use `create(EmailSendSchema)` to create a new message. */ export const EmailSendSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 1); /** * @generated from message notification.v2.SendReminderRequest */ export type SendReminderRequest = Message<"notification.v2.SendReminderRequest"> & { /** * @generated from field: string notification_id = 2; */ notificationId: string; /** * alternative to notification_id — looks up the active notification for this job * * @generated from field: string job_id = 3; */ jobId: string; }; /** * Describes the message notification.v2.SendReminderRequest. * Use `create(SendReminderRequestSchema)` to create a new message. */ export const SendReminderRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 2); /** * @generated from message notification.v2.SendReminderResponse */ export type SendReminderResponse = Message<"notification.v2.SendReminderResponse"> & { /** * @generated from field: bool ok = 1; */ ok: boolean; }; /** * Describes the message notification.v2.SendReminderResponse. * Use `create(SendReminderResponseSchema)` to create a new message. */ export const SendReminderResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 3); /** * @generated from message notification.v2.SendBulkReminderRequest */ export type SendBulkReminderRequest = Message<"notification.v2.SendBulkReminderRequest"> & { /** * @generated from field: repeated string notification_ids = 2; */ notificationIds: string[]; /** * alternative to notification_ids — each resolved to its active notification * * @generated from field: repeated string job_ids = 3; */ jobIds: string[]; }; /** * Describes the message notification.v2.SendBulkReminderRequest. * Use `create(SendBulkReminderRequestSchema)` to create a new message. */ export const SendBulkReminderRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 4); /** * @generated from message notification.v2.SendBulkReminderResponse */ export type SendBulkReminderResponse = Message<"notification.v2.SendBulkReminderResponse"> & { /** * @generated from field: bool ok = 1; */ ok: boolean; /** * @generated from field: repeated notification.v2.SendBulkReminderResponse.Error errors = 2; */ errors: SendBulkReminderResponse_Error[]; }; /** * Describes the message notification.v2.SendBulkReminderResponse. * Use `create(SendBulkReminderResponseSchema)` to create a new message. */ export const SendBulkReminderResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 5); /** * @generated from message notification.v2.SendBulkReminderResponse.Error */ export type SendBulkReminderResponse_Error = Message<"notification.v2.SendBulkReminderResponse.Error"> & { /** * @generated from field: string notification_id = 1; */ notificationId: string; /** * @generated from field: string error = 2; */ error: string; /** * populated when the request used job_ids * * @generated from field: string job_id = 3; */ jobId: string; }; /** * Describes the message notification.v2.SendBulkReminderResponse.Error. * Use `create(SendBulkReminderResponse_ErrorSchema)` to create a new message. */ export const SendBulkReminderResponse_ErrorSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 5, 0); /** * @generated from message notification.v2.SetEmailOpenedRequest */ export type SetEmailOpenedRequest = Message<"notification.v2.SetEmailOpenedRequest"> & { /** * @generated from field: string email_ref = 1; */ emailRef: string; }; /** * Describes the message notification.v2.SetEmailOpenedRequest. * Use `create(SetEmailOpenedRequestSchema)` to create a new message. */ export const SetEmailOpenedRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 6); /** * @generated from message notification.v2.SetEmailOpenedResponse */ export type SetEmailOpenedResponse = Message<"notification.v2.SetEmailOpenedResponse"> & { }; /** * Describes the message notification.v2.SetEmailOpenedResponse. * Use `create(SetEmailOpenedResponseSchema)` to create a new message. */ export const SetEmailOpenedResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 7); /** * @generated from message notification.v2.GetNotificationRequest */ export type GetNotificationRequest = Message<"notification.v2.GetNotificationRequest"> & { /** * @generated from field: string notification_id = 2; */ notificationId: string; /** * @generated from field: bool include_sends = 3; */ includeSends: boolean; /** * alternative to notification_id — looks up the active notification for this job * * @generated from field: string job_id = 4; */ jobId: string; }; /** * Describes the message notification.v2.GetNotificationRequest. * Use `create(GetNotificationRequestSchema)` to create a new message. */ export const GetNotificationRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 8); /** * @generated from message notification.v2.GetNotificationResponse */ export type GetNotificationResponse = Message<"notification.v2.GetNotificationResponse"> & { /** * @generated from field: notification.v2.Notification notification = 1; */ notification?: Notification; }; /** * Describes the message notification.v2.GetNotificationResponse. * Use `create(GetNotificationResponseSchema)` to create a new message. */ export const GetNotificationResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 9); /** * @generated from message notification.v2.GetJobEmailChaserInfoRequest */ export type GetJobEmailChaserInfoRequest = Message<"notification.v2.GetJobEmailChaserInfoRequest"> & { /** * @generated from field: string job_id = 1; */ jobId: string; /** * Optional hint to narrow consolidated/action-set lookups when known. * * @generated from field: string consolidate_key = 2; */ consolidateKey: string; }; /** * Describes the message notification.v2.GetJobEmailChaserInfoRequest. * Use `create(GetJobEmailChaserInfoRequestSchema)` to create a new message. */ export const GetJobEmailChaserInfoRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 10); /** * @generated from message notification.v2.GetJobEmailChaserInfoResponse */ export type GetJobEmailChaserInfoResponse = Message<"notification.v2.GetJobEmailChaserInfoResponse"> & { /** * @generated from field: bool has_chaser_email = 1; */ hasChaserEmail: boolean; /** * @generated from field: int64 seconds_until_chaser = 2; */ secondsUntilChaser: bigint; /** * @generated from field: google.protobuf.Timestamp chaser_sent_at = 3; */ chaserSentAt?: Timestamp; }; /** * Describes the message notification.v2.GetJobEmailChaserInfoResponse. * Use `create(GetJobEmailChaserInfoResponseSchema)` to create a new message. */ export const GetJobEmailChaserInfoResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 11); /** * @generated from message notification.v2.GetEmailSendsRequest */ export type GetEmailSendsRequest = Message<"notification.v2.GetEmailSendsRequest"> & { /** * @generated from field: string job_id = 2; */ jobId: string; /** * When empty, return all sends. Otherwise must be "customer" or "supplier" (matches EmailSend.recipient_audience). * * @generated from field: string recipient_audience = 3; */ recipientAudience: string; /** * When true, only sends whose action index for this job equals the max among sends after recipient_audience filtering. * * @generated from field: bool latest_action_only = 4; */ latestActionOnly: boolean; }; /** * Describes the message notification.v2.GetEmailSendsRequest. * Use `create(GetEmailSendsRequestSchema)` to create a new message. */ export const GetEmailSendsRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 12); /** * @generated from message notification.v2.GetEmailSendsResponse */ export type GetEmailSendsResponse = Message<"notification.v2.GetEmailSendsResponse"> & { /** * @generated from field: repeated notification.v2.EmailSend email_sends = 1; */ emailSends: EmailSend[]; }; /** * Describes the message notification.v2.GetEmailSendsResponse. * Use `create(GetEmailSendsResponseSchema)` to create a new message. */ export const GetEmailSendsResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 13); /** * @generated from message notification.v2.BatchGetEmailSendsRequest */ export type BatchGetEmailSendsRequest = Message<"notification.v2.BatchGetEmailSendsRequest"> & { /** * required, non-empty; max 100 recommended * * @generated from field: repeated string job_ids = 1; */ jobIds: string[]; /** * when true, at most the most recent send per job (faster) * * @generated from field: bool latest_only = 2; */ latestOnly: boolean; /** * When empty, return all sends. Otherwise must be "customer" or "supplier". latest_only applies after filtering. * * @generated from field: string recipient_audience = 3; */ recipientAudience: string; /** * When true, only sends in the latest action for each job (after recipient_audience). latest_only applies after this. * * @generated from field: bool latest_action_only = 4; */ latestActionOnly: boolean; }; /** * Describes the message notification.v2.BatchGetEmailSendsRequest. * Use `create(BatchGetEmailSendsRequestSchema)` to create a new message. */ export const BatchGetEmailSendsRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 14); /** * @generated from message notification.v2.JobEmailSends */ export type JobEmailSends = Message<"notification.v2.JobEmailSends"> & { /** * @generated from field: string job_id = 1; */ jobId: string; /** * @generated from field: repeated notification.v2.EmailSend email_sends = 2; */ emailSends: EmailSend[]; }; /** * Describes the message notification.v2.JobEmailSends. * Use `create(JobEmailSendsSchema)` to create a new message. */ export const JobEmailSendsSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 15); /** * @generated from message notification.v2.BatchGetEmailSendsResponse */ export type BatchGetEmailSendsResponse = Message<"notification.v2.BatchGetEmailSendsResponse"> & { /** * @generated from field: repeated notification.v2.JobEmailSends job_sends = 1; */ jobSends: JobEmailSends[]; }; /** * Describes the message notification.v2.BatchGetEmailSendsResponse. * Use `create(BatchGetEmailSendsResponseSchema)` to create a new message. */ export const BatchGetEmailSendsResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 16); /** * @generated from message notification.v2.SendConsolidatedNowRequest */ export type SendConsolidatedNowRequest = Message<"notification.v2.SendConsolidatedNowRequest"> & { /** * @generated from field: string consolidated_email_id = 1; */ consolidatedEmailId: string; }; /** * Describes the message notification.v2.SendConsolidatedNowRequest. * Use `create(SendConsolidatedNowRequestSchema)` to create a new message. */ export const SendConsolidatedNowRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 17); /** * @generated from message notification.v2.SendConsolidatedNowResponse */ export type SendConsolidatedNowResponse = Message<"notification.v2.SendConsolidatedNowResponse"> & { }; /** * Describes the message notification.v2.SendConsolidatedNowResponse. * Use `create(SendConsolidatedNowResponseSchema)` to create a new message. */ export const SendConsolidatedNowResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 18); /** * @generated from message notification.v2.SendSingleConsolidatedReminderRequest */ export type SendSingleConsolidatedReminderRequest = Message<"notification.v2.SendSingleConsolidatedReminderRequest"> & { /** * Preferred selector: unique action set item id for one pending consolidated action. * * @generated from field: string action_set_item_id = 1; */ actionSetItemId: string; /** * Fallback selectors: resolve active action set by key and target one job item. * * @generated from field: string consolidate_key = 2; */ consolidateKey: string; /** * @generated from field: string job_id = 3; */ jobId: string; }; /** * Describes the message notification.v2.SendSingleConsolidatedReminderRequest. * Use `create(SendSingleConsolidatedReminderRequestSchema)` to create a new message. */ export const SendSingleConsolidatedReminderRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 19); /** * @generated from message notification.v2.SendSingleConsolidatedReminderResponse */ export type SendSingleConsolidatedReminderResponse = Message<"notification.v2.SendSingleConsolidatedReminderResponse"> & { /** * @generated from field: bool ok = 1; */ ok: boolean; /** * Empty when dedup suppressed an immediate duplicate click. * * @generated from field: string email_send_id = 2; */ emailSendId: string; }; /** * Describes the message notification.v2.SendSingleConsolidatedReminderResponse. * Use `create(SendSingleConsolidatedReminderResponseSchema)` to create a new message. */ export const SendSingleConsolidatedReminderResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 20); /** * @generated from message notification.v2.ExtendConsolidatedTimerRequest */ export type ExtendConsolidatedTimerRequest = Message<"notification.v2.ExtendConsolidatedTimerRequest"> & { /** * @generated from field: string consolidated_email_id = 1; */ consolidatedEmailId: string; /** * @generated from field: int32 additional_seconds = 2; */ additionalSeconds: number; }; /** * Describes the message notification.v2.ExtendConsolidatedTimerRequest. * Use `create(ExtendConsolidatedTimerRequestSchema)` to create a new message. */ export const ExtendConsolidatedTimerRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 21); /** * @generated from message notification.v2.ExtendConsolidatedTimerResponse */ export type ExtendConsolidatedTimerResponse = Message<"notification.v2.ExtendConsolidatedTimerResponse"> & { /** * @generated from field: google.protobuf.Timestamp new_send_after = 1; */ newSendAfter?: Timestamp; }; /** * Describes the message notification.v2.ExtendConsolidatedTimerResponse. * Use `create(ExtendConsolidatedTimerResponseSchema)` to create a new message. */ export const ExtendConsolidatedTimerResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 22); /** * @generated from message notification.v2.GetConsolidatedEmailRequest */ export type GetConsolidatedEmailRequest = Message<"notification.v2.GetConsolidatedEmailRequest"> & { /** * backward compat: used as lookup key when consolidate_key empty * * @generated from field: string job_id = 1; */ jobId: string; /** * when set, used for lookup; else job_id is used * * @generated from field: string consolidate_key = 2; */ consolidateKey: string; }; /** * Describes the message notification.v2.GetConsolidatedEmailRequest. * Use `create(GetConsolidatedEmailRequestSchema)` to create a new message. */ export const GetConsolidatedEmailRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 23); /** * @generated from message notification.v2.GetConsolidatedEmailResponse */ export type GetConsolidatedEmailResponse = Message<"notification.v2.GetConsolidatedEmailResponse"> & { /** * @generated from field: notification.v2.ConsolidatedEmail consolidated_email = 1; */ consolidatedEmail?: ConsolidatedEmail; }; /** * Describes the message notification.v2.GetConsolidatedEmailResponse. * Use `create(GetConsolidatedEmailResponseSchema)` to create a new message. */ export const GetConsolidatedEmailResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 24); /** * @generated from message notification.v2.ConsolidatedEmail */ export type ConsolidatedEmail = Message<"notification.v2.ConsolidatedEmail"> & { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string job_id = 2; */ jobId: string; /** * @generated from field: string status = 3; */ status: string; /** * @generated from field: google.protobuf.Timestamp send_after = 4; */ sendAfter?: Timestamp; /** * @generated from field: int32 delay_seconds = 5; */ delaySeconds: number; /** * @generated from field: int32 item_count = 6; */ itemCount: number; /** * @generated from field: repeated notification.v2.ConsolidatedEmailItem items = 7; */ items: ConsolidatedEmailItem[]; /** * @generated from field: google.protobuf.Timestamp created_at = 8; */ createdAt?: Timestamp; }; /** * Describes the message notification.v2.ConsolidatedEmail. * Use `create(ConsolidatedEmailSchema)` to create a new message. */ export const ConsolidatedEmailSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 25); /** * @generated from message notification.v2.ConsolidatedEmailItem */ export type ConsolidatedEmailItem = Message<"notification.v2.ConsolidatedEmailItem"> & { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string job_item_id = 2; */ jobItemId: string; /** * @generated from field: string event_type = 3; */ eventType: string; /** * @generated from field: string action_summary = 4; */ actionSummary: string; /** * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp; }; /** * Describes the message notification.v2.ConsolidatedEmailItem. * Use `create(ConsolidatedEmailItemSchema)` to create a new message. */ export const ConsolidatedEmailItemSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 26); /** * @generated from message notification.v2.RenderEmailPreviewRequest */ export type RenderEmailPreviewRequest = Message<"notification.v2.RenderEmailPreviewRequest"> & { /** * @generated from field: string notification_id = 2; */ notificationId: string; /** * @generated from field: string job_id = 3; */ jobId: string; /** * @generated from field: string consolidated_email_id = 4; */ consolidatedEmailId: string; /** * @generated from field: string email_send_id = 5; */ emailSendId: string; }; /** * Describes the message notification.v2.RenderEmailPreviewRequest. * Use `create(RenderEmailPreviewRequestSchema)` to create a new message. */ export const RenderEmailPreviewRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 27); /** * @generated from message notification.v2.RenderSingleConsolidatedReminderPreviewRequest */ export type RenderSingleConsolidatedReminderPreviewRequest = Message<"notification.v2.RenderSingleConsolidatedReminderPreviewRequest"> & { /** * Preferred selector: unique action set item id for one pending consolidated action. * * @generated from field: string action_set_item_id = 1; */ actionSetItemId: string; /** * Fallback selectors: resolve active action set by key and target one job item. * * @generated from field: string consolidate_key = 2; */ consolidateKey: string; /** * @generated from field: string job_id = 3; */ jobId: string; }; /** * Describes the message notification.v2.RenderSingleConsolidatedReminderPreviewRequest. * Use `create(RenderSingleConsolidatedReminderPreviewRequestSchema)` to create a new message. */ export const RenderSingleConsolidatedReminderPreviewRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 28); /** * @generated from message notification.v2.RenderEmailPreviewResponse */ export type RenderEmailPreviewResponse = Message<"notification.v2.RenderEmailPreviewResponse"> & { /** * @generated from field: string subject = 1; */ subject: string; /** * @generated from field: string html = 2; */ html: string; /** * @generated from field: string plain_text = 3; */ plainText: string; /** * @generated from field: string template_name = 4; */ templateName: string; /** * @generated from field: string event_type = 5; */ eventType: string; /** * @generated from field: string recipient_email = 6; */ recipientEmail: string; /** * @generated from field: string recipient_name = 7; */ recipientName: string; }; /** * Describes the message notification.v2.RenderEmailPreviewResponse. * Use `create(RenderEmailPreviewResponseSchema)` to create a new message. */ export const RenderEmailPreviewResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 29); /** * @generated from message notification.v2.RenderConsolidatedThemePreviewRequest */ export type RenderConsolidatedThemePreviewRequest = Message<"notification.v2.RenderConsolidatedThemePreviewRequest"> & { /** * @generated from field: artworker.v1.PortalThemeConfig portal_theme_config = 1; */ portalThemeConfig?: PortalThemeConfig; /** * When empty, a placeholder logo URL is used in the preview. * * @generated from field: string logo_url = 2; */ logoUrl: string; }; /** * Describes the message notification.v2.RenderConsolidatedThemePreviewRequest. * Use `create(RenderConsolidatedThemePreviewRequestSchema)` to create a new message. */ export const RenderConsolidatedThemePreviewRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 30); /** * @generated from message notification.v2.RenderConsolidatedThemePreviewResponse */ export type RenderConsolidatedThemePreviewResponse = Message<"notification.v2.RenderConsolidatedThemePreviewResponse"> & { /** * @generated from field: string subject = 1; */ subject: string; /** * @generated from field: string html = 2; */ html: string; /** * @generated from field: string plain_text = 3; */ plainText: string; /** * @generated from field: string preheader = 4; */ preheader: string; }; /** * Describes the message notification.v2.RenderConsolidatedThemePreviewResponse. * Use `create(RenderConsolidatedThemePreviewResponseSchema)` to create a new message. */ export const RenderConsolidatedThemePreviewResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 31); /** * @generated from message notification.v2.TriggerChasesRequest */ export type TriggerChasesRequest = Message<"notification.v2.TriggerChasesRequest"> & { }; /** * Describes the message notification.v2.TriggerChasesRequest. * Use `create(TriggerChasesRequestSchema)` to create a new message. */ export const TriggerChasesRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 32); /** * @generated from message notification.v2.TriggerChasesResponse */ export type TriggerChasesResponse = Message<"notification.v2.TriggerChasesResponse"> & { /** * @generated from field: int32 chases_sent = 1; */ chasesSent: number; /** * @generated from field: int32 action_set_chases_sent = 2; */ actionSetChasesSent: number; }; /** * Describes the message notification.v2.TriggerChasesResponse. * Use `create(TriggerChasesResponseSchema)` to create a new message. */ export const TriggerChasesResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 33); /** * @generated from message notification.v2.RetryFailedEmailRequest */ export type RetryFailedEmailRequest = Message<"notification.v2.RetryFailedEmailRequest"> & { /** * @generated from field: string email_send_id = 1; */ emailSendId: string; }; /** * Describes the message notification.v2.RetryFailedEmailRequest. * Use `create(RetryFailedEmailRequestSchema)` to create a new message. */ export const RetryFailedEmailRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 34); /** * @generated from message notification.v2.RetryFailedEmailResponse */ export type RetryFailedEmailResponse = Message<"notification.v2.RetryFailedEmailResponse"> & { /** * the new send row created for the retry attempt * * @generated from field: string email_send_id = 1; */ emailSendId: string; }; /** * Describes the message notification.v2.RetryFailedEmailResponse. * Use `create(RetryFailedEmailResponseSchema)` to create a new message. */ export const RetryFailedEmailResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 35); /** * @generated from message notification.v2.GetJobGroupEmailHistoryRequest */ export type GetJobGroupEmailHistoryRequest = Message<"notification.v2.GetJobGroupEmailHistoryRequest"> & { /** * @generated from field: string consolidate_key = 1; */ consolidateKey: string; }; /** * Describes the message notification.v2.GetJobGroupEmailHistoryRequest. * Use `create(GetJobGroupEmailHistoryRequestSchema)` to create a new message. */ export const GetJobGroupEmailHistoryRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 36); /** * @generated from message notification.v2.GetJobGroupEmailHistoryResponse */ export type GetJobGroupEmailHistoryResponse = Message<"notification.v2.GetJobGroupEmailHistoryResponse"> & { /** * @generated from field: repeated notification.v2.EmailTimelineEntry entries = 1; */ entries: EmailTimelineEntry[]; }; /** * Describes the message notification.v2.GetJobGroupEmailHistoryResponse. * Use `create(GetJobGroupEmailHistoryResponseSchema)` to create a new message. */ export const GetJobGroupEmailHistoryResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 37); /** * @generated from message notification.v2.GetJobEmailHistoryInGroupRequest */ export type GetJobEmailHistoryInGroupRequest = Message<"notification.v2.GetJobEmailHistoryInGroupRequest"> & { /** * @generated from field: string consolidate_key = 1; */ consolidateKey: string; /** * @generated from field: string job_id = 2; */ jobId: string; }; /** * Describes the message notification.v2.GetJobEmailHistoryInGroupRequest. * Use `create(GetJobEmailHistoryInGroupRequestSchema)` to create a new message. */ export const GetJobEmailHistoryInGroupRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 38); /** * @generated from message notification.v2.GetJobEmailHistoryInGroupResponse */ export type GetJobEmailHistoryInGroupResponse = Message<"notification.v2.GetJobEmailHistoryInGroupResponse"> & { /** * @generated from field: repeated notification.v2.EmailTimelineEntry entries = 1; */ entries: EmailTimelineEntry[]; }; /** * Describes the message notification.v2.GetJobEmailHistoryInGroupResponse. * Use `create(GetJobEmailHistoryInGroupResponseSchema)` to create a new message. */ export const GetJobEmailHistoryInGroupResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 39); /** * @generated from message notification.v2.EmailTimelineEntry */ export type EmailTimelineEntry = Message<"notification.v2.EmailTimelineEntry"> & { /** * @generated from field: string email_send_id = 1; */ emailSendId: string; /** * @generated from field: string email_ref = 2; */ emailRef: string; /** * @generated from field: string template_name = 3; */ templateName: string; /** * @generated from field: string event_type = 4; */ eventType: string; /** * @generated from field: bool is_chase = 5; */ isChase: boolean; /** * @generated from field: int32 chase_sequence = 6; */ chaseSequence: number; /** * @generated from field: notification.v2.DeliveryStatus status = 7; */ status: DeliveryStatus; /** * @generated from field: google.protobuf.Timestamp sent_at = 8; */ sentAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp delivered_at = 9; */ deliveredAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp opened_at = 10; */ openedAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp failed_at = 11; */ failedAt?: Timestamp; /** * @generated from field: string failure_reason = 12; */ failureReason: string; /** * @generated from field: repeated string job_ids = 13; */ jobIds: string[]; /** * "customer" | "supplier" * * @generated from field: string recipient_audience = 14; */ recipientAudience: string; /** * Same semantics as EmailSend.preview_available. * * @generated from field: bool preview_available = 15; */ previewAvailable: boolean; }; /** * Describes the message notification.v2.EmailTimelineEntry. * Use `create(EmailTimelineEntrySchema)` to create a new message. */ export const EmailTimelineEntrySchema: GenMessage = /*@__PURE__*/ messageDesc(file_notification_v2_notification, 40); /** * @generated from enum notification.v2.NotificationStatus */ export enum NotificationStatus { /** * @generated from enum value: NOTIFICATION_STATUS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: NOTIFICATION_STATUS_ACTIVE = 1; */ ACTIVE = 1, /** * @generated from enum value: NOTIFICATION_STATUS_COMPLETED = 2; */ COMPLETED = 2, /** * @generated from enum value: NOTIFICATION_STATUS_CANCELLED = 3; */ CANCELLED = 3, } /** * Describes the enum notification.v2.NotificationStatus. */ export const NotificationStatusSchema: GenEnum = /*@__PURE__*/ enumDesc(file_notification_v2_notification, 0); /** * @generated from enum notification.v2.DeliveryStatus */ export enum DeliveryStatus { /** * @generated from enum value: DELIVERY_STATUS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: DELIVERY_STATUS_PENDING = 1; */ PENDING = 1, /** * @generated from enum value: DELIVERY_STATUS_SENT = 2; */ SENT = 2, /** * @generated from enum value: DELIVERY_STATUS_DELIVERED = 3; */ DELIVERED = 3, /** * @generated from enum value: DELIVERY_STATUS_OPENED = 4; */ OPENED = 4, /** * @generated from enum value: DELIVERY_STATUS_FAILED = 5; */ FAILED = 5, } /** * Describes the enum notification.v2.DeliveryStatus. */ export const DeliveryStatusSchema: GenEnum = /*@__PURE__*/ enumDesc(file_notification_v2_notification, 1);