import type * as Samsara from "../../../../index.mjs"; /** * @example * { * id: "id" * } */ export interface EntityPurchaseOrdersServiceUpdatePurchaseOrderRequestBody { /** Unique identifier for the PurchaseOrder record. */ id: string; /** General ledger code associated with this purchase order. */ glCode?: string; /** Vendor invoice number associated with this purchase order. */ invoiceNumber?: string; /** Free-text notes for the purchase order. */ notes?: string; /** Current customer-visible status of the purchase order. Valid values: `Unknown`, `Draft`, `Open`, `InReview`, `Approved`, `Rejected`, `SentToVendor`, `PartiallyReceived`, `FullyReceived`, `Returned`, `Cancelled`, `Closed` */ orderStatus?: EntityPurchaseOrdersServiceUpdatePurchaseOrderRequestBody.OrderStatus; otherCost?: Samsara.UpdatePurchaseOrderEntityPurchaseOrderMoneyInputPublicVariantc9366B66E6FcTypeRequestBody; /** Parts ordered on the purchase order. */ parts?: Samsara.UpdatePurchaseOrderEntityPurchaseOrderPurchaseOrderPartInputPublicVariant5E7C0Da15F4CTypeRequestBody[]; tax?: Samsara.UpdatePurchaseOrderEntityPurchaseOrderTaxAdjustmentInputTypeRequestBody; /** Shipment tracking number for the purchase order. */ trackingNumber?: string; /** ID of the vendor supplying this purchase order. */ vendorId?: string; } export declare namespace EntityPurchaseOrdersServiceUpdatePurchaseOrderRequestBody { /** Current customer-visible status of the purchase order. Valid values: `Unknown`, `Draft`, `Open`, `InReview`, `Approved`, `Rejected`, `SentToVendor`, `PartiallyReceived`, `FullyReceived`, `Returned`, `Cancelled`, `Closed` */ const OrderStatus: { readonly Unknown: "Unknown"; readonly Draft: "Draft"; readonly Open: "Open"; readonly InReview: "InReview"; readonly Approved: "Approved"; readonly Rejected: "Rejected"; readonly SentToVendor: "SentToVendor"; readonly PartiallyReceived: "PartiallyReceived"; readonly FullyReceived: "FullyReceived"; readonly Returned: "Returned"; readonly Cancelled: "Cancelled"; readonly Closed: "Closed"; }; type OrderStatus = (typeof OrderStatus)[keyof typeof OrderStatus]; }