1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2988],{26613:function(t,e,a){var i=a(64836);e.Z=void 0;var n=i(a(64938)),l=a(91032);e.Z=(0,n.default)((0,l.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward")},54364:function(t,e,a){var i=a(64836);e.Z=void 0;var n=i(a(64938)),l=a(91032);e.Z=(0,n.default)((0,l.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward")},81216:function(t,e,a){var i=a(64836);e.Z=void 0;var n=i(a(64938)),l=a(91032);e.Z=(0,n.default)((0,l.jsx)("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList")},72988:function(t,e,a){a.r(e),a.d(e,{default:function(){return R}});var i=a(35944),n=a(88767),l=a(91444),r=a(71509),o=a(80350),d=a(12177),c=a(66242),s=a(7906),p=a(51233),h=a(53816),u=a(295),Z=a(53252),m=a(65582),f=a(15861),g=a(72882),b=a(90629),v=a(87357),x=a(66489),w=a(93946),y=a(14564),C=a(18972),D=a(22961),Y=a(57976),A=a(60767),k=a(11720),M=a(68766),S=a(31347),B=a(17950),X=a(33373),I=a(30381),P=a.n(I),j=a(37437),H=a(53184),N=()=>(0,i.tZ)(H.Z,{children:(0,i.BX)(h.Z,{children:[(0,i.tZ)(Z.Z,{sx:{width:"1%"},children:"Name"}),(0,i.tZ)(Z.Z,{children:"Email"}),(0,i.tZ)(Z.Z,{children:"Subject"}),(0,i.tZ)(Z.Z,{children:"Created Date"}),(0,i.tZ)(Z.Z,{children:"Action"})]})}),T=a(64666),F=a(6514),L=a(37645),z=a(73772),W=t=>{let{open:e,onClose:a,selectedHelpAndSupportData:n}=t,[r,c]=(0,k.useState)(!1),s=async t=>{if(t)try{for(let e of(c(!0),t.split("~").map(t=>t.trim()))){let t=await fetch(e),a=await t.blob(),i=document.createElement("a");i.href=window.URL.createObjectURL(a);let n=e.substring(e.lastIndexOf("/")+1);i.download=n,document.body.appendChild(i),i.click(),document.body.removeChild(i)}l.toast.success("Files Downloaded Successfully")}catch(t){l.toast.error("Error downloading files")}finally{c(!1)}};return(0,i.BX)(T.Z,{open:e,onClose:a,maxWidth:"sm",fullWidth:!0,children:[(0,i.BX)(L.Z,{id:"responsive-modal-title",sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,i.tZ)(f.Z,{variant:"subtitle",children:"Help and support Details"}),(0,i.tZ)(w.Z,{onClick:a,children:(0,i.tZ)(z.Z,{})})]}),(0,i.tZ)(F.Z,{dividers:!0,sx:{"& td":{minWidth:"130px",wordBreak:"break-all",verticalAlign:"top"},"& th":{textAlign:"left"}},children:n&&(0,i.BX)(i.HY,{children:[(0,i.BX)("table",{children:[(0,i.BX)("tr",{children:[(0,i.tZ)("td",{children:(0,i.tZ)("th",{children:"Name"})}),(0,i.tZ)("td",{children:n.name||"-"})]}),(0,i.BX)("tr",{children:[(0,i.tZ)("td",{children:(0,i.tZ)("th",{children:"Email"})}),(0,i.tZ)("td",{children:n.email||"-"})]}),(0,i.BX)("tr",{children:[(0,i.tZ)("td",{children:(0,i.tZ)("th",{children:"Message"})}),(0,i.tZ)("td",{children:n.message||"-"})]}),(0,i.BX)("tr",{children:[(0,i.tZ)("td",{children:(0,i.tZ)("th",{children:"Subject"})}),(0,i.tZ)("td",{children:n.subject||"-"})]}),(0,i.BX)("tr",{children:[(0,i.tZ)("td",{children:(0,i.tZ)("th",{children:"Created Date"})}),(0,i.tZ)("td",{children:(0,X.Tu)(n.createdDate,"-")})]})]}),(0,i.BX)(v.Z,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",marginTop:"60px"},children:[(0,i.tZ)(v.Z,{style:{fontWeight:"bold"},children:"DownloadFile"}),(0,i.tZ)(v.Z,{children:(0,i.tZ)(o.Z,{title:"Download File",children:(0,i.tZ)(w.Z,{onClick:()=>s(n.photo),sx:{borderRadius:"25px",cursor:"pointer",width:"40px",height:"40px",justifySelf:"end",backgroundColor:"primary.main",color:"common.white","&:hover":{backgroundColor:"primary.dark"}},children:r?(0,i.tZ)(x.Z,{sx:{color:"grey.500",height:"24px!important",width:"24px!important"}}):(0,i.tZ)(d.Z,{})})})})]})]})})]})};let E=t=>"Name,Email,ID,Message,Subject,Created Date,\r\n"+t.map(t=>{let e=t.name||"",a=t.email||"",i=t.id||"",n=t.message||"",l=t.subject||"",r=(0,X.Tu)(t.createdDate,"");return"".concat(e,",").concat(a,",").concat(i,",").concat(n,",").concat(l,",").concat(r,"\r\n")}).join("");var V=a(8997);let O=[{value:"newest",label:"Newest"},{value:"workerName",label:"WorkerName"},{value:"netAmount",label:"NetAmount"},{value:"type",label:"Type"}];var R=()=>{var t,e,a;
1let[I,H]=(0,k.useState)(null),[T,F]=(0,k.useState)(null),[L,z]=(0,k.useState)(0),[R,G]=(0,k.useState)(!1),[q,_]=(0,k.useState)(null),U=P()(),K=P()().subtract(1,"month").format("YYYY/MM/DD"),Q=U.format("YYYY/MM/DD"),[J,$]=(0,k.useState)({page:1,pageSize:M.IV,orderField:"newest",orderType:"desc",filterText:"",duration:"month",fromDate:K,toDate:Q}),tt=(0,k.useCallback)(t=>{$(t)},[]),{data:te,refetch:ta,isLoading:ti}=(0,n.useQuery)("AdminAffiliateHelpAndSupport",()=>r.B.GetAffiliateHelpAndSupportDetails(J).then(t=>t).catch(t=>(l.toast.error(t.message),t))),tn=function(){let t=(0,n.useMutation)("AdminAffiliateHelpAndSupportCsvDetails",t=>r.B.GetAffiliateHelpAndSupportDetails(t).then(t=>t).catch(t=>(l.toast.error(t.message),t)));return t.isError&&t.error&&l.toast.error(t.error.message),t}(),tl=P()(P().now()).format("YYYY-MM-DD HH:MM A"),tr=null!==(a=null==te?void 0:null===(t=te.data)||void 0===t?void 0:t.totalRecords)&&void 0!==a?a:0,to=(null==te?void 0:null===(e=te.data)||void 0===e?void 0:e.affiliateHelpAndSupportList)||[],td=t=>{_(t),G(!0)},tc=t=>{H(t.currentTarget)},ts=()=>{F(null),H(null)},tp=(0,k.useCallback)(t=>{tt({...J,filterText:t,page:1})},[J,tt]),th=(0,k.useCallback)((t,e)=>{tt({...J,orderType:e,orderField:t,page:1})},[J,tt]),tu=(0,k.useCallback)(t=>{tt({...J,page:t})},[J,tt]),tZ=(0,k.useCallback)(t=>{tt({...J,pageSize:t,page:1})},[J,tt]);return(0,k.useEffect)(()=>{ta()},[J]),(0,i.BX)(i.HY,{children:[(0,i.BX)(A.Z,{children:[(0,i.BX)(m.Z,{children:[(0,i.tZ)(p.Z,{direction:"row",alignItems:"center",justifyContent:"space-between",mb:1,children:(0,i.tZ)(f.Z,{variant:"h4",gutterBottom:!0,children:"Help & Support"})}),(0,i.BX)(p.Z,{direction:{xs:"column",sm:"row"},alignItems:"center",justifyContent:"space-between",mb:1,children:[(0,i.tZ)(j.Z,{duration:J.duration,fromDate:J.fromDate,toDate:J.toDate,onFilterDurationChange:(t,e,a)=>{tt({...J,duration:t,fromDate:e,toDate:a,page:1})},handleChangeSearch:tp}),(0,i.tZ)(o.Z,{title:"Export CSV",children:(0,i.tZ)(w.Z,{onClick:()=>{tn.mutate({...J,page:1,pageSize:1e7},{onSuccess:t=>{try{var e,a;if(null==t?void 0:null===(a=t.data)||void 0===a?void 0:null===(e=a.affiliateHelpAndSupportList)||void 0===e?void 0:e.length){let e=E(t.data.affiliateHelpAndSupportList);(0,V.oW)(e,"Credit-transaction-details-(".concat(tl,").csv")),l.toast.success("Data exported successfully!")}else l.toast.error("No credit data available.")}catch(t){l.toast.error("Error generating CSV data")}}})},sx:{backgroundColor:"primary.main",color:"common.white","&:hover":{backgroundColor:"primary.dark"}},children:tn.isLoading?(0,i.tZ)(x.Z,{sx:{color:"grey.500",height:"24px!important",width:"24px!important"}}):(0,i.tZ)(d.Z,{})})})]}),(0,i.tZ)(v.Z,{sx:{display:"flex",justifyContent:"end",width:"100%"},children:(0,i.tZ)(B.Z,{sortByOptions:O,orderField:J.orderField,orderType:J.orderType,handleChangeOrderBy:th})}),(0,i.tZ)(c.Z,{children:(0,i.BX)(b.Z,{sx:{width:"100%",overflow:"hidden"},children:[(0,i.tZ)(g.Z,{sx:{width:"100%"},children:(0,i.BX)(s.Z,{children:[(0,i.tZ)(N,{}),(0,i.tZ)(u.Z,{children:ti?(0,i.tZ)(h.Z,{children:(0,i.tZ)(Z.Z,{colSpan:12,children:(0,i.tZ)(v.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:2},children:(0,i.tZ)(x.Z,{})})})}):to.length?to.map((t,e)=>(0,i.BX)(h.Z,{sx:{"&:last-child td, &:last-child th":{border:0}},children:[(0,i.tZ)(Z.Z,{component:"th",scope:"row",children:t.name||"-"}),(0,i.tZ)(Z.Z,{component:"th",scope:"row",children:t.email||"-"}),(0,i.tZ)(Z.Z,{component:"th",scope:"row",children:t.subject||"-"}),(0,i.tZ)(Z.Z,{component:"th",scope:"row",children:(0,X.Tu)(t.createdDate,"-")}),(0,i.tZ)(Z.Z,{children:(0,i.tZ)(w.Z,{"aria-label":"more",id:"long-button","aria-controls":T?"long-menu":void 0,"aria-expanded":T?"true":void 0,"aria-haspopup":"true",onClick:e=>{z(t.id),tc(e)},children:(0,i.tZ)(Y.Z,{})})})]},e)):(0,i.tZ)(h.Z,{children:(0,i.tZ)(Z.Z,{colSpan:15,children:(0,i.tZ)(v.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",p:2},children:(0,i.tZ)(f.Z,{variant:"body1",children:"No Help And Data Support Found."})})})})})]})}),to&&to.length>0&&(0,i.tZ)(v.Z,{sx:{width:"100%",p:{xs:1,md:2}},children:(0,i.tZ)(S.Z,{page:J.page,rowsPerPage:J.pageSize,handleChangePage:tu,handleChangePageSize:tZ,totalRecords:tr})})]})})]}),(0,i.tZ)(y.ZP,{anchorEl:I,open:!!I,onClose:ts,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{sx:{p:1,width:170,"& .MuiMenuItem-root":{px:1,typography:"body2",borderRadius:.75}}},children:(0,i.BX)(C.Z,{onClick:()=>{td(to.filter(t=>t.id===L)[0]),ts()},children:[(0,i.tZ)(D.Z,{sx:{mr:2}}),"View Details"]}
1)})]}),(0,i.tZ)(W,{open:R,onClose:()=>{G(!1)},handleChangeFilter:tt,selectedHelpAndSupportData:q})]})}},26208:function(t,e,a){a.d(e,{Z:function(){return f}});var i=a(35944),n=a(87109),l=a(93946),r=a(42761),o=a(73772),d=a(10155),c=a(90948);let s=(0,c.ZP)(d.Z)(t=>{let{theme:e}=t;return{height:40,display:"flex",justifyContent:"space-between",padding:"0 !important",[e.breakpoints.down("sm")]:{width:"100%"},[e.breakpoints.only("xs")]:{width:"100%",minWidth:"320px"}}});var p=a(57709),h=a(8423);let u=(0,c.ZP)(p.Z)(t=>{let{theme:e}=t;return{width:200,transition:e.transitions.create(["box-shadow","width"],{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.shorter}),"&.Mui-focused":{width:320,[e.breakpoints.down("sm")]:{width:"100%"}},"& fieldset":{borderWidth:"1px !important",borderColor:"".concat((0,h.Fq)(e.palette.grey[500],.32)," !important")},[e.breakpoints.down("sm")]:{width:"100%"}}});var Z=a(57144),m=a(11720),f=(0,m.memo)(t=>{let{placeholder:e,handleChangeSearch:a}=t,{keyword:d,handleSearchKeywordChange:c}=function(t){let[e,a]=(0,m.useState)(""),i=(0,m.useRef)(""),n=(0,m.useCallback)(()=>{t(i.current)},[t]),l=(0,m.useMemo)(()=>(0,Z.Z)(n,1e3),[n]);return{keyword:e,handleSearchKeywordChange:(0,m.useCallback)(t=>{a(t),i.current=t||"",l()},[l])}}(t=>{a(t)});return(0,i.tZ)(i.HY,{children:(0,i.tZ)(s,{children:(0,i.tZ)(u,{value:d,onChange:t=>c(t.target.value),placeholder:e,sx:{width:"100%","&.Mui-focused":{width:"100%"}},startAdornment:(0,i.tZ)(n.Z,{position:"start",children:(0,i.tZ)(r.Z,{sx:{color:"text.disabled",width:20,height:20}})}),endAdornment:(0,i.tZ)(n.Z,{position:"end",children:d&&(0,i.tZ)(l.Z,{edge:"end",onClick:()=>{a(""),c("")},children:(0,i.tZ)(o.Z,{})})})})})})})},17950:function(t,e,a){var i=a(35944),n=a(11720),l=a(44347),r=a(83321),o=a(18972),d=a(15861),c=a(59334),s=a(93946),p=a(54364),h=a(26613),u=a(23508),Z=a(81216);e.Z=(0,n.memo)(t=>{let{sortByOptions:e,orderField:a,orderType:m,handleChangeOrderBy:f}=t,[g,b]=(0,n.useState)(null),v=t=>{b(t.currentTarget)},x=()=>{b(null)},w=(0,n.useMemo)(()=>{var t,i;return null!==(i=null===(t=e.filter(t=>t.value===a)[0])||void 0===t?void 0:t.label)&&void 0!==i?i:"Newest"},[e,a]);return(0,i.BX)(i.HY,{children:[(0,i.BX)(r.Z,{color:"inherit",disableRipple:!0,onClick:v,sx:{display:{xs:"none",sm:"flex",fontSize:"15px"}},children:["Sort By:\xa0",(0,i.tZ)(c.Z,{children:w}),(0,i.tZ)(u.Z,{})]}),(0,i.tZ)(s.Z,{color:"inherit",disableRipple:!0,onClick:v,sx:{display:{xs:"flex",sm:"none"},justifyContent:{xs:"flex-end"}},children:(0,i.tZ)(Z.Z,{})}),(0,i.tZ)(l.Z,{keepMounted:!0,anchorEl:g,open:!!g,onClose:x,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:e.map(t=>(0,i.BX)(o.Z,{selected:t.value===a,onClick:()=>{f(t.value,a===t.value&&"asc"===m?"desc":"asc"),x()},sx:{typography:"body2"},children:[(0,i.tZ)(c.Z,{sx:{mr:2},children:t.label}),a===t.value&&(0,i.tZ)(d.Z,{variant:"body2",color:"text.secondary",children:"asc"===m?(0,i.tZ)(p.Z,{}):(0,i.tZ)(h.Z,{})})]},t.value))})]})})},31347:function(t,e,a){var i=a(35944),n=a(18972),l=a(15861),r=a(15054),o=a(87357),d=a(18360);e.Z=t=>{let{page:e,rowsPerPage:a,handleChangePage:c,handleChangePageSize:s,totalRecords:p}=t;return(0,i.BX)(o.Z,{sx:{justifyContent:"right",display:"flex",alignItems:"center",gap:1},children:[(0,i.tZ)(r.Z,{count:Math.ceil(p/a)||1,onChange:(t,e)=>c(e),page:e}),(0,i.BX)(o.Z,{display:"flex",alignItems:"center",gap:1,children:[(0,i.tZ)(l.Z,{sx:{display:{xs:"none",sm:"block"}},children:"Rows per page:"}),(0,i.tZ)(d.Z,{value:a,onChange:t=>s(t.target.value),size:"small",children:[10,25,50,100].map((t,e)=>(0,i.tZ)(n.Z,{value:t,children:t},e))})]})]})}},37437:function(t,e,a){a.d(e,{Z:function(){return x}});var i=a(35944),n=a(11720),l=a(87357),r=a(94054),o=a(86886),d=a(47312),c=a(18972),s=a(18360),p=a(83664),h=a(30381),u=a.n(h),Z=a(26208),m=a(51233),f=a(33578);let g=[{id:"all",name:"All"},{id:"running",name:"Running"},{id:"expired",name:"Expired"}],b=[{id:"all",name:"All"},{id:"call",name:"Call"},{id:"whatsApp",name:"WhatsApp"},{id:"visit",name:"Visit"}],v=[{value:"day",label:"Day"},{value:"week",label:"Week"},{value:"month",label:"Month"},{value:"custom",label:"Custom"}];function x(t){let{duration:e,fromDate:a,toDate:h,status:x,action:w,actionsArray:y,onFilterDurationChange:C,handleChangeStatus:D,handleChangeAction:Y,handleChangeSearch:A}
1=t,[k,M]=(0,n.useState)({dtFrom:u()().subtract(1,"month"),dtTo:u()()}),S=t=>{let e=u()().format("YYYY/MM/DD");return"day"===t?{fromDate:u()().format("YYYY/MM/DD"),toDate:e}:"month"===t?{fromDate:u()().subtract(1,"month").format("YYYY/MM/DD"),toDate:e}:"week"===t?{fromDate:u()().subtract(1,"week").format("YYYY/MM/DD"),toDate:e}:{fromDate:u()().subtract(1,"month").format("YYYY/MM/DD"),toDate:e}},B=t=>{if("custom"===t)C(t,u()().subtract(1,"month").format("YYYY/MM/DD"),u()().format("YYYY/MM/DD")),M({dtFrom:u()().subtract(1,"month"),dtTo:u()()});else{let{fromDate:e,toDate:a}=S(t);C(t,e,a)}};return(0,i.tZ)(i.HY,{children:(0,i.tZ)(l.Z,{width:"100%",children:(0,i.tZ)(m.Z,{direction:"row",alignItems:"center",justifyContent:"space-between",mb:1,children:(0,i.BX)(o.ZP,{container:!0,sx:{display:"flex",alignItems:"center"},spacing:2,children:[A&&(0,i.tZ)(o.ZP,{item:!0,xs:12,sm:"custom"===e?2.4:4,children:(0,i.tZ)(Z.Z,{placeholder:"Search...",handleChangeSearch:A})}),(0,i.tZ)(o.ZP,{item:!0,xs:12,sm:"custom"===e?2.4:4,children:(0,i.BX)(r.Z,{fullWidth:!0,children:[(0,i.tZ)(d.Z,{id:"filter-duration-label",children:"Duration"}),(0,i.tZ)(s.Z,{labelId:"filter-duration-label",value:e,label:"Duration",onChange:t=>B(t.target.value),sx:{"@media (min-width: 600px)":{width:"auto"}},children:v.map(t=>(0,i.tZ)(c.Z,{value:t.value,children:t.label},t.value))})]})}),"custom"===e&&(0,i.BX)(i.HY,{children:[(0,i.tZ)(o.ZP,{item:!0,xs:12,sm:"custom"===e?2.4:4,children:(0,i.tZ)(p.M,{label:"From date",format:"DD-MM-YYYY",value:k.dtFrom,onChange:t=>{if(null==t?void 0:t.isValid()){var a;C(e,null!==(a=null==t?void 0:t.format("YYYY/MM/DD"))&&void 0!==a?a:"",h)}},sx:{width:"100%","@media (min-width: 600px)":{width:"auto"}}})}),(0,i.tZ)(o.ZP,{item:!0,xs:12,sm:"custom"===e?2.4:4,children:(0,i.tZ)(p.M,{label:"To date",format:"DD-MM-YYYY",value:k.dtTo,onChange:t=>{if(null==t?void 0:t.isValid()){var i;C(e,a,null!==(i=null==t?void 0:t.format("YYYY/MM/DD"))&&void 0!==i?i:"")}},sx:{width:"100%","@media (min-width: 600px)":{width:"auto"}}})})]}),D&&(0,i.tZ)(o.ZP,{item:!0,xs:12,sm:"custom"===e?2.4:4,children:(0,i.BX)(r.Z,{fullWidth:!0,children:[(0,i.tZ)(f.sg,{sx:{backgroundColor:"common.white"},children:"Status"}),(0,i.tZ)(s.Z,{name:"status",labelId:"status",label:"Status",value:x,onChange:t=>D(t.target.value),sx:{width:"100%","@media (min-width: 600px)":{width:"auto"}},children:g.map(t=>(0,i.tZ)(c.Z,{value:t.name,children:t.name},t.id))})]})}),Y&&(0,i.tZ)(o.ZP,{item:!0,xs:12,sm:"custom"===e?2.4:4,children:(0,i.BX)(r.Z,{fullWidth:!0,children:[(0,i.tZ)(f.sg,{sx:{backgroundColor:"common.white"},children:"Actions"}),(0,i.tZ)(s.Z,{name:"action",labelId:"action",label:"Actions",value:w,onChange:t=>Y(t.target.value),sx:{width:"100%","@media (min-width: 600px)":{width:"auto"}},children:((null==y?void 0:y.length)?y:b).map(t=>(0,i.tZ)(c.Z,{value:t.name,children:t.name},t.id))})]})})]})})})})}},33578:function(t,e,a){a.d(e,{sg:function(){return o}});var i=a(47312),n=a(18360),l=a(90948);let r=(0,l.ZP)(n.Z)(t=>{let{theme:e}=t;return{borderRadius:"12px 0","&:hover":{".MuiOutlinedInput-notchedOutline":{borderColor:e.palette.primary[800]}},".MuiOutlinedInput-notchedOutline":{border:"2px solid",borderColor:e.palette.secondary.light},"& .MuiSelect-select":{padding:e.spacing(1.5,2.5)}}}),o=(0,l.ZP)(i.Z)(()=>({top:"-2px","&.MuiInputLabel-shrink":{top:0}}));e.ZP=r},68766:function(t,e,a){var i,n;a.d(e,{IV:function(){return l},KR:function(){return r},c3:function(){return i}});let l=25,r=1e7;(n=i||(i={}))[n.ALL=0]="ALL",n[n.CALL=1]="CALL",n[n.WHATSAPP=2]="WHATSAPP",n[n.VISIT=3]="VISIT"},71509:function(t,e,a){a.d(e,{B:function(){return l}});var i=a(99259),n=a(8997);class l{}
1l.addNewAffiliateConfiguration=async t=>(0,i.tc)({path:"https://orca-app-ex8lb.ondigitalocean.app/api/admin/affiliate/configuration",params:t,admin:!0}),l.GetAdminAffiliateDetails=async()=>await (0,i.AN)({path:"https://orca-app-ex8lb.ondigitalocean.app/api/admin/affiliate/configuration-list",params:void 0,admin:!0}),l.GetAdminAffiliates=async t=>{let e=(0,n.aF)(t);return await (0,i.AN)({path:"https://orca-app-ex8lb.ondigitalocean.app/api"+"/admin/affiliate/paginations?".concat(e),params:void 0,admin:!0})},l.AffiliateChangePassword=async t=>await (0,i.Nq)({path:"https://orca-app-ex8lb.ondigitalocean.app/api/affiliate/change-password",params:t,affiliate:!0}),l.AffiliateAddPassword=async t=>await (0,i.Nq)({path:"https://orca-app-ex8lb.ondigitalocean.app/api/affiliate/add-password",params:t,affiliate:!0}),l.GetAffiliateTransactionDetails=async t=>{let e=(0,n.aF)(t);return await (0,i.AN)({path:"https://orca-app-ex8lb.ondigitalocean.app/api"+"/admin/affiliate/transaction-log/paginations?".concat(e),params:void 0,admin:!0})},l.affiliateAddBankDetails=async t=>await (0,i.tc)({path:"https://orca-app-ex8lb.ondigitalocean.app/api/affiliate/add-bank-details",params:t,noalert:!0,affiliate:!0}),l.affiliateEditBankDetails=async(t,e)=>(0,i.Nq)({path:"https://orca-app-ex8lb.ondigitalocean.app/api"+"/affiliate/update-bank-details/".concat(t),params:e,affiliate:!0}),l.affiliateDeleteBankDetails=async t=>{let e={path:"https://orca-app-ex8lb.ondigitalocean.app/api/affiliate/delete-bank-details/"+t.BankId,params:void 0,affiliate:!0};return(0,i.NW)(e)},l.affiliateSetDefaultBankDetails=async t=>{let e={path:"https://orca-app-ex8lb.ondigitalocean.app/api/affiliate/default-bank/"+t.BankDefaultId,params:void 0,affiliate:!0};return(0,i.Nq)(e)},l.affiliateAddPayoutBankDetails=async t=>await (0,i.tc)({path:"https://orca-app-ex8lb.ondigitalocean.app/api/affiliate/payout/add",params:t,noalert:!0,affiliate:!0}),l.affiliateMobileOtpVerification=async t=>(0,i.tc)({path:"https://orca-app-ex8lb.ondigitalocean.app/api/affiliate/payout/verify-payout",params:t,noalert:!0,affiliate:!0}),l.GetAffiliatePayments=async t=>{let e=(0,n.aF)(t);return await (0,i.AN)({path:"https://orca-app-ex8lb.ondigitalocean.app/api"+"/admin/affiliate/payout/paginations?".concat(e),params:void 0,admin:!0})},l.AdminAffiliateApproveRejectDetails=async t=>await (0,i.tc)({path:"https://orca-app-ex8lb.ondigitalocean.app/api/admin/affiliate/payout/action",params:t,admin:!0}),l.GetAffiliateHelpAndSupportDetails=async t=>{let e=(0,n.aF)(t);return await (0,i.AN)({path:"https://orca-app-ex8lb.ondigitalocean.app/api"+"/admin/affiliate/help-support/paginations?".concat(e),params:void 0,admin:!0})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.