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

export const { permissions } = definePermissions("sales", {
  marketplace: [
    "activateChannel",
    "activateListing",
    "cancelChannelOrder",
    "cancelSyncJob",
    "convertChannelOrder",
    "createChannel",
    "createListing",
    "deactivateChannel",
    "markChannelOrderException",
    "pauseListing",
    "recordChannelOrder",
    "retireListing",
    "retrySyncJob",
    "startSyncJob",
    "updateChannel",
    "updateListing",
  ],
  salesBilling: [
    "cancelSalesInvoice",
    "createSalesCreditNote",
    "createSalesInvoice",
    "issueSalesCreditNote",
    "issueSalesInvoice",
    "sendSalesInvoice",
    "updateSalesCreditNote",
    "updateSalesInvoice",
  ],
  salesOrder: [
    "cancelSalesOrder",
    "closeSalesOrder",
    "confirmSalesOrder",
    "createSalesOrder",
    "placeSalesOrderOnCreditHold",
    "rejectSalesOrder",
    "releaseSalesOrderCreditHold",
    "submitSalesOrder",
    "updateSalesOrder",
  ],
  salesPricing: [
    "activateSalesPaymentTerm",
    "activateSalesPriceList",
    "activateSalesPriceRule",
    "createSalesPaymentTerm",
    "createSalesPriceList",
    "createSalesPriceRule",
    "deactivateSalesPaymentTerm",
    "deactivateSalesPriceList",
    "deactivateSalesPriceRule",
    "updateSalesPaymentTerm",
    "updateSalesPriceList",
    "updateSalesPriceRule",
  ],
  shipment: [
    "createShipment",
    "postShipment",
    "updateShipment",
  ],
} as const);
