"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6075],{56075:function(e,t,i){i.r(t),i.d(t,{default:function(){return b}});var n=i(85333),l=i(6692),a=i(8226),p=i(52322),u=i(63756),s=i(98317);i(2784);var m=i(1441),o=i(90379),r=i(74531);function b(){var e=(0,s.getGraphQLClient)();return(0,p.jsx)(m.Z,{entityCategory:u.EDBEntity.Coupon,entityListRoute:o.KY.route,entityBaseRoute:o.F7.baseRoute,listLabel:"Coupons",entityLabel:"Coupon",nameProperty:"name",getMany:e.getCoupons,deleteOne:e.deleteCoupon,deleteMany:e.deleteManyCoupons,columns:[{name:"code",label:"Code",type:"Simple text",visible:!0},{name:"discountType",label:"Discount type",type:"Simple text",visible:!0},{name:"value",label:"Value",type:"Simple text",visible:!0},{name:"expiryDate",label:"Expiry date",type:"Datetime",visible:!0},{name:"description",label:"Description",type:"Simple text",visible:!1},{name:"allowFreeShipping",label:"Free Shipping",type:"Checkbox",visible:!1},{name:"minimumSpend",label:"Minimum spend",type:"Currency",visible:!1},{name:"maximumSpend",label:"Maximum spend",type:"Currency",visible:!1},{name:"usageLimit",label:"Usage limit",type:"Simple text",visible:!1}].concat((0,a._)(r.xz.map(function(e){return"createDate"===e.name?(0,l._)((0,n._)({},e),{visible:!0}):(0,l._)((0,n._)({},e),{visible:!1})})))})}}}]);