// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file timeline/v1/timeline.proto (package timeline.v1, 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 { FileActionType } from "../../artworking/v1/artwork_pb.js"; import { file_artworking_v1_artwork } from "../../artworking/v1/artwork_pb.js"; import type { ImageTaskAction } from "../../artworking/v1/imagetask_pb.js"; import { file_artworking_v1_imagetask } from "../../artworking/v1/imagetask_pb.js"; import { file_timeline_v1_fixup } from "./fixup_pb.js"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file timeline/v1/timeline.proto. */ export const file_timeline_v1_timeline: GenFile = /*@__PURE__*/ fileDesc("Chp0aW1lbGluZS92MS90aW1lbGluZS5wcm90bxILdGltZWxpbmUudjEitgEKC0pvYlRpbWVsaW5lEgoKAmlkGAEgASgJEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEg4KBmpvYl9pZBgEIAEoCRIrCgh0aW1lbGluZRgFIAMoCzIZLnRpbWVsaW5lLnYxLlRpbWVsaW5lSXRlbSKMBQoMVGltZWxpbmVJdGVtEg0KBXRpdGxlGAEgASgJEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEj8KD2FydHdvcmtfYWN0aW9ucxgEIAMoCzImLnRpbWVsaW5lLnYxLlRpbWVsaW5lSXRlbUFydHdvcmtBY3Rpb24SHAoUcHJvb2ZfbWVkaWFf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1lc3RhbXASFQoNZW1haWxfc2VuZF9pZBgGIAEoCSJeChJHZXRUaW1lbGluZVJlcXVlc3QSDgoGam9iX2lkGAEgASgJEgwKBGhhc2gYAiABKAkSGQoMYXJ0d29ya2VyX2lkGAMgASgDSACIAQFCDwoNX2FydHdvcmtlcl9pZCJTChNHZXRUaW1lbGluZVJlc3BvbnNlEi4KDGpvYl90aW1lbGluZRgBIAEoCzIYLnRpbWVsaW5lLnYxLkpvYlRpbWVsaW5lEgwKBGhhc2gYAiABKAkiOAoaUmVjb3JkVGltZWxpbmVFdmVudFJlcXVlc3QSDAoEdHlwZRgBIAEoCRIMCgRkYXRhGAIgASgJIh0KG1JlY29yZFRpbWVsaW5lRXZlbnRSZXNwb25zZSqEAQoOVElNRUxJTkVfQUNUT1ISHAoYVElNRUxJTkVfQUNUT1JfVU5ERUZJTkVEEAASHAoYVElNRUxJTkVfQUNUT1JfQVJUV09SS0VSEAESGwoXVElNRUxJTkVfQUNUT1JfQ1VTVE9NRVIQAhIZChVUSU1FTElORV9BQ1RPUl9TWVNURU0QA0JMWkpiaXRidWNrZXQub3JnL2t1ZG91ay9hcnR3b3JrZXItYmFja2VuZC9wcm90by9nZW4vZ28vdGltZWxpbmUvdjE7dGltZWxpbmV2MWIGcHJvdG8z", [file_google_protobuf_timestamp, file_artworking_v1_artwork, file_artworking_v1_imagetask, file_timeline_v1_fixup]); /** * @generated from message timeline.v1.JobTimeline */ export type JobTimeline = Message<"timeline.v1.JobTimeline"> & { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp; /** * @generated from field: string job_id = 4; */ jobId: string; /** * @generated from field: repeated timeline.v1.TimelineItem timeline = 5; */ timeline: TimelineItem[]; }; /** * Describes the message timeline.v1.JobTimeline. * Use `create(JobTimelineSchema)` to create a new message. */ export const JobTimelineSchema: GenMessage = /*@__PURE__*/ messageDesc(file_timeline_v1_timeline, 0); /** * @generated from message timeline.v1.TimelineItem */ export type TimelineItem = Message<"timeline.v1.TimelineItem"> & { /** * @generated from field: string title = 1; */ title: string; /** * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp; /** * @generated from field: repeated timeline.v1.TimelineItemArtworkAction artwork_actions = 4; */ artworkActions: TimelineItemArtworkAction[]; /** * @generated from field: repeated int64 proof_media_item_ids = 5; */ proofMediaItemIds: bigint[]; /** * @generated from field: repeated timeline.v1.TimelineItemEmail chaser_emails = 6; */ chaserEmails: TimelineItemEmail[]; /** * @generated from field: google.protobuf.Timestamp chaser_email_last_sent_at = 7; */ chaserEmailLastSentAt?: Timestamp; /** * enum TIMELINE_ITEM_TYPE { * TIMELINE_ITEM_TYPE_UNDEFINED = 0; * TIMELINE_ITEM_TYPE_ACTION = 1; * TIMELINE_ITEM_TYPE_EMAIL_EVENT = 2; * } * * @generated from field: string icon = 8; */ icon: string; /** * @generated from field: timeline.v1.TIMELINE_ACTOR actor = 9; */ actor: TIMELINE_ACTOR; /** * @generated from field: int64 actor_id = 10; */ actorId: bigint; /** * @generated from field: string actor_name = 11; */ actorName: string; /** * @generated from field: string message = 12; */ message: string; /** * @generated from field: string theme = 13; */ theme: string; /** * FixupTimelineConfig fixup_config = 14; * * @generated from field: map additional_info = 15; */ additionalInfo: { [key: string]: string }; /** * ConversionTimelineConfig conversion_config = 16; * * TIMELINE_ITEM_TYPE type = 4; * oneof data{ * TimelineItemAction action = 5; * TimelineItemEmailEvent email_event = 6; * } * * @generated from field: artworking.v1.ImageTaskAction image_task_config = 17; */ imageTaskConfig?: ImageTaskAction; }; /** * Describes the message timeline.v1.TimelineItem. * Use `create(TimelineItemSchema)` to create a new message. */ export const TimelineItemSchema: GenMessage = /*@__PURE__*/ messageDesc(file_timeline_v1_timeline, 1); /** * @generated from message timeline.v1.TimelineItemArtworkAction */ export type TimelineItemArtworkAction = Message<"timeline.v1.TimelineItemArtworkAction"> & { /** * @generated from field: int64 media_item_id = 1; */ mediaItemId: bigint; /** * @generated from field: string message = 2; */ message: string; /** * @generated from field: artworking.v1.FileActionType file_action = 3; */ fileAction: FileActionType; /** * @generated from field: int64 job_artwork_item_id = 4; */ jobArtworkItemId: bigint; }; /** * Describes the message timeline.v1.TimelineItemArtworkAction. * Use `create(TimelineItemArtworkActionSchema)` to create a new message. */ export const TimelineItemArtworkActionSchema: GenMessage = /*@__PURE__*/ messageDesc(file_timeline_v1_timeline, 2); /** * @generated from message timeline.v1.TimelineItemEmail */ export type TimelineItemEmail = Message<"timeline.v1.TimelineItemEmail"> & { /** * @generated from field: string ref = 1; */ ref: string; /** * @generated from field: google.protobuf.Timestamp sent_at = 2; */ sentAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp delivered_at = 3; */ deliveredAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp opened_at = 4; */ openedAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp failed_at = 5; */ failedAt?: Timestamp; /** * @generated from field: string email_send_id = 6; */ emailSendId: string; }; /** * Describes the message timeline.v1.TimelineItemEmail. * Use `create(TimelineItemEmailSchema)` to create a new message. */ export const TimelineItemEmailSchema: GenMessage = /*@__PURE__*/ messageDesc(file_timeline_v1_timeline, 3); /** * @generated from message timeline.v1.GetTimelineRequest */ export type GetTimelineRequest = Message<"timeline.v1.GetTimelineRequest"> & { /** * @generated from field: string job_id = 1; */ jobId: string; /** * @generated from field: string hash = 2; */ hash: string; /** * @generated from field: optional int64 artworker_id = 3; */ artworkerId?: bigint; }; /** * Describes the message timeline.v1.GetTimelineRequest. * Use `create(GetTimelineRequestSchema)` to create a new message. */ export const GetTimelineRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_timeline_v1_timeline, 4); /** * @generated from message timeline.v1.GetTimelineResponse */ export type GetTimelineResponse = Message<"timeline.v1.GetTimelineResponse"> & { /** * @generated from field: timeline.v1.JobTimeline job_timeline = 1; */ jobTimeline?: JobTimeline; /** * @generated from field: string hash = 2; */ hash: string; }; /** * Describes the message timeline.v1.GetTimelineResponse. * Use `create(GetTimelineResponseSchema)` to create a new message. */ export const GetTimelineResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_timeline_v1_timeline, 5); /** * @generated from message timeline.v1.RecordTimelineEventRequest */ export type RecordTimelineEventRequest = Message<"timeline.v1.RecordTimelineEventRequest"> & { /** * @generated from field: string type = 1; */ type: string; /** * @generated from field: string data = 2; */ data: string; }; /** * Describes the message timeline.v1.RecordTimelineEventRequest. * Use `create(RecordTimelineEventRequestSchema)` to create a new message. */ export const RecordTimelineEventRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_timeline_v1_timeline, 6); /** * @generated from message timeline.v1.RecordTimelineEventResponse */ export type RecordTimelineEventResponse = Message<"timeline.v1.RecordTimelineEventResponse"> & { }; /** * Describes the message timeline.v1.RecordTimelineEventResponse. * Use `create(RecordTimelineEventResponseSchema)` to create a new message. */ export const RecordTimelineEventResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_timeline_v1_timeline, 7); /** * @generated from enum timeline.v1.TIMELINE_ACTOR */ export enum TIMELINE_ACTOR { /** * @generated from enum value: TIMELINE_ACTOR_UNDEFINED = 0; */ TIMELINE_ACTOR_UNDEFINED = 0, /** * @generated from enum value: TIMELINE_ACTOR_ARTWORKER = 1; */ TIMELINE_ACTOR_ARTWORKER = 1, /** * @generated from enum value: TIMELINE_ACTOR_CUSTOMER = 2; */ TIMELINE_ACTOR_CUSTOMER = 2, /** * @generated from enum value: TIMELINE_ACTOR_SYSTEM = 3; */ TIMELINE_ACTOR_SYSTEM = 3, } /** * Describes the enum timeline.v1.TIMELINE_ACTOR. */ export const TIMELINE_ACTORSchema: GenEnum = /*@__PURE__*/ enumDesc(file_timeline_v1_timeline, 0);