import type * as Samsara from "../../../../index.mjs"; /** * @example * { * orderStatus: "Unknown", * vendorId: "281474976710656" * } */ export interface EntityPurchaseOrdersServiceCreatePurchaseOrderRequestBody { /** 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: EntityPurchaseOrdersServiceCreatePurchaseOrderRequestBody.OrderStatus; otherCost?: Samsara.CreatePurchaseOrderEntityPurchaseOrderMoneyInputPublicVariantc9366B66E6FcTypeRequestBody; /** Parts ordered on the purchase order. */ parts?: Samsara.CreatePurchaseOrderEntityPurchaseOrderPurchaseOrderPartInputPublicVariantfe4658938A0FTypeRequestBody[]; /** Optional prefix included in the purchase order number. */ poNumberPrefix?: string; /** Optional suffix included in the purchase order number. */ poNumberSuffix?: string; tax?: Samsara.CreatePurchaseOrderEntityPurchaseOrderTaxAdjustmentInputTypeRequestBody; /** Shipment tracking number for the purchase order. */ trackingNumber?: string; /** ID of the vendor supplying this purchase order. */ vendorId: string; } export declare namespace EntityPurchaseOrdersServiceCreatePurchaseOrderRequestBody { /** 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]; }