import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Address, Address$Outbound } from "./address.js"; import { Currency } from "./currency.js"; import { CustomField, CustomField$Outbound } from "./customfield.js"; import { LinkedCustomerInput, LinkedCustomerInput$Outbound } from "./linkedcustomerinput.js"; import { LinkedTaxRateInput, LinkedTaxRateInput$Outbound } from "./linkedtaxrateinput.js"; import { LinkedTrackingCategory, LinkedTrackingCategory$Outbound } from "./linkedtrackingcategory.js"; /** * Current status of the project */ export declare const ProjectUpdateInputProjectStatus: { readonly Active: "active"; readonly Completed: "completed"; readonly OnHold: "on_hold"; readonly Cancelled: "cancelled"; readonly Draft: "draft"; readonly InProgress: "in_progress"; readonly Approved: "approved"; readonly Other: "other"; }; /** * Current status of the project */ export type ProjectUpdateInputProjectStatus = OpenEnum; /** * Type or category of the project */ export declare const ProjectUpdateInputProjectType: { readonly ClientProject: "client_project"; readonly InternalProject: "internal_project"; readonly Maintenance: "maintenance"; readonly ResearchDevelopment: "research_development"; readonly Training: "training"; readonly Other: "other"; }; /** * Type or category of the project */ export type ProjectUpdateInputProjectType = OpenEnum; /** * Priority level of the project */ export declare const ProjectUpdateInputPriority: { readonly Low: "low"; readonly Medium: "medium"; readonly High: "high"; readonly Critical: "critical"; }; /** * Priority level of the project */ export type ProjectUpdateInputPriority = OpenEnum; /** * Department or organizational unit associated with the project */ export type ProjectUpdateInputDepartment = { /** * Unique identifier for the department */ id?: string | undefined; /** * Name of the department */ name?: string | undefined; }; /** * Parent project if this is a subproject */ export type ProjectUpdateInputParentProject = { /** * Unique identifier for the parent project */ id?: string | undefined; /** * Name of the parent project */ name?: string | undefined; }; /** * Method used for billing this project */ export declare const ProjectUpdateInputBillingMethod: { readonly FixedPrice: "fixed_price"; readonly TimeAndMaterials: "time_and_materials"; readonly MilestoneBased: "milestone_based"; readonly Retainer: "retainer"; readonly NonBillable: "non_billable"; }; /** * Method used for billing this project */ export type ProjectUpdateInputBillingMethod = OpenEnum; /** * Current phase of the project lifecycle */ export declare const ProjectUpdateInputProjectPhase: { readonly Initiation: "initiation"; readonly Planning: "planning"; readonly Execution: "execution"; readonly Monitoring: "monitoring"; readonly Closure: "closure"; readonly Other: "other"; }; /** * Current phase of the project lifecycle */ export type ProjectUpdateInputProjectPhase = OpenEnum; /** * Current status of project schedule compared to plan */ export declare const ProjectUpdateInputScheduleStatus: { readonly AheadOfSchedule: "ahead_of_schedule"; readonly OnSchedule: "on_schedule"; readonly BehindSchedule: "behind_schedule"; readonly CriticalDelay: "critical_delay"; }; /** * Current status of project schedule compared to plan */ export type ProjectUpdateInputScheduleStatus = OpenEnum; /** * The writable shape of Project for a single-record update. Identical to the model with the read-only properties removed and no required properties, because PATCH is partial and the API already validates it that way. */ export type ProjectUpdateInput = { /** * Name of the project */ name?: string | undefined; /** * User-friendly project identifier */ displayId?: string | null | undefined; /** * External reference identifier for the project */ referenceId?: string | null | undefined; /** * Detailed description of the project */ description?: string | null | undefined; /** * Current status of the project */ status?: ProjectUpdateInputProjectStatus | null | undefined; /** * Indicates whether the project is currently active or inactive */ active?: boolean | null | undefined; /** * Type or category of the project */ projectType?: ProjectUpdateInputProjectType | null | undefined; /** * Priority level of the project */ priority?: ProjectUpdateInputPriority | null | undefined; /** * Percentage of project completion (0-100) */ completionPercentage?: number | null | undefined; /** * Start date of the project */ startDate?: Date | null | undefined; /** * Expected or planned end date of the project */ endDate?: Date | null | undefined; /** * Actual end date of the project */ completionDate?: Date | null | undefined; /** * The customer this entity is linked to. */ customer?: LinkedCustomerInput | null | undefined; /** * Department or organizational unit associated with the project */ department?: ProjectUpdateInputDepartment | null | undefined; /** * The company ID the transaction belongs to */ companyId?: string | null | undefined; /** * ID of the user who owns/manages this project */ ownerId?: string | null | undefined; /** * Parent project if this is a subproject */ parentProject?: ProjectUpdateInputParentProject | null | undefined; /** * Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). */ currency?: Currency | null | undefined; /** * Total budgeted amount for the project */ budgetAmount?: number | null | undefined; /** * Approved budget amount for the project */ approvedAmount?: number | null | undefined; /** * Total budgeted hours for the project */ budgetHours?: number | null | undefined; /** * Default hourly rate for project work */ hourlyRate?: number | null | undefined; /** * Method used for billing this project */ billingMethod?: ProjectUpdateInputBillingMethod | null | undefined; /** * Indicates if the project is billable to the customer */ isBillable?: boolean | null | undefined; /** * Current phase of the project lifecycle */ phase?: ProjectUpdateInputProjectPhase | null | undefined; taxRate?: LinkedTaxRateInput | undefined; /** * A list of linked tracking categories. */ trackingCategories?: Array | null | undefined; /** * Tags associated with the project */ tags?: Array | undefined; /** * Additional notes about the project */ notes?: string | null | undefined; /** * Contract or agreement number associated with the project */ contractNumber?: string | null | undefined; /** * Expected profit margin percentage for the project */ profitMargin?: number | null | undefined; /** * Current status of project schedule compared to plan */ scheduleStatus?: ProjectUpdateInputScheduleStatus | null | undefined; /** * An array of addresses associated with the project (billing, job site, etc.) */ addresses?: Array
| undefined; /** * Number of team members assigned to the project */ teamSize?: number | null | undefined; customFields?: Array | undefined; /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. */ rowVersion?: string | null | undefined; }; /** @internal */ export declare const ProjectUpdateInputProjectStatus$outboundSchema: z.ZodType; /** @internal */ export declare const ProjectUpdateInputProjectType$outboundSchema: z.ZodType; /** @internal */ export declare const ProjectUpdateInputPriority$outboundSchema: z.ZodType; /** @internal */ export type ProjectUpdateInputDepartment$Outbound = { id?: string | undefined; name?: string | undefined; }; /** @internal */ export declare const ProjectUpdateInputDepartment$outboundSchema: z.ZodType; export declare function projectUpdateInputDepartmentToJSON(projectUpdateInputDepartment: ProjectUpdateInputDepartment): string; /** @internal */ export type ProjectUpdateInputParentProject$Outbound = { id?: string | undefined; name?: string | undefined; }; /** @internal */ export declare const ProjectUpdateInputParentProject$outboundSchema: z.ZodType; export declare function projectUpdateInputParentProjectToJSON(projectUpdateInputParentProject: ProjectUpdateInputParentProject): string; /** @internal */ export declare const ProjectUpdateInputBillingMethod$outboundSchema: z.ZodType; /** @internal */ export declare const ProjectUpdateInputProjectPhase$outboundSchema: z.ZodType; /** @internal */ export declare const ProjectUpdateInputScheduleStatus$outboundSchema: z.ZodType; /** @internal */ export type ProjectUpdateInput$Outbound = { name?: string | undefined; display_id?: string | null | undefined; reference_id?: string | null | undefined; description?: string | null | undefined; status?: string | null | undefined; active?: boolean | null | undefined; project_type?: string | null | undefined; priority?: string | null | undefined; completion_percentage?: number | null | undefined; start_date?: string | null | undefined; end_date?: string | null | undefined; completion_date?: string | null | undefined; customer?: LinkedCustomerInput$Outbound | null | undefined; department?: ProjectUpdateInputDepartment$Outbound | null | undefined; company_id?: string | null | undefined; owner_id?: string | null | undefined; parent_project?: ProjectUpdateInputParentProject$Outbound | null | undefined; currency?: string | null | undefined; budget_amount?: number | null | undefined; approved_amount?: number | null | undefined; budget_hours?: number | null | undefined; hourly_rate?: number | null | undefined; billing_method?: string | null | undefined; is_billable: boolean | null; phase?: string | null | undefined; tax_rate?: LinkedTaxRateInput$Outbound | undefined; tracking_categories?: Array | null | undefined; tags?: Array | undefined; notes?: string | null | undefined; contract_number?: string | null | undefined; profit_margin?: number | null | undefined; schedule_status?: string | null | undefined; addresses?: Array | undefined; team_size?: number | null | undefined; custom_fields?: Array | undefined; row_version?: string | null | undefined; }; /** @internal */ export declare const ProjectUpdateInput$outboundSchema: z.ZodType; export declare function projectUpdateInputToJSON(projectUpdateInput: ProjectUpdateInput): string; //# sourceMappingURL=projectupdateinput.d.ts.map