import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import type { ExternalLink, Job, JobFilterCondition, JobType, LeadtimeLengthUnit } from "./artwork_pb.js"; import type { MeasurementUnit } from "../../common/v1/unit_pb.js"; import type { PaginatedQuery, PaginatedResponse } from "../../common/v1/query_pb.js"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import type { JsonObject, Message } from "@bufbuild/protobuf"; /** * Describes the file artworking/v1/job-group.proto. */ export declare const file_artworking_v1_job_group: GenFile; /** * @generated from message artworking.v1.JobGroup */ export type JobGroup = Message<"artworking.v1.JobGroup"> & { /** * @generated from field: string id = 1; */ id: string; /** * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp; /** * @generated from field: string custom_uid = 4; */ customUid: string; /** * @generated from field: string ref = 5; */ ref: string; /** * @generated from field: int64 contact_id = 6; */ contactId: bigint; /** * @generated from field: string contact_ref = 7; */ contactRef: string; /** * @generated from field: string contact_name = 8; */ contactName: string; /** * @generated from field: int64 company_id = 9; */ companyId: bigint; /** * @generated from field: string company_name = 10; */ companyName: string; /** * @generated from field: int64 supplier_id = 11; */ supplierId: bigint; /** * @generated from field: string supplier_name = 12; */ supplierName: string; /** * @generated from field: string order_ref = 13; */ orderRef: string; /** * @generated from field: int32 leadtime_length = 14; */ leadtimeLength: number; /** * @generated from field: artworking.v1.LeadtimeLengthUnit leadtime_length_unit = 15; */ leadtimeLengthUnit: LeadtimeLengthUnit; /** * @generated from field: bool temporary = 16; */ temporary: boolean; /** * @generated from field: int32 job_count = 17; */ jobCount: number; /** * @generated from field: artworking.v1.ExternalLink external_link = 18; */ externalLink?: ExternalLink; /** * @generated from field: string contact_email = 19; */ contactEmail: string; /** * @generated from field: artworking.v1.JobType job_type = 20; */ jobType: JobType; /** * External reference for API lookups * * @generated from field: string external_ref = 21; */ externalRef: string; /** * Unique identifier (UUID) * * @generated from field: string uri = 22; */ uri: string; /** * @generated from field: bool enable_chaser_emails = 23; */ enableChaserEmails: boolean; /** * Optional metadata * * @generated from field: google.protobuf.Struct metadata = 24; */ metadata?: JsonObject; }; /** * Describes the message artworking.v1.JobGroup. * Use `create(JobGroupSchema)` to create a new message. */ export declare const JobGroupSchema: GenMessage; /** * @generated from message artworking.v1.IntegrationData */ export type IntegrationData = Message<"artworking.v1.IntegrationData"> & { /** * @generated from field: string custom_ref = 1; */ customRef: string; /** * @generated from field: map custom_data = 2; */ customData: { [key: string]: string; }; /** * @generated from field: string integration_name = 3; */ integrationName: string; }; /** * Describes the message artworking.v1.IntegrationData. * Use `create(IntegrationDataSchema)` to create a new message. */ export declare const IntegrationDataSchema: GenMessage; /** * @generated from message artworking.v1.IntegrationJobGroupData */ export type IntegrationJobGroupData = Message<"artworking.v1.IntegrationJobGroupData"> & { /** * @generated from field: string custom_ref = 1; */ customRef: string; /** * @generated from field: map custom_data = 2; */ customData: { [key: string]: string; }; /** * @generated from field: string integration_name = 3; */ integrationName: string; /** * @generated from field: map jobs = 4; */ jobs: { [key: string]: IntegrationData; }; }; /** * Describes the message artworking.v1.IntegrationJobGroupData. * Use `create(IntegrationJobGroupDataSchema)` to create a new message. */ export declare const IntegrationJobGroupDataSchema: GenMessage; /** * @generated from message artworking.v1.CreateJobGroupRequest */ export type CreateJobGroupRequest = Message<"artworking.v1.CreateJobGroupRequest"> & { /** * @generated from field: int64 contact_id = 1; */ contactId: bigint; /** * @generated from field: string contact_name = 2; */ contactName: string; /** * @generated from field: string order_ref = 3; */ orderRef: string; /** * @generated from field: repeated artworking.v1.CreateJobGroupRequest.JobGroupJobParams jobParams = 4; */ jobParams: CreateJobGroupRequest_JobGroupJobParams[]; /** * @generated from field: bool temporary = 5; */ temporary: boolean; /** * optional, for use without auth token * * @generated from field: string api_key = 6; */ apiKey: string; /** * optional, useful for 3rd party integrations * * @generated from field: string custom_uid = 7; */ customUid: string; /** * @generated from field: int64 company_id = 8; */ companyId: bigint; /** * @generated from field: string company_name = 9; */ companyName: string; /** * @generated from field: string contact_ref = 10; */ contactRef: string; /** * @generated from field: optional artworking.v1.ExternalLink external_link = 11; */ externalLink?: ExternalLink; /** * @generated from field: string contact_email = 12; */ contactEmail: string; /** * @generated from field: optional artworking.v1.IntegrationJobGroupData integration_data = 13; */ integrationData?: IntegrationJobGroupData; /** * @generated from field: artworking.v1.JobType job_type = 14; */ jobType: JobType; /** * @generated from field: int64 supplier_id = 15; */ supplierId: bigint; /** * @generated from field: string supplier_email = 16; */ supplierEmail: string; /** * Optional metadata for the job group * * @generated from field: optional google.protobuf.Struct metadata = 17; */ metadata?: JsonObject; }; /** * Describes the message artworking.v1.CreateJobGroupRequest. * Use `create(CreateJobGroupRequestSchema)` to create a new message. */ export declare const CreateJobGroupRequestSchema: GenMessage; /** * @generated from message artworking.v1.CreateJobGroupRequest.JobGroupJobParams */ export type CreateJobGroupRequest_JobGroupJobParams = Message<"artworking.v1.CreateJobGroupRequest.JobGroupJobParams"> & { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: optional string message = 2; */ message?: string; /** * @generated from field: repeated int64 media_item_ids = 3; */ mediaItemIds: bigint[]; /** * External reference for API lookups (unique per supplier) * * @generated from field: optional string external_ref = 4; */ externalRef?: string; /** * Per-job external link * * @generated from field: optional artworking.v1.ExternalLink external_link = 5; */ externalLink?: ExternalLink; /** * Per-job measurement unit * * @generated from field: optional common.v1.MeasurementUnit measurement_unit = 6; */ measurementUnit?: MeasurementUnit; /** * Optional per-job metadata * * @generated from field: optional google.protobuf.Struct metadata = 7; */ metadata?: JsonObject; }; /** * Describes the message artworking.v1.CreateJobGroupRequest.JobGroupJobParams. * Use `create(CreateJobGroupRequest_JobGroupJobParamsSchema)` to create a new message. */ export declare const CreateJobGroupRequest_JobGroupJobParamsSchema: GenMessage; /** * @generated from message artworking.v1.CreateJobGroupResponse */ export type CreateJobGroupResponse = Message<"artworking.v1.CreateJobGroupResponse"> & { /** * @generated from field: artworking.v1.JobGroup job_group = 1; */ jobGroup?: JobGroup; /** * @generated from field: repeated artworking.v1.Job jobs = 2; */ jobs: Job[]; }; /** * Describes the message artworking.v1.CreateJobGroupResponse. * Use `create(CreateJobGroupResponseSchema)` to create a new message. */ export declare const CreateJobGroupResponseSchema: GenMessage; /** * GetJobGroupById * * @generated from message artworking.v1.GetJobGroupByIdRequest */ export type GetJobGroupByIdRequest = Message<"artworking.v1.GetJobGroupByIdRequest"> & { /** * JobGroup ID * * @generated from field: string id = 1; */ id: string; }; /** * Describes the message artworking.v1.GetJobGroupByIdRequest. * Use `create(GetJobGroupByIdRequestSchema)` to create a new message. */ export declare const GetJobGroupByIdRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobGroupByIdResponse */ export type GetJobGroupByIdResponse = Message<"artworking.v1.GetJobGroupByIdResponse"> & { /** * @generated from field: artworking.v1.JobGroup job_group = 1; */ jobGroup?: JobGroup; }; /** * Describes the message artworking.v1.GetJobGroupByIdResponse. * Use `create(GetJobGroupByIdResponseSchema)` to create a new message. */ export declare const GetJobGroupByIdResponseSchema: GenMessage; /** * GetJobGroupByUri * * @generated from message artworking.v1.GetJobGroupByUriRequest */ export type GetJobGroupByUriRequest = Message<"artworking.v1.GetJobGroupByUriRequest"> & { /** * JobGroup URI (UUID) * * @generated from field: string uri = 1; */ uri: string; }; /** * Describes the message artworking.v1.GetJobGroupByUriRequest. * Use `create(GetJobGroupByUriRequestSchema)` to create a new message. */ export declare const GetJobGroupByUriRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobGroupByUriResponse */ export type GetJobGroupByUriResponse = Message<"artworking.v1.GetJobGroupByUriResponse"> & { /** * @generated from field: artworking.v1.JobGroup job_group = 1; */ jobGroup?: JobGroup; }; /** * Describes the message artworking.v1.GetJobGroupByUriResponse. * Use `create(GetJobGroupByUriResponseSchema)` to create a new message. */ export declare const GetJobGroupByUriResponseSchema: GenMessage; /** * GetJobsByJobGroupUri - Get paginated Jobs for a JobGroup by URI * * @generated from message artworking.v1.GetJobsByJobGroupUriRequest */ export type GetJobsByJobGroupUriRequest = Message<"artworking.v1.GetJobsByJobGroupUriRequest"> & { /** * JobGroup URI (UUID) * * @generated from field: string uri = 1; */ uri: string; /** * Pagination and sorting * * @generated from field: common.v1.PaginatedQuery query = 2; */ query?: PaginatedQuery; }; /** * Describes the message artworking.v1.GetJobsByJobGroupUriRequest. * Use `create(GetJobsByJobGroupUriRequestSchema)` to create a new message. */ export declare const GetJobsByJobGroupUriRequestSchema: GenMessage; /** * @generated from message artworking.v1.GetJobsByJobGroupUriResponse */ export type GetJobsByJobGroupUriResponse = Message<"artworking.v1.GetJobsByJobGroupUriResponse"> & { /** * @generated from field: repeated artworking.v1.Job jobs = 1; */ jobs: Job[]; /** * @generated from field: common.v1.PaginatedResponse pagination = 2; */ pagination?: PaginatedResponse; }; /** * Describes the message artworking.v1.GetJobsByJobGroupUriResponse. * Use `create(GetJobsByJobGroupUriResponseSchema)` to create a new message. */ export declare const GetJobsByJobGroupUriResponseSchema: GenMessage; /** * @generated from message artworking.v1.FilterJobGroupRequestFilter */ export type FilterJobGroupRequestFilter = Message<"artworking.v1.FilterJobGroupRequestFilter"> & { /** * @generated from field: string value = 1; */ value: string; /** * @generated from field: artworking.v1.JobGroupFilterType filter_type = 2; */ filterType: JobGroupFilterType; /** * @generated from field: artworking.v1.JobFilterCondition filter_condition = 3; */ filterCondition: JobFilterCondition; }; /** * Describes the message artworking.v1.FilterJobGroupRequestFilter. * Use `create(FilterJobGroupRequestFilterSchema)` to create a new message. */ export declare const FilterJobGroupRequestFilterSchema: GenMessage; /** * @generated from message artworking.v1.FindJobGroupRequest */ export type FindJobGroupRequest = Message<"artworking.v1.FindJobGroupRequest"> & { /** * Filter by contact IDs * * @generated from field: repeated int64 contact_ids = 1; */ contactIds: bigint[]; /** * Custom filters * * @generated from field: repeated artworking.v1.FilterJobGroupRequestFilter filters = 2; */ filters: FilterJobGroupRequestFilter[]; /** * Pagination and sorting * * @generated from field: common.v1.PaginatedQuery query = 3; */ query?: PaginatedQuery; /** * Filter by company IDs * * @generated from field: repeated int64 company_ids = 4; */ companyIds: bigint[]; /** * Filter by creation date * * @generated from field: google.protobuf.Timestamp created_after = 5; */ createdAfter?: Timestamp; /** * Filter by creation date * * @generated from field: google.protobuf.Timestamp created_before = 6; */ createdBefore?: Timestamp; }; /** * Describes the message artworking.v1.FindJobGroupRequest. * Use `create(FindJobGroupRequestSchema)` to create a new message. */ export declare const FindJobGroupRequestSchema: GenMessage; /** * @generated from message artworking.v1.FindJobGroupResponse */ export type FindJobGroupResponse = Message<"artworking.v1.FindJobGroupResponse"> & { /** * @generated from field: repeated artworking.v1.JobGroup data = 1; */ data: JobGroup[]; /** * @generated from field: common.v1.PaginatedResponse pagination = 2; */ pagination?: PaginatedResponse; }; /** * Describes the message artworking.v1.FindJobGroupResponse. * Use `create(FindJobGroupResponseSchema)` to create a new message. */ export declare const FindJobGroupResponseSchema: GenMessage; /** * UpdateJobGroup * * @generated from message artworking.v1.UpdateJobGroupRequest */ export type UpdateJobGroupRequest = Message<"artworking.v1.UpdateJobGroupRequest"> & { /** * JobGroup ID * * @generated from field: string id = 1; */ id: string; /** * JobGroup reference * * @generated from field: optional string ref = 2; */ ref?: string; /** * Order reference * * @generated from field: optional string order_ref = 3; */ orderRef?: string; /** * Company name * * @generated from field: optional string company_name = 4; */ companyName?: string; /** * Leadtime length * * @generated from field: optional int32 leadtime_length = 5; */ leadtimeLength?: number; /** * Leadtime unit * * @generated from field: optional artworking.v1.LeadtimeLengthUnit leadtime_length_unit = 6; */ leadtimeLengthUnit?: LeadtimeLengthUnit; /** * External link * * @generated from field: optional artworking.v1.ExternalLink external_link = 7; */ externalLink?: ExternalLink; /** * Update external reference * * @generated from field: optional string external_ref = 8; */ externalRef?: string; /** * Update metadata * * @generated from field: optional google.protobuf.Struct metadata = 9; */ metadata?: JsonObject; }; /** * Describes the message artworking.v1.UpdateJobGroupRequest. * Use `create(UpdateJobGroupRequestSchema)` to create a new message. */ export declare const UpdateJobGroupRequestSchema: GenMessage; /** * @generated from message artworking.v1.UpdateJobGroupResponse */ export type UpdateJobGroupResponse = Message<"artworking.v1.UpdateJobGroupResponse"> & { /** * @generated from field: artworking.v1.JobGroup job_group = 1; */ jobGroup?: JobGroup; }; /** * Describes the message artworking.v1.UpdateJobGroupResponse. * Use `create(UpdateJobGroupResponseSchema)` to create a new message. */ export declare const UpdateJobGroupResponseSchema: GenMessage; /** * @generated from message artworking.v1.SetJobGroupSettingsRequest */ export type SetJobGroupSettingsRequest = Message<"artworking.v1.SetJobGroupSettingsRequest"> & { /** * JobGroup ID * * @generated from field: string id = 1; */ id: string; /** * @generated from field: bool enable_chaser_emails = 2; */ enableChaserEmails: boolean; }; /** * Describes the message artworking.v1.SetJobGroupSettingsRequest. * Use `create(SetJobGroupSettingsRequestSchema)` to create a new message. */ export declare const SetJobGroupSettingsRequestSchema: GenMessage; /** * @generated from message artworking.v1.SetJobGroupSettingsResponse */ export type SetJobGroupSettingsResponse = Message<"artworking.v1.SetJobGroupSettingsResponse"> & { /** * @generated from field: artworking.v1.JobGroup job_group = 1; */ jobGroup?: JobGroup; }; /** * Describes the message artworking.v1.SetJobGroupSettingsResponse. * Use `create(SetJobGroupSettingsResponseSchema)` to create a new message. */ export declare const SetJobGroupSettingsResponseSchema: GenMessage; /** * DeleteJobGroup * * @generated from message artworking.v1.DeleteJobGroupRequest */ export type DeleteJobGroupRequest = Message<"artworking.v1.DeleteJobGroupRequest"> & { /** * JobGroup ID * * @generated from field: string id = 1; */ id: string; /** * Delete all Jobs in the group (default: true) * * @generated from field: bool cascade = 2; */ cascade: boolean; }; /** * Describes the message artworking.v1.DeleteJobGroupRequest. * Use `create(DeleteJobGroupRequestSchema)` to create a new message. */ export declare const DeleteJobGroupRequestSchema: GenMessage; /** * @generated from message artworking.v1.DeleteJobGroupResponse */ export type DeleteJobGroupResponse = Message<"artworking.v1.DeleteJobGroupResponse"> & { /** * @generated from field: bool ok = 1; */ ok: boolean; /** * Number of Jobs deleted * * @generated from field: int32 deleted_jobs_count = 2; */ deletedJobsCount: number; }; /** * Describes the message artworking.v1.DeleteJobGroupResponse. * Use `create(DeleteJobGroupResponseSchema)` to create a new message. */ export declare const DeleteJobGroupResponseSchema: GenMessage; /** * FindJobGroup * * @generated from enum artworking.v1.JobGroupFilterType */ export declare enum JobGroupFilterType { /** * @generated from enum value: JOB_GROUP_FILTER_TYPE_UNDEFINED = 0; */ UNDEFINED = 0, /** * JobGroup ref * * @generated from enum value: JOB_GROUP_FILTER_TYPE_REF = 1; */ REF = 1, /** * Order reference * * @generated from enum value: JOB_GROUP_FILTER_TYPE_ORDER_REF = 2; */ ORDER_REF = 2, /** * Contact email * * @generated from enum value: JOB_GROUP_FILTER_TYPE_CONTACT_EMAIL = 3; */ CONTACT_EMAIL = 3, /** * Company name * * @generated from enum value: JOB_GROUP_FILTER_TYPE_COMPANY_NAME = 4; */ COMPANY_NAME = 4, /** * Contact name * * @generated from enum value: JOB_GROUP_FILTER_TYPE_CONTACT_NAME = 5; */ CONTACT_NAME = 5, /** * External reference filter * * @generated from enum value: JOB_GROUP_FILTER_TYPE_EXTERNAL_REF = 6; */ EXTERNAL_REF = 6 } /** * Describes the enum artworking.v1.JobGroupFilterType. */ export declare const JobGroupFilterTypeSchema: GenEnum;