// @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js" // @generated from file artworking/v1/job-group.proto (package artworking.v1, syntax proto3) /* eslint-disable */ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2"; import type { ExternalLink, Job, JobFilterCondition, JobType, LeadtimeLengthUnit } from "./artwork_pb.js"; import { file_artworking_v1_artwork } from "./artwork_pb.js"; import type { MeasurementUnit } from "../../common/v1/unit_pb.js"; import { file_common_v1_unit } from "../../common/v1/unit_pb.js"; import type { PaginatedQuery, PaginatedResponse } from "../../common/v1/query_pb.js"; import { file_common_v1_query } from "../../common/v1/query_pb.js"; import type { Timestamp } from "@bufbuild/protobuf/wkt"; import { file_google_protobuf_struct, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; import type { JsonObject, Message } from "@bufbuild/protobuf"; /** * Describes the file artworking/v1/job-group.proto. */ export const file_artworking_v1_job_group: GenFile = /*@__PURE__*/ fileDesc("Ch1hcnR3b3JraW5nL3YxL2pvYi1ncm91cC5wcm90bxINYXJ0d29ya2luZy52MSKgBQoISm9iR3JvdXASCgoCaWQYASABKAkSLgoKY3JlYXRlZF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEgoKY3VzdG9tX3VpZBgEIAEoCRILCgNyZWYYBSABKAkSEgoKY29udGFjdF9pZBgGIAEoAxITCgtjb250YWN0X3JlZhgHIAEoCRIUCgxjb250YWN0X25hbWUYCCABKAkSEgoKY29tcGFueV9pZBgJIAEoAxIUCgxjb21wYW55X25hbWUYCiABKAkSEwoLc3VwcGxpZXJfaWQYCyABKAMSFQoNc3VwcGxpZXJfbmFtZRgMIAEoCRIRCglvcmRlcl9yZWYYDSABKAkSFwoPbGVhZHRpbWVfbGVuZ3RoGA4gAS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XJ0d29ya2luZy92MTthcnR3b3JraW5ndjFiBnByb3RvMw", [file_artworking_v1_artwork, file_common_v1_unit, file_common_v1_query, file_google_protobuf_struct, file_google_protobuf_timestamp]); /** * @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 const JobGroupSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 0); /** * @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 const IntegrationDataSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 1); /** * @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 const IntegrationJobGroupDataSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 2); /** * @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 const CreateJobGroupRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 3); /** * @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 const CreateJobGroupRequest_JobGroupJobParamsSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 3, 0); /** * @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 const CreateJobGroupResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 4); /** * 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 const GetJobGroupByIdRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 5); /** * @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 const GetJobGroupByIdResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 6); /** * 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 const GetJobGroupByUriRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 7); /** * @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 const GetJobGroupByUriResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 8); /** * 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 const GetJobsByJobGroupUriRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 9); /** * @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 const GetJobsByJobGroupUriResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 10); /** * @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 const FilterJobGroupRequestFilterSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 11); /** * @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 const FindJobGroupRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 12); /** * @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 const FindJobGroupResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 13); /** * 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 const UpdateJobGroupRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 14); /** * @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 const UpdateJobGroupResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 15); /** * @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 const SetJobGroupSettingsRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 16); /** * @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 const SetJobGroupSettingsResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 17); /** * 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 const DeleteJobGroupRequestSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 18); /** * @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 const DeleteJobGroupResponseSchema: GenMessage = /*@__PURE__*/ messageDesc(file_artworking_v1_job_group, 19); /** * FindJobGroup * * @generated from enum artworking.v1.JobGroupFilterType */ export 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 const JobGroupFilterTypeSchema: GenEnum = /*@__PURE__*/ enumDesc(file_artworking_v1_job_group, 0);