1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"20260916.130036"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var a in i)i.hasOwnProperty(a)&&(e[a]=i[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:novo-core-app":!0});var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="65a75c0d-2808-41a9-bbe8-87400166e4cc",e._sentryDebugIdIdentifier="sentry-dbid-65a75c0d-2808-41a9-bbe8-87400166e4cc")}catch(e){}}(),(self.webpackChunkcore=self.webpackChunkcore||[]).push([[16788],{22348(e,n,i){"use strict";i.d(n,{Ay:()=>l,mo:()=>s.InputWithIcon});var a=i(90024),t=i(75969),d=i.n(t),s=(i(1291),i(23463)),r=(i(28492),i(69500));const m=["pre","post","className","classNameWrap","error","WrappingComp","WrappingProps","value","onChange"],l=d().forwardRef(((e,n)=>{let{pre:i,post:t,className:s,classNameWrap:l,error:c,WrappingComp:v,WrappingProps:_,value:o,onChange:u}=e,k=(0,a.A)(e,m);const[N,p]=d().useState(o);d().useEffect((()=>{p(o)}),[o]);const E=(0,r.jsxs)("div",{className:`relative flex w-full flex-row items-center justify-center rounded border border-solid ${c?"border-inputs-error-border":"border-border-light hover:border-border-light rounded"} bg-fill-default ${l}`,children:[i,(0,r.jsx)("input",Object.assign({className:`w-full flex-1 rounded px-3 py-3 focus:outline-none ${s}`},k,{value:N,onChange:e=>{p(e.target.value),null==u||u(e)},ref:n})),t]});return(0,r.jsxs)("div",{className:"group relative flex w-full flex-col",children:[v?(0,r.jsx)(v,Object.assign({},_,{children:E})):E,c&&(0,r.jsx)("div",{className:"text-typography-error text-body-s-regular",children:c})]})}))},33482(e,n,i){"use strict";function a(){return"https://novo-invoicing-service-api.novo-aws-prod.com/api"}function t(){return"https://novo-invoicing-service-api.novo-aws-prod.com/api/upload/logo"}function d(){return"https://novo-invoicing-service-api.novo-aws-prod.com/api/upload/document"}function s(){return"https://novo-invoicing-service-api.novo-aws-prod.com/open"}i.d(n,{Ay:()=>a,NK:()=>s,aK:()=>d,sG:()=>t})},37016(e,n,i){"use strict";i.d(n,{A:()=>v});var a=i(90024),t=i(75969),d=i(27581),s=i(22348),r=i(1291),m=i(72937),l=i(69500);const c=["handleSearch","useSearchRegex","label"],v=e=>{let{handleSearch:n,useSearchRegex:i=!0,label:v}=e,_=(0,a.A)(e,c);const[o,u]=(0,t.useState)("");return(0,l.jsx)(s.mo,Object.assign({type:"text",placeholder:(null==_?void 0:_.placeholder)||(0,m.catalogueText)("core-shared","search"),onChange:e=>{const{value:a}=e.target;(""===a||a&&(!i||a.match(new RegExp(d.nc))))&&(u(a),n(a))},maxLength:30,name:"search",value:o,label:v,isClearRequired:!1,leftEndIcon:(0,l.jsx)(r.Int,{name:"search",size:"md",color:"current"})},_))}},93389(e,n,i){"use strict";i.d(n,{y:()=>a});const a=e=>{if(e.data.errors)throw new Error(e.data.errors[0].message);if(!e.data.data)throw new Error("No data returned");if(!e.data.data.responseData)throw new Error("Developer doesn't define aliases (responseData) for Query/Mutation");return e.data.data.responseData}},45914(e,n,i){"use strict";i.d(n,{Fb:()=>c,Gk:()=>m,Hi:()=>_,Yk:()=>r,au:()=>u,bB:()=>o,qQ:()=>v,uD:()=>l});var a=i(54701),t=i(16787),d=i(34035);const s=(0,i(14004).Ay)(),r=async(e,n)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(d.GetInsightWidgetQuery)}},n)}),m=async(e,n)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(d.GetInvoiceStatusWidget)}},n)}),l=async(e,n)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(d.CheckIfUserHasInvoices)}},n)}),c=async(e,n)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(d.GetOverviewAlerts)}},n)}),v=async(e,n,i)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(d.GetCustomersWithOverdueBalance),variables:i}},n)}),_=async(e,n)=>(await(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(d.GetActivitiesWidget),variables:n},baseURL:s}})).data.activities,o=async e=>(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(d.Get12MonthPaymentGraphData)},baseURL:s}}),u=async e=>(0,t.In)({axiosInstance:e,handleError:!0,requestAPIType:"Query",config:{data:{query:(0,a.y)(d.GetOnboardingFeeDescription)},baseURL:s}})},66753(e,n,i){"use strict";i.d(n,{Do:()=>o,Es:()=>l,Et:()=>T,J4:()=>E,K3:()=>D,KC:()=>F,Mw:()=>N,PA:()=>v,Vr:()=>_,Wd:()=>k,Wv:()=>y,Wz:()=>u,XE:()=>f,X_:()=>O,YL:()=>S,Yu:()=>g,_4:()=>c,nX:()=>I,ng:()=>p,sW:()=>C});i(49100);var a=i(54701),t=i(16787),d=i(4410),s=i(84272),r=i(93389);const m=(0,i(14004).Ay)(),l=async(e,n,i)=>
1{const t=Object.assign({data:{query:(0,a.y)(d.GetSavedItems),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const s=await e.request(t);return(0,r.y)(s)},c=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(d.FetchTransactionsByInvoiceId),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const s=await e.request(t);return(0,r.y)(s)},v=async(e,n)=>{const i=Object.assign({data:{query:(0,a.y)(d.InvoiceOnBoardingInfo)}},n);if(void 0===e)throw new Error("apiInstance is undefined");const t=await e.request(i);return(0,r.y)(t)},_=async(e,n)=>{const i=Object.assign({data:{query:(0,a.y)(d.InvoiceCustomizationInfo)}},n);if(void 0===e)throw new Error("apiInstance is undefined");const t=await e.request(i);return(0,r.y)(t)},o=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(d.GetInvoicesList),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const s=await e.request(t);return(0,r.y)(s)},u=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(s.GetRecurringList),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const d=await e.request(t);return(0,r.y)(d)},k=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(s.GetRecurringListById),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const d=await e.request(t);return(0,r.y)(d)},N=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(s.GetRecurringInvoiceHistory),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const d=await e.request(t);return(0,r.y)(d)},p=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(d.GetInvoiceSignedUrl),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const s=await e.request(t);return(0,r.y)(s)},E=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(d.GetDashboardInvoiceList),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const s=await e.request(t);return(0,r.y)(s)},g=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(d.GetInvoiceListById),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const s=await e.request(t);return(0,r.y)(s)},T=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(d.GetAttachments),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const s=await e.request(t);return(0,r.y)(s)},I=async(e,n)=>{const i=Object.assign({data:{query:(0,a.y)(d.CheckPaymentCapabilities)}},n);if(void 0===e)throw new Error("apiInstance is undefined");const t=await e.request(i);return(0,r.y)(t)},y=async(e,n,i)=>{const t=Object.assign({data:{query:(0,a.y)(d.GetNextInvoiceNumber),variables:n}},i);if(void 0===e)throw new Error("apiInstance is undefined");const s=await e.request(t);return(0,r.y)(s)},S=async(e,n,i)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(d.GetInvoiceDetailsByCode),variables:n}},i),handleError:!0}),C=async(e,n)=>{const i=Object.assign({data:{query:(0,a.y)(d.FetchCreateInvoicePaymentOptions)}},n);if(void 0===e)throw new Error("apiInstance is undefined");const t=await e.request(i);return(0,r.y)(t)},D=async(e,n,i)=>(0,t.In)({axiosInstance:e,config:Object.assign({data:{query:(0,a.y)(d.GetActivities),variables:n}},i)}),O=async e=>await(0,t.In)({axiosInstance:e,config:{data:{query:(0,a.y)(d.GetACLFeatures)},baseURL:m}}),F=async({apiInstance:e,variables:n,config:i={}})=>(0,t.In)({axiosInstance:e,config:Object.assign({},i,{data:{query:(0,a.y)(d.GetClientArchivePreviewInvoices),variables:n}})}),f=async e=>(0,t.In)({axiosInstance:e,config:{data:{query:(0,a.y)(d.GetBetaStatus)},baseURL:m}})},25962(e,n,i){"use strict";i.d(n,{U:()=>E});var a=i(73681),t=i.n(a),d=i(75969),s=i.n(d),r=i(3534),m=i(1291),l=i(31189),c=i(37016),v=i(14004),_=i(42242),o=i(55531),u=i(23463),k=i(35397),N=i(69500);const p=({statusOptions:e,onFilterChange:n,dateFilter:i,dateRangeOptions:a,onSearch:s,handleCustomDate:p,customDates:E,searchLabel:g="",handleOptionClick:T,getSubValues:I,filters:y,tags:S,onStatusClose:C,filterHeader:D,searchPlaceholder:O})=>{const{state:F}=(0,r.useLocation)(),[f,A]=(0,d.useState)(!1);(0,d.useEffect)((()=>{document.addEventListener("click",(e=>(e=>{var n;const i=e.target;null!==(null==i?void 0:i.closest("#customCheckboxSelectBox"))||(null==i?void 0:i.getRootNode())!==document&&"invoiceFilter"===(null==i||null==(n=i.getRootNode())?void 0:n.getAttribute("data-identifier"))||A(!1)})(e)))}),[]);const L=e=>{var n;let i=e=>(0,m.aH8)(Object.assign({},e,{identifier:"invoiceFilter"}));if(null==y?void 0:y.includes(e.value))i=e=>(0,m.ovp)(Object.assign({},e,{identifier:"invoiceFilter"}));else if(null!=e&&null!=(n=e.options)&&n.length){const n=I(e),a=[...y];
1a.length===n.val.length?i=e=>(0,m.ovp)(Object.assign({},e,{identifier:"invoiceFilter"})):a.length>0&&a.length<n.val.length&&(i=e=>(0,m.m$1)(Object.assign({},e,{identifier:"invoiceFilter"})))}return(0,N.jsx)(i,{})},b=e=>(0,N.jsx)("div",{className:"flex flex-col gap-2",children:e.map((e=>e.options?(0,N.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,N.jsxs)("div",{className:"flex cursor-pointer flex-row items-center gap-2",onClick:()=>T(e,!0),children:[L(e),(0,N.jsx)("div",{className:"",children:e.label})]},e.value),(0,N.jsx)("div",{className:"ml-3 flex flex-col",children:b(e.options)})]},e.value):(0,N.jsxs)("div",{className:"flex cursor-pointer flex-row items-center gap-2",onClick:()=>T(e,!1),children:[L(e),(0,N.jsx)("div",{className:"",children:e.label})]},e.value)))}),h=(0,d.useMemo)((()=>{var n;return 0===(null==S?void 0:S.length)||(null==S?void 0:S.length)===(null==(n=I(e))||null==(n=n.tags)?void 0:n.length)}),[null==S?void 0:S.length]);return(0,N.jsxs)("div",{className:"flex flex-col items-start gap-4 pb-4 md:flex-row md:items-center",role:"row",children:[(0,N.jsx)("div",{className:"w-full sm:w-44",children:(0,N.jsxs)("div",{className:"relative flex flex-col gap-2",id:"customCheckboxSelectBox",children:[(0,N.jsx)("div",{onClick:()=>A(!f),children:(0,N.jsx)(u.InputWithIcon,{label:k.k.status,value:h?D:null==S?void 0:S.join(", "),disabled:!1,inputClass:"text-ellipsis cursor-default",readOnly:!0,isClearRequired:(null==S?void 0:S.length)>0,onClearValue:C,rightEndIcon:(0,N.jsx)("div",{className:"flex items-center "+(f?"rotate-180":""),onClick:()=>{A(!f)},children:(0,N.jsx)(m.Int,{name:"chevron-down",size:"xs",color:"default"})})})}),f&&(0,N.jsx)("div",{className:"border-border-light bg-fill-default absolute z-10 mt-20 flex min-h-0 w-full flex-grow flex-col overflow-y-auto rounded border border-solid px-2 py-3",children:b(e)})]})}),(0,N.jsxs)("div",{className:"flex w-full flex-col md:z-10 md:w-auto",children:[(0,N.jsx)("label",{className:"",children:v.WD.DateRange}),(0,N.jsxs)("div",{className:"invoice_date_range_filter border-border-light flex flex-col rounded border border-solid md:flex-row",children:[(0,N.jsx)("div",{className:"invoice_duration_select",children:(0,N.jsx)(u.Select,{name:v.WD.DateRange,"data-test-id":"date-range-select",value:i,isSearchable:!0,isClearable:!0,options:a,onChange:e=>n("dateRange",e),className:"border-b-1 border-b-border-light md:border-b-0"})}),"CUSTOM"===(null==i?void 0:i.value)&&(0,N.jsx)("div",{className:"custom-date-range flex flex-col gap-0 md:flex-row",children:(0,N.jsx)(l.ad,{minDate:t()().subtract(5,"years"),maxDate:t()(),onChangeHandle:p,start_date:null==E?void 0:E.startDate,end_date:null==E?void 0:E.endDate,arrowIcon:(0,N.jsx)("div",{className:"hidden"})})})]})]}),(0,N.jsxs)("div",{className:"flex w-full flex-col gap-0.5 md:ml-auto md:w-[400px] md:self-end",children:[g&&(0,N.jsx)("label",{htmlFor:"search",className:"text-typography-default md:text-typography-default",children:g}),(0,N.jsx)(c.A,{handleSearch:e=>s(e),placeholder:O,onFocus:()=>null!=F&&F.isRecurringSeries?(0,o.sx)(_.y.INVOICES.RECURRING.SEARCH_RECURRING_SERIES):(0,o.sx)(_.y.INVOICES.LISTING.SEARCH_INVOICE_LIST),className:" "})]})]})},E=s().memo(p)},8538(e,n,i){"use strict";i.r(n),i.d(n,{RecurringSeries:()=>L,default:()=>b});var a=i(90024),t=i(75969),d=i(3534),s=i(73681),r=i.n(s),m=i(60120),l=i(22949),c=i(1291),v=i(23463),_=i(21215),o=i(55531),u=i(14004),k=i(76805),N=i(31591),p=i(16621),E=i(69500);const g=()=>(0,E.jsxs)("div",{className:"hover:bg-fill-light grid cursor-pointer auto-rows-auto grid-cols-3 items-center gap-4 p-4 md:grid-cols-12",children:[(0,E.jsx)("div",{className:"col-span-1 flex flex-col items-start md:col-span-1",children:(0,E.jsx)(v.SkeletonText,{className:"w-[80px]"})}),(0,E.jsx)("div",{className:"col-span-1 flex flex-col md:col-span-4 md:ml-12",children:(0,E.jsx)(v.SkeletonText,{className:"w-[160px]"})}),(0,E.jsx)("div",{className:"col-span-1 flex flex-col md:col-span-2 md:items-start",children:(0,E.jsx)(v.SkeletonText,{className:"w-[80px]"})}),(0,E.jsx)("div",{className:"col-span-1 flex flex-col md:col-span-2 md:items-start",children:(0,E.jsx)(v.SkeletonText,{className:"w-[80px]"})}),(0,E.jsx)("div",{className:"col-span-1 flex flex-col md:col-span-1 md:items-end",children:(0,E.jsx)(v.SkeletonText,{className:"w-[80px]"})}),(0,E.jsx)("div",{className:"col-span-1 ml-auto flex justify-start md:col-span-2 md:items-end md:justify-end",children:(0,E.jsx)(v.SkeletonText,{className:"w-[100px]"})})]});var T=i(66753),I=i(42242),y=i(28492),S=i(33482),C=i(25962),D=i(45914),O=i(35397);const F=["endType","endValue","frequency","repeatType","id"],f={ACTIVE:"text-typography-success bg-fill-success-light",EXPIRED:"bg-fill-neutral",CANCELLED:"text-typography-grey bg-fill-neutral",DRAFT:"bg-fill-neutral",SCHEDULED:"text-typography-info bg-blue-100"};function A(){const e=(0,d.useNavigate)(),n=(0,d.useLocation)();return(0,E.jsxs)("div",{className:"flex w-full flex-col items-center gap-8 p-6",children:[(0,E.jsx)(v.Header5,{children:u.WD.NOT_SET_UP_RECURRING_INVOICE}),(0,E.jsx)("div",{className:"flex flex-col gap-6",children:(0,E.jsxs)("div",{className:"flex flex-row items-center gap-2 md:flex-col md:gap-8",children:[(0,E.jsxs)("div",{className:"flex h-full flex-col items-center md:w-3/4 md:flex-row",children:[(0,E.jsx)("div",{className:"border-border-neutral bg-fill-default flex h-9 w-9 items-center justify-center rounded-full border border-solid",children:(0,E.jsx)("div",{className:"bg-fill-dark flex h-6 w-6 items-center justify-center rounded-full",children:(0,E.jsx)("div",{className:"text-body-regular text-typography-white",children:"1"})})}),(0,E.jsx)("div",{className:"bg-fill-dark h-auto w-0.5 flex-1 md:h-0.5 md:w-auto"}),(0,E.jsx)("div",{className:"border-border-neutral bg-fill-default flex h-9 w-9 items-center justify-center rounded-full border border-solid",children:(0,E.jsx)("div",{className:"bg-fill-dark flex h-6 w-6 items-center justify-center rounded-full",children:(0,E.jsx)("div",{className:"text-body-regular text-typography-white",children:"2"})})}),(0,E.jsx)("div",{className:"bg-fill-dark h-auto w-0.5 flex-1 md:h-0.5 md:w-auto"}),(0,E.jsx)("div",{className:"border-border-neutral bg-fill-default flex h-9 w-9 items-center justify-center rounded-full border border-solid",children:(0,E.jsx)("div",{className:"bg-fill-dark flex h-6 w-6 items-center justify-center rounded-full",children:(0,E.jsx)("div",{className:"text-body-regular text-typography-white",children:"3"})})})]}),(0,E.jsxs)("div",{className:"gap-18 flex w-full flex-1 flex-col md:flex-row md:items-center",children:[(0,E.jsxs)("div",{className:"flex w-full flex-1 flex-col items-start justify-center gap-4 md:w-1/3 md:items-center",children:[(0,E.jsx)("div",{className:"text-body-medium",children:u.WD.SET_UP_RECURRING_INVOICE}),(0,E.jsx)("div",{className:"text-typography-grey md:text-center",children:u.WD.SET_UP_RECURRING_INVOICE_INFO})]}),(0,E.jsxs)("div",{className:"flex w-full flex-1 flex-col items-start justify-center gap-4 md:w-1/3 md:items-center",children:[(0,E.jsx)("div",{className:"text-body-medium",children:u.WD.SEND_ON_YOUR_SCHEDULE}),(0,E.jsx)("div",{className:"text-typography-grey md:text-center",children:u.WD.SEND_ON_YOUR_SCHEDULE_INFO})]}),(0,E.jsxs)("div",{className:"flex w-full flex-1 flex-col items-start justify-center gap-4 md:w-1/3 md:items-center",children:[(0,E.jsx)("div",{className:"text-body-medium",children:u.WD.SEND_IT_AND_FORGET_IT}),(0,E.jsx)("div",{className:"text-typography-grey md:text-center",children:u.WD.SEND_IT_AND_FORGET_IT_INFO})]})]})]})}),(0,E.jsx)("div",{className:"flex justify-center",children:(0,E.jsxs)(v.Button,{buttonVariant:"secondary",onClick:()=>{var i;return e(_.NOVO_PAGE_ROUTES.CreateInvoice,{state:{prevPath:n.pathname,section_id:null==n||null==(i=n.state)?void 0:i.section_id,redirectedFromRecurringSeries:!0}})}
1,"data-test-id":"create-recurring-invoice",children:[(0,E.jsx)(c.Int,{name:"plus",size:"xs",color:"current"}),(0,E.jsx)("div",{children:u.WD.CreateRecurringInvoice})]})})]})}function L(){const{privateAPIInstance:e}=(0,t.useContext)(l.AuthContext)||{},n=(0,S.Ay)(),i=(0,d.useNavigate)(),[s,D]=(0,t.useState)(""),[A,L]=(0,t.useState)(null),[b,h]=(0,t.useState)({startDate:null,endDate:null}),[R,U]=(0,t.useState)(null),[V,B]=(0,t.useState)(!1),[P,G]=(0,t.useState)(null),[x,K]=(0,t.useState)(!1),[M,w]=(0,t.useState)(["DRAFT","SCHEDULED","ACTIVE","EXPIRED"]),[Y,W]=(0,t.useState)(["Draft","Scheduled","Active","Ended"]),{data:$,fetchNextPage:j,hasNextPage:q,isFetching:H,isFetchingNextPage:z,refetch:Q}=(0,m.useInfiniteQuery)({queryKey:[k.B.GET_RECURRING_LIST],queryFn:async({pageParam:i=0})=>{const a={limit:50,offset:i,searchString:s||void 0,status:M.length?M:void 0,sortBy:R,sortOrder:R?V?"ASC":"DESC":void 0};if(A)if("CUSTOM"===(null==A?void 0:A.value)&&b.startDate&&b.endDate)a.startDate=r()(b.startDate).format(u.gw),a.endDate=r()(b.endDate).format(u.gw);else{const e=(0,u.Nv)(A);e&&(a.startDate=e.startDate,a.endDate=e.endDate)}return(await(0,T.Wz)(e,Object.assign({},a),{baseURL:n})).data.recurringSeriesList||[]},getNextPageParam:(e,n)=>e.length<50?void 0:50*n.length,gcTime:0,initialPageParam:0}),X=$?$.pages.flat():[];function Z(e,n,i){const a=+e;return!a||a<=0?null:(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{className:"text-body-regular",children:`Every ${a>1?a:""} ${n.toLowerCase()}${a<=1?"":"s"}`}),i&&(0,E.jsx)("div",{className:"text-typography-grey text-body-s-regular overflow-hidden text-ellipsis whitespace-nowrap",children:i})]})}const J=({item:e,key:n})=>{const{id:t,seriesId:d,customer:{companyName:s=""}={},invoiceTotal:r,scheduledDate:m,status:l,frequency:c,recurringEnds:v,nextRecurringDate:o,repeatType:k}=e,{fetchRecurringInvoiceDetails:g}=(0,N.A)(t||null),{fetchInvoiceAttachments:T}=(0,p.A)(null!=t?t:"",u.VC.RECURRING_ATTACHMENT),I=m&&(0,u.VI)(m)||(o?(0,u.VI)(o):"-");return(0,E.jsxs)("div",{className:"hover:bg-fill-light grid cursor-pointer auto-rows-auto grid-cols-3 items-center gap-4 p-4 md:grid-cols-12",onClick:()=>(async(e,n)=>{if("DRAFT"!==n)return i(`/invoice/recurring-series/${e}`,{state:{isFromRecurringList:!0}});const[t,d]=await Promise.all([g(),T()]),s=(null==t?void 0:t.data)||{},{endType:r,endValue:m,frequency:l,repeatType:c,id:v}=s,o=(0,a.A)(s,F);return i(_.NOVO_PAGE_ROUTES.CreateInvoice,{state:{isDraftInvoice:!0,invoice:Object.assign({},o,{recurringId:v}),attachments:(null==d?void 0:d.data)||[],recurringDetails:{endType:r,endValue:m,frequency:l,repeatType:c,id:v}}})})(t,l),children:[(0,E.jsx)("div",{className:"text-body-regular col-span-1 flex flex-col items-start md:col-span-1",children:d}),(0,E.jsx)("div",{className:"break-word text-body-regular col-span-1 hidden flex-col font-medium md:col-span-4 md:ml-12 md:flex md:items-start",children:s}),(0,E.jsx)("div",{className:"col-span-1 hidden flex-col md:col-span-2 md:flex md:items-start",children:Z(c,k,v)}),(0,E.jsx)("div",{className:"text-body-regular col-span-1 hidden flex-col md:col-span-2 md:flex md:items-start",children:I}),(0,E.jsx)("div",{className:"text-caption-regular col-span-1 flex flex-col md:col-span-1 md:items-end",children:(0,E.jsx)("span",{className:`${f[l]} w-fit rounded px-2 py-0.5`,children:u.Rz[l]})}),(0,E.jsx)("div",{className:"col-span-1 flex flex-col font-medium md:col-span-2 md:items-end",children:(0,y.ye)(r)})]},t)},ee=()=>{const e=(e,n,i)=>(e===R||n&&e===i)&&(0,E.jsx)("div",{className:"cursor-pointer "+(V?"rotate-180":""),"data-test-id":`invoice-list-sort-on-${e}`,children:(0,E.jsx)(c.Int,{name:"sort",size:"xs",color:"default"})}),n=e=>{K(!0),G(e)},i=e=>{U(e),B((e=>!e))};return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)("div",{className:"text-typography-default bg-fill-light text-caption-regular sticky top-0 grid auto-rows-auto grid-cols-3 gap-2 px-4 py-2 md:grid-cols-12 md:gap-4",children:[(0,E.jsx)("div",{className:"col-span-1 flex cursor-pointer items-start gap-1 text-ellipsis whitespace-nowrap md:col-span-1",children:(0,E.jsxs)("span",{className:"flex cursor-pointer gap-1 px-1",onClick:()=>i("SERIES_ID"),onMouseEnter:()=>n("seriesId"),onMouseLeave:()=>K(!1),children:[(0,E.jsx)("div",{children:O.k.series_no}),(0,E.jsx)("div",{children:e("seriesId",x,P)})]})}),(0,E.jsx)("div",{className:"col-span-1 hidden flex-col text-ellipsis whitespace-nowrap md:col-span-4 md:ml-12 md:flex md:items-start",children:O.k.PAYMENTS.PAYMENT_DETAILS.CLIENT}),(0,E.jsx)("div",{className:"col-span-1 hidden flex-col text-ellipsis whitespace-nowrap md:col-span-2 md:flex md:items-start",children:O.k.frequency}),(0,E.jsx)("div",{className:"col-span-1 hidden flex-col text-ellipsis whitespace-nowrap md:col-span-2 md:flex md:items-start",children:O.k.next_invoice}),(0,E.jsx)("div",{className:"col-span-1 flex flex-col text-ellipsis whitespace-nowrap md:col-span-1 md:items-end",children:O.k.status}),(0,E.jsx)("div",{className:"col-span-1 flex justify-start text-ellipsis whitespace-nowrap md:col-span-2 md:items-end md:justify-end",children:(0,E.jsxs)("span",{onClick:()=>i("INVOICE_TOTAL"),onMouseEnter:()=>n("invoice_total"),onMouseLeave:()=>K(!1),className:"flex cursor-pointer items-end gap-1 px-1",children:[(0,E.jsx)("div",{children:O.k.PAYMENTS.PAYMENT_DETAILS.AMOUNT}),(0,E.jsx)("div",{children:e("invoice_total",x,P)})]})})]}),(0,E.jsxs)("div",{className:"flex w-full flex-col",children:[(!H||z)&&X.map((e=>(0,E.jsx)(J,{item:e},e.id))),(0,E.jsx)(v.Skeleton,{on:H,count:10,fallback:(0,E.jsx)(g,{})})]})]})},ne=(e,n={val:[],tags:[]})=>{var i;const a=n,t=[...n.val],d=[...n.tags];if(e.length)return e.forEach((e=>{var n;if(null!=(n=e.options)&&n.length){const n=ne(e.options,{val:[...t],tags:[...d]});a.val=[...a.val,...n.val],a.tags=[...a.tags,...n.tags]}else a.val.push(e.value),a.tags.push(e.label)})),a;if(null!=(i=e.options)&&i.length){const n=ne(e.options,{val:[...t],tags:[...d]});a.val=[...a.val,...n.val],a.tags=[...a.tags,...n.tags]}else a.val.push(e.value),a.tags.push(e.label);return a},ie=(0,y.sg)((e=>{D(e)}),1e3),ae={options:{root:null,rootMargin:"20px",threshold:1},callback:j,searching:!1,isLoading:H,hasNextPage:!!q},{elementRef:te}=(0,v.useInfiniteScroller)(ae);return(0,t.useEffect)((()=>{("CUSTOM"!==(null==A?void 0:A.value)||"CUSTOM"===(null==A?void 0:A.value)&&null!=b&&b.startDate&&null!=b&&b.endDate)&&(async()=>{await Q()})()}),[A,b,M.length,s,R,V]),(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(C.U,{onFilterChange:(e,n)=>{"status"===e?(0,o.sx)(I.y.INVOICES.RECURRING.FILTER_SERIES_STATUS):"dateRange"===e&&((0,o.sx)(I.y.INVOICES.RECURRING.FILTER_SERIES_DATE),L(n),"CUSTOM"!==(null==n?void 0:n.value)&&h({startDate:null,endD
1ate:null}))},onSearch:ie,dateFilter:A,handleCustomDate:e=>{h({startDate:null==e?void 0:e.startDate,endDate:null==e?void 0:e.endDate}),null==(null==e?void 0:e.startDate)&&null===(null==e?void 0:e.endDate)&&L(null)},customDates:b,statusOptions:u._C,dateRangeOptions:u.wl,handleOptionClick:(e,n)=>{if(n){const n=ne(e);n.val.every((e=>M.includes(e)))?(w((e=>e.filter((e=>!n.val.includes(e))))),W((e=>e.filter((e=>!n.tags.includes(e)))))):(w((e=>e.concat(n.val.filter((n=>!e.includes(n)))))),W((e=>e.concat(n.tags.filter((n=>!e.includes(n)))))))}else{const n=M.filter((n=>n!==e.value)),i=Y.filter((n=>n!==e.label));n.length===M.length?(w([...M,null==e?void 0:e.value]),W([...Y,null==e?void 0:e.label])):(w(n),W(i))}},tags:Y,filters:M,getSubValues:ne,filterHeader:O.k.all_series,searchPlaceholder:O.k.search_by_customer_email_or_series_number,onStatusClose:e=>{e.stopPropagation(),w([]),W([])}}),(0,E.jsxs)("div",{className:"flex flex-col",children:[(0,E.jsx)(ee,{}),q&&(0,E.jsx)("div",{ref:te}),!H&&!X.length&&(0,E.jsx)("div",{className:"flex justify-center p-4",children:O.k.no_records_found})]})]})}function b(){const{privateAPIInstance:e}=(0,t.useContext)(l.AuthContext)||{},n=(0,S.Ay)();(0,t.useEffect)((()=>{(0,o.sx)(I.y.INVOICES.RECURRING.RECURRING_SERIES_LIST_PAGE)}),[]);const{data:i,isFetching:a}=(0,m.useQuery)({queryKey:[k.B.GET_INVOICES_COUNT],queryFn:()=>(0,D.uD)(e,{baseURL:n}),select:e=>e.data.hasRecurringInvoices,staleTime:1/0});
1return a?(0,E.jsx)(v.Loader,{}):i?i?(0,E.jsx)(L,{}):void 0:(0,E.jsx)(A,{})}},16621(e,n,i){"use strict";i.d(n,{A:()=>l});var a=i(75969),t=i(60120),d=i(22949),s=i(66753),r=i(33482),m=i(76805);function l(e,n){const{privateAPIInstance:i}=(0,a.useContext)(d.AuthContext)||{},l=(0,r.Ay)(),{refetch:c}=(0,t.useQuery)({queryKey:[m.B.FETCH_INVOICE_ATTACHMENTS,e,n],queryFn:async()=>{if(i&&e){var a,t;const d=await(0,s.Et)(i,{entityId:e,type:n},{baseURL:l});return null!=(a=null==d||null==(t=d.data)?void 0:t.documents)?a:[]}},gcTime:0,enabled:!1});return{fetchInvoiceAttachments:c}}},31591(e,n,i){"use strict";i.d(n,{A:()=>v});var a=i(22949),t=i(60120),d=i(75969),s=i(91317),r=i.n(s),m=i(33482),l=i(76805),c=i(66753);const v=e=>{var n;const i=(0,m.Ay)(),{privateAPIInstance:s}=null!=(n=(0,d.useContext)(a.AuthContext))?n:{},{refetch:v,isFetching:_}=(0,t.useQuery)({queryKey:[l.B.GET_RECURRING_INVOICE_BY_ID],queryFn:async()=>{if(s&&e){const a=await(0,c.Wd)(s,{id:e},{baseURL:i});if(!(r()(a)||null!=a&&a.hasError)){var n;return null==(n=a.data)||null==(n=n.recurringSeriesList)?void 0:n[0]}}},gcTime:0,enabled:!1});return{isFetchingRecurringDetails:_,fetchRecurringInvoiceDetails:v}}},42242(e,n,i){"use strict";i.d(n,{y:()=>t});const a={BUTTON_CLICKED:"button_clicked",SCREEN_VIEWED:"screen_viewed"},t=Object.assign({},a,{INVOICES:{DASHBOARD:{INVOICE_DASHBOARD_POPUP:{event_type:a.SCREEN_VIEWED,event_name:"invoice_tutorial_dashboard_popup",screen_name:"invoice_tutorial_dashboard_popup"}},SETTINGS:{BUSINESS_INFO:{event_name:a.BUTTON_CLICKED,name:"Business info",action:"navigate to Business info"},INVOICE_CUSTOMIZATION:{event_name:a.BUTTON_CLICKED,name:"Invoice Display ",action:"navigate to Invoice Display "},MANAGE_CUSTOMER:{event_name:a.BUTTON_CLICKED,name:"Manage customer",action:"navigate to manage customer section"},MANAGE_PAYMENTS:{event_name:a.BUTTON_CLICKED,name:"Manage payments ",action:"navigate to Manage payments"},ITEM_LIBRARY:{ITEM_LIBRARY_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"item_library_page",screen_name:"item_library_page"},ADD_NEW_LIBRARY_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"add_new_library_item",screen_name:"item_library_page"},ADD_NEW_SUGGESTED_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"add_new_suggested_item",screen_name:"item_library_page"},EDIT_LIBRARY_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"edit_library_item",screen_name:"item_library_page"},SEARCH_LIBRARY_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"search_library_item",screen_name:"item_library_page"},ITEM_LIBRARY_ADD_MODAL:{ITEM_LIBRARY_INPUT_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"item_library_input_page",screen_name:"item_library_input_page"},ADD_LIBRARY_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"add_library_item",screen_name:"item_library_input_page"},ENTER_ITEM_NAME:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_name",screen_name:"item_library_input_page"},ENTER_ITEM_PRICE:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_price",screen_name:"item_library_input_page"},ENTER_ITEM_DESCRIPTION:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_description",screen_name:"item_library_input_page"}},ITEM_LIBRARY_EDIT_MODAL:{ITEM_LIBRARY_EDIT_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"item_library_edit_page",screen_name:"item_library_edit_page"},SAVE_LIBRARY_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"save_library_item",screen_name:"item_library_edit_page"},DELETE_LIBRARY_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"delete_library_item",screen_name:"item_library_edit_page"},ENTER_ITEM_NAME:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_name",screen_name:"item_library_edit_page"},ENTER_ITEM_PRICE:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_price",screen_name:"item_library_edit_page"},ENTER_ITEM_DESCRIPTION:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_description",screen_name:"item_library_edit_page"}}}},LISTING:{INVOICE_LIST_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"invoice_list_page",screen_name:"invoice_list_page"},CREATE_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"create_invoice",screen_name:"invoice_list_page"},RECURRING_SERIES_TAB:{event_type:a.BUTTON_CLICKED,event_name:"recurring_series_tab",screen_name:"invoice_list_page"},VIEW_SETTINGS:{event_type:a.BUTTON_CLICKED,event_name:"view_settings",screen_name:"invoice_list_page"},FILTER_INVOICE_STATUS:{event_type:a.BUTTON_CLICKED,event_name:"filter_invoice_status",screen_name:"invoice_list_page"},FILTER_INVOICE_DATE:{event_type:a.BUTTON_CLICKED,event_name:"filter_invoice_date",screen_name:"invoice_list_page"},VIEW_INVOICE_DETAILS:{event_type:a.BUTTON_CLICKED,event_name:"view_invoice_details",screen_name:"invoice_list_page"},SEARCH_INVOICE_LIST:{event_type:a.BUTTON_CLICKED,event_name:"search_invoice_list",screen_name:"invoice_list_page"},VIEW_INVOICE_SHORTCUTS_LIST:{event_type:a.BUTTON_CLICKED,event_name:"view_invoice_shortcuts_list",screen_name:"invoice_list_page"},COPY_INVOICE_LINK:{event_type:a.BUTTON_CLICKED,event_name:"copy_invoice_link",screen_name:"invoice_list_page"},DUPLICATE_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"duplicate_invoice",screen_name:"invoice_list_page"},CREATE_REMINDER:{event_type:a.BUTTON_CLICKED,event_name:"create_reminder",screen_name:"invoice_list_page"},DOWNLOAD_PDF:{event_type:a.BUTTON_CLICKED,event_name:" download_pdf",screen_name:"invoice_list_page"},VIEW_DELETE_DRAFT_POPUP:{event_type:a.BUTTON_CLICKED,event_name:"view_delete_draft_popup",screen_name:"invoice_list_page"},SEND_REMINDER_POPUP:{event_type:a.SCREEN_VIEWED,event_name:"send_reminder_popup",screen_name:"send_reminder_popup"},SEND_REMINDER:{event_type:a.BUTTON_CLICKED,event_name:"send_reminder",screen_name:"send_reminder_popup"},CANCEL_REMINDER:{event_type:a.BUTTON_CLICKED,event_name:"cancel_reminder",screen_name:"send_reminder_popup"},DELETE_DRAFT_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"delete_draft_invoice",screen_name:"delete_draft_popup"},CANCEL_DELETE_DRAFT_POPUP:{event_type:a.BUTTON_CLICKED,event_name:"cancel_delete_draft_popup",screen_name:"delete_draft_popup"}},INVOICE_RECIPIENT_PAGE:{INVOICE_REFERRAL_TNC:{event_type:a.BUTTON_CLICKED,event_name:"invoice_referral_tnc",screen_name:"invoice_recipient_page"},INVOICE_REFERRAL_GET_STARTED:{event_type:a.BUTTON_CLICKED,event_name:"invoice_referral_get_started",screen_name:"invoice_recipient_page"}},RECURRING:{RECURRING_SERIES_LIST_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"recurring_series_list_page",screen_name:"recurring_series_list_page"},INVOICE_LIST_TAB:{event_type:a.BUTTON_CLICKED,event_name:"invoice_list_tab",screen_name:"recurring_series_list_page"},FILTER_SERIES_STATUS:{event_type:a.BUTTON_CLICKED,event_name:"filter_series_status",screen_name:"recurring_series_list_page"},FILTER_SERIES_DATE:{event_type:a.BUTTON_CLICKED,event_name:"filter_series_date",screen_name:"recurring_series_list_page"},SEARCH_RECURRING_SERIES:{event_type:a.BUTTON_CLICKED,event_name:"search_recurring_series",screen_name:"recurring_series_list_page"},VIEW_RECURRING_SERIES_DETAILS:{event_type:a.BUTTON_CLICKED,event_name:"view_recurring_series_details",screen_name:"recurring_series_list_page"}},CREATE_INVOICE:{CREATE_INVOICE_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"create_invoice_page",screen_name:"create_invoice_page"},CLOSE_EDIT_INVOICE_MODAL:{event_type:a.BUTTON_CLICKED,event_name:"close_edit_invoice_modal",screen_name:"edit_invoice_page"},CLOSE_CREATE_INVOICE_MODAL:{event_type:a.BUTTON_CLICKED,event_name:"close_create_invoice_modal",screen_name:"create_invoice_page"},EDIT_INVOICE_NUMBER:{event_type:a.BUTTON_CLICKED,event_name:"edit_invoice_number",screen_name:"create_invoice_page"},INVOICE_LIST:{event_type:a.BUTTON_CLICKED,event_name:"invoice_list",screen_name:"create_invoice_page"},SAVE_DRAFT_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"save_draft_invoice",screen_name:"create_invoice_page"},DISCARD_DRAFT_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"discard_draft_invoice",screen_name:"create_invoice_page"},BACK:{event_type:a.BUTTON_CLICKED,event_name:"back",screen_name:"create_invoice_page"},CUSTOMER_SELECTION_DROPDOWN:{event_type:a.BUTTON_CLICKED,event_name:"customer_selection_dropdown",screen_name:"create_invoice_page"},ENTER_ITEM_NAME:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_name",screen_name:"create_invoice_page"},ENTER_ITEM_PRICE:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_price",screen_name:"create_invoice_page"},ENTER_ITEM_QUANTITY:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_quantity",screen_name:"create_invoice_page"},ADD_NEW_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"add_new_item",screen_name:"create_invoice_page"},ADD_NEW_SUGGESTED_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"add_new_suggested_item",screen_name:"create_invoice_page"},ENTER_ITEM_DESCRIPTION:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_description",screen_name:"create_invoice_page"},DELETE_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"delete_item",screen_name:"create_invoice_page"},INVOICE_NUMBER_TOOLTIP:{event_type:a.BUTTON_CLICKED,event_name:"invoice_number_tooltip",screen_name:"create_invoice_page"},ADD_NEW_CUSTOMER:{event_type:a.BUTTON_CLICKED,event_name:"add_new_customer",screen_name:"create_invoice_page"},ADD_ADDITIONAL_RECIPIENT:{event_type:a.BUTTON_CLICKED,event_name:"add_additional_recipient",screen_name:"create_invoice_page"},SELECT_CUSTOMER:{event_type:a.BUTTON_CLICKED,event_name:"select_customer",screen_name:"create_invoice_page"},PICK_LIBRARY_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"pick_library_item",screen_name:"create_invoice_page"},ADD_SHIPPING:{event_type:a.BUTTON_CLICKED,event_name:"add_shipping",screen_name:"create_invoice_page"},ADD_DISCOUNT:{event_type:a.BUTTON_CLICKED,event_name:"add_discount",screen_name:"create_invoice_page"},ADD_TAX:{event_type:a.BUTTON_CLICKED,event_name:"add_tax",screen_name:"create_invoice_page"},ENTER_NOTE:{event_type:a.BUTTON_CLICKED,event_name:"enter_note",screen_name:"create_invoice_page"},TOGGLE_ONE_TIME:{event_type:a.BUTTON_CLICKED,event_name:"toggle_one_time",screen_name:"create_invoice_page"},TOGGLE_RECURRING:{event_type:a.BUTTON_CLICKED,event_name:"toggle_recurring",screen_name:"create_invoice_page"},REMOVE_SHIPPING:{event_type:a.BUTTON_CLICKED,event_name:"remove_shipping",screen_name:"create_invoice_page"},REMOVE_DISCOUNT:{event_type:a.BUTTON_CLICKED,event_name:"remove_discount",screen_name:"create_invoice_page"},REMOVE_TAX:{event_type:a.BUTTON_CLICKED,event_name:"remove_tax",screen_name:"create_invoice_page"},SELECT_FREQUENCY_TYPE:{event_type:a.BUTTON_CLICKED,event_name:"select_frequency_type",screen_name:"create_invoice_page"},SELECT_END_TYPE:{event_type:a.BUTTON_CLICKED,event_name:"select_end_type",screen_name:"create_invoice_page"},ENTER_FREQUENCY_VALUE:{event_type:a.BUTTON_CLICKED,event_name:"enter_frequency_value",screen_name:"create_invoice_page"},ENTER_DUE_DATE:{event_type:a.BUTTON_CLICKED,event_name:"enter_due_date",screen_name:"create_invoice_page"},SELECT_DUE_DATE:{event_type:a.BUTTON_CLICKED,event_name:"select_due_date",screen_name:"create_invoice_page"},SEND_A_COPY:{event_type:a.BUTTON_CLICKED,event_name:"send_me_a_copy",screen_name:"create_invoice_page"},ADD_OTHER_RECIPIENT:{event_type:a.BUTTON_CLICKED,event_name:"add_other_recipient",screen_name:"create_invoice_page"},TOGGLE_ACH_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_ach_payments",screen_name:"create_invoice_page"},TOGGLE_CARD_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_card_payments",screen_name:"create_invoice_page"},TOGGLE_PAYPAL_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_paypal_payments",screen_name:"create_invoice_page"},TOGGLE_CHECK_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_check_payments",screen_name:"create_invoice_page"},TOGGLE_SAVE_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_save_payments",screen_name:"create_invoice_page"},REVIEW_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"review_invoice",screen_name:"create_invoice_page"},CONNECT_CARD_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"connect_card_payments",screen_name:"create_invoice_page"},CONNECT_PAYPAL_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"connect_paypal_payments",screen_name:"create_invoice_page"},SELECT_SCHEDULE_TYPE:{event_type:a.BUTTON_CLICKED,event_name:"select_schedule_type",screen_name:"create_invoice_page"},DISCARD_CHANGES:{event_type:a.BUTTON_CLICKED,event_name:"discard_changes",screen_name:"create_invoice_page"},ADD_ATTACHMENT:{event_type:a.BUTTON_CLICKED,event_name:"add_attachment",screen_name:"create_invoice_page"},REMOVE_ATTACHMENT:{event_type:a.BUTTON_CLICKED,event_name:"remove_attachment",screen_name:"create_invoice_page"}},REVIEW_INVOICE:{REVIEW_INVOICE_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"review_invoice_page",screen_name:"review_invoice_page"},CLOSE_REVIEW_INVOICE_MODAL:{event_type:a.BUTTON_CLICKED,event_name:"close_review_invoice_modal",screen_name:"review_invoice_page"},SEND_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"send_invoice",screen_name:"review_invoice_page"},SAVE_DRAFT_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"save_draft_invoice",screen_name:"review_invoice_page"},SCHEDULE_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"schedule_invoice",screen_name:"review_invoice_page"},BACK:{event_type:a.BUTTON_CLICKED,event_name:"back",screen_name:"review_invoice_page"}},EDIT_INVOICE:{EDIT_INVOICE_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"edit_invoice_page",screen_name:"edit_invoice_page"},CLOSE_EDIT_INVOICE_MODAL:{event_type:a.BUTTON_CLICKED,event_name:"close_edit_invoice_modal",screen_name:"edit_invoice_page"},CLOSE_CREATE_INVOICE_MODAL:{event_type:a.BUTTON_CLICKED,event_name:"close_create_invoice_modal",screen_name:"create_invoice_page"},EDIT_INVOICE_NUMBER:{event_type:a.BUTTON_CLICKED,event_name:"edit_invoice_number",screen_name:"edit_invoice_page"},CUSTOMER_SELECTION_DROPDOWN:{event_type:a.BUTTON_CLICKED,event_name:"customer_selection_dropdown",screen_name:"edit_invoice_page"},ENTER_ITEM_NAME:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_name",screen_name:"edit_invoice_page"},ENTER_ITEM_PRICE:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_price",screen_name:"edit_invoice_page"},ENTER_ITEM_QUANTITY:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_quantity",screen_name:"edit_invoice_page"},ADD_NEW_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"add_new_item",screen_name:"edit_invoice_page"},ADD_NEW_SUGGESTED_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"add_new_suggested_item",screen_name:"edit_invoice_page"},ENTER_ITEM_DESCRIPTION:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_description",screen_name:"edit_invoice_page"},DELETE_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"delete_item",screen_name:"edit_invoice_page"},INVOICE_NUMBER_TOOLTIP:{event_type:a.BUTTON_CLICKED,event_name:"invoice_number_tooltip",screen_name:"edit_invoice_page"},ADD_NEW_CUSTOMER:{event_type:a.BUTTON_CLICKED,event_name:"add_new_customer",screen_name:"edit_invoice_page"},ADD_ADDITIONAL_RECIPIENT:{event_type:a.BUTTON_CLICKED,event_name:"add_additional_recipient",screen_name:"edit_invoice_page"},SELECT_CUSTOMER:{event_type:a.BUTTON_CLICKED,event_name:"select_customer",screen_name:"edit_invoice_page"},PICK_LIBRARY_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"pick_library_item",screen_name:"edit_invoice_page"},ADD_SHIPPING:{event_type:a.BUTTON_CLICKED,event_name:"add_shipping",screen_name:"edit_invoice_page"},ADD_DISCOUNT:{event_type:a.BUTTON_CLICKED,event_name:"add_discount",screen_name:"edit_invoice_page"},ADD_TAX:{event_type:a.BUTTON_CLICKED,event_name:"add_tax",screen_name:"edit_invoice_page"},ENTER_NOTE:{event_type:a.BUTTON_CLICKED,event_name:"enter_note",screen_name:"edit_invoice_page"},TOGGLE_ONE_TIME:{event_type:a.BUTTON_CLICKED,event_name:"toggle_one_time",screen_name:"edit_invoice_page"},TOGGLE_RECURRING:{event_type:a.BUTTON_CLICKED,event_name:"toggle_recurring",screen_name:"edit_invoice_page"},REMOVE_SHIPPING:{event_type:a.BUTTON_CLICKED,event_name:"remove_shipping",screen_name:"edit_invoice_page"},REMOVE_DISCOUNT:{event_type:a.BUTTON_CLICKED,event_name:"remove_discount",screen_name:"edit_invoice_page"},REMOVE_TAX:{event_type:a.BUTTON_CLICKED,event_name:"remove_tax",screen_name:"edit_invoice_page"},SELECT_FREQUENCY_TYPE:{event_type:a.BUTTON_CLICKED,event_name:"select_frequency_type",screen_name:"edit_invoice_page"},SELECT_END_T
1YPE:{event_type:a.BUTTON_CLICKED,event_name:"select_end_type",screen_name:"edit_invoice_page"},ENTER_FREQUENCY_VALUE:{event_type:a.BUTTON_CLICKED,event_name:"enter_frequency_value",screen_name:"edit_invoice_page"},ENTER_DUE_DATE:{event_type:a.BUTTON_CLICKED,event_name:"enter_due_date",screen_name:"edit_invoice_page"},SELECT_DUE_DATE:{event_type:a.BUTTON_CLICKED,event_name:"select_due_date",screen_name:"edit_invoice_page"},SEND_A_COPY:{event_type:a.BUTTON_CLICKED,event_name:"send_me_a_copy",screen_name:"edit_invoice_page"},ADD_OTHER_RECIPIENT:{event_type:a.BUTTON_CLICKED,event_name:"add_other_recipient",screen_name:"edit_invoice_page"},TOGGLE_ACH_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_ach_payments",screen_name:"edit_invoice_page"},TOGGLE_CARD_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_card_payments",screen_name:"edit_invoice_page"},TOGGLE_PAYPAL_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_paypal_payments",screen_name:"edit_invoice_page"},TOGGLE_CHECK_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_check_payments",screen_name:"edit_invoice_page"},TOGGLE_SAVE_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_save_payments",screen_name:"edit_invoice_page"},CONNECT_CARD_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"connect_card_payments",screen_name:"edit_invoice_page"},CONNECT_PAYPAL_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"connect_paypal_payments",screen_name:"edit_invoice_page"},SELECT_SCHEDULE_TYPE:{event_type:a.BUTTON_CLICKED,event_name:"select_schedule_type",screen_name:"edit_invoice_page"},SAVE_CHANGES:{event_type:a.BUTTON_CLICKED,event_name:"save_changes",screen_name:"edit_invoice_page"},SEND:{event_type:a.BUTTON_CLICKED,event_name:"send_invoice",screen_name:"edit_invoice_page"},CANCEL_SCHEDULED:{event_type:a.BUTTON_CLICKED,event_name:"cancel_scheduled",screen_name:"edit_invoice_page"},DISCARD_CHANGES:{event_type:a.BUTTON_CLICKED,event_name:"discard_changes",screen_name:"edit_invoice_page"},ADD_ATTACHMENT:{event_type:a.BUTTON_CLICKED,event_name:"add_attachment",screen_name:"edit_invoice_page"},REMOVE_ATTACHMENT:{event_type:a.BUTTON_CLICKED,event_name:"remove_attachment",screen_name:"edit_invoice_page"}},INVOICE_DETAIL:{INVOICE_DETAIL_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"invoice_detail_page",screen_name:"invoice_detail_page"},EDIT_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"edit_invoice",screen_name:"invoice_detail_page",destination:"edit_invoice_page"},MARK_INVOICE_AS_PAID:{event_type:a.BUTTON_CLICKED,event_name:"mark_invoice_as_paid",screen_name:"invoice_detail_page"},VIEW_TRANSACTION:{event_type:a.BUTTON_CLICKED,event_name:"view_transaction",screen_name:"invoice_detail_page"},MARK_INVOICE_AS_UNPAID:{event_type:a.BUTTON_CLICKED,event_name:"mark_invoice_as_unpaid",screen_name:"invoice_detail_page"},LINK_A_TRANSACTION:{event_type:a.BUTTON_CLICKED,event_name:"link_a_transaction",screen_name:"invoice_detail_page"},PAYMENTS:{SEND_PAYMENT_RECEIPT_FROM_INV:{event_type:a.BUTTON_CLICKED,event_name:"invoice_details_send_a_receipt",screen_name:"invoice_detail_page"},VIEW_PAYMENT:{event_type:a.BUTTON_CLICKED,event_name:"invoice_details_view_payment",screen_name:"invoice_detail_page"},TRACK_PAYMENT:{event_type:a.BUTTON_CLICKED,event_name:"invoice_details_track_payment",screen_name:"invoice_detail_page"},APPLY_PAYMENT:{event_type:a.BUTTON_CLICKED,event_name:"apply_payment",screen_name:"invoice_detail_page"},APPLY_PAYMENT_SAVE:{event_type:a.BUTTON_CLICKED,event_name:"apply_payment_save",screen_name:"apply_payment"},APPLY_PAYMENT_ENTER_AMOUNT:{event_type:a.BUTTON_CLICKED,event_name:"apply_payment_enter_amount",screen_name:"apply_payment"},APPLY_PAYMENT_SELECT_DUE_DATE:{event_type:a.BUTTON_CLICKED,event_name:"apply_payment_select_due_date",screen_name:"apply_payment"},APPLY_PAYMENT_SELECT_PAYMENT_METHOD:{event_type:a.BUTTON_CLICKED,event_name:"apply_payment_select_payment_method",screen_name:"apply_payment"},APPLY_PAYMENT_UNLINK_A_TXN:{event_type:a.BUTTON_CLICKED,event_name:"apply_payment_unlink_a_txn",screen_name:"apply_payment"},APPLY_PAYMENT_LINK_A_TXN:{event_type:a.BUTTON_CLICKED,event_name:"apply_payment_link_a_txn",screen_name:"apply_payment"},APPLY_PAYMENT_SELECT_TXN:{event_type:a.BUTTON_CLICKED,event_name:"apply_payment_select_txn",screen_name:"apply_payment"},DELETE_PAYMENT:{event_type:a.BUTTON_CLICKED,event_name:"delete_payment",screen_name:"apply_payment"},DELETE_PAYMENT_CANCEL:{event_type:a.BUTTON_CLICKED,event_name:"delete_payment_cancel",screen_name:"apply_payment"},DELETE_PAYMENT_DELETE_PAYMENT:{event_type:a.BUTTON_CLICKED,event_name:"delete_payment_delete_payment",screen_name:"apply_payment"},DELETE_PAYMENT_POPUP:{event_type:a.BUTTON_CLICKED,event_name:"delete_payment_popup",screen_name:"apply_payment"},TRANSACTION_LINK_AN_INVOICE_POPUP:{event_type:a.BUTTON_CLICKED,event_name:"transaction_link_an_invoice_popup",screen_name:"apply_payment"}}},LINK_A_TRANSACTION_MODAL:{MARK_AS_PAID_POPUP:{event_type:a.SCREEN_VIEWED,event_name:"mark_as_paid_popup",screen_name:"mark_as_paid_popup"},LINK_A_TRANSACTION_POPUP:{event_type:a.SCREEN_VIEWED,event_name:"link_a_transaction_popup",screen_name:"link_a_transaction_popup"},SELECT_TRANSACTION:{event_type:a.BUTTON_CLICKED,event_name:"select_transaction",screen_name:"link_a_transaction_popup"},LINK_TXN_TO_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"link_txn_to_invoice",screen_name:"link_a_transaction_popup"},SEARCH_TRANSACTIONS:{event_type:a.BUTTON_CLICKED,event_name:"search_transactions",screen_name:"link_a_transaction_popup"},CLOSE_POPUP:{event_type:a.BUTTON_CLICKED,event_name:"close_popup",screen_name:"link_a_transaction_popup"}}},RECURRING_SERIES:{RECURRING_SERIES_DETAIL_PAGE:{EDIT_RECURRING_SERIES:{event_type:a.BUTTON_CLICKED,event_name:"edit_series",screen_name:"invoice_recurring_series_details",destination:"edit_series_page"}},EDIT_SERIES:{EDIT_SERIES_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"edit_series_page",screen_name:"edit_series_page"},CLOSE_EDIT_SERIES_MODAL:{event_type:a.BUTTON_CLICKED,event_name:"close_edit_series_modal",screen_name:"edit_series_page"},ENTER_ITEM_NAME:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_name",screen_name:"edit_series_page"},ENTER_ITEM_PRICE:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_price",screen_name:"edit_series_page"},ENTER_ITEM_QUANTITY:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_quantity",screen_name:"edit_series_page"},ADD_NEW_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"add_new_item",screen_name:"edit_series_page"},ADD_NEW_SUGGESTED_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"add_new_suggested_item",screen_name:"edit_series_page"},ENTER_ITEM_DESCRIPTION:{event_type:a.BUTTON_CLICKED,event_name:"enter_item_description",screen_name:"edit_series_page"},DELETE_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"delete_item",screen_name:"edit_series_page"},ADD_SHIPPING:{event_type:a.BUTTON_CLICKED,event_name:"add_shipping",screen_name:"edit_series_page"},ADD_DISCOUNT:{event_type:a.BUTTON_CLICKED,event_name:"add_discount",screen_name:"edit_series_page"},ADD_TAX:{event_type:a.BUTTON_CLICKED,event_name:"add_tax",screen_name:"edit_series_page"},ENTER_NOTE:{event_type:a.BUTTON_CLICKED,event_name:"enter_note",screen_name:"edit_series_page"},TOGGLE_ONE_TIME:{event_type:a.BUTTON_CLICKED,event_name:"toggle_one_time",screen_name:"edit_series_page"},TOGGLE_RECURRING:{event_type:a.BUTTON_CLICKED,event_name:"toggle_recurring",screen_name:"edit_series_page"},REMOVE_SHIPPING:{event_type:a.BUTTON_CLICKED,event_name:"remove_shipping",screen_name:"edit_series_page"},REMOVE_DISCOUNT:{event_type:a.BUTTON_CLICKED,event_name:"remove_discount",screen_name:"edit_series_page"},REMOVE_TAX:{event_type:a.BUTTON_CLICKED,event_name:"remove_tax",screen_name:"edit_series_page"},SELECT_FREQUENCY_TYPE:{event_type:a.BUTTON_CLICKED,event_name:"select_frequency_type",screen_name:"edit_series_page"},SELECT_END_TYPE:{event_type:a.BUTTON_CLICKED,event_name:"select_end_type",screen_name:"edit_series_page"},PICK_LIBRARY_ITEM:{event_type:a.BUTTON_CLICKED,event_name:"pick_library_item",screen_name:"edit_series_page"},ENTER_FREQUENCY_VALUE:{event_type:a.BUTTON_CLICKED,event_name:"enter_frequency_value",screen_name:"edit_series_page"},ENTER_DUE_DATE:{event_type:a.BUTTON_CLICKED,event_name:"enter_due_date",screen_name:"edit_series_page"},SELECT_DUE_DATE:{event_type:a.BUTTON_CLICKED,event_name:"select_due_date",screen_name:"edit_series_page"},TOGGLE_ACH_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_ach_payments",screen_name:"edit_series_page"},TOGGLE_CARD_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_card_payments",screen_name:"edit_series_page"},TOGGLE_PAYPAL_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_paypal_payments",screen_name:"edit_series_page"},TOGGLE_CHECK_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"toggle_check_payments",screen_name:"edit_series_page"},CONNECT_CARD_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"connect_card_payments",screen_name:"edit_series_page"},CONNECT_PAYPAL_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"connect_paypal_payments",screen_name:"edit_series_page"},SELECT_SCHEDULE_TYPE:{event_type:a.BUTTON_CLICKED,event_name:"select_schedule_type",screen_name:"edit_series_page"},UPDATE_SERIES:{event_type:a.BUTTON_CLICKED,event_name:"update_series",screen_name:"edit_series_page"},CANCEL_SERIES:{event_type:a.BUTTON_CLICKED,event_name:"cancel_series",screen_name:"edit_series_page"},ADD_ATTACHMENT:{event_type:a.BUTTON_CLICKED,event_name:"add_attachment",screen_name:"edit_series_page"},REMOVE_ATTACHMENT:{event_type:a.BUTTON_CLICKED,event_name:"remove_attachment",screen_name:"edit_series_page"}}},OVERVIEW:{OVERVIEW_DASHBOARD:{event_type:a.SCREEN_VIEWED,event_name:"invoice_overview_page",screen_name:"invoice_overview_page"},CREATE_AN_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"overview_create_an_invoice",screen_name:"invoice_overview_page"},FINISH_PAYMENT_SETUP:{event_type:a.BUTTON_CLICKED,event_name:"overview_finish_payment_setup",screen_name:"invoice_overview_page"},SETUP_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"overview_setup_payments",screen_name:"invoice_overview_page"},ALERT_SETUP_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"overview_alert_setup_payments",screen_name:"invoice_overview_page"}},PAYMENT_SETTINGS:{PAYMENT_METHODS:{event_type:a.SCREEN_VIEWED,event_name:"payment_methods_settings",screen_name:"payment_methods_settings"},STRIPE_DEBIT_CREDIT_CARD:{event_type:a.BUTTON_CLICKED,event_name:"stripe_debit_credit_card",screen_name:"payment_methods_settings"},STRIPE_BANK_TRANSFER:{event_type:a.BUTTON_CLICKED,event_name:"stripe_bank_transfer",screen_name:"payment_methods_settings"},CHECKS:{event_type:a.BUTTON_CLICKED,event_name:"checks",screen_name:"payment_methods_settings"},PAYPAL:{event_type:a.BUTTON_CLICKED,event_name:"paypal",screen_name:"payment_methods_settings"},PAYPAL_PAYPAL:{event_type:a.BUTTON_CLICKED,event_name:"paypal_paypal",screen_name:"payment_methods_settings"},PAYPAL_VENMO:{event_type:a.BUTTON_CLICKED,event_name:"paypal_venmo",screen_name:"payment_methods_settings"},BANK_TRANSFER:{event_type:a.BUTTON_CLICKED,event_name:"bank_transfer",screen_name:"payment_methods_settings"},APPLY_TO_ALL_INVOICES:{event_type:a.BUTTON_CLICKED,event_name:"apply_to_all_invoices",screen_name:"payment_methods_settings"}},PAYMENT_METHODS_SETUP:{PAYMENT_METHODS_SETUP:{event_type:a.SCREEN_VIEWED,event_name:"payment_methods_setup",screen_name:"payment_methods_setup"},STRIPE_DEBIT_CREDIT_CARD:{event_type:a.BUTTON_CLICKED,event_name:"stripe_debit_credit_card",screen_name:"payment_methods_setup"},STRIPE_BANK_TRANSFER:{event_type:a.BUTTON_CLICKED,event_name:"stripe_bank_transfer",screen_name:"payment_methods_setup"},CHECKS:{event_type:a.BUTTON_CLICKED,event_name:"checks",screen_name:"payment_methods_setup"}},PAYMENTS:{PAYMENTS_LIST:{LIST_VIEW:{event_type:a.SCREEN_VIEWED,event_name:"payments_list_page",screen_name:"payments_list_page"},ITEM_CLICKED:{event_type:a.BUTTON_CLICKED,event_name:"payment_item_click",
1screen_name:"payments_list_page"}},PAYMENT_DETAILS:{SEND_A_RECEIPT:{event_type:a.BUTTON_CLICKED,event_name:"payment_details_send_a_receipt",screen_name:"payment_details"},VIEW_TXN:{event_type:a.BUTTON_CLICKED,event_name:"payment_details_view_txn",screen_name:"payment_details"},EDIT_PAYMENT:{event_type:a.BUTTON_CLICKED,event_name:"edit_payment",screen_name:"payment_details"}}},CLIENTS:{CLIENT_EDIT_SCREEN_VIEWED:{event_type:a.SCREEN_VIEWED,event_name:"invoice_add_edit_customer",screen_name:"invoice_add_edit_customer"},CLIENT_DETAILS_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"client_details_page",screen_name:"client_details_page"},EDIT_CLIENT:{event_type:a.BUTTON_CLICKED,event_name:"edit_client",screen_name:"client_details_page"},SEND_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"send_invoice",screen_name:"client_details_page"},INVOICE_SELECTED:{event_type:a.BUTTON_CLICKED,event_name:"invoice_selected",screen_name:"client_details_page"},VIEW_ALL_INVOICES_SELECTED:{event_type:a.BUTTON_CLICKED,event_name:"view_all_invoices_selected",screen_name:"client_details_page"},PAYMENT_SELECTED:{event_type:a.BUTTON_CLICKED,event_name:"payment_selected",screen_name:"client_details_page"},VIEW_ALL_PAYMENTS_SELECTED:{event_type:a.BUTTON_CLICKED,event_name:"view_all_payments_selected",screen_name:"client_details_page"},RESTORE_CLIENT:{event_type:a.BUTTON_CLICKED,event_name:"restore_client",screen_name:"client_details_page"},DELETE_CLIENT:{event_type:a.BUTTON_CLICKED,event_name:"delete_client",screen_name:"invoice_add_edit_customer"},DELETE_CANCEL:{event_type:a.BUTTON_CLICKED,event_name:"delete_client_cancel",screen_name:"invoice_add_edit_customer"},DELETE_DELETE:{event_type:a.BUTTON_CLICKED,event_name:"delete_client_delete",screen_name:"invoice_add_edit_customer"},ARCHIVE_CLIENT:{event_type:a.BUTTON_CLICKED,event_name:"archive_client",screen_name:"invoice_add_edit_customer"},ARCHIVE_CANCEL:{event_type:a.BUTTON_CLICKED,event_name:"archive_client_cancel",screen_name:"invoice_add_edit_customer"},ARCHIVE_ARCHIVE:{event_type:a.BUTTON_CLICKED,event_name:"archive_client_archive",screen_name:"invoice_add_edit_customer"},ARCHIVE_VIEW_ALL_INVOICES:{event_type:a.BUTTON_CLICKED,event_name:"archive_client_view_all_invoices",screen_name:"archive_client_popup"}},SPLIT_PAYMENTS:{ADD_PAYMENT_SCHEDULE:{event_type:a.BUTTON_CLICKED,event_name:"split_payment_add_payment_schedule",screen_name:"create_invoice_page"},DELETE_PAYMENT_SCHEDULE:{event_type:a.BUTTON_CLICKED,event_name:"split_payment_delete_payment_schedule",screen_name:"payment_schedule_page"},ADD_SCHEDULE:{event_type:a.BUTTON_CLICKED,event_name:"split_payment_add_schedule",screen_name:"payment_schedule_page"},SPLIT_BY_PERCENTAGE:{event_type:a.BUTTON_CLICKED,event_name:"split_payment_by_percentage",screen_name:"payment_schedule_page"},SPLIT_BY_AMOUNT:{event_type:a.BUTTON_CLICKED,event_name:"split_payment_by_amount",screen_name:"payment_schedule_page"},ENTER_AMOUNT:{event_type:a.BUTTON_CLICKED,event_name:"split_payment_enter_amount",screen_name:"payment_schedule_page"},ENTER_PERCENTAGE:{event_type:a.BUTTON_CLICKED,event_name:"split_payment_enter_percentage",screen_name:"payment_schedule_page"},ENTER_NAME:{event_type:a.BUTTON_CLICKED,event_name:"split_payment_enter_name",screen_name:"payment_schedule_page"},SELECT_DUE_DATE:{event_type:a.BUTTON_CLICKED,event_name:"split_payment_select_due_date",screen_name:"payment_schedule_page"},DELETE_SCHEDULE:{event_type:a.BUTTON_CLICKED,event_name:"split_payment_delete_schedule",screen_name:"payment_schedule_page"},SAVE_SCHEDULE:{event_type:a.BUTTON_CLICKED,event_name:"split_payment_schedule_save",screen_name:"payment_schedule_page"}},FINANCIAL_CONNECTIONS:{REVIEW_AND_PAY_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"review_and_pay_page",screen_name:"review_and_pay_page"},DOWNLOAD_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_download_invoice",screen_name:"review_and_pay_page"},SHOW_DETAILS:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_show_details",screen_name:"review_and_pay_page"},HIDE_DETAILS:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_hide_details",screen_name:"review_and_pay_page"},CARD:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_card",screen_name:"review_and_pay_page"},STRIPE_BANK_TRANSFER:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_stripe_bank_transfer",screen_name:"review_and_pay_page"},CHECK:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_check",screen_name:"review_and_pay_page"},PAY_BUTTON:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_pay_button",screen_name:"review_and_pay_page"},GET_STARTED:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_get_started",screen_name:"review_and_pay_page"},BANK_TRANSFER_ACH:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_bank_transfer_ach",screen_name:"review_and_pay_page"},PAYPAL:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_paypal",screen_name:"review_and_pay_page"},VENMO:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_venmo",screen_name:"review_and_pay_page"},ENTER_EMAIL:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_enter_email",screen_name:"review_and_pay_page"},CHANGE_EMAIL:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_change_email",screen_name:"review_and_pay_page"},SEND_CODE:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_send_code",screen_name:"review_and_pay_page"},ENTER_CODE:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_enter_code",screen_name:"review_and_pay_page"},SEND_ANOTHER_CODE:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_send_another_code",screen_name:"review_and_pay_page"},VERIFY_CODE:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_verify_code",screen_name:"review_and_pay_page"},ENTER_DETAILS:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_bank_transfer_enter_details",screen_name:"review_and_pay_page"},DETAILS_ADDED:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_bank_transfer_details_added",screen_name:"review_and_pay_page"},SELECT_BANK:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_select_bank",screen_name:"review_and_pay_page"},REMOVE_SELECTED_BANK:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_remove_selected_bank",
1screen_name:"review_and_pay_page"},ADD_BANK_ACCOUNT:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_add_bank_account",screen_name:"review_and_pay_page"},SELECT_BANK_ACCOUNT_TYPE:{event_type:a.BUTTON_CLICKED,event_name:"financial_connection_select_bank_account_type",screen_name:"review_and_pay_page"},LOGOUT:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_logout",screen_name:"review_and_pay_page"},TNC:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_tnc",screen_name:"review_and_pay_page"},PRIVACY_POLICY:{event_type:a.BUTTON_CLICKED,event_name:"review_and_pay_privacy_policy",screen_name:"review_and_pay_page"}},STRIPE_ONBOARDING:{SETUP_PAYMENTS_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"setup_payments_page",screen_name:"setup_payments_page"},PAYMENTS_ONBOARDING_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"payments_onboarding_page",screen_name:"payments_onboarding_page"},SETUP_NOVO_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"setup_novo_payments",screen_name:"payments_onboarding_page"},REVIEW_TERMS_AND_CONDITIONS:{event_type:a.BUTTON_CLICKED,event_name:"review_terms_and_conditions",screen_name:"payments_onboarding_page"},VERIFY_ACCOUNT_INFO_YES:{event_type:a.BUTTON_CLICKED,event_name:"verify_account_info_yes",screen_name:"setup_payments_page"},VERIFY_ACCOUNT_INFO_UPDATE:{event_type:a.BUTTON_CLICKED,event_name:"verify_account_info_update",screen_name:"setup_payments_page"},VERIFY_ACCOUNT_INFO_TOOLTIP:{event_type:a.BUTTON_CLICKED,event_name:"verify_account_info_tooltip",screen_name:"setup_payments_page"},UPDATE_POPUP_GO_TO_ACCOUNT_INFO:{event_type:a.BUTTON_CLICKED,event_name:"update_popup_go_to_account_info",screen_name:"setup_payments_page"},UPDATE_POPUP_CANCEL:{event_type:a.BUTTON_CLICKED,event_name:"update_popup_cancel",screen_name:"setup_payments_page"},MADE_A_MISTAKE_UPDATE_ACCOUNT_INFO:{event_type:a.BUTTON_CLICKED,event_name:"made_a_mistake_update_account_info",screen_name:"setup_payments_page"},VERIFY_BUSINESS_INFO_YES:{event_type:a.BUTTON_CLICKED,event_name:"verify_business_info_yes",screen_name:"setup_payments_page"},VERIFY_BUSINESS_INFO_UPDATE:{event_type:a.BUTTON_CLICKED,event_name:"verify_business_info_update",screen_name:"setup_payments_page"},MADE_A_MISTAKE_BUSINESS_INFO:{event_type:a.BUTTON_CLICKED,event_name:"made_a_mistake_business_info",screen_name:"setup_payments_page"},ENTER_BUSINESS_DESC:{event_type:a.BUTTON_CLICKED,event_name:"enter_business_desc",screen_name:"setup_payments_page"},BUSINESS_DESC_NEXT:{event_type:a.BUTTON_CLICKED,event_name:"business_desc_next",screen_name:"setup_payments_page"},REVIEW_TERMS_CHECKBOX_ACKNOWLEDGE:{event_type:a.BUTTON_CLICKED,event_name:"review_terms_checkbox_acknowledge",screen_name:"setup_payments_page"},REVIEW_TERMS_CHECKBOX_CERTIFY:{event_type:a.BUTTON_CLICKED,event_name:"review_terms_checkbox_certify",screen_name:"setup_payments_page"},REVIEW_TERMS_SUBMIT:{event_type:a.BUTTON_CLICKED,event_name:"review_terms_submit",screen_name:"setup_payments_page"},ADDITIONAL_INFO_ID_TYPE:{event_type:a.BUTTON_CLICKED,event_name:"additional_info_id_type",screen_name:"payments_onboarding_page"},ADDITIONAL_INFO_ID_FRONT_UPLOAD:{event_type:a.BUTTON_CLICKED,event_name:"additional_info_id_front_upload",screen_name:"payments_onboarding_page"},ADDITIONAL_INFO_ID_BACK_UPLOAD:{event_type:a.BUTTON_CLICKED,event_name:"additional_info_id_back_upload",screen_name:"payments_onboarding_page"},ADDITIONAL_INFO_ENTER_BUSINESS_DESC:{event_type:a.BUTTON_CLICKED,event_name:"additional_info_enter_business_desc",screen_name:"payments_onboarding_page"},ADDITIONAL_INFO_UPDATE_INFO:{event_type:a.BUTTON_CLICKED,event_name:"additional_info_update_info",screen_name:"payments_onboarding_page"},ADDITIONAL_INFO_UPDATED_ACK:{event_type:a.BUTTON_CLICKED,event_name:"additional_info_updated_ack",screen_name:"payments_onboarding_page"},ADDITIONAL_INFO_SUBMIT:{event_type:a.BUTTON_CLICKED,event_name:"additional_info_submit",screen_name:"payments_onboarding_page"},SET_PAYMENT_OPTIONS_CLICKED:{event_type:a.BUTTON_CLICKED,event_name:"set_payment_options",screen_name:"payments_onboarding_page"},FINISH_PAYMENT_SETUP:{event_type:a.BUTTON_CLICKED,event_name:"finish_payment_setup",screen_name:"payments_onboarding_page"},PAYMENT_SELECTION_PAGE:{event_type:a.SCREEN_VIEWED,event_name:"payment_selection_page",screen_name:"payment_selection_page"},SAVE_PAYMENT_METHODS:{event_type:a.BUTTON_CLICKED,event_name:"save_payment_methods",screen_name:"payment_selection_page"},VERIFY_ACCOUNT_INFO:{event_type:a.SCREEN_VIEWED,event_name:"verify_account_info",screen_name:"payments_onboarding_page"},UPDATE_POPUP:{event_type:a.SCREEN_VIEWED,event_name:"update_popup",screen_name:"payments_onboarding_page"},VERIFY_BUSINESS_INFO:{event_type:a.SCREEN_VIEWED,event_name:"verify_business_info",screen_name:"payments_onboarding_page"},DESCRIBE_BUSINESS:{event_type:a.SCREEN_VIEWED,event_name:"describe_business",screen_name:"payments_onboarding_page"},REVIEW_TERMS:{event_type:a.SCREEN_VIEWED,event_name:"review_terms",screen_name:"payments_onboarding_page"},ADDITIONAL_INFO:{event_type:a.SCREEN_VIEWED,event_name:"additional_info",screen_name:"payments_onboarding_page"},SET_PAYMENT_OPTIONS_VIEWED:{event_type:a.SCREEN_VIEWED,event_name:"set_payment_options",screen_name:"payments_onboarding_page"},CONFIRM_DOWNGRADE_ACKNOWLEDGMENT:{event_type:a.BUTTON_CLICKED,event_name:"downgrade_ack_update_payment_methods",screen_name:"invoice_overview_page"},DOWNGRADE_NOT_ACKNOWLEDGED:{event_type:a.SCREEN_VIEWED,event_name:"downgrade_ack_not_now",
1screen_name:"invoice_overview_page"},ALERT_DENIED_ACKNOWLEDGEMENT:{event_type:a.BUTTON_CLICKED,event_name:"alert_action_ack_denied_payment_setup",screen_name:"invoice_overview_page"},ALERT_SET_PAYMENT_OPTIONS:{event_type:a.BUTTON_CLICKED,event_name:"alert_action_set_payment_options",screen_name:"invoice_overview_page"},ALERT_NEED_ADDITIONAL_INFO:{event_type:a.BUTTON_CLICKED,event_name:"alert_action_need_additional_info",screen_name:"invoice_overview_page"},ALERT_GET_STARTED:{event_type:a.BUTTON_CLICKED,event_name:"setup_payment_banner_action_get_started",screen_name:"invoice_overview_page"},ALERT_GET_STARTED_FROM_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"setup_payment_banner_action_get_started",screen_name:"payment_methods_settings"},ALERT_FINISH_SETUP:{event_type:a.BUTTON_CLICKED,event_name:"setup_payment_banner_action_finish_setup",screen_name:"invoice_overview_page"},ALERT_FINISH_SETUP_FROM_PAYMENTS:{event_type:a.BUTTON_CLICKED,event_name:"setup_payment_banner_action_finish_setup",screen_name:"payment_methods_settings"},OPT_BACK_IN:{event_type:a.BUTTON_CLICKED,event_name:"setup_payment_banner_action_opt_back_in",screen_name:"payment_methods_settings"}},STRIPE_OPT_OUT:{OPT_OUT:{event_type:a.BUTTON_CLICKED,event_name:"stripe_opt_out",screen_name:"payment_methods_settings"},CANCEL_OPT_OUT:{event_type:a.BUTTON_CLICKED,event_name:"cancel_stripe_opt_out",screen_name:"payment_methods_settings"},CONFIRM_OPT_OUT:{event_type:a.BUTTON_CLICKED,event_name:"confirm_stripe_opt_out",screen_name:"payment_methods_settings"},UPDATE_PAYMENT_METHODS:{event_type:a.BUTTON_CLICKED,event_name:"stripe_opt_out_update_payment_methods",screen_name:"payment_methods_settings"}},DISPUTES:{VIEW_SUPPORT_TICKET:{event_type:a.BUTTON_CLICKED,event_name:"payments_details_support_ticket",screen_name:"payments_details"},MORE_DETAILS:{event_type:a.BUTTON_CLICKED,event_name:"payments_details_more_details",screen_name:"payments_details"},RESOLVE_DISPUTE:{event_type:a.BUTTON_CLICKED,event_name:"payment_details_resolve_dispute",screen_name:"payments_details"}},TRANSACTION_DETAILS:{TXN_DETAILS_MODAL:{event_type:a.SCREEN_VIEWED,event_name:"transaction_detail",screen_name:"transaction_detail"},LINK_INVOICE:{event_type:a.BUTTON_CLICKED,event_name:"transaction_details_link_an_invoice",screen_name:"transaction_detail"},LINKED_TOOLTIP:{event_type:a.SCREEN_VIEWED,event_name:"transaction_details_linked_invoices_tooltip",screen_name:"transaction_detail"},ADJUSTMENTS_TOOLTIP:{event_type:a.SCREEN_VIEWED,event_name:"transaction_details_adjustments_tooltip",screen_name:"transaction_detail"}}})},76805(e,n,i){"use strict";i.d(n,{A:()=>t,B:()=>a});const a={CHECK_INVOICES_LENGTH:"CHECK_INVOICES_LENGTH",CHECK_TRANSACTIONS_AVAILABLE:"CHECK_TRANSACTIONS_AVAILABLE",GET_IN_APP_MARKETING_TYPE:"GET_IN_APP_MARKETING_TYPE",GET_IN_APP_MARKETING_CONFIG:"GET_IN_APP_MARKETING_CONFIG",GET_INVOICE_CUSTOMERS:"GET_INVOICE_CUSTOMERS",GET_RECENT_INVOICE_CUSTOMERS:"GET_RECENT_INVOICE_CUSTOMERS",GET_INVOICE_CUSTOMIZATION_INFO:"GET_INVOICE_CUSTOMIZATION_INFO",GET_INVOICE_ONBOARDING_INFO:"GET_INVOICE_ONBOARDING_INFO",GET_NEXT_INVOICE_NUMBER:"GET_NEXT_INVOICE_NUMBER",GET_RECURRING_INVOICE_HISTORY:"GET_RECURRING_INVOICE_HISTORY",GET_SAVED_ITEMS:"GET_SAVED_ITEMS",FETCH_INVOICE_ATTACHMENTS:"FETCH_INVOICE_ATTACHMENTS",FETCH_INVOICES_BY_TRANSACTION_ID:"FETCH_INVOICES_BY_TRANSACTION_ID",INVOICE_SEARCH_ITEMS:"INVOICE_SEARCH_ITEMS",GET_INVOICE_SIGNED_URL:"GET_INVOICE_SIGNED_URL",GET_INVOICES_LIST:"GET_INVOICES_LIST",UPDATE_INVOICE_STATUS:"UPDATE_INVOICE_STATUS",GET_MAPPED_TRANSACTIONS:"GET_MAPPED_TRANSACTIONS",GET_CREATE_PAYMENT_OPTIONS:"GET_CREATE_PAYMENT_OPTIONS",GET_RECURRING_LIST:"GET_RECURRING_LIST",CHECK_RECURRING_INVOICES_LENGTH:"CHECK_RECURRING_INVOICES_LENGTH",CHECK_PAYMENT_CAPABILITIES:"CHECK_PAYMENT_CAPABILITIES",GET_ONBOARDING_PAYMENT_OPTIONS:"GET_ONBOARDING_PAYMENT_OPTIONS",GET_INVOICE_BY_ID:"GET_INVOICE_BY_ID",GET_RECURRING_INVOICE_BY_ID:"GET_RECURRING_INVOICE_BY_ID",GET_INVOICE_DETAILS_BY_CODE:"GET_INVOICE_DETAILS_BY_CODE",DASHBOARD_INVOICE_LIST:"DASHBOARD_INVOICE_LIST",GET_INVOICE_CUSTOMER_BY_ID:"GET_INVOICE_CUSTOMER_BY_ID",GET_INVOICES_BY_CUSTOMER_ID:"GET_INVOICES_BY_CUSTOMER_ID",CUSTOMER_ALL_INVOICES:"CUSTOMER_ALL_INVOICES",GET_ACTIVITIES_BY_INVOICE_ID:"GET_ACTIVITIES_BY_INVOICE_ID",RECURRING_ALL_INVOICES:"RECURRING_ALL_INVOICES",GET_INVOICE_REFERRAL_CONFIG:"GET_INVOICE_REFERRAL_CONFIG",GET_INVOICE_ACL_CONFIG:"GET_INVOICE_ACL_CONFIG",GET_INSIGHT_WIDGETS:"GET_INSIGHT_WIDGETS",GET_INVOICE_STATUS_WIDGET:"GET_INVOICE_STATUS_WIDGET",GET_INVOICES_COUNT:"GET_INVOICES_COUNT",GET_OVERVIEW_ALERTS:"GET_OVERVIEW_ALERTS",GET_OVERDUE_CUSTOMERS:"GET_OVERDUE_CUSTOMERS",INVOICE_GET_CUSTOMERS_PAYMENTS:"INVOICE_GET_CUSTOMERS_PAYMENTS",INVOICE_GET_CUSTOMERS_ALL_PAYMENTS:"INVOICE_GET_CUSTOMERS_ALL_PAYMENTS",INVOICE_OVERVIEW_GET_ACTIVITIES:"INVOICE_OVERVIEW_GET_ACTIVITIES",GET_12_MONTH_PAYMENT_GRAPH_DATA:"GET_12_MONTH_PAYMENT_GRAPH_DATA",GET_ACCOUNT_INFO:"GET_ACCOUNT_INFO",GET_BUSINESS_INFO:"GET_BUSINESS_INFO",GET_BUSINESS_DETAILS:"GET_BUSINESS_DETAILS",GET_OWNERS_DETAILS:"GET_OWNERS_DETAILS",GET_REVIEW_TERMS:"GET_REVIEW_TERMS",INVOICE_CLIENT_ARCHIVE_PREVIEW_INVOICE_LIST:"INVOICE_CLIENT_ARCHIVE_PREVIEW_INVOICE_LIST",GET_VENDER_ONBOARDING_INFO:"GET_VENDER_ONBOARDING_INFO",UPDATE_VENDOR_ONBOARDING_ADDITIONAL_INFO:"UPDATE_VENDOR_ONBOARDING_ADDITIONAL_INFO",GET_PAYMENT_ONBOARDING_ADDITIONAL_INFO_DETAILS:"GET_PAYMENT_ONBOARDING_ADDITIONAL_INFO_DETAILS",GET_TERMS_OF_SERVICE:"GET_TERMS_OF_SERVICE",GET_INVOICE_PAYMENTS:"GET_INVOICE_PAYMENTS",GET_PAYMENTS_LIST:"GET_PAYMENTS_LIST",LINK_PAYMENT_TO_TRANSACTIONS:"LINK_PAYMENT_TO_TRANSACTIONS",GET_PAYMENT_DETAILS:"GET_PAYMENT_DETAILS",GET_PAYMENTS_TOOLTIPS:"GET_PAYMENTS_TOOLTIPS",DOWNLOAD_PAYMENTS_CSV:"DOWNLOAD_PAYMENTS_CSV",GET_PAYMENT_LINKED_TRANSACTION_INFO:"GET_PAYMENT_LINKED_TRANSACTION_INFO",GET_BETA_STATUS:"GET_BETA_STATUS",CHECK_PAYMENT_METHOD_SETUP_VISITED:"CHECK_PAYMENT_METHOD_SETUP_VISITED",GET_PAYMENT_DISPUTE_LIST:"GET_PAYMENT_DISPUTE_LIST",GET_STRIPE_CONNECTED_ACCOUNTS:"GET_STRIPE_CONNECTED_ACCOUNTS",GET_ONBOARDING_FEE_DESCRIPTION:"GET_ONBOARDING_FEE_DESCRIPTION"},t={UPDATE_PAYMENT:"UPDATE_PAYMENT",RECORD_PAYMENT:"RECORD_PAYMENT",DELETE_PAYMENT:"DELETE_PAYMENT",UPDATE_VENDOR_ONBOARDING_POST_APPROVAL:"UPDATE_VENDOR_ONBOARDING_POST_APPROVAL",CONFIRM_DOWNGRADE_ACKNOWLEDGMENT:"CONFIRM_DOWNGRADE_ACKNOWLEDGMENT",CONFIRM_PAYMENTS_OPT_OUT:"CONFIRM_PAYMENTS_OPT_OUT",ACKNOWLEDGEMENT:"ACKNOWLEDGEMENT",UPDATE_PAYMENT_OPTIONS:"UPDATE_PAYMENT_OPTIONS",SEND_STRIPE_BANK_TRANSFER_CODE:"SEND_STRIPE_BANK_TRANSFER_CODE",VALIDATE_STRIPE_BANK_TRANSFER_CODE:"VALIDATE_STRIPE_BANK_TRANSFER_CODE"}},96191(e){var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"InvoiceBrandingFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"InvoiceSettings"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoiceBranding"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customColor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customLogoUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customLogo"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"InvoiceList"}
1,typeCondition:{kind:"NamedType",name:{kind:"Name",value:"InvoiceResponseDto"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dueDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceSentDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"scheduledDate"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"InvoiceItems"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"InvoiceItemsResponseDto"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cost"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"quantity"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"RecurringSeriesFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RecurringSeriesResponseDto"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"endValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"repeatType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"frequency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endType"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"InvoiceCustomer"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"InvoiceCustomerResponseDto"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"companyName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clientName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customerStatus"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"InvoiceSenderDetails"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SenderType"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"business"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessAddress"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"addressLine1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zipCode"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"customColor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customLogoUrl"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"InvoiceSelectedPaymentMethods"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PaymentOptionsResponseDto"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentCategoryType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"categoryIcon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"connectionInformation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isConnected"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"account"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"iconUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentName"},arguments:[],directives:[]}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"InvoicePremiumSelectedPaymentGateways"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PaymentGatewayWithMethodsDto"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gatewayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gatewayId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentMethods"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"method"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"checkDetails"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"writeCheckTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailCheckTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zipCode"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"paymentLimits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"min"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"max"},arguments:[],directives:[]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"ReferralDetails"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ReferralPageResponseDto"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rewardAmount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"refereeAmount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"depositAmount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"getStartedUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tncUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"termsLink"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"groupType"},arguments:[],directives:[]}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"PaymentSchedule"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"PaymentScheduleResponseDto"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"splitType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"splits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"splitOrder"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"splitPercentage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dueDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentTimestamp"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paidAmount"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:1989}};n.loc.source={body:"fragment InvoiceBrandingFragment on InvoiceSettings {\n invoiceBranding {\n customColor\n customLogoUrl\n customLogo\n }\n}\n\nfragment InvoiceList on InvoiceResponseDto {\n id\n status\n dueDate\n invoiceTotal\n invoiceNumber\n invoiceSentDate\n scheduledDate\n}\n\nfragment InvoiceItems on InvoiceItemsResponseDto {\n id\n name\n cost\n quantity\n total\n description\n}\n\nfragment RecurringSeriesFields on RecurringSeriesResponseDto {\n endValue\n repeatType\n frequency\n endType\n}\n\nfragment InvoiceCustomer on InvoiceCustomerResponseDto {\n id\n companyName\n email\n phone\n addressLine1\n addressLine2\n clientName\n city\n state\n zip\n customerStatus\n}\n\nfragment InvoiceSenderDetails on SenderType {\n business {\n businessName\n email\n phone\n id\n\n businessAddress {\n addressLine1\n addressLine2\n city\n state\n zipCode\n }\n customColor\n customLogoUrl\n }\n}\n\nfragment InvoiceSelectedPaymentMethods on PaymentOptionsResponseDto {\n name\n paymentCategoryType\n description\n categoryIcon\n paymentValues {\n id\n hid\n name\n displayName\n connectionInformation {\n isConnected\n account {\n displayName\n email\n }\n }\n iconUrl\n type\n paymentId\n paymentName\n }\n}\n\nfragment InvoicePremiumSelectedPaymentGateways on PaymentGatewayWithMethodsDto {\n gatewayName\n gatewayId\n paymentMethods {\n label\n title\n description\n isEnabled\n method\n checkDetails {\n writeCheckTo\n mailCheckTo\n address\n addressLine2\n city\n state\n zipCode\n }\n paymentLimits {\n min\n max\n }\n }\n}\n\nfragment ReferralDetails on ReferralPageResponseDto {\n rewardAmount\n refereeAmount\n depositAmount\n getStartedUrl\n tncUrl\n termsLink\n groupType\n}\n\nfragment PaymentSchedule on PaymentScheduleResponseDto {\n splitType\n splits {\
1n label\n splitOrder\n amount\n splitPercentage\n dueDate\n status\n paymentTimestamp\n paidAmount\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var a=e.type;"NamedType"===a.kind&&n.add(a.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function d(e,n){var i={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var d=a[n]||new Set,s=new Set,r=new Set;for(d.forEach((function(e){r.add(e)}));r.size>0;){var m=r;r=new Set,m.forEach((function(e){s.has(e)||(s.add(e),(a[e]||new Set).forEach((function(e){r.add(e)})))}))}return s.forEach((function(n){var a=t(e,n);a&&i.definitions.push(a)})),i}n.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}})),e.exports=n,e.exports.InvoiceBrandingFragment=d(n,"InvoiceBrandingFragment"),e.exports.InvoiceList=d(n,"InvoiceList"),e.exports.InvoiceItems=d(n,"InvoiceItems"),e.exports.RecurringSeriesFields=d(n,"RecurringSeriesFields"),e.exports.InvoiceCustomer=d(n,"InvoiceCustomer"),e.exports.InvoiceSenderDetails=d(n,"InvoiceSenderDetails"),e.exports.InvoiceSelectedPaymentMethods=d(n,"InvoiceSelectedPaymentMethods"),e.exports.InvoicePremiumSelectedPaymentGateways=d(n,"InvoicePremiumSelectedPaymentGateways"),e.exports.ReferralDetails=d(n,"ReferralDetails"),e.exports.PaymentSchedule=d(n,"PaymentSchedule")},4410(e,n,i){var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetInvoicesList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"startDate"}},type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"endDate"}},type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchString"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"InvoiceListOrderByColumnEnum"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InvoiceStatusEnum"}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"customerId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoicesList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}},{kind:"Argument",name:{kind:"Name",value:"searchString"},value:{kind:"Variable",name:{kind:"Name",value:"searchString"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}},{kind:"Argument",name:{kind:"Name",value:"status"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}},{kind:"Argument",name:{kind:"Name",value:"customerId"},value:{kind:"Variable",name:{kind:"Name",value:"customerId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoices"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceList"},directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentLink"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"recurringId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"recipients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"companyName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetDashboardInvoiceList"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"startDate"}},type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"endDate"}},type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchString"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"InvoiceListOrderByColumnEnum"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InvoiceStatusEnum"}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoicesList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}},{kind:"Argument",name:{kind:"Name",value:"searchString"},value:{kind:"Variable",name:{kind:"Name",value:"searchString"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}},{kind:"Argument",name:{kind:"Name",value:"status"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoices"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceList"},directives:[]},{kind:"Field",name:{kind:"Name",value:"customer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"companyName"},arguments:[],directives:[]}]}}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetInvoiceListById"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoicesList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoices"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sendMeACopy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentLink"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"note"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"recurringId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dueDays"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"recipients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reminders"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discountType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discountValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shippingValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updatedAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"note"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paidDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discountTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceSubTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentStatusMessage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentStatusIcon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paidPaymentDetails"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totalAmountPaid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"payableAmount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentSchedules"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PaymentSchedule"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceItems"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"recurringSeries"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"RecurringSeriesFields"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"selectedPaymentMethods"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceSelectedPaymentMethods"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"customer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceCustomer"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sender"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceSenderDetails"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"referralPage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReferralDetails"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"showPremiumPaymentMethods"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"premiumSelectedPaymentGateways"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoicePremiumSelectedPaymentGateways"},directives:[]}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceList"},directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetACOpe
1ningDate"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"account"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"account_opening_date"},arguments:[],directives:[]}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetInAppMarketingConfig"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"all_configs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"max_billable_item"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"inAppInvoiceMarketingFeatureStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceApiVersion"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetAttachments"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"entityId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NamedType",name:{kind:"Name",value:"DocumentTypeEnum"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"NamedType",name:{kind:"Name",value:"DocumentStatusEnum"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getDocuments"},arguments:[{kind:"Argument",name:{kind:"Name",value:"entityId"},value:{kind:"Variable",name:{kind:"Name",value:"entityId"}}},{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}},{kind:"Argument",name:{kind:"Name",value:"status"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documents"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fileName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"downloadLink"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetSavedItems"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sort"}},type:{kind:"NamedType",name:{kind:"Name",value:"ProductSortOrderEnum"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getProducts"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}
1},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"sort"},value:{kind:"Variable",name:{kind:"Name",value:"sort"}}},{kind:"Argument",name:{kind:"Name",value:"searchTerm"},value:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"products"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"itemName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"itemDefaultCost"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CheckPaymentCapabilities"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"paymentHid"}},type:{kind:"NamedType",name:{kind:"Name",value:"PaymentMethodHidsEnum"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"checkPaymentCapabilities"},arguments:[{kind:"Argument",name:{kind:"Name",value:"paymentHid"},value:{kind:"Variable",name:{kind:"Name",value:"paymentHid"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paymentMethods"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hid"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetNextInvoiceNumber"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getNextInvoiceNumber"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoiceNumber"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FetchTransactionsByInvoiceId"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"invoiceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getTransactionsByAmountFirst"},arguments:[{kind:"Argument",name:{kind:"Name",value:"invoiceId"},value:{kind:"Variable",name:{kind:"Name",value:"invoiceId"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"searchTerm"},value:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"transactions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSuggested"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"medium"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetInvoiceDetailsByCode"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"code"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceByCode"},arguments:[{kind:"Argument",name:{kind:"Name",value:"code"},value:{kind:"Variable",name:{kind:"Name",value:"code"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendMeACopy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentLink"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"note"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dueDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"scheduledDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dueDays"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"recurringId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"recipients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discountType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discountTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discountValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shippingValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceSentDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paidPaymentDetails"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paidDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceSubTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reminders"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updatedAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isArchived"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"attachments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fileName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"downloadLink"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"selectedPaymentMethods"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentCategoryType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"categoryIcon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasConnectionError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentLimits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"min"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"max"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"connectionInformation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isConnected"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"account"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"iconUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentMethods"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"details"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bankAccountNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"routingNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clientId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"merchantId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stripePublishableKey"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"stripeClientSecret"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"squareLocationId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"writeCheckTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailCheckTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zipCode"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"paymentSchedules"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PaymentSchedule"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceItems"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sender"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceSenderDetails"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"referralPage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReferralDetails"},directives:[]},{kind:"Field",name:{kind:"Name",value:"referralViewed"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"totalAmountPaid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"whiteLabelStripePublishableKey"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"showPremiumPaymentMethods"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"premiumSelectedPaymentMethods"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"method"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"checkDetails"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"writeCheckTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailCheckTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zipCode"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"paymentLimits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"min"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"max"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"payableAmount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"companyName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"invoiceAccount"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetInvoiceCustomers"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"InvoiceCustomerSortByEnum"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceCustomers"},arguments:[{kind:"Argument",name:{kind:"Name",value:"searchTerm"},value:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoiceCustomers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"companyName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clientName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastInvoicedDate"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetInvoiceCustomersOnCreateInvoice"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"InvoiceCustomerSortByEnum"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceCustomers"},arguments:[{kind:"Argument",name:{kind:"Name",value:"searchTerm"},value:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}
1},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoiceCustomers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"companyName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clientName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customerStatus"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetInvoiceCustomerById"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"InvoiceCustomerSortByEnum"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceCustomers"},arguments:[{kind:"Argument",name:{kind:"Name",value:"searchTerm"},value:{kind:"Variable",name:{kind:"Name",value:"searchTerm"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoiceCustomers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"companyName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clientName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastInvoicedDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customerStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDeleteAllowed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasActiveInvoices"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"InvoiceOnBoardingInfo"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"defaultReminders"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"businessId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dba"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zipCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sourceName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"referralPage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ReferralDetails"},directives:[]}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceBrandingFragment"},directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"InvoiceCustomizationInfo"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceBrandingFragment"},directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"InvoiceOnboardingPaymentData"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceSettingsPaymentOptions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paymentOptions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"connectionInformation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isConnected"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isInvoiceEnabled"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"iconUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoicingPaymentDescription"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FetchCreateInvoicePaymentOptions"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getCreateInvoicePaymentOptions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paymentOptions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentCategoryType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"categoryIcon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errorDescription"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasConnectionError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subDescription"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayOrder"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bannerDetails"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"iconUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"paymentValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"connectionInformation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isInvoiceEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isConnected"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"iconUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDefaultSelected"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentMethods"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"paymentLimits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"max"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"min"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"premiumPaymentGateways"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gatewayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gatewayId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentMethods"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"method"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"checkDetails"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"writeCheckTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailCheckTo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field"
1,name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zipCode"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"paymentLimits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"min"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"max"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetBetaStatus"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceConfigs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"showBeta"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetInvoiceSignedUrl"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"invoiceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceSignedUrl"},arguments:[{kind:"Argument",name:{kind:"Name",value:"invoiceId"},value:{kind:"Variable",name:{kind:"Name",value:"invoiceId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetActivities"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"invoiceId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"customerId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"recurringSeriesId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getActivities"},arguments:[{kind:"Argument",name:{kind:"Name",value:"invoiceId"},value:{kind:"Variable",name:{kind:"Name",value:"invoiceId"}}},{kind:"Argument",name:{kind:"Name",value:"customerId"},value:{kind:"Variable",name:{kind:"Name",value:"customerId"}}},{kind:"Argument",name:{kind:"Name",value:"recurringSeriesId"},value:{kind:"Variable",name:{kind:"Name",value:"recurringSeriesId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"activities"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iconType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cta"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"transactionId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"transactionReferenceNumber"},arguments:[],directives:[]}]}}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetACLFeatures"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getAclFeatures"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"split"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"create"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"conditions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"split"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"limit"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"marketing"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"setupPaymentBanner"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"continueSetupPaymentBanner"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"showApplicationOptInBanner"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"estimate"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"create"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"menu"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dashboard"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recentActivitiesWidget"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"insightsWidget"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"estimateWidget"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paymentsWidget"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceStatusWidget"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceOverdueWidget"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"showDowngradeAcknowledgmentBanner"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"client"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientAvgTimeToPayWidget"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clientInvoiceSentWidget"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clientPaymentWidget"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clientTotalPaymentLast30DaysWidget"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clientTotalPaymentWidget"},arguments:[],directives:[]}]}}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetClientArchivePreviewInvoices"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"customerId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InvoiceStatusEnum"}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoicesList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"customerId"},value:{kind:"Variable",name:{kind:"Name",value:"customerId"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"status"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoices"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"recurringId"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:14361}};a.loc.source={body:'#import "../fragments/index.graphql"\n\nquery GetInvoicesList(\n $id: String\n $offset: Int\n $limit: Int\n $startDate: DateTime\n $endDate: DateTime\n $searchString: String\n $sortOrder: SortOrder\n $sortBy: InvoiceListOrderByColumnEnum\n $status: [InvoiceStatusEnum!]\n $customerId: String\n) {\n responseData: getInvoicesList(\n id: $id\n offset: $offset\n limit: $limit\n startDate: $startDate\n endDate: $endDate\n searchString: $searchString\n sortOrder: $sortOrder\n sortBy: $sortBy\n status: $status\n customerId: $customerId\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoices {\n ...InvoiceList\n paymentLink\n recurringId\n recipients\n customer {\n id\n companyName\n email\n }\n }\n }\n }\n}\n\nquery GetDashboardInvoiceList(\n $id: String\n $offset: Int\n $limit: Int\n $startDate: DateTime\n $endDate: DateTime\n $searchString: String\n $sortOrder: SortOrder\n $sortBy: InvoiceListOrderByColumnEnum\n $status: [InvoiceStatusEnum!]\n) {\n responseData: getInvoicesList(\n id: $id\n offset: $offset\n limit: $limit\n startDate: $startDate\n endDate: $endDate\n searchString: $searchString\n sortOrder: $sortOrder\n sortBy: $sortBy\n status: $status\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoices {\n ...InvoiceList\n customer {\n companyName\n }\n }\n }\n }\n}\n\nquery GetInvoiceListById($id: String) {\n responseData: getInvoicesList(id: $id) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoices {\n sendMeACopy\n paymentLink\n note\n recurringId\n dueDays\n recipients\n reminders\n discountType\n discountValue\n taxType\n taxValue\n shippingValue\n updatedAt\n note\n paidDate\n taxTotal\n discountTotal\n invoiceSubTotal\n paymentStatusMessage\n paymentStatusIcon\n createdAt\n paidPaymentDetails\n totalAmountPaid\n payableAmount\n paymentSchedules {\n ...PaymentSchedule\n }\n items {\n ...InvoiceItems\n }\n recurringSeries {\n ...RecurringSeriesFields\n }\n selectedPaymentMethods {\n ...InvoiceSelectedPaymentMethods\n }\n customer {\n ...InvoiceCustomer\n }\n sender {\n ...InvoiceSenderDetails\n }\n referralPage {\n ...ReferralDetails\n }\n showPremiumPaymentMethods\n premiumSelectedPaymentGateways {\n ...InvoicePremiumSelectedPaymentGateways\n }\n ...InvoiceList\n }\n }\n }\n}
1\n\nquery GetACOpeningDate {\n responseData: account {\n account_opening_date\n }\n}\n\nquery GetInAppMarketingConfig {\n responseData: all_configs {\n invoice {\n max_billable_item\n inAppInvoiceMarketingFeatureStatus\n invoiceApiVersion\n }\n }\n}\n\nquery GetAttachments(\n $entityId: String!\n $type: DocumentTypeEnum\n $status: DocumentStatusEnum\n) {\n responseData: getDocuments(\n entityId: $entityId\n type: $type\n status: $status\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n documents {\n id\n type\n fileName\n downloadLink\n }\n }\n }\n}\n\nquery GetSavedItems(\n $limit: Int\n $offset: Int\n $sort: ProductSortOrderEnum\n $searchTerm: String\n) {\n responseData: getProducts(\n limit: $limit\n offset: $offset\n sort: $sort\n searchTerm: $searchTerm\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n products {\n id\n itemName\n itemDefaultCost\n description\n }\n }\n }\n}\n\nquery CheckPaymentCapabilities($paymentHid: PaymentMethodHidsEnum) {\n responseData: checkPaymentCapabilities(paymentHid: $paymentHid) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n paymentMethods {\n status\n description\n hid\n }\n }\n }\n}\n\nquery GetNextInvoiceNumber($id: String) {\n responseData: getNextInvoiceNumber(id: $id) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoiceNumber\n }\n }\n}\n\nquery FetchTransactionsByInvoiceId(\n $invoiceId: String!\n $offset: Int\n $limit: Int\n $searchTerm: String\n) {\n responseData: getTransactionsByAmountFirst(\n invoiceId: $invoiceId\n offset: $offset\n limit: $limit\n searchTerm: $searchTerm\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n transactions {\n id\n amount\n description\n isSuggested\n createdDate\n medium\n }\n }\n }\n}\n\nquery GetInvoiceDetailsByCode($code: String!) {\n responseData: getInvoiceByCode(code: $code) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n id\n sendMeACopy\n status\n paymentLink\n note\n dueDate\n scheduledDate\n dueDays\n recurringId\n recipients\n invoiceTotal\n invoiceNumber\n discountType\n discountTotal\n discountValue\n taxType\n taxTotal\n taxValue\n shippingValue\n invoiceSentDate\n paidPaymentDetails\n paidDate\n invoiceSubTotal\n reminders\n createdAt\n updatedAt\n isArchived\n attachments {\n id\n type\n fileName\n downloadLink\n }\n selectedPaymentMethods {\n name\n paymentCategoryType\n description\n categoryIcon\n hasConnectionError\n paymentValues {\n id\n hid\n name\n displayName\n paymentLimits {\n min\n max\n }\n connectionInformation {\n isConnected\n account {\n displayName\n email\n }\n }\n iconUrl\n type\n paymentId\n paymentName\n paymentMethods {\n value\n }\n details {\n bankAccountNumber\n routingNumber\n clientId\n merchantId\n stripePublishableKey\n stripeClientSecret\n squareLocationId\n type\n writeCheckTo\n mailCheckTo\n city\n state\n address\n addressLine2\n zipCode\n }\n }\n }\n paymentSchedules {\n ...PaymentSchedule\n }\n items {\n ...InvoiceItems\n }\n sender {\n ...InvoiceSenderDetails\n }\n referralPage {\n ...ReferralDetails\n referralViewed\n }\n totalAmountPaid\n whiteLabelStripePublishableKey\n showPremiumPaymentMethods\n premiumSelectedPaymentMethods {\n label\n title\n description\n isEnabled\n method\n checkDetails {\n writeCheckTo\n mailCheckTo\n address\n addressLine2\n city\n state\n zipCode\n }\n paymentLimits {\n min\n max\n }\n }\n payableAmount\n customer {\n companyName\n }\n invoiceAccount {\n id\n status\n }\n }\n }\n}\n\nquery GetInvoiceCustomers(\n $searchTerm: String\n $limit: Int\n $offset: Int\n $id: String\n $sortOrder: SortOrder\n $sortBy: InvoiceCustomerSortByEnum\n) {\n responseData: getInvoiceCustomers(\n searchTerm: $searchTerm\n limit: $limit\n offset: $offset\n id: $id\n sortOrder: $sortOrder\n sortBy: $sortBy\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoiceCustomers {\n id\n email\n companyName\n email\n clientName\n lastInvoicedDate\
1n }\n }\n }\n}\n\nquery GetInvoiceCustomersOnCreateInvoice(\n $searchTerm: String\n $limit: Int\n $offset: Int\n $id: String\n $sortOrder: SortOrder\n $sortBy: InvoiceCustomerSortByEnum\n) {\n responseData: getInvoiceCustomers(\n searchTerm: $searchTerm\n limit: $limit\n offset: $offset\n id: $id\n sortOrder: $sortOrder\n sortBy: $sortBy\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoiceCustomers {\n id\n phone\n companyName\n email\n clientName\n addressLine1\n addressLine2\n city\n state\n zip\n customerStatus\n }\n }\n }\n}\n\nquery GetInvoiceCustomerById(\n $searchTerm: String\n $limit: Int\n $offset: Int\n $id: String\n $sortOrder: SortOrder\n $sortBy: InvoiceCustomerSortByEnum\n) {\n responseData: getInvoiceCustomers(\n searchTerm: $searchTerm\n limit: $limit\n offset: $offset\n id: $id\n sortOrder: $sortOrder\n sortBy: $sortBy\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoiceCustomers {\n id\n email\n companyName\n email\n phone\n addressLine1\n addressLine2\n city\n state\n zip\n status\n createdAt\n clientName\n lastInvoicedDate\n customerStatus\n isDeleteAllowed\n hasActiveInvoices\n }\n }\n }\n}\n\nquery InvoiceOnBoardingInfo {\n responseData: getInvoiceSettings {\n message\n title\n success\n hasError\n statusCode\n userErrors\n\n data {\n id\n defaultReminders\n businessInfo {\n businessId\n businessName\n dba\n email\n phone\n address\n addressLine2\n city\n state\n zipCode\n sourceName\n }\n referralPage {\n ...ReferralDetails\n }\n ...InvoiceBrandingFragment\n }\n }\n}\n\nquery InvoiceCustomizationInfo {\n responseData: getInvoiceSettings {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n ...InvoiceBrandingFragment\n }\n }\n}\n\nquery InvoiceOnboardingPaymentData {\n responseData: getInvoiceSettingsPaymentOptions {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n paymentOptions {\n id\n hid\n name\n connectionInformation {\n isConnected\n isInvoiceEnabled\n }\n iconUrl\n invoicingPaymentDescription\n type\n }\n }\n }\n}\n\nquery FetchCreateInvoicePaymentOptions {\n responseData: getCreateInvoicePaymentOptions {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n paymentOptions {\n name\n paymentCategoryType\n description\n categoryIcon\n errorDescription\n hasConnectionError\n subDescription\n displayOrder\n bannerDetails {\n iconUrl\n title\n description\n }\n paymentValues {\n id\n hid\n name\n displayName\n connectionInformation {\n isInvoiceEnabled\n isConnected\n }\n iconUrl\n\n type\n isDefaultSelected\n paymentId\n paymentName\n paymentMethods {\n value\n }\n paymentLimits {\n max\n min\n }\n }\n }\n premiumPaymentGateways {\n gatewayName\n gatewayId\n paymentMethods {\n label\n title\n description\n isEnabled\n method\n checkDetails {\n writeCheckTo\n mailCheckTo\n address\n addressLine2\n city\n state\n zipCode\n }\n paymentLimits {\n min\n max\n }\n }\n }\n }\n }\n}
1\n\nquery GetBetaStatus {\n responseData: getInvoiceConfigs {\n hasError\n message\n title\n success\n statusCode\n userErrors\n data {\n showBeta\n }\n }\n}\n\nquery GetInvoiceSignedUrl($invoiceId: String!) {\n responseData: getInvoiceSignedUrl(invoiceId: $invoiceId) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n url\n }\n }\n}\n\nquery GetActivities(\n $invoiceId: String\n $customerId: String\n $recurringSeriesId: String\n) {\n responseData: getActivities(\n invoiceId: $invoiceId\n customerId: $customerId\n recurringSeriesId: $recurringSeriesId\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n activities {\n title\n description\n iconType\n cta {\n type\n transactionId\n transactionReferenceNumber\n }\n }\n }\n }\n}\n\nquery GetACLFeatures {\n responseData: getAclFeatures {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoice {\n permissions {\n split\n create\n }\n conditions {\n split {\n limit\n }\n }\n }\n subscription\n marketing {\n setupPaymentBanner\n continueSetupPaymentBanner\n showApplicationOptInBanner\n }\n estimate {\n permissions {\n create\n }\n }\n menu\n dashboard {\n permissions {\n recentActivitiesWidget\n insightsWidget\n estimateWidget\n paymentsWidget\n invoiceStatusWidget\n invoiceOverdueWidget\n showDowngradeAcknowledgmentBanner\n }\n }\n client {\n permissions {\n clientAvgTimeToPayWidget\n clientInvoiceSentWidget\n clientPaymentWidget\n clientTotalPaymentLast30DaysWidget\n clientTotalPaymentWidget\n }\n }\n }\n }\n}\n\nquery GetClientArchivePreviewInvoices(\n $limit: Int\n $customerId: String\n $offset: Int\n $status: [InvoiceStatusEnum!]\n) {\n responseData: getInvoicesList(\n limit: $limit\n customerId: $customerId\n offset: $offset\n status: $status\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoices {\n id\n status\n invoiceTotal\n invoiceNumber\n recurringId\n }\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function d(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){d(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){d(e,n)})),e.definitions&&e.definitions.forEach((function(e){d(e,n)}))}a.definitions=a.definitions.concat(i(96191).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!t[n]&&(t[n]=!0,!0)})));var s={};function r(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function m(e,n){var i={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=s[n]||new Set,t=new Set,d=new Set;for(a.forEach((function(e){d.add(e)}));d.size>0;){var m=d;d=new Set,m.forEach((function(e){t.has(e)||(t.add(e),(s[e]||new Set).forEach((function(e){d.add(e)})))}))}return t.forEach((function(n){var a=r(e,n);a&&i.definitions.push(a)})),i}a.definitions.forEach((function(e){if(e.name){var n=new Set;d(e,n),s[e.name.value]=n}})),e.exports=a,e.exports.GetInvoicesList=m(a,"GetInvoicesList"),e.exports.GetDashboardInvoiceList=m(a,"GetDashboardInvoiceList"),e.exports.GetInvoiceListById=m(a,"GetInvoiceListById"),e.exports.GetACOpeningDate=m(a,"GetACOpeningDate"),e.exports.GetInAppMarketingConfig=m(a,"GetInAppMarketingConfig"),e.exports.GetAttachments=m(a,"GetAttachments"),e.exports.GetSavedItems=m(a,"GetSavedItems"),e.exports.CheckPaymentCapabilities=m(a,"CheckPaymentCapabilities"),e.exports.GetNextInvoiceNumber=m(a,"GetNextInvoiceNumber"),e.exports.FetchTransactionsByInvoiceId=m(a,"FetchTransactionsByInvoiceId"),e.exports.GetInvoiceDetailsByCode=m(a,"GetInvoiceDetailsByCode"),e.exports.GetInvoiceCustomers=m(a,"GetInvoiceCustomers"),e.exports.GetInvoiceCustomersOnCreateInvoice=m(a,"GetInvoiceCustomersOnCreateInvoice"),e.exports.GetInvoiceCustomerById=m(a,"GetInvoiceCustomerById"),e.exports.InvoiceOnBoardingInfo=m(a,"InvoiceOnBoardingInfo"),e.exports.InvoiceCustomizationInfo=m(a,"InvoiceCustomizationInfo"),e.exports.InvoiceOnboardingPaymentData=m(a,"InvoiceOnboardingPaymentData"),e.exports.FetchCreateInvoicePaymentOptions=m(a,"FetchCreateInvoicePaymentOptions"),e.exports.GetBetaStatus=m(a,"GetBetaStatus"),e.exports.GetInvoiceSignedUrl=m(a,"GetInvoiceSignedUrl"),e.exports.GetActivities=m(a,"GetActivities"),e.exports.GetACLFeatures=m(a,"GetACLFeatures"),e.exports.GetClientArchivePreviewInvoices=m(a,"GetClientArchivePreviewInvoices")},34035(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetInsightWidgetQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInsightWidget"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoice"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paid"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"unpaid"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"estimate"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accepted"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pending"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[]}]}}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetInvoiceStatusWidget"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceStatusWidget"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoiceStatuses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sent"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"percentage"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"overdue"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"percentage"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"paid"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"percentage"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"allInvoicesPaid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasNoInvoices"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CheckIfUserHasInvoices"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasInvoices"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasRecurringInvoices"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetOverviewAlerts"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getAlerts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"alerts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ctaText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ctaType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iconType"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetCustomersWithOverdueBalance"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"InvoiceCustomerSortByEnum"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"onlyOverdue"}},type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceCustomers"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}},{kind:"Argument",name:{kind:"Name",value:"onlyOverdue"},value:{kind:"Variable",name:{kind:"Name",value:"onlyOverdue"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoiceCustomers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"companyName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"totalOverdueAmount"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetActivitiesWidget"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"InvoiceActivitiesOrderByColumnEnum"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"cursor"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getActivitiesWidget"},arguments:[{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}
1},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"cursor"},value:{kind:"Variable",name:{kind:"Name",value:"cursor"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"activities"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"iconType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cta"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"number"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"createdAt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cursor"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Get12MonthPaymentGraphData"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoicePaymentWidget"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"payment"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"year"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"month"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"paidAmount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"overdueAmount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"projectedAmount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"hasNoInvoices"},arguments:[],directives:[]}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetOnboardingFeeDescription"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getInvoiceConfigs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"onboardingFeeDescription"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:3069}};n.loc.source={body:"query GetInsightWidgetQuery {\n responseData: getInsightWidget {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoice {\n paid {\
1n amount\n }\n unpaid {\n amount\n }\n }\n estimate {\n accepted {\n amount\n }\n pending {\n amount\n }\n }\n }\n }\n}\n\nquery GetInvoiceStatusWidget {\n responseData: getInvoiceStatusWidget {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoiceStatuses {\n sent {\n amount\n percentage\n }\n overdue {\n amount\n percentage\n }\n paid {\n amount\n percentage\n }\n }\n allInvoicesPaid\n hasNoInvoices\n }\n }\n}\n\nquery CheckIfUserHasInvoices {\n responseData: getInvoiceSettings {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n hasInvoices\n hasRecurringInvoices\n }\n }\n}\n\nquery GetOverviewAlerts {\n responseData: getAlerts {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n alerts {\n type\n message\n ctaText\n ctaType\n title\n iconType\n }\n }\n }\n}\n\nquery GetCustomersWithOverdueBalance(\n $id: String\n $limit: Int\n $offset: Int\n $sortOrder: SortOrder\n $sortBy: InvoiceCustomerSortByEnum\n $onlyOverdue: Boolean\n) {\n responseData: getInvoiceCustomers(\n limit: $limit\n offset: $offset\n id: $id\n sortBy: $sortBy\n sortOrder: $sortOrder\n onlyOverdue: $onlyOverdue\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoiceCustomers {\n id\n companyName\n totalOverdueAmount\n }\n }\n }\n}\n\n# Query to display the activities widget on overview dashboard\nquery GetActivitiesWidget(\n $sortBy: InvoiceActivitiesOrderByColumnEnum\n $sortOrder: SortOrder\n $limit: Int\n $offset: Int\n $cursor: String\n) {\n responseData: getActivitiesWidget(\n sortBy: $sortBy\n sortOrder: $sortOrder\n limit: $limit\n offset: $offset\n cursor: $cursor\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n activities {\n title\n description\n iconType\n cta {\n type\n number\n id\n }\n createdAt\n cursor\n }\n }\n }\n}\n\n#Query to display the 12 month payment graph on overview dashboard\nquery Get12MonthPaymentGraphData {\n responseData: getInvoicePaymentWidget {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n payment {\n year\n month\n paidAmount\n overdueAmount\n projectedAmount\n }\n hasNoInvoices\n }\n }\n}\n\nquery GetOnboardingFeeDescription {\n responseData: getInvoiceConfigs {\n hasError\n message\n title\n success\n statusCode\n userErrors\n data {\n onboardingFeeDescription\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var a=e.type;"NamedType"===a.kind&&n.add(a.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var a={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function d(e,n){var i={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var d=a[n]||new Set,s=new Set,r=new Set;for(d.forEach((function(e){r.add(e)}));r.size>0;){var m=r;r=new Set,m.forEach((function(e){s.has(e)||(s.add(e),(a[e]||new Set).forEach((function(e){r.add(e)})))}))}return s.forEach((function(n){var a=t(e,n);a&&i.definitions.push(a)})),i}n.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),a[e.name.value]=n}})),e.exports=n,e.exports.GetInsightWidgetQuery=d(n,"GetInsightWidgetQuery"),e.exports.GetInvoiceStatusWidget=d(n,"GetInvoiceStatusWidget"),e.exports.CheckIfUserHasInvoices=d(n,"CheckIfUserHasInvoices"),e.exports.GetOverviewAlerts=d(n,"GetOverviewAlerts"),e.exports.GetCustomersWithOverdueBalance=d(n,"GetCustomersWithOverdueBalance"),e.exports.GetActivitiesWidget=d(n,"GetActivitiesWidget"),e.exports.Get12MonthPaymentGraphData=d(n,"Get12MonthPaymentGraphData"),e.exports.GetOnboardingFeeDescription=d(n,"GetOnboardingFeeDescription")},84272(e,n,i){var a={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetRecurringList"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"searchString"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"startDate"}},type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"endDate"}},type:{kind:"NamedType",name:{kind:"Name",value:"DateTime"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"status"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"RecurringSeriesStatusEnum"}}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"sortBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"RecurringSeriesOrderByColumnEnum"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getRecurringSeriesList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"searchString"},value:{kind:"Variable",name:{kind:"Name",value:"searchString"}}},{kind:"Argument",name:{kind:"Name",value:"startDate"},value:{kind:"Variable",name:{kind:"Name",value:"startDate"}}},{kind:"Argument",name:{kind:"Name",value:"endDate"},value:{kind:"Variable",name:{kind:"Name",value:"endDate"}}},{kind:"Argument",name:{kind:"Name",value:"status"},value:{kind:"Variable",name:{kind:"Name",value:"status"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"sortOrder"}}},{kind:"Argument",name:{kind:"Name",value:"sortBy"},value:{kind:"Variable",name:{kind:"Name",value:"sortBy"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recurringSeriesList"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seriesId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nextRecurringDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"repeatType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"frequency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"recurringEnds"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"companyName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"invoiceTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"scheduledDate"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetRecurringListById"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getRecurringSeriesList"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recurringSeriesList"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"note"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seriesId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"nextRecurringDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dueDays"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"repeatType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"frequency"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"recurringEnds"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"recipients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reminders"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discountType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discountValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"discountTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"taxTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shippingValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceSubTotal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"scheduledDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceSentDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"generatedCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceItems"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sender"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceSenderDetails"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"selectedPaymentMethods"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceSelectedPaymentMethods"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"customer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoiceCustomer"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"premiumSelectedPaymentGateways"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"InvoicePremiumSelectedPaymentGateways"},directives:[]}]}}]}}]}}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetRecurringInvoiceHistory"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"recurringId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"order"}},type:{kind:"NamedType",name:{kind:"Name",value:"SortOrder"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"responseData"},name:{kind:"Name",value:"getRecurringSeriesInvoices"},arguments:[{kind:"Argument",name:{kind:"Name",value:"recurringId"},value:{kind:"Variable",name:{kind:"Name",value:"recurringId"}}},{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"sortOrder"},value:{kind:"Variable",name:{kind:"Name",value:"order"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"invoices"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceSentDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"scheduledDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"invoiceTotal"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"message"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"success"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userErrors"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:2575}};a.loc.source={body:"#import '../fragments/index.graphql'\nquery GetRecurringList(\n $id: String\n $offset: Int\n $limit: Int\n $searchString: String\n $startDate: DateTime\n $endDate: DateTime\n $status: [RecurringSeriesStatusEnum!]\n $sortOrder: SortOrder\n $sortBy: RecurringSeriesOrderByColumnEnum\n) {\n responseData: getRecurringSeriesList(\n id: $id\n offset: $offset\n limit: $limit\n searchString: $searchString\n startDate: $startDate\n endDate: $endDate\n status: $status\n sortOrder: $sortOrder\n sortBy: $sortBy\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n recurringSeriesList {\n id\n seriesId\n status\n nextRecurringDate\n repeatType\n frequency\n recurringEnds\n customer {\n email\n companyName\n }\n invoiceTotal\n scheduledDate\n }\n }\n }\n}\n\nquery GetRecurringListById($id: String) {\n responseData: getRecurringSeriesList(id: $id) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n recurringSeriesList {\n id\n note\n status\n seriesId\n nextRecurringDate\n endType\n dueDays\n repeatType\n frequency\n endValue\n recurringEnds\n recipients\n reminders\n discountType\n discountValue\n discountTotal\n taxType\n taxValue\n taxTotal\n shippingValue\n invoiceTotal\n invoiceSubTotal\n invoiceNumber\n invoiceId\n scheduledDate\n invoiceSentDate\n generatedCount\n items {\n ...InvoiceItems\n }\n sender {\n ...InvoiceSenderDetails\n }\n selectedPaymentMethods {\n ...InvoiceSelectedPaymentMethods\n }\n customer {\n ...InvoiceCustomer\n }\n premiumSelectedPaymentGateways {\n ...InvoicePremiumSelectedPaymentGateways\n }\n }\n }\n }\n}\n\nquery GetRecurringInvoiceHistory(\n $recurringId: String!\n $limit: Int\n $offset: Int\n $order: SortOrder\n) {\n responseData: getRecurringSeriesInvoices(\n recurringId: $recurringId\n limit: $limit\n offset: $offset\n sortOrder: $order\n ) {\n message\n title\n success\n hasError\n statusCode\n userErrors\n data {\n invoices {\n id\n status\n invoiceNumber\n invoiceSentDate\n scheduledDate\n invoiceTotal\n }\n }\n message\n title\n success\n hasError\n statusCode\n userErrors\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var t={};function d(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
1else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){d(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){d(e,n)})),e.definitions&&e.definitions.forEach((function(e){d(e,n)}))}a.definitions=a.definitions.concat(i(96191).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!t[n]&&(t[n]=!0,!0)})));var s={};function r(e,n){for(var i=0;i<e.definitions.length;i++){var a=e.definitions[i];if(a.name&&a.name.value==n)return a}}function m(e,n){var i={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var a=s[n]||new Set,t=new Set,d=new Set;for(a.forEach((function(e){d.add(e)}));d.size>0;){var m=d;d=new Set,m.forEach((function(e){t.has(e)||(t.add(e),(s[e]||new Set).forEach((function(e){d.add(e)})))}))}return t.forEach((function(n){var a=r(e,n);a&&i.definitions.push(a)})),i}a.definitions.forEach((function(e){if(e.name){var n=new Set;d(e,n),s[e.name.value]=n}})),e.exports=a,e.exports.GetRecurringList=m(a,"GetRecurringList"),e.exports.GetRecurringListById=m(a,"GetRecurringListById"),e.exports.GetRecurringInvoiceHistory=m(a,"GetRecurringInvoiceHistory")}}]); 2//# sourceMappingURL=Recurring Invoice Series.a653222e1617845a.js.map
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.