import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { ImageTaskAction } from "./imagetask_pb.js"; import type { PdfSplitAction } from "./pdfsplit_pb.js"; import type { Media } from "../../media/v1/media_pb.js"; import type { PaginatedQuery, PaginatedResponse } from "../../common/v1/query_pb.js"; import type { EmailStatus } from "../../common/v1/email_pb.js"; import type { StatsTotals } from "../../common/v1/stats_pb.js"; import type { MeasurementUnit } from "../../common/v1/unit_pb.js"; import type { PreflightResult } from "../../common/v1/preflight-warning_pb.js"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import type { JsonObject, Message } from "@bufbuild/protobuf"; /** * Describes the file artworking/v1/artwork.proto. */ export declare const file_artworking_v1_artwork: GenFile; /** * @generated from message artworking.v1.ArtworkRejectionReason */ export type ArtworkRejectionReason = Message<"artworking.v1.ArtworkRejectionReason"> & { /** * @generated from field: string reason_code = 1; */ reasonCode: string; /** * @generated from field: string reason = 2; */ reason: string; }; /** * Describes the message artworking.v1.ArtworkRejectionReason. * Use `create(ArtworkRejectionReasonSchema)` to create a new message. */ export declare const ArtworkRejectionReasonSchema: GenMessage; /** * Typed settings for JobActionTypeProofSubmit * * @generated from message artworking.v1.ProofSubmitSettings */ export type ProofSubmitSettings = Message<"artworking.v1.ProofSubmitSettings"> & { /** * @generated from field: bool enable_flipbook = 1; */ enableFlipbook: boolean; /** * @generated from field: int64 custom_guide_id = 2; */ customGuideId: bigint; /** * @generated from field: artworking.v1.SelectedGuideType selected_guide_type = 3; */ selectedGuideType: SelectedGuideType; /** * @generated from field: artworking.v1.DefaultCropType default_crop = 4; */ defaultCrop: DefaultCropType; }; /** * Describes the message artworking.v1.ProofSubmitSettings. * Use `create(ProofSubmitSettingsSchema)` to create a new message. */ export declare const ProofSubmitSettingsSchema: GenMessage; /** * Typed settings for FileActionTypeApprove * * @generated from message artworking.v1.FileApprovalSettings */ export type FileApprovalSettings = Message<"artworking.v1.FileApprovalSettings"> & {}; /** * Describes the message artworking.v1.FileApprovalSettings. * Use `create(FileApprovalSettingsSchema)` to create a new message. */ export declare const FileApprovalSettingsSchema: GenMessage; /** * Typed settings for FileActionTypeSubmit * * @generated from message artworking.v1.FileSubmitSettings */ export type FileSubmitSettings = Message<"artworking.v1.FileSubmitSettings"> & {}; /** * Describes the message artworking.v1.FileSubmitSettings. * Use `create(FileSubmitSettingsSchema)` to create a new message. */ export declare const FileSubmitSettingsSchema: GenMessage; /** * Typed settings for JobActionTypeComplete * * @generated from message artworking.v1.CompleteJobSettings */ export type CompleteJobSettings = Message<"artworking.v1.CompleteJobSettings"> & {}; /** * Describes the message artworking.v1.CompleteJobSettings. * Use `create(CompleteJobSettingsSchema)` to create a new message. */ export declare const CompleteJobSettingsSchema: GenMessage; /** * Typed settings for JobActionUploadArtwork * * @generated from message artworking.v1.ArtworkUploadSettings */ export type ArtworkUploadSettings = Message<"artworking.v1.ArtworkUploadSettings"> & {}; /** * Describes the message artworking.v1.ArtworkUploadSettings. * Use `create(ArtworkUploadSettingsSchema)` to create a new message. */ export declare const ArtworkUploadSettingsSchema: GenMessage; /** * @generated from message artworking.v1.DraftAction */ export type DraftAction = Message<"artworking.v1.DraftAction"> & { /** * hex ObjectID string * * @generated from field: string job_id = 1; */ jobId: string; /** * @generated from field: int32 artwork_item_id = 2; */ artworkItemId: number; /** * @generated from field: artworking.v1.FileActionType action = 3; */ action: FileActionType; /** * @generated from field: bool allow_override = 4; */ allowOverride: boolean; /** * @generated from field: artworking.v1.RejectionReasons rejection_reasons = 5; */ rejectionReasons?: RejectionReasons; /** * creator/owner * * @generated from field: int64 artworker_id = 6; */ artworkerId: bigint; }; /** * Describes the message artworking.v1.DraftAction. * Use `create(DraftActionSchema)` to create a new message. */ export declare const DraftActionSchema: GenMessage; /** * An artwork item is a single file (piece of artwork) in a job * * @generated from message artworking.v1.ArtworkItem */ export type ArtworkItem = Message<"artworking.v1.ArtworkItem"> & { /** * The main media file associated with this artwork item * * @generated from field: media.v1.Media media_item = 3; */ mediaItem?: Media; /** * Current state of the artwork item * * @generated from field: artworking.v1.ArtworkItemState state = 5; */ state: ArtworkItemState; /** * Optional message or note associated with the artwork item * * @generated from field: string message = 6; */ message: string; /** * The modified version of the media file, if any changes were made by the printer * * @generated from field: media.v1.Media changed_media_item = 8; */ changedMediaItem?: Media; /** * Gives the latest relavent action taking context into account. For example, if an item is rejected, moved to assets, then moved to active; the last_action_performed is moved-to-active but the "latest_action" is "rejected" * * @generated from field: artworking.v1.FileActionType latest_relevant_action = 9; */ latestRelevantAction: FileActionType; /** * Timestamp of the last update to this artwork item * * @generated from field: google.protobuf.Timestamp updated_at = 10; */ updatedAt?: Timestamp; /** * Display name of the artwork item * * @generated from field: string name = 11; */ name: string; /** * Unique identifier for this artwork item * * @generated from field: int32 id = 13; */ id: number; /** * List of actions that customers are allowed to perform on this item * * @generated from field: repeated artworking.v1.FileActionType customer_allowed_actions = 14; */ customerAllowedActions: FileActionType[]; /** * List of actions that suppliers are allowed to perform on this item * * @generated from field: repeated artworking.v1.FileActionType supplier_allowed_actions = 15; */ supplierAllowedActions: FileActionType[]; /** * ID of the associated media item * * @generated from field: int64 media_item_id = 16; */ mediaItemId: bigint; /** * Reasons for rejection if the item was rejected * * @generated from field: artworking.v1.RejectionReasons rejection_reasons = 17; */ rejectionReasons?: RejectionReasons; /** * The last action performed. Differs from "latest_relevant_action" in that "latest_relevant_action" gives the latest relavent action taking context into account. For example, if an item is rejected, moved to assets, then moved to active; the last_action_performed is moved-to-active but the "latest_action" is "rejected" * * @generated from field: artworking.v1.FileActionType last_action_performed = 19; */ lastActionPerformed: FileActionType; /** * Information about any image task applied to this item * * @generated from field: optional artworking.v1.ImageTaskAction image_task = 21; */ imageTask?: ImageTaskAction; /** * Custom reference for external systems to identify this file * * @generated from field: string custom_ref = 22; */ customRef: string; }; /** * Describes the message artworking.v1.ArtworkItem. * Use `create(ArtworkItemSchema)` to create a new message. */ export declare const ArtworkItemSchema: GenMessage; /** * @generated from message artworking.v1.RejectionReasons */ export type RejectionReasons = Message<"artworking.v1.RejectionReasons"> & { /** * @generated from field: repeated common.v1.PreflightResult preflight_rejection_reasons = 1; */ preflightRejectionReasons: PreflightResult[]; }; /** * Describes the message artworking.v1.RejectionReasons. * Use `create(RejectionReasonsSchema)` to create a new message. */ export declare const RejectionReasonsSchema: GenMessage; /** * @generated from message artworking.v1.SelectedFileRequirement */ export type SelectedFileRequirement = Message<"artworking.v1.SelectedFileRequirement"> & { /** * @generated from field: string requirement_code = 1; */ requirementCode: string; /** * @generated from field: string requirement = 2; */ requirement: string; /** * @generated from field: string option_code = 3; */ optionCode: string; /** * @generated from field: string option = 4; */ option: string; /** * @generated from field: artworking.v1.SelectedFileRequirement.Meta meta = 5; */ meta?: SelectedFileRequirement_Meta; }; /** * Describes the message artworking.v1.SelectedFileRequirement. * Use `create(SelectedFileRequirementSchema)` to create a new message. */ export declare const SelectedFileRequirementSchema: GenMessage; /** * @generated from message artworking.v1.SelectedFileRequirement.Meta */ export type SelectedFileRequirement_Meta = Message<"artworking.v1.SelectedFileRequirement.Meta"> & { /** * @generated from field: string context = 1; */ context: string; /** * @generated from field: string id = 2; */ id: string; }; /** * Describes the message artworking.v1.SelectedFileRequirement.Meta. * Use `create(SelectedFileRequirement_MetaSchema)` to create a new message. */ export declare const SelectedFileRequirement_MetaSchema: GenMessage; /** * @generated from message artworking.v1.Proofs */ export type Proofs = Message<"artworking.v1.Proofs"> & { /** * @generated from field: google.protobuf.Timestamp updated_at = 1; */ updatedAt?: Timestamp; /** * @generated from field: repeated int64 media_item_ids = 7; */ mediaItemIds: bigint[]; /** * @generated from field: repeated media.v1.Media media_items = 3; */ mediaItems: Media[]; /** * @generated from field: string message = 4; */ message: string; /** * @generated from field: bool allow_download = 5; */ allowDownload: boolean; /** * @generated from field: artworking.v1.ProofSubmitSettings settings = 6; */ settings?: ProofSubmitSettings; }; /** * Describes the message artworking.v1.Proofs. * Use `create(ProofsSchema)` to create a new message. */ export declare const ProofsSchema: GenMessage; /** * @generated from message artworking.v1.ArtworkStateHistoryEntry */ export type ArtworkStateHistoryEntry = Message<"artworking.v1.ArtworkStateHistoryEntry"> & { /** * @generated from field: google.protobuf.Timestamp created_at = 1; */ createdAt?: Timestamp; /** * @generated from field: artworking.v1.ArtworkState state = 2; */ state: ArtworkState; /** * @generated from field: string message = 3; */ message: string; /** * @generated from field: common.v1.EmailStatus email_status = 4; */ emailStatus?: EmailStatus; }; /** * Describes the message artworking.v1.ArtworkStateHistoryEntry. * Use `create(ArtworkStateHistoryEntrySchema)` to create a new message. */ export declare const ArtworkStateHistoryEntrySchema: GenMessage; /** * @generated from message artworking.v1.ArtworkMessage */ export type ArtworkMessage = Message<"artworking.v1.ArtworkMessage"> & { /** * @generated from field: google.protobuf.Timestamp created_at = 1; */ createdAt?: Timestamp; /** * @generated from field: string message = 2; */ message: string; /** * @generated from field: artworking.v1.ArtworkActor actor = 3; */ actor: ArtworkActor; }; /** * Describes the message artworking.v1.ArtworkMessage. * Use `create(ArtworkMessageSchema)` to create a new message. */ export declare const ArtworkMessageSchema: GenMessage; /** * A job is a collection of artwork items * * @generated from message artworking.v1.Job */ export type Job = Message<"artworking.v1.Job"> & { /** * Unique identifier for the job * * @generated from field: string id = 1; */ id: string; /** * Timestamp of when the job was created * * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; /** * Timestamp of when the job was last updated * * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp; /** * List of artwork items in the job * * @generated from field: repeated artworking.v1.ArtworkItem items = 5; */ items: ArtworkItem[]; /** * no artwork has been uploaded * * @generated from field: bool pristine = 6; */ pristine: boolean; /** * ID of the contact associated with the job * * @generated from field: int64 contact_id = 7; */ contactId: bigint; /** * Name of the contact associated with the job * * @generated from field: string contact_name = 8; */ contactName: string; /** * Reference number for the order associated with the job * * @generated from field: string order_ref = 9; */ orderRef: string; /** * URI of the job * * @generated from field: string uri = 10; */ uri: string; /** * Name of the job * * @generated from field: string name = 11; */ name: string; /** * ArtworkType type = 12; // Type of artwork * * Current state of the job * * @generated from field: artworking.v1.ArtworkState state = 14; */ state: ArtworkState; /** * Name of the supplier associated with the job * * @generated from field: string supplier_name = 15; */ supplierName: string; /** * ID of the supplier associated with the job * * @generated from field: int64 supplier_id = 16; */ supplierId: bigint; /** * Proofs associated with the job * * @generated from field: artworking.v1.Proofs proofs = 17; */ proofs?: Proofs; /** * Messages associated with the job * * @generated from field: repeated artworking.v1.ArtworkMessage messages = 18; */ messages: ArtworkMessage[]; /** * Whether to disable proof review for the job * * @generated from field: bool disable_proof_review = 19; */ disableProofReview: boolean; /** * Configuration for the job * * @generated from field: artworking.v1.JobConfig config = 20; */ config?: JobConfig; /** * Whether to enable chaser emails for the job * * @generated from field: bool enable_chaser_emails = 21; */ enableChaserEmails: boolean; /** * List of actions that customers are allowed to perform on the job * * @generated from field: repeated artworking.v1.JobAction customer_allowed_actions = 22; */ customerAllowedActions: JobAction[]; /** * List of actions that suppliers are allowed to perform on the job * * @generated from field: repeated artworking.v1.JobAction supplier_allowed_actions = 23; */ supplierAllowedActions: JobAction[]; /** * Reference number for the latest chaser email sent to the customer * * @generated from field: string latest_chaser_email_ref = 24; */ latestChaserEmailRef: string; /** * Internal notes associated with the job * * @generated from field: repeated artworking.v1.ArtworkMessage internal_notes = 25; */ internalNotes: ArtworkMessage[]; /** * Whether the proofs and artwork are out of sync * * @generated from field: bool proofs_and_artwork_out_of_sync = 26; */ proofsAndArtworkOutOfSync: boolean; /** * Length of the leadtime for the job * * @generated from field: int32 leadtime_length = 27; */ leadtimeLength: number; /** * Unit of the leadtime for the job * * @generated from field: artworking.v1.LeadtimeLengthUnit leadtime_length_unit = 28; */ leadtimeLengthUnit: LeadtimeLengthUnit; /** * Whether the job requires proofs * * @generated from field: bool requires_proof = 29; */ requiresProof: boolean; /** * Measurement unit for the job * * @generated from field: common.v1.MeasurementUnit measurement_unit = 30; */ measurementUnit: MeasurementUnit; /** * for use with unauthed users * * @generated from field: string contact_ref = 31; */ contactRef: string; /** * State of the fixup for the job * * @generated from field: artworking.v1.ArtworkItemState fixup_state = 32; */ fixupState: ArtworkItemState; /** * External link for the job * * @generated from field: optional artworking.v1.ExternalLink external_link = 33; */ externalLink?: ExternalLink; /** * Reason for cancelling the job * * @generated from field: optional string cancelled_reason = 34; */ cancelledReason?: string; /** * Tags associated with the job * * @generated from field: repeated string tags = 35; */ tags: string[]; /** * Index of the job in the job group * * @generated from field: int32 index = 36; */ index: number; /** * Number of jobs in the job group * * @generated from field: int32 job_group_count = 37; */ jobGroupCount: number; /** * Email address of the contact associated with the job * * @generated from field: string contact_email = 38; */ contactEmail: string; /** * Reference number for the job group * * @generated from field: string job_group_ref = 39; */ jobGroupRef: string; /** * Name of the company associated with the job * * @generated from field: string company_name = 40; */ companyName: string; /** * State of the conversion for the job * * @generated from field: artworking.v1.ArtworkItemState conversion_state = 41; */ conversionState: ArtworkItemState; /** * Type of job * * @generated from field: artworking.v1.JobType type = 42; */ type: JobType; /** * ID of the job share associated with the job * * @generated from field: optional string share_id = 43; */ shareId?: string; /** * External reference for API lookups (unique per supplier) * * @generated from field: string external_ref = 44; */ externalRef: string; /** * URI of the parent job group * * @generated from field: string job_group_uri = 45; */ jobGroupUri: string; /** * MongoDB ObjectID of the parent job group * * @generated from field: string job_group_id = 46; */ jobGroupId: string; /** * Actor that performed the latest job action * * @generated from field: artworking.v1.ArtworkActor last_action_actor = 47; */ lastActionActor: ArtworkActor; /** * Optional metadata * * @generated from field: google.protobuf.Struct metadata = 48; */ metadata?: JsonObject; }; /** * Describes the message artworking.v1.Job. * Use `create(JobSchema)` to create a new message. */ export declare const JobSchema: GenMessage; /** * @generated from message artworking.v1.FlowConfig */ export type FlowConfig = Message<"artworking.v1.FlowConfig"> & { /** * @generated from field: string flow = 1; */ flow: string; }; /** * Describes the message artworking.v1.FlowConfig. * Use `create(FlowConfigSchema)` to create a new message. */ export declare const FlowConfigSchema: GenMessage; /** * @generated from message artworking.v1.JobConfig */ export type JobConfig = Message<"artworking.v1.JobConfig"> & { /** * repeated FileAction allowed_artwork_item_actions = 2; * repeated ProofsAction allowed_proof_actions = 3; * * @generated from field: artworking.v1.FlowConfig flow_config = 1; */ flowConfig?: FlowConfig; }; /** * Describes the message artworking.v1.JobConfig. * Use `create(JobConfigSchema)` to create a new message. */ export declare const JobConfigSchema: GenMessage; /** * @generated from message artworking.v1.ExternalLink */ export type ExternalLink = Message<"artworking.v1.ExternalLink"> & { /** * @generated from field: string url = 1; */ url: string; /** * @generated from field: string button_text = 2; */ buttonText: string; }; /** * Describes the message artworking.v1.ExternalLink. * Use `create(ExternalLinkSchema)` to create a new message. */ export declare const ExternalLinkSchema: GenMessage; /** * Request to update an existing job's basic information * * @generated from message artworking.v1.UpdateJobRequest */ export type UpdateJobRequest = Message<"artworking.v1.UpdateJobRequest"> & { /** * ID of the job to update * * @generated from field: string id = 1; */ id: string; /** * New name for the job * * @generated from field: string name = 2; */ name: string; /** * New order reference for the job * * @generated from field: string order_ref = 3; */ orderRef: string; /** * External reference for API lookups (unique per supplier) * * @generated from field: optional string external_ref = 4; */ externalRef?: string; /** * Optional metadata * * @generated from field: optional google.protobuf.Struct metadata = 5; */ metadata?: JsonObject; }; /** * Describes the message artworking.v1.UpdateJobRequest. * Use `create(UpdateJobRequestSchema)` to create a new message. */ export declare const UpdateJobRequestSchema: GenMessage; /** * @generated from message artworking.v1.UpdateJobResponse */ export type UpdateJobResponse = Message<"artworking.v1.UpdateJobResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.UpdateJobResponse. * Use `create(UpdateJobResponseSchema)` to create a new message. */ export declare const UpdateJobResponseSchema: GenMessage; /** * Request to convert a temporary job to an active job * * @generated from message artworking.v1.PromoteTempJobToActiveRequest */ export type PromoteTempJobToActiveRequest = Message<"artworking.v1.PromoteTempJobToActiveRequest"> & { /** * Custom unique identifier of the temporary job to promote * * @generated from field: string custom_uid = 1; */ customUid: string; }; /** * Describes the message artworking.v1.PromoteTempJobToActiveRequest. * Use `create(PromoteTempJobToActiveRequestSchema)` to create a new message. */ export declare const PromoteTempJobToActiveRequestSchema: GenMessage; /** * @generated from message artworking.v1.PromoteTempJobToActiveResponse */ export type PromoteTempJobToActiveResponse = Message<"artworking.v1.PromoteTempJobToActiveResponse"> & { /** * @generated from field: bool ok = 1; */ ok: boolean; }; /** * Describes the message artworking.v1.PromoteTempJobToActiveResponse. * Use `create(PromoteTempJobToActiveResponseSchema)` to create a new message. */ export declare const PromoteTempJobToActiveResponseSchema: GenMessage; /** * Request to update job-specific settings * * @generated from message artworking.v1.SetJobSettingsRequest */ export type SetJobSettingsRequest = Message<"artworking.v1.SetJobSettingsRequest"> & { /** * ID of the job to update settings for * * @generated from field: string id = 1; */ id: string; /** * Whether to enable automatic reminder emails for this job * * @generated from field: bool enable_chaser_emails = 2; */ enableChaserEmails: boolean; }; /** * Describes the message artworking.v1.SetJobSettingsRequest. * Use `create(SetJobSettingsRequestSchema)` to create a new message. */ export declare const SetJobSettingsRequestSchema: GenMessage; /** * @generated from message artworking.v1.SetJobSettingsResponse */ export type SetJobSettingsResponse = Message<"artworking.v1.SetJobSettingsResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.SetJobSettingsResponse. * Use `create(SetJobSettingsResponseSchema)` to create a new message. */ export declare const SetJobSettingsResponseSchema: GenMessage; /** * Request to delete a job * * @generated from message artworking.v1.DeleteJobRequest */ export type DeleteJobRequest = Message<"artworking.v1.DeleteJobRequest"> & { /** * ID of the job to delete * * @generated from field: string id = 1; */ id: string; }; /** * Describes the message artworking.v1.DeleteJobRequest. * Use `create(DeleteJobRequestSchema)` to create a new message. */ export declare const DeleteJobRequestSchema: GenMessage; /** * @generated from message artworking.v1.DeleteJobResponse */ export type DeleteJobResponse = Message<"artworking.v1.DeleteJobResponse"> & { /** * @generated from field: bool ok = 1; */ ok: boolean; }; /** * Describes the message artworking.v1.DeleteJobResponse. * Use `create(DeleteJobResponseSchema)` to create a new message. */ export declare const DeleteJobResponseSchema: GenMessage; /** * Request to delete multiple jobs in a single operation * * @generated from message artworking.v1.BulkDeleteJobsRequest */ export type BulkDeleteJobsRequest = Message<"artworking.v1.BulkDeleteJobsRequest"> & { /** * List of job IDs to delete * * @generated from field: repeated string ids = 1; */ ids: string[]; }; /** * Describes the message artworking.v1.BulkDeleteJobsRequest. * Use `create(BulkDeleteJobsRequestSchema)` to create a new message. */ export declare const BulkDeleteJobsRequestSchema: GenMessage; /** * @generated from message artworking.v1.BulkDeleteJobsResponse */ export type BulkDeleteJobsResponse = Message<"artworking.v1.BulkDeleteJobsResponse"> & { /** * @generated from field: bool ok = 1; */ ok: boolean; /** * @generated from field: repeated artworking.v1.BulkDeleteJobsResponse.Error errors = 2; */ errors: BulkDeleteJobsResponse_Error[]; }; /** * Describes the message artworking.v1.BulkDeleteJobsResponse. * Use `create(BulkDeleteJobsResponseSchema)` to create a new message. */ export declare const BulkDeleteJobsResponseSchema: GenMessage; /** * @generated from message artworking.v1.BulkDeleteJobsResponse.Error */ export type BulkDeleteJobsResponse_Error = Message<"artworking.v1.BulkDeleteJobsResponse.Error"> & { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: string error = 2; */ error: string; }; /** * Describes the message artworking.v1.BulkDeleteJobsResponse.Error. * Use `create(BulkDeleteJobsResponse_ErrorSchema)` to create a new message. */ export declare const BulkDeleteJobsResponse_ErrorSchema: GenMessage; /** * @generated from message artworking.v1.FilterJobRequestFilter */ export type FilterJobRequestFilter = Message<"artworking.v1.FilterJobRequestFilter"> & { /** * @generated from field: string value = 1; */ value: string; /** * @generated from field: artworking.v1.JobFilterType filter_type = 2; */ filterType: JobFilterType; /** * @generated from field: artworking.v1.JobFilterCondition filter_condition = 3; */ filterCondition: JobFilterCondition; }; /** * Describes the message artworking.v1.FilterJobRequestFilter. * Use `create(FilterJobRequestFilterSchema)` to create a new message. */ export declare const FilterJobRequestFilterSchema: GenMessage; /** * Request to search for jobs with various filters * * @generated from message artworking.v1.FindJobRequest */ export type FindJobRequest = Message<"artworking.v1.FindJobRequest"> & { /** * Filter by specific contact IDs * * @generated from field: repeated int64 contact_ids = 7; */ contactIds: bigint[]; /** * Filter by specific job states * * @generated from field: repeated artworking.v1.ArtworkState states = 8; */ states: ArtworkState[]; /** * Pagination and sorting parameters * * @generated from field: common.v1.PaginatedQuery query = 9; */ query?: PaginatedQuery; /** * Filter by specific company IDs * * @generated from field: repeated int64 company_ids = 10; */ companyIds: bigint[]; /** * Additional custom filters to apply * * @generated from field: repeated artworking.v1.FilterJobRequestFilter filters = 11; */ filters: FilterJobRequestFilter[]; /** * Filter by job type * * @generated from field: artworking.v1.JobType type = 12; */ type: JobType; }; /** * Describes the message artworking.v1.FindJobRequest. * Use `create(FindJobRequestSchema)` to create a new message. */ export declare const FindJobRequestSchema: GenMessage; /** * @generated from message artworking.v1.FindJobResponse */ export type FindJobResponse = Message<"artworking.v1.FindJobResponse"> & { /** * @generated from field: repeated artworking.v1.Job data = 1; */ data: Job[]; /** * @generated from field: common.v1.PaginatedResponse pagination = 2; */ pagination?: PaginatedResponse; }; /** * Describes the message artworking.v1.FindJobResponse. * Use `create(FindJobResponseSchema)` to create a new message. */ export declare const FindJobResponseSchema: GenMessage; /** * Request to get unique values for a specific field * * @generated from message artworking.v1.GetDistinctFieldMatchesRequest */ export type GetDistinctFieldMatchesRequest = Message<"artworking.v1.GetDistinctFieldMatchesRequest"> & { /** * Type of field to get distinct values for * * @generated from field: artworking.v1.JobFilterType filter_type = 1; */ filterType: JobFilterType; /** * Partial value to match against * * @generated from field: string partial_value = 2; */ partialValue: string; /** * Maximum number of results to return * * @generated from field: int32 limit = 3; */ limit: number; }; /** * Describes the message artworking.v1.GetDistinctFieldMatchesRequest. * Use `create(GetDistinctFieldMatchesRequestSchema)` to create a new message. */ export declare const GetDistinctFieldMatchesRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetDistinctFieldMatchesResponse */ export type GetDistinctFieldMatchesResponse = Message<"artworking.v1.GetDistinctFieldMatchesResponse"> & { /** * @generated from field: repeated string matches = 1; */ matches: string[]; /** * @generated from field: int32 count = 2; */ count: number; }; /** * Describes the message artworking.v1.GetDistinctFieldMatchesResponse. * Use `create(GetDistinctFieldMatchesResponseSchema)` to create a new message. */ export declare const GetDistinctFieldMatchesResponseSchema: GenMessage; /** * Request to get a job by its ID * * @generated from message artworking.v1.GetJobByIdRequest */ export type GetJobByIdRequest = Message<"artworking.v1.GetJobByIdRequest"> & { /** * ID of the job to retrieve * * @generated from field: string id = 1; */ id: string; }; /** * Describes the message artworking.v1.GetJobByIdRequest. * Use `create(GetJobByIdRequestSchema)` to create a new message. */ export declare const GetJobByIdRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobByIdResponse */ export type GetJobByIdResponse = Message<"artworking.v1.GetJobByIdResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.GetJobByIdResponse. * Use `create(GetJobByIdResponseSchema)` to create a new message. */ export declare const GetJobByIdResponseSchema: GenMessage; /** * Request to get a job by its URI * * @generated from message artworking.v1.GetJobByUriRequest */ export type GetJobByUriRequest = Message<"artworking.v1.GetJobByUriRequest"> & { /** * URI of the job to retrieve * * @generated from field: string uri = 1; */ uri: string; }; /** * Describes the message artworking.v1.GetJobByUriRequest. * Use `create(GetJobByUriRequestSchema)` to create a new message. */ export declare const GetJobByUriRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobByUriResponse */ export type GetJobByUriResponse = Message<"artworking.v1.GetJobByUriResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.GetJobByUriResponse. * Use `create(GetJobByUriResponseSchema)` to create a new message. */ export declare const GetJobByUriResponseSchema: GenMessage; /** * Request to get a job by its custom unique identifier * * @generated from message artworking.v1.GetJobByCustomUIDRequest */ export type GetJobByCustomUIDRequest = Message<"artworking.v1.GetJobByCustomUIDRequest"> & { /** * Custom unique identifier of the job * * @generated from field: string custom_uid = 1; */ customUid: string; /** * API key for authentication * * @generated from field: string api_key = 2; */ apiKey: string; }; /** * Describes the message artworking.v1.GetJobByCustomUIDRequest. * Use `create(GetJobByCustomUIDRequestSchema)` to create a new message. */ export declare const GetJobByCustomUIDRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobByCustomUIDResponse */ export type GetJobByCustomUIDResponse = Message<"artworking.v1.GetJobByCustomUIDResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.GetJobByCustomUIDResponse. * Use `create(GetJobByCustomUIDResponseSchema)` to create a new message. */ export declare const GetJobByCustomUIDResponseSchema: GenMessage; /** * Request to get multiple jobs by their IDs * * @generated from message artworking.v1.GetJobByIdsRequest */ export type GetJobByIdsRequest = Message<"artworking.v1.GetJobByIdsRequest"> & { /** * List of job IDs to retrieve * * @generated from field: repeated string ids = 1; */ ids: string[]; }; /** * Describes the message artworking.v1.GetJobByIdsRequest. * Use `create(GetJobByIdsRequestSchema)` to create a new message. */ export declare const GetJobByIdsRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobByIdsResponse */ export type GetJobByIdsResponse = Message<"artworking.v1.GetJobByIdsResponse"> & { /** * @generated from field: repeated artworking.v1.Job jobs = 1; */ jobs: Job[]; }; /** * Describes the message artworking.v1.GetJobByIdsResponse. * Use `create(GetJobByIdsResponseSchema)` to create a new message. */ export declare const GetJobByIdsResponseSchema: GenMessage; /** * @generated from message artworking.v1.GetJobRejectionReasonListRequest */ export type GetJobRejectionReasonListRequest = Message<"artworking.v1.GetJobRejectionReasonListRequest"> & {}; /** * Describes the message artworking.v1.GetJobRejectionReasonListRequest. * Use `create(GetJobRejectionReasonListRequestSchema)` to create a new message. */ export declare const GetJobRejectionReasonListRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobRejectionReasonListResponse */ export type GetJobRejectionReasonListResponse = Message<"artworking.v1.GetJobRejectionReasonListResponse"> & { /** * @generated from field: repeated artworking.v1.ArtworkRejectionReason data = 1; */ data: ArtworkRejectionReason[]; }; /** * Describes the message artworking.v1.GetJobRejectionReasonListResponse. * Use `create(GetJobRejectionReasonListResponseSchema)` to create a new message. */ export declare const GetJobRejectionReasonListResponseSchema: GenMessage; /** * Request to perform one or more actions on a job. Each action (JobActionItem) can be either: 1. A simple job action (e.g., request artwork, submit proof, complete job) 2. A batch file update (JOB_ACTION_BATCHFILEUPDATE) that includes a list of FileActions to perform on specific files. When using JOB_ACTION_BATCHFILEUPDATE, each FileAction specifies the file ID, action type, and optional metadata like messages or rejection reasons. * * @generated from message artworking.v1.SubmitJobActionRequest */ export type SubmitJobActionRequest = Message<"artworking.v1.SubmitJobActionRequest"> & { /** * ID of the artwork to act upon * * @generated from field: string artwork_id = 1; */ artworkId: string; /** * List of actions to perform * * @generated from field: repeated artworking.v1.SubmitJobActionRequest.JobActionItem actions = 2; */ actions: SubmitJobActionRequest_JobActionItem[]; /** * Whether to perform a dry run without making changes * * @generated from field: bool is_dry_run = 3; */ isDryRun: boolean; /** * Optional note about the action * * @generated from field: string note = 5; */ note: string; /** * API key for authentication * * @generated from field: string api_key = 6; */ apiKey: string; /** * Whether to populate media items in the response (e.g., for proof files) * * @generated from field: bool populate_media = 7; */ populateMedia: boolean; }; /** * Describes the message artworking.v1.SubmitJobActionRequest. * Use `create(SubmitJobActionRequestSchema)` to create a new message. */ export declare const SubmitJobActionRequestSchema: GenMessage; /** * Action to perform on a specific file within a job. When submitting a new file, use FILE_ACTION_SUBMIT and set the ID to the next available number (e.g., if there are 2 existing files, the new file should have ID 3). For existing files, specify the file's current ID and the desired action type (e.g., approve, reject, request revision). * * @generated from message artworking.v1.SubmitJobActionRequest.FileAction */ export type SubmitJobActionRequest_FileAction = Message<"artworking.v1.SubmitJobActionRequest.FileAction"> & { /** * ID of the file to act upon * * @generated from field: int32 id = 1; */ id: number; /** * ID of the media item * * @generated from field: int64 media_item_id = 2; */ mediaItemId: bigint; /** * Type of action to perform * * @generated from field: artworking.v1.FileActionType action = 3; */ action: FileActionType; /** * Optional message explaining the action * * @generated from field: string message = 4; */ message: string; /** * Actions that should be disabled after this action * * @generated from field: repeated artworking.v1.FileActionType disabled_file_actions = 5; */ disabledFileActions: FileActionType[]; /** * Reasons for rejection if applicable * * @generated from field: artworking.v1.RejectionReasons rejection_reasons = 6; */ rejectionReasons?: RejectionReasons; /** * Image task action details if applicable * * @generated from field: artworking.v1.ImageTaskAction image_task_action = 9; */ imageTaskAction?: ImageTaskAction; /** * PDF split action details if applicable * * @generated from field: artworking.v1.PdfSplitAction pdf_split_action = 10; */ pdfSplitAction?: PdfSplitAction; /** * Typed settings based on action type * * @generated from oneof artworking.v1.SubmitJobActionRequest.FileAction.action_settings */ actionSettings: { /** * @generated from field: artworking.v1.FileApprovalSettings file_approval_settings = 11; */ value: FileApprovalSettings; case: "fileApprovalSettings"; } | { /** * @generated from field: artworking.v1.FileSubmitSettings file_submit_settings = 12; */ value: FileSubmitSettings; case: "fileSubmitSettings"; } | { case: undefined; value?: undefined; }; /** * External reference for API lookups via ref- prefix * * @generated from field: string external_ref = 13; */ externalRef: string; }; /** * Describes the message artworking.v1.SubmitJobActionRequest.FileAction. * Use `create(SubmitJobActionRequest_FileActionSchema)` to create a new message. */ export declare const SubmitJobActionRequest_FileActionSchema: GenMessage; /** * Action to perform on the job. Can include: - A list of file actions (when using JOB_ACTION_BATCHFILEUPDATE) - A specific job action (e.g., request artwork, submit proof) - Optional metadata like messages, disabled actions, and workflow configuration * * @generated from message artworking.v1.SubmitJobActionRequest.JobActionItem */ export type SubmitJobActionRequest_JobActionItem = Message<"artworking.v1.SubmitJobActionRequest.JobActionItem"> & { /** * List of file actions to perform * * @generated from field: repeated artworking.v1.SubmitJobActionRequest.FileAction file_actions = 1; */ fileActions: SubmitJobActionRequest_FileAction[]; /** * Type of job action to perform * * @generated from field: artworking.v1.JobAction action = 2; */ action: JobAction; /** * IDs of media items to group together * * @generated from field: repeated int64 group_media_ids = 3; */ groupMediaIds: bigint[]; /** * Workflow to follow * * @generated from field: string flow = 4; */ flow: string; /** * Job actions that should be disabled after this action * * @generated from field: repeated artworking.v1.JobAction disabled_job_actions = 5; */ disabledJobActions: JobAction[]; /** * Optional message explaining the action * * @generated from field: string message = 6; */ message: string; /** * Customer's signature if required * * @generated from field: string customer_signature = 7; */ customerSignature: string; /** * Additional information for the action * * @generated from field: map additional_info = 8; */ additionalInfo: { [key: string]: string; }; /** * Typed settings based on action type * * @generated from oneof artworking.v1.SubmitJobActionRequest.JobActionItem.action_settings */ actionSettings: { /** * @generated from field: artworking.v1.ProofSubmitSettings proof_submit_settings = 10; */ value: ProofSubmitSettings; case: "proofSubmitSettings"; } | { /** * @generated from field: artworking.v1.CompleteJobSettings complete_job_settings = 11; */ value: CompleteJobSettings; case: "completeJobSettings"; } | { /** * @generated from field: artworking.v1.ArtworkUploadSettings artwork_upload_settings = 12; */ value: ArtworkUploadSettings; case: "artworkUploadSettings"; } | { case: undefined; value?: undefined; }; }; /** * Describes the message artworking.v1.SubmitJobActionRequest.JobActionItem. * Use `create(SubmitJobActionRequest_JobActionItemSchema)` to create a new message. */ export declare const SubmitJobActionRequest_JobActionItemSchema: GenMessage; /** * @generated from message artworking.v1.SubmitJobActionResponse */ export type SubmitJobActionResponse = Message<"artworking.v1.SubmitJobActionResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.SubmitJobActionResponse. * Use `create(SubmitJobActionResponseSchema)` to create a new message. */ export declare const SubmitJobActionResponseSchema: GenMessage; /** * Request to submit an action for multiple jobs * * @generated from message artworking.v1.SubmitBulkJobActionRequest */ export type SubmitBulkJobActionRequest = Message<"artworking.v1.SubmitBulkJobActionRequest"> & { /** * List of job IDs to act upon * * @generated from field: repeated string job_ids = 1; */ jobIds: string[]; /** * Action to perform * * @generated from field: artworking.v1.SubmitBulkJobActionRequest.JobActionItem action = 3; */ action?: SubmitBulkJobActionRequest_JobActionItem; /** * Whether to perform a dry run without making changes * * @generated from field: bool is_dry_run = 4; */ isDryRun: boolean; /** * Optional note about the action * * @generated from field: string note = 5; */ note: string; /** * API key for authentication * * @generated from field: string api_key = 6; */ apiKey: string; }; /** * Describes the message artworking.v1.SubmitBulkJobActionRequest. * Use `create(SubmitBulkJobActionRequestSchema)` to create a new message. */ export declare const SubmitBulkJobActionRequestSchema: GenMessage; /** * Action to perform on the jobs * * @generated from message artworking.v1.SubmitBulkJobActionRequest.JobActionItem */ export type SubmitBulkJobActionRequest_JobActionItem = Message<"artworking.v1.SubmitBulkJobActionRequest.JobActionItem"> & { /** * Type of job action to perform * * @generated from field: artworking.v1.JobAction action = 1; */ action: JobAction; /** * IDs of media items to group together * * @generated from field: repeated int64 group_media_ids = 2; */ groupMediaIds: bigint[]; /** * Workflow to follow * * @generated from field: string flow = 3; */ flow: string; /** * Job actions that should be disabled after this action * * @generated from field: repeated artworking.v1.JobAction disabled_job_actions = 4; */ disabledJobActions: JobAction[]; }; /** * Describes the message artworking.v1.SubmitBulkJobActionRequest.JobActionItem. * Use `create(SubmitBulkJobActionRequest_JobActionItemSchema)` to create a new message. */ export declare const SubmitBulkJobActionRequest_JobActionItemSchema: GenMessage; /** * @generated from message artworking.v1.SubmitBulkJobActionResponse */ export type SubmitBulkJobActionResponse = Message<"artworking.v1.SubmitBulkJobActionResponse"> & { /** * @generated from field: artworking.v1.SubmitBulkJobActionResponse.BulkActionResults results = 1; */ results?: SubmitBulkJobActionResponse_BulkActionResults; }; /** * Describes the message artworking.v1.SubmitBulkJobActionResponse. * Use `create(SubmitBulkJobActionResponseSchema)` to create a new message. */ export declare const SubmitBulkJobActionResponseSchema: GenMessage; /** * @generated from message artworking.v1.SubmitBulkJobActionResponse.BulkActionResultFailure */ export type SubmitBulkJobActionResponse_BulkActionResultFailure = Message<"artworking.v1.SubmitBulkJobActionResponse.BulkActionResultFailure"> & { /** * @generated from field: string job_id = 1; */ jobId: string; /** * @generated from field: string error = 2; */ error: string; }; /** * Describes the message artworking.v1.SubmitBulkJobActionResponse.BulkActionResultFailure. * Use `create(SubmitBulkJobActionResponse_BulkActionResultFailureSchema)` to create a new message. */ export declare const SubmitBulkJobActionResponse_BulkActionResultFailureSchema: GenMessage; /** * @generated from message artworking.v1.SubmitBulkJobActionResponse.BulkActionResults */ export type SubmitBulkJobActionResponse_BulkActionResults = Message<"artworking.v1.SubmitBulkJobActionResponse.BulkActionResults"> & { /** * @generated from field: repeated artworking.v1.SubmitBulkJobActionResponse.BulkActionResultFailure failures = 1; */ failures: SubmitBulkJobActionResponse_BulkActionResultFailure[]; }; /** * Describes the message artworking.v1.SubmitBulkJobActionResponse.BulkActionResults. * Use `create(SubmitBulkJobActionResponse_BulkActionResultsSchema)` to create a new message. */ export declare const SubmitBulkJobActionResponse_BulkActionResultsSchema: GenMessage; /** * @generated from message artworking.v1.JobStats */ export type JobStats = Message<"artworking.v1.JobStats"> & { /** * @generated from field: int32 awaiting_artwork = 1; */ awaitingArtwork: number; /** * @generated from field: int32 awaiting_approval = 2; */ awaitingApproval: number; /** * @generated from field: int32 rejected = 3; */ rejected: number; /** * @generated from field: int32 ready_for_production = 4; */ readyForProduction: number; /** * @generated from field: int32 complete = 5; */ complete: number; /** * @generated from field: int32 proof_awaiting_approval = 6; */ proofAwaitingApproval: number; /** * @generated from field: common.v1.StatsTotals totals = 7; */ totals?: StatsTotals; }; /** * Describes the message artworking.v1.JobStats. * Use `create(JobStatsSchema)` to create a new message. */ export declare const JobStatsSchema: GenMessage; /** * @generated from message artworking.v1.GetJobStatsRequest */ export type GetJobStatsRequest = Message<"artworking.v1.GetJobStatsRequest"> & {}; /** * Describes the message artworking.v1.GetJobStatsRequest. * Use `create(GetJobStatsRequestSchema)` to create a new message. */ export declare const GetJobStatsRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobStatsResponse */ export type GetJobStatsResponse = Message<"artworking.v1.GetJobStatsResponse"> & { /** * @generated from field: artworking.v1.JobStats stats = 1; */ stats?: JobStats; }; /** * Describes the message artworking.v1.GetJobStatsResponse. * Use `create(GetJobStatsResponseSchema)` to create a new message. */ export declare const GetJobStatsResponseSchema: GenMessage; /** * @generated from message artworking.v1.JobFilterSummary */ export type JobFilterSummary = Message<"artworking.v1.JobFilterSummary"> & { /** * @generated from field: int32 all_jobs = 1; */ allJobs: number; /** * @generated from field: int32 action_required = 2; */ actionRequired: number; /** * @generated from field: int32 with_customer = 3; */ withCustomer: number; }; /** * Describes the message artworking.v1.JobFilterSummary. * Use `create(JobFilterSummarySchema)` to create a new message. */ export declare const JobFilterSummarySchema: GenMessage; /** * @generated from message artworking.v1.GetJobFilterSummaryRequest */ export type GetJobFilterSummaryRequest = Message<"artworking.v1.GetJobFilterSummaryRequest"> & {}; /** * Describes the message artworking.v1.GetJobFilterSummaryRequest. * Use `create(GetJobFilterSummaryRequestSchema)` to create a new message. */ export declare const GetJobFilterSummaryRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobFilterSummaryResponse */ export type GetJobFilterSummaryResponse = Message<"artworking.v1.GetJobFilterSummaryResponse"> & { /** * @generated from field: artworking.v1.JobFilterSummary counts = 1; */ counts?: JobFilterSummary; }; /** * Describes the message artworking.v1.GetJobFilterSummaryResponse. * Use `create(GetJobFilterSummaryResponseSchema)` to create a new message. */ export declare const GetJobFilterSummaryResponseSchema: GenMessage; /** * Request to mark a job as complete * * @generated from message artworking.v1.MarkAsCompleteRequest */ export type MarkAsCompleteRequest = Message<"artworking.v1.MarkAsCompleteRequest"> & { /** * ID of the artwork to mark as complete * * @generated from field: string artwork_id = 1; */ artworkId: string; }; /** * Describes the message artworking.v1.MarkAsCompleteRequest. * Use `create(MarkAsCompleteRequestSchema)` to create a new message. */ export declare const MarkAsCompleteRequestSchema: GenMessage; /** * @generated from message artworking.v1.MarkAsCompleteResponse */ export type MarkAsCompleteResponse = Message<"artworking.v1.MarkAsCompleteResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.MarkAsCompleteResponse. * Use `create(MarkAsCompleteResponseSchema)` to create a new message. */ export declare const MarkAsCompleteResponseSchema: GenMessage; /** * Request to add an internal note to a job * * @generated from message artworking.v1.AddInternalJobNoteRequest */ export type AddInternalJobNoteRequest = Message<"artworking.v1.AddInternalJobNoteRequest"> & { /** * ID of the job to add note to * * @generated from field: string id = 1; */ id: string; /** * Note content to add * * @generated from field: string note = 2; */ note: string; }; /** * Describes the message artworking.v1.AddInternalJobNoteRequest. * Use `create(AddInternalJobNoteRequestSchema)` to create a new message. */ export declare const AddInternalJobNoteRequestSchema: GenMessage; /** * @generated from message artworking.v1.AddInternalJobNoteResponse */ export type AddInternalJobNoteResponse = Message<"artworking.v1.AddInternalJobNoteResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.AddInternalJobNoteResponse. * Use `create(AddInternalJobNoteResponseSchema)` to create a new message. */ export declare const AddInternalJobNoteResponseSchema: GenMessage; /** * Request to change the contact associated with a job * * @generated from message artworking.v1.ChangeJobsContactRequest */ export type ChangeJobsContactRequest = Message<"artworking.v1.ChangeJobsContactRequest"> & { /** * ID of the job to update * * @generated from field: string job_id = 1; */ jobId: string; /** * ID of the new contact * * @generated from field: int64 contact_id = 2; */ contactId: bigint; /** * Whether to resend the latest notification to the new contact * * @generated from field: bool resend_latest_notification = 3; */ resendLatestNotification: boolean; }; /** * Describes the message artworking.v1.ChangeJobsContactRequest. * Use `create(ChangeJobsContactRequestSchema)` to create a new message. */ export declare const ChangeJobsContactRequestSchema: GenMessage; /** * @generated from message artworking.v1.ChangeJobsContactResponse */ export type ChangeJobsContactResponse = Message<"artworking.v1.ChangeJobsContactResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.ChangeJobsContactResponse. * Use `create(ChangeJobsContactResponseSchema)` to create a new message. */ export declare const ChangeJobsContactResponseSchema: GenMessage; /** * Request to change the contact for all jobs of a specific contact * * @generated from message artworking.v1.ChangeAllContactsJobsRequest */ export type ChangeAllContactsJobsRequest = Message<"artworking.v1.ChangeAllContactsJobsRequest"> & { /** * ID of the current contact * * @generated from field: int64 current_contact_id = 1; */ currentContactId: bigint; /** * ID of the new contact * * @generated from field: int64 new_contact_id = 2; */ newContactId: bigint; /** * Whether to resend the latest notification to the new contact * * @generated from field: bool resend_latest_notification = 3; */ resendLatestNotification: boolean; }; /** * Describes the message artworking.v1.ChangeAllContactsJobsRequest. * Use `create(ChangeAllContactsJobsRequestSchema)` to create a new message. */ export declare const ChangeAllContactsJobsRequestSchema: GenMessage; /** * @generated from message artworking.v1.ChangeAllContactsJobsResponse */ export type ChangeAllContactsJobsResponse = Message<"artworking.v1.ChangeAllContactsJobsResponse"> & {}; /** * Describes the message artworking.v1.ChangeAllContactsJobsResponse. * Use `create(ChangeAllContactsJobsResponseSchema)` to create a new message. */ export declare const ChangeAllContactsJobsResponseSchema: GenMessage; /** * Request to get the current state of a job * * @generated from message artworking.v1.GetJobStateRequest */ export type GetJobStateRequest = Message<"artworking.v1.GetJobStateRequest"> & { /** * ID of the job to get state for * * @generated from field: string job_id = 1; */ jobId: string; }; /** * Describes the message artworking.v1.GetJobStateRequest. * Use `create(GetJobStateRequestSchema)` to create a new message. */ export declare const GetJobStateRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobStateResponse */ export type GetJobStateResponse = Message<"artworking.v1.GetJobStateResponse"> & { /** * @generated from field: artworking.v1.ArtworkState job_state = 1; */ jobState: ArtworkState; /** * @generated from field: bool is_with_customer = 2; */ isWithCustomer: boolean; }; /** * Describes the message artworking.v1.GetJobStateResponse. * Use `create(GetJobStateResponseSchema)` to create a new message. */ export declare const GetJobStateResponseSchema: GenMessage; /** * Request to get all media items associated with a job * * @generated from message artworking.v1.GetAllMediaItemsForJobRequest */ export type GetAllMediaItemsForJobRequest = Message<"artworking.v1.GetAllMediaItemsForJobRequest"> & { /** * ID of the job to get media items for * * @generated from field: string job_id = 1; */ jobId: string; }; /** * Describes the message artworking.v1.GetAllMediaItemsForJobRequest. * Use `create(GetAllMediaItemsForJobRequestSchema)` to create a new message. */ export declare const GetAllMediaItemsForJobRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetAllMediaItemsForJobResponse */ export type GetAllMediaItemsForJobResponse = Message<"artworking.v1.GetAllMediaItemsForJobResponse"> & { /** * @generated from field: repeated int64 media_item_ids = 1; */ mediaItemIds: bigint[]; }; /** * Describes the message artworking.v1.GetAllMediaItemsForJobResponse. * Use `create(GetAllMediaItemsForJobResponseSchema)` to create a new message. */ export declare const GetAllMediaItemsForJobResponseSchema: GenMessage; /** * Request to set the measurement unit for a job * * @generated from message artworking.v1.SetMeasurementUnitRequest */ export type SetMeasurementUnitRequest = Message<"artworking.v1.SetMeasurementUnitRequest"> & { /** * ID of the job to update * * @generated from field: string job_id = 1; */ jobId: string; /** * New measurement unit to set * * @generated from field: common.v1.MeasurementUnit measurement_unit = 2; */ measurementUnit: MeasurementUnit; }; /** * Describes the message artworking.v1.SetMeasurementUnitRequest. * Use `create(SetMeasurementUnitRequestSchema)` to create a new message. */ export declare const SetMeasurementUnitRequestSchema: GenMessage; /** * @generated from message artworking.v1.SetMeasurementUnitResponse */ export type SetMeasurementUnitResponse = Message<"artworking.v1.SetMeasurementUnitResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.SetMeasurementUnitResponse. * Use `create(SetMeasurementUnitResponseSchema)` to create a new message. */ export declare const SetMeasurementUnitResponseSchema: GenMessage; /** * Request to get job count statistics for a customer * * @generated from message artworking.v1.CustomerJobCountRequest */ export type CustomerJobCountRequest = Message<"artworking.v1.CustomerJobCountRequest"> & { /** * ID of the contact to get statistics for * * @generated from field: int64 contact_id = 1; */ contactId: bigint; }; /** * Describes the message artworking.v1.CustomerJobCountRequest. * Use `create(CustomerJobCountRequestSchema)` to create a new message. */ export declare const CustomerJobCountRequestSchema: GenMessage; /** * @generated from message artworking.v1.CustomerJobCountResponse */ export type CustomerJobCountResponse = Message<"artworking.v1.CustomerJobCountResponse"> & { /** * @generated from field: int32 job_count = 1; */ jobCount: number; /** * @generated from field: int32 files_count = 2; */ filesCount: number; /** * @generated from field: int32 transfers_count = 3; */ transfersCount: number; }; /** * Describes the message artworking.v1.CustomerJobCountResponse. * Use `create(CustomerJobCountResponseSchema)` to create a new message. */ export declare const CustomerJobCountResponseSchema: GenMessage; /** * Request to get job count statistics for a company * * @generated from message artworking.v1.CompanyJobCountRequest */ export type CompanyJobCountRequest = Message<"artworking.v1.CompanyJobCountRequest"> & { /** * ID of the company to get statistics for * * @generated from field: int64 company_id = 1; */ companyId: bigint; }; /** * Describes the message artworking.v1.CompanyJobCountRequest. * Use `create(CompanyJobCountRequestSchema)` to create a new message. */ export declare const CompanyJobCountRequestSchema: GenMessage; /** * @generated from message artworking.v1.CompanyJobCountResponse */ export type CompanyJobCountResponse = Message<"artworking.v1.CompanyJobCountResponse"> & { /** * @generated from field: int32 job_count = 1; */ jobCount: number; /** * @generated from field: int32 files_count = 2; */ filesCount: number; /** * @generated from field: int32 transfers_count = 3; */ transfersCount: number; }; /** * Describes the message artworking.v1.CompanyJobCountResponse. * Use `create(CompanyJobCountResponseSchema)` to create a new message. */ export declare const CompanyJobCountResponseSchema: GenMessage; /** * Request to get job count statistics by job type * * @generated from message artworking.v1.GetJobTypeCountsRequest */ export type GetJobTypeCountsRequest = Message<"artworking.v1.GetJobTypeCountsRequest"> & { /** * Optional: filter by specific contact ID * * @generated from field: optional int64 contact_id = 1; */ contactId?: bigint; /** * Optional: filter by specific company ID * * @generated from field: optional int64 company_id = 2; */ companyId?: bigint; /** * Optional: filter by specific supplier ID * * @generated from field: optional int64 supplier_id = 3; */ supplierId?: bigint; /** * Optional: filter by job states * * @generated from field: repeated artworking.v1.ArtworkState states = 4; */ states: ArtworkState[]; /** * Optional: filter jobs created from this date * * @generated from field: google.protobuf.Timestamp date_from = 5; */ dateFrom?: Timestamp; /** * Optional: filter jobs created until this date * * @generated from field: google.protobuf.Timestamp date_to = 6; */ dateTo?: Timestamp; }; /** * Describes the message artworking.v1.GetJobTypeCountsRequest. * Use `create(GetJobTypeCountsRequestSchema)` to create a new message. */ export declare const GetJobTypeCountsRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobTypeCountsResponse */ export type GetJobTypeCountsResponse = Message<"artworking.v1.GetJobTypeCountsResponse"> & { /** * Map of job type name to count (e.g., "JOB_TYPE_JOB" -> 150) * * @generated from field: map counts = 1; */ counts: { [key: string]: number; }; /** * Total number of jobs across all types * * @generated from field: int32 total_count = 2; */ totalCount: number; }; /** * Describes the message artworking.v1.GetJobTypeCountsResponse. * Use `create(GetJobTypeCountsResponseSchema)` to create a new message. */ export declare const GetJobTypeCountsResponseSchema: GenMessage; /** * Request to add a job to a job group * * @generated from message artworking.v1.AddJobToJobGroupRequest */ export type AddJobToJobGroupRequest = Message<"artworking.v1.AddJobToJobGroupRequest"> & { /** * @generated from field: string job_group_id = 1; */ jobGroupId: string; /** * @generated from field: string name = 2; */ name: string; /** * alternative to job_group_id * * @generated from field: string job_group_ref = 3; */ jobGroupRef: string; /** * Optional metadata * * @generated from field: optional google.protobuf.Struct metadata = 4; */ metadata?: JsonObject; }; /** * Describes the message artworking.v1.AddJobToJobGroupRequest. * Use `create(AddJobToJobGroupRequestSchema)` to create a new message. */ export declare const AddJobToJobGroupRequestSchema: GenMessage; /** * @generated from message artworking.v1.AddJobToJobGroupResponse */ export type AddJobToJobGroupResponse = Message<"artworking.v1.AddJobToJobGroupResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.AddJobToJobGroupResponse. * Use `create(AddJobToJobGroupResponseSchema)` to create a new message. */ export declare const AddJobToJobGroupResponseSchema: GenMessage; /** * Request to change the type of a job * * @generated from message artworking.v1.ChangeJobTypeRequest */ export type ChangeJobTypeRequest = Message<"artworking.v1.ChangeJobTypeRequest"> & { /** * ID of the job to change type for * * @generated from field: string job_id = 1; */ jobId: string; /** * New job type to set * * @generated from field: artworking.v1.JobType job_type = 2; */ jobType: JobType; }; /** * Describes the message artworking.v1.ChangeJobTypeRequest. * Use `create(ChangeJobTypeRequestSchema)` to create a new message. */ export declare const ChangeJobTypeRequestSchema: GenMessage; /** * @generated from message artworking.v1.ChangeJobTypeResponse */ export type ChangeJobTypeResponse = Message<"artworking.v1.ChangeJobTypeResponse"> & { /** * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.ChangeJobTypeResponse. * Use `create(ChangeJobTypeResponseSchema)` to create a new message. */ export declare const ChangeJobTypeResponseSchema: GenMessage; /** * @generated from message artworking.v1.ClearDraftActionsRequest */ export type ClearDraftActionsRequest = Message<"artworking.v1.ClearDraftActionsRequest"> & { /** * @generated from field: string job_id = 1; */ jobId: string; }; /** * Describes the message artworking.v1.ClearDraftActionsRequest. * Use `create(ClearDraftActionsRequestSchema)` to create a new message. */ export declare const ClearDraftActionsRequestSchema: GenMessage; /** * @generated from message artworking.v1.ClearDraftActionsResponse */ export type ClearDraftActionsResponse = Message<"artworking.v1.ClearDraftActionsResponse"> & {}; /** * Describes the message artworking.v1.ClearDraftActionsResponse. * Use `create(ClearDraftActionsResponseSchema)` to create a new message. */ export declare const ClearDraftActionsResponseSchema: GenMessage; /** * @generated from message artworking.v1.Testing */ export type Testing = Message<"artworking.v1.Testing"> & { /** * @generated from field: int64 testing = 1; */ testing: bigint; }; /** * Describes the message artworking.v1.Testing. * Use `create(TestingSchema)` to create a new message. */ export declare const TestingSchema: GenMessage; /** * New Draft Action RPC messages * * @generated from message artworking.v1.UpsertDraftActionRequest */ export type UpsertDraftActionRequest = Message<"artworking.v1.UpsertDraftActionRequest"> & { /** * full replacement by key (job_id, artwork_item_id) * * @generated from field: artworking.v1.DraftAction draft_action = 1; */ draftAction?: DraftAction; }; /** * Describes the message artworking.v1.UpsertDraftActionRequest. * Use `create(UpsertDraftActionRequestSchema)` to create a new message. */ export declare const UpsertDraftActionRequestSchema: GenMessage; /** * @generated from message artworking.v1.UpsertDraftActionResponse */ export type UpsertDraftActionResponse = Message<"artworking.v1.UpsertDraftActionResponse"> & {}; /** * Describes the message artworking.v1.UpsertDraftActionResponse. * Use `create(UpsertDraftActionResponseSchema)` to create a new message. */ export declare const UpsertDraftActionResponseSchema: GenMessage; /** * @generated from message artworking.v1.GetDraftActionRequest */ export type GetDraftActionRequest = Message<"artworking.v1.GetDraftActionRequest"> & { /** * Job ID that owns the draft action * * @generated from field: string job_id = 1; */ jobId: string; /** * Artwork item ID within the job * * @generated from field: int32 artwork_item_id = 2; */ artworkItemId: number; }; /** * Describes the message artworking.v1.GetDraftActionRequest. * Use `create(GetDraftActionRequestSchema)` to create a new message. */ export declare const GetDraftActionRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetDraftActionResponse */ export type GetDraftActionResponse = Message<"artworking.v1.GetDraftActionResponse"> & { /** * absent when none * * @generated from field: artworking.v1.DraftAction draft_action = 1; */ draftAction?: DraftAction; }; /** * Describes the message artworking.v1.GetDraftActionResponse. * Use `create(GetDraftActionResponseSchema)` to create a new message. */ export declare const GetDraftActionResponseSchema: GenMessage; /** * @generated from message artworking.v1.ClearDraftActionRequest */ export type ClearDraftActionRequest = Message<"artworking.v1.ClearDraftActionRequest"> & { /** * Job ID that owns the draft action * * @generated from field: string job_id = 1; */ jobId: string; /** * Artwork item ID within the job * * @generated from field: int32 artwork_item_id = 2; */ artworkItemId: number; }; /** * Describes the message artworking.v1.ClearDraftActionRequest. * Use `create(ClearDraftActionRequestSchema)` to create a new message. */ export declare const ClearDraftActionRequestSchema: GenMessage; /** * @generated from message artworking.v1.ClearDraftActionResponse */ export type ClearDraftActionResponse = Message<"artworking.v1.ClearDraftActionResponse"> & {}; /** * Describes the message artworking.v1.ClearDraftActionResponse. * Use `create(ClearDraftActionResponseSchema)` to create a new message. */ export declare const ClearDraftActionResponseSchema: GenMessage; /** * @generated from message artworking.v1.ListDraftActionsRequest */ export type ListDraftActionsRequest = Message<"artworking.v1.ListDraftActionsRequest"> & { /** * Job ID whose draft actions should be listed * * @generated from field: string job_id = 1; */ jobId: string; }; /** * Describes the message artworking.v1.ListDraftActionsRequest. * Use `create(ListDraftActionsRequestSchema)` to create a new message. */ export declare const ListDraftActionsRequestSchema: GenMessage; /** * @generated from message artworking.v1.ListDraftActionsResponse */ export type ListDraftActionsResponse = Message<"artworking.v1.ListDraftActionsResponse"> & { /** * All draft actions for the requested job * * @generated from field: repeated artworking.v1.DraftAction entries = 1; */ entries: DraftAction[]; }; /** * Describes the message artworking.v1.ListDraftActionsResponse. * Use `create(ListDraftActionsResponseSchema)` to create a new message. */ export declare const ListDraftActionsResponseSchema: GenMessage; /** * @generated from message artworking.v1.StagedUploadBatchMediaItem */ export type StagedUploadBatchMediaItem = Message<"artworking.v1.StagedUploadBatchMediaItem"> & { /** * Media item ID previously uploaded via media service * * @generated from field: int64 media_item_id = 1; */ mediaItemId: bigint; /** * Optional caller-provided file reference for correlation * * @generated from field: string external_ref = 2; */ externalRef: string; /** * Optional display file name used in customer UI/reporting * * @generated from field: string file_name = 3; */ fileName: string; /** * Optional target artwork item ID for replacement flows * * @generated from field: optional int32 job_item_id = 4; */ jobItemId?: number; }; /** * Describes the message artworking.v1.StagedUploadBatchMediaItem. * Use `create(StagedUploadBatchMediaItemSchema)` to create a new message. */ export declare const StagedUploadBatchMediaItemSchema: GenMessage; /** * @generated from message artworking.v1.StagedUploadBatch */ export type StagedUploadBatch = Message<"artworking.v1.StagedUploadBatch"> & { /** * Staged upload batch document ID * * @generated from field: string id = 10; */ id: string; /** * Job ID this staged upload batch belongs to * * @generated from field: string job_id = 1; */ jobId: string; /** * Supplier/artworker ID that owns the job * * @generated from field: int64 artworker_id = 2; */ artworkerId: bigint; /** * Current staged preflight lifecycle status * * @generated from field: artworking.v1.StagedUploadBatchStatus status = 3; */ status: StagedUploadBatchStatus; /** * Staged media items awaiting promotion * * @generated from field: repeated artworking.v1.StagedUploadBatchMediaItem media_items = 4; */ mediaItems: StagedUploadBatchMediaItem[]; /** * Correlation ID of preflight callback/report * * @generated from field: optional string preflight_report_id = 5; */ preflightReportId?: string; /** * Terminal preflight state snapshot for diagnostics * * @generated from field: optional string preflight_state = 6; */ preflightState?: string; /** * Terminal preflight error text when status is error * * @generated from field: optional string preflight_error = 7; */ preflightError?: string; /** * Last staged upload batch update timestamp * * @generated from field: google.protobuf.Timestamp updated_at = 8; */ updatedAt?: Timestamp; /** * Timestamp when staged upload batch reached terminal status * * @generated from field: google.protobuf.Timestamp terminal_at = 9; */ terminalAt?: Timestamp; }; /** * Describes the message artworking.v1.StagedUploadBatch. * Use `create(StagedUploadBatchSchema)` to create a new message. */ export declare const StagedUploadBatchSchema: GenMessage; /** * @generated from message artworking.v1.UpsertStagedUploadBatchRequest */ export type UpsertStagedUploadBatchRequest = Message<"artworking.v1.UpsertStagedUploadBatchRequest"> & { /** * Job ID whose staged upload batch should be created/replaced * * @generated from field: string job_id = 1; */ jobId: string; /** * Media items to stage for preflight * * @generated from field: repeated artworking.v1.StagedUploadBatchMediaItem media_items = 2; */ mediaItems: StagedUploadBatchMediaItem[]; }; /** * Describes the message artworking.v1.UpsertStagedUploadBatchRequest. * Use `create(UpsertStagedUploadBatchRequestSchema)` to create a new message. */ export declare const UpsertStagedUploadBatchRequestSchema: GenMessage; /** * @generated from message artworking.v1.UpsertStagedUploadBatchResponse */ export type UpsertStagedUploadBatchResponse = Message<"artworking.v1.UpsertStagedUploadBatchResponse"> & { /** * Current staged upload batch after upsert * * @generated from field: artworking.v1.StagedUploadBatch staged_upload_batch = 1; */ stagedUploadBatch?: StagedUploadBatch; }; /** * Describes the message artworking.v1.UpsertStagedUploadBatchResponse. * Use `create(UpsertStagedUploadBatchResponseSchema)` to create a new message. */ export declare const UpsertStagedUploadBatchResponseSchema: GenMessage; /** * @generated from message artworking.v1.RunStagedUploadBatchPreflightRequest */ export type RunStagedUploadBatchPreflightRequest = Message<"artworking.v1.RunStagedUploadBatchPreflightRequest"> & { /** * Job ID whose active staged upload batch should be preflighted * * @generated from field: string job_id = 1; */ jobId: string; }; /** * Describes the message artworking.v1.RunStagedUploadBatchPreflightRequest. * Use `create(RunStagedUploadBatchPreflightRequestSchema)` to create a new message. */ export declare const RunStagedUploadBatchPreflightRequestSchema: GenMessage; /** * @generated from message artworking.v1.RunStagedUploadBatchPreflightResponse */ export type RunStagedUploadBatchPreflightResponse = Message<"artworking.v1.RunStagedUploadBatchPreflightResponse"> & { /** * Staged upload batch snapshot at preflight start * * @generated from field: artworking.v1.StagedUploadBatch staged_upload_batch = 1; */ stagedUploadBatch?: StagedUploadBatch; }; /** * Describes the message artworking.v1.RunStagedUploadBatchPreflightResponse. * Use `create(RunStagedUploadBatchPreflightResponseSchema)` to create a new message. */ export declare const RunStagedUploadBatchPreflightResponseSchema: GenMessage; /** * @generated from message artworking.v1.SubmitStagedUploadBatchRequest */ export type SubmitStagedUploadBatchRequest = Message<"artworking.v1.SubmitStagedUploadBatchRequest"> & { /** * Job ID whose staged upload batch should be promoted/submitted * * @generated from field: string job_id = 1; */ jobId: string; }; /** * Describes the message artworking.v1.SubmitStagedUploadBatchRequest. * Use `create(SubmitStagedUploadBatchRequestSchema)` to create a new message. */ export declare const SubmitStagedUploadBatchRequestSchema: GenMessage; /** * @generated from message artworking.v1.SubmitStagedUploadBatchResponse */ export type SubmitStagedUploadBatchResponse = Message<"artworking.v1.SubmitStagedUploadBatchResponse"> & { /** * Updated job after staged upload batch promotion * * @generated from field: artworking.v1.Job job = 1; */ job?: Job; }; /** * Describes the message artworking.v1.SubmitStagedUploadBatchResponse. * Use `create(SubmitStagedUploadBatchResponseSchema)` to create a new message. */ export declare const SubmitStagedUploadBatchResponseSchema: GenMessage; /** * @generated from message artworking.v1.GetStagedUploadBatchRequest */ export type GetStagedUploadBatchRequest = Message<"artworking.v1.GetStagedUploadBatchRequest"> & { /** * Job ID to fetch staged upload batch state for * * @generated from field: string job_id = 1; */ jobId: string; }; /** * Describes the message artworking.v1.GetStagedUploadBatchRequest. * Use `create(GetStagedUploadBatchRequestSchema)` to create a new message. */ export declare const GetStagedUploadBatchRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetStagedUploadBatchResponse */ export type GetStagedUploadBatchResponse = Message<"artworking.v1.GetStagedUploadBatchResponse"> & { /** * Active staged upload batch (nil when not active) * * @generated from field: artworking.v1.StagedUploadBatch staged_upload_batch = 1; */ stagedUploadBatch?: StagedUploadBatch; /** * True when frontend should switch to canonical job/report data * * @generated from field: bool terminal_handoff = 2; */ terminalHandoff: boolean; /** * Human-readable reason for handoff/no-active-staged state * * @generated from field: string handoff_reason = 3; */ handoffReason: string; }; /** * Describes the message artworking.v1.GetStagedUploadBatchResponse. * Use `create(GetStagedUploadBatchResponseSchema)` to create a new message. */ export declare const GetStagedUploadBatchResponseSchema: GenMessage; /** * @generated from message artworking.v1.DeleteStagedUploadBatchRequest */ export type DeleteStagedUploadBatchRequest = Message<"artworking.v1.DeleteStagedUploadBatchRequest"> & { /** * Job ID whose staged upload batch should be deleted * * @generated from field: string job_id = 1; */ jobId: string; }; /** * Describes the message artworking.v1.DeleteStagedUploadBatchRequest. * Use `create(DeleteStagedUploadBatchRequestSchema)` to create a new message. */ export declare const DeleteStagedUploadBatchRequestSchema: GenMessage; /** * @generated from message artworking.v1.DeleteStagedUploadBatchResponse */ export type DeleteStagedUploadBatchResponse = Message<"artworking.v1.DeleteStagedUploadBatchResponse"> & {}; /** * Describes the message artworking.v1.DeleteStagedUploadBatchResponse. * Use `create(DeleteStagedUploadBatchResponseSchema)` to create a new message. */ export declare const DeleteStagedUploadBatchResponseSchema: GenMessage; /** * Request to get the most recent updated_at timestamp per job state * * @generated from message artworking.v1.GetJobStateTimestampsRequest */ export type GetJobStateTimestampsRequest = Message<"artworking.v1.GetJobStateTimestampsRequest"> & { /** * Filter by specific contact IDs * * @generated from field: repeated int64 contact_ids = 1; */ contactIds: bigint[]; /** * If empty, return all states; if set, only return those states * * @generated from field: repeated artworking.v1.ArtworkState states = 2; */ states: ArtworkState[]; /** * Filter by specific company IDs * * @generated from field: repeated int64 company_ids = 3; */ companyIds: bigint[]; /** * Additional custom filters to apply * * @generated from field: repeated artworking.v1.FilterJobRequestFilter filters = 4; */ filters: FilterJobRequestFilter[]; /** * Filter by job type * * @generated from field: artworking.v1.JobType type = 5; */ type: JobType; }; /** * Describes the message artworking.v1.GetJobStateTimestampsRequest. * Use `create(GetJobStateTimestampsRequestSchema)` to create a new message. */ export declare const GetJobStateTimestampsRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobStateTimestampsResponse */ export type GetJobStateTimestampsResponse = Message<"artworking.v1.GetJobStateTimestampsResponse"> & { /** * Map of ArtworkState enum value to most recent updated_at timestamp * * @generated from field: map timestamps = 1; */ timestamps: { [key: number]: Timestamp; }; }; /** * Describes the message artworking.v1.GetJobStateTimestampsResponse. * Use `create(GetJobStateTimestampsResponseSchema)` to create a new message. */ export declare const GetJobStateTimestampsResponseSchema: GenMessage; /** * @generated from message artworking.v1.DummyR */ export type DummyR = Message<"artworking.v1.DummyR"> & { /** * @generated from field: int64 dummy = 1; */ dummy: bigint; }; /** * Describes the message artworking.v1.DummyR. * Use `create(DummyRSchema)` to create a new message. */ export declare const DummyRSchema: GenMessage; /** * @generated from enum artworking.v1.SelectedGuideType */ export declare enum SelectedGuideType { /** * @generated from enum value: SELECTED_GUIDE_TYPE_NONE = 0; */ NONE = 0, /** * @generated from enum value: SELECTED_GUIDE_TYPE_EXPECTED_SIZE = 1; */ EXPECTED_SIZE = 1, /** * @generated from enum value: SELECTED_GUIDE_TYPE_NATIVE_BOUNDING_BOX = 2; */ NATIVE_BOUNDING_BOX = 2, /** * @generated from enum value: SELECTED_GUIDE_TYPE_CUSTOM = 3; */ CUSTOM = 3 } /** * Describes the enum artworking.v1.SelectedGuideType. */ export declare const SelectedGuideTypeSchema: GenEnum; /** * @generated from enum artworking.v1.DefaultCropType */ export declare enum DefaultCropType { /** * @generated from enum value: DEFAULT_CROP_TYPE_NONE = 0; */ NONE = 0, /** * Expected size guides * * @generated from enum value: DEFAULT_CROP_TYPE_TRIM = 1; */ TRIM = 1, /** * @generated from enum value: DEFAULT_CROP_TYPE_BLEED = 2; */ BLEED = 2, /** * @generated from enum value: DEFAULT_CROP_TYPE_SAFETY = 3; */ SAFETY = 3, /** * Native bounding boxes * * @generated from enum value: DEFAULT_CROP_TYPE_TRIM_BOX = 4; */ TRIM_BOX = 4, /** * @generated from enum value: DEFAULT_CROP_TYPE_BLEED_BOX = 5; */ BLEED_BOX = 5, /** * @generated from enum value: DEFAULT_CROP_TYPE_MEDIA_BOX = 6; */ MEDIA_BOX = 6, /** * Custom overlays * * @generated from enum value: DEFAULT_CROP_TYPE_CUSTOM_SIZE = 7; */ CUSTOM_SIZE = 7 } /** * Describes the enum artworking.v1.DefaultCropType. */ export declare const DefaultCropTypeSchema: GenEnum; /** * @generated from enum artworking.v1.ArtworkActor */ export declare enum ArtworkActor { /** * @generated from enum value: ARTWORK_ACTOR_UNDEFINED = 0; */ UNDEFINED = 0, /** * @generated from enum value: ARTWORK_ACTOR_CUSTOMER = 1; */ CUSTOMER = 1, /** * @generated from enum value: ARTWORK_ACTOR_SUPPLIER = 2; */ SUPPLIER = 2, /** * internal automation (e.g. staged preflight completion) * * @generated from enum value: ARTWORK_ACTOR_SYSTEM = 3; */ SYSTEM = 3 } /** * Describes the enum artworking.v1.ArtworkActor. */ export declare const ArtworkActorSchema: GenEnum; /** * current state of a Job * * @generated from enum artworking.v1.ArtworkState */ export declare enum ArtworkState { /** * @generated from enum value: ARTWORK_STATE_UNDEFINED = 0; */ UNDEFINED = 0, /** * job is awaiting artwork * * @generated from enum value: ARTWORK_STATE_AWAITING_ARTWORK = 1; */ AWAITING_ARTWORK = 1, /** * at least on file in the job has been rejected by printer * * @generated from enum value: ARTWORK_STATE_REJECTED = 2; */ REJECTED = 2, /** * artwork files have been uploaded and are pending review * * @generated from enum value: ARTWORK_STATE_PENDING_APPROVAL = 3; */ PENDING_APPROVAL = 3, /** * ARTWORK_STATE_READY_FOR_PRODUCTION = 4; // artwork files have all been approved and are ready for production * * job is complete * * @generated from enum value: ARTWORK_STATE_COMPLETE = 5; */ COMPLETE = 5, /** * a proof(s) has been sent to the customer and is awaiting approval * * @generated from enum value: ARTWORK_STATE_PENDING_PROOF_APPROVAL = 6; */ PENDING_PROOF_APPROVAL = 6, /** * customer has rejected (or requested channges to) the proof(s) * * @generated from enum value: ARTWORK_STATE_PROOF_REJECTED = 7; */ PROOF_REJECTED = 7, /** * customer has accepted the proof(s) * * @generated from enum value: ARTWORK_STATE_PROOF_ACCEPTED = 8; */ PROOF_ACCEPTED = 8, /** * job was created * * @generated from enum value: ARTWORK_STATE_CREATED = 9; */ CREATED = 9, /** * // legacy * * @generated from enum value: ARTWORK_STATE_RESET = 10; */ RESET = 10, /** * job is awaiting artwork from customer * * @generated from enum value: ARTWORK_STATE_ARTWORK_REQUESTED = 11; */ ARTWORK_REQUESTED = 11, /** * job has been cancelled * * @generated from enum value: ARTWORK_STATE_CANCELLED = 12; */ CANCELLED = 12, /** * job has been archived * * @generated from enum value: ARTWORK_STATE_ARCHIVED = 13; */ ARCHIVED = 13, /** * job has been approved * * @generated from enum value: ARTWORK_STATE_ARTWORK_APPROVED = 14; */ ARTWORK_APPROVED = 14, /** * preflight passed/errored, awaiting customer submit * * @generated from enum value: ARTWORK_STATE_AWAITING_CUSTOMER_SUBMIT = 15; */ AWAITING_CUSTOMER_SUBMIT = 15 } /** * Describes the enum artworking.v1.ArtworkState. */ export declare const ArtworkStateSchema: GenEnum; /** * state for an individual file within a Job * * @generated from enum artworking.v1.JobAction */ export declare enum JobAction { /** * Default unknown state * * @generated from enum value: JOB_ACTION_UNKNOWN = 0; */ UNKNOWN = 0, /** * Request artwork from customer * * @generated from enum value: JOB_ACTION_REQUESTARTWORK = 1; */ REQUESTARTWORK = 1, /** * Upload artwork to the job * * @generated from enum value: JOB_ACTION_UPLOADARTWORK = 2; */ UPLOADARTWORK = 2, /** * Update multiple files in a batch * * @generated from enum value: JOB_ACTION_BATCHFILEUPDATE = 3; */ BATCHFILEUPDATE = 3, /** * Submit proof for customer review * * @generated from enum value: JOB_ACTION_PROOFSUBMIT = 4; */ PROOFSUBMIT = 4, /** * Reject the submitted proof * * @generated from enum value: JOB_ACTION_PROOFREJECT = 5; */ PROOFREJECT = 5, /** * Accept the submitted proof * * @generated from enum value: JOB_ACTION_PROOFACCEPT = 6; */ PROOFACCEPT = 6, /** * Mark the job as complete * * @generated from enum value: JOB_ACTION_COMPLETE = 7; */ COMPLETE = 7, /** * Create a new job * * @generated from enum value: JOB_ACTION_CREATE = 8; */ CREATE = 8, /** * Allow downloading of job files * * @generated from enum value: Job_ACTION_ALLOW_DOWNLOAD = 9; */ ALLOW_DOWNLOAD = 9, /** * Cancel a job * * @generated from enum value: JOB_ACTION_CANCEL = 10; */ CANCEL = 10, /** * Reactivate a cancelled job * * @generated from enum value: JOB_ACTION_REACTIVATE = 11; */ REACTIVATE = 11, /** * Archive a job once complete * * @generated from enum value: JOB_ACTION_ARCHIVE = 12; */ ARCHIVE = 12, /** * Start an image task * * @generated from enum value: JOB_ACTION_CAN_START_IMAGE_TASK = 13; */ CAN_START_IMAGE_TASK = 13, /** * Unarchive a job to return it to its previous state * * @generated from enum value: JOB_ACTION_UNARCHIVE = 14; */ UNARCHIVE = 14, /** * Reopen a completed job to return it to its previous state * * @generated from enum value: JOB_ACTION_REOPEN = 15; */ REOPEN = 15, /** * Reset a job to its original review state * * @generated from enum value: JOB_ACTION_CAN_RESET_REVIEW = 16; */ CAN_RESET_REVIEW = 16, /** * internal: staged preflight failed before promote * * @generated from enum value: JOB_ACTION_STAGED_PREFLIGHT_FAIL = 17; */ STAGED_PREFLIGHT_FAIL = 17, /** * internal: preflight gate cleared, awaiting customer submit * * @generated from enum value: JOB_ACTION_STAGED_PREFLIGHT_READY = 18; */ STAGED_PREFLIGHT_READY = 18, /** * customer confirms staged preflight upload for supplier review * * @generated from enum value: JOB_ACTION_CUSTOMER_SUBMIT = 19; */ CUSTOMER_SUBMIT = 19, /** * Customer asks the supplier to review existing (already-uploaded) artwork with a question, e.g. after automatic preflight rejection without uploading new files. Use SubmitJobActionRequest.actions[0].message for the required question text. * * @generated from enum value: JOB_ACTION_CUSTOMER_REQUEST_SUPPLIER_REVIEW = 20; */ CUSTOMER_REQUEST_SUPPLIER_REVIEW = 20 } /** * Describes the enum artworking.v1.JobAction. */ export declare const JobActionSchema: GenEnum; /** * state for an individual file within a Job * * @generated from enum artworking.v1.ArtworkItemState */ export declare enum ArtworkItemState { /** * @generated from enum value: ARTWORK_ITEM_STATE_UNDEFINED = 0; */ UNDEFINED = 0, /** * legacy * * @generated from enum value: ARTWORK_ITEM_STATE_AWAITING_ARTWORK = 1; */ AWAITING_ARTWORK = 1, /** * file approved by printer * * @generated from enum value: ARTWORK_ITEM_STATE_APPROVED = 2; */ APPROVED = 2, /** * file rejected by printer * * @generated from enum value: ARTWORK_ITEM_STATE_REJECTED = 3; */ REJECTED = 3, /** * file is pending approval by printer * * @generated from enum value: ARTWORK_ITEM_STATE_PENDING_APPROVAL = 4; */ PENDING_APPROVAL = 4, /** * file approved by customer * * @generated from enum value: ARTWORK_ITEM_STATE_CUSTOMER_APPROVED = 5; */ CUSTOMER_APPROVED = 5, /** * file approved and complete * * @generated from enum value: ARTWORK_ITEM_STATE_COMPLETE = 6; */ COMPLETE = 6, /** * file moved to assets * * @generated from enum value: ARTWORK_ITEM_STATE_MARKED_AS_ASSET = 7; */ MARKED_AS_ASSET = 7, /** * file archived * * @generated from enum value: ARTWORK_ITEM_STATE_ARCHIVED = 8; */ ARCHIVED = 8, /** * image task in progress * * @generated from enum value: ARTWORK_ITEM_STATE_IMAGE_TASK_IN_PROGRESS = 14; */ IMAGE_TASK_IN_PROGRESS = 14, /** * image task is pending review * * @generated from enum value: ARTWORK_ITEM_STATE_IMAGE_TASK_PENDING_REVIEW = 15; */ IMAGE_TASK_PENDING_REVIEW = 15, /** * image task has failed * * @generated from enum value: ARTWORK_ITEM_STATE_IMAGE_TASK_FAILED = 16; */ IMAGE_TASK_FAILED = 16, /** * image task has failed with profile report * * @generated from enum value: ARTWORK_ITEM_STATE_IMAGE_TASK_FAILED_WITH_PROFILE_REPORT = 17; */ IMAGE_TASK_FAILED_WITH_PROFILE_REPORT = 17, /** * PDF split operation in progress * * @generated from enum value: ARTWORK_ITEM_STATE_PDF_SPLIT_IN_PROGRESS = 18; */ PDF_SPLIT_IN_PROGRESS = 18, /** * PDF split operation failed * * @generated from enum value: ARTWORK_ITEM_STATE_PDF_SPLIT_FAILED = 19; */ PDF_SPLIT_FAILED = 19 } /** * Describes the enum artworking.v1.ArtworkItemState. */ export declare const ArtworkItemStateSchema: GenEnum; /** * actions that can be taken on an individual file * * @generated from enum artworking.v1.FileActionType */ export declare enum FileActionType { /** * Default undefined state * * @generated from enum value: FILE_ACTION_UNDEFINED = 0; */ FILE_ACTION_UNDEFINED = 0, /** * Submit a file for review * * @generated from enum value: FILE_ACTION_SUBMIT = 1; */ FILE_ACTION_SUBMIT = 1, /** * Approve the file as a printer * * @generated from enum value: FILE_ACTION_APPROVE = 2; */ FILE_ACTION_APPROVE = 2, /** * Approve the file with a revision for the customer to review * * @generated from enum value: FILE_ACTION_APPROVE_WITH_REVISION = 3; */ FILE_ACTION_APPROVE_WITH_REVISION = 3, /** * Request significant revisions to the file * * @generated from enum value: FILE_ACTION_REQUEST_REVISION = 4; */ FILE_ACTION_REQUEST_REVISION = 4, /** * Request acknowledgment for overriding a warning * * @generated from enum value: FILE_ACTION_REQUEST_ACKOWLEDGE_OVERRIDE = 5; */ FILE_ACTION_REQUEST_ACKOWLEDGE_OVERRIDE = 5, /** * Request acknowledgment from the customer for replacing a file as a printer * * @generated from enum value: FILE_ACTION_REQUEST_ACKOWLEDGE_REPLACEMENT = 6; */ FILE_ACTION_REQUEST_ACKOWLEDGE_REPLACEMENT = 6, /** * Customer accepts a file replacement * * @generated from enum value: FILE_ACTION_ACCEPT_REPLACEMENT_AS_CUSTOMER = 7; */ FILE_ACTION_ACCEPT_REPLACEMENT_AS_CUSTOMER = 7, /** * Customer accepts an override of a warning * * @generated from enum value: FILE_ACTION_ACCEPT_OVERRIDE_AS_CUSTOMER = 8; */ FILE_ACTION_ACCEPT_OVERRIDE_AS_CUSTOMER = 8, /** * Move file to assets library * * @generated from enum value: FILE_ACTION_MARK_AS_ASSET = 9; */ FILE_ACTION_MARK_AS_ASSET = 9, /** * Move file from assets/archived to active state * * @generated from enum value: FILE_ACTION_MARK_AS_ACTIVE = 10; */ FILE_ACTION_MARK_AS_ACTIVE = 10, /** * Move file to archived state * * @generated from enum value: FILE_ACTION_MARK_AS_ARCHIVE = 11; */ FILE_ACTION_MARK_AS_ARCHIVE = 11, /** * Replace the current file with a new version * * @generated from enum value: FILE_ACTION_REPLACE = 12; */ FILE_ACTION_REPLACE = 12, /** * Start an image task with confirmation * * @generated from enum value: FILE_ACTION_START_IMAGE_TASK_WITH_CONFIRMATION = 23; */ FILE_ACTION_START_IMAGE_TASK_WITH_CONFIRMATION = 23, /** * Start an image task without confirmation * * @generated from enum value: FILE_ACTION_START_IMAGE_TASK_WITHOUT_CONFIRMATION = 24; */ FILE_ACTION_START_IMAGE_TASK_WITHOUT_CONFIRMATION = 24, /** * Abort an image task * * @generated from enum value: FILE_ACTION_ABORT_IMAGE_TASK = 25; */ FILE_ACTION_ABORT_IMAGE_TASK = 25, /** * Reject an image task * * @generated from enum value: FILE_ACTION_REJECT_IMAGE_TASK = 26; */ FILE_ACTION_REJECT_IMAGE_TASK = 26, /** * Accept an image task * * @generated from enum value: FILE_ACTION_ACCEPT_IMAGE_TASK = 27; */ FILE_ACTION_ACCEPT_IMAGE_TASK = 27, /** * Mark image task as complete * * @generated from enum value: FILE_ACTION_IMAGE_TASK_COMPLETE = 28; */ FILE_ACTION_IMAGE_TASK_COMPLETE = 28, /** * Mark image task as failed * * @generated from enum value: FILE_ACTION_IMAGE_TASK_FAILED = 29; */ FILE_ACTION_IMAGE_TASK_FAILED = 29, /** * Image task is awaiting confirmation * * @generated from enum value: FILE_ACTION_IMAGE_TASK_AWAITING_CONFIRMATION = 30; */ FILE_ACTION_IMAGE_TASK_AWAITING_CONFIRMATION = 30, /** * Reset the file to its original state * * @generated from enum value: FILE_ACTION_RESET = 31; */ FILE_ACTION_RESET = 31, /** * Mark image task as failed with profile report * * @generated from enum value: FILE_ACTION_IMAGE_TASK_FAILED_WITH_PROFILE_REPORT = 32; */ FILE_ACTION_IMAGE_TASK_FAILED_WITH_PROFILE_REPORT = 32, /** * Start splitting PDF into individual pages * * @generated from enum value: FILE_ACTION_START_PDF_SPLIT = 33; */ FILE_ACTION_START_PDF_SPLIT = 33, /** * PDF split completed successfully * * @generated from enum value: FILE_ACTION_PDF_SPLIT_COMPLETE = 34; */ FILE_ACTION_PDF_SPLIT_COMPLETE = 34, /** * PDF split failed * * @generated from enum value: FILE_ACTION_PDF_SPLIT_FAILED = 35; */ FILE_ACTION_PDF_SPLIT_FAILED = 35 } /** * Describes the enum artworking.v1.FileActionType. */ export declare const FileActionTypeSchema: GenEnum; /** * actions that can be taken on an individual file * * @generated from enum artworking.v1.LeadtimeLengthUnit */ export declare enum LeadtimeLengthUnit { /** * @generated from enum value: LEADTIME_UNIT_DAY = 0; */ LEADTIME_UNIT_DAY = 0, /** * submit a file * * @generated from enum value: LEADTIME_UNIT_WEEK = 1; */ LEADTIME_UNIT_WEEK = 1 } /** * Describes the enum artworking.v1.LeadtimeLengthUnit. */ export declare const LeadtimeLengthUnitSchema: GenEnum; /** * @generated from enum artworking.v1.JobType */ export declare enum JobType { /** * @generated from enum value: JOB_TYPE_UNDEFINED = 0; */ UNDEFINED = 0, /** * @generated from enum value: JOB_TYPE_JOB = 1; */ JOB = 1, /** * @generated from enum value: JOB_TYPE_TRANSFER = 2; */ TRANSFER = 2, /** * @generated from enum value: JOB_TYPE_FILES = 3; */ FILES = 3 } /** * Describes the enum artworking.v1.JobType. */ export declare const JobTypeSchema: GenEnum; /** * @generated from enum artworking.v1.JobFilterType */ export declare enum JobFilterType { /** * @generated from enum value: FILTER_TYPE_UNDEFINED = 0; */ FILTER_TYPE_UNDEFINED = 0, /** * @generated from enum value: FILTER_TYPE_JOB_NAME = 1; */ FILTER_TYPE_JOB_NAME = 1, /** * @generated from enum value: FILTER_TYPE_COMPANY_NAME = 2; */ FILTER_TYPE_COMPANY_NAME = 2, /** * @generated from enum value: FILTER_TYPE_CONTACT_NAME = 3; */ FILTER_TYPE_CONTACT_NAME = 3, /** * @generated from enum value: FILTER_TYPE_CONTACT_EMAIL = 4; */ FILTER_TYPE_CONTACT_EMAIL = 4, /** * @generated from enum value: FILTER_TYPE_ORDER_REF = 5; */ FILTER_TYPE_ORDER_REF = 5, /** * @generated from enum value: FILTER_TYPE_JOB_GROUP_REF = 6; */ FILTER_TYPE_JOB_GROUP_REF = 6, /** * @generated from enum value: FILTER_TYPE_TAG = 7; */ FILTER_TYPE_TAG = 7, /** * For Job.external_ref field * * @generated from enum value: FILTER_TYPE_EXTERNAL_REF = 8; */ FILTER_TYPE_EXTERNAL_REF = 8, /** * For ArtworkItem.external_ref (nested in Job) * * @generated from enum value: FILTER_TYPE_ITEM_EXTERNAL_REF = 9; */ FILTER_TYPE_ITEM_EXTERNAL_REF = 9 } /** * Describes the enum artworking.v1.JobFilterType. */ export declare const JobFilterTypeSchema: GenEnum; /** * @generated from enum artworking.v1.JobFilterCondition */ export declare enum JobFilterCondition { /** * @generated from enum value: FILTER_CONDITION_UNDEFINED = 0; */ FILTER_CONDITION_UNDEFINED = 0, /** * @generated from enum value: FILTER_CONDITION_EQUALS = 1; */ FILTER_CONDITION_EQUALS = 1, /** * @generated from enum value: FILTER_CONDITION_CONTAINS = 2; */ FILTER_CONDITION_CONTAINS = 2, /** * used for string arrays, eg match when "tag1" is in { tags: ["tag1", "tag2"]} * * @generated from enum value: FILTER_CONDITION_IN = 3; */ FILTER_CONDITION_IN = 3 } /** * Describes the enum artworking.v1.JobFilterCondition. */ export declare const JobFilterConditionSchema: GenEnum; /** * @generated from enum artworking.v1.StagedUploadBatchStatus */ export declare enum StagedUploadBatchStatus { /** * Unknown or not yet set * * @generated from enum value: STAGED_UPLOAD_BATCH_STATUS_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * Staged upload batch exists but preflight has not started * * @generated from enum value: STAGED_UPLOAD_BATCH_STATUS_IN_PROGRESS = 1; */ IN_PROGRESS = 1, /** * Preflight completed successfully * * @generated from enum value: STAGED_UPLOAD_BATCH_STATUS_PASS = 2; */ PASS = 2, /** * Preflight completed with failing checks * * @generated from enum value: STAGED_UPLOAD_BATCH_STATUS_FAIL = 3; */ FAIL = 3, /** * Preflight execution errored * * @generated from enum value: STAGED_UPLOAD_BATCH_STATUS_ERROR = 4; */ ERROR = 4, /** * Preflight has started and is still running * * @generated from enum value: STAGED_UPLOAD_BATCH_STATUS_RUNNING = 5; */ RUNNING = 5 } /** * Describes the enum artworking.v1.StagedUploadBatchStatus. */ export declare const StagedUploadBatchStatusSchema: GenEnum;