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

export const { permissions } = definePermissions("purchase", {
  purchaseBill: [
    "cancelPurchaseBill",
    "createPurchaseBill",
    "matchPurchaseBill",
    "releasePurchaseBill",
    "updatePurchaseBill",
  ],
  purchaseOrder: [
    "amendOrderedPurchaseOrder",
    "approvePurchaseOrder",
    "cancelPurchaseOrder",
    "closePurchaseOrder",
    "createPurchaseOrder",
    "rejectPurchaseOrder",
    "submitPurchaseOrder",
    "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);
