// @generated — do not edit
import { definePermissions } from "@tailor-platform/erp-kit/core";

export const { permissions } = definePermissions("purchase", {
  goodsReceipt: [
    "cancelGoodsReceipt",
    "createGoodsReceipt",
    "postGoodsReceipt",
    "updateGoodsReceipt",
  ],
  purchaseBill: [
    "cancelPurchaseBill",
    "createPurchaseBill",
    "matchPurchaseBill",
    "releasePurchaseBill",
    "updatePurchaseBill",
  ],
  purchaseOrder: [
    "applyPurchaseChangeOrder",
    "approvePurchaseChangeOrder",
    "approvePurchaseOrder",
    "cancelPurchaseChangeOrder",
    "cancelPurchaseOrder",
    "closePurchaseOrder",
    "createPurchaseChangeOrder",
    "createPurchaseOrder",
    "rejectPurchaseChangeOrder",
    "rejectPurchaseOrder",
    "submitPurchaseChangeOrder",
    "submitPurchaseOrder",
    "updatePurchaseChangeOrder",
    "updatePurchaseOrder",
  ],
  purchasePricing: [
    "activatePurchasePaymentTerm",
    "activatePurchasePriceList",
    "activatePurchasePriceRule",
    "createPurchasePaymentTerm",
    "createPurchasePriceList",
    "createPurchasePriceRule",
    "deactivatePurchasePaymentTerm",
    "deactivatePurchasePriceList",
    "deactivatePurchasePriceRule",
    "setSupplierDefaultPurchasePaymentTerm",
    "updatePurchasePaymentTerm",
    "updatePurchasePriceList",
    "updatePurchasePriceRule",
  ],
  purchaseRequisition: [
    "approvePurchaseRequisition",
    "cancelPurchaseRequisition",
    "closePurchaseRequisition",
    "convertPurchaseRequisitionToPurchaseOrder",
    "createPurchaseRequisition",
    "recallPurchaseRequisition",
    "rejectPurchaseRequisition",
    "submitPurchaseRequisition",
    "updatePurchaseRequisition",
  ],
} as const);
